Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

We are currently moving over from Sco to Redhat and we have been told to install CUPS for printing. We do only text printing invoices reports etc. How do I change the settings on my printers CPI LPI etc?

share|improve this question

These days, text only printing is a very long way from the mainstream.

If you are using the textonly.ppd file, then only ascii text is ever sent to the printer - you need to tweak the .ppd file to set the page size, but CPI/LPI cannot be sent from the driver - you need to either embed the relevant codes in your output stream (assuming cups doesn't strip them out) or set them using the dip swiches on your printer.

It might be simpler to use the BSD printing system (assuming RH still support it).

share|improve this answer

Take a look at the CUPS documentation. If you're submitting ASCII text jobs via LPR you can set -o cpi=10 for characters/inch and -o lpi=6 for lines/inch.

share|improve this answer

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.