iOS7 duplex printing doesn't work

Hi,

we at university offer several printers via AirPrint to our users. All worked fine until we upgraded our iPads and iPhones to iOS7. Under iOS7 it is not possible to print in duplex mode. When we disable duplex mode in the iOS print dialogue, we can print. I checked the connection with tcpdump on our print server. The iOS devices don't even contact the print server after sending a job with duplex enabled. iOS doesn't report any errors. The job simply vanishes. All this works with iOS6 devices. Does anyone else have this problem?


Thanks,

Dirk

iPad, iOS 7.0.2

Posted on Oct 15, 2013 2:22 AM

Reply
21 replies

Oct 15, 2013 11:56 PM in response to rbii

We have a CUPS server. The Airprint service entries are provided by our DNS server. They have the form


<service-group>

<name replace-wildcards="yes">AirPrint rz_icrzma @ %h</name>

<service>

<type>_ipp._tcp</type>

<subtype>_universal._sub._ipp._tcp</subtype>

<port>631</port>

<txt-record>txtvers=1</txt-record>

<txt-record>qtotal=1</txt-record>

<txt-record>Color=F</txt-record>

<txt-record>Duplex=T</txt-record>

<txt-record>Transparent=T</txt-record>

<txt-record>URF=DM3</txt-record>

<txt-record>rp=printers/rz_icrzma</txt-record>

<txt-record>note=Kyocera TASKalfa 3500i</txt-record>

<txt-record>product=(GPL Ghostscript)</txt-record>

<txt-record>printer-state=3</txt-record>

<txt-record>printer-type=0xc0b05c</txt-record>

<txt-record>pdl=application/octet-stream,application/pdf,application/postscript ,image/gif,image/jpeg,image/png,image/urf,text/html,text/plain,application/openo fficeps,application/vnd.adobe-reader-postscript,application/vnd.cups-banner,appl ication/vnd.cups-command</txt-record>

<txt-record>adminurl=ipp://localhost:631/printers/rz_icrzma</txt-record>

</service>


The "Duplex=T" entry makes the iOS devices show the duplex option when the printer is selected.

Oct 22, 2013 1:00 PM in response to eyeball17

We have a similar setup and we have this problem as well.

Starting with ios 7 if our users keep the default of "Double-sided" on then we see the same thing you mention - there is no network traffic when Print is selected even though the iPhone/iPad indicates it is printing.

If they turn double-sided off then select Print there is network traffic and the print job prints as expected.


Before the update to ios 7 double-sided printing was working.


It seems that before ios 7 we could change the TXT record provided by DNS to duplex=f and disable the double-sided option. That no longer works either - however I cannot confirm that it did work as all devices I have access to have been updated to ios 7.


It would be great to know if anyone has a solution that would fix this. Right now we just have to remind our users to print everything single-sided when printing from an iPad/iPhone.

Dec 2, 2013 1:34 PM in response to Paul Cowan1

I'm seeing the same problem: Duplex print jobs just disappear into oblivion unless you manually switch it off every time you print from the device.


Changing the DNS-SD advertisement with deplex=f does not make any difference, but I have been able to get the iOS devices to stop showing the double-sided option by selecting "HP LaserJet 4100 Series v.3010.107 Postscript (recommended)" as the driver.


Choosing the "wrong" driver seems like a band-aid rather than a real fix. Anyone else have any further insights on the issue?

Jan 13, 2014 2:40 AM in response to David M Nelson

The iOS console shows an error message:


<Warning>: printer._ipp._tcp.local.: Print-Job failed: Unsupported sides "two-sided-long-edge".


when printing duplex. The cups daemon lists two-sided-long-edge as supported value for sides-supported ipp printer attribute. But it seems iOS has problems with that...


I am trying to find out now what it does when printing directly to a duplex airprint printer.

Jan 30, 2014 9:58 AM in response to gvde

I've been digging on this for a little while, and it appears that IOS is requiring the IPP server to return the "urf-supported" attribute along with one or more keywords it "likes".


What I haven't been able to track down, is a reference to the actual interpretation of the URF values, which would allow the values generated to be relevant to the printer, rather than just cludged in there to "make it work".


I have it working in testing here now and will see about suggesting a patch to CUPS in the next day or so once I clean it up.

Jan 30, 2014 11:59 AM in response to David M Nelson

Hi David,


It's a patch for the CUPS source code. I'm targetting 1.7.1 at the moment, but once it's nailed down, will produce a similar patch for 1.5.4; since we're tied to that on one of our production clusters.


I have not been able to find a way to make it work with changes at the configuration layer. It's a bit of a stretch without knowing exactly what IOS is doing, especially since the error it throws regarding "two-sided-long-edge" appears to be a misnomer. (I've run packet captures against multiple sources, and the attributes CUPS returns for it are byte for byte the same as a working device.)


HTH,


Mike.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iOS7 duplex printing doesn't work

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.