I'm looking for a way to print to a networked HP LaserJet 600 M602 in Debian Jessie and I can't seem to find a solution that does not pull in avahi as a dependency. I don't want avahi because it interferes with my networking setup.
Cups, gutenprint, foomatic, and hplip all pull in avahi. How can I get printing setup for a networked "HP LaserJet 600 M602" without avahi?
A generic printer driver that does not have all the features of my printer is acceptable. So would be a solution that only prints PDFs.
I found a minimal solution. If spooling is not needed and you have a ppd printer the following works:
ncat [ip_of_printer] 9100 < file_to_print.pdf
9100 is a port used by the HP jetdirect protocol for sending raw data to a printer. And, the printer I'm using is a PPD printer so it natively understands postscript (I don't know enough about PDF/ps to be sure, but I wouldn't be surprised if this didn't work for all PDF files, in which case I'd try doing
Though not needed (AFAICT) the PPD file for this printer can be found in the Debian source package of "hplip". I'm still looking into if that could be useful. But for now, being a minimalist, I'm happy with using ncat.