Description of problem:
I want to turn on the banner page for printing to a shared network on our
corporate network. I'm assuming I do this through "Set Printer Options"
on the printer entry on the CUPS web page?
Selecting "Set Printer Options" results in a web page containing the error message:
"Line longer than the maximum allowed (255 characters)"
The (local) URL for the page with the error message is:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. click on "Set Printer Options"
containing the error message: "Line longer than the maximum allowed (255
No artificially low limits.
Ability to change printer options (assuming this is the right place to do it)
I thought gtklp might provide another way to set this option, but it can't
handle the number of share printers we have on our network.
Please attach the PPD for that printer. I suspect it has a line whose length
exceeds 255 characters, and PPD parsers are required to treat this as an error
according to the PPD spec.
Where do I find the ppd? This is a remote printer provided via cups, not a
locally attached printer. I'll attach /var/cache cups/remote.cache
in case thats what you need?
Created attachment 273801 [details]
Created attachment 273811 [details]
Perhaps /var/cache/cups/ppds.dat contains the ppd? But its in some binary
Sorry, I should have pointed you to the location:
is what I need. Thanks.
Oh, I just saw your comment about it being a remote printer. Then please do this:
python -c 'import cups; c=cups.Connection(); print c.getPPD("mta54xb.ppd")'
This will show you the location of a temporary file holding the PPD. Please
attach that file.
I mean: python -c 'import cups; c=cups.Connection(); print c.getPPD("mta54xb")'
Created attachment 274031 [details]
file returned from above python incantation
Looks like the offending line is in a comment? Perhaps the 255 char limit
shouldn't apply to comments?
I hate to say this ;-) but Windows users around here aren't having any
problems with this printer.
That PPD was generated by an older version of foomatic -- newer versions do not
present this problem.
However, CUPS could probably be a little more tolerant of this particular problem.
I've reported this upstream, with a suggested patch:
That patch was rejected upstream. However, I think we'll need to carry it for a
short while. Applied in CVS.
cups-1.3.5-2.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update cups'
Test update works for me.
cups-1.3.5-2.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.