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@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@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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to