Print report from disk

Command groupFlag affectedReversibleExecute on clientPlatform(s)
Reports and PrintingYESNONOAll

Syntax

Print report from disk
 
file-name

Description

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.

Example

# Print the report rMyReport to disk and then print

# the report from disk to screen

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 OBSOLETE COMMAND
 

Print report from disk
 
[
lFileName
]