For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > February 2007 > Print tables with cell background colors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Print tables with cell background colors
Eric Layman

2007-02-07, 9:58 pm

Hi,

I have a table with coloured cells. I want to print out the table via IE
with the coloured cells.

But the outcome of the table does not have the cells coloured.

Are there ways to force out the colouring of the cells in the print outs?

(Either via php/asp/css or any means)

Please advise.

Thanks



Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Jonathan N. Little

2007-02-07, 9:58 pm

Eric Layman wrote:
> Hi,
>
> I have a table with coloured cells. I want to print out the table via IE
> with the coloured cells.
>
> But the outcome of the table does not have the cells coloured.
>
> Are there ways to force out the colouring of the cells in the print outs?


No. Browser user preference setting.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Evertjan.

2007-02-08, 3:58 am

Eric Layman wrote on 08 feb 2007 in
microsoft.public.inetserver.asp.general:

> I have a table with coloured cells. I want to print out the table via IE
> with the coloured cells.
>
> But the outcome of the table does not have the cells coloured.
>
> Are there ways to force out the colouring of the cells in the print outs?
>
> (Either via php/asp/css or any means)
>
> Please advise.
>


Not a ASP Q.
[unless you would like to print on serverside,
in which case there is no browser involved]

Please do not crosspost in unrelated NGs.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Siggi Árni

2007-02-11, 6:58 pm

On 2007-02-08 19:21:21 +0000, "Eric Layman" <namyalcire[at no
spam]gmail.com> said:

> Hi,
>
> I have a table with coloured cells. I want to print out the table via IE
> with the coloured cells.
>
> But the outcome of the table does not have the cells coloured.
>
> Are there ways to force out the colouring of the cells in the print outs?
>
> (Either via php/asp/css or any means)
>
> Please advise.
>
> Thanks
>
>
>
> Posted Via Usenet.com Premium Usenet Newsgroup Services
> ----------------------------------------------------------
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----------------------------------------------------------
> http://www.usenet.com



The user has to turn on background printing in their browser.
It is off by default in all browsers.

--

S.

OmegaJunior

2007-02-11, 6:58 pm

On Sun, 11 Feb 2007 22:48:45 +0100, Siggi Árni <siggi_arni@yahoo.com>
wrote:

> On 2007-02-08 19:21:21 +0000, "Eric Layman" <namyalcire[at no
> spam]gmail.com> said:
>
>
>
> The user has to turn on background printing in their browser.
> It is off by default in all browsers.
>


You could of course output the data as a marked up pdf. Then the print
probably will show the colours.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com