Isn't this a user selectable option, which by default is turned off (on most browsers)? My Internet explorer has an advance configuration option that enables "Print background colors and images". Don't think you can override the users selection on this. Warren Vail warren@xxxxxxxxxxxx > -----Original Message----- > From: Matt Babineau [mailto:matt@xxxxxxxxxxxxxxxx] > Sent: Thursday, June 09, 2005 1:48 PM > To: php-general@xxxxxxxxxxxxx > Subject: RE: Beautiful HTML Invoice -> Prints like > crap! I need somesuggestions! > > > Ok all - I've been playing with this print styl sheet thing. > I can get the media="print" to behave correctly, but I cannot > get table background colors set. I want to print the table bg > colors and background images. I was hoping this was possible > with CSS2. Does anyone have any input on this? I build some > diagrams using html and graphics which are on the invoice, > and I use bgcolor on my tables to show the separator lines in > the line item section with the prices and such. I don't know > how to proceed best, or if I am heading down a dead end with > this. Anyone have any more input on this? Everything I have > read so far has been very helpful and I thank you for that. > > > Matt Babineau > Criticalcode > w: http://www.criticalcode.com > p: 858.733.0160 > e: matt@xxxxxxxxxxxxxxxx > > -----Original Message----- > From: Marcus Bointon [mailto:marcus@xxxxxxxxxxxxxxxxxx] > Sent: Thursday, June 09, 2005 5:02 AM > To: PHP General > Subject: Re: Beautiful HTML Invoice -> Prints like > crap! I need somesuggestions! > > On 7 Jun 2005, at 23:46, Chris Martin wrote: > > Is a simple CSS print stylesheet out of the question? > > If the site is marked up properly, this should be trivial, and would > > be much easier/more efficient. > > CSS is definitely the way to go. Here are some good articles: > http://www.alistapart.com/articles/printyourway/ http://www.alistapart.com/articles/goingtoprint/ Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@xxxxxxxxxxxxxxxxxx | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php