Center feed Envelope, how to alter ppd?

pipitas at gmail.com pipitas at gmail.com
Sun Jul 18 04:16:08 PDT 2010


> Hi All,
>
> I have Google'd my eyeballs out on this with no luck.
>
> I have an Okidata B4350 with a center feed print tray for
> envelopes.  When I select #10 envelopes, they prints out on
> the left side, instead of the center.
>
> In my PPD file, I have found:
>
> *PageSize Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox
> null>>setpagedevice"
> *PageRegion Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox
> null>>setpagedevice"
> *ImageableArea Env10/Envelope #10: "0 0 297 684"

If the PPD has the correct syntax, you should also see 1 more entry for "PaperDimension":

  *PaperDimension Env10/Envelope #10: "297 684"

The values you see here are PostScript "points" (72pt == 1inch). If you see "0 0 297 684" it means: "the lower left corner of the area is at coordinate (0,0), the upper right corner is at coordinate (297,684)".

> Can I alter one of these such that I can print in the center?

Yes, that should be possible. You alter the "*Imageable Area" entry to suit your needs. If you put:

  *ImageableArea Env10/Envelope #10: "148 342 297 684"

then only one of the 4 "quadrants" will be accepting printable stuff. Be aware, that "*ImageableArea" indirectly defines the margins for the page size in question.

You could also keep the PPD as-is and instead adapt the file that you send to the printer. (That's what *I* would do.)

Cheers,
Kurt




More information about the cups mailing list