Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Epson OPOS bmp
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00637001
Message ID:
00637642
Vues:
17
>>>>>>I am trying to get my epson TM-T88IIP printer going. I have downloaded and installed epson OPOS. I also download Mark's OPOS demo programs. Everything is working great.
>>>>>>
>>>>>>I have a couple questions.
>>>>>>
>>>>>>I uploaded a bmp logo file to the printer. How do I get this to print on my receipts?
>>>>>>
>>>>>>How can I print a barcode at the bottom of my receipts?
>>>>>>
>>>>>>Thanks
>>>>>>
>>>>>>Pat Murphy
>>>>>
>>>>>See 5.3 Print a bitmap registered on the NVRAM in the manual.
>>>>
>>>>I got the barcode to print. I need to use the following command to print the bitmap:
>>>>
>>>>DirectIO(PTR_DI_PRINT_FLASH_BITMAP,Num,Data)
>>>>
>>>>PTR_DI_PRINT_FLASH_BITMAP = 111
>>>>Num = 3
>>>>Data = CStr(PTR_BM_CENTER)
>>>>
>>>>
>>>>PTR_BM_CENTER is defined as:
>>>>const LONG PTR_BM_CENTER = -2;
>>>>
>>>>I don't think that I am sending the correct parameter for data. I have tried str(-2), "-2". I keep getting a ole Type mismatch error.
>>>>
>>>The VFP equivalent of cStr is Transform().
>>>
>>>Try to send empty string as the last parameters just for test.
.DirectIO(111, 1, "")
>>
>>I tried an empty string and transform and still get the same error.
>
>I just checked it in VFP7 Object Browser and DirectIO() method shows as having 3 parameters: numeric, numeric and string which is same as in the docs. Are you sure you have bitmap loaded properly into the printer memory?

I can see it in Epson's TM Flash Logo set up screen. I can also do a test print from that screen. I will look into this a little more to see if this is set up correctly.

Thanks for your help
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform