Forum Moderators: coopster

Message Too Old, No Replies

Batch printing

         

artie2004

10:18 pm on Jan 22, 2005 (gmt 0)

10+ Year Member



Hello. I have an online order management system. I am using PHP with a mySQL database. What i want to do is to write a script to pull my customer's order info from the database and add it to a print queue. I want to be able to this for all orders(i.e for current day). I want to be able to print out all order info for that day in batch instead of printing it one at a time. Does PHP have any output to printer facilities/functions that can do this? How would I go about doing this?

Thanks :)

jollymcfats

1:53 am on Jan 23, 2005 (gmt 0)

10+ Year Member



If you want to take advantage of the browser's formatting and printing capabillities, you can use PHP to make a giant HTML page with all of the order information, and use CSS to insert page breaks for printing.

I do this, and it works very well.