NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /dev/ulpt0 printing



Ramiro Aceves <ea1abz%gmail.com@localhost> writes:

> I was trying to make a printing CUPS server with my Raspberry Pi 4
> computer. I installed CUPS and setup it enabling the daemons:
>
> netbsd-raspa4# tail -n 6 /etc/rc.conf
> #CUPS
> cupsd=YES		
> cups_browsed=YES
> snmpd=yes
> snmptrapd=YES
> #fin CUPS
>
> I added my user to the lp group.
>
> netbsd-raspa4# groups ramiro
> users wheel lp
> netbsd-raspa4#

cups is hard and you're going to have to dig in to the upstream docs,
debug logs, etc.

>  I added my HP Deskjet 1400 to the printers CUPS localhost:631 WEB
>  admin page with hplip driver. I sent a print test page and it stucked
>  there waiting for "printer to be ready message" or something like
>  that as it was in my native Spanish language.

Often people install cups-filters.

I think hllip wants to use ugen, not ulpt.   Thus you might try
disabling ulpt in boot -c, or removing it from your kernel.   I'm doing
that with Laserjet 1310 (which was a really great printer in 2006, and
to HP's credit, still prints today).

> I read somewhere that /dev/ulpt0 show be chowned to "lp", I did that:
>
> netbsd-raspa4# ls -lh /dev/ulpt0
> crw-------  1 lp  wheel  66, 0 Sep 21 08:34 /dev/ulpt0
> netbsd-raspa4#
>
> with no luck.

read the cups logs.  enable debugging.  use the 'print test page' from
cups UI.


Home | Main Index | Thread Index | Old Index