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

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Sep 2015, Polytropon wrote:

> On Thu, 10 Sep 2015 21:49:41 -0600, 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.
>>
>> lp:\
>>         :/lp:=9100@HPLJ4100:\
>>         :sh:\
>>         :mx#0:\
>>         :sd=/var/spool/lpd/lp:\
>>         :lf=/var/log/lpd-errs:\
>>         :if=/usr/local/libexec/enscript:
>
> You're missing rm= I think, which is essential.

For HP port 9100 printing, there is the alternate form of 
9100@printername.  Which, now that I look at that line, has two 
problems:

   :/lp:=9100@HPLJ4100:\

The slash before "lp" here is a mistake.

The colon after "lp" is the second problem.  Colons are field 
separators, so the printer device is never set.

This line should be:

   :lp=9100@HPLJ4100:\

> Also remember to use cap_mkdb.

It is not needed for /etc/printcap.  At least I've never used it for 
that. :)



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