"Paul M Foster" <paulf@xxxxxxxxxxxxxxxxx> wrote in message news:20090120151606.GU18160@xxxxxxxxxxxxxxxxxxxx > I'd like a side check on what I'm doing to print on our internal > network. > > We have an internal server/site which uses PHP code I've written to > "run" the business-- invoicing, A/P, inventory, etc. Some things, like > invoices and reports, need to be printed. Now remember, the code is on > the server, and we access it from our client machines on our desks. When > we print, we do so to our local printers, attached to the client > machines. > > So the best way I could think of to making printing work was to generate > PDFs of whatever needs to be printed, dump the PDF on the server, and > provide a link to the PDF on the web page. The user clicks on the > generated PDF, and his/her browser opens up Acrobat or xpdf, and prints > from that application to their local machine. > > Is that a reasonable way to implement this? Any better ideas? > > Paul > > -- > Paul M. Foster I'm using fpdf to generate a pdf that is displayed in a seperate window for review prior to printing...sort of like a print preveiw. If you can set the webserver to process .pdf files through php it will display in the adobe reader plug in and all the client has to do is hit print. www. fpdf .com Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php