A4 logical page with physical-paper footprint
White = the 255 × 198 mm certificate, right-aligned and vertically centered. Grey = 42 mm left, 6 mm top, and 6 mm bottom.
A4 output · 255 × 198 mm paper
The A4 print job leaves 42 mm blank at the left and splits the vertical difference equally: 6 mm top and 6 mm bottom. Coordinates are measured from the physical certificate’s top-left. The ID uses a top anchor plus a 2.5 px downward nudge; all other Y coordinates are the bottom edge of a 5 mm-high text box:
ID 208×26 mm · Name 85×99 mm, width 148 mm ·
Address 42×108 mm, width 191 mm · Day 135×137 mm, width 36 mm ·
Month 187×137 mm, width 21 mm · Year 215×137 mm, width 18 mm.