Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > gsprint and gs_init.ps
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 20th March 00:28
steve hunter
External User
 
Posts: 1
Default gsprint and gs_init.ps


I have a problem with gsprint; when using it to print anything it produces the
following error:

F:\GS\gsview>gsprint f:\temp\test.pdf
Copyright (C) 2003-2008, Ghostgum Software Pty Ltd. All Rights Reserved.
2005-03-01 gsprint 1.8
AFPL Ghostscript 8.53: Can't find initialization file gs_init.ps.

This is the contents of gsprint.cfg in the same directory:

-mono
-ghostscript
"f:/gs/bin/gswin32c.exe"
-I"f:/gs/lib/"

And here is the command line that gsprint is running ghostscript with:

"f:/gs/bin/gswin32c.exe"
-sDEVICE=bmpmono
-dNOPAUSE
-g4958x7017
-r600x600
-sOutputFile=%handle%00000778
-c "<< /.HWMargins [14.04 14.04 13.92 14.04] >> setpagedevice"
-f "-I"f:/gs/lib/""
-c quit

It appears to be passing the include path option as the parameter to the input
file option, and disregarding the filename passed to gsprint.

I've no idea how to fix it - any help would be appreciated!
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666