Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent page eject
Message
From
17/05/2003 01:43:00
 
 
To
17/05/2003 01:13:05
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00789613
Message ID:
00789618
Views:
41
>I open the cash drawer with some code
>
>set printer on
>??chr(27)+"p"+chr(0)+chr(100)+chr(250)
>set printer off
>
>but the receipt printer always eject a page after printing
>so how to set NOT to eject the paper after printing ?

What about simply
>???chr(27)+"p"+chr(0)+chr(100)+chr(250)
i.e. no SET PRINTER commands?

If that doesn't work, you'll need to tell us more about what version of FoxPro you're using, printer and cash drawer, what port(s) they're connected to, etc.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform