All rights reserved. No part of this publication may be reproduced, stored in a
retrieval system, or transmitted in any form without the prior written permission
of Seiko Epson Corporation.
of the information contained herein. While every precaution has been taken in the
preparation of this book, Seiko Epson Corporation assumes no responsibility for
errors or omissions. Neither is any liability assumed for damages resulting from
the use of the information contained herein.
Neither Seiko Epson Corporation nor its affiliates shall be liable to the purchaser
of this product or third parties for damages, losses, costs, or expenses incurred
by the purchaser or third parties as a result of:
product or unauthorized modifications, repairs, or alterations to this product, or
(excluding the U.S.) failure to strictly comply with Seiko Epson Corporation’s
operating and maintenance instructions.
Epson and Epson ESC/P are registered trademarks of Seiko Epson Corporation.
IBM is a registered trademark of International Business Machines Corporation.
HP LaserJet is a trademark, and Hewlett-Packard and PCL are registered
trademarks of Hewlett-Packard Company.
Centronics is a registered trademark of Centronics Data Computer Corporation.
PostScript is a trademark of Adobe Systems incorporated.
Command-Pass-Thru is a registered trademark of I-O Corporation.
WordPerfect is a registered trademark of WordPerfect Corporation.
Microsoft is a registered trademark of Microsoft Corporation.
Univers, Times, and Helvetica are registered trademarks of Linotype AG and its
subsidiaries.
CG Times, CG Century Schoolbook, and Microstyle are products and CG
Triumvirate is a trademark of AGFA Compugraphic, a Division of Agfa Corporation.
Serifa is a trademark of Fundicion Tipografica Neufville, S.A.
ITC Dingbats is a U.S. registered trademark of International Typeface Corporation.
No patent liability is assumed with respect to the use
accident, misuse, or abuse of this
General Notice: Other product names used herein are for identification purposes
only and may be trademarks of their respective companies.
This equipment has bean tested and found to comply with the limits for
a Class A digital device. pursuant to Part 15 of the FCC Rules. These
limits are designed to provide reasonable protection against harmful
interference when the equipment is operated
environment. This equipment generates, uses, and can radiate radio
frequency energy and, if not Installed and used in accordance with the
instruction manual, may cause harmful interference in which case the
user will be required to correct the interference at M
This devise complies with Part 15 of the FCC Rules. Operation is
subject to the following two conditions:
harmful interference, and (2) this device must accept any interference
received, including interference that may cause undesired operation.
FOR CANADIAN USERS
This digital apparatus does not exceed the Class A limits for radio noise
emissions from digital apparatus as set out in the radio interference
regulations of the Canadian Department of Communications.
Le présent appareil numérique n'émet pas de bruits radioélectriques
d&passant les limits applicables aux appareils numériques de Class A
prescrites dans le réglement sur le brouillage radioélectrique édicté par
le Ministére des Communications du Canada.
(1) This device may not cause
in
a commercial
S
own expense.
WARNING
The connection of a non-shielded equipment interface cable to this
equipment will invalldate the FCC Certification of this device and may
cause interference levels which exceed the limits established by the
FCC for this equipment.
use a shielded equipment interface cable with this device. When this
equipment is attached to some printers, you should not leave cables
connected to the printer’s built-In connectors. See your printer’s user’s
manual for details.
Changes or modifications not expressly approved by Seiko Epson
Corporation, could void the user’s authority to operate the equipment.
It is the responsibility of the user to obtain and
Appendix A.Host Download Configuration Commands
Appendix B.
Appendix C.
Push Button Setup
Sample Printouts
Font ID
.................................
..................................
S
9
10
13
14
15
16
17
INTRODUCTION
The Epson 3270 coax interface card C82314* with PC auto parallel sharing port
is an optional Epson interface card. It allows the direct connection of supported
Epson ESC/P dot matrix and laser printers to a coax type-A adapter of an IBM
3174/3274/3276 Control Unit or IBM 3270 mainframe system. In addition, a
Centronics compatible mini-parallel port with auto switching allows a PC or
alternate host to share the printer with the 3270 host for optimum printer
utilization.
The Epson interface can emulate IBM 3287, 3268, 4214-1, and 4224 (non-IPDS)
dot matrix printers and IBM 3812-1 and 4028 (non-IPDS) laser printers. When the
interface is installed in an Epson printer with HP LaserJet emulation, the Computer
Output Reduction (COR) feature enables data processing reports to automatically
be reduced and printed on letter size paper. Also, custom Font ID’s allow you to
specify multiple fonts that will automatically be used in your documents.
The Epson interface supports LU3 (DSC) and LUl .(SCS) mode printing. It has a
large selection of user definable setup selections (including IBM RPQ options) that
can be changed and stored in non-volatile memory using commands imbedded
in documents sent to the printer (downloaded from the host). A Command
Pass-Thru (hex transparency) feature allows a user to access the special features
of the Epson printer directly from the coax host. The interface does not support
coax host-controlled color printing options, AFP, IPDS, GDDM, APL, programmed
symbols.
Epson printers that have a slot for an optional interface card are supported:
DLQ-2000
SQ-870/1 170
ActionPrinter 5000/5500 ActionLaserll
Note: See your printer’s User’s Guide for information on the optional interfaces
it supports. Contact your Epson dealer for further information on C82314*
interface support.
LQ-570/1070
EPL-4000/4100
LQ870/1170
EPL-8000/8100
GENERAL SPECIFICATIONS
Input Protocol:
Output Protocol:
Receive Data Rate:
Data Buffering:
Language Support:
Connectors:
Indicators:
Switches:
Power Required:
LED SPECIFICATIONS
LED Indication
status
IBM 3270 coax LU1 or LU3 protocol and Centronics
parallel protocol
Epson parallel, internal interface connection
Maximum burst: 2.3587 million bits/second
4K byte coax communication buffer
Standard IBM 3174 language sections (See
Appendix A, Command 8 for list of languages.)
Female BNC coax connector and mini-Centronics
parallel connector for alternate host (PC) sharing
One red LED
One green LED
Two push buttons
+5V @ 240mA, supplied by the printer
Green ON
Green OFF
Red ON
Red Blinks
Twice
Red Remains
on after turn on
The control unit (CU) is communicating with the interface card
(within past 30 seconds).
The CU is not communicating with the interface card.
The program attention (PA) manual option (see Appendix A,
command 35) is active and the printer received a request (from
the host software) for a PA button to be pressed by the user so
printing can continue.
The user pressed and released both buttons at the same time
(for less than 1 second) sending a cancel message to the host.
The interface encountered problems during its self test.
(The red LED goes off after a normal self test.)
BUTTON SPECIFICATIONS
Button
Top
Bottom
Both
Functions
PA1 response when the PA red LED is on
Prints out a page listing when pressed and held for 2 seconds. If the
coax cable is disconnected, then a RAM/ROM self test is also
performed and the results are printed.
YES response during push button setup (see Appendix B)
PA2 response when the PA red LED is on
Begins restoration of factory default setup (see “Restoring Factory
Default Configuration’ section)
NO response during push button setup (see Appendix B)
After turning on, if both buttons are pressed and released (for less
than one second) a cancel signal is sent to the host. The red LED
will blink twice times to confirm the cancel signal was sent. (Note:
The printer will continue printing until its buffer is empty.)
After turning on, if both buttons are pressed and held more than two
seconds, the interface enters the hexadecimal (buffer dump)
diagnostic printing mode. The printer then prints “Buffer print is
active’ and the green LED will blink twice. Turn off the printer to exit
this mode or press and hold both buttons for more than two seconds
which will cause the green LED to blink twice. (Also, see Command
42 in Appendix A for a download command.)
INSTALLATION
CONTENTS OF INTERFACE KIT
Make sure the interface kit includes all items listed below:
Coax interface card
PC Auto Parallel Sharing Cable
User’s guide
INSTALLING THE INTERFACE CARD
A
Install the coax interface card in the same way as any Epson optional interface.
This procedure is explained in detail for the individual Epson printers in either an
appendix or the section on Using Printer Options in the user’s manual that comes
with the printer.
card. Secure the interface with the thumb screws. Take precautions to protect the
interface card from static discharge by touching a grounded surface immediately
before installing.
The mini-Centronics connector on the coax interface card can be used for
automatic alternate host (PC) sharing by using the parallel printer share cable
included in the box with the interface.
The interface card is supplied with default setup selections stored in its nonvolatile
memory. These default selections will suffice for most user requirements. Refer
to Appendix A for a listing of the user definable setup selections and custom
features.
Please follow the instructions carefully to install the coax interface
EXECUTING A SELF-TEST
Verify proper installation of the coax interface card by performing an interface card
self-test. The self-test also prints out the current setup selections.
1.
Before testing the interface card, perform a test of the printer to confirm
that it is functional. Refer to instructions in the printer’s User’s Guide. Do
not proceed unless the printer is operational.
2. To test the coax interface, disconnect the coax and mini-Centronics
connectors from the interface and turn the printer on. After the printer is
ready, press the top (PA1)
than two seconds. Release the button and the self test results are printed
as well as a listing of the setup selections.
3. The printer prints out the self-test page if the interface is installed
properly. See the self test printout example, Appendix C.
4.
If nothing prints, the interface is not installed properly. A separate test of
the interface may be performed by disconnecting the coax and miniCentronics connectors and turning on the printer. If the LED displays red
and then goes out, it indicates successful completion of the self tests. If
the red LED remains on, the self tests found a problem with the interface.
button
on the interface and hold it for more
INTERFACE CONFIGURATION
After installing the interface card and performing a self-test, the interface is ready
to operate in most environments. The factory default settings will be satisfactory
for most programs and applications. Be sure to check Command 60 on the self
test print out to confirm that the interface is configured correctly for either a dot
matrix or HP laser printer.
If you are using a laser printer, make sure you set your printer’s emulation mode
to match that of the interface: HP emulation or dot matrix emulation. (If your
laser printer supports Epson Job Language --EJL- commands, do not change the
printer’s emulation mode using the EJL command or the command-pass-thru
feature while this interface is installed. Also, you may not be able to change the
printer mode using the control panel.)
If your printer prints a warning message, the interface and printer emulations do
not match. Use your printer’s control panel to match the interface and printer
emulation settings.
Never select the PostScriptTM printer mode while this interface is installed.
If the printer is a matrix printer, you must select character set ‘Code Page 850’ in
the setup of the printer. Refer to the printer’s User’s Guide to determine how to
select the character set by using either dip switches or the front panel.
have selected HP LaserJet emulation, the ‘Roman 8’ character set is automatically
selected.
If you
All configuration selections can be changed by simply embedding commands (as
defined in Appendix A) in a 3270 print job or print screen (hard copy) that is sent
to the printer. These are called Host Download Commands. If the embedded
command is sent correctly, the characters that create the command are not
printed. If the command is printed, then the interface did not recognize the
command because of a problem in the format of the command. Correct the
problem and send the command again. If you wish to confirm the active setup
selections for the printer, you can print a listing page by either performing a self
test (pressing and holding the top button for 2 seconds) or sending the ‘98,1’
command to the interface.
Unless the ‘99,6’ command is sent to save the active setup in non-volatile (NV)
memory, the configuration commands only change the active setup values and
are lost when the printer is turned off. By sending a ‘98,1’ command immediately
after turning on the printer, you can identify the selections that are stored in NV
memory of the interface.
5
If a coax host Is not available and basic setup selections need to be changed, the
interface has the option of a push button setup as defined in Appendix B. This
option enables the basic interface features and RPQ options to be selected.
RESTORING FACTORY DEFAULT CONFIGURATION
The factory default configuration selections can be restored to the NV memory of
the interface by either sending a Host Download Command ‘98,0’ or by turning
on the printer when the coax cable is disconnected and performing the following
steps (waft for printer to be READY):
1.
Press and hold the bottom (PA2) button for more than two seconds and
then release; the red and green LED begin to blink alternately.
2.
Press and release the top (PA1) button; only the green LED blinks.
3.
Press and release the bottom (PA2) button; the red LED blinks twice.
4.
Sequence is complete. Factory defaults are restored to the NV memory
of the interface. Turn the printer off and then back on.
PRINTER FEATURE ACCESS METHODS
This interface features three methods for accessing the special features of Epson
printers not normally available in the IBM printers being emulated:
Command-Pass-Thru
Custom User Strings
SCS Mode Transparent Data
Each of these methods is described below.
1. COMMAND-PASS-THRU
DESCRIPTION
The Command-Pass-Thru (Hex Transparency) feature allows the user to access
all of the built-in features of the Epson printer whether or not these features can
be accessed by the IBM host software. Command-Pass-Thru provides a method
of placing printer specific command sequences into the data sent to the printer
from the host. The coax interface recognizes these special sequences and
“Passes the Command Thru’ to the printer. This feature allows the programmer
6
to’ access all of the Epson features such as color printing, superscripts; and
subscripts.
Command-Pass-Thru is accomplished by converting the printer command
sequence into a series of two digit hexadecimal values. For example, an Escape
has a decimal value of 27 and a hexadecimal value of 1B.
Thru, an Escape is the character ‘1’ followed by the character ‘B’.
coax interface to recognize the sequence, it is proceeded by a ‘delimiter
sequence consisting of an ampersand (&), followed by a percent (%). Several
commands may be contained within the enclosing &% pairs. Once the first &%
is detected, the coax interface passes hexadecimal data to the printer until it
receives the next &% or a character is received that is not in the hexadecimal
range of 0 to 9 or A to F -(upper case letters only).
in addition, the user has the option of selecting a different delimiter sequence
using setup command 40 (see Appendix A, command 40).
In Command-Pass-
To
allow the
EXAMPLE
in order to highlight a passage in a document, you may wish to use an Epson
printer command such as the emphasized mode. The printer command sequence
for emphasized printing listed in your Epson printer’s manual is ‘ESC
45’ in hexadecimal, to begin emphasized print and ‘ESC F’, or ‘1B 46’ in
hexadecimal, to end emphasized print.
At the point in the document where emphasized printing is desired, the sequence
&% 1 B 4 5 & % should appear. When you wish to cancel emphasized printing,
insert the sequence & % 1 B 4 6 & %. If the document is viewed on a CRT
terminal, these characters are displayed.During printing, however, these
command sequences only start and stop emphasized mode and do not appear
on the paper and do not take up any space.
E’,
or ‘1B
NOTE: In this example, the characters are separated by spaces for clarity.
The spaces between each individual character must be removed from
the actual command, but single spaces between pairs of characters
are permitted.
RULES FOR COMMAND-PASS-THRU
Command-Pass-Thru must begin with an &% or the alternate delimiter
characters specified in Command 40.
Hexadecimal values must be used in the command. These values
represent ASCII data which is understood by the Epson printer.
Valid characters for hex codes are 0-9 and A-F (upper case letters only).
No spaces are allowed in the command between the ‘delimiter sequence
&% and the first hexadecimal value.
A single space is permitted, but not required, to separate pairs of
hexadecimal letters (to aid in easier interpretation of the hex codes).
If an error in formatting the command sequence occurs, the interface will
resume printing at the point in the sequence where the error occurs.
The data included in a Command-Pass-Thru string can span print buffers.
This allows transmission of long strings of hexadecimal data.
During Command-Pass-Thru, the coax interface ignores control codes
(NL, LF, CR and FF) but honors the EM code.
2. CUSTOM USER STRINGS
Host download Command 55 (see Appendix A, Command 55) allows a user to
permanently define six custom user strings that are frequently used (for example,
a special font selection). The custom user string isactivated by simply putting the
delimiter (&%), a capital letter U, and the number of the desired custom user
string in the text of a page, i.e. "&%U3". The custom user strings can be any
combination of text or special commands for the printer, especially ones that are
often used.
3. SCS MODE TRANSPARENT DATA
SCS transparent mode (SCS TRN code 35) provides a method for transparent
data transmission when operating in LU1 mode. To use this method, you must
be connected to a system using SNA protocol and be operating as a Logical Unit
Type 1.
A SCS TRN sequence begins with a one byte binary count immediately following
the TRN code. The count indicates the number of bytes, not including the count
byte, of transparent data to follow.
sent in each sequence.
SCS TRN data is user-defined and is not scanned for SCS control codes.
However, to emulate the characteristics of the IBM 3287, non-printable characters
(i.e., control characters) are converted to hyphens. Data is translated to ASCII,
with undefined characters printed as hyphens. This coax interface offers a
configurable option to emulate the IBM 3287 or to pass the data without
translation. Refer to Appendix A, Command 35, SCS TRN TRANSLATE.
Up to 256 bytes of transparent data can be
Another method of Transparent Data Transmission is the Xerox defined SCS TRN
code 36. Generally accepted for use
the same as the Coax Interface non-translate method above. Control code
sequence rules are the same for SCS code 36 as for code 35.
in
laser printer applications, this method is
ALTERNATE HOST (PC) AUTO PARALLEL SHARING
If the C82314* is connected to a PC with
must be turned on.
The coax interface card has a mini-Centronics parallel connector which enables
it to automatically share the printer between the 3270 host and the alternate host
(usually a personal computer). The interface periodically checks the 3270 host
and the PC until it finds input data to be printed. The interface continues to print
using data from the current source until the input data stops and no additional
data is received for the period of time specified with Commands 50 or 51.
(Factory defaults are 5 seconds for the parallel port and 10 seconds for the 3270
port.) The other source is then checked for the presence of data to be printed.
The automatic checking for data from either sources is accomplished constantly
when both hosts are idle. The host with the first data will have printing priority
until it has printed all of its data and remained idle for the time interval specified
in Commands 50 or 51.
The Epson printer may have large print buffers, so an actual physical break in
printing may not be seen between print jobs, yet the interface pauses for the
specified time period without passing data to the printer before changing to the
other port. While the 3270 host is active, the parallel port accepts the first parallel
byte and then goes busy. This allows the interface to know that parallel data is
waiting. Conversely, while the parallel port is printing, the 3270 coax port will
receive data and then send a busy signal to the host until the printer is available
(the time-out period on the parallel port has expired with no additional data having
been received). PC printing longer than 20 minutes may cause the 3270 host to
drop communication with the printer.
the parallel sharing cable, the PC
Prior to printing a coax host document, if the previous document comes from the
PC sharing port, the interface card sends the coax port initialization string to the
printer and restores the printer’s format that was fast specified by the coax host
when switching to coax printing (see Appendix A, Command 57). Also, before
printing an initial document from the PC Share port, the interface sends the user
defined shared port initialization string (see Appendix A Command 56). The
alternate (PC) host must send the printer all of the necessary formatting
instructions and commands
for
correct printing.
PARALLEL INTERFACE SPECIFICATION
The C82314* coax interface provides a Centronics parallel data input port to allow
automatic sharing of the Epson printer between the 3270 host and an alternate
host. The parallel interface was designed to be compatible with popular printer
interfaces found on personal
the
parallel interface signals:
PARALLEL INTERFACE SPECIFICATIONS
computers. The following is a description of
Signal
Pin
1
2
3
4
5. 23
6
7
8
9
10
Return
Pin
19
20
21
22
24
25
26
27
28
Signal
STROBE
DATA1
DATA2
DATA3
DATA4
DATA5
DATA6
DATA7
DATA89
ACKNLG
Parallel
Direction
Cable
Pin
1
2INThese signals
3
4
5 IN
6
7
8IN
10
IN
IN
IN
IN
IN
IN
OUT
Description
Strobe pulse to
read data in. Pulse
width must be
more than .5 µsec.
at the interface
represent information in bits 1 to
8 of parallel data
respectively. Each
signal is HIGH
when data is logical
1 and LOW when it
is logical 0.
A LOW pulse with a
minimum width of 4
µsec. A low indi-
cates that data has
been received and
that the printer is
ready to accept
more data.
10
Signal
Pin
Return
PinCable
SignalParallel
Pin
Direction
Description
11
12
13
14
29
30
+
BUSY
PE
SLCT
AUTO
FEED
11
12
13
14
OUT
OUT
OUT
IN
A HIGH signal indicates that the printer cannot receive
data. The signal
goes HIGH in these
cases.
-Data entry, for
each character
-When off line or in
error slate
-When serving the
IBM host and a
byte of parallel data
is received.
HIGH when the
printer is out of
paper.
Pulled up to +5V
through a 3.3K
ohm resistance.
THIS SIGNAL IS
NOT SUPPORTED
BY THE C82314*
INTERFACE. (Delined by many
printers to add a LF
to each CR. The
IBM 3270 protocol
does not allow sup-
port of this signal.
Signal
12
Pin
Return
Pin
Signal
Parallel
Cable
Pin
DescriptionDirection
31
32
33
34NC
35HIGH
INIT
ERROR
GND
SLCTIN36
16
15
25
17
IN
OUT
Defined to reset
and dear the
printer when LOW;
THE RESET AND
CLEAR ARE NOT
SUPPORTED BY
THE C62314*, As
the IBM host
cannot be interrupted by this signal.
An ACKNLG is
generated for handshaking.
This signal goes
LOW when the printer is in an error
state such as out of
paper.
Logic ground
Not used
Pulled up to +5V
through a 3.3K
ohm resistance
NOT SUPPORTED
NOTE:
The mini-parallel connector is a DDK type DHA-36 or equivalent.
The column heading ‘DIRECTION’ refers to the direction of signal flow as
viewed from the C82314* interface.
‘RETURN’ denotes the twisted-pair return, to be connected at signal ground
level. For the interlace wiring, be sure to use twisted-pair cable for each signal
and to complete the connection on the return side. The cable should be
shielded and connected to the chassis of the host computer and printer.
All interface conditions as based on TTL levels. Both the rise and the fall times
of each signal must be less than 0.2 microseconds.
TIMING
Data transfer is carried out by observing the ACKNLG or BUSY signals.
Data
transfer to the printer occurs only after receipt of the ACKNLG signal or when
the BUSY signal is LOW.
DATA IN
-\
/
.5usec .5usec
.5usec
\
/
min. min. min.
STROBE
BUSY
ACKNLG
-I
I
Approx.
7usec min 5usec.
I-
I
Approx.
I
Data must be present a minimum of 0.5 microseconds before and after a minimum 0.5 microsecond STROBE pulse. BUSY goes high before the end of the
STROBE signal and remains high until the end of an ACKNLG pulse of minimum
4 microseconds.
EPSON HP LASERJET EMULATION
Most Epson laser printers have
printer. Check your user’s guide to determine if your printer has this option,
which can be selected from the front panel of the printer. Be sure to save the HP
option selection into the printer's default settings so the HP option is always
loaded at power-on. The HP option provides increased capability including easy
font selection and portrait and landscape printing.
an
option to emulate the Hewlett Packard LaserJet
HP FONT IDENTIFIER CODES
When Command 60 (see Appendix A, command 60) of the interface is used to
select HP LaserJet emulation, font changes can be accomplished by simply
including the font identifier ID code in the text of the document being printed.
In the Appendix C at the back of the manual is a summary listing of the font
identifier codes for the printer’s resident fonts and the Epson font cartridges. The
code consists of the delimiter characters (&% or alternate delimiters)’ plus the
letter "P" or "L" depending on whether the user wants portrait or landscape
printing, and the font ID number.
If a non-Epson supplied HP compatible font cartridge is used, the font ID number
assigned to the font in the Epson cartridges works with the HP compatible
cartridges. Additional font ID numbers are assigned to other fonts available In
many of the HP compatible cartridges and these are listed in an Appendix C at
the back of the manual.
number, it is simple to assign the font command to a custom user string and
access the font by using the user string command.
If the font you want to use is not listed with a font ID
Example:
Multiple font changes can be made in a document as long as all fonts are
specified in the same orientation. A change in orientation (portrait or landscape)
automatically ejects the page. A blank page at the first of a document is often
caused by a change in orientation. A font ID must be absolutely the first data on
the page, i.e. at the first position on the very first line of the page when it specifies
a change in orientation from the previously printed page, or a blank page will be
ejected.
Code &%L086 identifies a landscape Prestige 12 CPI font in the
Epson 5412 font cartridge. if the font cartridge is not installed, then
the printer automatically selects an alternate landscape font and uses
it to print the document.
14
COMPUTER OUTPUT REDUCTION (COR),
HP EMULATION
The landscape printing capability of the HP LaserJet emulation enables the
interface to automatically print traditional data processing reports requiring 66
lines by 132 columns or 198 columns of data on 8.5 x 11.0 inch paper.
When Command 60 selects HP LaserJet protocol and APO is active (Command
61) and COR is selected for the paper source specified (Commands 62-64), the
following format changes are automatically made to data processing reports:
The Page is printed in landscape orientation.
Vertical line height is 70% of that specified.
A 0.5 inch blank area is provided on the top and left edge of the paper.
The selected font is changed, as follows:
10 pitch to 13.3 pitch
12 pitch to 15 pitch
15 pitch to 19 pitch
A combination of control codes in the printer data stream and the settings in the
configuration are used to determine page orientation when processing DSC, DSE,
or LUl (SCS) data streams.
Some data processing applications will not allow the user to insert the data stream
commands required to achieve orientation and format selection, Where the
insertion of the required data stream commands is not possible, the user can
select the orientation and format desired by using the interface’s default
configuration settings. Use of the Write Control Character (WCC) in the DSC/DSE
data streams for orientation and format selection is not recommended.
Using the HP LaserJet emulation, the COR feature enables 132 column X 66 line
and 198 column X 66 line data processing reports to be printed on 8 1/2" X 11"
paper in landscape orientation. This enables a tremendous amount of data to be
stored in ordinary file cabinet drawers and a staple on the edge of the pages will
secure the sequence of the pages.
15
AUTOMATIC PRINT ORIENTATION (APO),
HP EMULATION
When Automatic Print Orientation (APO) is specified active (see Appendix A,
command 61), the coax interface notes the page format parameters of the print
image and calculates the required print dimensions in inches.
calculations are based on the following equations:
The page
Requested
Print Width =
(in inches)
Requested
Print Length =
(in inches)
EXAMPLE:
The printer calculates a 13.2 x 11 .0 inch page size if:
Characters per line = 132
Font =
Lines per page = 66
Lines per inch = 6
Because the calculated paper size is larger than 8.5 x 11.0 inches, the
Paper Tray Orientation selection (see Appendix A, Commands 62-64)
determines the orientation of the printing. Reference the following Page
Orientation Logic Illustration.
In LU3 (DSC/DSE) mode, the values of the parameters used in the calculations
are those specified by the interface’s active configuration selections. In LUI (SCS)
mode, the values used are those specified in the data stream by the SCS controls.
If a value has not been set in the SCS data stream, the interface’s active
configuration is used.
Characters per line (MPP)
---------------------------
Characters per inch (CPI)
Lines per Page (MPL)
------------------
Lines per Inch (LPI)
10 pitch (CPI)
Understand that the interface does not supply automatic orientation based on the
amount of incoming data from the host for each line or page. The values must
be provided in the data stream or by use of the printer’s configuration selections.
The Automatic Print Orientation (APO) feature also utilizes the requested print
width and print length as specified above to determine the print orientation when
the print dimensions are less than the 8.5 x 11 inch paper size, When the width
is greater than the length and APO is active, the document prints in landscape
16
regardless of whether the user specified a portrait font ID. You should be aware
of the significance of the specified form size (as defined by the MPP and MPL)
and select these values in accordance with your desired orientation when APO is
active.
PAGE ORIENTATION LOGIC
The page orientation logic is as follows depending on whether APO in Command
61 is active and the Paper Tray Orientation selections made in Commands 62 to
64. The requested print length and width is important when APO is active as
illustrated below:
START
Page Orientation Logic
APO Active - NO
YES
Print Dimensions
Less than — NO
8.5 x 11.0 inches
YES
Requested
Length
Less Than - NO
Requested
Width?
YES
Print in
Landscape
Computer
output
Reduction
Mode
Print in
Portrait
Print According To Paper
Tray Orientation Selection
( Command 62-64 )
Portrait
Mode
Landscape
Mode
User
Defined
Mode
APPENDIX A: HOST DOWNLOAD CONFIGURATION
COMMANDS
This appendix defines the configuration commands which may be used to select
setup values for the printer interface. These commands may be sent to the printer
as part of a normal 3270 coax print job or hard copy print screen. The interface
will identify the commands and obey their instructions without printing the text of
the command. If the text of a command prints, check that the format of the
command is correct.
The format for all configuration commands is:
&%Z‘Command Number, ‘Value and/or data’
The ‘&%’ characters are defined as the default ‘delimiter characters and the
upper case ‘Z’ is the default command ID character. It is possible to specify user
selectable alternate values for the ‘delimiter characters (reference Command 40).
The capital letter Z (or other command character, reference Command 41)
precedes all command numbers.
permitted by using a slash (/) or backslash (/) to separate the commands with no
spaces allowed. Each command string must be preceded by an &% and
terminated by at least one space or a control character (i.e. LF, NL, CR, or FF).
Commands are utilized by the interface and sent to the printer immediately upon
receipt from the host. Commands chained together with slashes and located on
the first line and first position take effect immediately on the page where they are
located. Otherwise they take effect on the next page.
Chaining multiple commands together is
NOTES: The asterisk (*) character identifies factory default selections.
All commands have immediate effect unless noted otherwise.
For a command to be permanently stored in non-volatile memory, the
Command ‘/Z99,0’ must be used.
An error causes the interface to exit download mode and print from the
point of error.
The RPQs are only active in LU3, non-SCS mode.
A-1
APPENDIX A: HOST DOWNLOAD CONFIGURATION
COMMANDS
Table of Contents
COMMAND
01
02
03
04
05
06
07
08
09
11
12
13
14
15
16
17
18
19
20
25
26
27
31
32
34
35
36
37
38
DESCRIPTION
Buffer Size
Lines Per Inch
Characters Per Inch
Lines Spacing
Form Length
Maximum Print Position
Print Case
LU1 Language
Font Select (Matrix Printer)
PaperPath
Form Feed Before Local Screen Copy
Form Feed After Local Screen Copy
LU3 Print Image (Non-SCS Mode)
CR at MPP + 1
NL at MPP + 1
Valid FF Followed by Data
Valid FF at End of Job
FF Valid Location
Automatic Function at End of Job
Form Feed Usage
Suppress Empty Forms
Form Feed After Time Elapse
Truncate/Wrap Select
Paper Size
Intervention Required (IR) Timeout
Program Attention (PA) Response
Manual Feed Options
Character Set Selection
Overwrite EBCDIC Translate Table
Overwrite DSC Translate Table
Restore Configuration
Store Configuration in NV Memory
................................
.................................
................................
...............................
...........................
...............................
.....................................
...............................
..............................
...............................
.........................
..........................
......................
.........................
......................
PAGE
A-18
A-19
A-20
A-21
A-21
A-22
A-23
A-23
A-24
A-24
A-25
A-25
A-26
A-26
A-27
COMMAND 1: BUFFER SIZE
Selects logical default buffer size
VALUE DESCRIPTION
1
*2
3
4
5
960 characters
1920 characters
2560 characters
3440 characters
3564 characters
NOTES: This command, along with the ‘Z99,0’ command, changes the logical
buffer size selection in the non-volatile memory of the interface.
The
logical buffer size is only reported to the host the next time the unit is
powered up.
The physical buffer size is permanently set at 4K.
EXAMPLE: &%Z1,3Sets logical buffer size to 2560 characters.
COMMAND 2: LINES PER INCH
Selects default LPI.
VALUE DESCRlPTlON
33
4
*66
8
LPI
4
LPI
LPI
8
LPI
NOTES: This default emulates the front panel selection on an IBM printer.
The IBM host can control the LPI unless Command 36 is used to
select override of host LPI commands.
EXAMPLE: &%Z2,8
Sets the printer to 8 LPI default
COMMAND 3: CHARACTERS PER INCH
Selects default CPI
VALUE DESCRIPTION
No default sent to printer
0
*10
12
15
16
10 CPI
12 CPI
15 CPI
16.7 CPI
NOTE:
The IBM host controls CPI unless Command 36 is used to select
override of host CPI commands.
EXAMPLE: &%Z3,15
Sets the printer to 15 CPI default
COMMAND 4: LINE SPACING
Selects default Line Spacing
VALUE DESCRIPTION
*1
2
EXAMPLE: &%Z4,2
Single Space
Double Space
Sets the printer to double space default
COMMAND 5: FORM LENGTH
Selects default Form Length (MPL, Maximum Print Lines)
VALUE DESCRIPTION
000
Set Form Length in number of lines
to
255
(Factory Default)
NOTE:
*066
This default emulates the front panel selection on an IBM printer.
EXAMPLE: &%Z5,72
Sets form length to 72 lines for A-4 paper
COMMAND 6: MAXIMUM PRINT POSITION
Selects current and default Maximum Print Position, the maximum number
characters which can be printed on each line.
VALUE DESCRIPTION
000
001
Infinite Line Length
Set MPP in number of characters
to
255
* 132
(Factory Default)
NOTES: Normal values are 80, 132, or 198 characters.
This default emulates the front panel selection on an IBM printer,
MPP and the current position will not be changed by changes in CPI.
The infinite line length will place no limits on the number of characters
that can be sent to the printer on a single line.
EXAMPLE: &%Z6,80
Sets MPP to 80 characters
COMMAND 7: PRINT CASE
Of
Selects default Print Case
VALUE DESCRIPTION
0
*1
NOTES: Mono case =
Dual case =
Mono case
Dual case
Upper case characters only
Upper and lower case characters
This default only affects LU3 printing
EXAMPLE: &%Z7,0Sets default to mono case
COMMAND 8: LU1 LANGUAGE
A-5
Selects default LU1 Language.
VALUE
* 01
03
04
05
06
07
08
09
10
11
12 (same as 11)
13
14
15
16
17 (same as 16)
19
20
21
22
23 (same as 07)
24 (same as 09)
25 (same as 01)
26 (same as 08)
27 (same as 10)
28
29 (same as 06)
30 (same as 11)
31 (same as 14)
32 (same as 14)
DESCRIPTION
English (U.S.) EBCDIC
Austrian/German
Belgian
Brazilian
Canadian (French)
Danish/Norwegian
Danish/Norwegian (alt.)
Finnish/Swedish
Finnish/Swedish (alt.)
French
French (alt.)
Austrian/German (alt.)
International Set 5
Italian
Japanese (English)
French (alt.)
Spanish
Spanish (alt.)
Spanish Speaking
English (U.K.)
Norwegian
Swedish
EBCDIC (alt.)
Norwegian (alt.)
Swedish (at.)
Portuguese
Canadian (Bilingual)
French AZERTY (105 character)
Swiss German
Swiss French
NOTES: This command, along with command ‘Z99,0’, changes the default LU1
language selection in the non-volatile memory of the interface.
The number of the command value should agree with the language
number used in IBM CU configuration sequence number 121.
EXAMPLE: &%Z8,04Sets LU1 language to Belgian
COMMAND 9: FONT SELECT
(Matrix Printer]
Selects Epson default font when dot matrix printer protocol is selected in
Command 60. This command is not functional when laser printer protocol is
selected.
NOTES: This command defines the default paper source for the Page
Presentation Media (PPM) Host command in SCS mode. If the PPM
command is received from the host, the interface always sends the
SCS mode paper source command to the printer unless values 0 or 1
are selected. If the printer does not have a secondary paper bin or
anenvelope feeder, it ignores the command, but it will be used for
Commands 62-64 logic.
If manual sheet feed is specified in the SCS PPM command and no
paper is installed in the manual feed slot, the printer will wait for the
operator to insert perhaps letter head or a special form before printing
continues.
If this command is placed as the first printable data on the page, (line
1, position 1) the specified paper path will take effect immediately. If
the command is placed at any other position on the page, the change
will have effect on the next page.
EXAMPLE: &%Z11,5
Selects manual sheet feed default source for paper
COMMAND 12: FORM FEED BEFORE LOCAL SCREEN COPY
Specifies whether a Form Feed is performed before-doing local screen hard
copy.
VALUE DESCRIPTION
* 0
1
No Form Feed before local screen hard copy
Form Feed performed before local screen hard copy
NOTES: This command only affects the local screen copy function, not the
host-initiated local copy printing.
Functions only in non-SCS operations
EXAMPLE: &%Z12,1
Performs a FF before local screen copy
A-7
COMMAND 13: FORM FEED AFTER LOCAL SCREEN COPY
Specifies whether a Form Feed is performed after a local screen hard copy.
VALUE DESCRIPTION
*0
1
No Form Feed after local screen hard copy
Form Feed performed after local screen hard copy
NOTES: To use this function, the RPQ should be:
IBM 3268 RPQ SC9508
IBM 3287 RPQ MC3750
IBM 4214 OPT 20=3
This command only affects the local screen copy, not the host-initiated
local copy printing.
Functions only in non-SCS operations
EXAMPLE: &%Z13,1
Perform a FF after local screen copy
COMMAND 14: LU3 PRINT IMAGE (Non-SCS Mode)
Selects Null Line Suppression or True Screen Image in LU3 printing mode
VALUE DESCRIPTION
* 0
1
Null line suppression in Local Copy and non-SCS print
Null line suppression in non-SCS print and true screen image
in Local Copy
2
True screen image in non-SCS print and null line suppression
in Local Copy
3
True screen image in non-SCS print and true screen image in
Local copy
NOTES: To use this function, the RPQ should be:
IBM 3268 RPQ SC9505
IBM 3287 RPQ SC3741
IBM 4214 OPT 18=2
Available only in non-SCS operation
A-8
Command 14, Values 0 and 1 are only functional from CUT terminals.
EXAMPLE: &%Z14,3
Prints true screen image In non-SCS
print
and local
copy
COMMAND 15: CR
at MPP +
1
Sets the printer in accordance with the RPQ installed in the control unit.
VALUE DESCRIPTION
* 0
1
First print position (PP) of next line
First PP of current line
NOTES: To use this function, the RPQ should be:
IBM 3268 RPQ SC9501
IBM 3287 RPQ S30219
IBM 4214 OPT 15=1
Available only in non-SCS operation
EXAMPLE: &%Z15,1
Prints first PP of current line as the next PP when a
CR is received at MPP + 1.
COMMAND 16: NL at
MPP +
1
Sets the printer in accordance with the RPQ installed in the control unit
VALUE DESCRIPTION
* 0
1
First PP of current line + 2 lines
First PP of next line
NOTES: To use this function, the RPQ should be:
IBM 3268 RPQ SC9502
IBM 3287 RPQ S30219
IBM 4214 OPT 15=1
Available only in non-SCS operation.
EXAMPLE: &%Z16,1
Performs first PP of next line as the next PP when an
NL is received at MPP+ 1.
A-9
COMMAND 17: VALID FF FOLLOWED BY DATA
Sets the printer in accordance with the RPQ installed in the control unit
VALUE DESCRIPTION
* 0
1
Second print position of first line on next form
First print position (PP) of first line on next form
NOTES: For the Value 1 selection, the RPQ would be:
IBM 3268 RPQ SC9503
IBM 3287 RPQ N/A
IBM 4214 OPT 16=2
Available only in non-SCS operation
EXAMPLE: &%Z17,1
Performs first PP of first line on next form as the next
PP when a valid FF (positioned anywhere but the
end of an IBM print buffer) is received.
COMMAND 18: VALID FF AT END OF PRINT BUFFER
Sets the printer in accordance with the RPQ installed in the control unit
VALUE DESCRIPTION
0
*1
First PP of second line on next form
First PP of first line on next form
NOTES: To use this function, the RPQ should be:
IBM 3268 RPQ SC9504
IBM 3287 RPQ SC3749
IBM 4214 OPT 17=2
Available only in non-SCS operation
EXAMPLE: &%Z18,1
Performs first PP of first line on next form as the next
PP when a valid FF is received at the end of an IBM
print buffer.
A-10
COMMAND 19: FF VALID LOCATION
Sets the printer in accordance with the RPQ installed in the control unit
VALUE DESCRIPTION
* 0
FF is valid only at the first print position or at position
MPP+1.
1
FF is valid anywhere it occurs.
NOTES: To use this function, the RPQ should be:
IBM 3268 RPQ SC9506
IBM 3287 RPQ SC3739
IBM 4214 OPT 19=1
Available only in non-SCS operation.
EXAMPLE: &%Z19,1
Makes FF valid anywhere it occurs
COMMAND 20: AUTOMATIC FUNCTION AT END OF JOB
Sets the printer in accordance with the RPQ installed in the control unit.
VALUE DESCRIPTION
* 0
NL is automatically executed after the buffer is completed
(unless an FF, NL, or CR was last in the buffer).
1
FF is automatically executed after the print buffer is
completed (unless an FF was last in the buffer).
NOTES: To use this function, the RPQ should be:
IBM 3268 RPQ SC9507
IBM 3287 RPQ SC3740
IBM 4214 OPT 20=2
Available only in non-SCS operation
Do not press the form feed or line feed buttons on the front of the
printer. This will cause the host and printer to lose synchronization of
paper position. This command reduces the need to advance the
paper.
EXAMPLE: &%Z20,1
Sets the printer to issue an FF automatically at the
end of the print buffer.
A-11
COMMAND 25: FORM FEED USAGE
Enables a Forms Feed from the host system to be converted to the required
number of line feeds (beneficial when forms length is controlled by the
interface).
VALUE DESCRIPTION
0
*1
EXAMPLE: &%Z25,1
COMMAND 26: SUPPRESS EMPTY FORMS
Blank printout pages caused by Form Feed commands that occur at the top of
a form can be suppressed.
VALUE DESCRIPTION
* 0
1
NOTES: If selected, the coax interface ignores Forms Feed commands located
at the top of form position.
This command affects printing in both DSC and SCS modes. This
differs from the IBM 3287, which suppresses Form Feeds only in DSC
mode.
Pass FF from host to the printer (Laser Printer default)
Count the lines in Command 5 and send multiple line feeds
to the printer in place of the host FF.
Sets the printer to count the lines specified in
Command 5.
No, do not suppress empty forms
Yes, suppress empty forms
EXAMPLE: &%Z26,1Sets the interface to suppress empty forms
COMMAND 27: FF AFTER TIME ELAPSE
Sends a Form Feed if unprinted data remains in the print buffer for the
specified coax port time-out interval in Command 51.
A-12
VALUE DESCRIPTION
*0
1
NOTES: The time-out value is the same as the time-out used to switch between
host and alternate host printer sharing. (See Command 51)
Generally, the host application generates a termination FF, and there
is no need to change this command from the default.
In duplex printing, the last page will be ejected.
EXAMPLE: &%Z27,1
COMMAND 31: TRUNCATE/WRAP SELECT
The user can select whether the interface truncates or wraps the text if the
maximum print position is exceeded.
VALUE DESCRIPTION
* 0
1
No extra FF is sent
Send FF after time out value
Sends FF after time delay selected by command 51
(default =
the print buffer.
Allow text to print on next line when maximum print position
is exceeded.
Truncate text beyond the maximum print position
10 sec.) when unprinted data remains in
EXAMPLE: &%Z31,1
COMMAND 32: PAPER SIZE (LASER)
Specifies the paper size used for printing
VALUE DESCRIPTION
*0
1
2
EXAMPLE: &%Z32,1The interface tells the printer to use A-4 paper.
Selects 8 1/2" X 11" letter paper
Selects 210mm X 297mm (8.27’ X 11.69”) A-4 paper
Selects 8 1/2” X 14” legal paper
Causes text which exceeds the maximum print
position to be lost.
A-13
COMMAND 34: INTERVENTION REQUIRED (IR) TIME OUT
Sets the time interval before an intervention required signal is sent to the host
after a printer error occurs.
VALUE DESCRIPTION
000
001
to
255
* 120
EXAMPLE: &%Z34,036
COMMAND 35: PROGRAM ATTENTION (PA) RESPONSE
The IBM host software can send a program attention (PA) request to the
printer, causing the printer to stop printing until a PA1 or PA2 response from
the printer is sent to the host software. The interface can be set to either
automatically return a PA1 response upon receiving a PA request or stop and
wait (with red LED on) until the operator presses one of the two push buttons
on the interface card.
VALUE DESCRIPTION
*0
1
Never send an IR
Send IR after the VALUE times 5 seconds after printer error
occurs.
Default, send IR after ten minutes.
Sets IR time interval to 3 minutes
Printer stops and waits for operator to press a PA1 or PA2
push button before sending the PA response to the host.
Interface automatically responds with a PA1 if a PA request is
received from the host.
NOTE:
EXAMPLE: &%,Z35,1
This can be used to enable an operator to install special forms,
colored paper, legal paper, etc. in the printer before the PA push
button is pressed.
Printer automatically responds with a PA1 response.
A-14
COMMAND 36: SUPPRESS IBM CONTROL CODES
This function is used to select suppression of all or some IBM control codes
sent from the host system.
VALUE DESCRIPTION
*0
1
2
3
4
5
Obey all IBM control codes
Suppress all IBM control codes
Suppress only LPI and CPI control codes
Suppress only CPI control codes
Suppress only LPI control codes
Suppress print quality specified in the PPM command.
NOTES: If this command is set to 1, documents will have to be formatted by
sending transparent control codes to the printer using Command-
Pass-Thru or SCS mode transparent data
If this command is set to 2, the SCS pitch (CPI) and line density (LPI)
commands are suppressed (Not sent to the printer).
EXAMPLE: &%Z36,2
No LPI or CPI commands are sent to the printer.
The printer prints using the user specified selections.
COMMAND 38: TRUE LPI SPACING (LASER)
Because laser printers have a non-printable border around the edge of single-
sheet pages, 6-LPI and 8-LPI spacing is compressed slightly to enable 66 lines
and 88 lines to be printed on 11-inch long paper. This can occasionally cause
a problem, especially with preprinted forms. Command 38 enables a user to
override the normal laser printer LPI compression.
VALUE DESCRlPTlON
*0
1
NOTE:
EXAMPLE: &%Z38,1Specifies that vertical spacing prints using true 6 and
COMMAND 40: ALTERNATE DELIMITER CHARACTERS
Specifies two characters in addition to &% which can be used for the ‘delimiter’
characters for Command-Pass-Thru and Host Download Commands.
If true LPI is selected, the user needs to adjust the document formats
to allow for the reduced number of lines that can be printed per page;
otherwise, blank pages are ejected by the laser printer because of
blank line feeds that do not fit on the reduced page size.
laser printer’s operator’s manual.)
VALUE DESCRIPTION
0000
XXYY
Compress the vertical LPI spacing
Print using true 6 and 8 LPI spacing
(Refer to the
8 LPI. For an 11" page, 63 lines at 6 LPI or 84 lines
at 8 LPI are the maximum that fit on a page
Deletes previously selected alternate characters
XX is the ASCII HEXADECIMAL value of the first character
and YY is the ASCII HEX value of the second character.
EXAMPLE: &%Z40,253F Specifies the %? characters as the alternate
‘delimiter’ characters, % ASCII hex value is 25 and ?
ASCII hex value is 3F in this example.
A-16
COMMAND 41: COMMAND ID CHARACTER
Specifies the character which can be used for the command identifier (in place
of "Z" which follows the ‘Lead In’ characters.
VALUE DESCRIPTION
*5A
ZZ
NOTE:
EXAMPLE: &%Z41,59
COMMAND 42: START AND STOP BUFFER HEX DUMP
Upon receipt of a start command, the coax interface, starting with the next
buffer received, sends all host data directly to the printer as hexadecimal
printing until a stop command is received or the printer is powered off.
NOTES: This is an alternative to pressing both push buttons on the interface
The character selected must not be 0 through 9 or A through F (valid
hex values), or L, P, U.
VALUE DESCRIPTION
* 0
1
2
card and holding them for more than 2 seconds to activate Buffer Hex
Dump.
Makes Z the command character.
ZZ is the ASCII HEX value of the command ID character.
Specifies ‘Y’ as the alternate command ID character
No Action Taken
Start Buffer Hex Dump
Stop Buffer Hex Dump
This command enables the user to print only the section of the
document that is in question in Buffer Hex Dump Format. But, hex
printing starts with the buffer following the start command and stops
COMMAND 45: SCS TRN TRANSLATE
Specifies how transparent data sent using SCS code 35 is handled.
VALUE DESCRIPTION
0
*
1
Binary Transparent
Emulate IBM 3287 Printer
NOTES: Value 1 causes valid graphic characters to be printed normally (i.e.,
converted from EBCDIC to ASCII), control codes and invalid graphics
to be printed as hyphens, and normal page formatting is maintained.
Value 0 causes the 8 bit binary codes to be sent directly to the printer
just as they are received from the host.
SCS code 36 functions the same as code 35.
EXAMPLE: &%Z45,0
All SCS Code 35 data is sent to the printer as binary
codes without translation.
COMMAND 50: PARALLEL PORT TIME OUT
Selects the time interval that the interface waits for receipt of additional data
from the alternate (PC) host before automatically switching to check for data
from the coax host.
VALUE DESCRIPTION
01
Time interval in number of seconds
to
60
*5
Factory Default is 5 seconds
NOTES: The interface sends a reset command to the printer and restores the
coax host defined format commands (i.e. LPI, CPI, MPL, MPP) prior to
printing data from the coax host after having printed data from the
shared parallel port.
A-18
Because the printer is being shared between the parallel port and the
3270 host, careful attention should be paid to setting up the PC so
that jobs are not automatically terminated because the printer is. busy.
This problem may be helped by setting the PC timer “off by writing
"mode 1pt1:,,p" (in case of an LPT1 printer) in DOS.
Use of the DOS PRINT command or a spooling program for the PC is
recommended.
If your printer supports intelligent Emulation Switching (IES), make
sure your printer’s IES timeout period is less than the command 50
timeout setting.
EXAMPLE: &%Z50,10
Sets the time interval to 10 seconds
COMMAND 51: COAX PORT TIME OUT
Selects the time interval that the interface waits for receipt of additional data
from the coax host before automatically switching to check for data from the
alternate (PC) host.
VALUE DESCRIPTION
00
The interface never checks for parallel port data (parallel
shared port is disabled).
01
Time interval in number of seconds
to
60
Factory Default is 10 seconds
NOTE:
*10
The alternate (PC) host is responsible for sending any needed format
commands required by the printer prior to sending printable data.
If your printer supports Intelligent Emulation Switching (IES), make
sure your printer’s IES timeout period is less than the command 51
timeout setting.
EXAMPLE: &%Z51,05Sets the time interval to 5 seconds
A-19
COMMAND 55: CUSTOM USER STRINGS
Allows a coax user to define up to six custom user strings, of up to 25 bytes
each, which are stored in the memory of the interface card and sent to the
printer whenever the “two-letter delimiter, letter U, and number of the string’
appears in the text of the document, i.e. &%U3.
VALUE DESCRIPTION
0
to
5
NOTES: To aid in readability, a single space is allowed between hex bytes but
is not included in the string.
The strings could specify a special font selection command or other
custom command to be sent directly to the printer.
This command, if placed as the first printable data at the top of the
page (position 1, line 1), will be sent to the printer prior to the data.
To change a custom user string, simply input the new custom user
string values. The entire old string is automatically erased.
To delete a custom user string from the NV memory, simply put
nothing between the parentheses.
EXAMPLES: &%Z55,3(1 B01)
Following the value number, insert a parenthesis, followed by
the ASCII hex bytes included in the user string, and then a
parenthesis to end.
Defines the &%U3 custom user string to
send an "ESC and SOH" (1B and 01 hex) to
the printer. This is the Epson DoubleWidth, One Line, ON command.
&%Z55,4(OF)
Defines the &%U4 custom command to
send "SI" (shift in, OF hex) to the printer
wherever the &%U4 command appears in
the text. This turns ON the Epson
condensed printing.
&%Z55,5(12)
&%Z55,1( )
Defines the &%U5 custom command to
send "DC2" (Device Control 2, 12 hex) to
the printer. This is the Epson condensed
printing OFF command.
Deletes from NV memory any hex string
that had been previously defined for the
&%U1 custom command.
A-20
COMMAND 56: SHARED PORT INlTlALlZATlON STRING
Allows the user to define an initialization string of up to 25 bytes which are
stored in the memory of the interface card and sent to the printer at the
beginning of any printing received from the alternate shared port.
VALUE DESCRlPTlON
1
Following the value number, insert a parenthesis, followed by
the hex bytes included in the command string, and then a
parenthesis to end.
NOTES: To aid in readability, a single space is allowed between hex bytes but
is not included in the string.
The string could specify a special font selection command or other
custom command to be sent directly to the printer prior to the data
that is received from the parallel shared port.
To change the initialization string simply input the new command
values. The entire old string is automatically erased.
To delete the initialization string from the NV memory, simply put
nothing between the parentheses.
EXAMPLE: &%Z56,1( )
Deletes from NV memory any hex string that had
been previously defined for the parallel port
initialization string.
COMMAND 57: COAX PORT lNlTIALlZATlON STRING
Allows the user to define an initialization string of up to 25 bytes. This string is
stored in the memory of the interface card and is sent to initialize the printer for
coax port printing after printing from the shared parallel port has occurred.
The interface also, after the initialization string, sends commands to restore the
default or host defined page format parameters prior to coax port printing.
VALUE DESCRIPTION
1
Following the value number, insert a parenthesis, followed by
the hex bytes included in the command string, and then a
parenthesis to end.
A-21
NOTES: To aid in readability, a single space is allowed between hex bytes but
is not included in the string.
The coax port initialization string is only sent to the printer when you
turn the printer on and after printing by the shared parallel port has
occurred. Host SCS commands and download commands have
priority over the initialization string instructions.
To change the initialization string simply input the new command
values. The entire old string is automatically erased.
To delete the initialization string from the NV memory, simply put
nothing between the parentheses.
EXAMPLE: &%Z57,1( )
Deletes from NV memory any hex string that had
been previously defined for the coax port
initialization string
COMMAND 60: ASCII PRINTER PROTOCOL
Specifies the type of ASCII printer protocol instructions that the interface will
use when converting from the 3270 coax cable commands. Most Epson
ESC/P printers will automatically on power up set this command to agree with
the type of printer In which the interface is installed. If your printer is a laser
printer, this command is invalid.
VALUE DESCRlPTlON
* 1
2
Epson ESC/P dot matrix protocol
HP LaserJet PCL4 laser protocol
NOTES: HP LaserJet protocol automatically uses the Roman 8 character set
and Epson ESC/P requires that the Code Page 850 character set be
selected by the user through front panel selections or DIP switch
selections.
The HP LaserJet laser protocol supports the ability to specify cartridge
fonts by simply including a font ID Command in the document.
A change in this command is not active until it is saved to NV memory
using an ‘&%Z99,0’ and the unit is turned off and then on again.
When laser protocol is selected, the default for Command 25 changes
to the ‘form feed’ option.
EXAMPLE: &%Z60,2Selects use of the HP LaserJet PCL4 laser protocol
Laser printers automatically control page orientation if the user decides to
activate auto print orientation (APO). Refer to the page orientation logic chart
in the computer output reduction section of the manual.
VALUE DESCRlPTlON
* 0
Auto Print Orientation (APO) is ACTIVE. The page
dimensions of a document are checked to determine if the
data should be printed in landscape because the width is
greater than the length.
1
Auto Print Orientation (APO) is NOT ACTIVE. Print orientation
is controlled by the orientation selections specified in
Commands 62, 63, and 64.
NOTE:
APO active is the recommended selection.
A user can manipulate the page dimensions using SCS commands to
control the orientation of the printing as long as the page size required
is 8 1/2" X 11” or smaller.
EXAMPLE: &%Z61 ,1
APO is not active.
COMMAND 62: PRIMARY PAPER TRAY ORIENTATION (LASER)
The SCS (LU1) PPM command, which specifies the source for the paper,
assigns a printing orientation to the primary paper tray. Refer to the page
orientation logic chart in the computer output reduction section of the manual.
This command duplicates the IBM 3812 and 4028 printer’s feature with the
additional selection of option 3 below.
VALUE DESCRlPTlON
*0
Computer Output Reduction (COR) Mode is active when
paper is specified to be selected from the primary tray.
1
PORTRAIT orientation will occur using the active font when
the primary tray is specified.
2
LANDSCAPE orientation printing occurs using the active font
when the primary tray is specified.
A-23
3
User Defined mode; documents are printed using the fonts
and orientation that the user specifies through use of the &%
font ID commands.
EXAMPLE: &%Z62,3
Specifies that the document is printed as formatted
when the primary paper tray is specified as the
paper source.
COMMAND 63: ALTERNATE PAPER TRAY ORIENTATION (LASER)
This command functions identically to Command 62 except it controls the
orientation for printing that specifies (SCS,LU1) the alternate tray for the paper
source.
Values are the same as Command 62 except substitute ‘alternate tray’ for
‘primary tray’ in the descriptions.
NOTES: Even if the printer does not have an alternate paper tray and defaults
to the primary tray, if the SCS (LUl) host specifies the alternate tray,
the interface prints the document in accordance with the selection in
Command 63.
The value 3 is an excellent choice when COR is not required, since
the user can decide the fonts and orientation he desires by using &%
font ID commands.
EXAMPLE: &%Z63,2Specifies that landscape orientation will be used for
all printing in which the SCS (LU1) PPM code
specifies the alternate paper tray be used.
COMMAND 64: MANUAL FEED TRAY ORIENTATION (LASER)
This command functions identically to Command 62 except it controls the
orientation for printing when the PPM Command specifies the manual feed tray
far the paper source.
Values are the same as Command 62 except substitute ‘manual feed tray’ in
place of ‘primary tray’ in the descriptions.
NOTE:
A laser printer, upon receipt of the manual feed tray command, does
not proceed with printing until paper is placed into the manual feed
slot. This allows a user to insert special forms, letter head, or colored
paper into the manual feed slot.
EXAMPLE: &%Z64,1
Specifies all printing performed using paper from the
manual feed slot be printed in portrait orientation.
COMMAND 65: CHARACTER SET SELECTION
Enables the user to make a special selection of the ASCII character set that is
used in the conversion from EBCDIC (SCS/LU1) or DSC (LU3) to ASCII. This
is the character set that the printer uses in printing. It must be selected at the
printer by using the front panel or dip switches of the printer. Changing the
protocol selection in Command 60 automatically changes the character set as
required. However, Command 65 can override the automatic selection.
VALUE DESCRIPTION
1
* 2
Roman 8 character set
Code Page 850 character set
NOTES: The character set substitutions defined in Commands 70 and 71 must
be adjusted if the ASCII character set is changed. All previously
defined substitutions are lost from NV memory when the character set
selection is changed.
Refer to the character set summary tables at the end of the self test to
confirm which ASCII character is printed for each of the 3270 hex
codes. Both the EBCDIC and DSC tables are provided.
EXAMPLE: &%Z65,2
Selects the Code Page 850 character set
COMMAND 70: OVERWRITE EBCDIC (SCS/LU1) TRANSLATION TABLE
Custom substitutions defined by this command and stored in NV memory are
written into the EBCDIC (SCS/LU1)-to-ASCII translation table.
VALUE DESCRIPTION
xx
The hex location in the EBCDIC table that sends the following
ASCII hex sequence.
YY
The ASCII hex sequence that is overwritten in the EBCDIC
translation table.
A-25
NOTES: Previously stored substitutions are automatically changed to the new
selection when the same hex location is specified in the EBCDIC
table.
Previously stored substitutions are cancelled if an ASCII hex sequence
of 00 is specified.
Command ‘Z99,0’ must be used to store the substitutions in NV
Memory for them to be effective when the printer is next turned on.
The active EBCDIC (SCS/LU1) translation table prints out at the end of
the interface self-test summary.
EXAMPLE: &%Z70,7B,40/Z99,0
Overwrites the ASCII hex output for the
EBCDIC 7B (a # symbol) to send a 40
ASCII hex which will print a @ symbol
instead. The command is followed by a
command ‘Z99,0 which stores the active
setup selections in non-volatile memory.
COMMAND 71: OVERWRITE DSC (LU3) TRANSLATION TABLE
Custom substitutions defined by this command, and stored in the NV memory,
are overwritten into the DSC (LU3) to ASCII translation table.
NOTES: This command functions identically to Command 70 except that the
substitutions are applicable to the DSC (LU3) translation table. Refer
to the Command 70 instructions.
The active DSC (LU3) translation table prints out at the end of the
interface self-test summary.
COMMAND 98: RESTORE DEFAULTS CR PRINT CONFIGURATION
Restores the factory default configuration selections, prints out a copy of the
active configuration selections, or restores the non volatile memory (NV)
selections to the active configuration status.
VALUE DESCRIPTION
0
Restores the factory defaults to the NV memory of the
interface.
1
2
Prints out the active setup selections for review by the user.
Restores the setup selections stored in the NV memory to
active status of the interface.
NOTES: The active setup selections are the same as the NV memory
selections if no host download commands have been sent to the
printer since it was turned on.
Value 2 is a quick way, after having printed a document using special
setup selections, to return the interface to the normal selections. Put
a &%Z98,2 at the end of the special document to restore the standard
setup parameters for the next coax
user
of the printer.
The active setup and NV memory setup selections are the same after
a command ‘Z99,0 or a Command ‘Z98,2’ is sent to the printer.
EXAMPLE: &%Z98,1
Prints out the active-setup selections for review by
the user.
COMMAND 99: STORE CONFIGURATION IN NV MEMORY
Send this command after all desired host download configuration commands
have been sent to the interface. It stores the active setup in the NV memory of
the interface so that it will be in effect whenever you turn on the printer.
Otherwise, active configuration commands are lost when the printer is turned
Off.
VALUE DESCRIPTION
0
To complete the command format, the value 0 must be used.
NOTES: Only host download selections which have been followed by a
Command ‘Z99,0’ will be stored in NV memory and restored to the
active setup when the printer is turned on.
Only use Command ‘Z99,0’ when the host download selection needs
to be permanently stored in the memory of the coax interface.
EXAMPLE: &%Z99,0Stores the currently active setup selections in the NV
memory of the interface.
A-27
APPENDIX B: PUSH BUTTON SETUP
Push button (Yes / No) setup provides an alternate method for a user to select the
basic configuration selections for the printer emulation. Selections can also be
changed by the Host Download Configuration Commands as specified in
Appendix A which has more detailed information on the selections.
Push button setup is selected by performing a self test and at the end of the self
test print out the last line of printing will have the question: ‘Do you want to do
push button set up?’ Press the PA1 push button to answer the question"Yes".
Press the PA2 push button to answer the question “No’, or simply turn off the
printer to discontinue push button setup.
NOTE:
A detailed example of the Push Button Setup printout is as follows:
1920 =
2560=
3564=
3440 = Logical Buffer Size
960
1920=
Logical Buffer Size
Logical Buffer Size
Logical Buffer Size
= Logical Buffer Size
Logical Buffer . ..(Sequence repeats until a ‘No’ response is given)
For reference, your ‘Yes’ or “No’ response is printed
before the next option statement is printed. Some
printers may require you to line feed the paper to a
position where the printed text can be read.
laser printer, it is necessary to form feed a page to
read the printed output.
Do you want this changed? (Yes I No)
Do you want this changed? (Yes / No)
Do you want this changed? (Yes / No)
Do you want this changed? (Yes / No)
Do you want this changed? (Yes / No)
On a
Yes
Yes
Yes
Yes
Yes
A “Yes’ response causes the next selection in the option group to be substituted
into the printed statement with a similar Yes / No response requested. When the
‘No’ button is pushed, the current configuration selection remains and the
selection jumps to the next configuration setup option group. The selections are
B-l
grouped together with periodic opportunities to end push button setup provided
at the end of each group.
Following is the summary list of the push button setup option groups that are
used to select the basic configuration. The underlined segment of each statement
is the portion that changes.
*Epson ESC/P dot matrix protocol active
Do you want this changed? (Yes/ No)
Alternate Selections:
* HP Laserjet PCL
* Epson ESC/P dot matrix
*1920=
Logical Buffer Size
Do you want this changed? (Yes / No)
Alternate Selections:
* 2560
*3564
* 3440
* 960
* 1920
*6 = Default LPI
Do you want this changed? (Yes / No)
Alternate Selections:
* 8
* 3
* 4
* 6
*10 = Default CPI
Do you want this changed? (Yes/No)
Alternate Selections:
* 12
* 15
* 16.7
* 10
(Reference Command 60)
(Reference Command 1)
(Reference Command 2)
(Reference Command 3)
B-2
*Single (6 or 8 LPI) = Default Spacing
Do you want this changed? (Yes I No)
Alternate Selections:
*Double (3 or 4 LPI)
* Single (6 or 8 LPI)
(Reference Command 4)
* 66 = MPL
Do you want this changed? (Yes / No)
Alternate Selections:
* 72
* 84
* 66
*132 = Default MPP
Do you want this changed?
Alternate Selections:
* 198
* 255
* Infinite
* 80
* 132
*Dual Case = Default Print Case
Do you want this changed? (Yes / No)
Alternate Selections:
* Mono
* Dual
*English (U.S.) = Default Language
Do you want this changed?
Alternate Selections:
* Austrian / German
* Belgian
* Brazilian
* Canadian / French
* Danish / Norwegian
* Danish / Norwegian (alt)
* Finnish / Swedish
* Finnish / Swedish (alt)
(Reference Command 5)
(Reference Command 6)
(Yes / No)
(Reference Command 7)
(Reference Command 8)
(Yes I No)
B-3
* French
* Austrian / German (alt)
* International
* Italian
* Japanese (English)
* Spanish
* Span&h (alt)
* Spanish Speaking
* English (U.K.)
* Portuguese
* English (U.S.)
Do you want to END?
(Yes / No)
NO response continues with following set-up selections.
YES response prints: Save current settings? (Yes / No)
YES response prints: Selections stored, turn off unit.
*No FF before local screen hard copy
(Reference Command 12)
Do you want this changed? (Yes / No)
Alternate Selections:
* FF
*Line 1 first PP of next form, for valid FF at EOB
Do you want this changed? (Yes / No)
Alternate Selections:
* Line 2
* Line 1
*FF valid at 1st PP or MPP + 1
Do you want this changed? (Yes / No)
Alternate Selections:
* FF valid anywhere
* FF valid at 1st PP or MPP + 1
(Reference Command 16)
(Reference Command 17)
(Reference Command 18)
(Reference Command 19)
* NL will be added at EOB if not present
Do you want this changed?
(Yes / No)
Alternate Selections:
* FF
* NL
B-5
(Reference Command 20)
Do you wish to end? (Yes / No)
NO response continues with following set up selections.
YES response prints: Save current settings? (Yes / No)
YES response prints: Selections stored, turn off unit.
*Multi LF’s used to eject forms
Do you want this changed?
(Yes / No)
Alternate Selections:
* FF
* Multi LF
*Suppress empty forms
Do you want this changed?
(Yes / No)
Alternate Selections:
* Do not suppress empty forms.
* suppress empty forms.
*Do Not FF if data in the printer after time out
Do you want this changed? (Yes / No)
Alternate Selections:
* Do
* Do not send
*Wrap text beyond MPP
Do you want this changed?
(Yes I No)
Alternate Selections:
* Truncate
* Wrap
(Reference Command 25)
(Reference Command 26)
(Reference Command 27)
(Reference Command 31)
B-6
*10 min.
= IR timeout
Do you want this changed? (Yes I No)
Alternate Selections:
* 20 min
* Disabled
* 5 sec
* 30 sec
* 60 sec
* 3 min
* 10 min
(Reference Command 34)
*Manual PA1/2 response
Do you want this changed? (Yes / No)
Alternate Selections:
* Auto PA1
* Manual PA1/2
*No IBM control codes suppressed
Do you want this changed? (Yes / No)
Alternate Selections:
* CPI
* LPI
* CPI/LPI
* Print quality
* All
* No
* 3268/4224 VCS emulation
Do you want this changed?
Alternate Selections:
* 3287
* 3268/4224
*Compressed LPI spacing
Do you want this changed? (Yes / No)
Alternate Selections:
* True
* Compressed (Normal)
(Reference Command 35)
(Reference Command 36)
(Reference Command 37)
(Yes / No)
(Reference Command 38)
B-7
*3287
emulation of SCS command 35
Do you want this changed? (Yes / No)
Alternate Selections:
* Binary transparent data
* 3287
(Reference Command 45)
*5 Seconds for Parallel Port time out
(Reference Command 50)
Do you want this changed? (Yes / No)
Alternate Selections:
* 10
* 20
* 30
* 60
* 5
*10 Seconds for Coax Port time out
(Reference Command 51)
Go you want this changed? (Yes / No)
Alternate Selections:
* 20
* 30
* 60
* 5
* 10
Do you want to END?
(Yes / No)
NO response continues,with following set-up selections.
YES response prints: Save current settings? (Yes / No)
YES response prints: Selections stored, turn off unit.
*APO active
(Reference Command 61)
Do you want this changed? (Yes / No)
Alternate Selections:
l APO not
l APO
B-8
Is primary paper tray orientation
*COR
Do you want this changed? (Yes / No)
Alternate Selections:
* Portrait
* landscape
* User Defined
* COR