Apache OpenOffice (AOO) Bugzilla – Issue 19452
spadmin doesn't understand Codonics PPD files
Last modified: 2003-09-11 16:28:32 UTC
Hi, I've tried to add our Codonics NP-1600 to the list of printers using spadmin. Unfortunately spadmin doesn't recognize the PPD files distributed by Codonics. Please find the PPD files fpr NP-1600 and NP-1660 photographic printers attached.
Created attachment 9205 [details] PPD file for Codonics NP-1600
Created attachment 9206 [details] PPD file for Codonics NP-1660
The files do not conform to the PPD spec: <quote> 3.8 PPD File Structure To enable parsing, there is some minimal structure to a PPD file. The first line of a PPD file must be *PPD-Adobe: "nnn" where the value nnn is a real number that designates conformance to a version of the PPD specification. (See section 5.2 for details on *PPD-Adobe.) Files conforming to this version of the specification would have the following statement: *PPD-Adobe: "4.3" This line is generally followed by comment lines containing copyright and licensing restrictions. </qoute> When spadmin/OOo search for PPD files they check the first line whether the file actually contains a PPD. Fixing the files is easy; just move the *PPD-Adobe: line to the top. I could build in that the search is more flexible, but this would slow the whole process down since potentially the whole file would have to be parsed. Since these files actually violate the standard i'd rather not workaround this issue.
closing