Opencomm - Monarch 9460 Programmer's Manual

Adk printer
Hide thumbs Also See for 9460:
Table of Contents

Advertisement

O P E N C O M M
Purpose
Opens either the primary or secondary communications port. The port stays open
until it is closed with CLOSECOMM.
Syntax

OPENCOMM

Process
The OPENCOMM command opens the communications port referenced by
commport
Timeout
data during a GET or FETCH. If a timeout occurs, control passes to the GET or
FETCH invalid label. A
Commport
Example
This example opens the primary communications port, and times out after 120
seconds.
OPENCOMM #1, #120
See Also
CLOSECOMM
5-64 Command Reference
commport
(1 for the primary port or 2 for the secondary port).
defines the length of time (0-255, in seconds) that the printer waits for
and
timeout
must be numeric and can be one of the following:
Commport and Timeout
INPUT
Logical Field Name (PR1)
Logical Field Name
(TEMP1)
Logical Field Name (LU1)
Number
timeout
,
timeout
of 0 means the port waits indefinitely for data.
Description
Input Buffer
Printer Buffer Field
Temporary Buffer
Field
Lookup Buffer Field
A number prefixed by
a pound (#) sign.

Advertisement

Table of Contents
loading

Table of Contents