Comment

Comment by syndicatedjelly

You can write your own script to do this. It's a few lines of scripting to query whatever APIs you want, and then output to /dev/usb0 or wherever the printer is hooked up. Seems a bit unnecessary to add an extra API wrapper just to do that

You can test this right now by running `echo "Hello, world!" > /dev/usb0`, assuming a printer is connected to that USB port of your Unix-based device.

https://unix.stackexchange.com/questions/141016/a-laymans-ex...

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton