Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Mozilla printing with no dialog box

Posted on 2004-03-30
4
Medium Priority
?
490 Views
Last Modified: 2013-12-15
I have a need to print some web pages from mozilla without the print dialog box showing up. Preferably just click a graphic button that I place on a web page and the page gets sent directly to the printer. I am runnning Red Hat 9. Please Help.

Thanks
Cal
0
Comment
Question by:calzone
[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
4 Comments
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10727849
" I have a need to print some web pages from mozilla without the print dialog box showing up."

Um, could you explain why? The reason I ask is that there really isnt any reason why mozilla programmers would implement this feature. Perhaps you have a problem which actually requires a different solution? If you dont the answer is - download the mozilla source code and program your own features, or pay a programmer to do it.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10731421
You can add JavaScript to print a page, but it will always display the print dialog. Printing without confirmation has two problems:
You would receive advertisements printed directly on your printer. No more pop-up adds, they would directly be printed. Not something I would appreciate very much...
Also, you assume that you only have one printer. I have multiple print queues to multiple printers. Most of the time when I "print" a web page, I just convert it to PDF and store it, other times I actually need a paper copy, so I select a real printer. Your mechanism to automatically print would not be able to give me this choice.
So, printing automatically without a confirmation dialog may seem like a good idea, but if you think about the implications, it's not.
0
 

Author Comment

by:calzone
ID: 10740661
Sorry, I should have explained myself better. I am using mozilla on a self contained kiosk for the purpose of displaying a few web applications. The user will not have access to the outside web world. There will be no popups and a single printer to which printing will occur. Thank you both for your input. I actually did end up solving this problem yesterday. I was able to alter one of Mozilla's .js files inside of one of the .jar files. I added a few lines of code and it works like a charm.

Calvin
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 10791216
Closed, 400 points refunded.
Netminder
Site Admin
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

618 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