Bug 47777 - Print to File creates faulty pdf
Summary: Print to File creates faulty pdf
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected)
3.5.1 release
Hardware: x86-64 (AMD64) Linux (All)
: high normal
Assignee: Not Assigned
Depends on:
Blocks: mab3.5
  Show dependency treegraph
Reported: 2012-03-23 09:43 UTC by David Burleigh
Modified: 2012-04-25 07:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description David Burleigh 2012-03-23 09:43:39 UTC
In trying to get around the fact that the pdf export always exports a color pdf even when there is no color in the document, I tried the "print to file" option, targeting our monochrome laser printer (Xerox Workcentre Pro 90). The pdf file produced cannot be opened by the Adobe Reader 9.4.7, nor the PDF-Xchange Viewer, although it can be opened just fine with Okular. 

Adobe Reader says: "could not open 'test.pdf' because it is either not a supported file type or because the file has been damaged"

I am running LibreOffice 3.5.1 under Linux Mint 12 (amd64).
Comment 1 utter 2012-04-23 07:15:31 UTC
Encountered this problem as well under Ubuntu (12.04, 3.2.0-23, amd64) and 
LibO 3.5.2. 

This is a serious one, since a pdf produced in such a way will be readable by evince for example (the usual application under linux), but not by adobe reader (the usual one under windows).
Sending such documents to windows users can be seriously embarrassing (imagine sending a cv to an employer, who complains not being able to open that file).

Would send people running away from libreoffice (and linux).

Please increase urgency !!!
Comment 2 utter 2012-04-23 07:17:55 UTC
PS: Used to EXPORT TO PDF button under LibOWriter to produce such a corrupted pdf file
Comment 3 Björn Michaelsen 2012-04-24 16:56:46 UTC
"Print to file" is not a pdf-export -- it may for example be plain postscript among other things. closing as invalid.
Comment 4 Michael Meeks 2012-04-25 02:25:27 UTC
The request for monochrome PDF production seems reasonable to me David; any chance you can file that as a new bug and CC me, prolly it could become an easy-hack.

Thanks :-)
Comment 5 David Burleigh 2012-04-25 07:04:01 UTC
Thanks, Michael. Actually, I already filed a separate bug report about that -- it's number 47278.