Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent page eject
Message
De
17/05/2003 01:43:00
 
 
À
17/05/2003 01:13:05
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00789613
Message ID:
00789618
Vues:
42
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform