For an 'in your face' print dialog - the simple layout is like this:
<html>
<head></head>
<body onload="window.print();">
[content]
</body>
</html>
IF you're running JQuery and you've already got some other 'onload'
stuff going on; you could add this in your existing SCRIPT block:
$(document).ready(function() {
window.print();
});
Al Holden
--
tag/function ref: http://www.openbluedragon.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en
Get to Texas in Feb for OpenCFSummit http://www.opencfsummit.org/