<html>
<head>
<style>
@media print {
body *{
display: none;
}
.toPrint{
display: block !important;
}
}
</style>
</script>
</head>
<body>
<div class="toPrint">
<font color="red">
<table border="1" bgcolor=#f0e68c>
<tr>
<td>1</td><td>1</td><td>1</td><td>1</td>
</tr>
<tr>
<td>1</td><td>1</td><td>1</td><td>1</td>
</tr>
<tr>
<td>1</td><td>1</td><td>1</td><td>1</td>
</tr>
<tr>
<td>1</td><td>1</td><td>1</td><td>1</td>
</tr>
</table>
</font>
</div>
<br>
<input type="button" value="Print" onclick="window.print();" />
<table border="1" bgcolor=#f0e68c>
<tr>
<td>2</td><td>2</td><td>2</td><td>2</td>
</tr>
<tr>
<td>2</td><td>2</td><td>2</td><td>2</td>
</tr>
<tr>
<td>2</td><td>2</td><td>2</td><td>2</td>
</tr>
<tr>
<td>2</td><td>2</td><td>2</td><td>2</td>
</tr>
</table>
<br>
</body>
</html>
хм,что-то я не понимаю,в теории ведь на листе должна отобразиться первая таблица,а выводиться пустой лист