BlackWindBooks.com | Newsletter! | risingthumb.xyz | achtung.risingthumb.xyz | github.com/RisingThumb | site map

risingthumb.xyz It's a long way to tipperary...

Printing with netcat

I recently discovered thanks to this blog[1] that you can print with netcat. This was impressive to me, but even still, it doesn't completely solve the problem. Instead it moves it from handling the data for printing on the client's side to handling it on the printer's side.

These issues will arise when you try to print a pdf(pdf is a particularly complex file format. More explanation and discussion can be found here[2]). As such, because there's a long precedent in supporting it, it's best to conver a PDF to Postscript(otherwise the printer will spend a long time processing the file, or just fail because like I said, it's a complex file format).

The command for printing if people are interested is `nc printerIP 9100 < document.ps`. Suffice to say, this was a very interesting read. Thanks Retrohacker!

P.S. In the example provided, where pdf is the proposed alternative, I disagree. I think Gemini is the current viable alternative. I don't think it's in a position where network effects multiply, so the only adopters are technology enthusiasts(and even then it's relatively close in structure to HTML in the mid 90s).

=> [1] Retrohacker, bye cups, printing with netcat
=> [2] Lab6.com, pdf as an alternative to the HTML standard
=> [2] Gemini mirror of above.

Published on 2021/08/07

Articles from blogs I follow around the net

So you want to compete with or replace open source

We are living through an interesting moment in source-available software.1 The open source movement has always had, and continues to have, a solid grounding in grassroots programmers building tools for themselves and forming communities around them. Some loo…

via Drew DeVault's blog July 16, 2024

...

pt. i pt. ii

via I'm not really Stanley Lieber. June 28, 2024

Inside the Super Nintendo cartridges

via Fabien Sanglard April 21, 2024

Generated by openring