Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2020 16:03:23 +0200 (CEST)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        Wojciech Puchar <wojtek@puchar.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: HP P1102 problem - solved
Message-ID:  <alpine.BSF.2.20.2004131603080.29181@puchar.net>
In-Reply-To: <alpine.BSF.2.20.2004131551530.26407@puchar.net>
References:  <alpine.BSF.2.20.2004131551530.26407@puchar.net>

next in thread | previous in thread | raw e-mail | index | archive | help
i have to use /dev/unlpt0  - then it works

On Mon, 13 Apr 2020, Wojciech Puchar wrote:

> i DO HAVE used this printer with following filter script (/etc/HP1102 on my 
> computer):
>
> #!/bin/sh
> export PATH=$PATH:/usr/local/bin
> exec /usr/local/bin/foo2zjs-wrapper -z 3 -p 9
>
>
> and for sure it did work. but some long time ago. then i did not use that 
> printer.
>
> now i wanted to use it again. ulpt0 is detected properly - dmesg shows it as 
> bidirectional printer port.
>
> tried adding this as filter script in printcap
> lp|local line 
> printer::sh::lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:if=/etc/HP1102
>
> even tried just to do
>
> /etc/HP1102 <postscriptfile >/dev/ulpt0
>
> in both cases foo2zjs stalls, top shows it's in FIFO-I state.
>
> what am i doing wrong?
>
> FreeBSD laptop.wojtek.intra 12.1-STABLE FreeBSD 12.1-STABLE laptop  amd64
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>
>



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