[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Server side printing of HTML generated by ASP at scheduled time

Posted on 2004-08-10
3
Medium Priority
?
145 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

656 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