Description

The RESETPAGE Message is used to reset the page number to 1 when using 'P' in the header option.

Parameters

N/A

Example

* The following example shows how to use the RESETPAGE message.
declare function Set_Printer
 
spStatus = Set_Printer("INIT")
spStatus = Set_Printer("HEADER","Page: 'P')
 
for i = 1 to 300
    spStatus = Set_Printer("TEXT","OpenInsight 7.2 RESETPAGE Example.")
next i
 
spStatus = Set_Printer("PAGEBREAK")
spStatus = Set_Printer("RESETPAGE")
 
for i = 1 to 200
     spStatus = Set_Printer("TEXT","OpenInsight 7.2 RESETPAGE Example.")
next i
 
spStatus = Set_Printer("TERM")
  • No labels