Click to See Complete Forum and Search --> : css and printing
Decebal
08-18-2005, 09:29 AM
I would like to use @media print for certain options. Two questions:
1. Is it possible to use a grey background on a black and with printer and a coloured background on a colour printer?
2. Is it possible to tell the printer to print in landscape?
Siddan
08-18-2005, 10:29 AM
I doubt that is possible.. it is all user settings from the installed printer.
Best solution in I can think of is to make two pages, one colored and one B/W so the user can select one of those options..
for landscaping, that is an internal control from the user with the printer. Just make a suggestion that this page is landscaped
Decebal
08-18-2005, 11:22 AM
I was afraid for that. :mad:
Thanks anyway.
felgall
08-18-2005, 05:55 PM
Why not set up using a colour combination that looks reasonable when converted to greyscale.
Decebal
08-19-2005, 01:48 PM
Why not set up using a colour combination that looks reasonable when converted to greyscale.
They like to have yellow on screen. That does not convert well.
Decebal
08-19-2005, 01:55 PM
At the moment I have something like the following:
@media screen {
table.asiel tr.d0 td {
background-color: #FCF6CF;
}
}
@media print {
table.asiel tr.d0 td {
background-color: #999999;
}
}
Is there a possibility that with javascript I can tell that the print color becomes the same as the screen color? When using different css, you get an 'accident' waiting to happen.