[cups.bugs] [HIGH] STR #1718: cupstestppd uses wrong limit to "Default<main keyword>" lines

tpeland.tkukoulu tpeland at tkukoulu.fi
Mon May 22 12:08:24 PDT 2006


[STR New]

In "PostScript Printer Description File Format Specification v4.3" section
3.2
page 17: 40 characters is the maximum length for main keywords.
page 16: The basic format of an entry looks like this
         *Default<main keyword>: <optionn>

However cupstestppd limits "Default<main keyword>" to max 40 characters
instead of limiting just the "<main keyword>" part to 40 characters. This
makes for example ppd file for HP LaserJet 9500 unloadable. You get
following error.

**FAIL**  Unable to open PPD file - Illegal main keyword string on line
1022.
          REF: Pages 16-17, section 3.2.

Link: http://www.cups.org/str.php?L1718
Version: 1.2.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hpc9500s.ppd
Type: application/octet-stream
Size: 70475 bytes
Desc: not available
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20060522/0370b0a6/attachment.obj>


More information about the cups-devel mailing list