I have an issue while printing the image in Zebra printer along with some text. Sources said that for printing the image we have to convert the image to .pcx format. I could not find the way, how to convert the image to .pcx in android.

Can any one know please post the solution here on how to print the image along with some text from Zebra Printer.

有帮助吗?

解决方案 2

I use GIMP and ImageMagick for static images, if you want dynamic images I suggest you try another method to send image data.

GIMP: Convert the image to "Indexed mode" Image->Mode->Indexed->Use black and white (1-bit) palette. Save as .bmp

ImageMagick: Then use imagemagick's 'convert' program to convert from .bmp to .pcx i.e. convert source.bmp target.pcx

Then you have 1-bit pcx-file you can include in your android app.

其他提示

Zebra provides an Android SDK that will convert graphics to PCX for you

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top