support page numbering in print

You can do this by setting

  advstringgrid1.PrintSettings.PageNr := ppXXXX with ppXXXX the position where you want the page nr.