Repeat: Setting HP IP Printers to Duplex by Default

ernstcs
Contributor III

Hello,

Subject says it all and I think this was asked in the past.

How can you make everything everyone prints to a specific HP IP printer
with a duplex unit use the two sided layout settings by default?

I swear that I even set the default setting on the printer itself to
duplex and it won't when I send a job, still does one sided.

Thanks!

Craig E

4 REPLIES 4

tep
Contributor II

I would also like to know the answer to this question. I suspect it is a plist file, but I want to push this out for all printers.

rockpapergoat
Contributor III

Nix4Life
Valued Contributor

I did "normal snaphot" and set the printer up with a preset called "duplex" and all the duplex settings. captured. deleted all the extra stuff not needed deployed with FUT/FEU and fix permissions. test machine working will update in 24hrs

syunetsy
New Contributor

I don't know if anyone needs this but I'd figure I post my solution. I've had a request to turn on all duplex printers inhouse so that we can be more green. After some research online, found that lpadmin command can handle updating the duplex setting within the PPD/CUPS to set duplex as default. This will only work on using OSX system print dialogue, so printing from chrome will still be set as single sided.

Once I found what command options, it was simple to create a bash script with the following. lpadmin -p printername -o Duplex=DuplexNoTumble

setting printername as what your local printer is named.

So I dropped the script into casper admin, setup self service so when users install a printer, it will also run this script. You can confirm by going into cups (localhost:631) and going to admin tab, manage printers or use this link http://localhost:631/printers/?

So far everything tested good and we're pushing this into production.