Xerox WorkCentres in Mavericks | Duplexing | "Two-Sided" checkbox exhibits inconsistent behavior/is usually missing

Originator:boylan
Number:rdar://16195879 Date Originated:2/28/2014
Status:Open Resolved:
Product:Print/Fax Product Version:10.9.x
Classification:Serious Bug Reproducible:Always
 
Summary:
This is a tough one to describe, so please feel free to reach back out if you need elaborations on any aspect of this bug. In Mt. Lion, when adding a Xerox WorkCentre printer, specifically the 5855 for the purpose of this bug, a "Two-Sided" checkbox would always be shown next to the number of copies when attempting to print. This allowed users to easily enable/disable duplex printing for a particular print job at the time of printing. In Mavericks, however, this Two-Sided checkbox is almost always missing. Randomly, it will appear, but I'd say that 99% of the time, it's absent. The only way to override the default duplexing is to expand the "Xerox Features" menu of the print dialog and change "2-Sided Printing" to "1-Sided". Setting the Duplex option from Duplex or DuplexNoTumble to None via lpadmin or lpoptions also has inconsistent results that do not reflect in the Xerox Features menu.

Attached is a screenshot from Mt. Lion and one from Mavericks. We consider this to be a regression. This occurs with versions 2.94.3 and 2.113.0 of the Xerox drivers for this model.

Steps to Reproduce:
1.) Acquire a Xerox WorkCentre 5855 MFD

2.) Install Xerox driver version 2.94.3 from [url redacted] onto a machine running 10.8.5 and also onto a machine running 10.9.x (or download the latest from Xerox)

3.) On both the Mt. Lion and Mavericks machines, either via lpadmin with something like `lpadmin -p XeroxTest -L "Location A" -D "Xerox Test" -E -v lpr://ip.addr.goes.here -P /Library/Printers/PPDs/Contents/Resources/Xerox\ WorkCentre\ 5855.gz -o printer-is-shared=false` or via system preferences, add the printer.

4.) Go to print to the printer from Safari using a webpage like nytimes.com and observe the Mt. Lion gives users an easy option to override the duplexing and that Mavericks does not. Screenshots attached.

Expected Results:
Mavericks would display a checkbox for "Two-Sided Printing" next to the Copies box to allow users to easily override the default duplexing mode set for a printer.

Actual Results:
Mavericks does not display a checkbox for "Two-Sided Printing" next to the Copies box to allow users to easily override the default duplexing mode set for a printer.

Version:
Xerox WorkCentre 5855
OS X 10.8.5 - Works
OS X 10.9.x - Bad behavior

This is a regression.

Notes:


Configuration:
 Detailed throughout.

Attachments:
'MtLionTwoSided.png' and 'MavericksTwoSided.png' were successfully uploaded.

Comments

Boylan

Was this a change made in Mavericks? If so, what was the reasoning behind it? It's much more difficult for users to have to navigate through advanced print menus (especially considering OS X's default print dialog is not the expanded one) than it is to simply present them with the checkbox. Also, I'm not sure if this would be a related bug, but I mentioned it earlier. When using a preset other than "Default" for these printers, the Two-Sided checkbox comes back and is always present.

Engineering

Engineering has determined that this issue behaves as intended based on the following:

There is a comment in the code: // check if any 3rd party PDE handles Duplex - if one // is found, send a notification to hide our Duplex UI

and it is related to Bug ID 4827573: EPSON's CUPS Driver can not Disable Duplex setting of Layout PDE.

This is done by design....

Please update your bug report to let us know if this is still an issue for you.

Boylan

I've attached a screen capture for you. In both of these cases, as LPD and IPP, I'm connecting directly to the printer. If I were to use Pharos Popup as usual, I'd have to go to the Advanced tab, and/or use lpadmin with a queue prefix of popup://. Please let me know if the video shows what you need. Configuring the printer in exactly the same way in Mt. Lion results in the two-sided checkbox being present. '16195879-BoylanPrinterAdd480.mov' was successfully uploaded.

Engineering

Engineering has requested the following:

The screen shots have nothing to do with the creation of the printer queue. If we cannot communicate with the printer at Queue creation time (Either the protocol, or the special Pharos software), then we will not add the keys to PPD. This has little to do with the presets, but rather what gets recoreded in the PPD.

Can you provide screen shots of when the queue is created?

Please provide your response or results by updating your bug report.

Boylan

Using the Add Printer GUI in System preferences and picking LPD, IPP, or Pharos Popup (our usual) makes no difference at all. It appears as though Xerox enables BiDi communication by default. I've attached a screenshot.

There is definitely something more to this. If you configure a printing preset with the appropriate option set under Xerox Features, the two-sided checkbox always appears when printing to these models. It seems like the key com.apple.print.PrintSettings.PMDuplexing = 1; is the magic key.

When attempting to set the DefaultDuplex option(s) via lpadmin or lpoptions, however, the options are honored spotty at best, and the two-sided checkbox still doesn't appear. This all worked as expected in Mt. Lion. Something has changed in Mavericks.

Please let me know if you need any additional information. I've also attached a preset that makes it work as expected. Oddly, none of the XR options in the plist are related to duplexing. There is one, however, XRBiDiCommunication, that seems related to your reply, but as I mentioned earlier, it seems like this is enabled by default by the Xerox driver. 'com.apple.print.custompresets.forprinter.MoonLibrary.plist' and 'Screen Shot 2014-03-04 at 4.33.06 PM.png' were successfully uploaded.

Engineering

Engineering has provided the following information:

The printer queue needs to be created in a way that lets the system know that the duplex option on the printer is installed. Please try using Add printer. Pick a protocol that is bi-directional so that the print system can querry the printer and figure out if the option is installed.

Please let us know whether the issue is resolved for you by updating your bug report.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!