Re: ghostscript problem in F11



Please ignore the gibberish I was spouting below. I now notice that I
am missing a "-" on sOutputFile that is apparent in the wrapped
version below but I it missed in the long command line.

Sorry for the noise.

G

2009/9/9 Gavin Simpson <ucfagls@xxxxxxxxxxxxxx>:
Dear List,

I'm trying to use ghostscript to merge a couple of PDFs. The approach
I'm using has worked reliably on Fedora 7-10 (IIRC) however I'm
experiencing a problem when trying to run my gs command on Fedora 11
on a new desktop. I am running the following:

gs -dAutoRotatePages=/None -dPDFSETTINGS=/prepress
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
sOutputFile=foo.pdf doc1.pdf doc2.pdf doc3.pdf

This fails with the message:

GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
**** Unable to open the initial device, quitting.

My web searches indicate that this means gs can't open the output
file. I'm running this in a directory in my Home and I have rw
permissions there. All the files are located in this one directory.

I'm a bit stumped now as to what to try next. There is some indication
(from the web searches I did) that this may be related to permissions
on the temporary location where gs is working initially. However I
have no idea how to find out what/where this location may be, how to
change it etc.

Here are my gs versions:
$ yum list all | grep ghost
ghostscript.x86_64                    8.70-1.fc11                 @updates
ghostscript-fonts.noarch              5.50-20.fc11                installed

Any help, much appreciated.

G

[Ps: Yes, I know I can do this with one of several GUI tools, but the
command line used to work and I'd like to get it working on my new
desktop.]


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • ghostscript problem in F11
    ... I'm trying to use ghostscript to merge a couple of PDFs. ... I'm using has worked reliably on Fedora 7-10 however I'm ... that this may be related to permissions ... on the temporary location where gs is working initially. ...
    (Fedora)
  • Re: Sound works only in run level 5, not run level 3 (Fedora 8)
    ... startx from the command line. ... Having just moved from Fedora 7 to Fedora 8 my sound no longer works ... In run level 3 the sound doesn't work because of permissions, ...
    (Fedora)
  • HELP
    ... I was trying to get the unsubscribe command and did not realize my message went to the list. ... I am no longer using Fedora, so was trying to unsubscribe myself from the list. ... What DHCP command to use, to get DNS ... spec file for rpms ...
    (Fedora)
  • Re: ubuntu-users Digest, Vol 47, Issue 208
    ... Superuser confusion or maybe critically confused ... "Permissions" appears nowhere in Nautilus, so far as I can tell. ... I am attempting to learn to use command line. ...
    (Ubuntu)
  • Re: Isolate home directory shares
    ... I believe the command for one subfolder would be similar to: ... removes the inheritance flag but leaves existing permissions for the ... home directories are done with ADUC using profile tab: ...
    (microsoft.public.windows.server.general)