Dear Salamandra,salamandra wrote:Hi,
Thanks to all for your nice words and I am feeling very honored that you want
to keep my single code![]()
I am searching for some additional information, and may be in a few days I'll get
post here a complete (or almost complete) set of commands to retrieve, restore and
define printers properties.![]()
[]'s Salamandra
You provided me and many others like me the simple way to get the Printer Dialog programmatically under our control. So you do deserve thanks from our bottom of heart for sharing your piece of R&D on printing with us. Not yet gone through the link you've provided.
I'm looking forward to your "search" for additional information regarding this. I too have googled a bit and seen some codes written in VB to retrieve and set printer properties through API calls. But I couldn't decipher much with my limited knowledge. When we select the Page Orientation and PaperSize from the Windows Printer Dialog, windows does stores it somewhere, we have to fetch those values from any API call or low-level command .........
Regards,
Swapan
[PS:BTW Salamandra, r u from Brazil? U know there are many supporters of Brazil (football team) in my city Calcutta
