Solved

Printing without confirmation dialog

Posted on 2006-11-10
5
263 Views
Last Modified: 2012-08-14
I'm building a web application that needs to automatically print out a form when a certain page is loaded.  I've found a bazillion references to printing without the confirmation dialog, but IE6 with SP2 has closed up that hole.

The good news is that the web page is only ever going to print off on one computer ever and I have access to that computer.  I can install anything I want on it and change any preference I want, so this can be a very narrow solution.

So, is there a way that you guys can think of that will let me print without the confirmation dialog?  I just tried this technique (http://www.quirksmode.org/js/print.html) on Netscape 6.2.3 and it still gave me the dialog.

The computers are being ordered through Dell, so I'm assuming that XP with SP2 will automatically be installed on them.
0
Comment
Question by:jerf100699
[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
  • 2
5 Comments
 
LVL 14

Expert Comment

by:p_partha
ID: 17916271
You can try this coe:

http://www.spaanjaars.com/QuickDocId.aspx?quickdoc=243

or you can try opening word and print it from there

Partha
0
 

Author Comment

by:jerf100699
ID: 17916477
Thanks, but that's the same method I had in the above link.

I can't open word.  I want the page to load, then for the print job to be automatically sent.
0
 
LVL 9

Accepted Solution

by:
alkisg earned 500 total points
ID: 17916737
You may:
1) Put the specific site in the trusted sites zone
2) Call printing as usual
3) Put jscript code that uses SendKeys to automatically press the [OK] button

0
 

Author Comment

by:jerf100699
ID: 17917472
Yup - that did it.  Thanks!
0
 
LVL 9

Expert Comment

by:alkisg
ID: 17917511
Wow, you're good! I didn't have time to write the actual code at the time and I thought you'd ask for details!!! :-)

Regards,
Alkis
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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)
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

733 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