Skip to content

Instantly share code, notes, and snippets.

View billchen2k's full-sized avatar
:electron:
Playing Magic

Bill Chen billchen2k

:electron:
Playing Magic
View GitHub Profile
@billchen2k
billchen2k / pdfout.sh
Created November 21, 2023 07:22
pdfout.sh
# https://ghostscript.com/docs/9.54.0/VectorDevices.htm#
# Presets (Not recommended as it sets too many properties)
# -dPDFSETTINGS=/screen (screen-view-only quality, 72 dpi images)
# -dPDFSETTINGS=/ebook (low quality, 150 dpi images)
# -dPDFSETTINGS=/printer (high quality, 300 dpi images)
# -dPDFSETTINGS=/prepress (high quality, color preserving, 300 dpi imgs)
# -dPDFSETTINGS=/default (almost identical to /screen)
# Another reference: https://stackoverflow.com/a/72974400/10926869 (include a cmdline )
" @BillChen2K's Configuration
" V2020.7
syntax on
set rnu!
set nu!
set autoindent
set rulerformat=%35(%2*%<%f%=\ %m%r\ %3l\ %c\ %p%%%)
set mouse=a
set showmatch
set ruler