By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,700 Members | 1,663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,700 IT Pros & Developers. It's quick & easy.

Printing from within JavaScript

P: n/a

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
Share this Question
Share on Google+
2 Replies


P: n/a


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

P: n/a

"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.