Tabelle wird verkleinert ausgedruckt

Mojo58

Grünschnabel
Hallo,

ich habe hier eine html-datei:
Code:
<style type="text/css">
td {
    border:1px solid black;
    text-align: center;
   }

@media print 
{ 
  #link { display:none; }
}
</style>

<div id="link"> <a href="drucktest.html">zurück</a> zur Auswahl<br></div>
<div id="link"><a href="javascript:window.print()">Diese Seite drucken<br></a></div>
<div id="link">Diese Seite bitte als Querformat ausdrucken<br><br></div>
<h1>Fahrdienst Monat:  September</h1>
<table width="910" border="1" cellspacing="0" cellpadding="0" style="border:1px solid black; empty-cells:show">
<tr bgcolor=#c4c4c4>
<td width="40" height="35">Tag</td>
<td width="110">Datum</td>
<td width="110">Tour 1 Fahrer</td>
<td width="110">Tour 1 Beifahrer</td>
<td width="110">Tour 2 Fahrer</td>
<td width="110">Tour 2 Beifahrer</td>
<td width="110">B&auml;cker/Rewe Fahrer</td>
<td width="110">B&auml;cker/Rewe Beifahrer</td>
<td width="110">B&auml;cker/Rewe Beifahrer</td>
</tr><tr><td width="40" height="35">Fr</td>
<td width="100">02.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;Burns</td>
<td width="110">&nbsp;Bouvier</td>
<td width="110">&nbsp;Becker, R.</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
</tr>
<tr>
<td width="40" height="35">Mo</td>
<td width="100">05.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;Burns</td>
<td width="110">&nbsp;Flanders, W.</td>
<td width="110">&nbsp;Flanders, V.</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;Krabappel</td>
<td width="110">&nbsp;Leiß</td>
</tr>
<tr>
<td width="40" height="35">Mi</td>
<td width="100">07.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;Lerch</td>
<td width="110">&nbsp;Smithers</td>
<td width="110">&nbsp;Muns</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;Krabappel</td>
<td width="110">&nbsp;Leiß</td>
</tr>
<tr>
<td width="40" height="35">Fr</td>
<td width="100">09.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;Burns</td>
<td width="110">&nbsp;Bouvier</td>
<td width="110">&nbsp;Becker, R.</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;Krabappel</td>
<td width="110">&nbsp;Leiß</td>
</tr>
<tr>
<td width="40" height="35">Mo</td>
<td width="100">12.09.2011</td>
<td width="110">&nbsp;Becker, H.J.</td>
<td width="110">&nbsp;Muns</td>
<td width="110">&nbsp;Flanders</td>
<td width="110">&nbsp;Ulrich</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;Krabappel</td>
<td width="110">&nbsp;Leiß</td>
</tr>
<tr>
<td width="40" height="35">Mi</td>
<td width="100">14.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;Lerch + Fink</td>
<td width="110">&nbsp;Smithers</td>
<td width="110">&nbsp;May, W.</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;Krabappel</td>
<td width="110">&nbsp;Leiß</td>
</tr>
<tr>
<td width="40" height="35">Fr</td>
<td width="100">16.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;Burns</td>
<td width="110">&nbsp;Bouvier</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
</tr>
<tr>
<td width="40" height="35">Mo</td>
<td width="100">19.09.2011</td>
<td width="110">&nbsp;Muns</td>
<td width="110">&nbsp;Diba</td>
<td width="110">&nbsp;Flanders</td>
<td width="110">&nbsp;Ulrich</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;Leiß</td>
<td width="110">&nbsp;</td>
</tr>
<tr>
<td width="40" height="35">Mi</td>
<td width="100">21.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;Lerch</td>
<td width="110">&nbsp;Smithers</td>
<td width="110">&nbsp;May, W.</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
</tr>
<tr>
<td width="40" height="35">Fr</td>
<td width="100">23.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;Bouvier</td>
<td width="110">&nbsp;Becker, R.</td>
<td width="110">&nbsp;Lovejoy</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
</tr>
<tr>
<td width="40" height="35">Mo</td>
<td width="100">26.09.2011</td>
<td width="110">&nbsp;Muns</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;Flanders</td>
<td width="110">&nbsp;Ulrich</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
</tr>
<tr>
<td width="40" height="35">Mi</td>
<td width="100">28.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;Smithers</td>
<td width="110">&nbsp;May, W.</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
</tr>
<tr>
<td width="40" height="35">Fr</td>
<td width="100">30.09.2011</td>
<td width="110">&nbsp;Milhouse</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;Bouvier</td>
<td width="110">&nbsp;Becker, R.</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
<td width="110">&nbsp;</td>
</tr>
</table>
<br><br><div id="link">Bitte hier Zusatztext eingeben:</div> 
<input style='font-size:200%; color:red' name="" type="text" size="50" maxlength="50"  value="">

- ich öffne den druckdialog, egal ob über die verknüpfung oder datei->drucken
- ich wähle einen x-beliebigen drucker
- ich stelle querformat ein

und die tabelle ist gerade mal halb so groß wie die seite. wenn ich ein zweites mal, mit denselben einstellungen drucke, dann füllt die tabelle auf einmal die seite, so wie es sein sollte.

bitte druckt die seite mal aus und sagt mir ob es bei euch auch so ist. ich kann mir daraus einfach keinen reim machen.

mfg
 
Hi,

also ich hab hier grad keinen Druker angeschlossen, deshalb "Druck in Datei" (pdf).
Das ergäbniss ist immer gleich und für Hochformat auch maximal breit.

Ansonsten:
- Du sollstest alle Sonderzeichen maskieren um Darstellungspobleme zu vermeiden!

Gruß

PS: Welchen Browser hast du zum testen benutzt (bei mir Google Chrome)?
 
chrome ist der einzige browser, bei dem es nicht auftritt. probiers doch mal mit dem internet explorer (gilt auch als referenz).
ob man einen echten oder einen pdf-drucker verwendet, sollte dann auch keine rolle spielen.
 
Zurück