Recupération d' un formulaire via php codé à l' impression.
Bonjour,
J'ai fait pour une association un formulaire html qui est récupéré sur une page php pour des personnes qui ne peuvent pas se déplacer et qui doivent remplir un questionnaire.
Ca fonctionne parfaitement chez moi, mais le prob c'est qu' avec l' imprimante de l' assoc, le dernier tableau arive codé à l' impresion...
Je ne comprends pas pourquoi.
Est ce à votre avis un prob d' imprimante ? Et puis-je y remédier ?
Voila le dernier tableau de récupération de la page php
(vous l'aurez compris, '.$D4.' '.$T1.' etc, sont les nom de mes champs de formulaire de la page html...)
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
| echo '<table border="5" width="700px">
<thead align="right" style="font-family:monaco; color:blue">
<tr><!-- head -->
<td>NUMERO</td>
<td>DESCRIPTIF</td>
<td>TAILLE M</td>
<td>TAILLE L</td>
<td>TAILLE XXL</td>
</tr>
</thead>
<tbody align="center" style="font-family:courier">
<tr>
<td>1</td>
<td>'.$D1.'</td>
<td>'.$T1.'</td>
<td>'.$PD1.'</td>
<td>'.$PV1.'</td>
</tr>
<tr><!-- corps 2 -->
<td>2</td>
<td>'.$D2.'</td>
<td>'.$T2.'</td>
<td>'.$PD2.'</td>
<td>'.$PV2.'</td>
</tr>
<tr><!-- corps 2 -->
<td>3</td>
<td>'.$D3.'</td>
<td>'.$T3.'</td>
<td>'.$PD3.'</td>
<td>'.$PV3.'</td>
</tr>
<tr><!-- corps 3 -->
<td>4</td>
<td>'.$D4.'</td>
<td>'.$T4.'</td>
<td>'.$PD4.'</td>
<td>'.$PV4.'</td>
</tr>
<tr><!-- corps 5 -->
<td>5</td>
<td>'.$D5.'</td>
<td>'.$T5.'</td>
<td>'.$PD5.'</td>
<td>'.$PV5.'</td>
</tr>
<tr><!-- corps 6 -->
<td>6</td>
<td>'.$D6.'</td>
<td>'.$T6.'</td>
<td>'.$PD6.'</td>
<td>'.$PV6.'</td>
</tr>
<tr><!-- corps 7 -->
<td>7</td>
<td>'.$D7.'</td>
<td>'.$T7.'</td>
<td>'.$PD7.'</td>
<td>'.$PV7.'</td>
</tr>
<tr><!-- corps 8 -->
<td>8</td>
<td>'.$D8.'</td>
<td>'.$T8.'</td>
<td>'.$PD8.'</td>
<td>'.$PV8.'</td>
</tr>
<tr><!-- corps 9 -->
<td>9</td>
<td>'.$D9.'</td>
<td>'.$T9.'</td>
<td>'.$PD9.'</td>
<td>'.$PV9.'</td>
</tr>
<tr><!-- corps 10 -->
<td>10</td>
<td>'.$CONCLUS1.'</td>
<td>'.$CONCLUS2.'</td>
<td>'.$CONCLUS3.'</td>
<td>'.$CONCLUS4.'</td>
</tr>
</tbody>
<tfoot align="left" style="font-style:italic; color:red">
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tfoot>
</table>';
?> <br />
<input name="button" type="button" onClick="window.print() " value="IMPRIMER"> |
Si j'inscrit le mot "robe" dans le premier champ (<td>'.$D1.'</td>) chez moi à l' impression j'obtiens "robe" chez eux j'obtiens "IREH" et les chiffres de 1 à 9 sont imprimés comme ça "| | | | | | | | || "
Configuration de l' imprimante ou puis-je corriger ça via ma page php ?
Par avance merci...