There's been a TON of discussion about printing lately... nice to see this
thread revived.  Some of us (count me in) would KILL for better printing.
I'm doing lesson planning software right now, and printing has been a big
pain in my... well anyway, I did come up with a solution, based on an idea
that Scott Raney posted a while back...

Essentially, I created a template stack with one non-scrolling field, with a
fixed line height.  I then created a script that puts your text info into
the field, decides if it's more than one page, and then automatically
scrolls the proper amount, printing each page in the process.  This involves
generating enough return spaces at the end of the field so that the last
page is not duplicate information from the second to last page, AND so that
it doesn't print a blank last page.  What fun!

I've posted the script and other info to a web page, if anyone wants it.
It's not real versatile... essentially, you fill a variable with whatever
text you want and then put the variable in the field.  And it will handle
htmlText, though if you try to use a font size larger than 16 it looks like
crap (because the line height has to be fixed).  But it's working great for
me.  It's also worked on my PC, but I think this is probably luck more than
anything else... I haven't been able to test it on Windows on a wide variety
of printers yet.  Oh yeah, and it's a somewhat ugly hack... but I haven't
had much formal programming (one course in BASIC back in the 80's).

Anyway, if anyone wants it, it's posted on the following page:

http://www.coolclassroom.com/metascripts.htm

Reply via email to