Search code examples
imagezebra-printerseplpcx

Image (PCX) for EPL2 Zebra printer


I am having trouble producing and uploading graphics to an EPL2 printer.

Having tired quite literally any pieces of software available and trawled the internet, I am at a loss.

I have a 1 bit file which I try to upload with the following script..

setppi.txt

GK"NAMEPCX"
GK"NAMEPCX" 
GM"NAMEPCX"3042

and then upload with

copy setppi.txt+ppirmt.pcx lpt1/b

Has anyone with experience got any tips before I tear out what is remaining of my hair? I am almost certain that this issue is to do with the creation of the pcx but having tried all options, I am unsure as to my next step.


Solution

  • Here's the way I found to create the PCX properly:

    In gimp, save the file as a 1-bit (black and white) BMP. Don't select PCX because the saved format is not 1-bit PCX as required by the printer!

    Use imagemagick's convert program to convert your BMP to PCX.

    The other issue I ran across after I got that down was that graphics were still corrupt, that was a codepage issue, so watch out for that.