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

launching print preview dialog box in firefox

P: 11
Hi,
I have read all questions in this site which relate to this question (i.e. how to launch the print preview dialog box in firefox browser using onclick() event on a button), and found out that it is IMPOSSIBLE to do such thing directly, however, some of people here say you must use css with open pop up and customize the look, but I do not want to do such thing, takes a lot of time and kinda difficult ..
IS IT REALLY IMPOSSIBLE to do so with firefox browser ?
Feb 24 '10 #1
Share this Question
Share on Google+
1 Reply


gits
Expert Mod 5K+
P: 5,390
in case it is for a public page ... it is not possible without asking the user for enhanced privileges ... which is not a good idea for a public page, since the user will get a message where he has to agree that your page might do things that could harm his computer and thus you cannot rely on an agreement ... in case it is a intranet-environment where you could control the mozilla-prefs-settings you might use those privileges ... and then you could use Mozilla's nsIWebBrowserPrint interface ...

kind regards
Feb 25 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.