Command group Flag affected Reversible Execute on client Platform(s)
Reports and Printing YES NO NO All


Print report from disk {file-name}


This command prints the contents of the specified disk file to the current report destination. The specified file must contain output generated using the Disk printing device.


Calculate lFileName as con(sys(115),'myreport.rep')
Set report name rMyReport
Do $cdevice.$assign(kDevDisk)
Do $prefs.$reportfile.$assign(lFileName)
Print report
Close print or export file
Send to screen
Print report from disk {[lFileName]}