|
|
@@ -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)" |
|
|
|