how to make cups ignore papersize?

Helge Blischke h.blischke at srz.de
Thu Dec 22 04:34:33 PST 2005


Anonymous wrote:
> 
> > sinder at thp.uni-koeln.de wrote:
> > >
> > > Hi,
> > >
> > > is there a way to tell cups that it should simply ignore the papersize
> > > of the document to be printed and to send it to the printer "as is".
> > > The printer itself is setup in such a way that it ignores the
> > > papersize and will print the document.
> > >
> > > The problem currently is that when sending documents of letter size via
> > > cups to our printers they won't be printed (the printing machine starts
> > > running (noise) but no paper is printed/ejected, ie. the Interpreter
> > > doesn't seem to be successfull printing CUPS-generated jobs).
> > >
> > > Whereas uploading them directly to the printer via the printer's
> > > internal webserver they are printed without any problems even
> > > though they have the wrong papersize.
> > >
> > > We are using Xerox DocuPrint N4525 network printers with the
> > > Xerox-DocuPrint_N32-Postscript.ppd  foomatic driver.
> > >
> > > Do you have an idea how to make CUPS ignoring the papersize of a
> > > print job?
> > >
> > > Thanks in advance!
> > > Andreas
> >
> > Isn't this printer a native PostScript device? I'd suggest not to use the foomatic driver
> > but the native PS setup (get the PPD from the Xerox web site if needed, the Win one will do)
> > and configure the paper mismatch option to scale if needed.
> >
> > Helge
> 
> This printer indeed is a Postscript printer. I've downloaded the PPD
> file directly from Xerox but can't find something like a 'paper mismatch'
> option as you mentioned above. Here's a link to the PPD file, perhaps
> you can see immediately what I need to enable...
> 
> http://www.thp.uni-koeln.de/~sinder/n4525.ppd
> 
> Again thanks for your advice!
> Andreas

it is the following:
---snip---
*OpenUI *Policy: PickOne
*OrderDependency: 5.0 AnySetup *Policy
*DefaultPolicy: Policy2
*Policy Policy2/Use Printer Default: "
 << /DeferredMediaSelection true /Policies <</PageSize 2>> >> setpagedevice"
*End
*Policy Policy1/Ignore size and use default paper tray: "
 << /DeferredMediaSelection false /Policies <</PageSize 1>> >> setpagedevice"
*End
*Policy Policy3/Nearest available size, adjust page: "
 <<  /DeferredMediaSelection false /Policies <</PageSize 3>> >> setpagedevice"
*End
*Policy Policy4/Next larger available size, adjust page: "
 << /DeferredMediaSelection false /Policies <</PageSize 4>> >> setpagedevice"
*End
*Policy Policy5/Nearest available size, no page adjust: "
 << /DeferredMediaSelection false /Policies <</PageSize 5>> >> setpagedevice"
*End
*Policy Policy6/Next larger available size, no page adjust: "
 << /DeferredMediaSelection false /Policies <</PageSize 6>> >> setpagedevice"
*End
*CloseUI: *Policy
---snip---
in your PPD. I must admit that the keywords chosen are a bit unusual ...
You shoule select either Policy3 or Policy4, whatever matches your needs best.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list