Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET ALTERNATE TO file printing problem
Message
From
11/12/1998 15:41:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
SET ALTERNATE TO file printing problem
Miscellaneous
Thread ID:
00166768
Message ID:
00166768
Views:
49
I'm working on a method to get immediate printing to a receipt printer (dot matrix) for point-of-sale app.

I'm using SET ALTERNATE TO filename.txt and then issuing several ?? and ? lines. Then a SET ALTERNATE OFF and a CLOSE ALTERNATE. To print the file, COPY filename.txt TO prn.txt (printer on LPT1 or prn)

I'm getting an error "there is not enough disk space for C:\...\prn.txt." The cause is this character, "  ", at the end of the alternate file. If I erase this character, there is no problem.

Any suggestions on how to prevent this character in the alternate file or any other work around?
Fruit Grower by day, VFP trainee by night
Next
Reply
Map
View

Click here to load this message in the networking platform