Thanks, unfortunately its going to be javascript (yak): <SCRIPT Language="Javascript">
/* This script is written by Eric ([EMAIL PROTECTED]) For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use, visit dynamicdrive.com */ function printit(){ if (window.print) { window.print() ; } else { var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; document.body.insertAdjacentHTML('beforeEnd', WebBrowser); WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; } } </script> -----Original Message----- From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 04:17 PM To: Ash Singh; '[EMAIL PROTECTED]' Subject: Re: Submit button to print form and then submit > > Hi, > > I am designing a form using cgi and when the user clicks the submit button, > the form must print to the users local printer and then submit. > > Thanking you in advance > > You are talking client side, and most likely are going to need something like Java, Flash, ActiveX, etc. I love it, we have this wonderful thing called the internet, and yet people still want to print their e-mails.... http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>