Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.