http://www.perlmonks.org?node_id=925884


in reply to Re^2: CSS: @media print attributes
in thread CSS: @media print attributes

But it has nothing to do with perl :)

Its not interpreted by perl

Its not validated by perl

Its not displayed by perl

Its a browser that refuses to print the background colors because that is a feature of the browser

Its a browser user feature

You can't circumvent this browser feature

If a browser allowed random websites/htmlfiles to circumvent user features, it wouldn't be a very secure browser

Think about it

When users want to print pictures, browsers are pretty smart in actually printing pictures, maybe you want to give users a real picture (png/gif)

Replies are listed 'Best First'.
Re^4: CSS: @media print attributes
by AlexTape (Monk) on Sep 14, 2011 at 12:22 UTC
    i never conversed the argue ?! ;-) you can circumvent this with perl substitution of the pref.js temporarily during the label printing runtime. or laying down a ff profile and then invoke it with perl if you want to print a html bg. the postscript option is still the best way to go. security is not so much important because it´s for a local repository workspace in a locked environment. you´r right. it has no bearing on perl.
    $perlig =~ s/pec/cep/g if 'errors expected';