Log in

View Full Version : Friendly user printing


luckyguy79
May 9, 2003, 12:59 PM
Hope you can give me a good answer.
SOMEONE IS designing a php mail form but also needS to include a button TO PRINT THE FORM once it's been filled out by the user. The browser printing option is not the answer because the printing it does, is not nice at all and secondly, because it wouldn't look professional.

I also need to print a normal web page containing various instructions which the user will require to have printed.

Can anyone help me please?
I SUPPOSE THERE MUST BE A SCRIPT TO DO A PRINTING OF A PAGE, MANY PPL USES A BUTTON THAT SAYS FRIENDLY PRINTING OR SOMETHING ALIKE.

Thank you

Tygur
May 12, 2003, 12:58 AM
Basically, no matter what you do, it's going to be the browser that does the printing. What most people do is show a printer-friendly page with a white background and black text so that it shows up as good as possible on paper.

Here is a link to some JavaScript code to print the page:
http://www.dynamicdrive.com/dynamicindex9/other1.htm

CF_Master
Jul 23, 2003, 12:10 AM
A printer friendly page is usually a script that calls a .txt text only file to be printed. You could just make a text only page then make your button point to that page to open then print