Last modified: 2009-06-03 09:45:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20886, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18886 - PDFs created by Wikipedia are viewable but will not print
PDFs created by Wikipedia are viewable but will not print
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: PediaPress Development Team
http://en.wikipedia.org/wiki/Leo_Szilard
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-23 17:50 UTC by Lyle Bickley
Modified: 2009-06-03 09:45 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
PDF created from " (576.27 KB, application/pdf)
2009-05-26 22:18 UTC, Lyle Bickley
Details
PDF created from " (576.27 KB, application/pdf)
2009-05-26 22:19 UTC, Lyle Bickley
Details

Description Lyle Bickley 2009-05-23 17:50:11 UTC
PDFs created by Wikipedia can be viewed using Acrobat - but attempting to 'Print" creates an error which prevents printing. The message from Acrobat does not provide diagnostic information, so I tried using the "pdf2ps" utility program. It does produce a readable and printable PS file - but in the process produces the following error messages:

-----------------------------------------------------------------------
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)
   **** Warning: File has imbalanced q/Q operators (too many q's)

   **** This file had errors that were repaired or ignored.
   **** The file was produced by:                          
   **** >>>> ReportLab http://www.reportlab.com <<<<       
   **** Please notify the author of the software that produced this
   **** file that it does not conform to Adobe's published PDF     
   **** specification.
-----------------------------------------------------------------------

The URL shown above is a representative example used for illustrating this bug (and the above error messages). However I have found the same errors are being generated by virtually every PDF I've created on Wikipedia.

BTW: I didn't put a "Version" above because I wasn't able to figure out how to discover it ;-)
Comment 1 Brion Vibber 2009-05-26 21:53:49 UTC
Works fine for me. Mac OS X, printed via standard pdf viewer.

What exactly are you trying to print from, and what are you printing to, and can you attach the exact file you're having trouble with?
Comment 2 Lyle Bickley 2009-05-26 22:18:57 UTC
Created attachment 6157 [details]
PDF created from "
Comment 3 Lyle Bickley 2009-05-26 22:19:49 UTC
Created attachment 6158 [details]
PDF created from "
Comment 4 Lyle Bickley 2009-05-26 22:24:18 UTC
Trying to print from Adobe Reader 8 (Version 8.1.5 03/05/2009) running under opensuse Linux 2.6.27.21-0.1-pae #1 SMP 2009-03-31 14:50:44 (most current). The file is downloaded, Adobe displays it properly. I then request "Print" and Adobe begins the print processing and fails before printing anything with "The document cannot be printed". I just tried it again on the URL above (Leó Szilárd) and it failed.

I then tried "pdf2ps" and got the error messages above which indicate the error condition (too bad Adobe didn't do that!).

I don't have trouble printing any other PDFs (no matter what the source) with this same Adobe Reader.

I just attached the PDF created from the Wikipedia for http://en.wikipedia.org/wiki/Leo_Szilard (I accidentally sent it twice).

So viewing is O.K - Printing fails - likely based on the diagnostic errors show by "pdf2ps"; i.e., "**** Warning: File has imbalanced q/Q operators (too many q's)"


Comment 5 Sam Reed (reedy) 2009-05-26 22:28:06 UTC
The PDF generated (In the attachment), my version of Adobe Acrobat (8.1.3) on windows wont print.

"The document cannot be printed"

http://en.wikipedia.org/w/index.php?title=Special:Book/download/&collection_id=4d87f4cdb5a9b75f&writer=rl&return_to=Le%C3%B3+Szil%C3%A1rd from en.wp generates exactly the same error
Comment 6 Sam Reed (reedy) 2009-05-26 22:37:05 UTC
Document View 2.26.1 on ubuntu 9.04 is also fine.. Waiting for a download of acrobat 9 for my desktop to try it on (and foxit on windows)
Comment 7 Brion Vibber 2009-05-26 22:41:08 UTC
Confirmed Evince (default PDF viewer) fine on Ubuntu 9.04; Acrobat 9 for Linux freshly installed loads up the attached PDF for inline viewing, but gives "The document cannot be printed" error when attempting to print to file as in comment #5.
Comment 8 Sam Reed (reedy) 2009-05-26 22:50:25 UTC
FoxIt Reader on Windows is fine

Adobe 9.1.0 on windows errors too. It also gives an error of "There were no pages selected to print"..
Comment 9 Sam Reed (reedy) 2009-05-26 22:55:37 UTC
Printing out to another PDF printer gives me that error.. Printing to the "Microsoft XPS Document Writer" works fine.. Can't try to a "proper" printer, though curious one works and the other doesnt
Comment 10 PediaPress Development Team 2009-06-03 09:45:25 UTC
fixed with http://code.pediapress.com/hg/mwlib.rl/rev/5922a9a7f504

will be online on wikipedia within the next couple of days

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


Navigation
Links