Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Example

 
Code Block
* 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)