I used screenShot package to take image of the page and then convert it to pdf to print this page but this error appear from printing.layoutpdf