At 04:19 PM 6/7/2004, John Day wrote:
>I have an application where I want to generate a 'printable invoice' in a separate window. Preferably I would like the browser page to not have toolbars and all that, just a simple link at the bottom that has an 'onClick' event calling the window.print() method in it. How do I set up the headers to force the output to a new window and how do I turn off all the unnecessary 'stuff' on the browser window?
Did I really say that? My brain is scrambled today. No, I want them to print it by hitting ctrl-P! I can't use the onClick without JS can i!
>I know how to do it with JavaScript, but how do I do it without using JS, I want to be as 'universal' as possible and I know a lot of my clients users have JS turned off.
>
>Their could be a list of 20 or 30 invoices on a page with a button next to each one saying 'print me'.
>
>Hope someone can help!
>
>John
>
>
>
>---------------------------------------------------------------------
>Web Archive: http://www.mail-archive.com/suppressed/
> http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
>To unsubscribe, e-mail: suppressed
>For additional commands, e-mail: suppressed
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.