Skip to content

Instantly share code, notes, and snippets.

@jgdoncel
Created October 22, 2013 08:56
Show Gist options
  • Select an option

  • Save jgdoncel/7097382 to your computer and use it in GitHub Desktop.

Select an option

Save jgdoncel/7097382 to your computer and use it in GitHub Desktop.
GhostScript - Comandos útiles
REM PS TO PDF
gswin32c -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=test.pdf -dBATCH -dNOPAUSE test.ps
REM PDF TO PNG
gswin32c -sDEVICE=png16m -sOutputFile=salida.png -r300 entrada.pdf
REM Devices disponibles
gswin32c -h
gswin32c -dPrinted -dBATCH -dNOPAUSE -dNOSAFER -q -dNumCopies=1 -sDEVICE=ljet4 -sOutputFile="\\spool\\\Server_Name\Printer_name" "C:\test.pdf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment