[cups.general] PageRegion not set (PPD from Xerox)
Helge Blischke
h.blischke at acm.org
Mon Apr 19 10:01:36 PDT 2010
Martin Schuster (IFKL IT OS DSM CD) wrote:
> Very strange problem, hope someone can give me a hint:
>
> How to reproduce:
> * Put attached hello.ps and printer.ppd into /tmp
> * PPD=/tmp/printer.ppd /usr/lib/cups/filter/pstops 1 joe hello.ps 1 \
> 'media=A3' /tmp/hello.ps > out.ps
>
> Result:
> No "PageRegion" in generated postscript. (see out_1.3.7.ps and
> out_1.4.3.ps)
>
> Expected result:
> PageRegion should be present (see out_1.4b2.ps)
>
>
> As you might have guessed from the filenames, CUPS 1.4b2 gives
> the expected result, older (1.3.7) or newer (1.4.3) don't.
>
> The PPD is taken from the Xerox website, fixed for errors reported
> by cupstestppd.
>
> The testfile hello.ps is just a simple example -- I can reproduce
> the problem with more complex jobs.
>
>
> Is this a problem with the PPD-file?
>
> Any help appreciated, I'm trying to solve/work around this problem
> for weeks now :(
>
> tia,
What I found in the PPD is:
*UIConstraints: *PageSize A3 *BookletFinishingOpt
That means that even the (default) value of "None" for the booklet finishing
option forces the pstops filter to discard A3 as page size.
But even if I specify A4 the resulting output contains no PS statement
setting the media size whatsoever ...
Strange; will investigate further.
Helge
More information about the cups
mailing list