diff options
-rwxr-xr-x | localpdf2ps2pdf (renamed from localpdf2pdfscreen) | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/localpdf2pdfscreen b/localpdf2ps2pdf index e2c4d02..686d000 100755 --- a/localpdf2pdfscreen +++ b/localpdf2ps2pdf @@ -1,11 +1,9 @@ #!/bin/sh # -# /usr/local/bin/localpdf2pdfscreen -# Copyright 2008 Jonas Smedegaard <dr@jones.dk> +# /usr/local/bin/localpdf2ps2pdf +# Copyright 2008-2023 Jonas Smedegaard <dr@jones.dk> # -# $Id: localpdf2pdfscreen,v 1.5 2008-03-17 13:39:17 jonas Exp $ -# -# Downsize PDF file. +# Refry PDF file. # set -e @@ -14,7 +12,7 @@ PRG="$(basename "$0")" # Default options PDFTOPSOPTS="-preload -paper match" -PS2PDFOPTS="-dPDFSETTINGS=/screen" +PS2PDFOPTS="-dDownsampleColorImages=true -dColorImageResolution=150" showhelp() { cat <<EOF @@ -26,8 +24,17 @@ Defaults: ps2pdf: $PS2PDFOPTS Examples: - $PRG newspaper.pdf newspaper_screenready.pdf - $PRG newspaper.pdf -level3 + $PRG file.pdf -f 7 -l 9 + $PRG file.pdf -- -dPDFA -dPDFACompatibilityPolicy=1 + $PRG file.pdf -- -dPDFSETTINGS=/screen + $PRG file.pdf -level3 -- -dPDFSETTINGS=/prepress + +First example above picks pages 7-9. +Second example above reduces PDF complexity. +Third example reduces image size for screen-only use. +Fourth example preserves complexity and image size for professional use. + +Defaults reduce file size for 300 DPI color print use. EOF } |