Results 1 to 6 of 6
RHEL 5.4
Trying to set up a printer for the 1st time using CUPS's GUI system-config-printer. Trying to set up a printer that will print in landscape mode, 132 characaters ...
- 01-21-2010 #1Linux Newbie
- Join Date
- Mar 2009
- Posts
- 228
[SOLVED] CUPS printing in landscape mode
RHEL 5.4
Trying to set up a printer for the 1st time using CUPS's GUI system-config-printer. Trying to set up a printer that will print in landscape mode, 132 characaters per line, and 66 lines per page. Got it to print in landscape mode but the line wraps at 108 characters.
What settings do I need to get it not to wrap. Current settings are:
cpi: 15
landscape: true
lpi: 8
Thanks
- 01-22-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
There are a number of factors that will affect how many characters are printed on a page.
1. Font size
2. Margins on the page
3. Font type - fixed width vs. proportional font
On my CentOS 5.4 system, the default margins set in the printer manager is about 1/8 inch on each side in landscape mode. The 132 char per line metric is edge-to-edge w/ no margins, or 12 characters per inch. If you are using 14 char / inch fonts, then 10.75 print inches will give you 107.5 characters per line - pretty much what you are seeing. So, first check your font sizes and then your margin settings.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 01-22-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Oops - bad calculations. The 107.5 chars per line should be w/ 10 cpi fonts. My bad. With 15 cpi fonts, you should be getting 50% more chars / line. Anyway, check your margin settings. Also try a smaller font to see if that helps.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 01-23-2010 #4Linux Newbie
- Join Date
- Mar 2009
- Posts
- 228
Thanks for the replies Rubberman. But it's not margin settings or font size. In the example I was using there's like 3 inches of unused line before the right margin is reached.
- 01-23-2010 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You might want to see if adjusting the page-left/page-right settings as well. There are no settings for characters per line that I can find, it it might be using the page-right settings to determine where to wrap. I haven't tried this, so I can't say for sure.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 01-25-2010 #6Linux Newbie
- Join Date
- Mar 2009
- Posts
- 228
Finally figured out what it was. Had to do the following:
1. Stop cups service
# service cups stop
2. Edit /etc/cups/mime.convs file and search for the below line
text/plain application/postscript 33 texttopaps
Change the above line to
text/plain application/postscript 33 texttops
save and exit.
3. Start the cups server
# service cups start
Then some tweaking of the margins and font size and it works.


