[cups.bugs] [HIGH] STR #1870: Custom PPD options parsed incorrectly in Mac

Sherwin Carreos scarreos at lexmark.com
Fri Jul 28 19:36:44 PDT 2006


[STR New]

The block below if existing in the Mac PPD will make cupstestppd fail,
actual error is appended at the bottom. I expect this to occur on other
Custom PPD options if it exist

-----Start
*CustomPageSize True:				"
	pop pop pop
	statusdict begin
        2 copy
        0 () setuniversalsize
    end
	<< /PageSize [5 -2 roll]
   		/ImagingBBox null
   		/Policies <</PageSize 2>>
	>> setpagedevice"
*MaxMediaWidth:						"612"
*MaxMediaHeight:					"1020"
*HWMargins:							12 12 12 12
*ParamCustomPageSize Width:			1 points 216 612
*ParamCustomPageSize Height:		2 points 216 1020
*ParamCustomPageSize WidthOffset:	3 points 0 0
*ParamCustomPageSize HeightOffset:	4 points 0 0
*ParamCustomPageSize Orientation:	5 int 0 1
----End


Snippet of the error is:
      **FAIL**  Missing "de" translation string for option PageSize,
choice Custom!
      **FAIL**  Missing "es" translation string for option PageSize,
choice Custom!
      **FAIL**  Missing "fr" translation string for option PageSize,
choice Custom!
      **FAIL**  Missing "it" translation string for option PageSize,
choice Custom!
      **FAIL**  Missing "ja" translation string for option PageSize,
choice Custom!
      **FAIL**  Missing "pt_BR" translation string for option PageSize,
choice Custom!
      **FAIL**  Missing "zh_CN" translation string for option PageSize,
choice Custom!
      **FAIL**  Missing "zh_TW" translation string for option PageSize,
choice Custom!
      **FAIL**  Missing "ko" translation string for option PageSize,
choice Custom!
Segmentation fault

Link: http://www.cups.org/str.php?L1870
Version: 1.2.2





More information about the cups-devel mailing list