GNOME Bugzilla – Bug 331258
Landscape PDF-printing of Gant Chart does not work
Last modified: 2009-08-13 01:04:32 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.
I can't recreate this. I'm using cvs head on FC4.
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
Can you report what version of libgnomeprint is installed on your system?
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.
The same problems happens to me. To work, I set the size of paper "Custom", width: 29.7cm and height: 21cm.
This same problem happens for me, along with the same solution - This also affects printing to postscript.
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)
(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).
*** Bug 497927 has been marked as a duplicate of this bug. ***
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.
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.
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 ***