sincos
sincos

Reputation: 137

Completly remove margin with tcpdf when printing the document

I'm using tcpdf to create a report. I have an image in the header and in the footer. When I generate the pdf (view on the screen), I successfully removed the margins. But, when I print it, is there a way to remove the margin set for the printing?

My customer would like to have a document like if they print on a paper that already have the header/footer.

Is this possible? (first picture is what I see on the screen after generate the pdf, second picture is what I get when I want to print it)

enter image description here

enter image description here

Upvotes: 1

Views: 1255

Answers (1)

Master DJon
Master DJon

Reputation: 1965

This can't be done via PHP nor TCPDF. You either have to change the printing configurations of the program used to print or the ones of the printer. And the printer has to support printing without margins.

Upvotes: 1

Related Questions