Ever had a task of printing a tabbed table with each tab in a different page? As you know, there is no way of adding page break in table. Say there is a two tabbed table with the tab headings of Home and Product. Create two forms. Form one should have all the data (labels and fields) that the first tab has. Be sure that the field names and datatypes in the form are the same as that of the tab. Similarly, create form two that has all the data of tab two. Before issuing a print command from script(call uidoc.print command), put this line doc.form=first form name(of course you would use this statement before this set doc=uidoc.document)and before issuing the second print command use doc.form=second form name.
Note: you can put it in a button
dim uidoc as notesuidocument
dim doc as notesdocument
dim wkspc as new notesuiworkspace
'** start printing'''
doc.form=fist form name
doc.form=second form name