Driverless printing fails
EDIT: please skip to 4th comment for concise sumary of problem after troubleshooting assistance from Debian printing team:
With respect to cups-filters 1.28.7-1+deb11u1 on Debian 11.3:
Brother MFC-L2740DW with print/fax/scan/copy abilities has stopped printing from driverless queues.
Autodetected driverless queues, as well as those added via cups web interface or system-config-printer, do not produce output.
Autodetected printer queues are not created if a manually-added printer is already set up.
This worked until recently, though I don't print often so don't know when it changed.
Printing works if a queue is added by:
$ sudo lpadmin -p MFC-L2740DW -v ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/ -E -m everywhere
but not:
$ sudo lpadmin -p testqq -v "ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/" -E -m driverless:"ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/"
For driverless queues, lpstat -t at varying times, shows
"Waiting for job to complete". "No suitable Destination Host found by cups-browsed" "Printer disappeared or cups-browsed shutdown"
Sometimes jobs apparently succeed, according to queue monitors and lpstat, but still nothing prints. The printer lights up and whirrs as expected, but no output emerges.
Documents print as expected via cups on ubuntu 22.04, as well as via airprint from iphone.
I have reported this via the Debian bug tracking system, and have been asked to report upstream.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013437
With thanks, Gareth
After further troubleshooting advice from the Debian printing team, I am updating this upstream report as requested.
Having deleted all printers from system-config-printer, I can now add and print successfully from
$ sudo lpadmin -p testq -v ipp://192.168.0.14/ipp/print -E -m driverless:ipp://192.168.0.14/ipp/print
Having an "everywhere" printer already set up via
$ sudo lpadmin -p MFC-L2740DW -v ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/ -E -m everywhere
previously caused
lpadmin: Unable to open PPD "/tmp/075ef62bac756": Missing PPD-Adobe-4.x header on line 0.
on adding a driverless printer via lpadmin, but now this error has disappeared.
I am still unable to print from driverless printers autodetected, or added via system-config-printer or cups web interface.
Attached is a log extract of creating a driverless IPP printer ("cupsweb3") with cups web interface, and printing a test page, which failed to print.
Of note are various references to "ipp/faxout" and none to "ipp/print" - is this relevant?
If I try to edit the driver of an autodetected printer in system-config-printer, it has selected the driver including "fax" and will not allow it to be changed.
Manually adding a printer via either system-config-printer or cups web interface, and choosing the non-fax version, still results in references to "ipp/faxout" in the logs.
Thanks, Gareth cupsweb.txt
...and autodetection success is variable if a manually setup "everywhere" printer exists.
Summary after troubleshooting assistance from Debian printing team: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013437
With a Brother MFC-L2740DW airprint/fax/scan/copy capable printer on up-to-date Debian 11.3:
- With cups 2.3.3op2-3+deb11u1 there are problems.
- With 2.3.3op2-3+deb11u2 the situation is worse.
1) With cups 2.3.3op2-3+deb11u1
driverless queues only work if set up by lpadmin. Everywhere queues work from cups-web.
It seems to me that my driverless print jobs end up in a fax queue if the queue is created by cups-web or s-c-p, or for the autodetected printer.
At least one other user seems to have a similar problem, with a Samsung Xpress SL-C480FW:
"However, printing does not work, although the printer gets data, but then hangs." https://lists.debian.org/debian-user/2022/06/msg00558.html
which also appears to have airprint/fax https://productz.com/en/samsung-xpress-sl-c480fw/p/wxnG7
Substituting "gives up" for "hangs", this reflects my issue too. The printer lights up and whirrs, but nothing prints from autodetected/cups-web/s-c-p queues.
I can find no significant difference between driverless PPDs, though everywhere PPDs do not include fax details, and everywhere queues added from cups-web succeed in printing. Might this be another pointer to the issue?
$ history | grep testq-drvless
sudo lpadmin -p testq-drvless -v ipp://192.168.0.14/ipp/print -E -m driverless:ipp://192.168.0.14/ipp/print
$ sudo cat testq-drvless.ppd | grep -i fax
*NickName: "Brother MFC-L2740DW series, Fax, driverless, cups-filters 1.28.7"
*cupsIPPFaxOut: True
*OpenUI *faxPrefix/Pre-Dial Number: PickOne
*OrderDependency: 10 AnySetup *faxPrefix
*DefaultfaxPrefix: None
*faxPrefix None: ""
*CloseUI: *faxPrefix
*CustomfaxPrefix True: ""
*ParamCustomfaxPrefix Text: 1 string 0 64
$ history | grep ippeve
sudo lpadmin -p testq-ippeve -v ipp://192.168.0.14/ipp/print -E -m everywhere
$ sudo cat testq-ippeve.ppd | grep -i fax
$
Though even testq-drvless sometimes shows strange job attribs in s-c-p:
"job-printer-state-message: Phone number for fax not valid! Fax cannot be sent" "job-printer-uri: ipp://localhost/printers/testq-drvless"
though the job (from geany) actually printed.
$ sudo diff CUPSWEBDL.ppd testq-drvless.ppd
20c20
< *APSupplies: "http://mfcl2740dw.local./net/net/airprint.html"
> *APSupplies: "http://192.168.0.14/net/net/airprint.html"
$ sudo diff CUPSWEBDL.ppd SCPDL.ppd
$
$ ping mfcl2740dw.local
PING mfcl2740dw.local (192.168.0.14) 56(84) bytes of data.
64 bytes from 192.168.0.14 (192.168.0.14): icmp_seq=1 ttl=255 time=9.80 ms
$ ping mfcl2740dw.local.
PING mfcl2740dw.local. (192.168.0.14) 56(84) bytes of data.
64 bytes from 192.168.0.14 (192.168.0.14): icmp_seq=1 ttl=255 time=3.62 ms
$ sudo lpadmin -p testqhostname -v ipp://[mfcl2740dw.local/ipp/print](http://mfcl2740dw.local/ipp/print) -E -m driverless:ipp://[mfcl2740dw.local/ipp/print](http://mfcl2740dw.local/ipp/print)
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
$ sudo diff testqhostname.ppd CUPSWEBDL.ppd
$
$ lp -d testqhostname /etc/nsswitch.conf
request id is testqhostname-56 (1 file(s))
Succeeds.
/var/log/cups/error_log [...] 2833 D [03/Jul/2022:02:05:45 +0100] Create-Job ipp://localhost/printers/testqhostname [...] 3359 D [03/Jul/2022:02:05:46 +0100] [Client 605] Processing GET /printers/testqhostname.ppd 3360 D [03/Jul/2022:02:05:46 +0100] [Client 605] filename="/etc/cups/ppd/testqhostname.ppd", type=application/vnd.cups-ppd [...] 3794 D [03/Jul/2022:02:05:47 +0100] [Job 56] job-uri uri ipp://mfcl2740dw.local:631/ipp/print/job-225 3805 D [03/Jul/2022:02:05:47 +0100] [Job 56] printer-uri uri ipp://mfcl2740dw.local:631/ipp/print
$ lp -d CUPSWEBDL /etc/nsswitch.conf
request id is CUPSWEBDL-55 (1 file(s))
Fails.
/var/log/cups/error_log [...] 70 D [03/Jul/2022:02:04:51 +0100] Create-Job ipp://localhost/printers/CUPSWEBDL [from line 1349] 71 D [03/Jul/2022:02:04:55 +0100] [Client 581] Processing GET /printers/CUPSWEBDL.ppd 72 D [03/Jul/2022:02:04:55 +0100] [Client 581] filename="/etc/cups/ppd/CUPSWEBDL.ppd", type=application/vnd.cups-ppd [...] 1495 D [03/Jul/2022:02:04:56 +0100] [Job 55] job-uri uri ipp://mfcl2740dw.local:631/ipp/faxout/job-224 1506 D [03/Jul/2022:02:04:56 +0100] [Job 55] printer-uri uri ipp://mfcl2740dw.local:631/ipp/faxout
2) With cups 2.3.3op2-3+deb11u2.
The queue for the auto-detected printer is only created if no other queue already exists. It still doesn't print.
And even worse:
$ sudo lpadmin -p testqhostname -v ipp://192.168.0.14/ipp/print -E -m driverless:ipp://192.168.0.14/ipp/print
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
lpadmin: Unable to open PPD "/tmp/3986562c28d87": Missing PPD-Adobe-4.x header on line 0.
No such queue is created even after reboot, retry.
[on bullseye]
$ apt list *cups*|grep installed
cups-browsed/stable,now 1.28.7-1+deb11u1 amd64 [installed,automatic]
cups-client/stable-security,now 2.3.3op2-3+deb11u2 amd64 [installed,automatic]
cups-common/stable-security,stable-security,now 2.3.3op2-3+deb11u2 all [installed,automatic]
cups-core-drivers/stable-security,now 2.3.3op2-3+deb11u2 amd64 [installed,automatic]
cups-daemon/stable-security,now 2.3.3op2-3+deb11u2 amd64 [installed,automatic]
cups-filters-core-drivers/stable,now 1.28.7-1+deb11u1 amd64 [installed,automatic]
cups-filters/stable,now 1.28.7-1+deb11u1 amd64 [installed,automatic]
cups-ipp-utils/stable-security,now 2.3.3op2-3+deb11u2 amd64 [installed,automatic]
cups-pk-helper/stable,now 0.2.6-1+b1 amd64 [installed]
cups-ppdc/stable-security,now 2.3.3op2-3+deb11u2 amd64 [installed,automatic]
cups-server-common/stable-security,stable-security,now 2.3.3op2-3+deb11u2 all [installed,automatic]
cups/stable-security,now 2.3.3op2-3+deb11u2 amd64 [installed]
libcups2/stable-security,now 2.3.3op2-3+deb11u2 amd64 [installed]
libcupsfilters1/stable,now 1.28.7-1+deb11u1 amd64 [installed]
python3-cups/stable,now 2.0.1-4+b1 amd64 [installed,automatic]
python3-cupshelpers/stable,stable,now 1.5.14-1 all [installed,automatic]
$ apt list *avahi* | grep installed
avahi-daemon/stable,now 0.8-5 amd64 [installed,automatic]
avahi-utils/stable,now 0.8-5 amd64 [installed]
libavahi-client3/stable,now 0.8-5 amd64 [installed,automatic]
libavahi-client3/stable,now 0.8-5 i386 [installed,automatic]
libavahi-common-data/stable,now 0.8-5 amd64 [installed,automatic]
libavahi-common-data/stable,now 0.8-5 i386 [installed,automatic]
libavahi-common3/stable,now 0.8-5 amd64 [installed,automatic]
libavahi-common3/stable,now 0.8-5 i386 [installed,automatic]
libavahi-core7/stable,now 0.8-5 amd64 [installed,automatic]
libavahi-glib1/stable,now 0.8-5 amd64 [installed,automatic]
libavahi-ui-gtk3-0/stable,now 0.8-5 amd64 [installed,automatic]
It is notable that no such issues exist on Debian 10.0 (Buster) with the latest cups-*/oldstable,now available - driverless queues are created and everything prints as expected - and no trace of avahi, whereas cups[-browsed?] seems to depend on it in 11.3, where avahi cannot be purged without removing very much else too.
[on buster]
$ apt list *cups*|grep installed
cups-browsed/oldstable,now 1.21.6-5 amd64 [installed,automatic]
cups-client/oldstable,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-common/oldstable,now 2.2.10-6+deb10u6 all [installed,automatic]
cups-core-drivers/oldstable,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-daemon/oldstable,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-filters-core-drivers/oldstable,now 1.21.6-5 amd64 [installed,automatic]
cups-filters/oldstable,now 1.21.6-5 amd64 [installed,automatic]
cups-ipp-utils/oldstable,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-pk-helper/oldstable,now 0.2.6-1+b1 amd64 [installed,automatic]
cups-ppdc/oldstable,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-server-common/oldstable,now 2.2.10-6+deb10u6 all [installed,automatic]
cups/oldstable,now 2.2.10-6+deb10u6 amd64 [installed]
libcups2/oldstable,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
libcupsfilters1/oldstable,now 1.21.6-5 amd64 [installed,automatic]
libcupsimage2/oldstable,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
python3-cups/oldstable,now 1.9.73-2+b1 amd64 [installed,automatic]
python3-cupshelpers/oldstable,now 1.5.11-4 all [installed,automatic]
It is also notable that when adding the driverless MFC-L2740DW printer in cups-web on Buster, there is no "Fax, driverless" option. The fax details seem to be included in driverless PPDs on Bullseye whether a "model" including "Fax" is chosen or not.
@tillkamppeter With ppds being removed from cups-filters, is this issue still relevant as I presume the issue is with ppdgenerator.c?
@metabiswadeep sorry for the late reply, I had to do some releases. Unfortunately, we still have to deal with PPD files for some time. It is still 1 year to the CUPS 3.x release and there will also be long-term-support (LTS) enterprise distros which will still use CUPS 2.x for longer.
@tillkamppeter then I guess I will have to make changes to the ppd-generator.c file in the libppd repo?
@metabiswadeep it can be also a problem of the driverless utility (part of the cups-filters repo).
Anyone who is suffering this problem can please run the following commands, attach the resulting files to this issue, and also post the screen output here:
ipptool -tv ipp://192.168.0.14/ipp/print get-printer-attributes.test > attrs.txt
driverless ipp://192.168.0.14/ipp/print > ppd.txt
The IP address 192.168.0.14 is an example. Please use your printer's actual IP address (or host name) here.
$ ipptool -tv ipp://192.168.0.20/ipp/print get-printer-attributes.test > Desktop/attrs.txt $
$ driverless ipp://192.168.0.20/ipp/print > Desktop/ppd.txt $
Please find results attached.
Thanks Gareth "/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.0.20:631/ipp/print requested-attributes (1setOf keyword) = all,media-col-database Get printer attributes using get-printer-attributes [PASS] RECEIVED: 20809 bytes in response status-code = successful-ok (successful-ok) attributes-charset (charset) = utf-8 attributes-natural-language (naturalLanguage) = en copies-default (integer) = 1 finishings-default (enum) = none media-default (keyword) = iso_a4_210x297mm media-col-default (collection) = {media-type=stationery media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=auto media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}} orientation-requested-default (enum) = portrait output-bin-default (keyword) = face-down output-mode-default (keyword) = monochrome print-quality-default (enum) = normal printer-resolution-default (resolution) = 600dpi sides-default (keyword) = one-sided print-color-mode-default (keyword) = monochrome print-content-optimize-default (keyword) = auto print-scaling-default (keyword) = auto copies-supported (rangeOfInteger) = 1-99 finishings-supported (enum) = none media-supported (1setOf keyword) = iso_a4_210x297mm,na_letter_8.5x11in,na_legal_8.5x14in,na_executive_7.25x10.5in,iso_a5_148x210mm,iso_a6_105x148mm,iso_b5_176x250mm,na_number-10_4.125x9.5in,iso_dl_110x220mm,iso_c5_162x229mm,na_monarch_3.875x7.5in,na_index-3x5_3x5in,na_foolscap_8.5x13in,custom_min_76.2x127mm,custom_max_215.9x355.6mm media-col-supported (1setOf keyword) = media-type,media-size,media-top-margin,media-left-margin,media-right-margin,media-bottom-margin,media-source orientation-requested-supported (1setOf enum) = portrait,landscape output-bin-supported (keyword) = face-down output-mode-supported (1setOf keyword) = monochrome,auto print-quality-supported (enum) = normal printer-resolution-supported (1setOf resolution) = 600dpi,2400x600dpi,300dpi sides-supported (1setOf keyword) = one-sided,two-sided-long-edge,two-sided-short-edge print-color-mode-supported (1setOf keyword) = monochrome,auto print-content-optimize-supported (keyword) = auto print-scaling-supported (1setOf keyword) = auto,auto-fit,fill,fit,none generated-natural-language-supported (naturalLanguage) = en printer-uri-supported (uri) = ipp://192.168.0.20/ipp/print uri-security-supported (keyword) = none uri-authentication-supported (keyword) = none printer-name (nameWithoutLanguage) = mfcl2740dw printer-location (textWithoutLanguage) = printer-info (textWithoutLanguage) = Brother MFC-L2740DW series printer-make-and-model (textWithoutLanguage) = Brother MFC-L2740DW series printer-state (enum) = idle printer-state-reasons (keyword) = none ipp-versions-supported (1setOf keyword) = 1.0,1.1,2.0 operations-supported (1setOf enum) = Print-Job,Validate-Job,Create-Job,Send-Document,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Identify-Printer multiple-document-jobs-supported (boolean) = false multiple-operation-time-out (integer) = 150 natural-language-configured (naturalLanguage) = en charset-configured (charset) = utf-8 charset-supported (charset) = utf-8 document-format-supported (1setOf mimeMediaType) = application/octet-stream,image/urf,image/pwg-raster document-format-default (mimeMediaType) = application/octet-stream printer-is-accepting-jobs (boolean) = true queued-job-count (integer) = 0 pdl-override-supported (keyword) = attempted printer-up-time (integer) = 722863 compression-supported (keyword) = none color-supported (boolean) = false job-creation-attributes-supported (1setOf keyword) = copies,finishings,ipp-attribute-fidelity,job-name,media,media-col,orientation-requested,output-bin,output-mode,print-quality,printer-resolution,requesting-user-name,sides,print-color-mode landscape-orientation-requested-preferred (enum) = 5 marker-colors (nameWithoutLanguage) = #000000 marker-high-levels (integer) = 100 marker-levels (integer) = 60 marker-low-levels (integer) = 10 marker-names (nameWithoutLanguage) = BK marker-types (keyword) = toner media-bottom-margin-supported (integer) = 432 media-left-margin-supported (integer) = 432 media-right-margin-supported (integer) = 432 media-source-supported (1setOf keyword) = auto,manual,tray-1 media-top-margin-supported (integer) = 432 media-type-supported (1setOf keyword) = stationery,stationery-lightweight,stationery-heavyweight,stationery-cover,envelope,envelope-heavyweight,envelope-lightweight,stationery-recycled,labels,stationery-bond media-size-supported (1setOf collection) = {x-dimension=21000 y-dimension=29700},{x-dimension=21590 y-dimension=27940},{x-dimension=21590 y-dimension=35560},{x-dimension=18415 y-dimension=26670},{x-dimension=14800 y-dimension=21000},{x-dimension=10500 y-dimension=14800},{x-dimension=17600 y-dimension=25000},{x-dimension=10477 y-dimension=24130},{x-dimension=11000 y-dimension=22000},{x-dimension=16200 y-dimension=22900},{x-dimension=9842 y-dimension=19050},{x-dimension=7620 y-dimension=12700},{x-dimension=21590 y-dimension=33020},{x-dimension=7620-21590 y-dimension=12700-35560} pages-per-minute (integer) = 30 pdf-versions-supported (keyword) = none printer-device-id (textWithoutLanguage) = MFG:Brother;CMD:PJL,PCL,PCLXL,URF;MDL:MFC-L2740DW series;CLS:PRINTER;CID:Brother Laser Type1;URF:W8,CP1,IS4-1,MT1-3-4-5-8,OB10,PQ4,RS200-300-600,V1.3,DM1; printer-icons (1setOf uri) = http://192.168.0.20/ipp/printer-icons-128.png,http://192.168.0.20/ipp/printer-icons-512.png printer-more-info (uri) = http://192.168.0.20/net/net/airprint.html printer-uuid (uri) = urn:uuid:e3248000-80ce-11db-8000-30055ca3d8ec urf-supported (1setOf keyword) = W8,CP1,IS4-1,MT1-3-4-5-8,OB10,PQ4,RS200-300-600,V1.3,DM1 job-impressions-supported (rangeOfInteger) = 1-999 printer-geo-location (unknown) = unknown printer-dns-sd-name (nameWithoutLanguage) = Brother MFC-L2740DW series printer-supply-info-uri (uri) = http://192.168.0.20/general/status.html media-ready (keyword) = iso_a4_210x297mm media-col-ready (collection) = {media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}} printer-kind (1setOf keyword) = document,envelope,label identify-actions-default (1setOf keyword) = flash,sound identify-actions-supported (1setOf keyword) = flash,sound ipp-features-supported (1setOf keyword) = airprint-1.3,faxout,wfds-print-1.0 pwg-raster-document-resolution-supported (resolution) = 600dpi pwg-raster-document-sheet-back-supported (keyword) = Rotated pwg-raster-document-type-supported (1setOf keyword) = srgb_8,sgray_8 media-col-database (1setOf collection) = {media-type=stationery media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=21590 y-dimension=27940} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=21590 y-dimension=35560} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=18415 y-dimension=26670} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=14800 y-dimension=21000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=10500 y-dimension=14800} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=7620 y-dimension=12700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=21590 y-dimension=33020} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=21590 y-dimension=27940} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=21590 y-dimension=35560} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=18415 y-dimension=26670} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=14800 y-dimension=21000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=10500 y-dimension=14800} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=7620 y-dimension=12700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=21590 y-dimension=33020} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=21590 y-dimension=27940} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=21590 y-dimension=35560} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=18415 y-dimension=26670} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=14800 y-dimension=21000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=10500 y-dimension=14800} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=7620 y-dimension=12700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=21590 y-dimension=33020} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=21590 y-dimension=27940} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=21590 y-dimension=35560} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=18415 y-dimension=26670} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=14800 y-dimension=21000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=10500 y-dimension=14800} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=17600 y-dimension=25000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=10477 y-dimension=24130} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=11000 y-dimension=22000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=16200 y-dimension=22900} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=9842 y-dimension=19050} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=7620 y-dimension=12700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=21590 y-dimension=33020} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}}
*PPD-Adobe: "4.3" *FormatVersion: "4.3" *FileVersion: "1.28.7" *LanguageVersion: English *LanguageEncoding: ISOLatin1 *PSVersion: "(3010.000) 0" *LanguageLevel: "3" *FileSystem: False *PCFileName: "drvless.ppd" *Manufacturer: "Brother" *ModelName: "Brother MFC-L2740DW series" *Product: "(Brother MFC-L2740DW series)" *NickName: "Brother MFC-L2740DW series, Fax, driverless, cups-filters 1.28.7" *ShortNickName: "Brother MFC-L2740DW series" *DefaultOutputOrder: Normal *ColorDevice: False *cupsVersion: 2.3 *cupsSNMPSupplies: False *cupsLanguages: "en" *APSupplies: "http://192.168.0.20/net/net/airprint.html" *cupsIPPFaxOut: True *cupsFilter2: "image/urf image/urf 0 -" *cupsManualCopies: True *OpenUI *PageSize/Media Size: PickOne *OrderDependency: 10 AnySetup *PageSize *DefaultPageSize: A4 *PageSize 3x5/3 x 5″: "<</PageSize[216 360]>>setpagedevice" *PageSize A4/A4: "<</PageSize[595.275590551181 841.889763779528]>>setpagedevice" *PageSize A5/A5: "<</PageSize[419.527559055118 595.275590551181]>>setpagedevice" *PageSize A6/A6: "<</PageSize[297.637795275591 419.527559055118]>>setpagedevice" *PageSize Env10/Envelope #10: "<</PageSize[296.985826771654 684]>>setpagedevice" *PageSize EnvC5/CEnvelope 5: "<</PageSize[459.212598425197 649.133858267717]>>setpagedevice" *PageSize EnvDL/Envelope DL: "<</PageSize[311.811023622047 623.622047244094]>>setpagedevice" *PageSize EnvMonarch/Envelope Monarch: "<</PageSize[278.985826771654 540]>>setpagedevice" *PageSize Executive/Executive: "<</PageSize[522 756]>>setpagedevice" *PageSize FanFoldGermanLegal/Foolscap: "<</PageSize[612 936]>>setpagedevice" *PageSize ISOB5/Envelope B5: "<</PageSize[498.897637795276 708.661417322835]>>setpagedevice" *PageSize Legal/US Legal: "<</PageSize[612 1008]>>setpagedevice" *PageSize Letter/US Letter: "<</PageSize[612 792]>>setpagedevice" *CloseUI: *PageSize *OpenUI *PageRegion/Media Size: PickOne *OrderDependency: 10 AnySetup *PageRegion *DefaultPageRegion: A4 *PageRegion 3x5/3 x 5″: "<</PageSize[216 360]>>setpagedevice" *PageRegion A4/A4: "<</PageSize[595.275590551181 841.889763779528]>>setpagedevice" *PageRegion A5/A5: "<</PageSize[419.527559055118 595.275590551181]>>setpagedevice" *PageRegion A6/A6: "<</PageSize[297.637795275591 419.527559055118]>>setpagedevice" *PageRegion Env10/Envelope #10: "<</PageSize[296.985826771654 684]>>setpagedevice" *PageRegion EnvC5/CEnvelope 5: "<</PageSize[459.212598425197 649.133858267717]>>setpagedevice" *PageRegion EnvDL/Envelope DL: "<</PageSize[311.811023622047 623.622047244094]>>setpagedevice" *PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[278.985826771654 540]>>setpagedevice" *PageRegion Executive/Executive: "<</PageSize[522 756]>>setpagedevice" *PageRegion FanFoldGermanLegal/Foolscap: "<</PageSize[612 936]>>setpagedevice" *PageRegion ISOB5/Envelope B5: "<</PageSize[498.897637795276 708.661417322835]>>setpagedevice" *PageRegion Legal/US Legal: "<</PageSize[612 1008]>>setpagedevice" *PageRegion Letter/US Letter: "<</PageSize[612 792]>>setpagedevice" *CloseUI: *PageRegion *DefaultImageableArea: A4 *DefaultPaperDimension: A4 *ImageableArea 3x5: "12.245669291339 12.245669291339 203.754330708661 347.754330708661" *PaperDimension 3x5: "216 360" *ImageableArea A4: "12.245669291339 12.245669291339 583.029921259842 829.644094488189" *PaperDimension A4: "595.275590551181 841.889763779528" *ImageableArea A5: "12.245669291339 12.245669291339 407.28188976378 583.029921259842" *PaperDimension A5: "419.527559055118 595.275590551181" *ImageableArea A6: "12.245669291339 12.245669291339 285.392125984252 407.28188976378" *PaperDimension A6: "297.637795275591 419.527559055118" *ImageableArea Env10: "12.245669291339 12.245669291339 284.740157480315 671.754330708661" *PaperDimension Env10: "296.985826771654 684" *ImageableArea EnvC5: "12.245669291339 12.245669291339 446.966929133858 636.888188976378" *PaperDimension EnvC5: "459.212598425197 649.133858267717" *ImageableArea EnvDL: "12.245669291339 12.245669291339 299.565354330709 611.376377952756" *PaperDimension EnvDL: "311.811023622047 623.622047244094" *ImageableArea EnvMonarch: "12.245669291339 12.245669291339 266.740157480315 527.754330708661" *PaperDimension EnvMonarch: "278.985826771654 540" *ImageableArea Executive: "12.245669291339 12.245669291339 509.754330708661 743.754330708661" *PaperDimension Executive: "522 756" *ImageableArea FanFoldGermanLegal: "12.245669291339 12.245669291339 599.754330708661 923.754330708661" *PaperDimension FanFoldGermanLegal: "612 936" *ImageableArea ISOB5: "12.245669291339 12.245669291339 486.651968503937 696.415748031496" *PaperDimension ISOB5: "498.897637795276 708.661417322835" *ImageableArea Legal: "12.245669291339 12.245669291339 599.754330708661 995.754330708661" *PaperDimension Legal: "612 1008" *ImageableArea Letter: "12.245669291339 12.245669291339 599.754330708661 779.754330708661" *PaperDimension Letter: "612 792" *HWMargins: "12.245669291339 12.245669291339 12.245669291339 12.245669291339" *ParamCustomPageSize Width: 1 points 216 612 *ParamCustomPageSize Height: 2 points 360 1008 *ParamCustomPageSize WidthOffset: 3 points 0 0 *ParamCustomPageSize HeightOffset: 4 points 0 0 *ParamCustomPageSize Orientation: 5 int 0 3 *CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice" *OpenUI *InputSlot/Media Source: PickOne *OrderDependency: 10 AnySetup *InputSlot *DefaultInputSlot: Auto *InputSlot Auto/Automatic: "<</MediaPosition 0>>setpagedevice" *InputSlot Manual/Manual: "<</MediaPosition 4>>setpagedevice" *InputSlot Tray1/Tray 1: "<</MediaPosition 20>>setpagedevice" *CloseUI: *InputSlot *OpenUI *MediaType/Media Type: PickOne *OrderDependency: 10 AnySetup *MediaType *DefaultMediaType: Stationery *MediaType Stationery/Stationery: "<</MediaType(Stationery)>>setpagedevice" *MediaType StationeryLightweight/Lightweight Paper: "<</MediaType(StationeryLightweight)>>setpagedevice" *MediaType StationeryHeavyweight/Heavyweight Paper: "<</MediaType(StationeryHeavyweight)>>setpagedevice" *MediaType StationeryCover: "<</MediaType(StationeryCover)>>setpagedevice" *MediaType Envelope/Envelope: "<</MediaType(Envelope)>>setpagedevice" *MediaType EnvelopeHeavyweight/Heavyweight Envelope: "<</MediaType(EnvelopeHeavyweight)>>setpagedevice" *MediaType EnvelopeLightweight/Lightweight Envelope: "<</MediaType(EnvelopeLightweight)>>setpagedevice" *MediaType StationeryRecycled: "<</MediaType(StationeryRecycled)>>setpagedevice" *MediaType Labels/Labels: "<</MediaType(Labels)>>setpagedevice" *MediaType StationeryBond: "<</MediaType(StationeryBond)>>setpagedevice" *CloseUI: *MediaType *% ColorModel from urf-supported *OpenUI *ColorModel/Print Color Mode: PickOne *OrderDependency: 10 AnySetup *ColorModel *ColorModel Gray/Monochrome: "<</cupsColorSpace 18/cupsBitsPerColor 8/cupsColorOrder 0/cupsCompression 0>>setpagedevice" *DefaultColorModel: Gray *CloseUI: *ColorModel *OpenUI *Duplex/2-Sided Printing: PickOne *OrderDependency: 10 AnySetup *Duplex *DefaultDuplex: None *Duplex None/Off: "<</Duplex false>>setpagedevice" *Duplex DuplexNoTumble/On (Portrait): "<</Duplex true/Tumble false>>setpagedevice" *Duplex DuplexTumble/On (Landscape): "<</Duplex true/Tumble true>>setpagedevice" *CloseUI: *Duplex *cupsBackSide: Normal *OpenUI *OutputBin/Output Tray: PickOne *OrderDependency: 10 AnySetup *OutputBin *DefaultOutputBin: FaceDown *OutputBin FaceDown/Face Down: "" *PageStackOrder FaceDown: Normal *CloseUI: *OutputBin *DefaultResolution: 600dpi *OpenUI *cupsPrintQuality/Print Quality: PickOne *OrderDependency: 10 AnySetup *cupsPrintQuality *DefaultcupsPrintQuality: Normal *cupsPrintQuality Normal/Normal: "<</HWResolution[600 600]>>setpagedevice" *CloseUI: *cupsPrintQuality *OpenUI *print-scaling/Print Scaling: PickOne *OrderDependency: 10 AnySetup *print-scaling *Defaultprint-scaling: auto *print-scaling auto/Automatic: "" *print-scaling auto-fit/Auto-fit: "" *print-scaling fill/Fill: "" *print-scaling fit/Fit: "" *print-scaling none/None: "" *CloseUI: *print-scaling *OpenUI *phone/Phone Number: PickOne *OrderDependency: 10 AnySetup *phone *Defaultphone: None *phone None: "" *CloseUI: *phone *Customphone True: "" *ParamCustomphone Text: 1 string 0 64 *OpenUI *faxPrefix/Pre-Dial Number: PickOne *OrderDependency: 10 AnySetup *faxPrefix *DefaultfaxPrefix: None *faxPrefix None: "" *CloseUI: *faxPrefix *CustomfaxPrefix True: "" *ParamCustomfaxPrefix Text: 1 string 0 64
The printer is reporting
ipp-features-supported (1setOf keyword) = airprint-1.3,faxout,wfds-print-1.0
on its print URI. This seems to be a firmware bug. It should not report faxout here. @michaelrsweet is this really a firmware bug? How can one tell from get-printer-attributes whether one has queried the fax or the print functionality?
Sorry, @metabiswadeep and everyone else here, this is already fixed. @ge79so is using cups-filters 1.28.7. The fix is commit de0747e8da84, which is only there since 1.28.8.
Duplicate of issue #343.