This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: GhostScript ps2pdf

> -----Original Message-----
> From: Dario Alcocer []
> Sent: den 6 juni 2002 23:06
> To: James Peroulas
> Cc:;
> Subject: Re: GS ps2pdf
> >>>>> "James" == James Peroulas <> writes:
>     James> Hi all, I noticed on the cygwin mailing list that you guys
>     James> were having the same problem that I am
>     James> having. Specifically, "ps2pdf" gives me the error message
>     James> "**** Unable to open the initial device, quitting."
> NOTE: I've moved this to the Cygwin mailing list, where this kind of
> discussion belongs...
> I've not seen this problem myself, so all I can say is: make sure you
> are using the latest release.  If you're still having problems, please
> feel free to e-mail the Cygwin mailing list with more specific
> information, like maybe a small PS file sample which causes the
> failure mode you're referring to.

Hi, I'm the one that made the original post. I'm using the latest version of
cygwin+everything (as of 2002-06-06) on Windows 2000.

I've attached a simple postscript file and when I use the windows native
ghostscript and ghostview applications, I can both open this postscript file
and convert it into a valid pdf file.

When I run ps2pdf in cygwin, however, I get the following:
DESKTOP62 513: ps2pdf
**** Unable to open the initial device, quitting.

I've also tried calling ghostscript directly, with the same results:
DESKTOP62 518:
gs -dSAFER -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -
sOutputFile=test.pdf -c .setpdfwrite -f
**** Unable to open the initial device, quitting.

The problem persists no matter what postscript file I try to convert.
However, if I change the device, I can get the conversion to complete:
DESKTOP62 523:
gs -dSAFER -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH -sDEVICE=bmpmono -s
OutputFile=test.bmp -c .setpdfwrite -f
%%[ ProductName: GNU Ghostscript ]%%
%%[Page: 1]%%

So, the problem appears to be with the pdfwrite output device on

Any ideas?

P.S. I am not running under "Administrator" privleges under windows 2000.

Description: PostScript document

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]