ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Print a webpage from JavaScript without the print dialog?

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS
View previous topic :: View next topic  
Author Message
tryme



Joined: 04 Mar 2005
Posts: 1

PostPosted: Fri Mar 04, 2005 1:53 pm    Post subject: Print a webpage from JavaScript without the print dialog? Reply with quote

Hi,

I'm looking for a way to print a web page from JavaScript without showing the print dialog. I tried the window.print JavaScript function, but it always shows the stupid printing dialog.

Is there a way to send the page directly to the printer avoiding the print dialog?



Thanks
Back to top
View user's profile Send private message
paul



Joined: 11 Oct 2004
Posts: 128

PostPosted: Thu Mar 10, 2005 9:44 am    Post subject: Reply with quote

I know how to do that, but only for IE 5+. Check the following:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnscrpt/html/dhtmlprint.asp
_________________
World Countries | Survival Skills
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial