You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

The PAGEBREAK message is used to force a page break. There are no parameters for the PAGEBREAK message.

Example

 
/* The following example shows how to use the PAGEBREAK message to print ten pages with ten lines of text on each page.*/
 
declare function Set_Printer
stat = Set_Printer("INIT") ;* Start printing
for i = 1 to 10
for j = 1 to 10
stat = Set_Printer("TEXT", "Test line ":j: "Page = ":i)
next j
  stat = Set_Printer("PAGEBREAK") ;* Start new page
next i
stat = Set_Printer("TERM") ;* End printing
  • No labels