wespals / ghostscript-console
A Symfony CLI utility for the Ghostscript executable
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/wespals/ghostscript-console
Requires
- php: >=7.1
- symfony/console: ^4.3
Requires (Dev)
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2025-10-29 03:04:51 UTC
README
A Symfony CLI utility for the Ghostscript executable
Installation
composer require wespals/ghostscript-console
Usage
php vendor/bin/ghostscript-console ghostscript -g 'sDEVICE=pdfwrite' --gs='dCompatibilityLevel=1.4' ./tests/files/2019FormW2-PDFv1.7.pdf ./tests/files/temp/ghostscript-output.pdf
Default parameter switches
The following parameters are automatically set if not explicitly included in the command.
- -dSAFER
- -dBATCH
- -dNOPAUSE
- -sDEVICE=pdfwrite
View command help and examples
php vendor/bin/ghostscript-console ghostscript --help