Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PRINTER TO doesn't work?
Message
De
07/08/1998 03:32:04
 
 
À
05/08/1998 23:42:39
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00124375
Message ID:
00124702
Vues:
17
>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( )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform