Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys(1037) and prtinfo()
Message
From
23/11/1999 07:24:57
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00294265
Message ID:
00294275
Views:
30
>>Hi,
>>After displayng the sys(1037) Page setup dialog I would expect that PRTINFO() function will return the settings selected by the user in the Page Setup dialog, not the one's defined in Control Panel. However, this is not the case. How can I retrieve the settings made by the user in the Page Setup dialog (sys(1037))?
>
>The easiest way would be to use the second (optional) parameter of PRTINFO() to specify the printer name that you want to access. Under VFP6, you could use the SET('PRINTER',3) to retrieve the name of the currently-selected default printer for VFP.

I'm doing so, but it still retrieve the 'Document Defaults' settings of the specified printer (second parameter), that is the document settings in the control panel for that printer. Im using VFP 6 SP3 on NT4 WS with SP4.
I wanna let users select the page size and orientation as well from the sys(1037) dialog.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform