deib97 Posted February 13, 2014 Share Posted February 13, 2014 When i create report continous page when printing always not clear and not prefect. Any solution for make a report when preview like this and when printing can be constans with paper measure.? Quote Link to comment https://forums.phpfreaks.com/topic/286173-need-advice-for-make-a-report-continous-page/ Share on other sites More sharing options...
ginerjm Posted February 13, 2014 Share Posted February 13, 2014 How are you making this report? Are you just using echo to output line after line after line? Are you using FPDF? Are you outputting an html table? Need more info and maybe some SMALL snippet of relevant code. Don't know what those "things" you attached are, but I can't see them. Did you review your post to see if they were visible to you? Quote Link to comment https://forums.phpfreaks.com/topic/286173-need-advice-for-make-a-report-continous-page/#findComment-1468742 Share on other sites More sharing options...
phpzer Posted February 13, 2014 Share Posted February 13, 2014 it's more a css thing in my opinion. @media print { .your_div { min-height: 100%; width: 100%; } } Quote Link to comment https://forums.phpfreaks.com/topic/286173-need-advice-for-make-a-report-continous-page/#findComment-1468749 Share on other sites More sharing options...
deib97 Posted February 14, 2014 Author Share Posted February 14, 2014 How are you making this report? Are you just using echo to output line after line after line? Are you using FPDF? Are you outputting an html table? Need more info and maybe some SMALL snippet of relevant code. Don't know what those "things" you attached are, but I can't see them. Did you review your post to see if they were visible to you? This example was made by the developer first. And now without sufficient documentation that I have to create a new one. I also feel confused with this kind of this report generation. Here it is from the echo of a table. Maybe if there was a code or library to make report like this. Quote Link to comment https://forums.phpfreaks.com/topic/286173-need-advice-for-make-a-report-continous-page/#findComment-1468813 Share on other sites More sharing options...
deib97 Posted February 14, 2014 Author Share Posted February 14, 2014 it's more a css thing in my opinion. @media print { .your_div { min-height: 100%; width: 100%; } } I'll try bro...thanks Quote Link to comment https://forums.phpfreaks.com/topic/286173-need-advice-for-make-a-report-continous-page/#findComment-1468814 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.