If you want to preview and print a certain range of pages from the print button on the preview's toolbar use
REPORT FORM Report1 TO PRINTER PROMPT PREVIEW
It works since VFP5 SP3.
Try it! You'll be glad.
Luis
>When in preview mode, all pages are shown. Printing via the printer button on the preview menu will print all pages.
>
>I use
>REPORT FORM Report1 PREVIEW
>REPORT FORM Report1 TO PRINTER PROMPT
>
>The user previews and decides how many pages to print, then uses the Windows dialog box to specify the pages to print.
>
>You can do this in a more custom way from within VFP by making a custom toolbar.
>
>
>>I tried the following:
>>
>>report form report1 RANGE 3,5 preview noconsole
>>
>>but VFP always printed all pages. Why ?
>>
>>Anyone pls help me and thanks a lot for your help.
>>
>>Best regards,