Closed tywtyw2002 closed 2 months ago
B1 (and other portable Niimbot printers, I guess) can only print bitmaps.
I think the only way to print a ZPL image is to convert it to a bitmap then print it. Command-line projects like niimprint more fits to this. I didn't find any js libraries to convert ZPL to image.
I saw some online ZPL viewer use labelary public api to convert ZPL to image.
Added to Roadmap.
The import will be done by converting the ZPL to PNG and adding it to the canvas if it is acceptable.
Done, added basic import option, you can check it now.
Tested with test.zpl
Thanks, work greats!
I was busy in recently fews days, sorry for late reply.
Do you know the B1 printer support the ZPL protocal?
If not is possible to create a feature to translate ZPL to niimbot protocol?