To have duplexing on, by default, for our printers, install the printer with the following command:
lpadmin -p phaser -E -v socket://edg4:9100 -o Duplex=DuplexNoTumble -P /usr/share/cups/model/postscript.ppd.gz lpadmin -p edg1 -E -v socket://edg1:9100 -o Duplex=DuplexNoTumble -o InputSlot=Tray3 -P /usr/share/cups/model/postscript.ppd.gz lpadmin -p plotter -E -v socket://edg3:9100 -P /usr/share/cups/model/postscript.ppd.gz lpadmin -d edg1 --This sets edg1 as the default printer
Then, to list the options in effect for the printer, use:
lpoptions -p phaser -l Resolution/Output Resolution: 150dpi *300dpi 600dpi 1200dpi 2400dpi Duplex/Double-Sided Printing: None *DuplexNoTumble DuplexTumble PageSize/Media Size: *Letter Legal Executive A4 A5 B5 EnvISOB5 Env10 EnvC5 EnvDL EnvMonarch InputSlot/Media Source: *Default Tray1 Tray2 Tray3 Manual PageRegion/PageRegion: Letter Legal Executive A4 A5 B5 EnvISOB5 Env10 EnvC5 EnvDL EnvMonarch
The above will set the printers up ok, but we really want to use ppd files for our specific printers. So, copy the /etc/cups/ppd/* files and the /etc/cups/printers.conf files to the new computer.