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..
Star offers the drivers for Linux via CUPS http://www.starmicronics.com/support/default.aspx?printerCode=CUPS_for_Linux
CUPS needs to be installed https://www.howtogeek.com/169679/how-to-add-a-printer-to-your-raspberry-pi-or-other-linux-computer/
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..
Is the chroot going to happen before I flash or after?
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.