enable "Duplex Printing Unit" in command prompt?

Joined
Mar 11, 2008
Messages
10
Reaction score
0
Points
1
by using

Code:
lpadmin -p print-queue -o Duplex=DuplexNoTumble

I can set a printer to default as duplex. However, how to I enable the "Duplex Printing Unit" via the terminal?
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
As in printing a file duplexed? That should work as below.

lp -o sides=two-sided-short-edge filename
lp -o sides=two-sided-long-edge filename
 
OP
T
Joined
Mar 11, 2008
Messages
10
Reaction score
0
Points
1
as in the command line version of installing a printer. The above code installs the printer and sets the default to double sided, but the "Duplex Printing Unit" is still not enabled.

It is the command line version of logging into 127.0.0.1:631/printers and going into "Set Default Options" and "Options Installed" and set "Duplex Printing Unit" to Installed.

- or -

Going into printer setup > driver and check marking the "Duplex Printing Unit".


I want to do this in a script however I do not know how to enable the Duplex Unit.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top