Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OPOS Code...
Message
De
30/12/2007 11:05:55
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
01278407
Message ID:
01278480
Vues:
28
Hi Robert,

This is not a direct answer, but, I'd written a POS that uses an EPSON thermal receipt printer. I don't remember the model. I'd simply created a VFP report that was as wide as the receipt paper and used it to do the printing. It was pretty straight forward and simple. No ActiveX or other code except VFP's REPORT command. Couldn't you could do the same?


>Hi All,
>
>I have read the posts on the OPOS SDK from Epson here and have
>also downloaded Mark's OPOS Sample Application.
>
>I must totally be out of my mind because I cannot get the
>Epson Reciept Printer to print via my code. Any help would be
>greatly appreciated...
>
>Windows XP SP2
>Epson TM-T88IIIP
>OPOS ADK Version 2.40E UPOS 1.8
>
>I am able to do a Check Health Interactive via the
>OPOS ADK Version 2.40E UPOS 1.8... And it prints ok via the LPT port.
>
>But I cannot get the oPos.DeviceEnabled to be true when
>I issue the following code:
>
>** Snip
>
>oPos = CREATEOBJECT('oPos.Posprinter')
>opos.Open('TM-T88IIIP')
>Opos.DeviceEnabled = .t.
>oPos.AsyncMode = .t.
>
>oPos.PrintNormal(2, 'Bob')
>opos.CutPaper(90)
>opos.DeviceEnabled = .F.
>oPos.Close
>
>** Snip
>
>Thanks!
>Bob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform