Thanks Aashish ,
What i was trying to rememmer was the system variable _Pecopies but what i want to avoid was the reprocessing of the report maybe setting something directly on the printer. But Maybe i'm making things more difficult than they really are as always :-)
>Hi Alessio,
>
>
>FOR i = 1 TO thisform.NumberOfCopies
> PRINTJOB
> IF ! THISFORM.LABEL
> REPO FORM (THISFORM.reportfile) TO PRINT PROMPT NOCO
> ELSE
> LABEL FORM (THISFORM.reportfile) TO PRINT PROMPT NOCO
> ENDIF
> ENDPRINTJOB
>NEXT
>
>
>
>Or
>Looping in PRINTJOB-EndPrintjob to print multi copy of the report.
>The value of the system variable _PCOPIES determines the number of copies. When the number of copies printed equals the value of _PCOPIES, Visual FoxPro exits the loop. Program control then begins with the command immediately following ENDPRINTJOB.
>
>
>_PCOPIES=3
>PRINTJOB
> IF ! THISFORM.LABEL
> REPO FORM (THISFORM.reportfile) TO PRINT PROMPT NOCO
> ELSE
> LABEL FORM (THISFORM.reportfile) TO PRINT PROMPT NOCO
> ENDIF
>ENDPRINTJOB
>
>
>
>
>>I don't remember what to do to set the number of copies of a report I want to print.
>>Thank you
>>Alessio