Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get default windows printer name with API
Message
 
To
10/03/1998 13:26:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00083700
Message ID:
00083757
Views:
19
>Can anyone please show me some VFP5 code to get the default windows printer name with an API call?
>
>I know the following pure VFP code works:
>
>KEYBOARD "{ENTER}"
>cQueue = GETPRINTER()
>
>but it is rather annoying to see the print dialog box flash on the screen.
>
>Thanks,
David,

The follwong VFP code works too and it doesn't have any dialogs;

lcPrinter = SET("PRINTER",2)
Previous
Reply
Map
View

Click here to load this message in the networking platform