Bug 116450

Summary: PPD file is refused
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Anke Boernig <anke>
Component: PrintingAssignee: Johannes Meixner <jsmeix>
Status: RESOLVED INVALID QA Contact: Johannes Meixner <jsmeix>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: ppd-file
yast2-log

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.