Comment 2 for bug 41789

Revision history for this message
Mark Craig (mark-craig) wrote : Re: the Samsung ML-1610 printer works with ML-1510 driver

Hmm... Looks like this may be due to flakiness in what Samsung has delivered. A bit of googling led to an explanation of their PPD file being incompatible, http://www.linuxprinting.org/pipermail/general-list/2006q1/007279.html

That definitely seems to be the case on my system:

$ cupstestppd /usr/local/linuxprinter/ppd/C/ML-1610spl2.ppd
/usr/local/linuxprinter/ppd/C/ML-1610spl2.ppd: FAIL
      **FAIL** REQUIRED DefaultImageableArea
                REF: Page 102, section 5.15.
      **FAIL** REQUIRED PageRegion
                REF: Page 100, section 5.14.
      **FAIL** BAD Product - not "(string)".
                REF: Page 62, section 5.3.
      **FAIL** Bad Resolution choice 600!
                REF: Page 84, section 5.9
      **FAIL** Bad Resolution choice 300!
                REF: Page 84, section 5.9
        WARN DefaultLinuxGDIBand has no corresponding options!
        WARN PCFileName longer than 8.3 in violation of PPD spec.
                REF: Pages 61-62, section 5.3.

So I've hacked the PPD file from Samsung, leaving only the warning about DefaultLinuxGDIBand. (I guess that could be looked up.) The test page prints okay.

$ diff /usr/local/linuxprinter/ppd/C/ML-1610spl2.ppd /usr/local/linuxprinter/ppd/C/hacked.ppd
6c6
< *PCFileName: "ML-1610spl2.ppd"
---
> *PCFileName: "HACKED.PPD"
8c8
< *Product: "ML-1610"
---
> *Product: "(ML-1610)"
31,33c31,33
< *DefaultResolution: 600
< *Resolution 600/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
< *Resolution 300/300 DPI: "<</HWResolution[300 300]>>setpagedevice"
---
> *DefaultResolution: 600x600dpi
> *Resolution 600x600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
> *Resolution 300x300dpi/300 DPI: "<</HWResolution[300 300]>>setpagedevice"
67a68,87
> *OpenUI *PageRegion: PickOne
> *OrderDependency: 99 AnySetup *PageRegion
> *DefaultPageRegion: Letter
> *PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
> *PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
> *PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5"
> *PageRegion A6/A6: "%% FoomaticRIPOptionSetting: PageSize=A6"
> *PageRegion B5JIS/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5JIS"
> *PageRegion Env10/Envelope #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
> *PageRegion EnvB5/Envelope B5: "%% FoomaticRIPOptionSetting: PageSize=EnvB5"
> *PageRegion EnvC5/Envelope C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
> *PageRegion EnvC6/Envelope C6: "%% FoomaticRIPOptionSetting: PageSize=EnvC6"
> *PageRegion EnvDL/Envelope DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
> *PageRegion EnvMonarch/Envelope Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
> *PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
> *PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
> *PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
> *CloseUI: *PageRegion
>
> *DefaultImageableArea: Letter

$ cupstestppd /usr/local/linuxprinter/ppd/C/hacked.ppd /usr/local/linuxprinter/ppd/C/hacked.ppd: PASS
        WARN DefaultLinuxGDIBand has no corresponding options!

I wonder if the folks at Samsung know about this.