tribalmaniac
03-02-2007, 09:17 AM
I'm considering using PHP for my CPT6 coursework, the only thing is that reports need to be printed out. I was just wondering how would I go about printing physical information out to the printer?
Sorry if it's a bit vague :)
sir pannels
03-02-2007, 11:37 AM
Yo :)
You'd do all the processing and formatting with PHP and then use javascript to actually print it. Providing your are using a web browser.
If your using command line php you can print directly from PHP to a local printer.
Cheers
Inigoesdr
03-02-2007, 06:22 PM
I'm considering using PHP for my CPT6 coursework, the only thing is that reports need to be printed out. I was just wondering how would I go about printing physical information out to the printer?
Sorry if it's a bit vague :)
javascript:
window.print();