Skip to content

Instantly share code, notes, and snippets.

@numpde
Created September 24, 2020 14:31
Show Gist options
  • Save numpde/8dd100b7c4a8c9f85533694da0a87a6b to your computer and use it in GitHub Desktop.
Save numpde/8dd100b7c4a8c9f85533694da0a87a6b to your computer and use it in GitHub Desktop.
Display a PDF file in 2x1 portrait format for printing
# Display a PDF file in 2x1 portrait format for printing
pdfjam --nup 2x1 --landscape "file.pdf" --outfile /dev/stdout | \
pdfjam --angle=90 /dev/stdin --outfile /dev/stdout | \
okular -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment