ppd pageSize weirdness

Alex Cohen naftaly at me.com
Mon Aug 2 08:42:31 PDT 2010


Here you go:

http://toomuchspace.com/cups/HP_Color_LaserJet_CP1518ni__8C61F6_.ppd

AC

> Can you post a URL to your PPD file?
>
> On Aug 2, 2010, at 8:21 AM, Alex Cohen wrote:
>
> > I'm using ppdOpenFile to get a pointer to a ppd_t, then i'm iterating =
> over the ppd_size_t's using ppd->num_sizes. Then i'm accessing the =
> ppd_size_t's width and length. The values I get back are always =
> -1610443520.000000. The version of cups is 1.4.4.
> >=20
> > Here are some relevant ( i think ) parts of the PPD file:
> >=20
> > *PageSize Letter/Letter: "
> >=20
> > 	<</PageSize [612 792] /ImagingBBox null>> setpagedevice"
> > *End
> >=20
> > *PageSize Legal/Legal: "
> >=20
> > 	<</PageSize [612 1008] /ImagingBBox null>> setpagedevice"
> > *End
> >=20
> > thx
> > AC
> >=20
> >> AC
> >>=20
> >> What do you mean by "all wrong"?  What exactly are you seeing?  =
> Please
> >> include the relevant portion of your PPD, your invocation of =
> ppdPageSize()
> >> and what version of CUPS you are using.
> >>=20
> >> -Chad
> >>=20
> >> On 8/2/10 10:24 AM, "Alex Cohen" <naftaly at me.com> thusly spake:
> >>=20
> >>> Hello,
> >>>=20
> >>> I'm using the ppd functions to parse a PPD file. Everything seems to =
> parse ok
> >>> except for PageSizes, all of the float values that specify the =
> dimensions come
> >>> as all wrong. Has anyone seen anything similar to this? Is this a =
> know bug?
> >>>=20
> >>> thx
> >>>=20
> >>> AC
> >>> _______________________________________________
> >>> cups-dev mailing list
> >>> cups-dev at easysw.com
> >>> http://lists.easysw.com/mailman/listinfo/cups-dev
> >>=20
> >> Chad Hulbert
> >> Software Engineer
> >> Xerox Corporation
> >> 800 Phillips Rd
> >> Webster, NY 14580
> >>=20
> >> p 585.427.3295  (8*707.3295)
> >>=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
>
>
>
>





More information about the cups-devel mailing list