|
|
 |
| Other Programming Languages If you have a coding issue to discuss about another language that really isn't provided for in any other forum here (not ASP.NET C#, C++, VB, PHP, JavaScript, Python, Java, Perl, Applescript, XML or any of the other forum topics we have), post it here. Enough discussion on a language we don't have covered could prompt a new forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Other Programming Languages section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

July 30th, 2008, 12:58 AM
|
|
Authorized User
|
|
Join Date: May 2005
Location: , , .
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Problem in getting the page break in RTF file
Hi
There are control tags in RTF file according to rtf specifications like \rtf1 \ansi etc.
There is page break control word \page (or \pagebb) to indicate the page break will occur.
I have made a RTF document in which there are three pages. Still I am not getting the page break control word i.e. \page or \pagebb.
How to check when the page break occurs.
Regards
Karan
|

October 25th, 2009, 06:57 AM
|
|
Registered User
|
|
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
How to add a page break to an RTF document generated by code.
Hi
Not sure how you have laid out your code but the solution to adding page breaks is as follows:
MyFile.WriteLine("\pard \insrsid \page \par")
I use this within a data loop that writes so many lines of info , adds a page break, then writes field labels then the next lines of info, and so on until EOF.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |