absailesh / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Blank Pages #565

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Not sure what causes the problem

What is the expected output? What do you see instead?
All of the content fits on one page, but sometimes there is a blank page at the 
end of the PDF. Since we serve warehouses who generally lease their 
printer/copier machine, and pay per page, this is an issue as they'll get 
charged for printing the blank page. Additionally, it's hard enough to teach 
these guys to print a PDF let alone showing them how to print only the first, 
or a range, of pages.

Placing the content in a DIV with overflow:hidden and a fixed height will not 
work as we want the content to overflow to the next page, but how to get rid of 
the page when there's no content on it?

What version of dompdf are you using? What version of PHP? On what
operating system?

DOMPDF 0.6.0 Beta 3
PHP 5.3.3
OS: Local-Win8, Test-RHEL 6.4, Prod-CentOS 6.3 (issue prevalent 

Please provide the HTML source code you want to convert, or any additional
information.

I'm using the SMARTY template engine to generate the HTML I pass to DOMPDF. The 
problem becomes and issue when the locations have full contact data associated 
with them. 

http://pastebin.com/i7V8xzcE

Original issue reported on code.google.com by dsche...@targetfmi.com on 8 May 2013 at 4:21

GoogleCodeExporter commented 9 years ago
It seems I forgot to finish my parenthetical: (issue prevalent across all 3 
boxes)

Original comment by dsche...@targetfmi.com on 8 May 2013 at 4:23

GoogleCodeExporter commented 9 years ago
We've moved issue tracking to github. I re-posted your issue there:
https://github.com/dompdf/dompdf/issues/635

Original comment by eclecticgeek on 8 May 2013 at 5:43

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00