>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