google-chromepdfprinting

Google Chrome cut off when print pdf


As in title, Our web server often return pdf report to user. When they view that pdf report, they often print it by using Ctrl + P in chrome.

The problem is that when print pdf by chrome, it always cut off header and footer of the pdf page (~0.45 cm or 0.1771654 inches).

You could see image in bottom of this post, all content in two red rectangular will be lost when we press "Print" (although it displays fine in print preview).

I have searched for keyword "Chrome cut off when print pdf" and found some topic about this in google productforums (2011, 2016,...), all have no solutions, and often become locked topic so can't reply to that.

So if someone know anyway to fix that, please answer this.

Thank you!

enter image description here


Solution

  • Not all printers can print on the whole paper sheet area, many have a small border area where they cannot print.

    As it turned out in particular HP LaserJet printers don't support borderless printing (cf. this HP support forum entry found by the op), and the op and his customers use such printers.

    Thus, the only sure work-around is designing one's PDFs with a white border.