Take a survey

Developing Applications Using APIs > Converting PDF to Postscript and Image Files > Converting PDF Documents to PostScript > Converting a PDF document to PS using the web service API

Converting a PDF document to PS using the web service API
To convert a PDF document to PS using the PDF Generator ES service client web service API, perform the following tasks:
1.
2.
Create a ConvertPDFServiceService object by using your proxy class’ constructor.
3.
Invoke the GeneratePDFServiceService object’s toPS method and pass the following values:
A BLOB object that represents the file to be converted.
A PSLevel object that specifies the desired PostScript level (2 or 3) for the target file.
Once the conversion is complete, extract the binary data representing the PS document by accessing its BLOB object’s binaryData property. This returns an array of bytes that you can write out to a PS file.
View Quick Start
 
 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/convertPDFToPS.63.4.html