Browse Source

code cleanup

master
Gustavo Neves 8 years ago
parent
commit
8a83e5f980
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      pdfScale.sh

+ 0
- 2
pdfScale.sh View File

@@ -137,12 +137,10 @@ printPDFSizes() {
getPageSize || initError "Could not get pagesize!"
local paperType="$(getGSPaperName $PGWIDTH $PGHEIGHT)"
isEmpty "$paperType" && paperType="NOT Detected"
#printf '%s\n' "-----+------+----WIDTH-+-HEIGHT-----------"
printf '%s\n' "------------+-----------------------------"
printf " File | %s\n" "$(basename "$INFILEPDF")"
printf " Paper Type | %s\n" "$paperType"
printf '%s\n' "------------+-----------------------------"
#printf '%s\n' "------------+----WIDTH-+-HEIGHT-----------"
printf '%s\n' " | WIDTH x HEIGHT"
printf " Points | %+8s x %-8s\n" "$PGWIDTH" "$PGHEIGHT"
printf " Milimeters | %+8s x %-8s\n" "$(pointsToMilimeters $PGWIDTH)" "$(pointsToMilimeters $PGHEIGHT)"


Loading…
Cancel
Save