Solved

Window.Print using Javascript for disabling Print to file option

Posted on 2007-03-20
2
1,756 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

930 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

15 Experts available now in Live!

Get 1:1 Help Now