Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Contrôles ActiveX en VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement