Jump to content

Fpdf Question Margins


aeroswat

Recommended Posts

I'm using the fpdf class to create some order slips on the fly and I've noticed when printing it cuts off the edges of my documents on both the left and right side. I can print to the edge on top and bottom but for left and right this does not work and i'm trying to figure out what I need to do in order to be able to do this. I've set the margins to 0 using the SetMargins function like this

 

$pdf->SetMargins(0, 0, 0);

 

But it doesn't seem to work right  :wtf:

Link to comment
https://forums.phpfreaks.com/topic/187134-fpdf-question-margins/
Share on other sites

Most printers do not allow printing on whole width/length of a page. Does the document look good when viewed on screen? If yes, then it's printer settings issue.

 

The document does not look good when viewing it on screen but when I view it in the print preview portion it does not fall in the grayed out portion of the page image.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.