OM2 Posted December 17, 2008 Share Posted December 17, 2008 I want to write a mini application that reads in sales data and produces invoices and labels In some cases it might be needed to print text sidewards Is this doable? Perhaps that's just a case of manipulating CSS Each sale record will need to be printed as individual invoices Each invoice needs to be printed on a seperate A4 page How easy is this? Is it possible to have a Page Break character that tells the printer to print the next content on a new page? Lastly: is it good idea to print from the browser??? I would get rid of the header and footer from being printed But would there be anything else to consider that would make it a bad idea to use the browser as a report generation + printing mechanism? Thanks OM Quote Link to comment https://forums.phpfreaks.com/topic/137433-can-i-print-text-sidewards-printing-records-to-a4-is-it-ok-to-print/ Share on other sites More sharing options...
Adam Posted December 18, 2008 Share Posted December 18, 2008 You could convert the HTML to PDF using PHP? Prob's be some kind of page break character there.. Also you can use a CSS print media stylesheet: <link rel="stylesheet" type="text/css" media="print" href="print.css"> That would allow you to remove any headers / footers / banners / big images / etc. A Quote Link to comment https://forums.phpfreaks.com/topic/137433-can-i-print-text-sidewards-printing-records-to-a4-is-it-ok-to-print/#findComment-718625 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.