Ghostscript Enterprise

Ghostscript Enterprise is a commercial version of GhostPDL which can also read and process a range of common office documents, including Word, PowerPoint and Excel.

File Support

File type File extension
doc icon
Word
docx  doc  dotx  docm  dotm
doc icon
Open Office Word
odt
doc icon
Excel
xlsx  xls  xlt  xlsm  xltm
doc icon
PowerPoint
pptx  ppt  pps  pptm 
doc icon
Text
txt  csv 

Licensing

If you are interested in using Ghostscript Enterprise, please contact our sales team to discuss a commercial license. Each Artifex commercial license is crafted based on your individual use case.


Using

Once you have acquired a commercial license agreement you will be supplied with a built binary (gse) for your system to run Ghostscript Enterprise.

  • Use Ghostscript Enterprise in the regular way in which you would use Ghostscript itself.

  • Just declare your device, your output & input files and then any other optional parameters as required.

  • Ensure to run your commands against your gse binary as opposed to any other installation of Ghostscript.

Interpreter flags

Ghostscript Enterprise specific interpreter flags are as follows:

Flag name

Description

-sSOLOCALE

The locale to set for the document.

-sSOPASSWORD

The password to set to open the file.

Examples

Create a PDF file from a Word file

A simple use case to create a new PDF document from a Word document.

./gse -sDEVICE=pdfwrite -o output.pdf input.docx

Convert a Word document into a series of image files

This snippet outputs files in PNG image format, one per page at a 300 DPI resolution.

./gse -sDEVICE=png16m -o output%d.png -r300 input.docx

Extracting text

A simple use-case of extracting text from a PowerPoint file.

./gse -sDEVICE=txtwrite -o output.txt input.pptx

Handle a password protected document

Here we send through a password to ensure we can open a password-protected file.

./gse -sDEVICE=txtwrite -o output.txt -sSOPASSWORD=clyde30 password-is-clyde30.docx

Handle a document with a specific locale

In this snippet, the document locale should be set to Korean, so text extraction knows to use Korean versions of characters that are shared with other languages.

./gse -sDEVICE=txtwrite -o output.txt -sSOLOCALE=ko-kr input.xls

This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of that license. Refer to licensing information at artifex.com or contact Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco, CA 94129, USA, for further information.Discord logo MS Word logo MS Word logo MS Word logo MS Word logo MS Word logo