Use this command at the command prompt to send a copy of a report file from a local system to a remote system for printing.
The -c2 option specifies that this is a Send Report transfer. The report file on the local system is specified by the LOCAL_FILE_SR parameter.
If you are using a network printer, the DESTINATION must be fully qualified, including the server name and printer; for example: \\servername\printername.
Example 1:
In the following example, the XCOM62 command is used. The configuration file is MYCONFIG.CNF, the local report file sent is named MYFILE.RPT, and it is placed on HOLD status on the remote system until released by the remote system.
XCOM62 -c2 -f MYCONFIG.CNF LOCAL_FILE_SR=MYFILE.RPT HOLDFLAG=YES
Example 2:
In the following example, the XCOMTCP command is used. The configuration file is MYCONFIG.CNF, the local report file sent is named MYFILE.RPT, and it is placed on HOLD status on the remote system until released by the remote system.
XCOMTCP -c2 -f MYCONFIG.CNF LOCAL_FILE_SR=MYFILE.RPT HOLDFLAG=YES
| Copyright © 2012 CA. All rights reserved. |
|