Bug 100892

Summary: CUPS 1.2 fails with some PPD files
Product: Ports & Packages Reporter: Gregor Stucke <sgreg>
Component: Individual Port(s)Assignee: Ion-Mihai "IOnut" Tetcu <itetcu>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Gregor Stucke 2006-07-26 20:50:17 UTC
I'm not sure, whether this is BSD-specific - but I don't have access to other CUPS 1.2 systems:

After upgrading to CUPS 1.2 I'm not able to print with my Konica Minolta magicolor 2450 printer (which has been working fine for several months). The problem is, that CUPS no longer accepts the km2450np.ppd file. Instead it dumps core:

ppd: cupstestppd km2450np.ppd 
km2450np.ppd: FAIL
      **FAIL**  DefaultPageSize A4 does not exist!
      **FAIL**  REQUIRED DefaultefaultPageRegion
                REF: Page 40, section 4.5.
      **FAIL**  REQUIRED DefaultPageSize
                REF: Page 40, section 4.5.
      **FAIL**  REQUIRED PageRegion
                REF: Page 100, section 5.14.
        WARN    DefaultUseHWMargins has no corresponding options!
        WARN    DefaultLeadingEdge has no corresponding options!
        WARN    DefaultPageRegion has no corresponding options!
        WARN    DefaultDuplex has no corresponding options!
        WARN    DefaultResolution has no corresponding options!
        WARN    DefaultMediaType has no corresponding options!
        WARN    DefaultTraySwitch has no corresponding options!
        WARN    DefaultCollate has no corresponding options!
        WARN    DefaultKMColorMode has no corresponding options!
        WARN    DefaultKMQuality has no corresponding options!
        WARN    DefaultInputSlot has no corresponding options!
cupstestppd in free(): error: chunk is already free
Abort trap: 6 (core dumped)

I can't detect any error in the PPD file itself; e.g. the A4 page size is correctly defined as in thousands of other PPD files.

How-To-Repeat: Get the km2450np.ppd from Konica Minolta.
Run cupstestppd km2450np.ppd
Comment 1 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-07-26 23:18:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->itetcu

I'll take it.
Comment 2 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-08-06 10:17:44 UTC
State Changed
From-To: open->closed

Update to 1.2.2 and many fixes commiter. If problems perssist please 
open a new PR. Thanks for your effort.