File to Print Transfers
To print the output of a transfer to the destination printer, you must specify the positional parameter /P.
FTMSCMD [parameters] /SEND /PRINT /REMOTE_PRINTER_NAME=printername file_name
The example illustrates a file transfer whose output is directed to a printer. The transfer can be in either direction (receiving a file from the remote side and printing it on a local printer, or sending a file and printing on the remote side. The specific file name depends on the way in which the transfer occurs. For example, to receive a file from the remote side and print it to a local printer, use file_name to specify the name of the remote file . You do not need to specify a local file name since the output is not written to any local file.
To send a file to the remote side and print it to a remote printer, use file_name to specify the name of the local file.
SET REMOTE_PRINTER=printername FTMSCMD [parameters] file_name
In the example, mandatory parameters are specified in environmental variables. You do not need to specify any parameters in the parameter section. However, you can specify any of the additional parameters in the parameter section or in the environmental variables.