Send to port

Command groupFlag affectedReversibleExecute on clientPlatform(s)
Report destinationsNOYESNOAll

Syntax

Send to port

Description

This command directs the report output to the currently selected port. The report is sent as a stream of text with the appropriate line terminators. The port is selected with the Set port name command.

If you use Send to port in a reversible block, the report destination reverts to its former setting when the method terminates.

Example

If
 
platform
()=
'X'

  
Set port name
 
2 (Printer port)
 
## Mac OSX

Else
  
Set port name
 
COM2:
 
## Windows & Linux

End If
 
Send to port

Set port parameters
 
9600,n,70,0

Print report