Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print a text file
Message
De
15/11/2004 06:58:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/11/2004 23:07:01
Sixto Gonzalez
Smai Developers Ca
Vénézuéla
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00961307
Message ID:
00961340
Vues:
9
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform