@@ -133,16 +133,16 @@ $ pdfscale -v -v -r 'custom mm 200 300' -f disable -s 0.95 ../mixsync\ manual\ v
133133
134134## Help info
135135```
136- $ pdfscale --help
137- pdfscale v2.5.1
136+ $ ./pdfScale.sh --help
137+ pdfScale.sh v2.5.9
138138
139- Usage: pdfscale <inFile.pdf>
140- pdfscale -i <inFile.pdf>
141- pdfscale [-v] [-s <factor>] [-m <page-detection>] <inFile.pdf> [outfile.pdf]
142- pdfscale [-v] [-r <paper>] [-f <flip-detection>] [-a <auto-rotation>] <inFile.pdf> [outfile.pdf]
143- pdfscale -p
144- pdfscale -h
145- pdfscale -V
139+ Usage: pdfScale.sh <inFile.pdf>
140+ pdfScale.sh -i <inFile.pdf>
141+ pdfScale.sh [-v] [-s <factor>] [-m <page-detection>] <inFile.pdf> [outfile.pdf]
142+ pdfScale.sh [-v] [-r <paper>] [-f <flip-detection>] [-a <auto-rotation>] <inFile.pdf> [outfile.pdf]
143+ pdfScale.sh -p
144+ pdfScale.sh -h
145+ pdfScale.sh -V
146146
147147Parameters:
148148 -v, --verbose
@@ -248,6 +248,7 @@ Parameters:
248248 Creates a background with a RGB color setting on PDF scaling
249249 Must be quoted into a single parameter as in "100 100 200"
250250 RGB numbers are integers between 0 and 255 (255 122 50)
251+ --newpdf Uses the -dNEWPDF flag in the GS Call (deprecated in new versions of GS)
251252 --dry-run, --simulate
252253 Just simulate execution. Will not run ghostscript
253254 --print-gs-call, --gs-call
@@ -295,19 +296,19 @@ Standard Paper Names: (case-insensitive)
295296 HALFLETTER HAGAKI
296297
297298Custom Paper Size:
298- - Paper size can be set manually in Milimeters , Inches or Points
299+ - Paper size can be set manually in Millimeters , Inches or Points
299300 - Custom paper definition MUST be quoted into a single parameter
300301 - Actual size is applied in points (mms and inches are transformed)
301- - Measurements: mm, mms, milimeters
302+ - Measurements: mm, mms, millimeters
302303 pt, pts, points
303304 in, inch, inches
304- Use: pdfscale -r 'custom <measurement> <width> <height>'
305- Ex: pdfscale -r 'custom mm 300 300'
305+ Use: pdfScale.sh -r 'custom <measurement> <width> <height>'
306+ Ex: pdfScale.sh -r 'custom mm 300 300'
306307
307308Using Source Paper Size: (no-resizing)
308- - Wildcard 'source' is used used to keep paper size the same as the input
309- - Usefull to run Auto-Rotation without resizing
310- - Eg. pdfscale -r source ./input.pdf
309+ - Wildcard 'source' is used to keep paper size the same as the input
310+ - Useful to run Auto-Rotation without resizing
311+ - Eg. pdfScale.sh -r source ./input.pdf
311312
312313Backgrounding: (paint a background)
313314 - Backgrounding only happens when scaling
@@ -324,18 +325,18 @@ Options and Parameters Parsing:
324325Additional Notes:
325326 - File and folder names with spaces should be quoted or escaped
326327 - Using a scale bigger than 1.0 may result on cropping parts of the PDF
327- - For detailed paper types information, use: pdfscale -p
328+ - For detailed paper types information, use: pdfScale.sh -p
328329
329330Examples:
330- pdfscale myPdfFile.pdf
331- pdfscale -i '/home/My Folder/My PDF File.pdf'
332- pdfscale myPdfFile.pdf "My Scaled Pdf"
333- pdfscale -v -v myPdfFile.pdf
334- pdfscale -s 0.85 myPdfFile.pdf My\ Scaled\ Pdf.pdf
335- pdfscale -m pdfinfo -s 0.80 -v myPdfFile.pdf
336- pdfscale -v -v -m i -s 0.7 myPdfFile.pdf
337- pdfscale -r A4 myPdfFile.pdf
338- pdfscale -v -v -r "custom mm 252 356" -s 0.9 -f "../input file.pdf" "../my new pdf"
331+ pdfScale.sh myPdfFile.pdf
332+ pdfScale.sh -i '/home/My Folder/My PDF File.pdf'
333+ pdfScale.sh myPdfFile.pdf "My Scaled Pdf"
334+ pdfScale.sh -v -v myPdfFile.pdf
335+ pdfScale.sh -s 0.85 myPdfFile.pdf My\ Scaled\ Pdf.pdf
336+ pdfScale.sh -m pdfinfo -s 0.80 -v myPdfFile.pdf
337+ pdfScale.sh -v -v -m i -s 0.7 myPdfFile.pdf
338+ pdfScale.sh -r A4 myPdfFile.pdf
339+ pdfScale.sh -v -v -r "custom mm 252 356" -s 0.9 -f "../input file.pdf" "../my new pdf"
339340
340341```
341342
0 commit comments