OM2
12-17-2008, 03:05 PM
I want to write a mini application that reads in sales data and produces invoices and labels, I'll be doing this in PHP
In some cases it might be needed to print text sidewards
Is this doable? I assume that's just a case of manipulating CSS?
I'm sure I've seen it done in 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?
I can't think of anything in CSS that would allow this
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?
(OK... so maybe the last point isn't CSS related... but I thought I'd try asking anyway)
Thanks
OM
In some cases it might be needed to print text sidewards
Is this doable? I assume that's just a case of manipulating CSS?
I'm sure I've seen it done in 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?
I can't think of anything in CSS that would allow this
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?
(OK... so maybe the last point isn't CSS related... but I thought I'd try asking anyway)
Thanks
OM