CustomPageSize query

Michael Sweet mike at easysw.com
Wed May 14 21:19:46 PDT 2008


ronaly agdeppa wrote:
>> ronaly wrote:
>>> DDK handles the creation of custompagesize by just adding like this example code:
>>>    VariablePaperSize Yes
>>>    MinSize 216 216
>>>    MaxSize 612 1020
>>>
>>> However, in a CustomPageSize query I need to add some code to make my printer works for a customized paper size.
>>>
>>> Is there a way I can append additional code in the CustomPageSize query?
>>> *CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
>> Instead of using the convenience directives, specify the values as
>> attributes, e.g.:
>>
>>      Attribute CustomPageSize True "your code"
>>      Attribute ParamCustomPageSize Width "1 points min max"
>>      Attribute ParamCustomPageSize Height "2 points min max"
>>      Attribute ParamCustomPageSize WidthOffset "3 points 0 0"
>>      Attribute ParamCustomPageSize HeightOffset "4 points 0 0"
>>      Attribute ParamCustomPageSize Orientation "5 integer 3 3"
>>      Attribute HWMargins "" "left bottom right top"
>>
>> --
>> ______________________________________________________________________
>> Michael R Sweet                        Senior Printing System Engineer
>>
> 
> Hi Michael,
> 
> Thank you for always responding.
> 
> I tried that already but in the generated ppd,
> ParamCustomPageSize were not included.
> 
> DDK cannot generate ParamCustomPageSize when manually added as attributes.
> 
> I'm using cupsddk 1.2.3

Strange, because the DDK doesn't filter attributes.

Can you post a link to your .drv file?

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list