| 20% Command group | 20% Flag affected | 20% Reversible | 20% Execute on client | 20% Platform(s) |
|---|---|---|---|---|
| Report destinations | NO | YES | NO | All |
Send to port
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.
If platform()='X'
Set port name {2 (Printer port)} ## macOS
Else
Set port name {COM2:} ## Windows & Linux
End If
Send to port
Set port parameters {9600,n,70,0}
Print report