guides:programming:programmers_reference_manual:movepages_set_printer_message

MOVEPAGES Set_Printer Message

The MOVEPAGES message is used to move a page or range of pages to the front of a report.

Parameter
TypeDescription of Fields
Default
Start_PageIntegerThe starting page number to be moved.Null
End_PageIntegerThe ending page number to be moved.Null
To_FrontBooleanIf true will move the specified range to the front of the report.False


Note: When moving a single page, the Start_Page and End_Page parameters should contain the same value.|

* The following example shows how to use the MOVEPAGES message.

declare function Set_Printer

 

* Move Pages 5 and 6 to the front of the report.

start_page = 5

end_page = 6

to_front = 1


stat = Set_Printer("MOVEPAGES",start_page,end_page,to_front)

 

 

* Move Page 7 to the back of the report.

start_page = 7

end_page = 7

to_front = 0


stat = Set_Printer("MOVEPAGES",start_page,end_page,to_front)

 

* Move Page 7 to the front of the report.

start_page = 7

end_page = 7

to_front = 1


stat = Set_Printer("MOVEPAGES",start_page,end_page,to_front)
  • guides/programming/programmers_reference_manual/movepages_set_printer_message.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1