Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 08:11:47 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        reg@dwf.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problems setting up printer.
Message-ID:  <alpine.BSF.2.20.1509110805420.6365@wonkity.com>
In-Reply-To: <201509110349.t8B3nf1s025683@deneb.dwf.com>
References:  <201509110349.t8B3nf1s025683@deneb.dwf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Sep 2015, reg@dwf.com wrote:

>
> I've read and reread the printers section of the
> Handbook, but haven't been able to put together
> a printcap that will print.
>
> I have a Postscript HPLJ4100.
> It exists with that name in the dns.
>
> Here is my attempt at a FreeBSD printcap:
>
> lp:\
>        :/lp:=9100@HPLJ4100:\
>        :sh:\
>        :mx#0:\
>        :sd=/var/spool/lpd/lp:\
>        :lf=/var/log/lpd-errs:\
>        :if=/usr/local/libexec/enscript:
>
> Since I will be ONLY passing it Postscript, it would
> seem that the last line probably shouldn't be there,
> but this was the last of a number of attempts.
>
> Could someone tell me just WHAT I should be saying?

A LaserJet 4100 is a good printer and should not be difficult to get to 
print.

Try the example in "Direct Printing" to make sure the network connection 
and DNS are working:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-direct.html

As far as the printcap above, it is okay.  If PostScript is the only 
print language, the last line and the backslash on the next-to-last line 
can be removed.

Were the spool directories created as shown in Initial Setup?
What file and command are being used to test?
What happens, exactly?
Are errors reported in /var/log/lpd-errs?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1509110805420.6365>