So I made the following changes:
FROM THIS:-----------------------------
numberOfPDFPanelsHigh = Math.max( 1, Math.round(( (_bounds.height *
_percentageToScalePrintOut) / imageHeight) + 2.5) );
numberOfPDFPanelsWide = Math.max( 1, Math.round(( (_bounds.width *
_percentageToScalePrintOut) / imageWidth) + 15.5) );
TO THIS: -----------------------
numberOfPDFPanelsHigh = Math.max( 1, Math.round( (_bounds.height / imageHeight)
) );
numberOfPDFPanelsWide = Math.max( 1,
Math.round( (_bounds.width / imageWidth) ) );
I get all the pages, but it is copying a lot of extra whitepages which then
need to be removed, not efficient, but it is quick.