Fellow nerds - if you like this project and you're curious how to go about building something similar, I just finished a little post about how I got this thermal printer up and running. Bash functions also included! #RaspberryPi #LessFossilFuels #ThermalPrinter #NationalGrid #HomeAutomation #MQTT https://www.herdingdata.co.uk/calls-to-action-to-change-energy-habits-to-use-less-fossil-fuels-with-a-thermal-receipt-printer/
@herdingdata FWIW, I was reading this and got to the part where you couldn't access the CUPS web UI remotely - you could've used SSH port forwarding. Something like:
`ssh littlestartrolley -L 6631:127.0.0.1:631`
And then go to `http://localhost:6631` on your local machine (aka, your laptop). You need to use '6631' 'cause ports under 1024 are privileged and only root can bind to them.
Having the CLI tools is probably easier in the long run, but this trick might be helpful in the future!
@semanticist oooh thanks for this! Good
to know and that makes total sense. I’ve rarely had cause to tinker with ssh port forwarding so it’s not a tool that I thought to reach for.
@herdingdata My first "proper" tech job utterly relied on it for getting access to client's systems so it got ingrained early! (I say "early" like I hadn't been using Linux and SSH for nearly a decade at that point, but whatever!)