Summary: | landscape mode creates pdf output that is portrait rotated 90 degrees | ||
---|---|---|---|
Product: | [Unmaintained] kdeprint | Reporter: | twl6 |
Component: | general | Assignee: | Michael Goffioul <kdeprint_bugs> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | faure, gassauer, jlayt |
Priority: | NOR | ||
Version: | 1.2-beta2 | ||
Target Milestone: | --- | ||
Platform: | OpenBSD | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
twl6
2002-07-15 00:54:54 UTC
*** Bug 44831 has been marked as a duplicate of this bug. *** I think there are 2 things that may be involved here: 1) using kword (and probably other koffice components), there are 2 distinct orientations: document orientation, and printer orientation. The first is set using the "Format -> Page" menu of kword, the second is set in the printer properties dialog. Before calling the print dialog, kword set the printer orientation to its document orientation, such that when you open the printer properties dialog, the orientation is automatically set to the document orientation. BUT, the user is still allowed to change the printer orientation at that point, and kword won't be aware of any orientation change made in the print dialog. This can lead to a mismatch between the 2 orientation concept, hence printing problems, like portrait text printed in landscape mode and vice-versa. Of course, in applications like in kword, the user is expected to set the document orientation using "Format -> Page", and not change it in the print dialog, such that we think of disabling that part of the print dialog. But before doing so, we'd like to have feedback from reporters. 2) when you don't change the orientation in the print dialog, that is you respect the document orientation, I didn't have any printing problem when printing in landscape or portait mode, neither on a real printer nor in a PDF file. However, the fact is that when printing to a PDF file, ghostscript is used to make the PS->PDF conversion, and when printing in landscape mode, this results in a portrait page rotated by 90 degrees (that is, with the text running from bottom to top). This is how GS works, and I cannot change that, however the result is exactly the same as real landscape with non-rotated content. I tried on the 2 PS printers I have access to, and printing went OK in landscape mode, from kword, konqueror and kate/kwrite. Any additional comment is welcome (even expected :-) ). Cheers. Michael. Hu! 1) I did the following opened A4 template in kword, changed page format to landscape, printed 2 lines preview and print/previw show landscape, but printing is done in portrait. where else can I look I use an EPSON Stylus photo 790 with Gimpprint 4.2.1 on parallel port and cups 1.1.14 2) IMHO the option "portrait" should be disabled if the document passes it's page format to kprint. eventualy there migth be a problem if someone want's to cheet the system (printing A5 landscape on A4 portrait) so it migth be better to issue a only warning if ther is a missmatch. cu ferdinand 1) I admit I tested it with kword on 2 PS printers. I'll have to test it at home with a HP DeskJet 970Cxi. Maybe it's driver related. 2) Now, when application defines orientation and page size (like in kword), the corresponding options are disabled in the print dialog. This should go in coming 3.1. Michael. Subject: Re: landscape mode creates pdf output that is portrait rotated 90 degrees 1) I tested it at home on a non-PS printer (HPDJ-970Cxi) and could print in landscape without clipping (in kword). I was using KDE CVS for that test. I would appreciate if any of you could confirm (or not) that the bug appear with KDE-3.1. Thanks. Michael. Subject: Re: landscape mode creates pdf output that is portrait rotated 90 degrees On Monday 28 October 2002 16:38, you wrote: > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=45218 > > > > > ------- Additional Comments From goffioul@imec.be 2002-10-28 16:38 ------- > Subject: Re: landscape mode creates pdf output that is portrait rotated 90 > degrees > > 1) I tested it at home on a non-PS printer (HPDJ-970Cxi) and could print in > landscape without clipping (in kword). I was using KDE CVS for that test. I > would appreciate if any of you could confirm (or not) that the bug appear > with KDE-3.1. Thanks. > > Michael. Yesterday I tried to print landscape out of kspread CVS-HEAD - no success. the preview looked landscape, the output was landscape, but printed portrait, so everything was cut off on the rigth side. BTW I could not change the printing orientation any more (as discussed earlier) I installed most from scratch as I just switched to SUSE 8.1 + CUPS and the installation decided to offer me some very usable printerqueues for my Epson Stylus photo 790. Just a small question. When printing to a file: - does the generated PS have the correct orientation without text cut-off? - does the generated PS file print correctly using command-line tool "lpr"? Michael. Subject: Re: landscape mode creates pdf output that is portrait rotated 90 degrees On Tuesday 29 October 2002 09:49, you wrote: > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=45218 > > > > > ------- Additional Comments From goffioul@imec.be 2002-10-29 09:49 ------- > Just a small question. When printing to a file: > - does the generated PS have the correct orientation without text cut-off? > - does the generated PS file print correctly using command-line tool "lpr"? No not on my Epson Photo stylus 790, but if I print it on a HP-Laserjet 4100, wich is configured as "raw" , the orientation is correct so I assume its a problem of cups and the associate drivers. or Adobe 1.0 ? Here are the headers of the PS-file %!PS-Adobe-1.0 %%BoundingBox: 0 0 595 842 %%Creator: Qt 3.1.0-snapshot-20021022 %%Title: %%CreationDate: Wed Oct 30 07:46:10 2002 %%Orientation: Landscape %%Pages: 1 %%DocumentFonts: Gothic CharterBT-Roman %%EndComments %%BeginProlog % Prolog copyright 1994-2001 Trolltech. You may copy this prolog in any way % that is directly related to this document. For other use of this prolog, % see your licensing agreement for Qt. > > Michael. Subject: Re: landscape mode creates pdf output that is portrait
rotated 90 degrees
> > Just a small question. When printing to a file:
> > - does the generated PS have the correct orientation without text cut-off?
> > - does the generated PS file print correctly using command-line tool "lpr"?
> No not on my Epson Photo stylus 790, but if I print it on a HP-Laserjet 4100,
> wich is configured as "raw" , the orientation is correct
> so I assume its a problem of cups and the associate drivers. or Adobe 1.0 ?
I have also the impression this is a driver problem, and not really
a kdeprint problem (as I can't reproduce it on my PS and non-PS printers).
Do you have any other non-PS printer that you could test, like an
HP DeskJet or a Canon?
Michael.
I updated to -cups 1.1.16 -gimp-print-4.3.5 -espgs-7.05.5 now it works sorry for the unconvenience cu ferdinand Closing old Resolved status bug. |