I cannot read a pdf file with gv

Eric Hanchrow offby1@blarg.net
Thu Mar 18 22:34:00 GMT 2004


>>>>> "RM" == R Manitra <rmanitra@ac.upc.es> writes:

    RM> Actually, when I try to view pdf file I got a dialog box pops
    RM> up with the following error message:

I just had a similar problem -- I couldn't open certain PDF documents
with gv.  (I was able to open them with no trouble with xpdf, but I
don't remember if Cygwin includes that program.)  I don't know if my
problem is the same as yours, but in any case, here's what I learned:
There are a number of different versions of the PDF standard, and
apparently GhostScript can only deal with some of them.  I found that
it worked just fine with version 1.3, but couldn't open version 1.5 (I
never tried version 1.4).

You can see which version your file is by simply running the `file'
command, like this:

        $ file doc.pdf
        doc.pdf: PDF document, version 1.3
        $ 

-- 
Always code as if the guy who ends up maintaining your code will
    be a violent psychopath who knows where you live.  John F. Woods



More information about the Cygwin-xfree mailing list