[bug-pcl] pcl error

Ray Johnston ray.johnston at artifex.com
Thu Nov 24 10:10:31 PST 2005


Hi,

Aewyn wrote:
 > but, when I try to
 >
 > pcl6 -sDEVICE=pswrite file
 >
 > I get:
 > AFPL Ghostscript CVS PRE-RELEASE 8.13: **** Could not open the file  .
 > Unable to open new device

You need to specify the destination for the file that will be
created by the pswrite device. For this, use -sOutputFile=filename.ps
For example:

    pcl6 -sDEVICE=pswrite -sOutputFile=file.ps file

Since the default OutputFile is the printer (/dev/lp0) I'm not
surprised you got an error. If you want to send the PostScript
output to stdout, use:

    pcl6 -sDEVICE=pswrite -sOutputFile=- file

Regards,
Ray Johnston
___________________________________________________________________



More information about the bug-pcl mailing list