Debian: Add support for Apple AirPrint - #27
Conversation
…h to a CUPS server) Bug-Ubuntu: https://bugs.launchpad.net/bugs/711779 Bug-Ubuntu: https://bugs.launchpad.net/bugs/1054495 Bug-Debian: https://bugs.debian.org/700961 Bug: apple/cups#4341
|
No, but CUPS does not conform to the AirPrint specification and never can because we don't support media-ready/media-col-ready. That basically limits printing from iOS to US Letter/A4, which is only slightly better than useless. Will consider some parts of this in the future, but really this change will need major work before it can be merged. |
michaelrsweet
left a comment
There was a problem hiding this comment.
OK, so aside from the comments I've provided we need to add support for media-ready/media-col-ready to make this marginally useful.
| application/vnd.cups-raster image/pwg-raster 100 rastertopwg | ||
| application/vnd.cups-raster image/urf 100 rastertopwg | ||
|
|
||
| # Needed for printing from iOS (AirPrint) clients |
There was a problem hiding this comment.
Cannot use the name AirPrint.
| image/x-bitmap bmp string(0,BM) + !printable(2,14) | ||
| image/x-icon ico | ||
|
|
||
| # Needed for printing from iOS (AirPrint) clients |
There was a problem hiding this comment.
Cannot use the name AirPrint.
| keyvalue[count ][0] = "pdl"; | ||
| keyvalue[count++][1] = p->pdl ? p->pdl : "application/postscript"; | ||
|
|
||
| /* iOS 6 does not accept this printer as AirPrint printer if there is |
There was a problem hiding this comment.
If we are going to do this, we need to do it right. PAPPL provides the proper mapping from pwg-raster-document-type-supported/resolution-supported/sheet-back to urf-supported. And then the URF key needs to use the value of the urf-supported attribute.
|
OK, tracking this for CUPS 2.4.0 in issue #105. |
Bug-Ubuntu: https://bugs.launchpad.net/bugs/711779 Bug-Ubuntu: https://bugs.launchpad.net/bugs/1054495 Bug-Debian: https://bugs.debian.org/700961 Bug: apple/cups#4341 Bug: OpenPrinting/cups#27 Gbp-Pq: Name 0006-Apple-AirPrint-support.patch
Bug-Ubuntu: https://bugs.launchpad.net/bugs/711779 Bug-Ubuntu: https://bugs.launchpad.net/bugs/1054495 Bug-Debian: https://bugs.debian.org/700961 Bug: apple/cups#4341 Bug: OpenPrinting/cups#27
I'm well aware this one is most probably contentious for Apple. But OpenPrinting is not Apple :-)
Bug-Ubuntu: https://bugs.launchpad.net/bugs/711779
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1054495
Bug-Debian: https://bugs.debian.org/700961
Bug: apple/cups#4341