News for hackers. Stuff that matters.
Re:Show HN: Print directly to network printers from the brow... by nyx_ on Friday May 22, 2020 @06:03AM (#23270370)
On today's edition of "Things You Shouldn't Be Able To Do From a Browser"...

Seriously though, sending PJL commands directly to printers on port 9100 is such a neat hack. Back when I was working help desk in college, much fun was had the day I discovered you could change the "READY" string on HP printer displays to anything you wanted. "INSERT COIN", "CHECK ENGINE", etc.

Re:Show HN: Print directly to network printers from the brow... by jimbauwens on Friday May 22, 2020 @06:10AM (#23270409)
Haha that's actually how I got started with this project. We had some printers with character displays, and I was creating small C programs that opened a socket to the printer to update the display. Used it to play pranks on my sister. At some point I wondered if it was possible to do it with HTTP requests and a PJL payload in the body.