From 15ae4b233304991ea8b0655a1a704cbc50f34426 Mon Sep 17 00:00:00 2001 From: Gustavo Neves Date: Mon, 15 May 2017 02:55:33 -0300 Subject: [PATCH] more changes to help --- README.md | 13 +++++++------ pdfScale.sh | 12 ++++++------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 1840068..0f1eb54 100644 --- a/README.md +++ b/README.md @@ -176,12 +176,12 @@ Parameters: Scaling Mode: The default mode of operation is scaling mode with fixed paper size and scaling pre-set to 0.95. By not using the resize mode - you are using scaling mode. + you are using scaling mode. Flip-Detection and auto-rotation are + disabled in Scaling mode. Resize Paper Mode: Disables the default scaling factor! (0.95) - Alternative mode of operation to change the PDF paper - proportionally. Will fit-to-page. + Changes the PDF Paper Size in points. Will fit-to-page. Mixed Mode: In mixed mode both the -s option and -r option must be specified. @@ -195,7 +195,7 @@ Output filename: ..pdf is added to resized files ..SCALED.pdf is added in mixed mode -Page Detection Modes: +Page Size Detection Modes: a, adaptive Default mode, tries all the methods below c, cat+grep Forces the use of the cat + grep method m, mdls Forces the use of MacOS Quartz mdls @@ -217,12 +217,12 @@ Valid Paper Names: (case-insensitive) Custom Paper Size: Paper size can be set manually in Milimeters, Inches or Points. Use: pdfscale -r 'custom ' - Ex: pdfscale -r 'custom mm 210 297' + Ex: pdfscale -r 'custom mm 300 300' Measurements can be: mm, inch, pts. Custom paper definition MUST be quoted into a single parameter. Actual size is applied in points (mms and inches are transformed). -Notes: +Additional Notes: - Adaptive Page size detection will try different modes until it gets a page size. You can force a mode with -m 'mode'. - Options must be passed before the file names to be parsed. @@ -241,6 +241,7 @@ Examples: pdfscale -v -v -m i -s 0.7 myPdfFile.pdf pdfscale -r A4 myPdfFile.pdf pdfscale -v -v -r "custom mm 252 356" -s 0.9 -f "../input file.pdf" "../my new pdf" + pdfscale -h ``` ## GhostScript Paper Tables diff --git a/pdfScale.sh b/pdfScale.sh index 4c6b6f2..35e3f10 100755 --- a/pdfScale.sh +++ b/pdfScale.sh @@ -1070,12 +1070,12 @@ Parameters: Scaling Mode: The default mode of operation is scaling mode with fixed paper size and scaling pre-set to $SCALE. By not using the resize mode - you are using scaling mode. + you are using scaling mode. Flip-Detection and auto-rotation are + disabled in Scaling mode. Resize Paper Mode: Disables the default scaling factor! ($SCALE) - Alternative mode of operation to change the PDF paper - proportionally. Will fit-to-page. + Changes the PDF Paper Size in points. Will fit-to-page. Mixed Mode: In mixed mode both the -s option and -r option must be specified. @@ -1089,7 +1089,7 @@ Output filename: ..pdf is added to resized files ..SCALED.pdf is added in mixed mode -Page Detection Modes: +Page Size Detection Modes: a, adaptive Default mode, tries all the methods below c, cat+grep Forces the use of the cat + grep method m, mdls Forces the use of MacOS Quartz mdls @@ -1102,12 +1102,12 @@ $paperList Custom Paper Size: Paper size can be set manually in Milimeters, Inches or Points. Use: $PDFSCALE_NAME -r 'custom ' - Ex: $PDFSCALE_NAME -r 'custom mm 210 297' + Ex: $PDFSCALE_NAME -r 'custom mm 300 300' Measurements can be: mm, inch, pts. Custom paper definition MUST be quoted into a single parameter. Actual size is applied in points (mms and inches are transformed). -Notes: +Additional Notes: - Adaptive Page size detection will try different modes until it gets a page size. You can force a mode with -m 'mode'. - Options must be passed before the file names to be parsed.