• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1146
  • Last Modified:

ghostscriipt_PDF

Can someone explain what the Ghostscript software does in terms of postcript and PDF.
I have a power builder app that uses ghostscript - not sure if it spooling to a file or in the conversion from
postscript to PDF? i am not clear on the procedure but i am trying to move way from it or find an alternative.

any ideas.
0
sam15
Asked:
sam15
  • 2
  • 2
1 Solution
 
Karl Heinz KremerCommented:
Ghostscript is either used to display PDF or Postscript, or to convert Postscript to PDF.
0
 
sam15Author Commented:
can u explain what is the difference between ghostscript and PDF. Does PB have to do ghostscript before PDF?
can't acrobat do the same thing? any other alternatives to ghostscript
0
 
Karl Heinz KremerCommented:
Ghostscript is an application, PDF is a file format. Or, are you asking for the difference between PostScript and PDF? In that case, one is device specific (PostScript), and the other is not (it's the Portable Document Format, PDF).
Without knowing how exactly you are using Ghostscript in your PowerBuilder app, it's impossible to give you any more detailed advice. Ghostscript can be used to either go from PostScript to PDF, or from PDF to PostScript. Acrobat can do both, but it depends on whether you want to ship Acrobat or rely on Acrobat already being installed on your target system if you can use it. ALternatives to GS again depends on how you are using it. XPdf would be one.
0
 
sam15Author Commented:
PB is using it to distill the postscript to PDF using this method. There is another method using java drivers.

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.pb_10.5.dwref/html/dwref/CHDDAFHF.htm

Deployment requirements
If your application uses the distill method, you must distribute the GNU Ghostscript files and default PostScript printer driver and related files (if using the default printer) with your application. If your application uses the XSL-FO method, you must distribute Apache FOP files and the Java Runtime Environment (JRE) with your application. For more information, see the chapter on deploying your application in Application Techniques


You think PB can somehow use Acrobat. I think you need Acrobat professional anyway which is not free.
Is ghostscript really messy?

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now