Can the margins be set like this as well ?
We have different margin settings on every machine, and users are always
complaining that some get page overflows and some don't (on the same
source pages).

Cheers
Andrew

-------------------------------------------------
Author:  John Reed <[EMAIL PROTECTED]>
 
Body:  Brian,

Something like this what your after?

// This example shows a page that modifies its title before printing
// and then resets it to its original value after printing.

var originalTitle;

<script for=window event=onbeforeprint>
originalTitle = document.title;
document.title += " - Printed by #session.stEmployee.firstname#
#session.stEmployee.lastname#";
toggle(hideForPrinting);
</script>

<script for=window event=onafterprint> 
document.title = originalTitle; 
toggle(hideForPrinting);
</script>


We use something similar to this to hide the header, footer to print and
display them again after printing.

Cheers,

John


 

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to