Background color and print
Posted by: guslinux
Date: March 09, 2007 01:46PM

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/09/2007 01:55PM by guslinux.

K-Meleon forum is powered by Phorum.