| So, curiosity today. One of the things that this person does is simply echo to /dev/lp0. Which is all you did back in the day. Shove text down the interface, and the printer printed. Now, while we have very fancy modern printers, they're still printers with a long legacy. Even back in the day, early HP laser printers worked like this. Shove data down the wire, and it printed (Courier 10, 66 lines per page). Only the Apple Laserwriter didn't really do this (I don't think) because it was an exclusively PostScript printer. Instead, you shoved PostScript down the wire. As the printers evolved, the language that was sent to them got more complicated. But even so, they still had a long line of backward compatibility. So, if I plug a USB printer into a computer, and ls > /dev/usbXXX, will it print today? Does that still "just work"? If I do that with an EPSON and send it EPSON MX-80 escape codes -- does it still work? It wouldn't surprise me either way, but I'm just curious if someone knows. They're very black boxy today (to me anyway). (Anyone else remember the joys of getting reports to fit on pre-printed, multi-copy NCR forms? What fun that was!) |
And sure enough, this works! Just tested on my new printer.