After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 331258 - Landscape PDF-printing of Gant Chart does not work
Landscape PDF-printing of Gant Chart does not work
Status: RESOLVED DUPLICATE of bug 385680
Product: planner
Classification: Other
Component: Printing
0.13
Other Linux
: Normal normal
: ---
Assigned To: planner-maint
planner-maint
: 497927 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-15 10:33 UTC by Morten Rodal
Modified: 2009-08-13 01:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Rodal 2006-02-15 10:33:49 UTC
If you try to print a gant chart in landscape with the "Create PDF Document" it does not work.  The settings I used under the paper tab are

 Paper Size: A4
 Feed orientation: Straight (also tried 90 degrees rotate)
 Page orientation: Landscape
 Layout: Plain

This results in a page which is in portraite and the content is "clipped", as if the content were written as landscape but the paper was still set to portrait.

As a workaround I use the "Generic Postscript" printer instead and do a ps2pdf.
Comment 1 Kurt Maute 2006-03-14 03:16:59 UTC
I can't recreate this.  I'm using cvs head on FC4.
Comment 2 Morten Rodal 2006-03-14 07:18:06 UTC
I was testing this with version 0.13 on a kubuntu 5.10 installation.  I can provide an example planner and .pdf output if that is of any help.

If I start planner from a terminal I see the following messages:

(planner:9236): GnomePrint-WARNING **: Problem while creating filter from 'frgba': filter 'frgba' is unknown

(planner:9236): GnomePrint-WARNING **: Problem while creating filter from 'frgba': filter 'frgba' is unknown

(planner:9236): GnomePrint-WARNING **: Problem while creating filter from 'frgba': filter 'frgba' is unknown

(planner:9236): GnomePrint-WARNING **: Problem while creating filter from 'frgba': filter 'frgba' is unknown

(planner:9236): GnomePrint-WARNING **: Problem while creating filter from 'frgba': filter 'frgba' is unknown

(planner:9236): GnomePrint-WARNING **: Problem while creating filter from 'frgba': filter 'frgba' is unknown

(planner:9236): GnomePrintCupsPlugin-WARNING **: iconv does not support ppd character encoding: ISOLatin1, trying CSISOLatin1

(planner:9236): GnomePrint-WARNING **: Could not create filter from description 'frgba': filter 'frgba' is unknown
Comment 3 fmoraes 2006-03-15 19:40:24 UTC
Can you report what version of libgnomeprint is installed on your system?
Comment 4 Morten Rodal 2006-03-16 06:47:50 UTC
According to the kubuntu packagemanager I got

libgnomeprint2.2-0
 Installed version: 2.12.1-0ubuntu1

libgnomeprint2.2-data
 Installed version: 2.12.1-0ubuntu1

I also have the same version for the libgnomeprintui.
Comment 5 Vinicius Depizzol 2006-07-27 16:46:12 UTC
The same problems happens to me. To work, I set the size of paper "Custom", width: 29.7cm and height: 21cm.
Comment 6 Chris Lord 2006-10-16 13:00:43 UTC
This same problem happens for me, along with the same solution - This also affects printing to postscript.
Comment 7 rafazap 2007-07-09 08:33:43 UTC
I have this same problem, but the "custom" solution does not work for me.

I'm on Fedora Core 7, printing from Gnumeric 1.6.3 (and libgnomeprint22.i386 is 2.18.0-1.fc7, and libgnomeprintui22.i386 is 2.18.0-1.fc7).

No matter what I do, I cannot get *any* gnome program to print landscape.  Any program that is *not* gnome-based can print landscape.  So, my workaround involves saving my gnumeric spreadsheet temporarily to w95 Xcel format so I can load it into Open Office Spreadsheet where I then successfully print landscape.

Gnumeric gives these errors:
$ gnumeric
Reading file:///home/rafael/Documents/work/ads/ypLabels.gnumeric
Model not found, discarding config  (occurs when I do File => Page Settings which comes up set to A4 and such at which point I hit Cancel)

** (gnumeric:19788): WARNING **: Could not find child for option "PhysicalSize" with id "Letter"  (this one and the next one occur when I do File => Page Settings a second time)

** (gnumeric:19788): WARNING **: Could not set value of "PhysicalSize" to "Letter"
Writing file:///home/rafael/Documents/work/ads/ypLabels.gnumeric
Writing file:///home/rafael/Documents/work/ads/ypLabels.gnumeric
Writing file:///home/rafael/Documents/work/ads/ypLabels.gnumeric

** (gnumeric:19788): WARNING **: could not set the value of Settings.Document.Filter, node not found (this error appears *many* times, every time I go to do a print I think)
Comment 8 rafazap 2007-07-09 10:29:23 UTC
(In reply to comment #7)
> I have this same problem, but the "custom" solution does not work for me.

I just discovered a workaround that *does* work for me.

(Going straight to Postscript Printer and choosing custom does not work for me no matter how I try it.)

I choose portrait in File => Page Settings, change margins to 0.00", and click [OK].

Then I choose File => Print and then choose "Create a PDF Document".  On the Paper tab, I choose custom, switch cm to inches, ensure Portrait is selected, and set page size to 11.0" wide by 8.5" tall.  Then I print to output.pdf and use KPDF to load the file.  (Ghostview does not print landscape for me.)  In KPDF, I set custom margins all to 0.000" and bottom to 0.590" and then print.  KPDF has Landscape preselected and grayed out (not allowing it to be changed).  And (aside from having to play a while with the margins) it prints almost perfectly (close enough).
Comment 9 Jack Tanner 2007-12-13 22:33:10 UTC
*** Bug 497927 has been marked as a duplicate of this bug. ***
Comment 10 Julian Coccia 2008-03-03 08:55:23 UTC
I'm experiencing the same problem. I think this bug should be given a higher priority. The simple reason is what if you need a Gantt chart, most likely you will want to print it. If you want to print it, most likely it will be in landscape mode. 

Printing in landscape mode, no matter if it is using the generic postscript, a printer, or printing to a PDF file, results in a rotated, cropped version of the gantt chart. 

My workaround is to print directly to the printer in PORTRAIT mode, selecting a custom paper, INVERTING width and height. That does the trick, and I can print in A4 or A3 without any problems.

I'm running the standard 0.14.2 version from the current Ubuntu 7.10 repositories.

Comment 11 raphael.berlamont 2008-07-25 15:01:56 UTC
Same problem here, Debian SID, 0.14.3, with PDF and PS printing. The Printer printing doesn't work at all with planner, the file stay indefinitly in the cups queue...

The paper sizing workaround ( Comment #8 ) does work for me.
Comment 12 Maurice van der Pot 2008-11-07 19:12:13 UTC
This is the same problem as reported in bug #385680, so I will close this as a duplicate.

The problem itself has now been fixed and is available in the development version. The next release will contain the fix.

Thanks for the bug report.


*** This bug has been marked as a duplicate of 385680 ***