Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRINTING TEXT FILE
Message
 
À
26/05/1998 23:26:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00102221
Message ID:
00102316
Vues:
26
>Hi!
>i need print a TEXT.FILE this content printing escape codes
>in FP2.6 i try COPY FILE XXXXX.TXT TO LPT1 or PRN and that's ok
>but in VFP 5.0 this command don't work's at some computers
>are there other command or tip?
>Thank's
>Gerardo García

On a regular Novell or Microsoft network, the COPY FILE command works, and you can even use UNC! Ex: COPY FILE XXX.TXT TO \\station01\hplaser.
But in a Lantastic network, the COPY FILE command crashes VFP; don't know why.
The other solution:
set console off
set headings off
type XXX.TXT to printer
set console on
set headings on

This will print to the windows default printer only.
The other solution I haven't tried yet; download RAWPRINT.ZIP from this site.
Mark Derail
DMIB
(514) 626-1520
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform