Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Epson OPOS bmp
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00637001
Message ID:
00637640
Views:
16
>>>>>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?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform