Description of problem: After an upgrade (FC5->FC6), text files print 70 columns per line, rather than 80. The printers involved were HPLJ 4250dtn HP LJ4000 Dell 3100cn HPLJ 4250dtn Version-Release number of selected component (if applicable): cups-1.2.7-1.5.fc6 How reproducible: Every time one uses lpr to print a text file. Steps to Reproduce: 1. Create a text file, having some lines between 70 and 80 chars long. In particular, I tried a test file containing 00000000011111111112222222222333333333344444444445555555555666666666677777777778 12345678901234567890123456789012345678901234567890123456789012345678901234567890 2. Print the file using lpr. Actual results: The printed output was 0000000001111111111222222222233333333334444444444555555555566666666667 7777777778 1234567890123456789012345678901234567890123456789012345678901234567890 1234567890 There was plenty of room at the end of each line for the missing ten chars. Expected results: The printed output should have been 00000000011111111112222222222333333333344444444445555555555666666666677777777778 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Additional info:
What does 'lpoptions -p myprinter' say (with your printer name instead of 'myprinter')?
sobolev@dsm:~$ lpoptions -p ps812 job-sheets=none,none printer-info='HP LJ4000 in LL812' printer-is-accepting-jobs=1 printer-is-shared=1 printer-make-and-model='HP LaserJet 4000 Series Postscript (recommended)' printer-state=3 printer-state-change-time=1169475807 printer-state-reasons=none printer-type=37076 cpi=12 lpi=7 page-bottom=86 page-left=57 page-right=57 page-top=72 scaling=100 wrap=true sobolev@dsm:~$ lpoptions -p ps812-c job-sheets=none,none printer-info='Dell 3100cn in LL812 (color)' printer-is-accepting-jobs=1 printer-is-shared=1 printer-make-and-model='Dell Laser Printer 3100cn Foomatic/ppd (recommended)' printer-state=3 printer-state-change-time=1169495149 printer-state-reasons=none printer-type=4124 cpi=12 lpi=7 page-bottom=86 page-left=57 page-right=57 page-top=72 scaling=100 wrap=true sobolev@dsm:~$ lpoptions -p ps813 job-sheets=none,none printer-info='HPLJ 4250dtn in LL812 (duplex)' printer-is-accepting-jobs=1 printer-is-shared=1 printer-make-and-model='HP LaserJet 4250 Postscript (recommended)' printer-state=3 printer-state-change-time=1169499727 printer-state-reasons=none printer-type=168148 cpi=12 lpi=7 page-bottom=86 page-left=57 page-right=57 page-top=72 scaling=100 wrap=true sobolev@dsm:~$ lpoptions -p ps813-s job-sheets=none,none printer-info='HPLJ 4250dtn in LL 813' printer-is-accepting-jobs=1 printer-is-shared=1 printer-make-and-model='HP LaserJet 4250 Postscript (recommended)' printer-state=3 printer-state-change-time=1169475807 printer-state-reasons=none printer-type=37076 cpi=12 lpi=7 page-bottom=86 page-left=57 page-right=57 page-top=72 scaling=100 wrap=true
Do you have an /etc/cups/lpoptions file? If so, what's in it? I get the correct results with the defaults (i.e. none of cpi, lpr, page-* set).
Created attachment 146316 [details] The file /etc/cups/lpoptions
Remove that file, and try again.
I needed to run # lpoptions -p printerName -o lpi=6 for all the printers, despite the fact that the lp manpage says that the default value is 6. Things seem to be okay now. Thanks!
Hmm, paps should be defaulting to lpi=6 and cpi=10, since that's what texttops does.
Ok, fixed in 0.6.6-18.fc6
paps-0.6.6-18.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.