public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Nicholas Wourms <nwourms@yahoo.com>
To: James Peroulas <james.peroulas@ateliertelecom.se>, cygwin@cygwin.com
Subject: RE: GhostScript ps2pdf
Date: Fri, 07 Jun 2002 05:27:00 -0000	[thread overview]
Message-ID: <20020607113056.92437.qmail@web21001.mail.yahoo.com> (raw)
In-Reply-To: <PAEGKBFONJGEHJIENHGMKEEBCAAA.james.peroulas@ateliertelecom.se>

Hi James,

What does it say when you run "which ps2pdf"?  The only reason I ask is
because I believe the native windows version of ghostscript adds itself to
path in autoexec.bat, so its path might be coming before the cygwin path. 
Just a thought...

Cheers,
Nicholas
--- James Peroulas <james.peroulas@ateliertelecom.se> wrote:
> 
> 
> > -----Original Message-----
> > From: Dario Alcocer [mailto:alcocer@helixdigital.com]
> > Sent: den 6 juni 2002 23:06
> > To: James Peroulas
> > Cc: McDougall@agecon.purdue.edu; cygwin@cygwin.com
> > Subject: Re: GS ps2pdf
> >
> >
> > >>>>> "James" == James Peroulas <james.peroulas@ateliertelecom.se>
> 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 test.ps
> **** 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 test.ps
> **** 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 test.ps
> %%[ ProductName: GNU Ghostscript ]%%
> %%[Page: 1]%%
> %%[LastPage]%%
> 
> 
> So, the problem appears to be with the pdfwrite output device on
> ghostscript.
> 
> Any ideas?
> James
> 
> P.S. I am not running under "Administrator" privleges under windows
> 2000.
> 

> ATTACHMENT part 2 application/postscript name=test.ps
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2002-06-07 11:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <PAEGKBFONJGEHJIENHGMKEDOCAAA.james.peroulas@ateliertelecom.se>
2002-06-06 16:47 ` GS ps2pdf Dario Alcocer
2002-06-07  1:24   ` GhostScript ps2pdf James Peroulas
2002-06-07  5:27     ` Nicholas Wourms [this message]
2002-06-07  5:28     ` James Peroulas
2002-06-07  5:31       ` Gerrit P. Haase
2002-06-07  6:03         ` Conrad Scott
2002-06-07  5:50       ` Nicholas Wourms
2002-06-07  6:27         ` Nicholas Wourms
2002-06-07  6:34           ` Nicholas Wourms
2002-06-07  8:27             ` James Peroulas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020607113056.92437.qmail@web21001.mail.yahoo.com \
    --to=nwourms@yahoo.com \
    --cc=cygwin@cygwin.com \
    --cc=james.peroulas@ateliertelecom.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).