I thought I had posted a reply but i obviously had not. I had already tried the the test you suggested.
I built a 3.15.7 version the hplip package with the make-duplex-page- sizes-default.sh script disabled and reinstalled with that. The hpcups.drv work fine for duplex printing with A4.duplex selected. I have also tried printing duplex with the PaperSize set to plain A4. This did not crash with the setPageDevice error as was happening before. Loolking at the logs the PageSize being sent to gs was just A4 not Custom.A4 as before. so something was happening differently I will have to revert to the original installation to check that I was running an identical test, but I am fairly certain I am. I not sure what the meaning is of these Custom.XXX pagesizes, or what is setting them. I will have another look at what is happening with cupsUIConstraints stuff over the next few days. But as far as I am concerned removing the script is good to go. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568996 Title: Duplex printing does not work properly for HP printers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1568996/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs