Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trigger POS Drawer in VFP
Message
 
À
25/06/2002 09:49:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00671994
Message ID:
00672060
Vues:
20
>Hi,
>
>I need to trigger a POS drawer to open in Windows 2000 Professional
>using VFP6.
>
>So, I do the following below and it trigger my drawer to open but
>it also print some binary data to the printer too (Epson 88TM)
>I am using the driver from Epson website to install it.
>
>My code
>
>SET PRINTER TO LPT
>
>??? CHR(27) + CHR(112) + CHR(0) + CHR(5) + CHR(5)
>
>SET PRINTER TO
>
>
>Please kindly advise

Try the following:
??? chr(7)
or
??? chr(27)+chr(7)
HTH,

Enmanuel
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform