The values are calculated to keep aspect ratio. However it is important that aspect ratio is kept if the original image is of slightly different size to the one used in testing. Is there a command that will keep the aspect ratio if I only resize the height in the code?
Also, I am having trouble with the above code due to different systems having different printer drivers. I would like to re-size and position the image in millimetres and not pixels. Is it possible to do this?