1. CGI Printing

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"?

new topic     » topic index » view message » categorize

2. Re: CGI Printing

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu