ERPNext Conference 2019* ERPNext.com Blog

Has anyone tried Raw Printing in ERPNext with a Label Printer?


#1

I am looking to buy a label printer, it would be helpful if someone has already tried Raw Printing with a Label Printer, please share the details.


#2

We have hacked Zebra & Citizen (Specific models I think) printers and are able to generate a text file from ERPNext, which when dumped onto the Printer, prints the QR/bar codes as required.

We haven’t been able to crack being able to print directly from ERPNext.

Happy to share details. Please let me know.

Thanks

Jay


#3

thanks @JayRam
I am looking for a printer that can be integrted with the new feature here : https://erpnext.com/docs/user/manual/en/setting-up/print/raw-printing .


#4

Gotcha!

I think enabling the raw printing seems to be lesser of the two tasks. The bigger part is to generate the characters for the specific printer. There are no easy ways to that. You have to hack. But for specific models of Zebra and Citizen printers we have been able to do that. That too for specific Label Sizes and and for Specific layouts.

It’s trial and error!

Good luck!

Jay


#5

We have implemented raw printing:

I have tested the Barcode/label printing on the following printers:

  1. CL-S621 - (Sufficient for most uses cases)
  2. CL-S700 - (High-speed Industrial printer)

In theory, any printer that can take string-based commands should work. As mentioned in the documentation you can use Jinja to fill in your details and generate the final commands.

So far the ZPL language, seems to be beginner-friendly and the above printers support this language(in fact most label printers support ZPL). Also, the citizen printers have a ZPL manual that comes in handy.

Also, there is another printer language called Datamax(also supported by most printers) which seems to be more advanced. I am still learning about this language, and hope to write about it soon.

I am yet to find tools that can help you design labels(in ZPL) with ease, but here are some useful tools I found:

As mentioned by JayRam the whole process of designing the ZPL label is currently not fun, but doable.
Hopefully, we can end up creating a label designer UI right in ERPNext.

@community is there anyone with more experience with these printer languages?


#6

We generally use Zebra GK888 for barcode printing. I guess any decent printer will do as log as you create a perfect print format