Re: printer problem with network shared printers
| From: | Dan Shirah | Date: | Wed, 11 Jun 2008 13:51:04 +0000 |
| Subject: | Re: printer problem with network shared printers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275232@lists.php.net to get a copy of this message | ||
Kasun,
I would suggest using simple Javascript to allow them to print.
Something like:
**THE JAVASCRIPT**
<script language="JavaScript">
<!--
function printWindow() {
bV = parseInt(navigator.appVersion)
if (bV >= 4) window.print()
}
//-->
</script>
**PUT THIS ANYWHERE IN YOUR FORM**
<table align="center" border="0" cellpadding="0"
cellspacing="0"
width="680">
<tr>
<td height="13" align="right" class="tblhead"><a
href="javascript:printWindow()">Print This Page</a></td>
</tr>
</table>