Pagination using DoCmd.OutputTo and acFormatRTF

R

RMarmion

I am creating a report from within MS Access, using a DoCmd.OutputTo and
requesting the RTF format. When it prints, the pagination is wrong. Mostly
what happens is that the page spills over to the top of the next page, then
the page footer "Date" and "Page i of n" is printed immediately below the
spillover printing, then the report then the printing resumes on a new page.
Occasionally I get lucky and the page actually prints on a page.

If I run the report natively (i.e. not in RTF format) and let it print out
to the printer or preview screen, it formats correctly. If I use OutputTo
and request SNP format, it also formats correctly.

I've tried fiddling with all sorts of settings, and nothing seems to fix the
problem. Is there a special setting I need to have?

Thanks, - Rob
 
Top