Are you using something like ASP or PHP, or would it have to be just client-side javascript?
You could have a frameset with two frames in, one taking up 100% and the other taking up 0%. When you click the submit button, it would redirect the 0% frame to a page with a series of things like this in:
<script>document.write(parent.100-percent-frame-name.nameofaform.nameofacontrol.value);</script>
... then it'd load the new page and use information from the other page to make it up.
You'd then do this inside the invisible page:
<body onLoad ="document.print();">
so that once it's loaded, it'll print the document.
I'm presuming you have a basic knowledge of JavaScript, but if this doesn't quite work (i haven't tested it!!) feel free to email me and I'll make a fully working example and zip it and send it to you
[email protected]
good luck!
Enter your message below
Sign in or Join us (it's free).