Hacker News new | ask | show | jobs
by frankenst1 1599 days ago
Misleading title. "Printer driver" suggests a piece of software which makes the printer accessible for other programs. The software in this article merely converts an image into a different format.
2 comments

I suppose you're right... "CUPS Filter" might be a better word than "Driver", but I'm not sure most people would be familiar with that term before reading the full post. It would not be hard to add this script into CUPS as a filter so that it's accessible to all programs. At the end of the day, that's all that a driver is: a filter + a PPD, and the PPD already exists.
Lots of printers usually dont need a driver nowadays. They listen to some port where you can input data. Sometimes even simply netcat a pdf.

Here's "driver" i did for star's receipt printer: https://git.cloudef.pw/escpos2raster.git/tree/src/bin/starpb...