Draw document does not scale properly after printout

I have a grid of evenly spaced circles on an a4 page, which is aligned to leave the exact same space at the edges. When printed out, the circles and the gaps are slightly smaller than they’re supposed to be and the space at the bottom of the page is much greater than it is supposed to be.

(On the right is the screen image, and on the left is the printout. The top and bottom page edges are exactly aligned.)

I’m wondering if the fact that when I go to file → printer settings → properties the ‘paper size’ is ghosted out but listed as a6, might have something to do with it? But when I edit my printer settings directly it says it is a4.

EDIT: my printer is HP deskjet 2540, and I am using the HPLIP middleware version 3.14.6.