You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dompdf
How to set margins in dompdf
Hi everyone, I am using dompdf 0.6 beta 2, and i trying to wrap all
the report with margins.
I have this
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("ticket de solicitud.pdf");
But I want to set margins to render everything, for example 4cm top …
3 bottom … 3 left… 3 right.
I am new with dompdf and I really appreciate if anyone can help me.
Thanks
BrianS
unread,
Feb 25, 2011, 1:34:02 PM2/25/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dom...@googlegroups.com
You should be able to do this by styling the body margin/padding: