[cups.bugs] [LOW] STR #3398: ppdc documentation is a bit vague on the characters that can be used

Johan Henselmans johan at netsense.nl
Thu Oct 29 09:12:59 PDT 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

http://www.cups.org/documentation.php/ref-ppdcfile.html says:

#media defs
=======================
The name may only contain letters, numbers, and the underscore and may not
exceed 40 characters in length. The user text, if supplied, may not exceed
80 characters in length.
========================

It could be a bit more specific which characters are allowed. Michael
Sweet proposed:

=========================
The name may contain up to 40 ASCII characters within the range of decimal
33
    to decimal 126 inclusive, except for the characters comma (44), slash
(47) and
    colon (58).  The user text, if supplied, may not exceed 80 bytes in
length.
=================

Link: http://www.cups.org/str.php?L3398
Version: Web Site





More information about the cups mailing list