Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getprinter() - feature or implementation thing?
Message
From
27/09/2001 10:03:24
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00561364
Message ID:
00561408
Views:
26
Drastvoetche Vlad,
In my brand new VFP7, HELP shows GETPRINTER() is a function that gets the printer name, allows you to select a printer and change its fonts. It doesn't look a lot different than choosing FILE, PRINT or PRINT SETUP. This way you can do it programmatically.

The other thing that my HELP shows is a SET PRINTER command that allows you to set some of the parameters for a printer such as bold, italic, font size. There is a PROMPT form that calls the print setup dialog box, also.

HTH, Pete



>Hi!
>
>In VFP6 SP5 (maybe other versions), try following:
>
>? getprinter()
>Hit "TAB"
>Hit "SPACE"
>
>I get a printer parameters dialog box! When I hit tab and space, it looks like there is a hidden button or button placed somewhere outside of the dialog box bounds.
>
>Does anybody know if it is possible to use this for printer configuring before printing smoething?
>Is there any impact on application when user accidentally open that dialog box?
Peter Adams
FoxPro Programmer
Compu-Mail

Heisenberg was probably right...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform