Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching printer to lpt2 or lpt1
Message
De
01/08/2001 07:37:46
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
31/07/2001 17:07:56
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00537977
Message ID:
00538215
Vues:
15
>>Dear folks:
>>
>>I want to print one job in lpt1 and other job in lpt2. So I tried to use set printer to lpt1 and send printing job to printer, and set printer to lpt2 and send printing job to printer. But two jobs printed out to lpt1 printer.
>>
>>I used set printer to name XXX(lpt2) and send the data. but VFP change the printer to that name still does not print two job separately in two printer.
>>It prints only one printer either lpt1 or lpt2.
>>
>>Is there any who can help me with this?
>>
>>Thank you in advance.
>
>If you are using a variable to hold the printer name you need to enclose the name in parentheses (). Your code should probably look like
>SET PRINTER TO NAME (PrinterName). This works fine for me.

Larry,

PMFJI, but should the printer name in quotes ("PrinterName") or not (PrinterName)? Not questioning your advice, just asking as I have a similar problem right going on, but don't have the code in front of me. Thanks!

Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform