Bug 116450 - PPD file is refused
Summary: PPD file is refused
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Printing (show other bugs)
Version: RC 1
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Johannes Meixner
QA Contact: Johannes Meixner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 11:14 UTC by Anke Boernig
Modified: 2005-09-12 12:45 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
ppd-file (9.05 KB, application/octet-stream)
2005-09-12 11:15 UTC, Anke Boernig
Details
yast2-log (978.76 KB, text/plain)
2005-09-12 11:16 UTC, Anke Boernig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anke Boernig 2005-09-12 11:14:37 UTC
When trying to configure a printer (Samsung CLP-510) via YaST, the ppd-file is
refused with an error message.

The same ppd-file works perfectly fine on other systems.
Comment 1 Anke Boernig 2005-09-12 11:15:12 UTC
Created attachment 49587 [details]
ppd-file
Comment 2 Anke Boernig 2005-09-12 11:16:09 UTC
Created attachment 49588 [details]
yast2-log
Comment 3 Johannes Meixner 2005-09-12 12:38:48 UTC
Your PPD is broken:

cupstestppd /tmp/CLP-510splc.ppd 

/tmp/CLP-510splc.ppd: FAIL
      **FAIL**  Unable to open PPD file
                - Missing asterisk in column 1 on line 89.
                REF: Page 15, section 3.2.

Broken PPDs may work well sometimes or may cause any unexpected problem.
Therefore YaST doesn't accept broken PPDs.

Ask Samsung for a correct PPD and point them to
http://portal.suse.com/sdb/en/2003/11/jsmeix_print-info-for-manufacturers.html
Comment 4 Johannes Meixner 2005-09-12 12:45:15 UTC
In column 1 on line 89 there is a whitespace character.
Remove it and it is still broken:

perl -pi -e 's/^[ \t]+$//' /tmp/CLP-510splc.ppd

cupstestppd /tmp/CLP-510splc.ppd 

/tmp/CLP-510splc.ppd: FAIL
      **FAIL**  REQUIRED DefaultImageableArea
                REF: Page 102, section 5.15.