If these reports are included in application and could not be changed by user, one time would be enough. Clear only printer specific information in Expr field and completely clear Tag and Tag2 fields.
>Dear Vlad,
>
>Thanks for your reply,
>
>Do I have to clear these fields everytime I want to print the report. Or one time is enough. If I have to do everytime, I'll appreciate if you can suggest a solution, as I'm using this system in multiuser environment.
>
>Tks,
>Shaishav
>
>>Hi!
>>
>>Clear the Expr field in the first record of the report file opened as a usual DBF. Probably this can help. THere is also an option "PROMPT" for REPORT FORM command where you can specify all options you want. Finally, I beleive the entry in the Expr field of report can also tell printer to print only range (just open report for editing, open Page Setup dialog, specify options you need, save report, then open it as DBF and see what is written into the Expr field).
>>
>>Clearing Tag and Tag2 fields also might be required.
>>
>>HTH.
>>
>>>Hi everyone,
>>>
>>>I'm trying to Print a range of pages and not the whole report. I used RANGE option in REPORT FORM command;
>>>
>>>REPORT FORM
RANGE RNG1,RNG2 TO PRINTER
>>>
>>>I also used _PBPAGE and _PEPAGE variable;
>>>
>>>PRINTJOB
>>>_PBPAGE=RNG1
>>>_PEPAGE=RNG2
>>>REPORT FORM TO PRINTER
>>>ENDPRINTJOB
>>>
>>>In both the options it keeps on printing all the pages. Can anyone help me solve this problem.
If it's not broken, fix it until it is.
My Blog