Solved

Window.Print using Javascript for disabling Print to file option

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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)

717 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