Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


print html file

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,34589
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> print html file
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 print html file - 5/17/2006 4:34:14 AM   
  buffalokml

 

Posts: 15
Score: 0
Joined: 4/3/2006
Status: offline
Hi all,

Is there anyway, or any object that I could use vbscript to print html file?

Best Regards,
 
 
Post #: 1
 
 RE: print html file - 5/17/2006 4:51:15 AM   
  ebgreen


Posts: 5246
Score: 31
Joined: 7/12/2005
Status: offline
Look at automating Internet Explorer. You should find some examples here and lots of them through google. If you have a problem getting it working, post back here with your code and we will help you work out the kinks.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to buffalokml)
 
 
Post #: 2
 
 RE: print html file - 5/17/2006 5:55:06 PM   
  richardcranney

 

Posts: 10
Score: 0
Joined: 5/17/2006
Status: offline
Hi

This might sound daft, have you tried the "print" command?  just typing that in brings up the print dialog.

(in reply to ebgreen)
 
 
Post #: 3
 
 RE: print html file - 5/18/2006 2:56:38 AM   
  buffalokml

 

Posts: 15
Score: 0
Joined: 4/3/2006
Status: offline
Thanks so much for your respond.

I've found a work around. I actually open the html file in msword, and then use PrintOut method to print the html. However, there is timing issue if I print multiple files. I've to search to see if PrintOut method has any return value to deal with timing issue.

Best Regards,

(in reply to richardcranney)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> print html file Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts