[cups.bugs] [MOD] STR #3063: pdftops does not supportmulti-page-size documents or page size determined by document

Michael R Sweet msweet at apple.com
Wed Jan 28 09:27:22 PST 2009


Till Kamppeter wrote:
> This fix looks correct in theory, but in practise it does not work.
> 
> The intention is to do not impose a paper size if the user did not 
> supply an option to set the paper size. Unfortunately, CUPS always adds 
> "media=<PPD default paper size>" to the fifth command line argument of 
> the filters and so the pdftops filter assumes that the user has set the 
> paper size. Due to this it is still not possible to print correctly PDF 
> documents which contain pages of different sizes.
> 
> Is it possible to suppress the addition of "media=<PPD default paper 
> size>" by configuration? Or is another fix required?

Another change would be required.  The kicker is that we want to
have a default media size (the one coming from the PPD file or one
set by the admin/user) but don't want to apply that default for PDF
printing unless "fitplot" (or the newer fit-to-page that replaces it)
is set.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list