I noticed something odd in testing the code available on
macromedia.com on how to print the entire contents of a datagrid.
It works if you leave the default printer settings alone, but if you
change to have the report printed landscape-wise, it doesn't work
anymore. It stops at the point where you can see up to on the
screen and doesn't print past that...
Also...is there any way to change the font size when printing a
datagrid? I have the fontWeight style set to bold for all contents
of my datagrid, which is relatively wide, and when I print the
datagrid using the script, the font is rather large on the page and
the columns, when the print job shrinks the column width to fit it
to the paper width, the contents in some of the cells is too large
and is replaced with a vertical scrollbar, making the report
illegible for some of the cells. I've tried added a setStyle
("fontSize", 6) call before the pj.send() is called and then
resetting the fontSize afterwards and I see it visually happening on
the screen, but it holds no bearing on what's sent to the printer.
Just was wondering.
Thanks,
Rob