How do I automatically print the results of an HTML FORM?
- 1
- Add a Comment
- No Related Post
Dave, I remember reading your book Creating Cool Web HTML 4 Web Pages and seeing a sample about a sub shop where online customers could order sandwiches…
Can you help me find a script that will take FORM information and upon submit, send it directly to a network printer? This is for a local courier service I am building a site for and I would like to offer them real time, print outs of web based delivery orders.
Hmmm…. I’m not sure that you actually want a form on your Web site that feeds directly to a printer since I would worry that it could be abused and you could end up wasting reams of paper and having a hard time finding the legitimate courier orders in the piles.
An alternative approach would be to have all the requests queue up in some sort of rudimentary database then have a simple review procedure where someone could eyeball each entry and, if they’re valid and legit, print them and distribute them as a courier work order.
However, that’s not what you asked me, so let me solve the problem you posed. I would create a form that…
Continue reading at Ask Dave Taylor

One Comment
Dave Bean
October 6th, 2008
at 8:42am
I think that being able to print a form would be very useful. There is window.print() which prints the entire page, but can’t seem to find the syntax to just print the form.