Page Control - shairontoledo/rghost GitHub Wiki
It goes to the next page and resets the cursor values(recommended).
doc=RGhost::Document.new
doc.show "Page 1 row 1"
doc.next_page
doc.show "Page 2 row 1"
doc.next_page
doc.show "Page 3 row 1"
It goes to the next page without resetting the cursor values. Often used for single page documents.
doc=RGhost::Document.new
doc.show "Page 1 row 1"
doc.showpage # page 2, but internally page 1
doc.show "Page 1 row 1"
doc.showpage # page 3
doc.show "Page 1 row 1"