Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send a file to printer
Message
De
05/12/2000 19:54:49
 
 
À
05/12/2000 17:18:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00449671
Message ID:
00449732
Vues:
16
I have seen questionable results using these commands caused by specific network related setup problems... be carefull if you decide to go this route.

For example, if a printer server captures a network printer called LPT1...



*---- The Code Example


*-- printer options
m_printer_port=''
do form get_printer_port to jget
*--- LPT1.DOS (local printer) LPT1, LPT2, LPT3(captured printer) etc...
*--- whatever printer ports you want available

if jget='OK' && ok
jline= 'copy file '+jfile+ ' to '+ m_printer_port
&jline
endif



>What VFP command or function should I use
>to send a text file (or any type of file) directly to printer?
>Thank you in advance.
Thanks,

Stacy



Black Mountain Software, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform