NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Printing to a network printer by IP address



On Sun, Jun 21, 2015 at 02:46:19PM +0100, Gerard Lally wrote:
> Is is possible to print to an ethernet-connected printer with just the
> standard NetBSD print commands (LPD, LPR), without going through CUPS?

Yes, at least if the printer supports HP Jetdirect which most printers
(even non-HP ones) do. Please check whether your printer accepts
TCP connections on port 9100.

If the printers accepts connections on port 9100 simply create an entry
in "/etc/printcap" where "lp" is set to "9100@<ip address of printer>" or
"9100@<hostname of printer>". If you want some clever print "filtering"
(e.g. the ability to print images with "lpr") please consider looking
at the "magicfilter" package in "pkgsrc".

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index