Calculate new zoom factor


#1

Continuing the discussion from Scale Drawing in 2D:

there are two variables that make it hard to predict, one is the ‘safe margin’ used by zoom_extents and the other is the margin used by the printer [even in Borderless mode]

If your viewport is sized to be divisible by 2 for both width and height and your paper size is also, you could probably get it spot on…

on my mac I can get my details using cups, but when I used it in a plugin it failed for people using a network printer…

it only take one or two test prints to get it right…

john