Hello all, I'm working on a back-end e-commerce project and I'm looking for the best way forward regarding the printing of invoices.
Currently, I run a script that batches 50 invoice URLs into one frameset and then the user simply uses the standard file>print in the browser to print all 50 documents at once.
This is ok to a point, but I'm anticipating at least a couple of thousand invoices needing printing every day so this really isn't the best solution. I'm also looking for the minimal amount of user input.
So, what I'm ideally looking for is a solution where I could have a PHP script run through all the current documents that need printing and print them automatically, verifying each time that the document was printed (is this possible?)
I could quite easily get my list of say 500 invoices that currently need printing and have the operator simply click a button like 'START PRINT QUEUE' and then just leave the system to it.
It's quite imprtant that I can get some kind of confirmation that the invoice in question was actually printed (i.e. empty toner or paper) and then update my database accordingly, i.e. that an invoice was successfully printed.
I notice there are a bunch of windows only php extensions
http://uk3.php.net/printer and also note the ScriptX solution (
http://www.meadco.com/scriptx/index.asp).
Where should I start? I would appreciate some guidance from some of the experts on here.
Many thanks
Start Free Trial