Monday, November 16, 2015

Two-sided Print from Comand Line in Ubuntu

A network printer can be set up by running
 $ system-config-printer  
If you are assigned a user name in using that printer, you may still have to print a file from command line. The disadvantage of command line is the difficulty of page setups. The following switches between one-sided and double sided, so at least helps a little bit.
 $ lpr path/to/printed/file -U username -o sides=two-sided-long-edge   

No comments:

Post a Comment