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"
"priority=10" "product=(HP LaserJet Pro M148f-M149f)" "ty=HP LaserJet
Pro M148f-M149f" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,DM1,IS1,MT1-3-5,RS600"
"rfo=ipp/faxout" "rp=ipp/print"
"pdl=image/urf,application/PCLm,application/octet-stream,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,image/jpeg"
"qtotal=1" "txtvers=1"]
= enp2s0 IPv4 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"
"priority=10" "product=(HP LaserJet Pro M148f-M149f)" "ty=HP LaserJet
Pro M148f-M149f" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,DM1,IS1,MT1-3-5,RS600"
"rfo=ipp/faxout" "rp=ipp/print"
"pdl=image/urf,application/PCLm,application/octet-stream,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,image/jpeg"
"qtotal=1" "txtvers=1"]
driverless
ipps://HP%20LaserJet%20Pro%20M148fdw%20(6CA573)._ipps._tcp.local/
lpoptions -p PRINT_QUEUE_NAME -l
lpoptions: Unable to get PPD file for PRINT_QUEUE_NAME: No such file or
directory
Thanks!
Rick
On 2022-03-27 12:49, Brian Potkin wrote:
On Sun 27 Mar 2022 at 10:25:37 -0500, r...@scotsgeek.com wrote:
The printer is"HP LaserJet Plus Pro M148fdw", connected by ethernet.
I first created a .txt file, then converted it to a .ps file, then
converted
to a .pdf file. I then ran the following commands:
lpr -o sides=two-sided-long-edge lipsum.txt.ps
lp -o sides=two-sided-long-edge lipsum.txt.ps
lpr -o sides=two-sided-long-edge lipsum.txt.pdf
lp -o sides=two-sided-long-edge lipsum.txt.pdf
All printed one-sided.
Thanks for doing that.
Then, as root, I ran the command
cupsctl --debug-logging
Then as regular user, I ran:
lp -o sides=two-sided-long-edge lipsum.txt.pdf
After many seconds, error reported:
lp: Error - scheduler not responding.
No output to the printer.
Pass on this for the moment. My understanding is that there is no
difference in what lp and lpr do.
I then ran:
lpr -o sides=two-sided-long-edge lipsum.txt.pdf
It printed one-sided.
This used to work correctly, then a few months ago, it stopped
working. I
had hoped it would have been corrected, but now I am reporting it.
Please let me know if I can help in any other way.
The error_log shows that two-sided-long-edge is sent to the printing
system. See argv[5]. It should then be sent on to the printer. The
printer supports two-sided-long-edge.
But we have
[Job 238] Unable to do two-sided printing, setting sides to
\'one-sided\'.
Now, where is that coming from and why? Investigating.
Rick, you can help with more information. Please give what you get for
avahi-browse -rt _ipp._tcp
driverless
lpoptions -p PRINT_QUEUE_NAME -l
avahi-browse is in the avahi-utils package.
Cheers,
Brian.