?
Solved

Server side printing of HTML generated by ASP at scheduled time

Posted on 2004-08-10
3
Medium Priority
?
143 Views
Last Modified: 2010-05-18
Hello.  System is WIn2000 server, IIS 5, classic ASP, VBScript 5.6

I am trying to set up a system that will schedule an ASP script to run at a certain time of the day on the server and print of a report.

The reports is done, and the ASP script can be told to save a copy of the report to the servers file system, should I need to use VB or WSH to print it.

The report is HTML, so I want to parse the report preferably using IEXPLORE.exe.  I don't want any user interaction or dialogue boxes.

I can use the AT command to schedule something.

SO I am looking at possibly using a WSH script to run the ASP file to generate a HTML file, and then use IEXPLORE.exe to parse this file and send it to a printer.

Is this possible ?  I have got various constituent parts to this working but tieing it together is proving difficult.

Any help appreciated.
0
Comment
Question by:colly92002
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
suramsureshbabu earned 500 total points
ID: 11764728
0
 
LVL 15

Author Comment

by:colly92002
ID: 11767394
Thanks for that  suramsureshbabu, the third method described in your link looks very promising indeed.
 
I shall get back to you when I have tried it.
0
 
LVL 15

Author Comment

by:colly92002
ID: 11844729
I have ended up writing a VB program to render the output of an ASP page and send it to the default printer.

The only fault with this is that to change the printer I have to temporarily change the default printer for that job.  This is OK for the moment though.


This can easily be scheduled using standrd Windows 200 scheduler.

Points for the link because this helped me decide what I needed to do.

Thanks surmsuresgbabu!
0

Featured Post

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question