Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to another printer than the default
Message
De
18/05/1999 18:22:05
 
 
À
18/05/1999 17:25:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00220227
Message ID:
00220232
Vues:
23
>HI,
>
>I'm trying to redirect my printer output to another windows printer.
> prt=GETPRINTER()
>Then is set the chosen printer as default
> SET PRINTER TO NAME &prt

Part of your problem may be here with the use of macro expansion; I'd try:

SET PRINT TO NAME (prt)

>The answer is: Error accessing printer spooler
>When is replace all the blancs in the printer name, i get no error
> ex. HP Deskjet 870cxi = HP_Deskjet_870cxi
>
>So far it's acceptable.
>The problem is, the reports are not printer on the selected printer.
>They are always printed by the default printer.
>
>PS: I know the trick
>
>USE report.frx
>and remove all concerning the default printer in the diff. fields.
>
>It works, but not allways, and with every report.
>Any tips ? Solutions ?
>I use VFP5.0.
>
>Tnx
>Marc
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform