delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/01/17:33:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_05,SPF_PASS
X-Spam-Check-By: sourceware.org
From: "David Karr" <dkarr AT real DOT com>
To: cygwin AT cygwin DOT com
Subject: Unable to convert postscript to usable form, using either ps2pdf or gs
Date: Mon, 1 Jun 2009 14:33:08 -0700
Message-ID: <E38A2467D8EE4066BE57F6B23834FF27@corp.real.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

I have a generated postscript file (from trueprint) that I need to get into
a usable form on Windows, so I can view it and print it.  I've tried both
"ps2pdf" and "gs", with no success so far.

I first tried using "ps2pdf".  This fails with:

---------------
% ps2pdf tp.ps tp.pdf
GPL Ghostscript 8.62: **** Could not open temporary file
/c/DOCUME~1/User/LOCALS~1/Temp/gs_dwvfJL
**** Unable to open the initial device, quitting.
---------------

It isn't an obvious permissions problem, because I can "touch" that file
with no problem.

I then tried just "gs tp.ps", and that fails with this:

------------------
% gs tp.ps
GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusMonL-Regu font from
/usr/share/ghostscript/fonts/n022003l.pfb... 2449904 1067520 4774456 3452340
1 done.
Loading NimbusMonL-ReguObli font from
/usr/share/ghostscript/fonts/n022023l.pfb... 2506784 1195697 4774456 3453229
1 done.
Loading NimbusMonL-Bold font from
/usr/share/ghostscript/fonts/n022004l.pfb... 2684240 1361631 4774456 3454118
1 done.
Loading NimbusSanL-Regu font from
/usr/share/ghostscript/fonts/n019003l.pfb... 2801408 1473306 4774456 3455247
1 done.
Loading NimbusSanL-Bold font from
/usr/share/ghostscript/fonts/n019004l.pfb... 2898480 1580229 4774456 3456751
1 done.
GPL Ghostscript 8.62: **** Could not open the file  .
Error: /invalidfileaccess in --showpage--
Operand stack:
   1   true
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
--nostringval--   false   1   %stopped_push   1905   1   3   %oparray_pop
1904   1   3   %oparray_pop   1888   1   3   %oparray_pop   1771   1   3
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push
--nostringval--   1777   0   3   %oparray_pop   --nostringval--
--nostringval--
Dictionary stack:
   --dict:1145/1684(ro)(G)--   --dict:0/20(G)--   --dict:93/200(L)--
Current allocation mode is local
Current file position is 1569
GPL Ghostscript 8.62: Unrecoverable error, exit code 1
------------------


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019