Jeph Herrin wrote:
To create a number of reports I'm writing SMCL out
to ASCII files, then using the -translate- utility
with the -smcl2ps- option to create postscript.
This works fairly well, except that I would like to
insert page breaks at places as I create the SMCL files.
Obviously, SMCL doesn't need or support page breaks, I
want the PS files to break. Anyone know any tricks for
doing this?
--------------------------------------------------------------------------------
You can try the undocumented SMCL directive, {newpage}.
www.stata.com/statalist/archive/2006-07/msg00769.html
It's not perfect--you have to watch out for asynchrony with other sources of
page breaks, which causes the PostScript file's running page count to deviate
from the number of page-delimiter statements--and so it might require some
tinkering in order to get its placement just right.
Still and all, it's handy, and I use it nearly every time that I'm producing
PostScript output from Stata.
Joseph Coveney
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/