Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRINTING TEXT FILE
Message
 
 
To
26/05/1998 23:26:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00102221
Message ID:
00102316
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform