Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ghostcript: unable to create PDF files

Status
Not open for further replies.

davefr54

Programmer
Nov 30, 2011
2
FR
I am running under PowerBuilder 12.0, Windows XP with Ghostcript 9.0 with the following code:
Code:
if DirectoryExists(ls_chemin_stk) = false then
   CreateDirectory(ls_chemin_stk)
end if
ls_chemin_stk += "\" + ls_fichier + ".pdf"
adw_impr.Object.DataWindow.Export.PDF.Method = Distill!
adw_impr.Object.DataWindow.Export.PDF.Distill.CustomPostScript = "No"
ll_fileno = adw_impr.SaveAs(ls_chemin_stk, PDF!, true)
if ll_fileno < 1 then
   messagebox("Warning", "Attempt to save PDF file failed")
   RETURN -1
end if
I can run it successfully with Ghostscript installed on my own machine whether in development mode or from the executable, but the users running the executable and Ghostscript installed on Citrix Metaframe remote server are unable to save the datawindow in PDF format. Any ideas?
 
Yes, permissions was the first thing I checked. I am trying to get 2 colleagues together to test further - we think installing Ghostscript on each individual user's machine may resolve it.
Dave
 
wouldn't you have to install ghostscript on your citrix server?


regards,
Miguel L.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top