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 Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can VBScript print a file w/out the print dialog?

Status
Not open for further replies.

bosuch

Programmer
Oct 22, 2003
4
US
I written an asp/vbscript page that the client uses to query our server and automatically download several .xml files to their local system. These are reports that our system automatically generates. Now they want the page to also automatically print the files downloaded, and that's where I run into problems...

I've found a couple ways to print a local file (like printing via it's registered application and a shell command in the windows scripting host) but all of them pop up the print dialog box, and they want it to be transparent to the user; no dialog box...

I've also been able to just write straight to the printer with the file system object (with no prompt), but then the page isn't all nicely formatted like you would see xml in a browser window.

Any ideas? Thanks!

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top