[cups.bugs] [HIGH] STR #1190: gs does not create pdf file

Leighton Brown leightonbrown at excite.com
Thu May 26 05:40:05 PDT 2005


[STR New]

Using the command :
gs -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
-sOutputFile=$out{/tmp/print2.pdf} -sPAPERSIZE=letter -c.setpdfwrite -f
'/root/tmp_kdeprint'

produces the error:
ESP Ghostscript 815.00 (2005-04-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
ESP Ghostscript 815.00: **** Could not open the file {/tmp/print2.pdf} .
**** Unable to open the initial device, quitting.

changing the command to :
gs -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
-sOutputFile=/tmp/print2.pdf -sPAPERSIZE=letter -c.setpdfwrite -f
'/root/tmp_kdeprint'

generates a segfault :
ESP Ghostscript 815.00 (2005-04-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Segmentation fault

but creates a 70byte file.

Attached is the source file ( /root/tmp_kdeprint )
System: Linux Fedora Core Development
Compiler: gcc (GCC) 4.0.0 20050512 (Red Hat 4.0.0-5)

Link: http://www.cups.org/str.php?L1190
Version: 8.15rc3
Attachment: http://www.cups.org/strfiles/1190/tmp_kdeprint





More information about the cups-devel mailing list