Bye CUPS: Printing with Netcat
retrohacker.substack.com
Bye CUPS: Printing with Netcat
1–10 of 183 posts
Re: Bye CUPS: Printing with Netcat
#2Re: Bye CUPS: Printing with Netcat
#3Re: Bye CUPS: Printing with Netcat
#4Re: Bye CUPS: Printing with Netcat
#5Re: Bye CUPS: Printing with Netcat
#6How would you get an application, such as Firefox or Chrome, to know to use netcat to print?
There is nothing magic about netcat. You are just dumping Postscript/PDF data on a TCP port the printer is listening on.
Re: Bye CUPS: Printing with Netcat
#7Re: Bye CUPS: Printing with Netcat
#8netcat is also a secret weapon around the house. My girlfriend runs macOS, but it's way more reliable to just nc files to each other over wifi than deal with all the cloud and airdropping bullshit.
Re: Bye CUPS: Printing with Netcat
#9Re: Bye CUPS: Printing with Netcat
#10The value of CUPS is that it enables the CUPS-serving computer to run as a print server. This means not only print drivers (document format support --- typically plain text, Postscript, and one or more PDL (printer definition languages) & PCL (Printer Control Language), but status on the printer, queue management, job control, and access control. Note that if your printer is generally available on your local WiFi network, you might want to give more thought to that last element.
If those are overkill for you and your printer Just Works with generated output, then yes, you can get by without the complexity.
Note that you can also often telnet directly to the printer port.
Be aware of what you're trading off, though, and whether or not you actually need what CUPS, or direct network access, offers.