top of page

How to Compress PDF File w/ Ghostscript

Updated: Oct 17, 2022

PDF Compressor for Linux - "Ghostscript"



gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

  • -dPDFSETTINGS=/screen — Low quality and small size at 72dpi.

  • -dPDFSETTINGS=/ebook — Slightly better quality but also a larger file size at 150dpi.

  • -dPDFSETTINGS=/prepress — High quality and large size at 300 dpi.

  • -dPDFSETTINGS=/default — System chooses the best output, which can create larger PDF files.


Recent Posts

See All
How to Samba on Ubuntu Server

Install sudo apt install samba -y Verfiy Installation systemctl status smbd Configure sudo nano /etc/samba/smb.conf Create symbolic to...

 
 
 

Comments


Contact Me

Tel: 678-642-8051

cspeed@jcsassoc.com

  • Google+ Long Shadow
  • LinkedIn Long Shadow
  • Facebook Social Icon
  • Twitter Long Shadow

© 2005 by Christopher Speed

Your details were sent successfully!

bottom of page