I am using the following command to produce a PDF from a PS file: gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=a5 \ -sOutputFile=foo.pdf foo.ps Some people have said that they can't read the PDF under Windows 2000 using Acrobat Reader 5.05 (#65753). The link given in the other bug: http://www.ghostscript.com/pipermail/bug-gs/2001-July/000535.html suggests that ghostscript should not write /Content for blank pages. Would this fix the problem? The funny thing is that I tried to open the PDF files in Acrobat Reader 5.05 in Windows ME, and I didn't get the error messages.
FWIW, I downloaded Adobe Acrobat Reader 5.05 for Linux, and it opens and prints the PDF correctly. I also tried Adobe Acrobat Reader 5.05 on Windows ME, and it opens and prints the PDF correctly. Maybe it is just a Windows 2000 issue?
I had a similar problem in Red Hat 7.2 with Win2000 not being able to read a any KDE generated PDF's, but only after I manually installed hpijs. Uninstalled hpijs and it worked fine. (hpijs is the print drivers for HP inkjet printers, now included by default in Red Hat 7.3.)
We can reproduce this problem in-house with W2000.
It is in fact hpijs related?
I don't think so. The /Content-for-blank-pages explanation seems more likely. But it's strange that it's just W2000 that's affected.
From http://www.cs.wisc.edu/~ghost/doc/cvs/History7.htm: Fixes problems: - Empty pages included a Contents entry whose value was an empty array: the spec allows this, and AR3 and 4 accept it, but AR5 rejects it. (gdevpdf.c [1.34]: 2001/06/29 06:52:13 lpd) It looks like the latest version corrects this error.
Can someone with Windows 2000 using Adobe Acrobat version 5.05 try to view http://people.redhat.com/tfox/rhl-cg-en.pdf? I produced it with ghostscript 7.05, which is supposed to fix the problem.
Confirmed. I can read it on Windows 2000 with Adobe Acrobat Reader 5.0.5 9/24/2001.
Great.