470,604 Members | 2,020 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,604 developers. It's quick & easy.

Printing from within JavaScript


I need to print a browser page and configure the print dialog settings.*
I am using the JavaScript window object with the print method
(window.print() ).* From what I understand and have read in order to
programmatically change options print dialog I must create an Active-X
object that will configure the print dialog (I only ne an IE solution).*
My guess is that this is a security feature.* Is there a way
to do this from within JavaScript (VB script would probably be similar) ?

I have searched this news group and this seems to be a standard answer,
but was wondering if any one else had any insight into the problem.

Thanks
Jul 23 '05 #1
2 1144


bentley wrote:
I need to print a browser page and configure the print dialog settings.
I am using the JavaScript window object with the print method
(window.print() ). From what I understand and have read in order to
programmatically change options print dialog I must create an Active-X
object that will configure the print dialog (I only ne an IE solution).
My guess is that this is a security feature. Is there a way
to do this from within JavaScript (VB script would probably be similar) ?

I have searched this news group and this seems to be a standard answer,
but was wondering if any one else had any insight into the problem.


Have a look at the FAQ for a link to an Active X solution for IE/Win:
http://jibbering.com/faq/#FAQ4_23
--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 23 '05 #2

"bentley" <be*****@attbi.com> wrote in message
news:pa****************************@attbi.com...

I need to print a browser page and configure the print dialog settings.
I am using the JavaScript window object with the print method
(window.print() ). From what I understand and have read in order to
programmatically change options print dialog I must create an Active-X
object that will configure the print dialog (I only ne an IE solution).
My guess is that this is a security feature. Is there a way
to do this from within JavaScript (VB script would probably be similar) ?

I have searched this news group and this seems to be a standard answer,
but was wondering if any one else had any insight into the problem.

Thanks


Have a go with ScriptX from Meadroid (www.meadroid.com). It probably covers
everything you need to do. NAYY
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Jody Gelowitz | last post: by
1 post views Thread by Starfire | last post: by
8 posts views Thread by Rob McLennan - ZETLAND | last post: by
5 posts views Thread by Mark Preston | last post: by
12 posts views Thread by Alex Clark | last post: by
6 posts views Thread by Jason Wilson | last post: by
3 posts views Thread by Jlcarroll | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.