Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print a text file
Message
From
15/11/2004 06:58:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/11/2004 23:07:01
Sixto Gonzalez
Smai Developers Ca
Venezuela
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00961307
Message ID:
00961340
Views:
8
You can send text and codes directly to the printer with the "???" command.
set printer to name "//PCSERVER/LEXMARK"
??? lcPrinterCodes + FileToStr("factura.txt")
... where lcPrinterCodes might establish the correct font (for instance, 17 DPI), among others.

>Hello,
>
>i need print a text file format in a net printer..
>
>i try with this code
>
>
>copy file factura.txt to lpt1:
>
>but its not work.
>
>NOTE: IN LOCAL PRINTER ITS WORK OK
>
>the net address is //PCSERVER/LEXMARK
>
>REGARDS,
>
>SIXTO
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform