Shaishav,
The simplest way would be to put all the information into a single 'report cursor'. You would add a group to the report on (for example) the invoice number, so all details for a given invoice would print together. The report writer will let you choose to break each group and start a new page or continue from the present page.
If you are using a filter or 'next n' in your report command, printing from inside the preview may not work correctly. If you are printing all records from a report cursor there will be no problems.
HTH
Barbara
>Hi Everybody,
>
>I've developed an application using VFP6. We are printing a few reports like Invoice, Salesnotes and P.O. printing. Each report prints an Invoice etc..
>
>If I select 2 records for printing it shows correctly in Preview, but when I select Printer, it only prints first record.
>
>Also, after printing each page It ejects the Page. Eventhough, I gave _peject = "NONE", or NOEJECT, in my command line.
>
>How do I control Page Eject.
>
>
>
>TIA.