From 732b9aa2553b4a3709361230861bc5fb3985465c Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 17 Mar 2008 13:39:17 +0000 Subject: Improved default outfile. Show defaults in help. Fix another typo in option parsing. --- localpdf2pdfscreen | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/localpdf2pdfscreen b/localpdf2pdfscreen index 442eb20..cd88a97 100755 --- a/localpdf2pdfscreen +++ b/localpdf2pdfscreen @@ -3,29 +3,31 @@ # /usr/local/bin/localpdf2pdfscreen # Copyright 2008 Jonas Smedegaard # -# $Id: localpdf2pdfscreen,v 1.4 2008-03-17 13:07:47 jonas Exp $ +# $Id: localpdf2pdfscreen,v 1.5 2008-03-17 13:39:17 jonas Exp $ # # Downsize PDF file. # -# TODO: Use *_lowres.pdf as default outfile -# set -e PRG="$(basename "$0")" # Default options -PDFTOPSOPTS="-paper match" +PDFTOPSOPTS="-preload -paper match" PS2PDFOPTS="-dPDFSETTINGS=/screen" showhelp() { cat <