The online racing simulator
Sending multiple pages to print
(2 posts, started )
Sending multiple pages to print
As this is not related to LFS programming thought I'd best post here.

I'm updating a website I did a while ago in PHP and I'm trying to come up with a solution to print multiple invoices at once via the view order screen.

Order ID Date Amount Etc Actions
[ ] 92878797 30-10-10 £2.50 Edit/Del

So the idea would be I could tick the tick boxes for the ones I want to print and click one print button to send all the printer friendly versions to the printer. Is this actually possible? Failing that the ability to just click a print button next to each one would be a lot better than the current method.

Currently we have to open every order to physically display the printer friendly version and then send it to print which as you can imagine with 20-30 orders a day is very tiresome.

Did a good bit of googling but didn't return much more than the javascript print function.
It's hard because browsers still suck hard at printing.

Something maybe to look at is DOMPDF. It might be a bit overkill, but it allows you to send HTML into a PDF document. That way you can generate out PDF's that are irrefutably brilliant for printing.

Sending multiple pages to print
(2 posts, started )
FGED GREDG RDFGDR GSFDG