Bug 237966 - Printout is turned 90 degrees on the paper
Summary: Printout is turned 90 degrees on the paper
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 7
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-26 12:18 UTC by Klaus Munsteiner
Modified: 2018-04-11 07:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-11 17:22:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File .lpoptions with entry for "Landscape" (329 bytes, application/text)
2007-04-26 12:18 UTC, Klaus Munsteiner
no flags Details

Description Klaus Munsteiner 2007-04-26 12:18:57 UTC
Description of problem:
Printout is turned 90 degrees on the paper, if in a KDE application the print
orientation is set to "Landscape".

The error occurs in FC5 and FC6.

Version-Release number of selected component (if applicable):
Firefox 1.5.0.10

Steps to Reproduce:
1. Change the print format to landscape:
   You can do it in Konqueror, select:
   Location --> Print --> Properties --> Tab General --> Select: Orientation
Landscape --> Save
  
Actual results:
2. The file /home/<user>/.lpoptions is modified.
3. The printer in the file gets an additional entry: orientation-requested=4
4. This entry turns the paper to landscape. Firefox doesn't know it and makes an
internal additional turn of 90 degrees for the paper and the print. The result
is, the printout is turned 90 degrees on the paper.

Additional info:
5. Firefox must have a "Portrait" for base paper format.

The file / program must be modified, that entry "orientation-requested=4" in the
 file /home/<user>/.lpoptions isn't valid for firefox.

Comment 1 Klaus Munsteiner 2007-04-26 12:18:57 UTC
Created attachment 153498 [details]
File .lpoptions with entry for "Landscape"

Comment 2 Klaus Munsteiner 2007-04-26 12:26:45 UTC
The file .lpoptions with oriantation "Landscape":

Dest HP_DJ895cxi scp-fc5=true
Default HP_LJ4000 Duplex=None kde-margin-bottom=0 kde-margin-left=0
kde-margin-right=0 kde-margin-top=0 orientation-requested=4
Special Advanced%20Faxing%20Tool%20(ksendfax)
Special Mail%20PDF%20File
Special Print%20to%20File%20(PDF)
Special Print%20to%20File%20(PostScript)
Special Send%20to%20Fax
-------------------------------------------------------------------------------

The file .lpoptions with oriantation "Portrait":

Dest HP_DJ895cxi scp-fc5=true
Default HP_LJ4000 Duplex=None kde-margin-bottom=0 kde-margin-left=0
kde-margin-right=0 kde-margin-top=0
Special Advanced%20Faxing%20Tool%20(ksendfax)
Special Mail%20PDF%20File
Special Print%20to%20File%20(PDF)
Special Print%20to%20File%20(PostScript)
Special Send%20to%20Fax

Comment 3 Matěj Cepl 2007-12-10 09:24:55 UTC
Fedora Core 6 is no longer supported, could you please reproduce this with the
updated version of the currently supported distribution (Fedora 7, 8, or
Rawhide)? If this issue turns out to still be reproducible, please let us know
in this bug report. If after a month's time we have not heard back from you, we
will have to close this bug as CANTFIX.

Setting status to NEEDINFO, and awaiting information from the reporter.

[This is mass-filed message to all open Fedora Core 6 bugs related to Xorg or
Gecko. If you see any other reason, why this bug shouldn't be closed, please,
comment on it here.]

Comment 4 Klaus Munsteiner 2007-12-21 12:47:14 UTC
I tested it with Fedora Core 7 and the fault is the same.

In FC7 the configuraton file has been moved (renamed)  
from /home/<user>/.lpoptions to /etc/cups/printers.conf

The entry   Option orientation-requested 3    is for portrait and
            Option orientation-requested 4    is for landscape.

In the next days I will install Fedora 8 and test it. I will write the result.

Do you open (copy) a new report for FC7?

Comment 5 Martin Stransky 2007-12-21 13:03:17 UTC
no, you don't need that, moved to F7.

Comment 6 Matěj Cepl 2007-12-21 13:46:52 UTC
I will still keep NEEDINFO, so we don't forget that you are supposed to add your
F8 report.

Comment 7 Klaus Munsteiner 2008-01-04 20:01:12 UTC
I installed F8 and tested it. The fault is different to FC7:

The normal operation for a normal user is OK. If I change the printer settings
in Konqueror everything is fine. There is nothing written into the file
/etc/cups/printers.conf

The fault like descripted is fixed, but there is an other problem:

In /etc/cups/printers.conf only root has rw rights now. This file will be
changed by administation only. Administration --> Printers --> <select a
printer> --> LastTab: Orderoptions --> Select: Orientation
Landscape --> Save

I hope the labels are translated correctly, as my desktop isn't in English.

Root has changed the orientation to landscape:
Option orientation-requested 4
No user can read the configuration file and the print output of all applications
you cann't read.

Why can only root read the configuration? I think other programs use the
configuration information, too.


Comment 9 Tim Waugh 2008-02-11 17:22:13 UTC
The permissions on /etc/cups/printers.conf are correct.  They should be 600.


Note You need to log in before you can comment on or make changes to this bug.