Search code examples
imagepdfprintingbmpzebra-printers

Print .bmp file on Zebra EPL printer


I was able to print .epl labels using RawPrinterHelper on epl printers , now i have one more requirement where i have to print image (.bmp , .pdf ) files on zebra S4M epl printer . please throw some light on where to start to get this done.


Solution

  • First, convert your file to .PCX (black/white only) Next send this EPL command to the printer:

    GM"NAME"1234<CR><LF>
    

    where NAME is the name you wish to give to the graphic (1 to 7 CaSe-SeNsItIvE characters), 1234 is the file-length in bytes and <CR><LF> are carraige-return, line-feed.

    Follow this DIRECTLY with the contents of the .PCX file.

    Print using

    GG50,50,"NAME"<cr><lf>
    

    where 50,50 are X,Y offset

    GK"NAME"
    

    will delete the graphic from printer memory.