Printing error with cups 1.2.12
twaugh at redhat.com
Fri Feb 29 12:04:02 UTC 2008
On Fri, 2008-02-29 at 12:22 +0100, Erik P. Olsen wrote:
> Tim Waugh wrote:
> > On Fri, 2008-02-29 at 11:31 +0100, Erik P. Olsen wrote:
> >>> You should probably say how you're trying to do that, and what with.
> >> For example: lpr -o portrait image.jpg
> > There is no such option with the CUPS filters. Try:
> > lpr -o landscape=false image.jpg
> Oh, I see. Yes, that prints portrait but it doesn't explain why "lpr image.jpg"
> prints landscape.
It's because you have either a user default or a system default for the
landscape option. (You mentioned you had checked the system default in
your message, and that it was set to Portrait -- but I will include the
method for checking that again here for the benefit of others reading
To see if it is a user default, run 'lpoptions -p queuename' -- it will
show the list of user defaults for that printer. To change those
defaults, use the lpoptions command (e.g. lopoptions -p queuename -r
To sef if it is a system default, start the
System->Administration->Printing tool and select the printer. Go to the
Job Options tab and look at the Orientation option (under 'Common
> The cups Users Manual under orientation only shows how to print landscape: "lpr
> -o landscape". I therefore assumed analogously that you could use "portrait"
> obviously without effect and "landscape=false" wasn't even mentioned.
The 'landscape' option is a true/false (Boolean) type. '-o landscape'
is the same as '-o landscape=true'.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the fedora-list