Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send a file to printer
Message
From
05/12/2000 19:54:49
 
 
To
05/12/2000 17:18:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00449671
Message ID:
00449732
Views:
17
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform