Taming Thermal Printers with Label Live (Electron)
label.live
label.live
Long time reader. First time poster.
The Label LIVE MVP has feature-creeped along to keep pace with what I convinced myself was niche-market table stakes: barcodes, variables, spreadsheet/CSV import, full font support, built-in MQTT broker, all the printers! The big question I have is: What is the market for this kind of software? (i.e. selecting a monetization strategy)
Thank you, HN community!
Will you be releasing a Linux version?
I've chatted a bit with David Power of Hiri and a contact at Canonical. Am I on the right track?
Knowing that, I think you have two good options: provide .deb and .rpm packages for Debian and Red Hat-based systems, respectively (like Google does for Chrome), or use Snap or Flatpak, which are distro-agnostic and can be installed anywhere. In either case, users would download a file from your website or add a repository to their existing package manager and then install your program, at which point updates would be installed with either the user’s normal package manager or snap/flatpak.
https://www.electron.build/configuration/linux
As far as testing on the desktop - what would you consider a minimum test environment? Packaging is one thing ... but testing, that’s a whole other issue. Is it important to test on real hardware or is a VM good enough? Which desktop distros claim the most users? Asking these almost rhetorically, considering it’s my job to do the research. Any insights are greatly appreciated.
Tangentially, I’ve given some thought to supporting the RaspPi ecosystem because it’s ideal for a kiosk or bolt-on IOT print server.
A VM is plenty for testing that your app starts and lets you design labels fine, but you’ll be in for a world of trouble if you try interface physical hardware (like the thermal printer) from one. You could always just make a live USB of a popular distro like Ubuntu or Fedora and download and test your app on real hardware—booting Linux on a recent Mac would be a challenge so you’d want to use an older one or PC hardware for running a live USB.
Electron seems to support ARM, the processor architecture used by the RPi, so I would think you’d be good to go there aside from your app maybe being a little slow.
You will want to talk to someone else too since I’m sure I’m forgetting something, particularly about the Raspberry Pi.