Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using CUPS 1.6.1.

I have a problem with printing the pages with one side only. Default option is "one-sided", as in the CUPS web interface configuration. But when I do the printing, it prints out "two-sided-long-edge" result.

I want to configure it manually. Where is the exact configuration file location? Whenever I make the changes from the CUPS web interface for default options, the /etc/cups/printers.conf time is modified, but content is not changed. But in the web interface, the default option is changed. Which file is the default options configuration?

share|improve this question
up vote 5 down vote accepted

The setting is edited in the PPD file: /etc/cups/ppd/foo.ppd where foo is the printer name.

The normal way to modify these settings from the command line is the lpoptions command. It changes the system settings if executed as root, and the per-user settings (stored in ~/.cups/lpoptions) otherwise.

share|improve this answer
Thank you, this really solves my problem. – Allen Aug 15 '12 at 3:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.