Jump to content

Printer Question


Recommended Posts

javascript. they have this code in the head section on the coupon page that opens up when you click on the print link from the page you supplied:

<script language="JavaScript" type="text/JavaScript">function printWindow(){   bV = parseInt(navigator.appVersion)   if (bV >= 4) window.print()}</script>

and then in the body tag of that same page, the use the onload function

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="bodytext" onLoad="printWindow();">

edit: didn't realize you weren't asking for code, but there it is anyway, :)

Edited by thescientist
Link to comment
Share on other sites

I'm following you.I just don't know how to take command of a system's printer to print a single coupon with copies = 1, or if that's even possible. Is that possible? I could use tips for getting started on a solution for this kind of problem.Thanks,Niche

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...