NetBSD-Users archive

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

Re: Printer



On Sat, Dec 07, 2013 at 05:55:58PM +0100, ff%freddyfisker.dk@localhost wrote:
> How do I setup a Network Postscript printer?

Many networked PS printers accecpt plain postcript commands via TCP
port 9100 (sometimes called "JetDirect", after HP laserjet modules).

In this case you can simply modify your /etc/printcap to add an entry
like:

# HP Laserjet with JetDirect ethernet card
lp:\
        :lp=9100@printer:sd=/var/spool/output/lp:\
        :mx#0:sh:lf=/var/log/lpd-errs:

where "printer" is your printers DNS name (or you could use an IP address).
You need to have lpd=YES in /etc/rc.conf too.

If your printer does not offer this, or needs a special driver, the cups
package (as Jeremy said) is your best bet.

Martin


Home | Main Index | Thread Index | Old Index