Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Can binary data be sent using WRITE?

Does anyone know how I can trick the WRITE command to send binary data to a printer using the WRITE command.

I am writing a driver for an Eltron thermal label printer that supports the EPL2 command language. To send a small graphic (a logo) I use the "GW" command that requires binary data. Other printers (e.g. Zebra with ZPL2 language) accept Hex written as characters, but this one does not.

I've tried putting the necessary bytes into a hex (TYPE X) field but looking at the print spool I see that WRITE has helpfully converted the bytes to their 2 character hexadecimal equivalents. I want to send the bytes instead.

The output device is defined as ASCIIPRI.

Does anyone have any ideas?

Tags:
Former Member
Former Member replied

HI

GOOD

TO THROUGH THE FOLLOING LINKS

http://www.makebarcode.com/info/appnote/app_024.html

THANKS

MRUTYUN

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question