Disable print dialog in Mozilla

Posted on 2003-02-23
Medium Priority
Last Modified: 2008-02-01
Does anyone know if it is possible to disable the print dialog in Mozilla (linux)?

When i print a webpage from mozilla i always get a print dialog asking which printer to use and how many pages it should print. Is there a way to disable this screen?

I want the webpage to be printed without any questions asked...
Question by:euroxs
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
LVL 15

Expert Comment

ID: 8006088
To the best of my knowledge there is no way to do this.

It is a security feature, Imagine how marketeers would just love to spend your paper and ink by printing hardcopy adverts out of a page you visit.

best JakobA

Author Comment

ID: 8007526
I can imagine that, but in my situation, I am using mozilla as part of a kiosk-system. And I don't want people to see this screen. It is possible with IE (using vbscript), so my guess is Mozilla can do it too...

I have found 2 files, printdialog.xul and printdialog.js in the mozilla toolkit.jar, maybe it is possible to change them? Does anyone have any experience maybe with these files?
LVL 15

Accepted Solution

JakobA earned 320 total points
ID: 8008977
You could do it with a singned (and accepted) Java-plugin. Not a minor task though, so lets hope someone knows a better way.
LVL 27

Expert Comment

by:Asta Cu
ID: 9050055
Please return to this question and update/finalize it.  If you've been helped, please select the comment which served you and grade it to award points and close this question.  You can split your points and award more than one expert if more than one was instrumental in helping you.

If more is needed, please let us know.  

If you need help from Community Support for special handling here's that link, along with "helpful hints" on questions here:

In the event this question remains unresolved, and inactive by mid August, 2003, I will be asking a Moderator to finalize this.  EXPERT INPUT REQUESTED to determine the outcome here, if Asker does not finalize this.

Thank you,
":0) Asta
LVL 27

Expert Comment

by:Asta Cu
ID: 10355609
No comment has been added lately (196 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to JakobA http:#8008977

Please leave any comments here within 4 days.

-- Please DO NOT accept this comment as an answer ! --

EE Cleanup Volunteer

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

770 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