Duplex print selections ignored by M283fdw

Asked by Michael Steffens

I am using a HP MFP M283fdw with hplip version 3.20.9. The current driver setting is "ColorLaserJet MFP M282-M285, driverless, cups-filters 1.27.4".

The printer's duplex capabilities are available both in hp-toolbox and in application print dialogs. But any selection done in hp-toolbox or in print dialogs is ignored and does not get propagated to the printer.

The only "side channel" way to control duplex printing is by using the printer's web server, in the System -> Paper-Setup page. I can confirm the device actually is capable of duplex printing, but this is not a satisfying workaround.

I have also tried other versions of hplip (3.20.3, 3.20.11) and other drivers ("ColorLaserJet MFP M282-M285 Postscript (recommended)"), to no avail. Rather, using the Postscript driver disables per-job duplex selection to applications entirely, but then honors settings done in hp-toolbox.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
brian_p
Solved:
Last query:
Last reply:
Revision history for this message
brian_p (claremont102) said :
#1

You do not say what your OS is. We assume you have a wireless
connection.

Give the output of

  driverless

--
Brian.

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#2

I'm sorry: The OS is Ubuntu 20.04.

Yes, the network link is a WIFI connection. How does that, as opposed to an Ethernet link, relate to this issue?

$ driverless
ipp://HP%20Color%20LaserJet%20MFP%20M283fdw%20(EFBB7A)._ipp._tcp.local/

Revision history for this message
brian_p (claremont102) said :
#3

There isn't any difference between WIFI and ethernet connections.

The output of driverless is the URI. It is substituted in the next command.

Set up this print queue:

 lpadmin -p m127test -v URI -E -o sides=two-sided-long-edge-default -m everywhere

Print to it with

  lp -d m127test /etc/services

Does it print in duplex?

remove the queue with

 lpadmin -x m127test

Revision history for this message
brian_p (claremont102) said :
#4

"URI" is better than URI

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#5

Substituting the output of 'driverless' as URI

$ lpadmin -p m127test -v "ipp://HP%20Color%20LaserJet%20MFP%20M283fdw%20(EFBB7A)._ipp._tcp.local/" -E -o sides=two-sided-long-edge-default -m everywhere

created the queue, but the lp command doesn't print at all. The job is immediately stopped, reporting "Idle - 'Filter failed'".

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#6

The filter issue above is apparently caused by using /etc/services as content. Created a two page PDF document and executed

$ lp -d m127test TwoPages.pdf
request id is m127test-268 (1 file(s))

The document is printed non-duplex on two sheets.

Revision history for this message
brian_p (claremont102) said :
#7

> created the queue, but the lp command doesn't print at all.
> The job is immediately stopped, reporting "Idle - 'Filter failed'"

Would you repeat the queue setup with

  -o Duplex=DuplexNoTumble

and repeat printing with /etc/adduser.conf and TwoPages.pdf.

  lpoptions -p m127test -l

should show DuplexNoTumble as the default.

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#8

Printing /etc/adduser.conf results in a filter failure in either case, so I just could test print with my two page PDF.

$ lpadmin -p m127test -v "ipp://HP%20Color%20LaserJet%20MFP%20M283fdw%20(EFBB7A)._ipp._tcp.local/" -E -o Duplex=DuplexNoTumble -m everywhere
$ lp -d m127test TwoPages.pdf
request id is m127test-271 (1 file(s))
$ lpoptions -p m127test -l
PageSize/Media Size: 100x150mm 184x260mm 195x270mm 4x6 5x8 *A4 A5 A6 B5 B6 DoublePostcardRotated Env10 EnvC5 EnvDL EnvMonarch Executive FanFoldGermanLegal ISOB5 Legal Letter Oficio Postcard roc16k Custom.WIDTHxHEIGHT
InputSlot/Media Source: *Auto Manual Tray1 Tray2
MediaType/Media Type: *Stationery Com.hp.matteLightweight Com.hp.matteIntermediateweight Com.hp.matteMidweight Com.hp.matteHeavyweight Com.hp.matteExtraheavyweight Com.hp.glossyBrochureMidweight Com.hp.glossyBrochureHeavyweight Com.hp.glossyTrifoldHeavyweight Com.hp.glossyBrochureExtraheavyweight Com.hp.stationeryLightweight Com.hp.stationeryExtralightweight Com.hp.stationeryIntermediateweight Com.hp.stationeryMidweight Com.hp.stationeryHeavyweight Com.hp.stationeryExtraheavyweight Com.hp.glossyHeavyweight Com.hp.glossyExtraheavyweight Com.hp.glossyCardstock Transparency Labels StationeryLetterhead Envelope Com.hp.envelopeHeavyweight StationeryPreprinted StationeryPrepunched StationeryColored StationeryBond Com.hp.recycled Com.hp.rough Com.hp.roughHeavyweight PhotographicFilm
ColorModel/Output Mode: Gray AdobeRGB DeviceRGB DeviceGray *RGB
Duplex/Duplex: None *DuplexNoTumble DuplexTumble
cupsPrintQuality/cupsPrintQuality: Draft *Normal

DuplexNoTumble is indeed the default, but the print ends up non-duplex on two sheets. It doesn't make any difference whether I also include "-o sides=two-sided-long-edge-default", doesn't appear in the lpoptions output and doesn't alter behavior, either.

Revision history for this message
brian_p (claremont102) said :
#9

I am flummoxed!

Please give

  avahi-browse -rt _ipp._tcp
and
  avahi-browse -rt _uscan._tcp

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#10

$ avahi-browse -rt _ipp._tcp
+ enp5s0 IPv6 HP Color LaserJet MFP M283fdw (EFBB7A) Internet Printer local
+ enp5s0 IPv4 HP Color LaserJet MFP M283fdw (EFBB7A) Internet Printer local
= enp5s0 IPv4 HP Color LaserJet MFP M283fdw (EFBB7A) Internet Printer local
   hostname = [NPIEFBB7A.local]
   address = [192.168.178.253]
   port = [631]
   txt = ["mopria-certified=2.0" "mac=84:2a:fd:ef:bb:7a" "usb_MDL=HP ColorLaserJet MFP M282-M285" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4252-4e39-4735-4e48-842afdefbb7a" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "note=" "adminurl=http://NPIEFBB7A.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP ColorLaserJet MFP M282-M285)" "ty=HP ColorLaserJet MFP M282-M285" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,DM1,IS1,MT1-2-3-5-12,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"]
= enp5s0 IPv6 HP Color LaserJet MFP M283fdw (EFBB7A) Internet Printer local
   hostname = [NPIEFBB7A.local]
   address = [192.168.178.253]
   port = [631]
   txt = ["mopria-certified=2.0" "mac=84:2a:fd:ef:bb:7a" "usb_MDL=HP ColorLaserJet MFP M282-M285" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4252-4e39-4735-4e48-842afdefbb7a" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "note=" "adminurl=http://NPIEFBB7A.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP ColorLaserJet MFP M282-M285)" "ty=HP ColorLaserJet MFP M282-M285" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,DM1,IS1,MT1-2-3-5-12,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"]

$ avahi-browse -rt _uscan._tcp
+ enp5s0 IPv4 HP Color LaserJet MFP M283fdw (EFBB7A) _uscan._tcp local
= enp5s0 IPv4 HP Color LaserJet MFP M283fdw (EFBB7A) _uscan._tcp local
   hostname = [NPIEFBB7A.local]
   address = [192.168.178.253]
   port = [8080]
   txt = ["mopria-certified-scan=1.3" "note=" "duplex=F" "is=platen,adf" "cs=color,grayscale" "pdl=application/pdf,image/jpeg" "uuid=564e4252-4e39-4735-4e48-842afdefbb7a" "rs=eSCL" "representation=http://NPIEFBB7A.local./ipp/images/printer.png" "vers=2.63" "usb_MDL=HP ColorLaserJet MFP M282-M285" "usb_MFG=HP" "mdl=ColorLaserJet MFP M282-M285" "mfg=HP" "ty=HP ColorLaserJet MFP M282-M285" "adminurl=http://NPIEFBB7A.local." "txtvers=1"]
+ enp5s0 IPv6 HP Color LaserJet MFP M283fdw (EFBB7A) _uscan._tcp local
= enp5s0 IPv6 HP Color LaserJet MFP M283fdw (EFBB7A) _uscan._tcp local
   hostname = [NPIEFBB7A.local]
   address = [192.168.178.253]
   port = [8080]
   txt = ["mopria-certified-scan=1.3" "note=" "duplex=F" "is=platen,adf" "cs=color,grayscale" "pdl=application/pdf,image/jpeg" "uuid=564e4252-4e39-4735-4e48-842afdefbb7a" "rs=eSCL" "representation=http://NPIEFBB7A.local./ipp/images/printer.png" "vers=2.63" "usb_MDL=HP ColorLaserJet MFP M282-M285" "usb_MFG=HP" "mdl=ColorLaserJet MFP M282-M285" "mfg=HP" "ty=HP ColorLaserJet MFP M282-M285" "adminurl=http://NPIEFBB7A.local." "txtvers=1"]

Revision history for this message
brian_p (claremont102) said :
#11

From the text record:

> "Duplex=T"

The printer claims to do automatic duplex, but we knew that anyway.

I have just set up a queue for my ENVY with -o Duplex=DuplexNoTumble.
I get automatic duplex with /etc/adduser.conf on Debian unstable.

It is almost as though your printer is ignoring DuplexNoTumble, which
would be a firmware bug, or there a bug in your cups-filters.

More to come in 5/10 minutes.

Revision history for this message
brian_p (claremont102) said :
#12

In your first post there is

> "ColorLaserJet MFP M282-M285, driverless, cups-filters 1.27.4".

This indicates the queue has been automatically set up by
cups-browsed from what is in the printer's Bonjour broadcasts.
In other words, HPLIP is not being used. The queue I asked you
to set up is not significantly different from the cups-filters one.

We'll try using HPLIP. Do

  lpinfo -m | grep "M282-M285"

This gives you a PPD to substitute in the next command. It begins
"postscript" and ends "ppd". Now

  lpadmin -p m127test -v "URI" -E -o sides=two-sided-long-edge-default -m PPD

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#13

I'm afraid, no:

$ lpadmin -p m127test -v "postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_m282-m285-ps.ppd" -E -o sides=two-sided-long-edge-default -m PPD
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
lpadmin: Bad device-uri scheme "postscript-hp".

But, as mentioned in my initial request, I have also tried other versions of hplip (3.20.3, 3.20.11) and other drivers ("ColorLaserJet MFP M282-M285 Postscript (recommended)"), to no avail.

That is the driver configured by hp-setup, and tried it both with queue created by hp-setup as well as KDE's printer control page. It still can't propagate per-job duplex selections to the printer.

Revision history for this message
Best brian_p (claremont102) said :
#14

> lpadmin -p m127test
> -v "postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_m282-m285-ps.ppd"
> -E -o sides=two-sided-long-edge-default -m PPD

Michael, you have the URI earlier in the thread! It is

 "ipp://HP%20Color%20LaserJet%20MFP%20M283fdw%20(EFBB7A)._ipp._tcp.local/"

Also

 postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_m282-m285-ps.ppd

is substituted for PPD.

> But, as mentioned in my initial request, I have also tried other versions of
> hplip (3.20.3, 3.20.11) and other drivers ("ColorLaserJet MFP M282-M285
> Postscript (recommended)"), to no avail.

Indeed you did, but let's see this through.

Revision history for this message
brian_p (claremont102) said :
#15

I forgot to mention: -o sides=two-sided-long-edge-default is not needed
for the queue. Just try printing TwoPages.pdf from an application in duplex.

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#16

I have used the printer config dialog to reconfigure my default queue to use the "ColorLaserJet MFP M282-M285 Postscript" driver instead. That should now make sure it's routing via hplip, doesn't it?

The strange observation: In the print job dialog, this queue now has duplex options disabled, just as the printer would no longer support it! In the avahi-browse output I can't see any difference (see below). Is it correct that these queries also bypass hplip and directly query print services on the network?

Another weird observation: While _ipp._tcp returns "Duplex=T", _uscan._tcp reports "duplex=F". Is that to describe that printing support duplex, while scanning doesn't? Or is this some contradiction?

$ avahi-browse -rt _ipp._tcp
+ enp5s0 IPv6 HP Color LaserJet MFP M283fdw (EFBB7A) Internet Printer local
+ enp5s0 IPv4 HP Color LaserJet MFP M283fdw (EFBB7A) Internet Printer local
= enp5s0 IPv6 HP Color LaserJet MFP M283fdw (EFBB7A) Internet Printer local
   hostname = [NPIEFBB7A.local]
   address = [fe80::5eba:efff:fe4b:130c]
   port = [631]
   txt = ["mopria-certified=2.0" "mac=84:2a:fd:ef:bb:7a" "usb_MDL=HP ColorLaserJet MFP M282-M285" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4252-4e39-4735-4e48-842afdefbb7a" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "note=" "adminurl=http://NPIEFBB7A.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP ColorLaserJet MFP M282-M285)" "ty=HP ColorLaserJet MFP M282-M285" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,DM1,IS1,MT1-2-3-5-12,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"]
= enp5s0 IPv4 HP Color LaserJet MFP M283fdw (EFBB7A) Internet Printer local
   hostname = [NPIEFBB7A.local]
   address = [192.168.178.253]
   port = [631]
   txt = ["mopria-certified=2.0" "mac=84:2a:fd:ef:bb:7a" "usb_MDL=HP ColorLaserJet MFP M282-M285" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4252-4e39-4735-4e48-842afdefbb7a" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "note=" "adminurl=http://NPIEFBB7A.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP ColorLaserJet MFP M282-M285)" "ty=HP ColorLaserJet MFP M282-M285" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,DM1,IS1,MT1-2-3-5-12,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"]

$ avahi-browse -rt _uscan._tcp
+ enp5s0 IPv4 HP Color LaserJet MFP M283fdw (EFBB7A) _uscan._tcp local
+ enp5s0 IPv6 HP Color LaserJet MFP M283fdw (EFBB7A) _uscan._tcp local
= enp5s0 IPv4 HP Color LaserJet MFP M283fdw (EFBB7A) _uscan._tcp local
   hostname = [NPIEFBB7A.local]
   address = [192.168.178.253]
   port = [8080]
   txt = ["mopria-certified-scan=1.3" "note=" "duplex=F" "is=platen,adf" "cs=color,grayscale" "pdl=application/pdf,image/jpeg" "uuid=564e4252-4e39-4735-4e48-842afdefbb7a" "rs=eSCL" "representation=http://NPIEFBB7A.local./ipp/images/printer.png" "vers=2.63" "usb_MDL=HP ColorLaserJet MFP M282-M285" "usb_MFG=HP" "mdl=ColorLaserJet MFP M282-M285" "mfg=HP" "ty=HP ColorLaserJet MFP M282-M285" "adminurl=http://NPIEFBB7A.local." "txtvers=1"]
= enp5s0 IPv6 HP Color LaserJet MFP M283fdw (EFBB7A) _uscan._tcp local
   hostname = [NPIEFBB7A.local]
   address = [192.168.178.253]
   port = [8080]
   txt = ["mopria-certified-scan=1.3" "note=" "duplex=F" "is=platen,adf" "cs=color,grayscale" "pdl=application/pdf,image/jpeg" "uuid=564e4252-4e39-4735-4e48-842afdefbb7a" "rs=eSCL" "representation=http://NPIEFBB7A.local./ipp/images/printer.png" "vers=2.63" "usb_MDL=HP ColorLaserJet MFP M282-M285" "usb_MFG=HP" "mdl=ColorLaserJet MFP M282-M285" "mfg=HP" "ty=HP ColorLaserJet MFP M282-M285" "adminurl=http://NPIEFBB7A.local." "txtvers=1"]

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#17

Bingo! The command

$ lpadmin -p m127test -v "ipp://HP%20Color%20LaserJet%20MFP%20M283fdw%20(EFBB7A)._ipp._tcp.local/" -E -o sides=two-sided-long-edge-default -o Duplex=DuplexNoTumble -m "postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_m282-m285-ps.ppd"

created a queue where "lp -d m127test TwoPages.pdf" does print duplex. But as Said in my previous post, the application now consideres duplex not to be supported for m127test.

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#18

It seems we are getting closer. Thanks to all the tools you provided me with :)

The "lpoptions -p m127test -l" correctly reports the available options and default as seen by CUPS. The Dialog doesn't because there is an extra menu for "Installable options" in the printer setup form, which has Duplex Unit set to "Off". If I change that to "On", I can set the option and it's honored by the printer.

When using the driverless "driver", there is a "Two-Sided Printing" option, which can be enabled, and does propagate the print dialog default setting, but is then ignored on printing.

It's confusing: What is the concept of an "Installable option"? Is that a CUPS thing, or something in HPLIP?

Revision history for this message
brian_p (claremont102) said :
#19

> That should now make sure it's routing via hplip, doesn't it?

Yes.

> Is it correct that these queries also bypass hplip and directly
> query print services on the network?

Correct. The driverless setup sets up a PDD by *directly* querying
the printer The Postscript PPD is provided by HP from what *they*
know about the printer's capabilities.

> Another weird observation: While _ipp._tcp returns "Duplex=T",
> _uscan._tcp reports "duplex=F". Is that to describe that printing
> support duplex, while scanning doesn't? Or is this some
> contradiction?

No. Printing and scanning are separate processes. "duplex=F" means
that the ADF will not do duplex.

Revision history for this message
brian_p (claremont102) said :
#20

'lpoptions -p m127test -l' has this:

  HPOption Duplexer/Duplex Unit: True/*False

This is non-standard. It appears to have to be set to "True" for
automatic duplexing to take place.

Would you confirm that you now have double-sided printing
via HPLIP?

Revision history for this message
brian_p (claremont102) said :
#21

Michael,

I am still very bothered that the cups-browsed queue set up for you by the
the system does not work. Would you help in debugging this by giving the
output of

 ipptool -tv "URI" get-printer-attributes.test ?

Revision history for this message
brian_p (claremont102) said :
#22

> When using the driverless "driver", there is a "Two-Sided Printing"
> option, which can be enabled, and does propagate the print dialog
> default setting, but is then ignored on printing.

Which application was used for printing?

> It's confusing: What is the concept of an "Installable option"? Is that a
> CUPS thing, or something in HPLIP?

I am unsure about this but the actual option is an HP-specific one.

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#23

Responding the last three post:

> HPOption Duplexer/Duplex Unit: True/*False
>
>This is non-standard. It appears to have to be set to "True" for
>automatic duplexing to take place.
>
>Would you confirm that you now have double-sided printing
>via HPLIP?

Yes, by using the lp command on m127test queue. And also from print dialog after enabling the duplexer installable option. The lpoptions output then changes to "HPOption_Duplexer/Duplex Unit: *True False".

>I am still very bothered that the cups-browsed queue set up for you by the
>the system does not work. Would you help in debugging this by giving the
>output of
>
> ipptool -tv "URI" get-printer-attributes.test ?

That fails. Do I need to use a different URI than the one user for queue creation?

$ ipptool -tv "ipp://HP%20Color%20LaserJet%20MFP%20M283fdw%20(EFBB7A)._ipp._tcp.local/" get-printer-attributes.test
ipptool: Unable to connect to "HP Color LaserJet MFP M283fdw (EFBB7A)._ipp._tcp.local" on port 631 - Name or service not known

I could recreate the queue with exactly that URI, but ipptool still fails.

>Which application was used for printing?

The okular PDF viewer.

Revision history for this message
brian_p (claremont102) said :
#24

Try

 ipptool -tv "ipp://192.168.178.253/ipp/print" /usr/share/cups/ipptool/get-printer-attributes.test

Yes, I guessed you were using Okular; thanks for confirmation. Any chance that
you could try double-sided printing with Firefox or Evince? They use a different
print dialog from Okular.

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#25

$ ipptool -tv "ipp://192.168.178.253/ipp/print" /usr/share/cups/ipptool/get-printer-attributes.test
"/usr/share/cups/ipptool/get-printer-attributes.test":
    Get-Printer-Attributes:
        attributes-charset (charset) = utf-8
        attributes-natural-language (naturalLanguage) = en
        printer-uri (uri) = ipp://192.168.178.253:631/ipp/print
        requested-attributes (1setOf keyword) = all,media-col-database
    Get printer attributes using get-printer-attributes [PASS]
        RECEIVED: 948609 bytes in response
        status-code = successful-ok (successful-ok)
        attributes-charset (charset) = utf-8
        attributes-natural-language (naturalLanguage) = en
        printer-uri-supported (1setOf uri) = ipp://192.168.178.253/ipp/print,ipps://192.168.178.253/ipp/print
        uri-security-supported (1setOf keyword) = none,tls
        uri-authentication-supported (1setOf keyword) = requesting-user-name,requesting-user-name
        printer-name (nameWithoutLanguage) = NPIEFBB7A
        printer-location (textWithoutLanguage) =
        printer-more-info (uri) = http://192.168.178.253/hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus
        printer-info (textWithoutLanguage) = HP Color LaserJet MFP M283fdw
        printer-make-and-model (textWithoutLanguage) = HP ColorLaserJet MFP M282-M285
        printer-state (enum) = idle
        printer-state-reasons (keyword) = none
        printer-state-message (textWithoutLanguage) =
        printer-state-change-time (integer) = 28907
        printer-state-change-date-time (dateTime) = 2000-04-28T10:35:48Z
        ipp-versions-supported (1setOf keyword) = 1.0,1.1,2.0
        mopria-certified (textWithoutLanguage) = 2.0
        mopria-certified-scan (textWithoutLanguage) = 1.3
        ipp-features-supported (keyword) = airprint-1.8
        operations-supported (1setOf enum) = Print-Job,Print-URI,Validate-Job,Create-Job,Send-Document,Send-URI,Close-Job,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Identify-Printer
        multiple-document-jobs-supported (boolean) = false
        multiple-operation-time-out (integer) = 120
        multiple-operation-time-out-action (keyword) = abort-job
        charset-configured (charset) = utf-8
        charset-supported (charset) = utf-8
        natural-language-configured (naturalLanguage) = en
        generated-natural-language-supported (naturalLanguage) = en
        document-format-default (mimeMediaType) = application/pdf
        document-format-supported (1setOf mimeMediaType) = image/urf,application/PCLm,application/octet-stream,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,image/jpeg
        reference-uri-schemes-supported (1setOf uriScheme) = http,https
        printer-is-accepting-jobs (boolean) = true
        queued-job-count (integer) = 0
        pdl-override-supported (keyword) = attempted
        printer-up-time (integer) = 30865
        printer-current-time (dateTime) = 2000-04-28T11:08:23Z
        compression-supported (1setOf keyword) = none,gzip
        color-supported (boolean) = true
        page-ranges-supported (boolean) = true
        job-creation-attributes-supported (1setOf keyword) = copies,finishings,sides,orientation-requested,media,print-quality,printer-resolution,output-bin,media-col,output-mode,ipp-attribute-fidelity,job-name,multiple-document-handling,print-scaling,print-color-mode,print-content-optimize,manual-duplex-sheet-count,margins-pre-applied,pclm-source-resolution,job-mandatory-attributes,pdf-fit-to-page,page-ranges,overrides
        media-supported (1setOf keyword) = na_letter_8.5x11in,na_legal_8.5x14in,na_executive_7.25x10.5in,na_foolscap_8.5x13in,na_oficio_8.5x13.4in,na_index-4x6_4x6in,na_index-5x8_5x8in,iso_a4_210x297mm,iso_a5_148x210mm,iso_a6_105x148mm,jis_b5_182x257mm,jis_b6_128x182mm,om_small-photo_100x150mm,prc_16k-195x270_195x270mm,prc_16k-184x260_184x260mm,roc_16k_7.75x10.75in,jpn_hagaki_100x148mm,jpn_oufuku_148x200mm,na_number-10_4.125x9.5in,na_monarch_3.875x7.5in,iso_b5_176x250mm,iso_c5_162x229mm,iso_dl_110x220mm,custom_min_3x5in,custom_max_8.5x14in
        media-size-supported (1setOf collection) = {x-dimension=21590 y-dimension=27940},{x-dimension=21590 y-dimension=35560},{x-dimension=18415 y-dimension=26670},{x-dimension=21590 y-dimension=33020},{x-dimension=21590 y-dimension=34036},{x-dimension=10160 y-dimension=15240},{x-dimension=12700 y-dimension=20320},{x-dimension=21000 y-dimension=29700},{x-dimension=14800 y-dimension=21000},{x-dimension=10500 y-dimension=14800},{x-dimension=18200 y-dimension=25700},{x-dimension=12800 y-dimension=18200},{x-dimension=10000 y-dimension=15000},{x-dimension=19500 y-dimension=27000},{x-dimension=18400 y-dimension=26000},{x-dimension=19685 y-dimension=27305},{x-dimension=10000 y-dimension=14800},{x-dimension=14800 y-dimension=20000},{x-dimension=10477 y-dimension=24130},{x-dimension=9842 y-dimension=19050},{x-dimension=17600 y-dimension=25000},{x-dimension=16200 y-dimension=22900},{x-dimension=11000 y-dimension=22000},{x-dimension=7620-21590 y-dimension=12700-35560}
        media-default (keyword) = iso_a4_210x297mm
        media-col-supported (1setOf keyword) = media-size,media-top-margin,media-left-margin,media-right-margin,media-bottom-margin,media-type,media-source,media-source-properties,duplex-supported
        media-col-default (collection) = {media-size={x-dimension=21000 y-dimension=29700} media-top-margin=423 media-bottom-margin=423 media-left-margin=423 media-right-margin=423 media-source=auto media-type=stationery duplex-supported=1}
        media-col-database (1setOf collection) = media-left-margin-supported (integer) = 423
        media-right-margin-supported (integer) = 423
        media-top-margin-supported (integer) = 423
        media-bottom-margin-supported (integer) = 423
        media-source-supported (1setOf keyword) = auto,manual,tray-1,tray-2
        printer-input-tray (1setOf octetString) = type=other;mediafeed=-2;mediaxfeed=-2;maxcapacity=-2;level=-2;status=0;name=auto,type=sheetFeedManual;mediafeed=-2;mediaxfeed=-2;maxcapacity=1;level=0;status=11;name=manual,type=sheetFeedAutoNonRemovableTray;mediafeed=-2;mediaxfeed=-2;maxcapacity=1;level=0;status=11;name=tray-1,type=sheetFeedAutoNonRemovableTray;mediafeed=-2;mediaxfeed=-2;maxcapacity=250;level=-3;status=0;name=tray-2
        media-type-supported (1setOf keyword) = stationery,com.hp.matte-lightweight,com.hp.matte-intermediateweight,com.hp.matte-midweight,com.hp.matte-heavyweight,com.hp.matte-extraheavyweight,com.hp.glossy-brochure-midweight,com.hp.glossy-brochure-heavyweight,com.hp.glossy-trifold-heavyweight,com.hp.glossy-brochure-extraheavyweight,com.hp.stationery-lightweight,com.hp.stationery-extralightweight,com.hp.stationery-intermediateweight,com.hp.stationery-midweight,com.hp.stationery-heavyweight,com.hp.stationery-extraheavyweight,com.hp.glossy-heavyweight,com.hp.glossy-extraheavyweight,com.hp.glossy-cardstock,transparency,labels,stationery-letterhead,envelope,com.hp.envelope-heavyweight,stationery-preprinted,stationery-prepunched,stationery-colored,stationery-bond,com.hp.recycled,com.hp.rough,com.hp.rough-heavyweight,photographic-film
        job-constraints-supported (collection) = {resolver-name=duplex-unsupported-media sides=two-sided-short-edge,two-sided-long-edge media-col={media-size={x-dimension=10160 y-dimension=15240},{x-dimension=12700 y-dimension=20320},{x-dimension=10500 y-dimension=14800},{x-dimension=12800 y-dimension=18200},{x-dimension=10000 y-dimension=15000},{x-dimension=10000 y-dimension=14800},{x-dimension=14800 y-dimension=20000},{x-dimension=10477 y-dimension=24130},{x-dimension=9842 y-dimension=19050},{x-dimension=17600 y-dimension=25000},{x-dimension=16200 y-dimension=22900},{x-dimension=11000 y-dimension=22000} media-type=com.hp.matte-extraheavyweight,com.hp.glossy-cardstock,transparency,labels,envelope,com.hp.envelope-heavyweight,photographic-film}}
        job-resolvers-supported (collection) = {resolver-name=duplex-unsupported-media sides=one-sided}
        pages-per-minute (integer) = 22
        pages-per-minute-color (integer) = 22
        jpeg-k-octets-supported (rangeOfInteger) = 0-15625
        jpeg-x-dimension-supported (rangeOfInteger) = 0-8192
        jpeg-y-dimension-supported (rangeOfInteger) = 1-8192
        jpeg-features-supported (1setOf keyword) = icc,cmyk,progressive
        pdf-k-octets-supported (rangeOfInteger) = 0-75000
        pdf-versions-supported (1setOf keyword) = adobe-1.2,adobe-1.3,adobe-1.4,adobe-1.5,adobe-1.6,adobe-1.7,iso-19005-1_2005,iso-32000-1_2008
        urf-supported (1setOf keyword) = V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,DM1,IS1,MT1-2-3-5-12,RS600
        printer-uuid (uri) = urn:uuid:564e4252-4e39-4735-4e48-842afdefbb7a
        marker-names (1setOf nameWithoutLanguage) = Cyan Cartridge HP W2211A,Magenta Cartridge HP W2213A,Yellow Cartridge HP W2212A,Black Cartridge HP W2210A
        marker-colors (1setOf nameWithoutLanguage) = #00FFFF,#FF00FF,#FFFF00,#000000
        marker-types (1setOf keyword) = toner,toner,toner,toner
        marker-low-levels (1setOf integer) = 10,10,10,10
        marker-high-levels (1setOf integer) = 100,100,100,100
        marker-levels (1setOf integer) = 83,86,88,89
        copies-default (integer) = 1
        multiple-document-handling-default (keyword) = single-document
        finishings-default (enum) = none
        orientation-requested-default (enum) = portrait
        print-quality-default (enum) = normal
        printer-resolution-default (resolution) = 600dpi
        sides-default (keyword) = one-sided
        output-bin-default (keyword) = face-down
        output-mode-default (keyword) = auto
        copies-supported (rangeOfInteger) = 1-999
        multiple-document-handling-supported (1setOf keyword) = single-document,separate-documents-uncollated-copies,separate-documents-collated-copies,single-document-new-sheet
        finishings-supported (enum) = none
        orientation-requested-supported (1setOf enum) = portrait,landscape,reverse-landscape,reverse-portrait,none
        print-quality-supported (1setOf enum) = normal,draft
        printer-resolution-supported (resolution) = 600dpi
        sides-supported (1setOf keyword) = one-sided,two-sided-short-edge,two-sided-long-edge
        job-impressions-supported (rangeOfInteger) = 1-99999
        job-media-sheets-supported (rangeOfInteger) = 1-99999
        output-bin-supported (keyword) = face-down
        printer-output-tray (octetString) = type=unRemovableBin;maxcapacity=125;remaining=-3;status=0;name=face-down;stackingorder=firstToLast;pagedelivery=faceDown
        output-mode-supported (1setOf keyword) = auto,auto-monochrome,monochrome,color
        printer-icons (1setOf uri) = http://192.168.178.253/ipp/images/printer.png,http://192.168.178.253/ipp/images/printer-large.png
        printer-supply-info-uri (uri) = http://192.168.178.253/hp/device/mSupplyStatus.html
        printer-device-id (textWithoutLanguage) = MFG:HP;CMD:PJL,PML,PCLXL,PWG_RASTER,URP,PCL,PDF,POSTSCRIPT;MDL:HP ColorLaserJet MFP M282-M285;CLS:PRINTER;DES:HP Color LaserJet MFP M283fdw;MEM:MEM=213MB;PRN:7KW75A;COMMENT:RES=600x8;LEDMDIS:USB#ff#04#01;CID:HPLJPDLV1;IPP-E:FF-04-01,FF-04-01,FF-09-01,FF-09-01;eSCL:FF-04-01,FF-04-01,FF-09-01,FF-09-01;MCT:MF;MCL:DL;MCV:2.0;
        printer-dns-sd-name (nameWithoutLanguage) = HP Color LaserJet MFP M283fdw (EFBB7A)
        printer-geo-location (unknown) = unknown
        printer-kind (1setOf keyword) = document,envelope,photo
        landscape-orientation-requested-preferred (enum) = 5
        identify-actions-default (keyword) = display
        identify-actions-supported (keyword) = display
        print-scaling-default (keyword) = auto
        print-scaling-supported (1setOf keyword) = auto,auto-fit,fill,fit,none
        printer-firmware-name (nameWithoutLanguage) = 20200324
        printer-firmware-string-version (textWithoutLanguage) = 20200324
        printer-firmware-version (octetString) = 20200324
        which-jobs-supported (1setOf keyword) = completed,not-completed
        printer-organization (textWithoutLanguage) =
        printer-organizational-unit (textWithoutLanguage) =
        printer-get-attributes-supported (keyword) = document-format
        printer-alert (octetString) = code=printerReadyToPrint
        printer-alert-description (textWithoutLanguage) =
        printer-config-change-time (integer) = 28128
        printer-config-change-date-time (dateTime) = 2000-04-28T10:22:50Z
        overrides-supported (1setOf keyword) = pages,media,media-col
        printer-strings-languages-supported (1setOf naturalLanguage) = en,fr,de,it,es,sv,da,no,nl,fi,pt,tr,pl,ru,cs,hu,ca,ro,hr,sl,sk,el,id,zh-cn,ar,zh-tw,ko,th,he
        printer-strings-uri (uri) = http://192.168.178.253/ipp/strings/en
        epcl-version-supported (keyword) = epcl1.0
        image-enhancement-supported (keyword) = object-tagging
        manual-duplex-supported (1setOf boolean) = false,true
        pclm-raster-back-side (keyword) = normal
        pclm-compression-method-preferred (keyword) = flate
        pclm-source-resolution-supported (resolution) = 600dpi
        pclm-strip-height-preferred (integer) = 64
        pclm-strip-height-supported (1setOf integer) = 16,32,64,128
        pdf-fit-to-page-default (boolean) = false
        pdf-fit-to-page-supported (boolean) = true
        pdf-size-constraints (integer) = 75000000
        print-color-mode-default (keyword) = auto
        print-color-mode-supported (1setOf keyword) = auto,auto-monochrome,monochrome,color
        print-content-optimize-default (keyword) = auto
        print-content-optimize-supported (1setOf keyword) = auto,photo,graphics,text,text-and-graphics

Revision history for this message
brian_p (claremont102) said :
#26

I forgot again!

The queue for testing Firefox or Evince should be

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

"URI" can be what we had before or

  "ipp://192.168.178.253/ipp/print"

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#27

With the installable option Duplexer *Off*

 - Firefox Page Setup offers Two-Sided -> One Sided|Long Edge|Short Edge. When selecting "Long Edge", it immediately prompts

  "Some of the settings in the dialog conflict"

 - The KDE okular print options tab displays duplex printing radio button list None, Long side, Short side, with the latter two disabled and the disable "Long side" preselected. Accepting this selection a popup occurs

  "There are conflicts in duplex section. Do you want to fix them?"

With the installable option Duplexer *On* both Firefox and KDE okular offer duplex and print duplex.

With driverless bypass of HPLIP, both Firefox and KDE okular offer duplex, but print non-duplex on two sheets .

Revision history for this message
brian_p (claremont102) said :
#28

Thank you for your efforts, Michael. I am disappointed that the
driverless bypass does not work for you. However, you are now
printing in duplex with HPLIP and that is good. You could now
consider marking this issue as solved. I do not think I have more
to contribute to it.

How did you go on with the ipptool command?

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#29

And with the queue created with "-m everywhere" as you described, there is no installable option. CUPS reports no HPOption, either

$ lpoptions -p m127test -l
PageSize/Media Size: 100x150mm 184x260mm 195x270mm 4x6 5x8 *A4 A5 A6 B5 B6 DoublePostcardRotated Env10 EnvC5 EnvDL EnvMonarch Executive FanFoldGermanLegal ISOB5 Legal Letter Oficio Postcard roc16k Custom.WIDTHxHEIGHT
InputSlot/Media Source: *Auto Manual Tray1 Tray2
MediaType/Media Type: *Stationery Com.hp.matteLightweight Com.hp.matteIntermediateweight Com.hp.matteMidweight Com.hp.matteHeavyweight Com.hp.matteExtraheavyweight Com.hp.glossyBrochureMidweight Com.hp.glossyBrochureHeavyweight Com.hp.glossyTrifoldHeavyweight Com.hp.glossyBrochureExtraheavyweight Com.hp.stationeryLightweight Com.hp.stationeryExtralightweight Com.hp.stationeryIntermediateweight Com.hp.stationeryMidweight Com.hp.stationeryHeavyweight Com.hp.stationeryExtraheavyweight Com.hp.glossyHeavyweight Com.hp.glossyExtraheavyweight Com.hp.glossyCardstock Transparency Labels StationeryLetterhead Envelope Com.hp.envelopeHeavyweight StationeryPreprinted StationeryPrepunched StationeryColored StationeryBond Com.hp.recycled Com.hp.rough Com.hp.roughHeavyweight PhotographicFilm
ColorModel/Output Mode: Gray AdobeRGB DeviceRGB DeviceGray *RGB
Duplex/Duplex: *None DuplexNoTumble DuplexTumble
cupsPrintQuality/cupsPrintQuality: Draft *Normal

Both Firefox and KDE okular offer duplex printing and print duplex as requested. The driver is reported to be "ColorLaserJet MFP M282-M285 - IPP Everywhere". Does that one route through HPLIP?

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#30

Agreed. The output of ipptool is in comment #25. I'm now having two options working fine: The postscript PPD driver with Duplexer installable option enabled, and IPP Everywhere. The latter is not offered in HP vendor driver list of the KDE printer setup dialog. What is the difference between these drivers and which of them is preffered?

Revision history for this message
brian_p (claremont102) said :
#31

> Both Firefox and KDE okular offer duplex printing and print duplex as requested.
> The driver is reported to be "ColorLaserJet MFP M282-M285 - IPP Everywhere".
> Does that one route through HPLIP?

No. Printing through IPP Everywhere and HPLIP uses completely independent
techniques, IPP Everywhere is the more modern method and works with recent
printers like yours. I would use it myself, but there is nothing wrong with using
HPLIP.

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#32

Thank a lot Brian!

Revision history for this message
brian_p (claremont102) said :
#33

> I'm now having two options working fine: The postscript PPD driver
> with Duplexer installable option enabled, and IPP Everywhere. The
> latter is not offered in HP vendor driver list of the KDE printer setup
> dialog.

I am not familiar with the KDE printer setup dialog but IPP Everywhere
will not be offered in the HP vendor driver list because it has nothing to
do with HP.

> What is the difference between these drivers and which of them is
> preffered?

IPP Everywhere.is built into the printing system; It is an integral part of it
and works well with *all* modern printers like yours. HPLIP is an addon
package specifically for HP printers. I prefer IPP Everywhere because it is
more versatile and futureproof.

Revision history for this message
Michael Steffens (michael-steffens-b) said :
#34

Thanks brian_p, that solved my question.