Rafal,
Why not give the users a dialog that lets them select the print range relative to their data instead of some set of arbitrary page numbers?
>How can I Print only selected pages for example from 3 to 10 in Visual FoxPro 3.0. In FoxPro I can use REPORT FORM .... [RANGE nStartPage [, nEndPage]]. How can I do somthing like this in 3.0
>