dreamwest Posted April 22, 2009 Share Posted April 22, 2009 Is there a function to print a html page so it fits within printing diameters At the moment its only printing a third of the width the rest is trunicated Link to comment https://forums.phpfreaks.com/topic/155169-print-html-page/ Share on other sites More sharing options...
ober Posted April 22, 2009 Share Posted April 22, 2009 You cannot force a page to print to specific dimensions unless you're using something like an ActiveX control or something. Also, if your page width is greater than the average piece of paper (8.5x11), it's not going to print properly. The best thing to do is to have a "screen" stylesheet and a "print" stylesheet so that you can restructure the page for printing. Here's a good article: http://www.alistapart.com/articles/goingtoprint/ Link to comment https://forums.phpfreaks.com/topic/155169-print-html-page/#findComment-816313 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.