What is a Profile [ Configuring Systems for Terminals, Printers, and Other Serial Devices ] MPE/iX 5.5 Documentation
Configuring Systems for Terminals, Printers, and Other Serial Devices
What is a Profile
A profile is a grouping of device connection specifications and
characteristics that can be associated to devices. Profiles can be
associated to terminals, printers, PAD terminals and printers, and UPSs.
The sample configuration file on the HP 3000 Series 900 supplies several
terminal and printer profiles for use. You may also create your own
profiles.
The tables at the end of this chapter, list terminal and printer profiles
supplied by the HP 3000 Series 900, respectively.
Profile Name
Each profile is identified by a profile name.The name can be up to eight
characters long and must start with a letter followed by letters and
numbers. At any one time, up to 1024 profiles can be configured per
system.
The profiles supplied by the HP 3000 configuration file follow a naming
convention. For example, TR10D96 denotes a terminal profile (TR) of
terminal type 10 (10), for direct connect (D), with line speed of 9600
bps (96). Printer profiles starts with PR, such as PR18D96. The
standard UPS profile is UP10D12 where (UP) denotes an HP PowerTrust UPS.
Host port profiles naming convention starts with HO, such as HO96 which
is a host profile with a line speed of 9600 bps.
Terminal Profiles
Terminal profiles
define terminal characteristics for terminals, PCs running in terminal
emulation mode, and UPSs. A terminal profile defines the following
terminal characteristics:
* The profile name.
* The terminal type used (10, 18, 24) or the terminal type file name
if you are using a terminal type file created through the
workstation configurator utility (TTUTIL.PUB.SYS).
For more information, see Terminal type file name under "Terminal
Profile Screen," later in this chapter.
* The line speed, in bits per second. (Does not apply to the DTC
16RX).
* The record width in characters (bytes).
* The type of modem used, if any.
* Specify the protocol used to establish a modem link between the
DTC and an attached device. (Does not apply to the DTC 16RX).
* Whether the user is allowed to enter the :HELLO command to logon
to the HP 3000.
* Whether the terminal will use hardware handshake. (Supported on
DTC 16iX/ 16MX and DTC 72MX only.)
* The type of parity that will be used if parity is enabled.
* Specifies whether auto speed and parity sensing will occur at
logon for terminals using this profile.(Does not apply to the DTC
16RX).
* Specifies whether the terminal will be reset after a DTC is
powered on or after the connection is re-established. (Does not
apply to the DTC 16RX).
* Specifies whether native language devices will be used.
* The device class names associated with the terminal.
The terminal profile also defines additional information used for
host-based terminal switching. All terminal switching parameters are
optional.
* The terminal port name. Usually used for extended switching
connections.
* Specify whether the DTC user interface timeout is active.
* Specify whether switching is enabled for the port.
* Specify whether the DTC will establish a connection automatically
when the modem lines are raised.
* Specify destination node if automatic connection is enabled.
* Specify the character that will return the terminal user to the
DTC user interface.
Printer Profiles
Terminal profile characteristics are described in detail under "Terminal
Profile Screen," later in this chapter.
Printer profilesdefine printer characteristics for printers. A printer
profile defines these printer characteristics:
* The profile name.
* The printer type used (18, 21, 22, or 26) or the printer type file
name if you are using a printer type file created through the
workstation configurator utility (TTUTIL.PUB.SYS).
For more information, see Printer type file name under "Printer
Profile Screen," later in this chapter.
* The line speed in bits per second. (Does not apply to the DTC
16RX).
* The record width in characters (bytes).
* The type of modem used, if any.
* Specify the protocol used to establish a modem link between the
DTC and an attached device. (Does not apply to the DTC 16RX).
* The type of parity that will be used, if parity is enabled.(Does
not apply to the DTC 16RX).
* Whether the printer is initially spooled.
* Whether the printer will use a native language character set.
* Whether hardware handshake is used. (Supported on DTC 16iX/16MX
and DTC 72MX only.)
* The device class names associated with the printer.
The printer profile also defines additional information used for
host-based printer switching. Host-based printer switching allows a
printer port to be shared by several systems. All printer switching
parameters are optional.
* The printer port name.
* Specify whether the printer can be accessed by a single system or
multiple systems.
* Specify whether the DTC will establish a connection automatically
when the modem lines are raised.
* Specify destination node if automatic connection is enabled.
* A string that may be sent to the device under specific conditions
such as after a port reset, or a connection is closed.
Printer profile characteristics are described in detail under "Printer
Profile Screen," later in this chapter.
PAD Terminal Profiles
A PAD terminal profile defines these characteristics of the PAD terminal:
* The profile name.
* The terminal type used (24 recommended) or the terminal type file
name if you are using a terminal type file created through the
workstation configurator utility (TTUTIL.PUB.SYS).
* The record width in characters (bytes).
* Whether the terminal user can issue the :HELLO command at the
terminal.
* Whether the terminal will reset itself after a lost connection
(for use with HP terminals only).
* Whether the terminal will use a native language character set.
* Whether or not the DTC will perform a PAD test at connection
establishment time to determine the PADs behavior.
* Whether the DTC will send an initial profile to set the PAD to
default X.3 parameters at connection establishment time. (If you
set this option to "N" you must also set "PAD test requested" to
"N".
* Whether to allow changes to X.3 parameters after connection
establishment.
* How the data forwarding option is set. (You may select a data
forwarding option only if you request "X.3 setting" to allow
changes to X.3 parameters.)
* The device class names associated with the terminal.
The following four parameters will be ignored when a profile is
configured for non-nailed devices: PAD test requested, send initial
profile, X.3 setting requested, and data forwarding parm #3 and #4.
These four parameters will also be ignored when the connection is made
through a public PAD,because the connection will be established to a
non-nailed device on the host.
PAD Printer Profiles
A PAD printer profile defines these characteristics of a PAD printer:
* The profile name
* The printer type used (26 for PAD printer) or the printer type
file name if you are using a terminal type file created through
the workstation configurator utility (TTUTIL.PUB.SYS).
* The record width in characters (bytes).
* Whether the printer is initially spooled.
* Whether the printer uses a native language character set.
* Whether or not the DTC will perform a PAD test at connection
establishment time to determine the PADs behavior.
* Whether the DTC will send an initial profile to set the PAD to
default X.3 parameters at connection establishment time. (If you
set this option to "N" you must also "PAD test requested" to "N".
* Whether to allow changes to X.3 parameters after connection
establishment.
* The device class names associated with the printer.
Host Profiles
A Host profileis used to configure DTC ports to be used for extended
switching connections. Extended switching connections are also referred
to as back-to-back connections. If Host profiles are configured on DTC
16RX ports, all values for the profiles are ignored. The ports on a DTC
16RX are configured using the DTC 16RX Manager on the HP 9000 host and
not the HP 3000.
A Host profile defines the following port characteristics on the DTC:
* The name of the port.
* The line speed, in bits per second.
* The type of modem used, if any.
* Specify the protocol used to establish a modem link between the
DTC and the attached device.
* The type of parity that will be used if parity is enabled.
* The mode of data transfer in back-to-back connections, can be
ASCII or binary.
* Specify whether ENQ/ACK flow control is enabled.
* Specify whether the DTC will establish a connection automatically
when the modem lines are raised.
* Specify whether hardware handshaking will be used.
* Specify destination node if automatic connection is enabled.
* A string that may be sent to the device under specific conditions
such as after a port reset, or a connection is closed.
See the "Host Profile Screen (Host-Based)" section, for more information
on how to configure extended switching ports.
Terminal Types
A terminal type is a collection of characteristics that cause a terminal
to act and react in a specific way. It defines the relationship between
the terminal and the MPE/iX operating system. Three terminal types are
supplied with MPE/iX: terminal type 10, terminal type 18, and terminal
type 24.
Terminal Type 10.
Use terminal type 10 for Hewlett-Packard terminals and Hewlett-Packard
personal computers running in terminal emulation mode. This type enables
the XON/XOFF protocol (both receive and transmit). It supports block
mode data transfers and can detect data transmission errors through the
use of parity checking. This terminal type can work with some
non-Hewlett-Packard devices, but none of them are supported.
NOTE
The system console uses terminal type 10, but it does not have the
same functionality as other terminals connected and configured as
terminal type 10. A UPS also uses terminal type 10, but it has
different functionality from other devices connected and configured
as terminal type 10.
Terminal Type 18.
Use terminal type 18 for non-Hewlett-Packard devices. It differs from
terminal type 10 in the following ways:
* Block mode data transfers are not supported.
* Data protection is supplied through the XON/XOFF protocol.By
default, parity checkingis not used.
* The read trigger character is not recognized.
Terminal Type 24.
Use terminal type 24 for PAD terminals. Limitations apply to operations
over PAD connections. For example, the following functions are not
supported:
* Block modeapplications.
* HP Block Mode applications.
* Parity generation, programmatically
* Parity checking,programmatically.
For more information on supported PAD operations, refer to the
Asynchronous Serial Communications Programmer's Reference Manual
(32022-61001).
Printer Types
A printer type is a collection of characteristics that cause a printer to
act and react in specific ways. It defines the relationship between the
printer and the MPE/iX operating system. Four printer types are supplied
with MPE/iX: printer type 18, printer type 21, printer type 22, and
printer type 26.
Printer Type 18.
empty;Use printer type 18 for spooled and application printers, without
status checking.An application printer is controlled by a program running
on an MPE/iX computer. The program performs the following functions:
* Opens the printer.
* Writes to the printer.
* Initializes the printer before each listing.
* Spools output to the printer.
* Sends messages to the system consoleor the user's terminal.
* Checks the status of the printer. (Only some printers<$Iprinters>
can supply this information.)
* Closes the printer.
Printer type 18 responds to an XOFF character sent from a printer. The
XOFF protocolstops the flow of datato the printer so data cannot be lost.
However, the printer cannot send an XOFF character if it is unplugged,
turned off, or loses power. In these instances, data is lost.
Printer Type 21.
Use printer type 21for remote spooled printers.These are asynchronous
printersthat can use the MPE/iX spooler.
Printer type 21 uses the XON/XOFF protocol and status checking.Status
checking means an HP printer that respond to the interrogation string:
[Esc] ? [DC1].
In addition, data transmission errorscan be detected (but not corrected)
using parity checking.
Printer Type 22.
Use printer type 22 for local spooled printers. These are asynchronous
printers that can use MPE/iX spooler, but not with modems.
Printer type 22 supports the same data protection methods
(the XON/XOFF protocol and status checking) as printer type 21, except
for parity checking.
Printer Type 26.
Use printer type 26 for remote spooled printer connected to a network.
These are printers that can be spooled and connected through a modem to a
statistical multipexer or printers connected to a PAD. Printer type 26
builds on printer type 22, with additional features to cope with delays
that occur over a buffered connection.
The status requestis sent and the time begins. If there is no reply, the
timer is reset. This is repeated 10 times.
If the status request detects an error condition, for example the printer
runs out of paper, a system console messageis displayed and the retry is
done only one more time. If there is no reply or an error occurs, the
connection is closed and the spooler stopped.
The XOFF timeris also retried 10 times. After the last entry, the
connection shuts down and data is refused. In addition to status request
and XOFF changes, all closed connection requests from the computer are
not acted upon for 10 seconds. This avoids having to reestablish the
remote connection if another spoolfilebecomes ready to print before the
10 second wait expires.
MPE/iX 5.5 Documentation