I have a Star TSP650II thermal printer with USB interface and connected to a POSBox (a Raspberry-Pi-based device to connect point-of-sale hardware). I am trying to use the printer in the Star Line mode, rather than ESC/POS mode. Since the Star Line mode is not fully supported on Odoo/POSBox, I want to install the driver on the POSBox.

I searched on the web and found that..

  1. Star offers the drivers for Linux via CUPS http://www.starmicronics.com/support/default.aspx?printerCode=CUPS_for_Linux

  2. CUPS needs to be installed https://www.howtogeek.com/169679/how-to-add-a-printer-to-your-raspberry-pi-or-other-linux-computer/

  3. POSBox (or the modified raspberry pi inside it) is a read-only system and I need to chroot it https://gist.github.com/yelizariev/abd4ada6e4a249e6619e4ef5e74ea8b7?signup=true

Since I don't know that side of Linux yet, I wonder how to chroot? POSBox images are available on https://nightly.odoo.com/trunk/posbox/ to be flashed on micro SD cards. So..

  1. Is the chroot going to happen before I flash or after?

  2. If after, POSBox's raspberry pi doesn't seem to have the terminal but I can access it via SSH via PuTTY

The page at https://gist.github.com/yelizariev/abd4ada6e4a249e6619e4ef5e74ea8b7?signup=true mentions a similar procedure to install CUPS but without details.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.