]> Sergey Matveev's repositories - dotfiles.git/blob - bin/bin/ps2pdf.sh
Single tmux popup for fzf
[dotfiles.git] / bin / bin / ps2pdf.sh
1 #!/bin/sh
2
3 gs \
4     -dBATCH -dNOPAUSE -dSAFER \
5     -sDEVICE=pdfwrite -dPDFA \
6     -dPDFSETTINGS=/default \
7     -dAutoRotatePages=/None \
8     -sColorConversionStrategy=DeviceRGB \
9     -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode \
10     -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode \
11     -dMonoImageFilter=/FlateEncode \
12     -dOptimize=true \
13     -dEmbedAllFonts=true \
14     -sOutputFile="$1".pdf "$1"