Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Dialog using API
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00649502
Message ID:
00651196
Views:
28
Hi,

I am using SYS(1037) to display print dialog.

lcdefault = SET("PRINTER", 2) && Get the current default printer
lcCurrent = SET("PRINTER",3) && Get the current selected printer using SYS(1037)
oNet.SetDefaultPrinter(lcCurrent)
REPORT FORM Myreport.frx TO PRINTER PROMPT
oNet.SetDefaultPrinter(lcdefault)

Its working fine.

But what about other attribute of SYS(1037) eg.Orientation , papersource.
Can we restore/set other attribute of printer?

TIA
Ajay Mishra
MCP
www.konstruct.com
Previous
Reply
Map
View

Click here to load this message in the networking platform