Landscape printing with cupsPrintFile()

Helge Blischke H.Blischke at srz-berlin.de
Thu Oct 28 05:15:03 PDT 2004


CharlieB wrote:
> 
> Helge Blischke wrote:
> > CharlieB wrote:
> > >
> > > What is the name & value for the option to print in landscape format with cupsPrintFile()?
> > >
> > > Thanks in advance,
> > > Charlie
> >
> > Look at the last two parameters to this function. They specify
> > the number of options and the option structure.
> > Look at the options related functions on how to accumulate
> > your options into this structure.
> >
> I know about the option structure. I am looking for the name of the option and its value to print in landscape format. I was thinking these would be standard strings. Something like name = "orientation" and value = "landscape" or "portrait"?

The option is simply "landscape", but "landscape=yes" should also
be accepted.

Don't play with the orientation. There is a discussion going on on
the semantics of the orientation - the PPD spec states that orientation
refers to the media feeding direction, in contrast to the common
interpretation of the logical page to the physical page.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list