Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server Side Printing

Status
Not open for further replies.

ivow

Programmer
Aug 6, 2002
55
CA
Hi All,

I was wondering if I could have ASP (or maybe VBScript) send a completed
form to my server's default printer, everytime it is submitted. I already
have it being e-mailed but we also have the need for a paper copy
automatically?

Is there a way to do this?

TIA

Ivo
 
Yes, it is possible. You should use Scripting.FileSystemObject and WScript.Network objects. The Network object should be used to open a printer connection, and the FileSystemObject - to create an output file that will be sent to the printer. You will also need to create a "generic" network user that will have an access to the printer; otherwise, you will have to pass your (or your colleagues') user ID and password every time you print your form.
I don't have a code to display a sample, but you will probably find plenty of information on the web.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top