Solved

Window.Print using Javascript for disabling Print to file option

Posted on 2007-03-20
2
1,751 Views
Last Modified: 2012-05-05
Want to disable "Print to file check box" appears in Print dialog box while using window.print()
0
Comment
Question by:rajuare
2 Comments
 
LVL 63

Accepted Solution

by:
Zvonko earned 200 total points
ID: 18755610
Not possible.
All controls of the browser are out of scope for scripting because scripts are executed in a SandBox context not allowing any access out of the sand box.

0
 
LVL 1

Assisted Solution

by:BillyBoJimBob
BillyBoJimBob earned 50 total points
ID: 18757773
Zvonko's absolutely right.

Besides, anyone can simply install a print-to-pdf driver anyways.  This actually works better than the default "print to file" checkbox as it completely retains the original layout while the "print to file" option doesn't.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now