Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PRINTER TO doesn't work?
Message
From
07/08/1998 03:32:04
 
 
To
05/08/1998 23:42:39
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00124375
Message ID:
00124702
Views:
18
>VFP5a SET PRINTER TO doesn't work? Or is there a trick somewhere? The print driver always ended up to a particular driver despite issueing the command.

use SET PRINTER TO NAME instead to specify a printer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

TO [DEFAULT | NAME WindowsPrinterName] Sends printer output to the default Windows printer or to a specific Windows printer. Windows printer names are stored in WIN.INI.

You can use GETPRINTER( ) or APRINTERS( ) to determine the names of the currently installed printers. For example, the following command displays the Windows Print Setup dialog box and makes printer you select the printer to which printed output is directed:


Better to use
SET PRINTER TO NAME GETPRINTER( )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previous
Reply
Map
View

Click here to load this message in the networking platform