Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print without eject the paper ?
Message
From
29/12/2004 04:10:30
 
 
To
28/12/2004 22:03:26
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00972775
Message ID:
00972840
Views:
11
What you can do, is redirect the EJECT character to a file, and then delete this file:
set printer on
? "Invoice No.:"+invno
? "Client code:"+cusno
? "Client name:"+cusname
...
set printer off
set printer to file dummy.xxx
EJECT && to force the eject
set printer to
erase dummy.xxx
>Hi,
>
>I want to print a invoice on a dot matrix printer but I want the print
>head stay and stop on the last position which finish printing the invoice.
>But after the command SET PRINTER TO, the printer will eject the page,
>I don't want it to eject.
>
>How to do it ?
>
>Please advise.
>Thanks.
>Derek
>
>For Example
>
>
>set printer on
>? "Invoice No.:"+invno
>? "Client code:"+cusno
>? "Client name:"+cusname
>...
>set printer off
>set printer to    <= Form feed occcur after this command. I don't wan to form feed.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform