Re: Printing error with cups 1.2.12



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
this thread.)

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
landscape').

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
Options').

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'.

Tim.
*/

Attachment: signature.asc
Description: This is a digitally signed message part

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Printing Landscape Instead of Portrait
    ... my laserjet 1200 sends an email message to print ... landscape. ... The printer's setup shows the default as ... it prints portrait. ...
    (microsoft.public.outlook.printing)
  • Re: VBA Print set up very slooooooowww
    ... Hi Tom, i did try this it worked great actually but did not know how to ... set the sheet to Landscape in the code it indicates a number "1" but ... still prints portrait and doesn't change no matter what number i put in, ...
    (microsoft.public.excel.programming)
  • Re: Printing Problems
    ... cannot print in landscape. ... No matter which option is chosen in page ... print preview shows portrait and it prints portrait. ...
    (microsoft.public.office.misc)
  • lpr options for LJ1010
    ... available with lpr, such as landscape, quality, or ...
    (comp.os.linux.misc)