Port Commands

 

Frequently-used Commands

 

Table F-2:Port Commands, cont.

 

 

 

Command

Option(s)

Description

 

 

 

 

DEFINE PORT 1 BITRONICS {EN/DIS}

When Enabled, ensures bidirectional functioning of

 

 

the parallel port. The attached printer must also sup-

 

 

port Bitronics mode.

 

 

DEFINE PORT 1 CHARACTER size

Toggles the port between 7-bit and 8-bit characters

 

 

(the default). Enter either 7 or 8.

 

 

DEFINE PORT 1 DSRLOGOUT {EN/DIS}

When Enabled, the port will be logged out automat-

 

 

ically whenever DSR is deasserted.

 

 

DEFINE PORT 1 DTRWAIT {EN/DIS}

When Enabled, the MPS will not assert DTR on the

 

 

port when it is idle (no user logins or connections).

 

 

 

DEFINE PORT 1 FLOW

CTS

Specifies CTS/RTS (hardware) flow control.

option

 

 

{EN/DIS}

Activates or deactivates the currently-configured

 

 

 

flow-control method.

 

 

 

 

NONE

Removes the current flow control settings.

 

 

 

 

XON

Specifies XON/XOFF (software) flow control.

 

 

DEFINE PORT 1 NAME “newname”

Enter a name of up to 16 alphanumeric characters

 

 

for the specified port.

 

 

 

DEFINE PORT 1

parity

Enter even, odd, mark, or space. Specifying mark

PARITY option

 

or space will change the character size to 7 bits.

 

 

 

 

NONE

Specifies that no parity will be used (the default).

 

 

DEFINE PORT 1 SPEED baudnum

Sets the port’s baud rate. Acceptable baudnum val-

 

 

ues range from 300 to /230000 (MPS)baud.

 

 

{SHOW/MONITOR} PORT 1

Displays the port’s configuration characteristics

 

 

once (Show) or continually every three seconds

 

 

(Monitor). Counters and Status keywords can be

 

 

added.

 

 

 

TEST PORT 1 option

COUNT rows

Sends an ASCII data stream to the port for the spec-

 

WIDTH cols

ified number of rows and/or columns.

 

 

 

 

POSTSCRIPT

Sends a PostScript test page to the port.

 

 

 

F-6

Page 64
Image 64
Lantronix LPS1-2, MPS100 Define Port 1 Bitronics EN/DIS, Define Port 1 Dsrlogout EN/DIS, Define Port 1 Dtrwait EN/DIS, Xon