Table of Contents
- Introduction
- How to Build Ghostscript from Source Code
- General overview
- Built libraries
- How to acquire the source code
- How to acquire the development source code
- How to unpack the source code
- How to check for post-release bug fixes
- How to prepare the
makefiles
- How to build Ghostscript from source (PC version)
- How to build Ghostscript from source (MacOS version)
- How to build Ghostscript from source (Unix version)
- Other environments
- How to build Ghostscript with UFST
- How to Install Ghostscript
- Using Ghostscript
- Invoking Ghostscript
- Selecting an output device
- Interacting with pipes
- Using Ghostscript with PDF files
- Using Ghostscript with EPS files
- Using Ghostscript with overprinting and spot colors
- How Ghostscript finds files
- Notes on specific platforms
- Command line options
- General switches
- Parameter switches (-d and -s)
- Rendering parameters
- -dCOLORSCREEN
- -dCOLORSCREEN=0
- -dCOLORSCREEN=false
- -dDITHERPPI= lpi
- -dInterpolateControl= control_value
- -dDOINTERPOLATE
- -dNOINTERPOLATE
- -dTextAlphaBits= n
- -dGraphicsAlphaBits= n
- -dAlignToPixels= n
- -dGridFitTT= n
- -dUseCIEColor
- -dNOCIE
- -dNOSUBSTDEVICECOLORS
- -dNOPSICC
- -dNOTRANSPARENCY
- -dALLOWPSTRANSPARENCY
- -dNO_TN5044
- -dDOPS
- -dBlackText
- -dBlackVector
- -dBlackThresholdL= float
- -dBlackThresholdC= float
- Page parameters
- Font-related parameters
- Resource-related parameters
- Interaction-related parameters
- Device and output selection parameters
- Deferred Page Rendering
- EPS parameters
- ICC color parameters
- -sDefaultGrayProfile= filename
- -sDefaultRGBProfile= filename
- -sDefaultCMYKProfile= filename
- -sDeviceNProfile= filename
- -sOutputICCProfile= filename
- -sICCOutputColors= “Cyan, Magenta, Yellow, Black, Orange, Violet”
- -sProofProfile= filename
- -sDeviceLinkProfile= filename
- -sNamedProfile= filename
- -sBlendColorProfile= filename
- -dColorAccuracy= 0/1/2
- -dRenderIntent= 0/1/2/3
- -dBlackPtComp= 0/1
- -dKPreserve= 0/1/2
- -sVectorICCProfile= filename
- -dVectorIntent= 0/1/2/3
- -dVectorBlackPt= 0/1
- -dVectorKPreserve= 0/1/2
- -sImageICCProfile= filename
- -dImageIntent= 0/1/2/3
- -dImageBlackPt= 0/1
- -dImageKPreserve= 0/1/2
- -sTextICCProfile= filename
- -dTextIntent= 0/1/2/3
- -dTextBlackPt= 0/1
- -dTextKPreserve= 0/1/2
- -dOverrideICC
- -sSourceObjectICC= filename
- -dDeviceGrayToK= true/false
- -dUseFastColor= true/false
- -dSimulateOverprint= true/false
- -dOverprint= /enable | /disable | /simulate
- -dUsePDFX3Profile= int
- -sUseOutputIntent= string
- -sICCProfilesDir= path
- Other parameters
- Rendering parameters
- Improving performance
- Summary of environment variables
- Debugging
- Appendix: Paper sizes known to Ghostscript
- API
- What is the Ghostscript Interpreter API?
- Exported functions
- gsapi_revision()
- gsapi_new_instance()
- gsapi_delete_instance()
- gsapi_set_stdio_with_handle()
- gsapi_set_stdio()
- gsapi_set_poll_with_handle()
- gsapi_set_poll()
- gsapi_set_display_callback()
- gsapi_register_callout()
- gsapi_deregister_callout()
- gsapi_set_arg_encoding()
- gsapi_set_default_device_list()
- gsapi_get_default_device_list()
- gsapi_init_with_args()
- gsapi_run_*()
- gsapi_exit()
- gsapi_set_param()
- gsapi_get_param()
- gsapi_enumerate_params()
- gsapi_add_control_path()
- gsapi_remove_control_path()
- gsapi_purge_control_paths()
- gsapi_activate_path_control()
- gsapi_is_path_control_active()
- gsapi_add_fs
- gsapi_remove_fs
- gsapi_fs_t
- Callouts
- Return codes
- Example Usage
- Multiple Threads
- Standard Input and Output
- Display Device
- Language Bindings
- The C API
- Licensing
- Demo code
- C#
- Introduction
- Platform & setup
- GhostAPI
- Structs and Enums
- Constants
- GSAPI
gsapi_revision
gsapi_new_instance
gsapi_delete_instance
gsapi_set_stdio_with_handle
gsapi_set_stdio
gsapi_set_poll_with_handle
gsapi_set_poll
gsapi_set_display_callback
gsapi_register_callout
gsapi_deregister_callout
gsapi_set_arg_encoding
gsapi_set_default_device_list
gsapi_get_default_device_list
gsapi_init_with_args
gsapi_run_*
gsapi_run_string_begin
gsapi_run_string_continue
gsapi_run_string_with_length
gsapi_run_string
gsapi_run_string_end
gsapi_run_file
gsapi_exit
gsapi_set_param
gsapi_get_param
gsapi_enumerate_params
gsapi_add_control_path
gsapi_remove_control_path
gsapi_purge_control_paths
gsapi_activate_path_control
gsapi_is_path_control_active
- Callback and Callout prototypes
- GhostNET
- GhostMono
- Java
- Introduction
- Platform & setup
- Demo projects
- Using the Java library
- gsjava
- GSAPI & GSInstance
- GSAPI
gsapi_revision
gsapi_new_instance
gsapi_delete_instance
gsapi_set_stdio_with_handle
gsapi_set_stdio
gsapi_set_poll_with_handle
gsapi_set_poll
gsapi_set_display_callback
gsapi_register_callout
gsapi_deregister_callout
gsapi_set_arg_encoding
gsapi_set_default_device_list
gsapi_get_default_device_list
gsapi_init_with_args
gsapi_run_*
gsapi_run_string_begin
gsapi_run_string_continue
gsapi_run_string_with_length
gsapi_run_string
gsapi_run_string_end
gsapi_run_file
gsapi_exit
gsapi_set_param
gsapi_get_param
gsapi_enumerate_params
gsapi_add_control_path
gsapi_remove_control_path
gsapi_purge_control_paths
gsapi_activate_path_control
gsapi_is_path_control_active
- Callback & Callout interfaces
- GSInstance
- Constructors
delete_instance
set_stdio
set_poll
set_display_callback
register_callout
deregister_callout
set_arg_encoding
set_default_device_list
get_default_device_list
init_with_args
run_string_begin
run_string_continue
run_string
run_file
exit
set_param
get_param
enumerate_params
add_control_path
remove_control_path
purge_control_paths
activate_path_control
is_path_control_active
- Utility classes
- Python
- Introduction
- Platform & setup
- The gsapi Python module
gsapi_revision()
gsapi_new_instance(caller_handle)
gsapi_delete_instance(instance)
gsapi_set_stdio(instance, stdin_fn, stdout_fn, stderr_fn)
gsapi_set_poll(instance, poll_fn)
gsapi_set_display_callback(instance, callback)
gsapi_set_arg_encoding(instance, encoding)
gsapi_set_default_device_list(instance, list_)
gsapi_get_default_device_list(instance)
gsapi_init_with_args(instance, args)
gsapi_run_*
gsapi_run_string_begin(instance, user_errors)
gsapi_run_string_continue(instance, str_, user_errors)
gsapi_run_string_with_length(instance, str_, length, user_errors)
gsapi_run_string(instance, str_, user_errors)
gsapi_run_string_end(instance, user_errors)
gsapi_run_file(instance, filename, user_errors)
gsapi_exit(instance)
gsapi_set_param(instance, param, value, type_=None)
gsapi_get_param(instance, param, type_=None, encoding=None)
gsapi_enumerate_params(instance)
gsapi_add_control_path(instance, type_, path)
gsapi_remove_control_path(instance, type_, path)
gsapi_purge_control_paths(instance, type_)
gsapi_activate_path_control(instance, enable)
gsapi_is_path_control_active(instance)
- Details of Ghostscript Output Devices
- Notes on measurements
- Image file formats
- Optical Character Recognition (OCR) devices
- High level devices
- Display devices
- IJS - Inkjet and other raster devices
- Rinkj - Resplendent inkjet driver
- HP Deskjet official drivers
- Gimp-Print driver collection
- MS Windows printers
- Sun SPARCprinter
- Apple dot matrix printer
- Special and Test devices
- High Level Devices
- PCL-XL (PXL)
- Text output
- DOCX output
- XPS file output
- The family of PDF and PostScript output devices
- Creating a PDF/X-3 document
- Creating a PDF/A document
- Ghostscript PDF Printer Description
pdfmark
extensions- Limitations
- The Interface between Ghostscript and Device Drivers
- Adding a driver
- Keeping things simple
- Driver structure
- Coordinates and types
- Coding conventions
- Printer drivers
- Printer drivers (Multi-threaded)
- Driver procedures
- Tray selection
- Ghostscript and the PostScript Language
- The Ghostscript Library
- Information for Ghostscript Developers
- Introduction
- Architecture
- Design principles
- File roadmap
- Memory management
- Troubleshooting
- Profiling
- Ghostscript C Coding Guidelines
- Ghostscript PostScript Coding Guidelines
- Convert PostScript to Encapsulated PostScript Interchange Format
- PostScript Files Distributed with Ghostscript
- Fonts and Font Facilities Supplied with Ghostscript
- Setting Up a Unix lpr Filter for Ghostscript
- News
- Guide to Ghostscript Source Code
- Third Party Libraries Used by Ghostscript and GhostPDL
- Unsupported devices
- H-P 8xx, 1100, and 1600 color inkjet printers
- H-P 812, 815, 832, 880, 882, 895, and 970 color inkjet printers
- H-P color inkjet printers
- Canon BJC-8200 printer
- Other Canon BubbleJet (BJC) printers
- Epson Stylus color printer (see also uniprint)
- uniprint, a flexible unified printer driver