Re: [cups] Fwd: Re: Problem with lpadmin
Ken Wright <[email protected]> Mon, 21 Feb 2022 15:43:51 -0500
| Newsgroups | gmane.comp.printing.cups.general |
|---|---|
| Organization | KoalatyWorks |
| Message-ID | <[email protected]> |
On Mon, 2022-02-21 at 21:16 +0100, Axel Braun wrote: > Hello Ken, > > Am Montag, 21. Februar 2022, 20:56:32 CET schrieben Sie: > > Guten Tag, Axel! > > Ah, speaking german, very nice :-) > > > > > > > Betreff: Re: [cups] Problem with lpadmin > > > Datum: Sonntag, 20. Februar 2022, 09:33:16 CET > > > Von: Axel Braun <[email protected]> > > > An: [email protected] > > > > > > Hello Ken, > > > > > > Am Sonntag, 20. Februar 2022, 02:43:07 CET schrieb Ken Wright: > > > > I entered the following command: > > > > > > > > lpadmin -p LaserJet_M15a -E -D "White Printer" -L "On Dad's desk" > > > > -m > > > > drv:///hpcups.drv/hp-laserjet_m14-m17.ppd -o printer-is- > > > > shared=true - > > > > v > > > > usb://HP/LaserJet%20m14-M17?serial=VNBR14066 > > > > > > You double-checked all options? > > > lpinfo -v > > > > ~$ lpinfo -v > > network ipp > > network http > > network https > > file cups-brf:/ > > network ipps > > network lpd > > network socket > > network beh > > serial serial:/dev/ttyS4?baud=115200 > > serial serial:/dev/ttyS5?baud=115200 > > direct usb://HP/LaserJet%20M14-M17?serial=VNB3R14066 > > Did you notice that the connection string is slightly different to what > you > used? $ lpadmin -p LaserJet_M15a -E -D "White Printer" -L "On Dad's desk" -m everywhere -o printer-is-shared=true -v usb://HP/LaserJet%20m14- M17?serial=VNBR14066 lpadmin: Unable to connect to "HP:0": Name or service not known $ lpadmin -p LaserJet_M15a -E -D "White Printer" -L "On Dad's desk" -m everywhere -o printer-is-shared=true -v hp:/usb/HP_LaserJet_M14- M17?serial=VNBR14066 lpadmin: Unable to connect to ":0": Name or service not known Both the connection strings return "unable to connect" messages. > > direct hp:/usb/HP_LaserJet_M14-M17?serial=VNB3R14066 > > direct parallel:/dev/lp0 > > direct hpfax > > network dnssd://HP%20LaserJet%20Professional%20P1102w._pdl- > > datastream._tcp.local/ > > network ipp://HP%20LaserJet%20Professional%20P1102w._ipp._tcp.local/ > > > > > lpinfo --make-and-model "HP LaserJet" -m > > > > Too many to copy here! > > > > > > and the printer shows in the CUPS web interface, but when I try > > > > to > > > > print a test page nothing happens. > > > > > > > > Any suggestions welcome! > > > > > > increase the loglevel, e.g. to > > > LogLevel debug > > > in /etc/cups/cupsd.conf, restart cups and try again. Then check the > > > log > > > output > > > > $ tail /var/log/cups/error_log > > D [21/Feb/2022:14:53:48 -0500] cupsdMarkDirty(---J-) > > D [21/Feb/2022:14:53:48 -0500] cupsdSetBusyState: newbusy="Printing > > jobs and dirty files", busy="Dirty files" > > D [21/Feb/2022:14:53:48 -0500] cupsdMarkDirty(----S) > > D [21/Feb/2022:14:53:48 -0500] cupsdSetBusyState: newbusy="Printing > > jobs and dirty files", busy="Printing jobs and dirty files" > > D [21/Feb/2022:14:53:48 -0500] [Job 6] Restoring USB device > > configuration: 1 -> 2 > > D [21/Feb/2022:14:53:48 -0500] [Notifier] state=3 > > D [21/Feb/2022:14:53:48 -0500] [Notifier] PrinterStateChanged > > D [21/Feb/2022:14:53:48 -0500] [Job 6] Failed to set configuration 2 > > for 03f0:be2a > > Thats probably the line. > This is loglevel debug? I would expect it to be more verbose... > > You should post this to the CUPS list. No idea why my message did not > go through...got a 'message delivery delayed' notice form one of the > Apple servers (the rotten one ;-) > > Cheers > Axel > > _______________________________________________ cups mailing list [email protected] https://lists.cups.org/mailman/listinfo/cups