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

Re: Can't print to CUPS printer on my server



On Wed 09 Dec 2020 at 11:29:28 -0500, Gary Dale wrote:

> On 2020-12-09 10:25, Brian wrote:
> > On Wed 09 Dec 2020 at 10:04:14 -0500, Gary Dale wrote:
> > 
> > > On 2020-12-08 13:29, Brian wrote:
> > > >     avahi-browse -art > log1
> > > -bash: avahi-browse: command not found - for both regular user and root
> > > 
> > > > on the server and post log here as an attachment. avahi-browse is in the
> > > > avahi-utils package.
> > How about installing avahi-utils? :)
> 
> I don't seem to need it for anything else. I'm leery of installing packages,
> especially on a server, that I don't use.

I bet you have cups-browsed installed on the server. It's completely
unneeded and doesn't do anything to enhance the printing system there.
But that is BTW. :)

> = enp5s0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian       Secure Internet Printer local
>    hostname = [TheLibrarian.local]
>    address = [fe80::feaa:14ff:fe9b:b835]
>    port = [631]
>    txt = ["printer-type=0x80901E" "printer-state=3" "Duplex=T" "Color=T" "TLS=1.2" "UUID=bd713eeb-c38d-39f4-40b6-a997738b33d1" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Color LaserJet CP1215)" "priority=0" "note=family room" "adminurl=https://TheLibrarian.local.:631/printers/CP1215"; "ty=HP Color LaserJet CP1215 Foomatic/foo2hp (recommended)" "rp=printers/CP1215" "qtotal=1" "txtvers=1"]

The printer is found at TheLibrarian.local and its resource path is
printers/CP1215, giving a URI of

  ipp://TheLibrarian.local:631/printers/CP1215

At present you are relying on cups-browsed on the client to discover,
auto-setup and manage the CP1215; it appears to be having an off day.
Let's manage the print queue ourselves. Execute

  lpadmin -p <PRINT_Q_NAME> -v <URI> -E -m raw

The -p option can be anything you want, for example, cp1215.

-- 
Brian.


Reply to: