You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been using IPP / AirPrint with IOS 6 clients for some time. With the adoption of IOS 7, we found that clients would see the printer and could print simplex, but if duplex was set on the client device, the job would not be sent to the CUPS spooler at all. (This was also reported on https://discussions.apple.com/message/23464216)
Testing with the IOS Simulator, the console logs ': [ipp-hostname]: Print-Job failed: Unsupported sides "two-sided-long-edge".' I compared PCAP's from this vs devices which were working, and bit for bit, the duplex IPP attributes matched, so I assumed the message is a bit of a misnomer or is generated in the context of a larger issue.
I setup an ipptool script to compare the values I was getting from a number of various hosts and after some tweaks to test/ippserver.c, ultimately came to the conclusion that having the urf-supported attribute returned by the spooler with "certain values" resulted in the job being submitted successfully. (I had hoped to include some form of logic around the URF values returned, but have not done terribly well at finding a reference which documents it.)
As a disclaimer, I've no familiarity with the CUPS source and I've done this with some degree of haste... but the attached patch (targeted for 1.7.1) is working for me here in testing.
Hope this is of some help to others. If anyone is interested in a similar hack for 1.5.x, I'll be putting that together for some of our systems also. If I manage to come across some reference for the URF values in question (or URF in general) I'll see about adding some selection logic to the patch.
Best,
Mike.
The text was updated successfully, but these errors were encountered:
Version: 1.7.1
CUPS.org User: mbowie
We have been using IPP / AirPrint with IOS 6 clients for some time. With the adoption of IOS 7, we found that clients would see the printer and could print simplex, but if duplex was set on the client device, the job would not be sent to the CUPS spooler at all. (This was also reported on https://discussions.apple.com/message/23464216)
Testing with the IOS Simulator, the console logs ': [ipp-hostname]: Print-Job failed: Unsupported sides "two-sided-long-edge".' I compared PCAP's from this vs devices which were working, and bit for bit, the duplex IPP attributes matched, so I assumed the message is a bit of a misnomer or is generated in the context of a larger issue.
I setup an ipptool script to compare the values I was getting from a number of various hosts and after some tweaks to test/ippserver.c, ultimately came to the conclusion that having the urf-supported attribute returned by the spooler with "certain values" resulted in the job being submitted successfully. (I had hoped to include some form of logic around the URF values returned, but have not done terribly well at finding a reference which documents it.)
As a disclaimer, I've no familiarity with the CUPS source and I've done this with some degree of haste... but the attached patch (targeted for 1.7.1) is working for me here in testing.
Hope this is of some help to others. If anyone is interested in a similar hack for 1.5.x, I'll be putting that together for some of our systems also. If I manage to come across some reference for the URF values in question (or URF in general) I'll see about adding some selection logic to the patch.
Best,
Mike.
The text was updated successfully, but these errors were encountered: