Click to See Complete Forum and Search --> : Improving Mozilla printing


rdeschene
03-02-2002, 02:28 PM
- trying to get Mozilla to print out pages the way we want: no text going off the side or end of the pages, and headers/footers being printed.

(1) went into YaST2, printer configuration, skip to printers, select lp and Edit it's settings. Page size had been set to A4, so set to letter. Test page printed out perfectly, so hit Next and then Finish button. lp is the default and the ONLY printer setup in YaST2 (I do only have one printer available, after all).

Now text doesn't go off the bottom of the page, but I can't see headers/footers.

(2) download and upgraded apsfilter RPM from www.suse.com (http://www.suse.com) Improved nothing.

(3) edited the following line in /usr/lib/mozilla/defaults/pref/unix.js

pref("print.print_headerfooter_gap", 320); // twips

value had been 120, changed to 320, and can now see the header/footers printed out.

(4) so that the print settings from one window carries over to other browser windows also, edited /usr/lib/mozilla/defaults/pref/all.js

pref("print.use_global_printsettings", true);

Value had been false.

(5) To keep text from scrolling off the side of the page, enter into Page Setup and set scaling to 70%.

DOES ANYONE KNOW HOW TO CHANGE THE DEFAULT SCALING?

TC
03-07-2002, 01:49 AM
We had the same type of problems at work with Redhat 7.1. I installed CUPS instead and most of the concerns were fixed.
http://www.cups.org/

:)

TC

Have fun computing

rdeschene
03-11-2002, 08:09 PM
Hmmmm. I didn't think CUPS would address THIS type of thing - but I'll keep that in mind.