General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Javascript, Print and Bgcolor
Posted by: guslinux
Date: March 10, 2007 12:56PM

Hello,

I try to print a document with a customized k-meleon web browser.
My problem is the next :
- If I print the web page using Ctrl+P the backgroud color are printed.
- If I print the web page using the JavaScript command window.print() no background color...

I have modified /defaults/profile/prefs.js :

user_pref("kmeleon.print.BGColors", true);
user_pref("kmeleon.print.BGImages", true);


thanks

edit :
I just seen that the parameters like margin, height and width defined for de page (@print{}) in the css file are not considered when the print is asked by javascript.



Edited 1 time(s). Last edit at 03/10/2007 12:57PM by guslinux.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.