Intermec 6100 Reference Guide

Page of 328
SECTION 5
Communications and Device Support
PEN*KEY
R
 6100 Computer Programmer’s Reference Guide    5-7
For example, to send a file to be named \DATA\DATAFILE.DAT that has a size
of 102,000 bytes, the following header would precede the file:
<DDOSFIL00001X027>F\DATA\DATAFILE.DAT S102000
It is the responsibility of the PEN*KEY 6000 Series application program to enĆ
sure that the file name specified is unique on the host.  This could be accomĆ
plished by incorporating the handĆheld computer ID as part of the file name or
path name:
<DDOSFIL00001X027>F\DATA\DATA0001.DAT S102000
<DDOSFIL00001X031>F\HH000001\DATAFILE.DAT S102000
Usage
To use PSROM0C.EXE, use the following syntax on the command line:
PSROM0C.EXE ctl–file
where ctl-file is the name of a text file containing parameters that control the
telecommunications session.  Valid parameters are described in the following
paragraphs.  Parameters that are not applicable may be omitted.
The return value from PSROM0C.EXE is a session status code.  Values for this
code are described in the Communications Log File paragraph, page 5Ć11.
COM=
Valid only if twoĆway TTY protocol is specified.  It indicates the COM port to use
for twoĆway TTY communications.  Any value can be supplied; valid values are
determined by the application (such as the DOS power management driver) that
utilizes this parameter.  (Example:  COM=4)
Default value:  1 (COM1)
CONFIG=
This is a modem command string to configure a HayesĆcompatible modem.
(Example:  CONFIG=ATE0V0Q0X4&C1&D2&M0&RS0=0)
DATABITS=
Valid only if twoĆway TTY protocol was specified.  (Example:  DATABITS=7)
Valid values:
7, 8
IPCLIENT=
Supported in PSROM0C V3.xx only.  This is the IP address of the client computĆ
er.  If this parameter is specified, the NETMASK parameter is also required.  If
this parameter is omitted, PSROM0C attempts to retrieve IP information from a
DHCP server or a BOOTP server.
IPHOST=
This is the IP address or domain name of the Ethernet host.  The value can be at
most 18 characters long.  If this parameter specifies a domain name, the
IPCLIENT parameter must be omitted because DHCP information about
domain name servers is required to resolve the host name.  For PSROM0C
V3.xx, if IPHOST and IPCLIENT are both omitted, the host name is retrieved
from DHCP if available.  Otherwise, this parameter defaults to Norand6920."
5. Communications
and Device Support