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

risingthumb.xyz Don't rebuke a mocker, or he will hate you; rebuke the wise and he will love you.

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

...

via I'm not really Stanley Lieber. April 20, 2024

Inside the Super Nintendo cartridges

via Fabien Sanglard April 21, 2024

Copyleft licenses are not “restrictive”

One may observe an axis, or a “spectrum”, along which free and open source software licenses can be organized, where one end is “permissive” and the other end is “copyleft”. It is important to acknowledge, however, that though copyleft can be found at the op…

via Drew DeVault's blog April 19, 2024

Generated by openring