Printer margins

According to the specifications, QR-bills have a safety margin of 5mm on each page border. Some printers however have trouble printing this close to the border. Scaling down the page content might decrease the scannability of the QR code. Therefore, the QR-bill can be customized in two ways: Boundary lines with margins and additional print margins.

Boundary lines with margins

In addition to the option withBoundaryLines, you can create boundary lines with safety margins.

See example of the boundary line variants:

Boundary lines enabled to full extend
Figure 1. ENABLED
Boundary lines enabled with margins
Figure 2. ENABLED_WITH_MARGINS
Boundary lines disabled
Figure 3. NONE

Additional print margin

Setting additionalPrintMargin will increase the safety margin from 5mm to 6mm.