Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Break help

Status
Not open for further replies.

kposey

Programmer
Mar 23, 2001
14
US
I have a text file with numerous records back to back that I'm parsing, but i need to insert a 'page break' after each record so that when i print, each record prints on its own page. Does Word 97/2000 use a special ascii character which it interprets as a page break, or is it part of some macros in the program?
I'm writing the parser/formatter in C++(due to my inexperience in perl), and im hoping that there is an easy answer. -kposey
 
I didn't check if there is an ascii code for this character but theres always this word vba code:

Selection.InsertBreak Type:=wdPageBreak

Assaf
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top