First, this is an awesome module. Thank you for creating it.

Second, when attempting this:

body {
	margin: .75in;
}

in print.css, it prints fine using print preview in firefox, but pdf's made using dompdf show no margin. They also print with no margin. While I could fit-to-page and center, my type sizes will change - and probably not consistently. I also tried @page settings with no luck. Hence, I seem to have no way to set margins through dompdf using this module.

Am I missing something?

Comments

gr33nman’s picture

Issue tags: -dompdf
henrijs.seso’s picture

same here

or not...

		<style media="all">
		@page { margin: 0.5in 0.5in 1.5in 0.5in;}
		</style>

... seems to work

jcnventura’s picture

Status: Active » Closed (won't fix)

I can't really handle problems in either TPPDF, dompdf or any generic *pdf. Please report these problems in their respective bug tracking system.

Anonymous’s picture

#2 worked well for me.