1. CGI Printing
- Posted by rswiston at hotmail.com Jun 25, 2003
- 435 views
I am working on a web application that must be able to print 1-1000 documents (depending on the job). I can program the CGI great to interact with SQL server. But does anyone know how to program the CGI script to print the formatted (position, font size, etc) document to a printer connected to the "local" machine and not the "server"?
2. Re: CGI Printing
- Posted by irvm at ellijay.com Jun 26, 2003
- 427 views
On Wednesday 25 June 2003 05:00 pm, rswiston at hotmail.com wrote: > > > I am working on a web application that must be able to print 1-1000 > documents (depending on the job). I can program the CGI great to > interact with SQL server. > > But does anyone know how to program the CGI script to print the > formatted (position, font size, etc) document to a printer connected to > the "local" machine and not the "server"? Are you talking about an intranet, or the internet? If it's an intranet, and the user's printer is shared, then the main problem will be how to determine the name of the device to print to. If it's the internet, then I suspect you'll have to create either a web page or a pdf file, and send that back to the user's browser. From there, they can print it, or you could put some javascript on the web page to do that automatically. Irv