Firefox printing transparency

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Firefox printing transparency

Post by Ambush Commander »

It appears that Firefox does not support the printing of transparent elements. However, I've run into trouble where a PNG image, with black text over a transparent background, prints out black because that's what Firefox picks to fill in for the transparent pixels.

Does anyone know how to reliably convert images to a format where their background will print white if transparency is not supported?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I haven't had an issue where fully transparent pixels printed in PNG images that I'm aware of. Maybe it's a quantizing (of the transparency) effect?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Seems unlikely.

Anyway, if you want to see this effect in action, try printing this image (use PDF printer or something to save ink):

https://bugzilla.mozilla.org/attachment.cgi?id=112972
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Anyone know? :-( It's really bugging me.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

I could be nasty and say something about using Opera. ;) I just tried it with Opera and it printed just fine. Also printed out a page that used PNG overlays with transparencies and the images were printed through the transparent areas of the PNG.

So if you need that ability you could try using Opera 9.10.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Hmm... I'll keep that in mind when I print out things. What I'd much rather do, however, is figure out how to reliably get these PNGs to work through some background color setting or something.
Post Reply