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

Bug#1008175: #1008175



On Sun 27 Mar 2022 at 15:13:30 -0500, rick@scotsgeek.com wrote:

> Brian:
> 
> avahi-browse -rt _ipp._tcp
> + enp2s0 IPv6 HP LaserJet Pro M148fdw (6CA573)              Internet Printer
> local
> + enp2s0 IPv4 HP LaserJet Pro M148fdw (6CA573)              Internet Printer
> local
> = enp2s0 IPv6 HP LaserJet Pro M148fdw (6CA573)              Internet Printer
> local
>    hostname = [NPI6CA573.local]
>    address = [192.168.1.207]
>    port = [631]
>    txt = ["mopria-certified=1.3" "mac=f8:b4:6a:6c:a5:73" "usb_MDL=HP
> LaserJet Pro M148f-M149f" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4"
> "kind=document,envelope,photo" "UUID=564e4733-5931-3235-3934-f8b46a6ca573"
> "Fax=T" "Scan=T" "Duplex=T" "Color=F" "note=unitedStates" "adminurl=http://NPI6CA573.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus";

The text record advertises that the printer is capable of automatic
duplex ("Duplex=T").

[Snipped text]

> driverless
> ipps://HP%20LaserJet%20Pro%20M148fdw%20(6CA573)._ipps._tcp.local/

ipp://... is a URI for the printer. We will try setting up and printing
to a new print queue. Do

  lpadmin -p testq -v "URI" -E -m everywhere

Subdtitute URI with what is above. Test with

  lp -d testq -o sides=two-sided-long-edge test.pdf

> lpoptions -p PRINT_QUEUE_NAME -l
> lpoptions: Unable to get PPD file for PRINT_QUEUE_NAME: No such file or
> directory

PRINT_QUEUE_NAME is the actual name of the queue as given in Okular or
by 'lpstat -a'.

Cheers,

Brian.


Reply to: