Setting boolean property printer.fullPage to true enables support for painting over the entire page. Otherwise painting is restricted to the printable area reported by the device.
printer.fullPage
true