[cups.development] ppd pageSize weirdness

Alexander Cohen naftaly at me.com
Mon Aug 2 18:44:36 PDT 2010


Actually, this was being run on iOS 4.0.1. I imagine thats not supported either but it was worth a try.

thx

AC

On Aug 2, 2010, at 2:02 PM, Michael Sweet wrote:

> OK, sorry, mixed up two posts I was responding to... :(
> 
> So this is on Mac OS X 10.5, and you were running CUPS 1.4.4 on it?  Make sure you run:
> 
>    sudo update_dyld_shared_cache
> 
> to flush the shared library cache.  Also, please remember that we don't support CUPS 1.4.x on 10.5 - you will likely run into problems since we don't test that configuration...
> 
> On Aug 2, 2010, at 9:47 AM, Alex Cohen wrote:
> 
>> The code i was using was downloaded directly from the cups.org main page. I just tried reverting back to 136.13 and it all works.
>> 
>> AC
>> 
>>> Hmm, I just checked this on trunk with the same locale settings and PPD =
>>> and was unable to reproduce it.
>>> 
>>> I'd try updating to the current stable release of CUPS (1.4.4) or report =
>>> the problem to Oracle since it appears to be an issue with their version =
>>> of CUPS.
>>> 
>>> On Aug 2, 2010, at 8:42 AM, Alex Cohen wrote:
>>> 
>>>> Here you go:
>>>> =20
>>>> http://toomuchspace.com/cups/HP_Color_LaserJet_CP1518ni__8C61F6_.ppd
>>>> =20
>>>> AC
>>>> =20
>>>>> Can you post a URL to your PPD file?
>>>>> =20
>>>>> On Aug 2, 2010, at 8:21 AM, Alex Cohen wrote:
>>>>> =20
>>>>>> I'm using ppdOpenFile to get a pointer to a ppd_t, then i'm =
>>> iterating =3D
>>>>> over the ppd_size_t's using ppd->num_sizes. Then i'm accessing the =3D
>>>>> ppd_size_t's width and length. The values I get back are always =3D
>>>>> -1610443520.000000. The version of cups is 1.4.4.
>>>>>> =3D20
>>>>>> Here are some relevant ( i think ) parts of the PPD file:
>>>>>> =3D20
>>>>>> *PageSize Letter/Letter: "
>>>>>> =3D20
>>>>>> 	<</PageSize [612 792] /ImagingBBox null>> setpagedevice"
>>>>>> *End
>>>>>> =3D20
>>>>>> *PageSize Legal/Legal: "
>>>>>> =3D20
>>>>>> 	<</PageSize [612 1008] /ImagingBBox null>> setpagedevice"
>>>>>> *End
>>>>>> =3D20
>>>>>> thx
>>>>>> AC
>>>>>> =3D20
>>>>>>> AC
>>>>>>> =3D20
>>>>>>> What do you mean by "all wrong"?  What exactly are you seeing?  =3D
>>>>> Please
>>>>>>> include the relevant portion of your PPD, your invocation of =3D
>>>>> ppdPageSize()
>>>>>>> and what version of CUPS you are using.
>>>>>>> =3D20
>>>>>>> -Chad
>>>>>>> =3D20
>>>>>>> On 8/2/10 10:24 AM, "Alex Cohen" <naftaly at me.com> thusly spake:
>>>>>>> =3D20
>>>>>>>> Hello,
>>>>>>>> =3D20
>>>>>>>> I'm using the ppd functions to parse a PPD file. Everything seems =
>>> to =3D
>>>>> parse ok
>>>>>>>> except for PageSizes, all of the float values that specify the =3D
>>>>> dimensions come
>>>>>>>> as all wrong. Has anyone seen anything similar to this? Is this a =
>>> =3D
>>>>> know bug?
>>>>>>>> =3D20
>>>>>>>> thx
>>>>>>>> =3D20
>>>>>>>> AC
>>>>>>>> _______________________________________________
>>>>>>>> cups-dev mailing list
>>>>>>>> cups-dev at easysw.com
>>>>>>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>>>>>> =3D20
>>>>>>> Chad Hulbert
>>>>>>> Software Engineer
>>>>>>> Xerox Corporation
>>>>>>> 800 Phillips Rd
>>>>>>> Webster, NY 14580
>>>>>>> =3D20
>>>>>>> p 585.427.3295  (8*707.3295)
>>>>>>> =3D20
>>>>>> =3D20
>>>>>> _______________________________________________
>>>>>> cups-dev mailing list
>>>>>> cups-dev at easysw.com
>>>>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>>>> =20
>>>>> =
>>> ________________________________________________________________________
>>>>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>>>>> =20
>>>>> =20
>>>>> =20
>>>>> =20
>>>> =20
>>>> _______________________________________________
>>>> cups-dev mailing list
>>>> cups-dev at easysw.com
>>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>> 
>>> ________________________________________________________________________
>>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>>> 
>>> 
>>> 
>>> 
>> 
>> _______________________________________________
>> cups-dev mailing list
>> cups-dev at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups-dev
> 
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
> 
> 
> 
> 
> _______________________________________________
> cups-dev mailing list
> cups-dev at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-dev





More information about the cups mailing list