Page Break - Problem

I’m having some problems with page breaks. I open a dialog box from a view to act as a print preview of that document. The dialogbox contains a table with fields, subforms and 2 Rich text fields. In the QueryClose event I have the following code:

Sub Queryclose(uidoc As Notesuidocument, Continue As Variant)

Dim workspace As New NotesUIWorkspace

Dim doc As NotesDocument

Dim rtitem As NotesRichTextItem

Set uidoc = workspace.CurrentDocument

Set doc = uidoc.Document



If Not uidoc.DialogBoxCanceled Then

 For x = 1 To 2 

     	Set rtitem = New NotesRichTextItem(doc, "Break" &  x)

     	Call rtitem.AddPageBreak

     Next

	Call Source.Print(1)

End If  

End Sub

The page breaks are being added to the two rich text fields, however, when printed the page breaks are not functional. Can someone shed some light on this?

Thanks,

Tim