Setup HP Laserjet 1120m over network with LPD
Warren Block
wblock at wonkity.com
Thu Aug 22 20:39:41 UTC 2013
On Thu, 22 Aug 2013, Juris Kaminskis wrote:
> finally my printer responds with this command:
>
> nc 192.168.1.105 9100 < output.xqx
Okay, that's a good start.
> but I have no idea how to get it running through the normal LPD spooling
> system. output.xqx file I generate first with the foo2xqx-wrapper filter
> and it accepts only postscript
That is considered normal for Unix printers. If you want the complexity
of a filter that autodetects input type, save adding that for later.
> i tried this printcap entry:
>
> HP|lp|Printer:\
> :lp=9100 at 192.168.1.105:\
> :sh:\
> :mx#0:\
> :sd=/var/spool/hp:\
> :if=/usr/bin/foo2xqx-wrapper:\
> :lf=/var/log/lpd-errs:
>
> but in the Status file i have: waiting for 9100 at 192.168.1.105 to come up
Do not use IP addresses. lpd really, really, *really* wants a
resolvable hostname. Entering it in /etc/hosts is enough, then use that
name above.
> btw: gsed package was not mentioned as dependency for foo2xqx-wrapper in
> the Installation Notes
Depending on where those notes are, that should be mentioned to the
author of the notes or the port maintainer.
More information about the freebsd-questions
mailing list