Skip to content

Instantly share code, notes, and snippets.

@khalid32
Last active September 30, 2018 13:27
Show Gist options
  • Select an option

  • Save khalid32/88f5fa1d6b8aef22d75b2852abec3b30 to your computer and use it in GitHub Desktop.

Select an option

Save khalid32/88f5fa1d6b8aef22d75b2852abec3b30 to your computer and use it in GitHub Desktop.
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -sOutputFile=output.pdf input.pdf
// where "input.pdf" is the name of your PDF file..
sudo lscpu
sudo lshw
xdpyinfo | grep 'dimensions:'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment