hydrosIII
Posts: 2
Joined: Fri Dec 20, 2013 10:16 pm

Printer for RaspberryPi as Point of sale

Fri Dec 20, 2013 10:25 pm

Hi, im not sure is the right place. Im trying to build a full POS for my small bussines, using raspberrypi. Im looking to save energy, and have portable terminals to carry around.
However i need a thermal ticket printer for POS, that works fully with Gnu/linux embedded drivers. Since the manufacturer drivers for the ARM architecture are limited or non existent.

Any recomendation??? of which printer to buy??
Which brand??

ryanteck
Posts: 82
Joined: Mon Apr 16, 2012 10:49 am
Location: Great Yarmouth , United Kingdom
Contact: Website Twitter

Re: Printer for RaspberryPi as Point of sale

Fri Dec 20, 2013 11:23 pm

From what I remember a lot of it depends on what E Point Of Sale software you are using as well.

From what I remember if the printer is an RS232 (Serial) printer then it *should* work if it works with your software as these just rely on a serial connection with the host device (likely a USB to Serial should work). But require special configuration on the software.

User avatar
scruss
Posts: 2879
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Printer for RaspberryPi as Point of sale

Sat Dec 21, 2013 1:29 pm

There's this: Adafruit IoT Pi Printer Project Pack - Includes Raspberry Pi ID: 1289 - $189.95 : Adafruit Industries, Unique & fun DIY electronics and kits - but it might be overkill.

There's also ths thread on the Epson ones: Raspberry Pi • View topic - Printing to Epson Thermal Reciept Printer

I also found this: BTHT-V6 TTL/RS232 thermal printer module. He's selling them, and has done quite a bit of work interfacing to the Raspberry Pi.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

reedgz
Posts: 2
Joined: Tue Dec 24, 2013 4:00 am

Re: Printer for RaspberryPi as Point of sale

Tue Dec 24, 2013 4:17 am

I am the seller mentioned by scruss above.

Don't use RS232. It is easier to use TTL connection to printer. You MUST NOT connect your Pi's GPIO to RS232 pins! It will fry your PI. TTL/RS232 has different voltage, need MAX3232 to covert them.
The TTL thermal printer on Sparkfun/adafruit is okay, and they have some resources for you.

So far I have worked with 8 different thermal receipt printers, here is what I learned:
1. Nothing beats an Epson or Zebra if you are looking for a reliable thermal printer with good SDK support.
2. No ARM Linux SDK from the manufacturers. Actually there is no need, because serial communication is so easy to program.
3. The internals of thermal printer are vastly different from manufacturer to manufacturer. Some printer uses USB-2-Serial emulation, some uses USB-2-Parallel. You might want to check out. http://reed-printer.blogspot.ca/2013/12 ... ceipt.html I do not sell this model.

Lastly, you may buy the one mentioned above from my ebay listing.... Just search for [thermal printer module]

hydrosIII
Posts: 2
Joined: Fri Dec 20, 2013 10:16 pm

Re: Printer for RaspberryPi as Point of sale

Tue Jan 28, 2014 2:52 am

Hi. Thank you for the replies all of you. Im running openERP, in a server, and the raspberrypi would be just the client. Using a common web browser like iceweasel and a tiny window manager.
Open Erp generates everything in PDF format. So i guess is printing directly from the PDF reader, not other software involved.
Than you for the Epson tip, ill try with one epson if i got my hands on it.... seems to be working via the python project ESCPOS.
It doesn't seem too complicated.
However is there a POS printer that works directly with cups and the openprinting drivers, just out of the box?? It doesn seems to exist an easy solution in here, does it?
About writiing my own drivers i doubt that i have the skills for that. As fot ther other printer made speacilly for the Raspberry Pi. Well currently i have had a lot of problems to get the Pi in the firts place. I live in Mexico, and these kind of things are difficult to obtain. The Pi itself was difficult and a little expensive.

There's always the possibility to import these printers via mail, but then there are a lot of taxes and other things.

So, from what i understand, there's no out of the box printer support? Some printer model magically supported by linux open source drivers???

Thanks

reedgz
Posts: 2
Joined: Tue Dec 24, 2013 4:00 am

Re: Printer for RaspberryPi as Point of sale

Thu Feb 06, 2014 3:45 pm

No, you don't have a package working with CUPS+RPI out of the box.

problem 1.
Even EPSON/ZEBRA has only x86 linux driver. Nothing for ARM. I have tried really hard but couldn't find one.

problem 2.
Thermal printers don't take PDF. You need to convert PDF to bitmap, then send to printer.

I am working on a remote thermal printer which uses RESTful API. The prototype is almost good, you can find out more on my blog.
http://reed-printer.blogspot.ca/2013/12 ... ceipt.html

User avatar
scruss
Posts: 2879
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Printer for RaspberryPi as Point of sale

Thu Feb 06, 2014 7:47 pm

You can't use ghostscript to generate a fixed-width bitmap, and write a little filter to push the data to the printer? It's been ages since I wrote a CUPS driver, but it shouldn't be too hard. Or is printing in bitmap mode all the time too slow to be useful?
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

dimkir
Posts: 2
Joined: Wed Jan 22, 2014 11:15 am

Re: Printer for RaspberryPi as Point of sale

Mon Feb 24, 2014 10:07 am

I have zerbra LP2824 printer (second hand, you can pick up one from ebay from 30-80 EUR depending on your luck) https://www.zebra.com/us/en/support-dow ... -plus.html (Mine has USB and serial connections, and I connect RPI with the printer via USB).

The Zebra Printer mentioned above worked for me out of the box for me with the Rasbpian + CUPs drivers.

I will give you some links which proved very useful when setting up this printer.

This post shows how to print from linux command line, when your printer is already recognized by CUPS
http://rofish.net/2010/12/printing-raw- ... -or-linux/

This is tutorial which I used to set up printer with linux (with CUPS) on Rasbperry pi
http://www.howtogeek.com/169679/how-to- ... -computer/
Mind that CUPS will ask for your rasbperry pi or root password. And mind that you may need to allow CUPs web-interface be accessible not only from localhost.


There's also similar tutorial from Zebra, in case you get lost and need to "triangulate" your installation process :)
https://support.zebra.com/cpws/docs/cup ... figure.pdf


This guy shows the whole long explanation of how to connect thermal receipt printer to RPI (I didn't try this tutorial, but seems like all steps should result in success).
http://pikiosk.tumblr.com/post/38866317 ... -raspberry

This SO article may prove useful if you're troubleshooting your CUPS setup:
http://stackoverflow.com/questions/3526 ... linux?rq=1

This may help you troubleshooting, as well, as on the bottom of the article it shows how to add your printer user to the group lpadmin, so that you can do actual printing (it's ubuntu, but same applies to Raspbian).
https://help.ubuntu.com/10.04/serverguide/cups.html

Alltogether I find this is the best and comprehensive list of articles on how to set up POS printer with Rasbperry Pi.

MrAnderson
Posts: 2
Joined: Wed Apr 02, 2014 2:38 am

Re: Printer for RaspberryPi as Point of sale

Wed Apr 02, 2014 2:51 am

dimkir,

are you able to print from a pdf with the LP2824?

Have you ever tried sendind lp commands? (Ex.: "lp -d myprintersname output.pdf")

User avatar
scruss
Posts: 2879
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Printer for RaspberryPi as Point of sale

Sun Jul 12, 2015 6:12 pm

If anyone's looking for a driver, klirichek/zj-58 works well under Raspbian. I wrote a little installation guide: Thermal Printer driver for CUPS, Linux, and Raspberry Pi: zj-58.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

Return to “Other projects”