6530 Programmer's Guide
Conversational Mode Operation
2-42
6530 Programmer’s Guide
Aborts the current print operation; displays an error message
(PRINT ABORT) in the error line and sounds the bell.
Sends a carriage return (CR), followed by a form feed (FF), to the
printer interface.
Initiates the application’s print request.
This abort can be avoided if your application observes the following
sequence:
1. Lock the keyboard (Esc c sequence).
2. Check the status for a print in process (Esc ^ sequence).
3. If no print is in process, send the new print request (Esc 0 sequence).
4. Unlock the keyboard (Esc b sequence).
A program reset, system reset, or mode switch also aborts a print
operation in process.
If the user requests a print operation while one is in process, this second
print request is ignored. Also, the error message PRINT BUSY is
displayed in the error line and the bell is sounded.
If a video attribute is encountered while transmitting text to the Auxl
device, a space character (20H) is substituted in the print stream for the
attribute character. If the video attribute includes invisible, space
characters (20H) are substituted in the print stream for subsequent text. If
the video attribute includes underscore and the Aux1 line end parameter
is not set to CR, subsequent text sent to the printer is followed by a CR
(0DH) and a line with underscore characters (_, 5FH) for each character
position that is to be underscored. When the Aux1 line end parameter is
set to CR, the underscore attribute is ignored.
Write to Aux1 or Aux2 Device (Esc - O)
The Esc - O sequence outputs host-generated data to the workstation or
PC device specified by either the Aux1 or Aux2 parameter. All text
following the escape sequence is written verbatim to the selected device.
The text sequence can include any character code that is passable by
conversational mode and the communications protocol used. The text
sequence is normally terminated by a DC2 control character (12H). You
can specify a different terminating character if necessary.
The Esc - O sequence has the following general format:
Esc -
device ; terminator
O