Re: Printing error with cups 1.2.12



Tim Waugh wrote:
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').

"lpoptions -p LaserJet" did not show any understandable orientation setting. However, it had: orientation-requested=4 and googling for that revealed that this is indeed landscape. "lpoptions -p Photosmart" (my other printer) had no orientation-requested set! I believe this settles the issue and I am very thankfull to Tim for helping me solve the problem. BTW, only "lpoptions -p LaserJet -r orientation-requested" removed the setting.

--
Erik.

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



Relevant Pages

  • Re: Printing error with cups 1.2.12
    ... For example: lpr -o portrait image.jpg ... I therefore assumed analogously that you could use "portrait" obviously without effect and "landscape=false" wasn't even mentioned. ... Anyway "lpr image.jpg" does print landscape so apparently that option has been set as a default. ... Under System -> Administration -> Printing orientation is set to "Portrait " which I believe should be the default value. ...
    (Fedora)
  • Re: piping output to printer
    ... I'll guess ls | lpr ... it prints on my HP 1012 printer with a large courier font. ... If use cups, then try the command lpoptions, it will show the current options ... You can set a new value when printing. ...
    (alt.os.linux)
  • Re: How to set print quality with lpr? (I.e. 360 dpi vs. 720 dpi)
    ... >> Are you using BSD lpr, LPRng, or CUPS' own lpr? ... Then you can use the 'lpoptions' program and/or the '-o' switch on ... Any of those options can also be specified on the lpr command line ... you can even specify different options ...
    (comp.os.linux.misc)
  • Re: piping output to printer
    ... I'll guess ls | lpr ... it prints on my HP 1012 printer with a large courier font. ... lpoptions -l will show supported options. ... You can set a new value when printing. ...
    (alt.os.linux)
  • Re: Printing
    ... but some commands and applications don't execute a shell to ... (My version of lpr doesn't have an -h option. ... See "man lpoptions" for more. ...
    (comp.os.linux.setup)