39
The printer goes offline, and the simulator stops. Simulation may then be resumed, either with the printer set back
online if the problem is fixed, or with the printer remaining offline if the problem is uncorrectable.
Device and unit options include configuring the printer type and timing, turning the printer power off and on, and the
ability to set the printer offline or online. The command forms are:
SET LPS <device-option>
SET LPS <unit-option>
Device options that may be specified are:
Option
Action
FASTTIME
Use optimized timing; default
REALTIME
Use realistic timing
PRINTER
Install the standard printer cable; default
DIAGNOSTIC
Install the diagnostic loopback connector
SC=<n>
Set the interface card select code; default is 14
DEBUG=<option>
Enable tracing
NODEBUG
Disable tracing; default
ENABLED
Enable the device
DISABLED
Disable the device; default
The printer supports realistic and optimized timing modes. Realistic timing attempts to model the print buffer load
and print-and-space operation delays inherent in the physical hardware. For example, output of lines with more
characters takes longer than output of lines with fewer characters, and spacing six lines takes approximately six
times longer than spacing one line.
Optimized timing reduces operation delays to the minimums necessary to operate correctly; this is much faster than
a real line printer would operate.
The delays used by the simulation in
FASTTIME
mode may be set via the register interface. The values may be
adjusted as necessary to work around any HP software problems that are triggered by the unusually rapid print
operations. Resetting the device with the
RESET –P
(power-on reset) command restores the original optimized
times.
The
DIAGNOSTIC
option simulates the installation of the HP 1251-0332 diagnostic test (loopback) connector in
place of the printer cable. This is needed to run the General Purpose Register Diagnostic (DSN 143300) as well as
to serve as the standard I/O card for several other diagnostics that test interrupts.
Setting the
PRINTER
option reinstalls the standard printer cable.
Device configuration may be displayed with the following commands:
Command
Action
SHOW LPS
Display the device and unit configuration
SHOW LPS TIMING
Display the timing mode