Programmers Manual
Programmers Manual
G544-5979-00
Infoprint 6500 Series Line Matrix Printers
G544-5979-00
Note!
Before using this information and the product it supports, read the information in “Notices” on
page 5.
Internet
Visit our home page at: http://www.ibm.com/printers
Notices
Energy Star
Notices
This information was developed for products and services offered in the
U.S.A.
IBM® may not offer the products, services, or features discussed in this
document in other countries. Consult your IBM representative for information
on the products and services currently available in your area. Any reference
to an IBM product, program, or service is not intended to state or imply that
only that IBM product, program, or service may be used. Any functionally
equivalent product, program, or service that does not infringe any IBM
intellectual property rights may be used instead. However, it is the user’s
responsibility to evaluate and verify the operation of any non-IBM product,
program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not give you
any license to these patents. You can send license inquires, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785 U.S.A.
Notices
The following paragraph does not apply to the United Kingdom or any
other country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES
THIS PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not
apply to you.
This information could include technical inaccuracies or typographical errors.
Changes are periodically made to the information herein; these changes will
be incorporated in new editions of the publication. IBM may make
improvements and/or changes in the product(s) described in this publication
at any time without notice.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of
those Web sites. The materials at those Web sites are not part of the
materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you. All models of the
printer meet the requirements of IEC 950, First Edition, Amendments 1 and 2.
The laser used in the printer complies with IEC 825 and EN 60825.
Any performance data contained herein was determined in a controlled
environment. Therefore, the results obtained in other operating environments
may vary significantly. Some measurements may have been made on
development-level systems and there is no guarantee that these
measurements will be the same on generally available systems. Furthermore,
some measurement may have been estimated through extrapolation. Actual
results may vary. Users of this document should verify the applicable data for
their specific environment.
Information concerning non-IBM products was obtained from the suppliers of
those products, their published announcements or other pubicly available
sources. IBM has not tested those products and cannot confirm the accuracy
of performance, compatibility or any other claims related to non-IBM products.
Questions on the capabilities of non-IBM products should be addressed to the
suppliers of those products.
IBM encourages owners of information technology (IT) equipment to
responsibly recycle their equipment when it is no longer needed. IBM offers a
variety of programs and services to assist equipment owners in recycling their
IT products. Information on these product recycling offerings can be found on
IBM’s Internet site at
http://www.ibm.com/ibm/environment/products/prp.shtml.
Notices
All statements regarding IBM’s future direction or intent are subject to change
or withdrawal without notice, and represent goals and objectives only.
All IBM prices shown are IBM’s suggested retail prices, are current and are
subject to change without notice. Dealer prices may vary.
Note!
Before using this information and the product it supports, read the information and
Communication Statements in “Notices” on page 5.
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
For online versions of this book, we authorize you to:
• Copy, modify, and print the documentation contained on the media, for
use within your enterprise, provided you reproduce the copyright notice,
all warning statements, and other required statements on each copy or
partial copy.
• Transfer the original unaltered copy of the documentation when you
transfer the related IBM product (which may be either machines you own,
or programs, if the program’s license terms permit a transfer). You must,
at the same time, destroy all other copies of the documentation.
You are responsible for payment of any taxes, including personal property
taxes, resulting from this authorization.
Your failure to comply with the terms above terminates this authorization.
Upon termination, you must destroy your machine readable documentation.
Trademarks
Trademarks
The following terms, denoted by an asterisk (*) in this publication, are
trademarks of IBM Corporation in the United States or other countries or both:
AIX
AS/400
IBM
IPDS
OS/2
Proprinter
SCS
The following terms, denoted by a double asterisk (**) in this publication, are
trademarks of other companies:
Centronics Genicom Corporation
Code V Quality Micro Systems, Inc.
Dataproducts Dataproducts Corporation
Epson Seiko Epson Corporation
Hewlett-Packard Hewlett-Packard Company
IGP Printronix, Inc.
JetDirect Hewlett-Packard Company
PGL Printronix, Inc.
Printronix Printronix, Inc.
Microsoft Microsoft Corporation
MS-DOS Microsoft Corporation
POSTNET United States Postal Service
UNIX X/Open Company Limited
Windows Microsoft Corporation
Communication Statements
Federal Communications Commission (FCC) Statement
This equpment has been 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 in a commercial environment. This equipment
generates, uses, and can radiate radio frequency energy and, if not installed
and used in accordance with the instructions, may cause harmful interference
to radio communications. Operation of this equipment in a residential area is
likely to cause harmful interference in which case the user will be required to
correct the interference at his own expense.
Properly shielded and grounded cables and connectors must be used in order
to meet FCC emission limits. IBM is not responsible for any radio or television
interference caused by using other than recommended cables and
connectors or by unauthorized changes or modifications to this equipment.
Unauthorized changes or modifications could void the user’s authority to
operate the equipment.
This device complies with Part 15 of the FCC Fules. Operation is subject to
the following two conditions: (1) this device may not cause harmful
interference, and (2) this device must accept any interference received,
including interference that may cause undesired operation.
IBM cannot accept responsibility for any failure to satisfy the protection
requirements resulting from a non-recommended modification of the product,
including the fitting of non-IBM option cards.
This product has been tested and found to comply with the limits for Class A
Information Technology Equipment according to European standard EN
55022. The limits for Class A equipment were derived for commercial and
industrial environments to provide reasonable protection against interference
with licensed communication devices.
WARNING
This is a Class A product. In a domestic environment this product may cause radio interference
in which case the user may be required to take adequate measures.
Communication Statements
Properly shielded and grounded cables and connectors must be used in order
to reduce the potential for causing interference to radio and TV
communications and to other electrical or electronic equipment. IBM cannot
accept responsibility for any interference caused by using other than
recommended cables and connectors.
533
Notices
China
Declaration:
This is a Class A product. In a domestic environment this product may cause
radio interference in which case the user may need to perform practical
actions.
Communication Statements
Taiwannese
Warning:
This is a Class A product. In a domestic environment this product may cause
radio interference in which case the user will be required to take adequate
measures.
Korea
CAUTION:
This product is equipped with a 3-wire power cord and plug for the user’s
safety. Use this power cord in conjunction with a properly grounded electrical
outlet to avoid electrical shock.
Notices
4. Conflicting Terms
You agree that this Agreement provides you no more rights with regards to
warranty, support, indemnity or liability terms with respect to Red Hat, Inc.,
Printronix, Inc. or any contributor to the Embedded Software than that
provided by the Red Hat eCos Public License v.1.1 or any express warranty
that may be made by Printronix, Inc.
5. Limitation of Liability
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY,
WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR
OTHERWISE, SHALL RED HAT, PRINTRONIX, ANY OTHER
CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE EMBEDDED
SOFTWARE, OR ANY PART THEREOF, OR ANY SUPPLIER OF ANY OF
SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY
INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF
ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR
LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR
LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE
POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY
SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME
JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF
INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION
AND LIMITATION MAY NOT APPLY TO YOU.
6. U.S. Government Users
The Embedded Software is a "commercial item," as that term is defined in 48
C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" and
"commercial computer software documentation," as such terms are used in
48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48
C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End
Users acquire Covered Code with only those rights set forth herein.
7. Miscellaneous
This Agreement represents the complete agreement concerning subject
matter hereof. If any provision of this Agreement is held to be unenforceable,
such provision shall be reformed only to the extent necessary to make it
enforceable. This Agreement shall be governed by California law provisions
(except to the extent applicable law, if any, provides otherwise), excluding its
conflict-of-law provisions.
Notices
www.ibm.com/printers/register
Product Registration Information
Table Of Contents
1 Introduction ........................................................... 33
About This Manual..................................................................................33
Warnings And Special Information ...................................................34
Related Documentation....................................................................34
The IBM 6500-v ASCII Line Matrix Printer..............................................34
Host Interfaces And Emulations .............................................................35
Host Computer Interfaces ................................................................35
Printer Emulations ............................................................................35
Standard 6500-v Printer Features ..........................................................35
Text Formatting and Language Options...........................................35
Graphics And Vertical Formatting ....................................................36
Diagnostics.......................................................................................36
Line Matrix Printing Overview .................................................................37
Printing Speed ........................................................................................38
19
Table of Contents
20
Table of Contents
Underline ..........................................................................................89
Unidirectional Printing ......................................................................89
21
Table of Contents
22
Table of Contents
23
Table of Contents
24
Table of Contents
25
Table of Contents
26
Table of Contents
FIM .................................................................................................272
Interleaved 2/5 (I-2/5), German I-2/5, and ITF-14 ..........................274
Interleaved 2/5 (I-2/5) .....................................................................280
MSI .................................................................................................281
PDF417 ..........................................................................................286
PostBar and Royal Mail (KIX).........................................................292
POSTNET ......................................................................................296
Royal Mail ......................................................................................298
Telepen ..........................................................................................299
UCC/EAN-128 ................................................................................305
UPC-A ............................................................................................317
UPC-E ............................................................................................318
UPC Shipping.................................................................................321
UPS 11 ...........................................................................................322
8 Graphics.............................................................. 327
Overview...............................................................................................327
Bit Image Graphics ...............................................................................327
Designing A Bit Image Pattern .......................................................329
Bit Image Density ...........................................................................329
Plot Mode..............................................................................................332
Plot Density ....................................................................................332
Plot Data Byte Format ....................................................................333
Plot Data Line Format ....................................................................334
Plotting The Data ...........................................................................337
Exiting From P-Series/P-Series XQ Variant Plot Mode..................338
Combining Graphics And Text..............................................................338
Plot Data Byte Dot Patterns ...........................................................339
27
Table of Contents
28
Table of Contents
29
Table of Contents
30
Table of Contents
31
Table of Contents
32
1 Introduction
33
Chapter 1 The IBM 6500-v ASCII Line Matrix Printer
Related Documentation
The following manuals provide information that is closely related to the ASCII
emulation information provided in this book:
The IBM Infoprint 6500 Line Matrix Printers User’s Manual describes how to
unpack, install, and configure the 6500-v printer. This manual explains the
menus that allow you to select a printer emulation and configure printer
emulation options. Proprinter III XL, Epson FX-1050, P-Series, Serial Matrix,
and P-Series XQ emulation menu options are described in detail.
The IBM Infoprint 6500 Line Matrix Printers User’s Manual provides
descriptions of the operator panel keys and LCD display. Procedures are
provided for daily printer operations such as loading paper, installing the ink
transport assembly, and cleaning the printer. Some configuration menu
information is provided.
34
Host Computer Interfaces
Printer Emulations
Each emulation provides a different set of configuration menus, control codes,
and character sets. The following printer emulations (or protocols) are
selectable at the operator panel:
• Proprinter III XL emulation
• Epson FX emulation
• Serial Matrix emulation
• P-Series emulation
• P-Series XQ Variant emulation
The following printer emulations are available as options:
• PGL** (Printronix** Graphics Language) emulation
• Code V** Graphics Language emulation
35
Chapter 1 Standard 6500-v Printer Features
Diagnostics
The User’s Manual for each printer discusses the following diagnostic
features in more detail:
• Built-in diagnostic self-tests
• Configuration printout
• Data stream hexadecimal code printout
36
Diagnostics
37
Chapter 1 Printing Speed
DOT PAPER
ROW START ADVANCES
1
2
3
4
5 PAPER
CHARACTER FEED
6
LINE 7
8 *
9 * *
10
11 SPACE PAPER
ADVANCES
12
1
2
1 HAMMER 1 HAMMER
PRINT SPAN PRINT SPAN
Printing Speed
The speed at which text prints is measured in lines per minute (lpm). This
speed is directly proportional to the number of dot rows required to produce a
character line, regardless of the number of characters in the line. More dot
rows are required to print lowercase characters with descenders;
consequently, those character lines print at a fractionally lower rate.
The IBM 6500-v printers also print dot-addressable graphic images. The
speed at which graphics are plotted is measured in inches per minute (ipm).
Unidirectional plotting produces slightly better print quality, and takes about
twice as long as bidirectional plotting. You can select either plotting mode
from the operator panel.
Printing and plotting rates also vary according to the print quality you select.
Print quality refers to the way you instruct the printer to create characters. If,
for example, you select near letter quality (NLQ), the printer uses more dot
rows to form characters than if you choose high speed (HS) print quality.
Character formation and print speed are faster in HS because the printer uses
fewer dot rows to form characters. Vertical dot density is thus a factor in
printing speed. Nominal printing rates are charted in Appendix A of the IBM
Infoprint 6500 User’s Manual.
38
2 IBM Proprinter III XL
Emulation
Overview
This chapter describes the Proprinter III XL emulation host control codes that
are supported for the IBM 6500-v printers. Emulation refers to the ability of a
printer to execute the commands of a particular printer control language. A
printer control language is the coding system used to convey, manipulate, and
print data. Carriage Return, print quality, character attributes such as bold and
underline, margins, and tabs are typical functions selected by printer control
language codes. In this manual, the terms emulation, printer protocol, and
printer control language are synonymous.
In Proprinter III XL emulation mode, the 6500-v printers can print files coded
for the Proprinter III XL printer control language. To select the Proprinter III XL
emulation mode as the active printer configuration, refer to the ASCII
Emulation Selection menu option described in Chapter 4 of the IBM Infoprint
6500 Line Matrix Printer User’s Manual.
The Proprinter III XL emulation provides many configurable parameters. The
default parameter values for this emulation are shown in Table 1. You can
modify these parameter values in two ways:
• The Proprinter III XL host control codes. An extensive set of Proprinter
III XL control code commands can be sent to the printer from an attached
host computer via the host data stream. Most of this chapter is devoted to
describing the Proprinter III XL control code commands.
• The printer configuration menus. You can modify a subset of the
Proprinter III XL emulation parameters using the printer configuration
menus, operator panel keys, and LCD display, as described in the User’s
Manual.
Control codes sent from a host system generally override previous settings
that result from the configuration menus. However, any configuration settings
from host control codes will be gone once the printer is powered off (or reset
to the default values), unless you have saved them to NVRAM using the
configuration menus. The User’s Manual describes the Save Custom Sets
option for saving changes to NVRAM.
The emulation’s response to several of the control codes depends on the
configuration. For example, upon receipt of the carriage return control code,
the emulation will perform either a carriage return function only, or a carriage
return and line feed, based on the configuration for the CR function.
39
Chapter 2 Overview
40
Proprinter III XL Emulation Exceptions and Differences
Table 2 lists several additional default settings for parameters that are
provided by the Print Format menus (described in Chapter 4 of the User’s
Manual). Many of the settings shown in Table 2 can be overridden by
Proprinter III XL host control codes for the same parameter.
CPI 10.0
LPI 6.0
41
Chapter 2 Overview
12 CPI
(If setting 6 of the Printer
Function Menu is On.)
42
Combining Print Modes
Double-High, NLQ Serif Double-High, NLQ Sans Serif Double-High, NLQ Serif
Double-High, Double-High, Double-High
Super/Subscript
NLQ Serif, 12 CPI Bold NLQ Serif, 12 CPI NLQ Serif, 12 CPI, Bold
Double-Wide, NLQ Serif Double-Wide, NLQ Sans Serif Double-Wide4, NLQ Serif
2. Emphasized, bold, and double-strike are equivalent for the 6500-v Proprinter III XL
emulation.
3. 12-high characters (with a vertical height of 12 dots) occur in code pages 437 and 850,
positions 176-223 and 244.
4. See page 64 for several examples of expanding initial print sizes (5 cpi, 6 cpi, etc.).
43
Chapter 2 Configuring The Proprinter Emulation With Control Codes
IMPORTANT If you specify any parameters for a control code other than the ones that
are defined in the control code description, unpredictable results may
occur.
NOTE: The PI line is never recognized in Proprinter III XL Emulation mode.
IMPORTANT An Escape code can occur anywhere in the datastream and is acted
upon immediately if it precedes a valid command.
44
Graphics Control Codes Overview
An ESC sequence introducer in the data stream signals the printer to wait for
special instructions, even if it is ready and printing. The character codes
following the ESC character tell the printer what to do.
NOTE: For readability, code sequences appear in this manual with spaces
inserted between command elements. Do not insert spaces between
code characters when you are programming unless the ASCII space
character (SP) is part of a code sequence. For example, a code
sequence printed in this manual as ESC [ 1 is programmed as ESC[1
An escape sequence uses two or more bytes to define a specific printer
control function. The format for an escape sequence is:
ASCII ESC X n
Hex 1B 00 - 7F 0 - FF
After the ESC character are one or more characters which indicate the action
of the control code. One or more numerical parameters may in turn follow
these characters. For example, the sequence ESC S n tells the printer to
begin the superscript print attribute if n is an even number, or to begin the
subscript attribute if n is an odd number.
If the characters following the ESC code are not within the defined ranges, or
if they are within the defined ranges but not recognized as a function of this
printer, the entire sequence is ignored.
45
Chapter 2 Configuring The Proprinter Emulation With Control Codes
46
Graphics Control Codes Overview
Fault Detection
If the printer detects a fault condition, the operator panel displays an
appropriate message, the Attention indicator lights, and an audible alarm
sounds if it was enabled as part of printer configuration.
After a fault condition is corrected, press Clear to return the printer to the Not
Ready mode, or press Start to return the printer to the Ready mode. Data that
were in the printer buffer when the fault occurred will print, but may be
distorted or illegible as a result of the fault.
Fault conditions are described in the User’s Manual.
IMPORTANT Entering control codes that are not defined in this chapter may produce
unpredictable results.
47
Chapter 2 Configuring The Proprinter Emulation With Control Codes
The following control code is ignored as a Proprinter III XL control code, but is
valid for the Serial Interface Protocol.
NUL Code
NUL (Hex 00) is ignored by the printer and can be used as a fill character;
however, it can not be used to add blank spaces since it is not a space
character. NUL can also be used as a parameter terminator for the Set
Horizontal Tabs (page 86) or Set Vertical Tabs multibyte control code
(page 87).
NOTE: Hex 80 in the 0437 PC Character Set and Hex 7F in the 0850 PC
Character Set are treated as a NUL; however, these two controls can
not be used as parameter terminators.
48
Graphics Control Codes Overview
0737 Greek X
0853 Latin 3 PC X
0857 Turkish X
0860 Portuguese X
0861 Icelandic X
0862 Hebrew X
0865 Danish/Norwegian X
0866 Russian Cyrillic 996 X Limited character set support for most
CPI settings in Draft mode.
49
Chapter 2 Configuring The Proprinter Emulation With Control Codes
0916 Hebrew X
0922 Estonian X
1098 Farsi 1285 (PC) X Limited character set support for most
CPI settings in Draft mode. Variant
character set for NLQ Sans Serif.
1116 Estonian X
1117 Latvian X
1118 Lithuanian X
1129 Vietnamese X
50
The Control Codes
Format
† Backspace BS 53
Cancel CAN 59
Carriage Return CR 59
Carriage Return Set ESC 5 n 59
Forms Length Set in Inches ESC C NUL n 66
Forms Length Set in Lines ESC C n 67
Margin, Bottom ESC N n 76
Margin, Bottom (Cancel) ESC O 77
Margins, Horizontal ESC X n m 77
Set Top-of-Form ESC 4 85
Tab, Horizontal HT 86
Tab Set/Clear, Horizontal ESC D n1 n2 nk NUL 86
Tabs, Clear All (Return to default) ESC R 88
Line Spacing
Line Spacing 1/8 Inch (8 lpi) ESC 0 72
Line Spacing 7/72 Inch (10.3 lpi) ESC 1 73
Line Spacing n/72 Inch (Executes) ESC 2 74
Line Spacing n/72 Inch (Storage) ESC A n 75
Line Spacing n/216 Inch ESC 3 n 76
Print Quality
† Bold Printing ESC G 58
Bold Printing, Cancel ESC H 58
† Character Pitch 12 cpi ESC : 60
† Condensed Print SI 61
Condensed Print Cancel DC2 62
† Double Wide Print ESC W n 63
51
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Bit Image
Bit Image, Single Density ESC K n1 n2 54
(Normal Speed)
Bit Image, Double Density ESC L n1 n2 55
(Half Speed)
Bit Image, Double Density, ESC Y n1 n2 56
(Normal Speed)
Bit Image, Quadruple Density, ESC Z n1 n2 57
(Half Speed)
Other Functions
Bell BEL 53
Deselect Printer ESC Q 22 62
Escape Sequence ESC 44
Initialize Parameters ESC [ K n1 NUL n2 n3 n4 n5 68
Print All Characters ESC \ n1 n2 78
Print Next Character ESC ^ n 79
Super-Set Commands ESC | } ; 85
Unidirectional Printing ESC U n 89
52
Backspace
Backspace
ASCII BS
Hex 08
Dec 08
Purpose Moves the logical print head to the left one character space
toward the first character column.
Discussion BS moves the character position indicator (the logical print
head position) one character space to the left at the current
character pitch setting. This code is ignored if the logical print
head is positioned at the first character column.
Bell
ASCII BEL
Hex 07
Dec 07
Purpose Sounds a buzzer/beeper.
Discussion The BEL function will sound the buzzer/beeper for 0.2
seconds upon receipt of this command.
53
Chapter 2 Configuring The Proprinter Emulation With Control Codes
54
Bit Image Mode, Double Density (Half Speed)
55
Chapter 2 Configuring The Proprinter Emulation With Control Codes
56
Bit Image Mode, Quadruple Density (Half Speed)
57
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Bold Printing
ASCII ESC G
Hex 1B 47
Dec 27 71
Purpose Selects bold character printing.
Discussion When this command is received, all characters are printed in
bold until reset by the Bold Print Reset control code or printer
reset. The bold print attribute is implemented by increasing
the dot density for the bolded text (with a similar result to
double strike printing).
The ESC E (page 65) and ESC G commands are equivalent;
they produce the same print effect.
† IBM 6500-v printers print both Bold and Condensed when
this control code is combined with Condensed (SI). The IBM
Proprinter prints only Emphasized when control codes for
Compressed and Emphasized are combined. (See Table 3
on page 42.)
Example The following sample illustrates bold character printing.
58
Cancel
Cancel
ASCII CAN
Hex 18
Dec 24
Purpose Clears the print buffer of all symbols since the last paper
motion command was received.
Discussion The CAN command cancels all characters sent to the printer
after the last paper motion command.
This command will cancel the double wide attribute if set by
SO. No other print attributes are affected.
Carriage Return
ASCII CR
Hex 0D
Dec 13
Purpose Returns the logical print head to the first character column
(resets the pointer to the first character position). May be
configured to include a line feed.
Discussion The CR code is configured via the ESC 5 code or via the
operator panel menus (described in Chapter 4 of the User’s
Manual). The CR = CR configuration causes the character
position indicator to be positioned at character column one;
subsequent printable data preceding a paper motion
command overstrikes previously printed data. The CR = CR
+ LF configuration causes the CR code to perform a carriage
return plus a line feed.
The CR code also cancels expanded (double wide) print
when set by code SO (single line printing attribute).
59
Chapter 2 Configuring The Proprinter Emulation With Control Codes
60
Condensed Print
Condensed Print
ASCII SI ESC SI
Hex 0F 1B 0F
Dec 15 27 15
Purpose Sets condensed print.
Discussion You may enable or disable the condensed print feature using
the operator panel (the default setting for the Condensed
Print option is enabled, as described in Chapter 4 of the
User’s Manual). Once condensed print is enabled, this
control code sets condensed print until it is canceled by
control code DC2, a printer reset, or a new print mode (ESC
I) control code.
The manner in which the print is condensed varies depending
on the initial print size. Several examples are listed in Table
6:
6 cpi 10 cpi
20 cpi no change
61
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Deselect Printer
ASCII ESC Q 22
Hex 1B 51 16
Dec 27 81 22
Purpose Stops the printer from processing data received from the host
computer.
Discussion This code is for diagnostic use; it instructs the printer to stop
processing data received from the host system. In order to
resume processing data, the printer must be reset from the
host system.
Example Using the BASIC language, you may deselect the Proprinter
III XL with the following:
LPRINT CHR$(27);CHR$(81);CHR$(22);
62
Double Wide Print
5 cpi no change
6 cpi no change
12 cpi 6 cpi
20 cpi 10 cpi
63
Chapter 2 Configuring The Proprinter Emulation With Control Codes
64
Double Wide Print (One Line Only) Cancel
Emphasized Print
ASCII ESC E
Hex 1B 45
Dec 27 69
Purpose Selects emphasized character print format.
Discussion When the emphasized print command is received, all
characters will be printed in emphasized (bold) print until
reset by the Emphasized Print Reset command or printer
reset. Emphasized print reduces the current print speed.
NOTE: The ESC G (page 58) and ESC E commands are equivalent; they
produce the same print effect.
† IBM 6500-v printers print both Condensed and Emphasized
when this control code is combined with Condensed (SI). An
IBM Proprinter prints only Emphasized when control codes
for Compressed and Emphasized are combined. (See Table
3 on page 42.)
Example The following sample illustrates emphasized character
printing.
65
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Form Feed
ASCII FF
Hex 0C
Dec 12
Purpose Prints the data in the buffer, advances the paper to the next
top-of-form, and moves the logical printhead to the first
character column.
Discussion Forms length is set by using the operator panel or forms
length control codes. This code cancels double wide
(expanded) characters if set by the SO command.
The Form Feed command will react differently when the VFU
is active. Refer to Chapter 9 for further information.
66
Forms Length Set In Lines
67
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Initialize Parameters
ASCII ESC [ K n1 NUL n2 n3 n4 n5
Hex 1B 5B 4B n1 00 n2 n3 n4 n5
Dec 27 91 75 n1 0 n2 n3 n4 n5
Purpose Sets the printer initial condition.
Discussion This command causes the printer to reset and defines the
configuration that will be loaded to the printer during the
reset. Several variables must be specified to define the load
configuration, as described below.
NOTE: An ESC[K code can occur at any place in the datastream and is acted
upon immediately. All numerical parameters are in the hex 00 through
FF range unless stated otherwise. Only specified parameters are
supported. Other values may be ignored or cause unpredictable
results, and should be avoided.
n1 The value of n1 defines which of the following n bytes will be
included in the command line, as shown in Table 8.
n1
Function
Hex Value
68
Initialize Parameters
n2
Function
Hex Value
00, 01, 254 The printer will load the power-up configuration that is
stored in memory. Configuration changes that are defined
by command bytes n4 and n5, if present, will override
conflicting values stored in memory.
04, 05, 255 The printer will load the factory default configuration.
Configuration parameters defined by command bytes n4
and n5, if present, will override conflicting factory default
values.
69
Chapter 2 Configuring The Proprinter Emulation With Control Codes
4 Line Feed = LF LF + CR
(add CR with each LF)
3 Carriage Return = CR CR + LF
(add LF with each CR)
4 12 cpi compressed to 20 20 12
70
Line Feed
Line Feed
ASCII LF
Hex 0A
Dec 10
Purpose Prints the data in the buffer (if any) and advances the paper
one line at the current line space setting.
Discussion If configured for LF equals new line (LF = CR + LF), the
logical print head is positioned at character column 1 of the
new line. Otherwise, the logical print head does not move
when configured for LF function only (LF = LF only). The LF
function cancels double wide (expanded) characters if set by
the SO command.
Line feed can occur at any place in the datastream and is
acted upon immediately.
71
Chapter 2 Configuring The Proprinter Emulation With Control Codes
72
Line Spacing 7/72 Inch (10.3 lpi)
73
Chapter 2 Configuring The Proprinter Emulation With Control Codes
74
Line Spacing n/72 Inch (Storage)
n Line Spacing
24 3 lpi
18 4 lpi
12 6 lpi
9 8 lpi
8 9 lpi
6 12 lpi
75
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Margin, Bottom
ASCII ESC N n
Hex 1B 4E n
Dec 27 78 n
Purpose Sets the bottom margin.
Discussion n defines the number of lines above the bottom of the form to
set as the bottom margin. n has a range from 1 through 255.
The actual margin in inches is the quotient of n divided by the
current lines per inch (lpi).
If a line feed command causes the active position to advance
below the bottom margin, the paper advances to the top of
the next form. If the bottom margin is set equal to or greater
than the form length, printing is only allowed on the top line of
each page. If the forms length is changed by the ESC C code
(Forms Length sequence), the bottom margin is set to zero.
76
Margin, Bottom (Cancel)
Margins, Horizontal
ASCII ESC X n m
Hex 1B 58 n m
Dec 27 88 n m
Purpose Sets left and right margins in character positions.
where: n = left margin position
m = right margin position
Discussion The values of n and m must be in the range from 0 through
255. The margins are measured in character positions at the
current characters per inch (cpi).
The value set for n is the left margin, where n is the number
of character positions from the left edge of the paper. The left
margin in inches is the quotient of the value for n divided by
the current cpi. Once the left margin is set, later changes in
the cpi do not affect the margin setting.
The value set for m is the right margin, where m is the
number of character positions from the left edge of the paper.
The right margin in inches is the quotient of the value for m
divided by the current cpi. Once the right margin is set, later
changes in the cpi do not affect the margin setting.
77
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Overscoring
ASCII ESC _ n
Hex 1B 5F n
Dec 27 95 n
Purpose Enables or disables automatic overscoring of all characters.
where: n may range from 0 through 255
n = 00, 02, 04 (any even value) disables automatic
overscoring
n = 01, 03, 05 (any odd value) enables automatic
overscoring
Discussion When automatic overscore is enabled, all characters,
including spaces, are overscored. Full-height graphics
characters are not overscored. (Full-height characters are in
the upper ASCII character set for code pages 437 and 850, in
positions 176-233, or 244.)
Example The following sample illustrates automatic overscoring and
overscoring reset.
78
Print Next Character
Print Mode
ASCII ESC I n
Hex 1B 49 n
Dec 27 73 n
Purpose Selects a print mode.
Discussion This control code selects a print mode from among the
choices in Table 13.
n (Hex) Function
0 DP
1 Draft 12 CPI
3 NLQ Serif
4 DP
5 Draft 12 CPI
7 NLQ Serif
8 NLQ Serif-Italic-Proportional
9 NLQ Serif-Italic
There are several duplicate Hex values that select the same
print quality. These are provided for compatibility with the
Proprinter III XL standard.
† IBM 6500-v printers print at 17.16 cpi when NLQ (Serif or
Sans Serif) is combined with Condensed (SI) and 12 CPI
79
Chapter 2 Configuring The Proprinter Emulation With Control Codes
(ESC :). The IBM Proprinter prints at 20 cpi when any NLQ is
combined with Condensed and 12 CPI. (See Table 3 on page
42.)
† IBM 6500-v printers can print a combination of NLQ (Serif or
Sans Serif) and several additional print attributes (such as
compressed, emphasized, and super/subscript). However,
the IBM Proprinter prints only a subset of these attributes
when the same control codes are combined (see Table 3 on
page 42).
IMPORTANT If you specify any value other than those shown in Table 13,
unpredictable results may occur.
Print Quality
ASCII ESC x n
Hex 1B 78 n
Dec 27 120 n
Purpose This code selects a print quality.
where: n = hex 0 or hex 30 selects DP print quality
n = hex 1 or hex 31 selects NLQ Serif print quality
n = hex 2 or hex 32 selects Draft print quality
n = hex 3 or hex 33 selects OCR A print quality
n = hex 4 or hex 34 selects OCR B print quality
Comment Print qualities selected with this command override operator
panel selections. Selecting an OCR print quality overrides
any character attributes already set, such as condensed,
double-wide, etc., and forces 10 cpi. Character attributes set
when OCR is selected will be ignored.
NOTE: Some print attributes (such as condensed, double-wide, etc.) may not
return to their previous setting when changing from OCR-A or OCR-B
back to another Print Quality. For guaranteed results, all print
attributes should be set after the Print Quality is selected.
† IBM 6500-v printers print at 17.16 cpi when NLQ Serif is
combined with Condensed (SI) and 12 CPI (ESC :). The IBM
Proprinter prints at 20 cpi or 12 cpi with the same
combination, depending on the IBM Proprinter’s panel
settings (see Table 3 on page 42.)
† IBM 6500-v printers can print a combination of NLQ Serif and
several additional print attributes (such as compressed,
emphasized, and super/subscript). However, the IBM
Proprinter prints only a subset of these attributes when the
same control codes are combined (see Table 3 on page 42).
80
Proportional Spacing
Proportional Spacing
ASCII ESC P n
Hex 1B 50 n
Dec 27 80 n
Purpose Enables/disables proportional spacing of characters.
where: n may range from 0 through 255
n = 1, 3, 5...(any odd value) enables proportional
spacing
n = 0, 2, 4...(any even value) disables proportional
spacing
Comment This command is ignored when a non-proportional font is
used.
† IBM 6500-v printers print proportional spacing and NLQ Serif
when this control code and the ESC I control code for NLQ
Serif are combined. The IBM Proprinter prints proportional
spacing and NLQ Sans Serif (instead of NLQ Serif). (See
Table 3 on page 42 for further information.)
† The IBM 6500-v and IBM Proprinter, print only proportional
spacing when the following control codes are combined:
Proportional spacing and 12 CPI will print as proportional spacing
only.
Proportional spacing and Condensed will print as proportional
spacing only.
81
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Select Attributes
ASCII ESC [ @ n1 NUL NUL NUL n2 n3
Hex 1B 5B 40 n1 00 00 00 n2 n3
Dec 27 91 64 n1 0 0 0 n2 n3
Purpose Selects double high and double wide attributes, and single or
double high line spacing.
Discussion Parameter n1 selects the attributes from n2 and n3, as
follows:
n1
Function
Hex Value
n2
Function
Hex Value
00 No change
82
Select Attributes
n3
Function
Hex
00 No change
01 Set single wide characters
83
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Superscript/Subscript Printing
ASCII ESC S n
Hex 1B 53 n
Dec 27 83 n
Purpose Selects superscript or subscript printing.
where: n may range from 0 through 255
n = 01, 03, 05 (any odd value), selects subscript
printing.
n = 00, 02, 04 (any even value), selects superscript
printing.
Discussion When the super/subscript command is received, all
characters will be superscript or subscript until reset by the
super/subscript reset command or printer reset. Super/
subscript print modes are not available for the double high
attribute.
NOTE: Superscript and subscript characters print at the same size as the
current font, shifted up or down relative to the print line.
† IBM 6500-v printers allow you to combine super/subscript
printing with NLQ (Serif/Sans Serif), bold, or 12-high
characters; the IBM Proprinter does not print these
combinations (see Table 3 on page 42).
Superscript and subscript printing will not occur if this control
code is combined with double-high (ESC[@, n2 = 2,12, or
22).
Example The following sample illustrates superscript/subscript
printing.
84
Superscript/Subscript Printing, Cancel
Super-Set Commands
ASCII ESC | } ;
HEX 1B 7C 7D 3B
Dec 27 124 125 59
Purpose Control code sequence used to introduce the super-set
commands.
Discussion The “|” in the command string is the pipe symbol.
Comment Super-set commands affect the ASCII emulation as a whole
regardless of the printer protocol currently active. The
commands are sent through the host in the input data stream,
and enact the following features:
•Select a printer protocol
•Bar codes
•Set variable character spacing
•Set variable line spacing
Refer to Chapter 7, “Super-Set Programming,” for further information
regarding the super-set commands.
Set Top-of-Form
ASCII ESC 4
Hex 1B 34
Dec 27 52
Purpose Sets the current paper position as the top-of-form.
85
Chapter 2 Configuring The Proprinter Emulation With Control Codes
Tab, Horizontal
ASCII HT
Hex 09
Dec 09
Purpose Moves the logical printhead right to the next horizontal tab
stop.
Discussion Power-on default horizontal tabs are set at every eighth
character starting at position 9 (9, 17, 25 ...). If there are no
horizontal tabs set or the logical printhead is located at the
last character column, the code is ignored and no movement
occurs.
If double-wide, double-high attributes are enabled, single-
wide character spacing is used.
Horizontal tabs are stored as a relative position; therefore,
character pitch changes will change horizontal tab positions.
Refer to the ESC D control code description (page 86) to set
new tab positions.
86
Tab, Vertical
Tab, Vertical
ASCII VT
Hex 0B
Dec 11
Purpose Prints the data in the buffer and advances the paper to the
next vertical tab position.
Discussion In the Proprinter III XL emulation, vertical tab positions are
set by control code ESC B and executed by control code VT.
In this mode, if vertical tabs are loaded, the paper position
moves to the next vertical tab position.
If a vertical tab format is not defined, the paper position is
advanced to the next line at the current line spacing. If a
vertical tab format is defined but no vertical tab positions are
set between the current print position and the end of the form,
the paper position is advanced to the top of the next form.
The VT code resets all single line print attributes. More
information on vertical tabs is provided in Chapter 9.
If configured for LF = CR + LF (LF equals new line), the
character position indicator is positioned at character column
1 of the new line. Otherwise, the character position indicator
does not move.
87
Chapter 2 Configuring The Proprinter Emulation With Control Codes
88
Underline
Underline
ASCII ESC – n
Hex 1B 2D n
Dec 27 45 n
Purpose Enables or disables automatic underlining of all characters.
Discussion When automatic underline is enabled, all characters,
including spaces, are underlined until disabled.
where: n may range from 0 through 255
n = 01, 03, 05 ... (any odd value) selects
underlining.
n = 00, 02, 04 ... (any even value) cancels
underlining.
† The IBM 6500-v and Proprinter print only 12-High characters
when this control code is combined with 12-High characters.
See Table 3 on page 42. 12-high characters are characters in
the upper ASCII character set for code pages 437 and 850, in
positions 176-233, or 244.
Example The following sample illustrates automatic underlining and
underlining reset.
Unidirectional Printing
ASCII ESC U n
Hex 1B 55 n
Dec 27 85 n
Purpose Sets or cancels unidirectional printing.
Discussion This code sets or cancels unidirectional printing, as follows:
where: n may range from 0 through 255
n = 01, 03, 05 ... (any odd value) selects
unidirectional text printing.
n = 00, 02, 04 ... (any even value) cancels
unidirectional text printing.
89
Chapter 2 Configuring The Proprinter Emulation With Control Codes
90
3 Epson FX-1050 Emulation
Overview
This chapter describes the Epson FX-1050 emulation host control codes that
are supported for the IBM 6500-v ASCII printers. Emulation refers to the
ability of a printer to execute the commands of a particular printer control
language. A printer control language is the coding system used to convey,
manipulate, and print data. Carriage Return, print quality, character attributes
such as bold and underline, margins, and tabs are typical functions selected
by printer control language codes. In this manual, the terms emulation, printer
protocol, and printer control language are synonymous.
In Epson emulation mode, the 6500-v can print files coded for the Epson
printer control language. To select the Epson emulation mode as the active
printer configuration, refer to the description of the ASCII Emulation Selection
option in Chapter 4 of the IBM Infoprint 6500 Line Matrix Printer User’s
Manual.
The Epson emulation provides many configurable parameters. The default
parameter values for this emulation are shown in Table 17. You can modify
these parameter values in two ways:
• The Epson host control codes. An extensive set of Epson control code
commands can be sent to the printer from an attached host computer via
the host data stream. Most of this chapter is devoted to describing the
Epson control code commands.
• The printer configuration menus. You can modify a subset of the
Epson emulation parameters using the operator panel switches and LCD
display, as described in the User’s Manual.
Control codes sent from a host system generally override previous settings
that result from the configuration menus. However, any configuration settings
from host control codes will be gone once the printer is powered off (or reset
to the default values), unless you have saved them to NVRAM using the
configuration menus. The User’s Manual describes the Save Custom Sets
option for saving changes to NVRAM.
The emulation’s response to several of the control codes depends on the
configuration. For example, upon receipt of the carriage return control code,
the emulation will perform either a carriage return function only, or a carriage
return and line feed, based on the configuration of the CR function.
91
Chapter 3 Overview
Define LF Code LF = LF
92
Default Values And States
Table 18 lists several additional default settings for parameters that are
provided by the Print Format menus (described in Chapter 4 of the User’s
Manual). Many of the settings shown in Table 18 can be overridden by Epson
FX-1050 host control codes for the same parameter.
CPI 10.0
LPI 6.0
93
Chapter 3 Overview
94
Epson Character Sets
Hex 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 à § SP 0 @ P ‘ p à § SP 0 @ P ‘ p
1 è ß ! 1 A Q a q è ß ! 1 A Q a q
3 ò DC3 # 3 C S c s ò æ # 3 C S c s
4 ì DC4 $ 4 D T d t ì ø $ 4 D T d t
5 ° ø % 5 E U e u ° ø % 5 E U e u
6 £ ¨ & 6 F V f v £ ¨ & 6 F V f v
7 BEL Ä ‘ 7 G W g w i Ä ’ 7 G W g w
8 BS CAN ( 8 H X h x ¿ Ö ( 8 H X h x
9 HT Ü ) 9 I Y i y Ñ Ü ) 9 I Y i y
A LF ä * : J Z j z ñ ä * : J Z j z
B VT ESC + ; K [ k { ¤ ö + ; K [ k {
C FF ü ’ < L \ l | Pt ü , < L \ l |
D CR É – = M ] m } Å É – = M ] m }
E SO é . > N ^ n ~ å é . > N ^ n ~
F SI ¥ / ? O _ o DEL Ç ¥ / ? O _ o ø
The international characters in hex 00-1F and hex 80-9F appear when you
invoke control code “ESC I 1”. You may use the Epson configuration menus
described in Chapter 4 of the User’s Manual (or the “ESC R” control code) to
select an international character set. Appendix F provides print samples for
each character set, shown in the NLQ print mode. Table 20 provides detailed
notes on print mode support for each character set.
Normally, these characters are either blank or control codes. The
implementation is that the control codes hide the non-italic international
characters, even in hex 00 through 1F, and DEL. DEL conceals the non-italic
slashed zero.
95
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
IMPORTANT If you specify any parameters for a control code other than the ones that
are defined in the control code description, unpredictable results may
occur.
Escape Sequences
An Epson control code consisting of more than one character is called an
escape sequence because the first character in the sequence is always the
ASCII ESCape character. ESC alerts the printer that a special function
command—not printable characters—follows.
The format for an Epson escape sequence is:
(ESC)(parameter 1)(parameter 2)...(parameter n)
For example, to select emphasized (offset) print, send the ESC character
immediately followed by the E character (do not add a space character):
ASCII: ESC E Hex: 1B 45 Dec: 27 69
96
Set And Reset Codes
NUL Code
NUL (hex 00) is ignored by the printer and can be used as a fill character;
however, it can not be used to add blank spaces since it is not a space
character. NUL can also be used as a parameter terminator for the Set
Horizontal Tabs (page 119) or Set Vertical Tabs multibyte control code (page
140).
NOTE: Hex 80 in the 0437 PC Character Set and Hex 7F in the 0850 PC
Character Set are treated as a NUL; however, these two controls can
not be used as parameter terminators.
0737 Greek X
0813 Greek X
0850 PC Multilingual X
0851 Greek Old X
0853 Latin 3 X
97
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
0855 Cyrillic X
0857 Turkish X
0860 Portuguese X
0861 Icelandic X
0862 Hebrew X
0864 Arabic X
0865 Danish/Norwegian X
0866 Cyrillic X
0874 Thai X
0916 Hebrew X
0922 Estonian X
1117 Latvian X
1118 Lithuanian X
98
Print Modes Supported For Character Sets
1129 Vietnamese X
1134 Hebrew Old X
99
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
100
The Control Codes
101
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
Backspace
ASCII BS
Hex 08
Dec 08
Purpose Moves the logical print head to the left one character space
toward the first character column.
Discussion Assures that the previous printable characters will be printed,
then moves the logical print head one character space to the
left at the current pitch setting (which includes double wide
and ESC SP). If the logical print head bumps into the left
margin, it stops.
† When backspacing over proportionally spaced characters,
Epson printers move back the width of each proportional
character; this emulation moves back based on the current
cpi setting, as if proportional spacing is disabled.
† If one or more Backspace control codes follow directly after a
Bit Image Graphics command (ESC K, ESC L, ESC Y, or
ESC Z), the 6500-v printers will backspace into the graphic
pattern, the number of dots depending on the current cpi
setting. For an Epson FX-1050 printer, one Backspace will
send the logical printhead directly to the beginning of the
graphics pattern.
Example If you were to print five “T” characters, then two BS
commands, then two “=” characters, the output would look
like the sample below:
102
Bell
Bell
ASCII BEL
Hex 07
Dec 07
Purpose Sounds the printer buzzer/beeper.
Discussion The BEL function will sound the buzzer/beeper for 0.2
seconds upon receipt of this command.
Cancel Line
ASCII CAN
Hex 18
Dec 24
Purpose Clears all unprinted data from a line, but does not affect
control codes.
Discussion You can use this control code to delete a line, but do so with
caution to avoid possible misprinting. This control code
cancels the double wide attribute set by SO. No other print
attributes are affected. The logical print head goes to the print
position it had after the last CR or paper motion command.
Carriage Return
ASCII CR
Hex 0D
Dec 13
Purpose Prints the data in the buffer, then returns the logical print
head to the left margin.
Discussion Subsequent data are emphasized. A line feed will be
appended if the printer is configured from the operator panel
for CR = CR + LF. When CR = CR + LF, this code cancels all
one-line-only emphasis and font controls: double-wide from
SO and ESC SO, and unidirectional printing from ESC <.
103
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
104
Character Set Select: International Languages
(Hex) International
23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E
If n= Character Set is:
0 USA # $ @ [ \ ] ^ ‘ { | } ~
1 French # $ à ° ç § ^ ‘ é ù è ¨
2 German # $ § Ä Ö Ü ^ ‘ ä ö ü ß
3 English (UK) £ $ @ [ \ ] ^ ‘ { | } ~
4 Danish I # $ @ Æ Ø Å ^ ‘ æ ø å ~
5 Swedish # ¤ É Ä ö Å Ü é ä ö å ü
6 Italian # $ @ ° \ é ^ ù à ò è ì
7 Spanish I $ @ i Ñ ¿ ^ ‘ ¨ ñ } ~
8 Japanese # $ @ [ ¥ ] ^ ‘ { | } ~
9 Norwegian # ¤ É Æ Ø Å Ü é æ ø å ü
A Danish II # $ É Æ Ø Å Ü é æ ø å ü
B Spanish II # $ à i Ñ ¿ é ‘ í ñ ó ú
C Latin American I # $ à i Ñ ¿ é ü í ñ ó ú
D French Canadian # $ à â ç ê î ô é ù é û
E Latin American II # $ @ [ Ñ ] ú í ó á é ü
105
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
Condensed Print
ASCII SI ESC SI
Hex 0F 1B 0F
Dec 15 27 15
Purpose Condenses print pitch as close to 60% of the former
character width as possible (up to 20 characters per inch).
Discussion The condensed print command affects all subsequent
characters. After the printer receives code SI, all characters
are printed condensed (approximately 60 per cent of the
width of normal characters) until the printer is reset by ESC
M, ESC P, DC2, a printer reset, or a new print mode control
code. SI code (hex 0F) is equivalent to the ESC SI code. If
condensed print is not allowed in the current font, this code is
ignored. Proportionally spaced text cannot be condensed.
Proportional spacing overrides condensed printing.
When condensed print is selected, the following character
pitches go into effect:
• DP 10 cpi condenses to DP 17.1 cpi. NLQ 10, 12, and 15 cpi condense to
NLQ 17.1 cpi. Draft 10 cpi condenses to Draft 17.1 cpi.
• DP 12 and 15 cpi condense to DP 20. Draft 12 and 15 cpi condense to
Draft 20.
† This control code condenses character width but not inter-
character spacing. An actual Epson FX-1050 printer
condenses both character width and spacing.
If Condensed Print is combined with Double High (ESC w)
printing, only Double High printing will occur.
106
Condensed Print Reset
107
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
Delete Character
ASCII DEL
Hex 7F
Dec 127
Purpose Deletes the previous character on a line.
Discussion This command is ignored if it occurs immediately after a CR
or a paper motion command. Characters truncated due to
line length restrictions are not affected by this code.
108
Double Strike
Double Strike
ASCII ESC G
Hex 1B 47
Dec 27 71
Purpose Makes text bolder by double printing each dot twice.
†Discussion This command makes text bolder by printing each dot twice,
the second dot offset to the right of the first by a distance
equal to 1/2 the width of a dot, the same as with ESC E.
Example The following sample output illustrates double strike
character printing.
109
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
110
Double Wide Print (1 Line)
111
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
Emphasized Print
ASCII ESC E
Hex 1B 45
Dec 27 69
Purpose Selects emphasized character print format.
Discussion Emphasized print makes text bolder by printing each dot
twice, the second dot offset to the right of the first by a
distance equal to 1/2 the width of a dot. This command is
available in both DP and NLQ modes.
Example The following sample output illustrates emphasized character
printing.
112
Enable Printing Hex Codes 00-1F and 80-9F
Form Feed
ASCII FF
Hex 0C
Dec 12
Purpose Prints the data in the buffer, if any, then moves the paper to
the top of the next form.
Discussion The logical print head moves to the left margin. This code
cancels all one-line-only emphasis and font controls: double-
wide from SO and ESC SO, and unidirectional printing from
ESC <.
113
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
BITS
B7
B6
B5
0
0
1 KEY
B4 B3 B2 B1
33 OCTAL
1 0 1 1 ESC 27 DECIMAL
1B HEX
CHARACTER
B8 0 0 B8 1 1
B7 0 0 B7 0 0
B6 0 0 B6 0 0
B5 0 1 B5 0 1
BITS COLUMN
BITS COLUMN
B4 B3 B2 B1 ROW 8 9
B4 B3 B2 B1 ROW 0 1
0 20 200 220
0 0 0 0 0 à 0
0 § 16
10
0 0 0 0 0 àà 128
80
§ 144
90
1 21 201 221
0 0 0 1 1 è 1 17 0 0 0 1 1 è 129
ß 145
1 ß 11 81 91
2 22 202 222
0 0 1 0
0 0 1 0 2 ù 2 DC2 18 2 ù 130 Æ 146
2 12 82 92
3 23 203 223
0 0 1 1 3 ò 3 DC3 19 0 0 1 1
3 ò 131 æ 147
3 13 83 93
4 24 204 224
0 1 0 0 4 4 DC4 20 0 1 0 0 4 ì 132 Ø 148
ì 4 14 84 94
0 1 0 1 5 5
5
ø
25
21
0 1 0 1
5 205
133 ø
225
149
5 15 85 95
6 26 206 226
0 1 1 0
0 1 1 0 6 £ 6 ¨ 22 6 £ 134
¨ 150
6 16 86 96
7 27 207 227
0 1 1 1 7 BEL 7 Ä 23
0 1 1 1
7 ¡ 135 Ä 151
7 17 87 97
10 30 210 230
1 0 0 0
1 0 0 0 8 BS 8 CAN 24 8 ¿ 136 Ö 152
8 18 88 98
11 31 211 231
1 0 0 1
1 0 0 1 9 HT 9
Ü 25 9 Ñ 137 Ü 153
9 19 89 99
12 32 212 232
1 0 1 0
1 0 1 0 10 LF 10 ä 26 10 ñ 138 ä 154
0A 1A 8A 9A
13 33 213 233
1 0 1 1
1 0 1 1 11 VT ESC 11 139
ö 155
11
0B
27
1B
¤ 8B 9B
14 34 214 234
1 1 0 0
1 1 0 0 12 FF 12
ü 28 12 140 ü 156
0C 1C 8C 9C
15 35 215 235
1 1 0 1
1 1 0 1 13 CR 13 Å 141 É 157
13
0D
É 29
1D 8D 9D
16 36 216 236
1 1 1 0 14 SO 14 é 30
1 1 1 0 14 å 142 é 158
0E 1E 8E 9E
17 37 217 237
1 1 1 1 15 SI 15
¥ 31
1 1 1 1
15 ç 143 ¥ 159
0F 1F 8F 9F
114
Graphics, Standard Density
115
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
116
Graphics, Double Density Double Speed
117
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
118
Horizontal Tab Execute
119
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
Initialize Printer
ASCII ESC @
Hex 1B 40
Dec 27 64
Purpose Resets all print-related parameters to the power-up
configuration values.
Discussion Restores the power-up configuration values and the print
buffer is cleared of printable data on the line preceding the
command. Current position is set as top-of-form.
Font, international language selection, forms length, skip-
over perforation, and character pitch are reset to the power-
up configuration values. Other values are returned to default
values.
Character-by-character and line-by-line attributes are
canceled. All channels of the vertical format unit are cleared.
This command resets the horizontal tabs to every eighth
character column. Interface parameters and printer protocol
selection are not affected.
Italic Printing
ASCII ESC 4
Hex 1B 34
Dec 27 52
Purpose Turns on italic character printing.
Discussion Character graphics (IBM graphic set hex B0 through DF and
F0 through FE) cannot be italicized. Italic printing will reduce
throughput.
120
Line Feed
Line Feed
ASCII LF
Hex 0A
Dec 10
Purpose Prints the data in the buffer (if any) and advances the vertical
character position a distance of one line at the current line
spacing.
Discussion The logical print head keeps the same distance from the
margin. The current line is printed and the logical printhead
moves down a distance equal to the current line spacing. If
there are no dots, paper moves and no printing occurs. When
possible, successive line feeds are accumulated and moved
at once.
This code cancels all one-line-only emphasis and font
selections: double-wide from SO and ESC SO, and
unidirectional printing from ESC <.
121
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
122
Line Spacing 7/72 Inch
123
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
124
Make Hex 80-9F Printable
125
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
126
Master Print Select
0 1 cpi † 12 cpi
1 Monospaced † Proportional
2 Normal Condensed
3 Normal Emphasized
4 Normal † Double Strike
5 Normal Double Wide
6 Normal Italic
7 Normal Underlined
127
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
Printer Select
ASCII DC1
Hex 11
Dec 17
Purpose Places printer in the selected state.
Discussion The configuration parameter Printer Select must be set to
Enable. Refer to the User’s Manual for information about this
menu option. This control code allows the printer to receive
and print data from the host if it was deselected by DC3. If the
printer was not deselected by DC3, this code is ignored.
Printer Deselect
ASCII DC3
Hex 13
Dec 19
Purpose Places printer in the deselected state.
Discussion The configuration parameter Printer Select must be set to
Enable. Refer to the User’s Manual for information about this
menu option. When the printer receives this command it
ignores data until a DC1 (Printer Select) command is
received.
128
Reassign Graphics Mode
129
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
130
Select Italic Character Set
131
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
132
Select Vertical Tab Channel
133
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
134
Set Forms Length By Lines
135
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
136
Skip Over Perforation, Cancel
Superscript/Subscript Printing
ASCII ESC S n
Hex 1B 53 n
Dec 27 83 n
Purpose Selects superscript or subscript printing.
where n = NUL (hex 00) or 0 (hex 30) to enable
superscript printing
n = SOH (hex 01) or 1 (hex 31) to enable subscript
printing
†Discussion Superscript prints full-sized characters with a baseline higher
than the normal characters. Subscript prints full-sized
characters with a baseline lower than the normal characters.
When the control code is received, all characters are
superscript or subscript until reset by ESC T or printer reset.
(This differs from the Epson standard, which utilizes half-size
characters for superscript and subscript printing.)
You can print both superscript and subscript characters in the
same character column by using the Backspace (BS) control
code, but these characters will not print when double high
printing is in effect.
If Superscript/Subscript is combined with Double High (ESC
w) printing, only Double High printing will occur.
Example The following sample output illustrates superscript and
subscript printing.
137
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
Super-Set Commands
ASCII ESC | } ;
HEX 1B 7C 7D 3B
Dec 27 124 125 59
Purpose Control code sequence used to introduce the super-set
commands.
Discussion The “|” in the command string is the pipe symbol.
Comment Super-set commands affect the LinePrinter Plus emulation as
a whole regardless of the printer protocol currently active.
The commands are sent through the host in the input data
stream, and enact the following features:
•Select a printer protocol
•Bar codes
•Set variable character spacing
•Set variable line spacing
Refer to Chapter 7, “Super-Set Programming,” for further
information regarding the super-set commands.
138
Underline
Underline
ASCII ESC – n
Hex 1B 2D n
Dec 27 45 n
Purpose Turns automatic underlining on and off.
where n = NUL or 0 (hex 00 or 30) to turn off underlining
n = SOH or 1 (hex 01 or 31) to turn on underlining
Discussion Spaces are underlined, but graphics and grey scale
characters are not.
Example The following sample output illustrates underlining.
139
Chapter 3 Configuring The Epson FX-1050 Emulation With Control Codes
140
4 P-Series Printer Emulation
Overview
This chapter describes the P-Series emulation host control codes that are
supported for the IBM 6500-v ASCII printers. Emulation refers to the ability of
a printer to execute the commands of a particular printer control language. A
printer control language is the coding system used to convey, manipulate, and
print data. Carriage Return, print quality, character attributes such as bold and
underline, margins, and tabs are typical functions selected by printer control
language codes. In this manual, the terms emulation, printer protocol, and
printer control language are synonymous.
In P-Series emulation mode, the 6500-v can print files coded for the P-Series
printer control language. To select the P-Series emulation mode as the active
printer configuration, refer to the ASCII Emulation Selection menu in Chapter
4 of the IBM Infoprint 6500 Line Matrix Printer User’s Manual.
The P-Series emulation provides many configurable parameters. The default
parameter values for this emulation are shown in Table 24. You can modify
the emulation parameter values in two ways:
• The P-Series host control codes. An extensive set of P-Series control
code commands can be sent to the printer from an attached host
computer via the host data stream. Most of this chapter is devoted to
describing the P-Series control code commands.
• The printer configuration menus. You can modify a subset of the P-
Series emulation parameters using the operator panel switches and LCD
display, as described in the User’s Manual.
Control codes sent from a host system generally override previous settings
that result from the configuration menus. However, any configuration settings
from host control codes will be gone once the printer is powered off (or reset
to the default values), unless you have saved them to NVRAM using the
configuration menus. The User’s Manual describes the Save Custom Sets
option for saving changes to your printer NVRAM.
The emulation’s response to several of the control codes depends on the
configuration. For example, upon receipt of the carriage return control code,
the emulation will perform either a carriage return function only, or a carriage
return and line feed, based on the configuration of the CR function.
141
Chapter 4 Overview
ECMA Latin 1
Define CR Code CR = CR
Auto LF Disable
Overstrike Enable
Define LF Code LF = CR + LF
Select SFCC 1
EVFU Selected Enable
142
P-Series Default Values And States
Table 25 lists several additional default settings for parameters that are
provided by the Print Format menus (described in Chapter 4 of the User’s
Manual). Many of the settings shown in Table 25 can be overridden by P-
Series host control codes for the same parameter.
CPI 10.0
LPI 6.0
143
Chapter 4 Configuring The P-Series Emulation With Control Codes
IMPORTANT If you specify any parameters for a control code other than those
defined in the control code description, unpredictable results may
occur.
144
Special Function Control Code (SFCC) Header
SOH G 01 47 1 71
ETX G 03 47 3 71
ESC G 1B 47 27 71
^G 5E 47 94 71
~G 7E 47 126 71
NOTE: The SFCC has been set to ESC for all examples.
You must select the SFCC by changing the value of the “Select SFCC”
paramter in the P-Series emulation menu on the printer front panel. The
default value is 1. See your User’s Manual for details.
145
Chapter 4 Configuring The P-Series Emulation With Control Codes
NUL Code
NUL (Hex 00) is ignored by the printer and can be used as a fill character;
however, it can not be used to add blank spaces since it is not a space
character.
NOTE: Hex 80 in the 0437 PC Character Set and Hex 7F in the 0850 PC
Character Set are treated as a NUL; however, these two controls can
not be used as parameter terminators.
146
Special Function Control Code (SFCC) Header
DEC Multinational X
ASCII (USA)
French
German
English (UK)
Norwegian/Danish
Swedish
Italian
Spanish
Japanese
French Canadian
Dutch
Finnish
Swiss
147
Chapter 4 Configuring The P-Series Emulation With Control Codes
148
The Control Codes
Page Format
Backspace BS 151
Carriage Return CR 152
Forms Length Set (Inches) SFCC INCHES; n.f 166
Forms Length Set (Lines) SFCC LINES; n 166
Form Margins, Set SFCC v n1 n2 n3 n4 167
Line Spacing 1/6 Inch (6 lpi) SFCC 2 168
SFCC LPI; n
Line Spacing 1/8 Inch (8 lpi) SFCC 0 169
SFCC LPI; n
Line Spacing 8 or 10.3 LPI ACK 169
(1 line only) SFCC f
Line Spacing 7/72 Inch SFCC 1 170
Line Spacing n/72 Inch SFCC A n 171
Line Spacing n/216 Inch SFCC 3 n 171
VFU Commands (P-Series) N/A 180
Print Attributes
Bold Print SFCC G 151
Bold Print (1 line only) SFCC j
Bold Print Reset SFCC H 152
Elongated (Double High) Print, SFCC h 160
1 Line Only
Elongated (Double High) Print, SFCC w n 161
Set/Reset
Emphasized Print SFCC E 162
Emphasized Print Reset SFCC F 162
Expanded Print (Double Wide) SFCC W n 163
Expanded Print (Double Wide) SFCC k 164
1 line only
Overscoring SFCC _ n 172
Print Mode/Pitch Selection SFCC X m n 173
SFCC PMODE; n
SFCC [ n q
149
Chapter 4 Configuring The P-Series Emulation With Control Codes
150
Backspace
Backspace
ASCII BS
Hex 08
Dec 08
Purpose Moves the logical print head to the left one character space
toward the first character column.
Discussion When configured from the operator panel for backspace, BS
moves the character position indicator (the logical print head
position) one character space to the left at the current
character pitch setting. The code is ignored if the logical print
head is positioned at the first character column.
Example If you were to print five “T” characters, then two BS
commands, then two “=” characters, the output would look
like the sample below:
Bell
ASCII BEL
Hex 07
Dec 07
Purpose Sounds the printer buzzer/beeper.
Discussion The BEL function will sound the buzzer/beeper for 0.2
seconds upon receipt of this command.
Bold Print
ASCII SFCC GSFCC j
Hex SFCC 47SFCC 6A
Dec SFCC 71SFCC 106
Purpose Selects bold character printing.
Discussion When the bold character printing control code is received, all
characters are printed in bold until reset by the bold print
reset control code or printer reset. Bold Print is the same as
printing double strike.
When SFCC j is used, bold printing is selected for one line
only and reset by the bold print reset control code, emulation
reset, or a paper motion command.
151
Chapter 4 Configuring The P-Series Emulation With Control Codes
Carriage Return
ASCII CR
Hex 0D
Dec 13
Purpose Returns the logical print head to the first character column
(resets the pointer to the first character position).
Discussion The CR code may or may not cause printing or paper motion,
depending on the Define CR Code value defined in the
configuration menus. If the Define CR Code submenu
displays:
Define CR Code
CR = CR
The characters following the CR are printed over the previous
characters on the line. If identical characters are placed in the
same position on the line, those characters will be printed in
bold (double strike) print when the Overstrike mode is
enabled from the operator panel.
The CR=CR configuration causes subsequent printable data
to overprint previous data at half speed if Overstrike is
enabled from the operator panel (and prints somewhat faster
if Overstrike is disabled), unless an intervening paper motion
command is received.
152
Character Set Select
153
Chapter 4 Configuring The P-Series Emulation With Control Codes
x Character Set
0(03) IBM PC
1(31) Multinational
154
Characters 80-9F (Control Codes)
155
Chapter 4 Configuring The P-Series Emulation With Control Codes
0 Barcode DP 10 cpi
1 Multinational DP 10 cpi
2 Multinational DP 12 cpi
4 Greek DP 10 cpi
5 Greek DP 12 cpi
7 Graphics DP 10 cpi
9 Scientific DP 10 cpi
10 Scientific DP 12 cpi
156
Character Set Select: International Languages
157
Chapter 4 Configuring The P-Series Emulation With Control Codes
Discussion The international character set can also be selected from the
operator panel via the Print Language option; however, the
control code setting will override the operator panel character
set selection. Values other than those selectable from Table
32 will be ignored.
Appendix G provides print samples for each character set,
shown in the NLQ print mode. Table 27 provides information
on print mode support for each character set.
Example The following example illustrates international character
selection using the IBM PC character set.
158
Download A Character Set Overlay
Comment The character set overlay is valid only for the current base
character set. You must reload the character set overlay after a
new character set is selected. After switching from NON-OCR
typeface to OCR typeface or vice versa, you must reload the
character set overlay to print the correct characters. Any symbol
in the Character Library in Appendix C (including downloaded
characters) can be substituted into any printable symbol code
point.
If {AAA} is the same value as a control character, the control
character takes precedence, and printing of that value does not
occur. If the Space (hex 20) is substituted, unexpected results
may occur, including decreased print speed.
Once defined and downloaded by this control code, the table
created by this control code can be saved into the printer power-
up configuration and selected from the host interface or the
control panel. The table does not take effect until requested; to
activate the table from the host, use the sequence SFCC RX.
The substitution table starts with the currently active character
set and overlays characters on top of it. The table is deactivated
by the command sequence SFCC RO or when the character set
is changed. When the table is selected via the control panel, the
message “DOWNLOADED” displays.
Example The following sample illustrates Downloading a Character Set
Overlay using a Printronix number.
SOH V{2}E{65}E{224}E{66}E{225}E
SOH V Special Function Control Code (SFCC) header introducing the
Download a Character Set Overlay command.
{2} The quantity of entries (characters) in the substitution table (in
this example, the letters A and B).
{E} The numeric field terminator for overlay using a Printronix
number (required after each numeric field).
{65} The (decimal) address code for the first character in the current
character set that causes the substituted character to be printed
(uppercase A/alpha).
{224} The (decimal) symbol point in the Character Library in Appendix
C representing the substituted character selected (lowercase
a/alpha).
159
Chapter 4 Configuring The P-Series Emulation With Control Codes
{66} The (decimal) address code for the second character in the
current character set that causes the substituted character to be
printed (uppercase B/beta).
{225} The (decimal) symbol point in the Character Library (Appendix
C) representing the substituted character selected (lowercase
b/beta).
NOTE: Not all fonts have all characters. Characters are included only to
support predefined character sets. In general, DP 10 and NLQ 10
have the widest coverage, High Speed and OCR fonts have the least
coverage.
160
Elongated (Double High) Print, Set/Reset
161
Chapter 4 Configuring The P-Series Emulation With Control Codes
Emphasized Print
ASCII SFCC E
Hex SFCC 45
Dec SFCC 69
Purpose Selects emphasized character print format.
Discussion When the emphasized print control code is received, all
characters will be printed in emphasized print until reset by
the emphasized print reset control code or printer reset. The
emphasized print attribute is implemented by horizontal
“shadow” printing.
Emphasized print is ignored during superscript or subscript
printing, and when 15-20 cpi characters have been selected.
Example The following sample output illustrates emphasized character
printing.
162
Emulation Reset
Emulation Reset
ASCII SFCC @
Hex SFCC 40
Dec SFCC 64
Purpose Initializes all print mode related parameters to the factory
default or power-up configuration values.
Discussion Print mode, line spacing, international language selection,
margins, form length, skip-over perforation, and character
pitch are reset to the selected power-up configuration.
Character-by-character and line-by-line attributes are
canceled. The vertical format unit is cleared. The current line
is set to the top-of-form position. Interface parameters and
printer protocol selection are not affected.
If the menu option “Reset Cmd CFG Ld” is disabled, the
factory default configuration is loaded. If it is enabled, the
power-up configuration is used. The default is the factory
default.
163
Chapter 4 Configuring The P-Series Emulation With Control Codes
164
Extended Character Set Cancel (Primary Set Select)
Form Feed
ASCII FF
Hex 0C
Dec 12
Purpose Prints the data in the buffer, advances the paper position to
the next top-of-form and moves the character position to the
first character column.
Discussion The default forms length is determined by the printer
configuration. Forms length is set by using the operator panel
or forms length control codes. Code FF cancels all single-line
only print attributes.
The default form length is 11 inches. The Form Feed
command will react differently when the VFU is active. Refer
to Chapter 9.
165
Chapter 4 Configuring The P-Series Emulation With Control Codes
166
Form Margins, Set
167
Chapter 4 Configuring The P-Series Emulation With Control Codes
Line Feed
ASCII LF
Hex 0A
Dec 10
Purpose Prints the data in the buffer (if any) and advances the vertical
character position one line at the current line space setting.
Discussion If configured for LF equals new line (LF=CR+LF), the logical
print head is positioned at character column 1 of the new line.
Otherwise, the logical print head does not move when
configured for LF function only (LF=LF ONLY). The LF
function cancels all single line print attributes such as double
high (elongated) and double wide (expanded) characters.
This code is always configured for LF=CR+LF in the P-Series
protocol.
In the P-Series Even Dot Plot mode (high density graphics),
the LF code does not cause paper position motion; the data
in the buffer is plotted and the logical print head is positioned
at character column 1 in anticipation of the Odd Dot Plot
control code to complete high density graphic plotting.
In the P-Series Odd Dot Plot mode (normal density graphics),
the LF code plots the data in the buffer, advances the paper
position a single dot row at the current vertical dot density,
and positions the logical print head at character column 1.
168
Line Spacing 1/8 Inch (8 lpi)
169
Chapter 4 Configuring The P-Series Emulation With Control Codes
170
Line Spacing n/72 Inch
171
Chapter 4 Configuring The P-Series Emulation With Control Codes
Overscoring
ASCII SFCC _ n
Hex SFCC 5F n
Dec SFCC 95 n
Purpose Enables or disables automatic overscoring of all characters.
where: n = 0 to disable automatic overscoring (hex 00 or
hex 30)
n = 1 to enable automatic overscoring (hex 01 or
hex 31)
Discussion When automatic overscore is enabled, all characters,
including spaces, will be overscored until disabled.
Example The following sample output illustrates automatic overscoring
and overscoring reset.
172
Plot, Even Dot (P-Series High Density Graphics)
173
Chapter 4 Configuring The P-Series Emulation With Control Codes
where: In SFCC X mn
m = Print Mode code n = Pitch (cpi)
An asterisk (*) (hex 2A) may be substituted for m or n.
Whenever the asterisk replaces m or n, its current value will
not change. Values other than those shown in Table 35 and
Table 36 are ignored.
NOTE: The print mode must be changed before the first printable symbol of a
print line or the command sequence is deferred until the next line.
Discussion P-Series PMODE switches to the Primary Character Set and
selects print mode and pitch.
Print mode and pitch can also be selected from the operator
panel. The print mode/pitch select control code from the host
computer will override the operator panel print mode setting
and the print mode and pitch selection will be reflected on the
message display.
A complete set of tables identifying print mode, pitch, and dot
densities for all print modes follows.
0 DP 10 cpi
1 DP 12 cpi
2 DP 15 cpi
3 NLQ 10 cpi
4 Draft 10 cpi
5 OCR-A 10 cpi
6 OCR-B 10 cpi
174
Print Mode/Pitch Selection
2(32) DP 12 cpi
3(33) Draft 12 cpi
4(34) DP 12 cpi
5(35) DP 13 cpi
* The hex values shown (i.e., 0 and 30) are equal. Either value can be used
in you program expression.
175
Chapter 4 Configuring The P-Series Emulation With Control Codes
0(30) 10 10 10 10 10 10 10 10 10
1(31) 12 12 12 12 12 - - - -
2(32) 13 13 13 13 13 - - - -
3(33) 15 15 15 15 15 - - - -
4(34) 17 17 17 17 17 - - - -
* The hex values shown (i.e., 0 and 30) are equal. Either value can be used in your program
expression. The value of m is represented by the font choice line.
NOTE: When using the Multinational character set in OCR-A or OCR-B print
mode, a unique character set is used. Refer to the Multinational
Character Sets section for more information.
Example Any of the BASIC expressions listed below will select the DP
print mode at 17 cpi.
where: m (print mode) = 0 or 30 for DP; and
n (pitch) = 4 or 34 for 17 cpi.
CHR$(1);“X”;CHR$(0);CHR$(4);
CHR$(1);“X”;CHR$(30);CHR$(34);
CHR$(1);“X04”;
Reverse
ASCII Code SFCC } ; n
Hex Code SFCC 7D 3B n
Dec Code SFCC 125 59 n
Purpose Moves the logical print head up.
Discussion If n is “L,” the print head moves up one line. (Reverse line
feed.)
If n is “P,” the print head moves up to the previous top of
form. (Reverse form feed.)
176
Select Attributes
Select Attributes
ASCII Code ESC [ @ n1 NUL NUL NUL n2 n3
Hex Code 1B 5B 40 n1 00 00 00 n2 n3
Dec Code 27 91 64 n1 0 0 0 n2 n3
Purpose Selects double height and double width attributes as well as
either single or double height line spacing.
where: n1 can take on the following characteristics:
n1 (Hex) Function
n2 (Hex) Function
00 No change
177
Chapter 4 Configuring The P-Series Emulation With Control Codes
n3 (Hex) Function
00 No change
Superscript/Subscript Printing
ASCII SFCC S n
Hex SFCC 53 n
Dec SFCC 83 n
Purpose Selects superscript or subscript printing.
Discussion An SFCC S code can be set for superscript or subscript
printing, as follows:
where: n = 0 to enable superscript printing (hex 00 or hex
30)
n = 1 to enable subscript printing (hex 01 or hex 31)
When this control code is received, all characters will be
superscript or subscript until reset by the super/subscript
printing reset control code (SFCC T) or printer reset. Use
caution when combining this command with other print
attributes; arbitrary combinations might yield unexpected
results.
NOTE: Superscript and subscript characters print at the same size as the
current font. They are shifted up or down one half of a line.
178
Superscript/Subscript Printing Reset
Super-Set Commands
ASCII Code SFCC | } ;
Hex Code SFCC 7C 7D 3B
Dec Code 27 124 125 59
Purpose Control code sequence used to introduce the super-set
commands.
Discussion The “|” in the command string is the pipe symbol.
Comment Super-set commands affect the LinePrinter Plus emulation as
a whole regardless of the printer protocol currently active.
The commands are sent through the host in the input data
stream, and enact the following features:
•Select a printer protocol
•Select a character set
•Change character spacing
•Change line spacing
•Select a barcode
Refer to Chapter 7, “Super-Set Programming,” for further
information regarding the Super-Set commands.
179
Chapter 4 Configuring The P-Series Emulation With Control Codes
Underline
ASCII SFCC – n
Hex SFCC 2D n
Dec SFCC 45 n
Purpose Enables or disables automatic underlining of all characters.
where: n = 0 to disable automatic underlining (hex 00 or
hex 30)
n = 1 to enable automatic underlining (hex 01 or
hex 31)
Discussion When automatic underline is enabled, all characters,
including spaces, will be underlined until disabled.
Example The following sample output illustrates automatic underlining.
Vertical Tab
ASCII VT
Hex 0B
Dec 11
Purpose Prints the data in the buffer and advances the paper to the
next vertical tab position.
Discussion If a vertical tab format is defined in the EVFU (channel 12)
and the VFU is enabled, the paper is moved to the next
vertical tab position.
If a vertical tab format is not defined, the paper is advanced to
the next line at the current line spacing. More information on
Vertical Tabs is provided in the EVFU section of Chapter 9.
180
5 Serial Matrix Printer
Emulation
Overview
This chapter describes the Serial Matrix emulation host control codes that are
supported for IBM 6500-v ASCII printers. Emulation refers to the ability of a
printer to execute the commands of a particular printer control language. A
printer control language is the coding system used to convey, manipulate, and
print data. Carriage Return, print quality, character attributes such as bold and
underline, margins, and tabs are typical functions selected by printer control
language codes. In this manual, the terms emulation, printer protocol, and
printer control language are synonymous.
The Serial Matrix emulation is very similar to the code system used by an IBM
Graphics Printer, but contains more features. This emulation enables a
6500-v line matrix printer to print files coded for a serial matrix printer. To
select the Serial Matrix emulation mode as the active printer configuration,
refer to the ASCII Emulation Selection menu in Chapter 4 of the Infoprint 6500
Line Matrix Printer User’s Manual.
The Serial Matrix emulation provides many configurable parameters. The
default parameter values for this emulation are shown in Table 40. You can
modify the emulation parameter values in two ways:
• The Serial Matrix host control codes. An extensive set of Serial Matrix
control code commands can be sent to the printer from an attached host
computer via the host data stream. Most of this chapter is devoted to
describing the Serial Matrix control codes.
• The printer configuration menus. You can modify a subset of the Serial
Matrix emulation parameters using the operator panel keys and LCD
display, as described in the User’s Manual.
Control codes sent from a host system generally override previous settings
that result from the configuration menus. However, any configuration settings
from host control codes will be gone once the printer is powered off (or reset
to the default values), unless you have saved them to NVRAM using the
configuration menus. The User’s Manual describes the Save Custom Sets
option for saving changes to your printer NVRAM.
The emulation’s response to several of the control codes depends on the
configuration. For example, upon receipt of the carriage return control code,
the emulation will perform either a carriage return function only, or a carriage
return and line feed, based on the configuration for the CR function.
181
Chapter 5 Overview
Print Language
IBM PC
ECMA Latin 1
Define CR Code CR = CR
Auto LF Enable
Overstrike Enable
Define LF Code LF = LF
Printer Select 1
182
Serial Matrix Default Values And States
Table 41 lists several additional default settings for parameters that are
provided by the Print Format menus (described in Chapter 4 of the User’s
Manual). Many of the settings shown in Table 41 can be overridden by host
control codes for the same parameter.
CPI 10.0
LPI 6.0
183
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
IMPORTANT If you specify any parameters for a control code other than those
defined in the control code description, unpredictable results may
occur.
184
Attribute Set And Reset Codes
NUL Code
NUL (Hex 00) is ignored by the printer and can be used as a fill character;
however, it can not be used to add blank spaces since it is not a space
character. NUL can also be used as a parameter terminator for the Set
Horizontal Tabs (page 210) or Set Vertical Tabs multibyte control code (page
223).
NOTE: Hex 80 in PC Character Set 1 and Hex 7F in PC Character Set 2 are
treated as a NUL; however, these two controls can not be used as
parameter terminators.
185
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
DEC Multinational X
ASCII (USA)
French
German
English (UK)
Norwegian/Danish
Swedish
Italian
Spanish
Japanese
French Canadian
Dutch
Finnish
Swiss
186
Print Modes Supported For Character Sets
187
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
188
The Control Codes
189
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
Backspace
ASCII BS
Hex 08
Dec 08
Purpose Moves the logical print head to the left one character space
toward the first character column.
Discussion Moves the character position indicator one character space
to the left at the current character pitch setting. The code is
ignored if the logical print head is positioned at the first
character column.
Example If you were to print five “T” characters, then two BS
commands, then two “=” characters, the output would look
like the sample below:
Bell
ASCII BEL
Hex 07
Dec 07
Purpose Sounds the printer buzzer/beeper.
Discussion The BEL function will sound the buzzer/beeper for 0.2
seconds upon receipt of this command.
190
Bit Image Mode, Single Density
191
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
192
Bold Print Set
193
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
Cancel
ASCII CAN
Hex 18
Dec 24
Purpose Clears the print buffer of all printable symbols since the last
paper motion command was received.
Discussion This control code may be used as a delete line function but
should be used with extreme care to avoid possible
misprinting. This control code will cancel the double wide
attribute set by SO if active. No other print attributes are
affected.
Carriage Return
ASCII CR
Hex 0D
Dec 13
Purpose Returns the logical print head to the first character column
(resets the pointer to the first character position).
Discussion The CR code may or may not cause printing or paper motion,
depending on the DEFINE CR CODE configuration
parameter value. If the DEFINE CR CODE submenu displays
the following, the characters following the CR are printed
over the previous characters on the line:
DEFINE CR CODE
CR=CR
If identical characters are placed in the same position on the
line, those characters will be printed in bold (double strike)
print when the Overstrike Mode is enabled from the operator
panel.
The CR=CR configuration causes subsequent printable data
to overprint previous data at half speed if Overstrike is
enabled from the operator panel (and prints somewhat faster
if Overstrike is disabled), unless an intervening paper motion
command is received. If the DEFINE CR CODE submenu
displays the following, the control code CR is converted to
perform a carriage return and line feed function:
DEFINE CR CODE
CR=CR+LF
The CR code in Serial Matrix printer protocol cancels
expanded (double wide) print when set by code SO and ESC
SO (single line printing attribute).
194
Character Pitch 10 CPI
x Character Set
195
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
196
Characters 80-9F (Control Codes)
197
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
198
Character Set Select: International Languages
Discussion The international character set can also be selected from the
operator panel. The control code setting will override the
operator panel character set selection. Values other than
those selectable from Table 46 will be ignored.
Example The following example illustrates international character
selection using the IBM PC character set.
199
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
Condensed Print
ASCII SI ESC SI
Hex 0F 1B 0F
Dec 15 27 15
Purpose Selects 17 characters per inch (cpi) condensed print format.
Discussion Condensed print can be selected using control code ESC X.
Refer to Print Mode/Pitch Selection on page 216.
The Serial Matrix condensed print control code SI affects all
subsequent characters. After receiving code SI, all
characters will be printed in condensed print until reset by
ESC M, ESC P, the condensed print reset control code DC2,
printer reset, or a new print mode control code. The Serial
Matrix SI code (hex 0F) is equivalent to the ESC SI code. If
condensed print is not allowed in the current print mode, the
code is ignored.
Example The following sample program illustrates condensed
character printing and reset.
200
Delete
Delete
ASCII DEL
Hex 7F
Dec 127
Purpose Deletes the previously received character on a line.
Discussion Characters that have been truncated due to line length
restrictions are not affected by this code.
201
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
Emphasized Print
ASCII ESC E
Hex 1B 45
Dec 27 69
Purpose Selects emphasized character print format.
Discussion When the emphasized print control code is received, all
characters will be printed in emphasized print until reset by
the emphasized print reset control code or printer reset. The
emphasized print attribute is implemented by horizontal
shadow printing.
Emphasized print is ignored during superscript or subscript
printing, and when 15-20 cpi characters have been selected.
202
Emphasized Print Reset
Emulation Reset
ASCII ESC @
Hex 1B 40
Dec 27 64
Purpose Initializes all print mode related parameters to the power-up
configuration value.
Discussion Print mode, line spacing, international language selection,
margins, form length, skip-over perforation, and character
pitch are reset to the power-up configuration value.
Character-by-character and line-by-line attributes are
canceled. The vertical format unit is cleared. The current line
is set to the top-of-form position. Interface parameters and
printer protocol selection are not affected.
This command will reset the horizontal tabs to every eighth
character column.
203
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
204
Extended Character Set
205
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
Form Feed
ASCII FF
Hex 0C
Dec 12
Purpose Prints the data in the buffer, advances the paper position to
the next top-of-form, and moves the character position to the
first character column.
Discussion The default forms length is determined by the configuration in
nonvolatile memory. Forms length is set by using the
operator panel or forms length control codes. Code FF
cancels all single-line only print attributes.
The Form Feed command will react differently when the VFU
is active (refer to Chapter 9).
206
Forms Length Set (Inches)
207
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
208
Horizontal Tab
Horizontal Tab
ASCII HT
Hex 09
Dec 09
Purpose Moves the logical printhead right to the next horizontal tab
stop.
Discussion Power-on default horizontal tabs are set at every eighth
character in the Serial Matrix printer protocol. If there are no
horizontal tabs set or the logical printhead is located at the
last character column, the code is ignored and no movement
occurs.
Horizontal tabs are stored as a relative position; therefore,
character pitch changes will change horizontal tab positions.
See “Horizontal Tab Set” on page 210, to set new tab
positions.
209
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
Line Feed
ASCII LF
Hex 0A
Dec 10
Purpose Prints the data in the buffer (if any) and advances the vertical
character position one line at the current line space setting.
Discussion If configured for LF equals newline (LF=CR+LF), the logical
print head is positioned at character column 1 of the new line.
Otherwise, the logical print head does not move when
configured for LF function only (LF=LF ONLY). The LF
function cancels all single line print attributes such as double
high (elongated) and double wide (expanded) characters.
210
Line Feed n/216 Inch (One Line Only)
211
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
212
Line Spacing 7/72 Inch
213
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
214
Line Spacing n/216 Inch
Overscoring
ASCII ESC _ n
Hex 1B 5F n
Dec 27 95 n
Purpose Enables or disables automatic overscoring of all characters.
where n = 0 to disable automatic overscoring (hex 00 or
hex 30)
n = 1 to enable automatic overscoring (hex 01 or
hex 31)
Discussion When automatic overscore is enabled, all characters,
including spaces, will be overscored until disabled.
215
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
2 (32) DP 10 cpi
3 (33) HS 12 cpi
4 (34) DP 12 cpi
5 (35) DP 13 cpi
216
Print Mode/Pitch Selection
Horiz. Density
m (Hex*) Vertical Density Print Mode
Resolution
*The hex values shown (i.e., 0 and 30) are equal. Either value can be used
in your program expression.
value of n: value of m:
0 (30) 10 10 10 10 10 10 10 10 10
1 (31) 12 12 12 12 12 – – 12 12
2 (32) 13 13 13 13 13 – – 13 13
3 (33) 15 15 15 15 15 – – 15 15
4 (34) 17 17 17 17 17 – – 17 17
5 (35) 20 20 20 20 20 – – 20 20
*The hex values shown (i.e., 0 and 30) are equal. Either value can be used in your program expression.
The value of m is represented by the font choice line.
NOTE: When using the Multinational character set in OCR-A or OCR-B print
mode, a unique character set is used.
217
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
Example Any of the BASIC expressions listed below will select the
Data Processing print mode at 17.1 cpi.
where m (print mode) = 0 or 30 for Data Processing; and
n (pitch) = 4 or 34 for 17.1 cpi.
CHR$(27);“X”;CHR$(0);CHR$(4);
CHR$(27);“X”;CHR$(30);CHR$(34);
CHR$(27);“X04”;
Printer Select
ASCII DC1
Hex 11
Dec 17
Purpose Places printer in the selected state.
Discussion When the configuration parameter PRINTER SELECT is
enabled, this control code will allow the printer to receive and
print data from the host.
Printer Deselect (code DC3) disables the printer from
receiving data.
Printer Deselect
ASCII DC3
Hex 13
Dec 19
Purpose Places printer in the deselected state.
Discussion When the configuration parameter PRINTER SELECT is
enabled, this control code will disable the printer from
receiving and printing data from the host. Until a DC1 (Printer
Select) command is received, all subsequent data to the
printer is ignored.
NOTE: When the configuration parameter PRINTER SELECT is enabled and
saved in the configuration, the printer will power up in the deselected
state.
218
Reverse
Reverse
ASCII ESC } ; n
Hex ESC 7D 3B n
Dec ESC 125 59 n
Purpose Moves the logical print head up.
Discussion If n is “L”, the print head moves up one line. (Reverse line
feed.)
If n is “P”, the print head moves up to the previous top of
form. (Reverse form feed.)
Skip-Over Perforation
ASCII ESC N n
Hex 1B 4E n
Dec 27 78 n
Purpose Selects the number of lines (at the current line spacing) for
the paper to skip at the bottom of the perforated page.
where n = 1 through 127 (hex 01 through hex 7F) to select
the number of lines to skip. If the value of n
exceeds the current form’s length, it is ignored.
Discussion The actual distance set is the product of n and the current line
spacing. Factory default value disables bottom margin. The
current default value may be set by the operator. Setting a
new forms length (ESC C) resets bottom margin to zero.
This feature is disabled whenever vertical tabs are set.
The bottom margin can also be selected from the operator
panel; however, vertical tabs within the bottom margin zone,
as set by the operator panel, are ignored. The control code
bottom margin setting from the host computer will override
the operator panel setting.
219
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
Superscript/Subscript Printing
ASCII ESC S n
Hex 1B 53 n
Dec 27 83 n
Purpose Selects superscript or subscript printing.
where n = 0 to enable superscript printing (hex 00 or hex
30)
n = 1 to enable subscript printing (hex 01 or hex 31)
Discussion Superscript and subscript characters print at the same size
as the current font. They are shifted up or down one half of a
line. When the super/subscript control code is received, all
characters will be superscript or subscript until reset by the
super/subscript reset control code or printer reset.
Emphasized print is ignored in the super/subscript print
mode.
Both superscript and subscript characters can be printed in
the same character column using the Backspace (BS) control
code (page 190).
NOTE: Caution should be used when combining Superscript or Subscript
printing with other print attributes such as Elongated (Double High),
or small line spacing; overlapping lines may occur. Characters with
different horizontal or vertical dot densities will not overlap.
Example The following sample program illustrates superscript/
subscript printing.
220
Super-Set Commands
Super-Set Commands
ASCII ESC | } ;
Hex 1B 7C 7D 3B
Dec 27 124 125 59
Purpose Control code sequence used to introduce the super-set
commands.
Discussion The “|” in the command string is the pipe symbol.
Comment Super-set commands affect the LinePrinter Plus emulation as
a whole regardless of the printer protocol currently active.
The commands are sent through the host in the input data
stream, and enact the following features:
•Select a printer protocol
•Choose character sets
•Specify character spacing
•Specify line spacing
•Choose barcode formats
Refer to Chapter 7, “Super-Set Programming,” for further
information.
Underline
ASCII ESC – n
Hex 1B 2D n
Dec 27 45 n
Purpose Enables or disables automatic underlining of all characters.
where n = 0 to disable automatic underlining (hex 00 or
hex 30)
n = 1 to enable automatic underlining (hex 01 or
hex 31)
Discussion When automatic underline is enabled, all characters,
including spaces, will be underlined until disabled.
Example The following sample program illustrates automatic
underlining and underlining reset.
221
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
Vertical Tab
ASCII VT
Hex 0B
Dec 11
Purpose Prints the data in the buffer and advances the paper to the
next vertical tab position.
Discussion Vertical tab positions are set by control code ESC B and
executed by control code VT. In this mode, if vertical tabs are
loaded, the paper position moves to the next vertical tab
position.
If a vertical tab format is not defined, the paper position is
advanced to the next line at the current line spacing. If a
vertical tab format is defined but no vertical tab positions are
set between the current print position and the end of the form,
the paper position is advanced to the top of the next form.
The VT code resets all single line print attributes. More
information on vertical tabs is provided in Chapter 9.
222
Vertical Tab, Set/Clear
223
Chapter 5 Configuring The Serial Matrix Emulation With Control Codes
224
6 P-Series XQ Variant
Printer Emulation
Overview
This chapter describes the P-Series XQ Variant emulation host control codes
that are supported for IBM 6500-v ASCII printers. Emulation refers to the
ability of a printer to execute the commands of a particular printer control
language. A printer control language is the coding system used to convey,
manipulate, and print data. Carriage Return, print quality, character attributes
such as bold and underline, margins, and tabs are typical functions selected
by printer control language codes. In this manual, the terms emulation, printer
protocol, and printer control language are synonymous.
The P-Series XQ Variant emulation was devised for a series of Printronix line
matrix printers manufactured between 1974 and 1991, but no longer
available. This emulation enables a 6500-v printer to emulate Printronix P300
and P600 printers with A7/B10 boards. To select the P-Series XQ Variant
emulation mode as the active printer configuration, refer to the ASCII
Emulation Selection menu in Chapter 4 of the IBM Infoprint 6500 Line Matrix
Printer User’s Manual.
The P-Series XQ Variant emulation provides many configurable parameters.
The default parameter values for this emulation are shown in Table 50. You
can modify the emulation parameter values in two ways:
• The P-Series XQ Variant host control codes. An extensive set of P-
Series XQ Variant control code commands can be sent to the printer from
an attached host computer via the host data stream. Most of this chapter
is devoted to describing the P-Series XQ Variant control codes.
• The printer configuration menus. You can modify a subset of the P-
Series XQ Variant emulation parameters using the operator panel keys
and LCD display, as described in the User’s Manual.
Control codes sent from a host system generally override previous settings
that result from the configuration menus. However, any configuration settings
from host control codes will be gone once the printer is powered off (or reset
to the default values), unless you have saved them to NVRAM using the
configuration menus. The User’s Manual describes the Save Custom Sets
option for saving changes to your printer NVRAM.
The emulation’s response to several of the control codes depends on the
configuration. For example, upon receipt of the carriage return control code,
the emulation will either perform a carriage return function only, or a carriage
return and line feed, based on the configuration for the CR function.
225
Chapter 6 Overview
Define CR Code CR = CR
Auto LF Disable
Define LF Code LF = CR + LF
226
P-Series XQ Variant Default Values And States
Table 51 lists several additional default settings for parameters that are
provided by the Print Format menus (described in Chapter 4 of the User’s
Manual). Many of the settings shown in Table 51 can be overridden by host
control codes for the same parameter.
CPI 10.0
LPI 6.0
227
Chapter 6 Configuring The XQ Variant Emulation With Control Codes
IMPORTANT If you specify any parameters for a control code other than those
defined in the control code description, unpredictable results may
occur.
228
Edit Mode
Edit Mode
NOTE: To use Edit mode in the XQ emulation, you must configure the printer
for a carriage return only (CR = CR). If the printer is configured for a
carriage return with a line feed (CR = CR + LF), the contents of the
buffer print immediately after execution of the CR code, disabling the
CR editing function.
Any printable character in the data stream can replace printable characters or
spaces already loaded in the print buffer. The space character (hex 20) is
used to skip characters in the print buffer that are not to be replaced and,
similar to underlining or deleting, the new characters are inserted in the
appropriate positions.
Table 52 illustrates the edit mode. Note that the editing function replaces
characters; it cannot be used to print the same character twice (double strike)
in the same location. Use the DEL code (hex 7F) to make a character blank.
NUL Code
NUL (hex 00) is ignored by the printer and can be used as a fill character;
however, it can not be used to add blank spaces since it is not a space
character.
229
Chapter 6 Configuring The XQ Variant Emulation With Control Codes
230
Alternate Character Set Deselect (Shift In)
231
Chapter 6 Configuring The XQ Variant Emulation With Control Codes
Carriage Return
ASCII CR
Hex 0D
Dec 13
Purpose Positions the logical print head at the left margin (resets the
memory pointer to the first character position).
Discussion The printer can be configured to perform a carriage return
only (CR = CR only), or a carriage return plus a line feed
function
(CR = CR + LF).
A CR = CR configuration enables underline, add, delete, and
edit functions, but the host computer must send a separate
line feed code to print the data and change the vertical
position. The character position indicator is positioned at
character column one. Subsequent printable data preceding
a paper motion command replaces previous printable data
(including underlines). Two exceptions apply:
•Subsequent underlined characters (hex 5F) overlay the
previous data.
•Subsequent space characters (hex 20) only index the
character position indicator to the right.
This code can occur at any place in the data stream and is
acted upon immediately. Note that this code can reduce the
current print speed by up to one-fourth.
With CR = CR + LF, the underline, add, delete and edit
functions are disabled, and the code is processed as a line
feed. Refer to the Line Feed command description on page
236 for more information.
232
Compressed Print
Compressed Print
ASCII SOHETX HT
Hex 01 03 09
Dec 1 3 9
Purpose Selects compressed character printing.
NOTE: Either SOH, ETX, or HT is defined at the operator panel as the code
used to select Compressed Print (the default is SOH). (Refer to the
configuration chapter of the User’s Manual.)
Discussion Use the code defined at the operator panel to select 17.1 cpi.
These commands can occur anywhere in the data stream
and are acted upon immediately, affecting the entire current
print line. Line spacing may be selected either through the
operator panel or by line spacing control codes. The control
code setting overrides the operator panel line spacing setting.
ETX and HT can also be configured to select Draft font at 10
cpi (see page 239).
Example:
233
Chapter 6 Configuring The XQ Variant Emulation With Control Codes
Delete
ASCII DEL
Hex 7F
Dec 127
Purpose Delete character puts a blank space at the corresponding
character position.
Discussion DEL deletes the corresponding character in the print buffer.
In Table 53 below, four delete control codes are used to
delete DATE from the print line.
NOTE: The printer must be configured for carriage return only. If the printer is
configured for a carriage return and line feed, the contents of the
buffer are printed on receipt of the CR code.
234
Elongated Characters (Double High Print)
235
Chapter 6 Configuring The XQ Variant Emulation With Control Codes
Form Feed
ASCII FF
Hex 0C
Dec 12
Purpose Prints the data in the buffer, advances the paper position to
the next top-of-form and moves the logical printhead to the
first character column.
Discussion The default forms length is determined by the configuration in
nonvolatile memory. Forms length is set by using the
operator panel or VFU. Code FF cancels all single-line only
print attributes.
The default form length is eleven inches. The Form Feed
command reacts differently when the VFU is active. More
information on VFU is provided in Chapter 9.
Line Feed
ASCII LF
Hex 0A
Dec 10
Purpose Prints the data in the buffer (if any) and advances the vertical
character position one line at the current line space setting.
Discussion The logical print head is positioned at character column 1 of
the new line. The LF function cancels all single line print
attributes such as double high (elongated) and double wide
(expanded) characters.
In the P-Series XQ Even Dot Plot mode (high density
graphics), the LF code does not cause paper position motion;
the data in the buffer is plotted and the logical print head is
positioned at character column 1 in anticipation of the Odd
Dot Plot control code to complete high density graphic
plotting.
In the P-Series XQ Odd Dot Plot mode (normal density
graphics), the LF code plots the data in the buffer, advances
the paper position a single dot row at the current vertical dot
density, and positions the logical print head at character
column 1.
236
Line Spacing (8 or 10.3 LPI)
237
Chapter 6 Configuring The XQ Variant Emulation With Control Codes
238
Select Draft Print
Space
ASCII SP
Hex 20
Dec 32
Purpose Produces a blank space; no character is printed.
Discussion It is not necessary to pad the end of the print line with space
characters. The printer automatically fills the line after the line
terminator is received.
The Space character code is also used to skip characters for
editing and underlining. See “Edit Mode” on page 229.
239
Chapter 6 Configuring The XQ Variant Emulation With Control Codes
Underline
ASCII Underline key ( _ )
Hex 5F
Dec 95
Purpose Underlines specified character positions.
Discussion To underline characters, the print buffer is first loaded with
the character line; then the line must be terminated with a
Carriage Return code. Spaces are then loaded in the buffer
at positions not to be underlined, and the underline code is
inserted in the specific positions to be underlined. Table 54
illustrates underlining.
Vertical Tab
ASCII VT
Hex 0B
Dec 11
Purpose Acts as a line terminator when the EVFU is loaded, causing
the paper to advance to a specified programmed line.
Discussion Vertical Tab is primarily an EVFU line terminator code as
described in the Electronic Vertical Format Unit. If the EVFU
is not loaded and Vertical Tab control code is used, a single
line feed occurs.
240
7 Super-Set Programming
Introduction
This chapter describes the super-set commands. Super-set commands affect
each of the protocols included in the LinePrinter Plus emulation regardless of
the printer protocol currently active, except for the P-Series XQ Variant
emulation. The commands are sent through the host in the input data stream,
and enact the features described in the following subsections.
NOTE: The super-set commands do not affect the P-Series XQ Variant
emulation.
SSCC SSCC
Protocol
(ASCII Value) (Hex Value)
*The SFCC in P-Series is the currently active Special Function Control Code.
NOTE: The super-set commands are briefly introduced in the chapters of this
book that describe the control codes for each of the emulations listed
above.
In the following subsections, the generic code sequence name, SSCC, is
placed before the control code to remind you to enter the correct sequence
depending on the printer protocol currently active.
241
Chapter 7 Using the Super-Set Commands
Character Sets
ASCII Code SSCC R n
Hex Code SSCC 52 n
Dec Code SSCC 82 n
Purpose Selects one of several character sets.
Comment The value of n must have three ASCII digits.
n Character Set
001 Multinational
004 OCR-A
005 OCR-B
002 OCR-A
003 OCR-B
004 Multinational
001 OCR-A
002 OCR-B
003 Multinational
005 IBM PC
Arabic Sets
242
Character Sets
n Character Set
108 CP 786
European Sets
300 8859-2 Latin 2
302 Mozovia
303 Kamenicky
304 Roman 8
243
Chapter 7 Using the Super-Set Commands
n Character Set
Greek Sets
402 Greek 3
Hebrew Sets
Turkish Sets
244
Character Spacing n/240 Inch
n Character Set
Misc. Sets
700 Block-set 10 cpi
245
Chapter 7 Using the Super-Set Commands
n (hex) Protocol
00 or 30 P-Series
01 or 31 P-Series XQ
02 or 32 Serial Matrix
03 or 33 Proprinter III XL
04 or 34 Epson FX
The printer protocol may also be selected from the control panel.
NOTE: If P-Series XQ is selected, then you cannot use this command to exit
the protocol.
246
Printer Protocol Select
Bar Codes
A bar code is a graphic representation of alphanumeric characters. The
LinePrinter Plus bar codes are listed below, with detailed bar code information
and examples provided on the referenced pages. All parameters must be
separated by a semicolon (;) unless noted otherwise. Throughout this
chapter, actual commands required for input are shown exactly as they must
be entered, while all parameters associated with that command are shown in
italics. Optional parameters are enclosed in brackets.
Spaces are used only to visually separate the command parameters, but do
not enter these spaces in your command.
Page
Bar Code Mnemonic Symbol Length Code Set
Number
247
Chapter 7 Bar Codes
248
Bar Code Format
P 50 POSTNET
F 46 FIM
C 43 Code 3/9
A 41 UPC-A
E 45 UPC-E
8 38 EAN-8
1 31 EAN-13
I 49 Interleaved 2/5
R 52 Royal Mail
NOTE: For all of the following parameters, the digits are ASCII values.
where d = the bar code delimiter, which can be any
character
where data = variable length printable data field
The following parameters are optional:
where N = activates the offset
where n = the x and y coordinate unit system (see Table 60)
249
Chapter 7 Bar Codes
A 41 above
B 42 below (default)
N 4E none
New Cursor
Original Position
Cursor
Position
TEXT
250
Bar Code Format
Original
Cursor
Position
TEXT
5
10
Original
Cursor
Position
5
10
Line Feeds
251
Chapter 7 Bar Codes
Codabar
The Codabar structure is shown in Figure 8 and described on the following
pages.
STOP START
CODE CODE
OPTIONAL
CHECK
DIGIT
CCW CW
DATA DATA
FIELD OPTIONAL FIELD
READABLE
DATA
FIELD
OPTIONAL
CHECK
DIGIT
START STOP UPPER
UPPER LOWER LOWER
CODE CODE GUARD
GUARD GUARD GUARD
BAND BAND BAND BAND
QUIET QUIET
ZONE ZONE
HEIGHT HEIGHT
OPTIONAL
CHECK DIGIT
SR, SC
POSITION
UPPER GUARD BAND
SR, SC
POSITION
OPTIONAL READABLE DATA FIELD
HEIGHT
QUIET STOP START QUIET
INV ZONE CODE
DATA FIELD
CODE ZONE
OPTIONAL
CHECK DIGIT
252
Codabar
Quiet Zone
Both ends of the bar code structure require blank quiet zones. The quiet
zones must be at least 0.25 inches wide and completely blank to ensure
accurate reading of the start/stop codes and to prevent adjacent bar codes
from overlapping. Be sure to provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
The start/stop code is a unique character identifying the leading and trailing
end of the bar code. The start/stop code is automatically produced with each
bar code. The start/stop code structure permits bidirectional bar code
scanning.
Data Field
The bar code symbol uses a series of wide and narrow bars and spaces to
represent standard alphanumeric characters. Each wide or narrow bar or
space is one element; each character in the data field has nine elements. The
structure is three wide elements (bars or spaces) out of the nine total
elements which compose one character.
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. It can be printed above or below the bar code symbol.
Check Digit
The optional modulo-43 check digit can be inserted into the bar code to verify
accurate scanning.
253
Chapter 7 Bar Codes
254
Codabar
255
Chapter 7 Bar Codes
0 30 - 2D
1 31 $ 24
2 32 : 3A
3 33 / 2F
4 34 . 2E
5 35 + 2B
6 36 A 41
7 37 B 42
8 38 C 43
9 39 D 44
Codabar Example
~CREATE;TEST;288 (Enter Create Form mode)
BARCODE (Bar code command)
CODABAR;VSCAN;X1;H7;5;20 (Vertical Codabar bar code, MAG 1,
SR 5, SC 20)
*A12345B* (Data Field)
PDF;B;N (Printable data field)
STOP (Ends bar code command)
END (Terminates Create Form mode)
~EXECUTE;TEST
~NORMAL
SC 20
SR 5
256
Code 39
Code 39
The Code 39 structure is shown in Figure 9 and described below.
OPTIONAL
CHECK DIGIT
x, y
POSITION
UPPER GUARD BAND
Quiet Zone
Both ends of the bar code structure require blank quiet zones. The quiet
zones must be at least 0.25 inches wide and completely blank to ensure
accurate reading of the start/stop codes and to prevent adjacent bar codes
from overlapping. Be sure to provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
The start/stop code is a unique character identifying the leading and trailing
end of the bar code. The start/stop code is automatically produced with each
bar code. The start/stop code structure permits bidirectional bar code
scanning.
Data Field
The bar code symbol uses a series of varying width bars and spaces to
represent standard alphanumeric characters. Each wide or narrow bar or
space is one element; each character in the data field has nine elements. The
structure is three wide elements (bars or spaces) out of the nine total
elements which compose one character.
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. It can be printed above or below the bar code symbol.
Check Digit
The optional modulo-43 check digit can be inserted into the bar code to verify
accurate scanning.
257
Chapter 7 Bar Codes
NUL %U SP Space @ %V ` %W
SOH $A ! /A A A a +A
STX $B " /B B B b +B
ETX $C # /C C C c +C
EOT $D $ /D D D d +D
ENQ $E % /E E E e +E
ACK $F & /F F F f +F
BEL $G ' /G G G g +G
BS $H ( /H H H h +H
HT $I ) /I I I i +I
LF $J * /J J J j +J
VT $K + /K K K k +K
FF $L , /L L L l +L
CR $M — — M M m +M
SO $N . . N N n +N
SI $O / /O O O o +O
DLE $P 0 0 P P p +P
DC1 $Q 1 1 Q Q q +Q
DC2 $R 2 2 R R r +R
DC3 $S 3 3 S S s +S
DC4 $T 4 4 T T t +T
NAK $U 5 5 U U u +U
SYN $V 6 6 V V v +V
ETB $W 7 7 W W w +W
CAN $X 8 8 X X x +X
EM $Y 9 9 Y Y y +Y
SUB $Z : /Z Z Z z +Z
ESC %A ; %F [ %K { %P
FS %B < %G \ %L | %Q
GS %C = %H ] %M } %R
RS %D > %I ^ %N ~ %S
US %E ? %J __ %O DEL %T %X
%Y %Z
NOTE: Character pairs /M, /N, and /P through /Y are reserved for future
control character pairs.
258
Code 93
Code 93
The Code 93 structure is shown in Figure 10 and described on the following
pages.
STOP START
CODE CODE
OPTIONAL
CHECK
DIGIT
CCW CW
DATA DATA
FIELD OPTIONAL FIELD
READABLE
DATA
FIELD
OPTIONAL
CHECK
DIGIT
START STOP UPPER
UPPER LOWER LOWER
CODE CODE GUARD
GUARD GUARD GUARD
BAND BAND BAND BAND
QUIET QUIET
ZONE ZONE
HEIGHT HEIGHT
OPTIONAL
CHECK DIGIT
SR, SC
POSITION
UPPER GUARD BAND
SR, SC
POSITION
OPTIONAL READABLE DATA FIELD
HEIGHT
QUIET STOP START QUIET
INV ZONE CODE
DATA FIELD
CODE ZONE
OPTIONAL
CHECK DIGIT
259
Chapter 7 Bar Codes
Quiet Zone
Both ends of the bar code structure require blank quiet zones. The quiet
zones must be at least 0.25 inches wide and completely blank to ensure
accurate reading of the start/stop codes and to prevent adjacent bar codes
from overlapping. Be sure to provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
The start/stop code is a unique character identifying the leading and trailing
end of the bar code. The start/stop code is automatically produced with each
bar code. The start/stop code structure permits bidirectional bar code
scanning.
Data Field
The bar code symbol uses a series of varying width bars and spaces to
represent an extensive character set. The bars and spaces vary in width from
one through four modules. Each character consists of three bars and three
spaces that total 11 modules.
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. It can be printed above or below the bar code symbol.
Check Digit
Two modulo-47 check digits are automatically calculated and inserted in the
bar code symbol. The check digit verifies accurate scanning. The start code is
included in the check digit algorithm.
260
Code 93
261
Chapter 7 Bar Codes
262
Code 93
263
Chapter 7 Bar Codes
Code 93 Example
The illustration below shows a horizontal Code 93 bar code generated by the
following program:
~CREATE;TEST;288 (Enters Create Form mode)
BARCODE (Bar code command)
CODE93;X1;H7;10;20 (Code 93 bar code, MAG 1,
H 0.7 inches, SR 10, SC 20)
*ABCD5678* (Data Field)
PDF;B;N (Printable data field, 10 cpi font)
STOP (Ends bar code command)
END (Terminates Create Form mode)
~EXECUTE;TEST (Prints form)
~NORMAL
SC 20
SR 10
264
Code 128
Code 128
The Code 128 structure is shown in Figure 11 and described below.
OPTIONAL
CHECK DIGIT
SR, SC
POSITION
UPPER GUARD BAND
Quiet Zone
Both ends of the bar code structure require blank quiet zones. The quiet
zones must be at least 0.25 inches wide and completely blank to ensure
accurate reading of the start/stop codes and to prevent adjacent bar codes
from overlapping. Be sure to provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
The start/stop codes identify the leading and trailing end of the bar code. Each
of the Code 128 subsets uses a unique start code and a common stop code,
both automatically provided by the ASCII Emulation.
265
Chapter 7 Bar Codes
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. It can be printed above or below the bar code symbol.
Check Digit
The modulo-103 check digit is automatically calculated and inserted in the bar
code symbol. The check digit verifies accurate scanning. The start code is
included in the check digit algorithm.
NOTE: Access for the alternate set of control function characters is by using
SO (Shift Out, hex 0E). The SO control code identifies the next
character as the control function character, and must be inserted
before each alternate character required. The SO character is
selectable from the printer's front panel (refer to your User’s Manual).
266
Code 128
NUL 00 SUB 1A 4 34 N 4E
SOH 01 ESC 1B 5 35 O 4F
STX 02 FS 1C 6 36 P 50
ETX 03 GS 1D 7 37 Q 51
EOT 04 RS 1E 8 38 R 52
ENQ 05 US 1F 9 39 S 53
ACK 06 SP 20 : 3A T 54
BEL 07 ! 21 ; 3B U 55
BS 08 “ 22 < 3C V 56
HT 09 # 23 = 3D W 57
LF 0A $ 24 > 3E X 58
VT 0B % 25 ? 3F Y 59
FF 0C & 26 @ 40 Z 5A
CR 0D ' 27 A 41 [ 5B
SO 0E ( 28 B 42 \ 5C
SI 0F ) 29 C 43 ] 5D
DLE 10 * 2A D 44 5E
DC1 11 + 2B E 45 ^ 5F
EM 19 3 33 M 4D START A (N/A)
STOP (N/A)
267
Chapter 7 Bar Codes
SP 20 : 3A T 54 n 6E
! 21 ; 3B U 55 o 6F
“ 22 < 3C V 56 p 70
# 23 = 3D W 57 q 71
$ 24 > 3E X 58 r 72
% 25 ? 3F Y 59 s 73
& 26 @ 40 Z 5A t 74
' 27 A 41 [ 5B u 75
( 28 B 42 \ 5C v 76
) 29 C 43 ] 5D w 77
* 2A D 44 5E x 78
+ 2B E 45 - 5F y 79
’ 2C F 46 ` 60 z 7A
- 2D G 47 a 61 { 7B
. 2E H 48 b 62 | 7C
/ 2F I 49 c 63 } 7D
0 30 J 4A d 64 ~ 7E
1 31 K 4B e 65 7F
2 32 L 4C f 66 FNC 3 23 See NOTE
9 39 S 53 m 6D START B (N/A)
STOP (N/A)
268
Code 128
00 30 30 27 32 37 54 35 34 81 38 31
01 30 31 28 32 38 55 35 35 82 38 32
02 30 32 29 32 39 56 35 36 83 38 33
03 30 33 30 33 30 57 35 37 84 38 34
04 30 34 31 33 31 58 35 38 85 38 35
05 30 35 32 33 32 59 35 39 86 38 36
06 30 36 33 33 33 60 36 30 87 38 37
07 30 37 34 33 34 61 36 31 88 38 38
08 30 38 35 33 35 62 36 32 89 38 39
09 30 39 36 33 36 63 36 33 90 39 30
10 31 30 37 33 37 64 36 34 91 39 31
11 31 31 38 33 38 65 36 35 92 39 32
12 31 32 39 33 39 66 36 36 93 39 33
13 31 33 40 34 30 67 36 37 94 39 34
14 31 34 41 34 31 68 36 38 95 39 35
15 31 35 42 34 32 69 36 39 96 39 36
16 31 36 43 34 33 70 37 30 97 39 37
17 31 37 44 34 34 71 37 31 98 39 38
18 31 38 45 34 35 72 37 32 99 39 39
22 32 32 49 34 39 76 37 36 START C (N/A)
23 32 33 50 35 30 77 37 37 STOP (N/A)
24 32 34 51 35 31 78 37 38
25 32 35 52 35 32 79 37 39
26 32 36 53 35 33 80 38 30
269
Chapter 7 Bar Codes
EAN 8
The EAN 8 bar code structure is shown in Figure 12 and described below.
Quiet Zone
Both ends of the bar code structure have blank quiet zones. The quiet zones
must be at least 0.25 inches wide and completely blank to ensure accurate
reading of the start/stop codes and to prevent adjacent bar codes from
overlapping. You must provide sufficient space on the form for the quiet
zones.
Start/Center/Stop Codes
The start/center/stop codes are special character codes marking those
portions of the bar code. These codes are automatically provided.
Data Field
The bar code symbol uses a series of varying width bars and spaces to
represent a limited character set (numbers 0-9 and Special Characters Start,
Center, and Stop). The bars and spaces vary in width from one through four
modules. Each character consists of two bars and two spaces that total seven
modules. The symbol coding of the left data field is different from the right
data field to permit read direction sensing.
Readable Data
The human readable data field provides a readable interpretation of the bar
code data. It can either be suppressed or printed above or below the bar code
symbol.
Check Digit
The modulo-10 check digit is automatically calculated and inserted in the bar
code symbol. The check digit verifies accurate scanning.
270
EAN 13
EAN 13
The EAN 13 bar code structure is shown in Figure 13 and described below.
NUMBER
SYSTEM N
CHARACTER
Quiet Zone
Quiet zones extend on both ends of the bar code to permit the scan to begin
and end in a blank area. You are responsible for providing sufficient space
(minimum of seven modules) on the form for the quiet zones. The number
system character is also printed automatically in the left quiet zone.
Start/Center/Stop Codes
The start/center/stop codes are special character codes marking those
portions of the bar code. These codes are automatically provided.
Data Field
The bar code symbol uses a series of varying width bars and spaces to
represent a limited character set (numbers 0-9 and Special Characters Start,
Center, and Stop). The bars and spaces vary in width from one through four
modules. The symbol coding of the left data field is different from the right
data field to permit read direction sensing.
Readable Data
The human readable data field provides a readable interpretation of the bar
code data. It can be either suppressed or printed above or below the bar code
symbol.
Check Digit
The modulo-10 check digit is automatically calculated and inserted in the bar
code symbol. The check digit verifies accurate scanning. The number system
character is included in the check digit algorithm.
271
Chapter 7 Bar Codes
FIM
The FIM (Facing Identification Mark) bar code structure is shown below and
described on the following pages. The left boundary must begin 3 inches from
the right edge of the mail piece. The right-most bar must be 2 inches + 1/8-
inch from the right edge of the mail piece. Bars are 5/8-inch + 1/8-inch tall; the
top of the bars must be no lower than 1/8-inch from the top edge of the mail
piece (and may touch the top edge of the mail piece). The bar code baseline
must be within 1/8-inch from the bottom edge of the quiet zone.
xxxx,yyyy 3"
NOTE: Illustration is not to scale 2"- 1-7/8"
1-1/4" 1-3/4"
1/8"
Return Address Area
5/8" Quiet
Zone
Quiet Zone
The bar code structure requires a completely blank, 1/4-inch wide, 5/8-inch
tall quiet zone, reserved for only the appropriate FIM pattern. You must
provide sufficient space for this zone.
272
FIM
Start/Stop Code
The start/stop code is a unique character identifying the leading and trailing
end of the bar code. The start/stop code is automatically produced with each
bar code. The start/stop code structure permits bidirectional bar code
scanning.
Data Field
The bar code symbol uses a nine-position bar/no-bar pattern of tall (full) bars
of uniform height. Use the letters “A,” “B,” “C,” or “D” to specify the type of
FIM.
Figure 15 illustrates how to generate a horizontal FIMC bar code and a
POSTNET bar code.
ESC | };cF; xCx;N0;0065;0001;H01
ESC | };cP; x481701892x;N0;0050;0020;H09
y = 0001
x = 0065
y = 0020
x = 0050
273
Chapter 7 Bar Codes
STOP START
CODE CODE
OPTIONAL
CHECK
DIGIT
CCW CW
DATA DATA
FIELD OPTIONAL FIELD
READABLE
DATA
FIELD
OPTIONAL
CHECK
DIGIT
START STOP UPPER
UPPER LOWER LOWER
CODE CODE GUARD
GUARD GUARD GUARD
BAND BAND BAND BAND
QUIET QUIET
ZONE ZONE
HEIGHT HEIGHT
OPTIONAL
CHECK DIGIT
SR, SC
POSITION
UPPER GUARD BAND
SR, SC
POSITION
OPTIONAL READABLE DATA FIELD
HEIGHT
QUIET STOP START QUIET
INV ZONE CODE
DATA FIELD
CODE ZONE
OPTIONAL
CHECK DIGIT
274
Interleaved 2/5 (I-2/5), German I-2/5, and ITF-14
Quiet Zone
Both ends of the bar code structure have blank quiet zones. The quiet zones
must be at least 0.25 inches wide and completely blank to ensure accurate
reading of the start/stop codes and to prevent adjacent bar codes from
overlapping. You must provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
Unique start and stop codes permit bidirectional scanning. Both start and stop
codes contain bars and spaces. They are automatically produced.
Data Field
The bar code symbol uses a series of wide and narrow bars and spaces to
represent numeric characters. The structure is 2 wide elements (bars or
spaces) and 3 narrow elements. In the bar code, two characters are
interleaved (paired); bars are used to represent the first character in the pair
and spaces are used to represent the second character in the pair.
German I-2/5 and ITF-14 are special cases of Interleaved 2/5 bar codes.
While Interleaved 2/5 has a variable data field, German I-2/5 is restricted to 11
or 13 digits, and ITF-14 is restricted to 13 digits.
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. It can be printed above or below the bar code symbol.
Check Digit
The modulo-10 check digit can be inserted into the bar code to verify accurate
scanning.
Interleaved 2/5 can be printed with or without a check digit, but German I-2/5
and ITF-14 have the check digit automatically included.
275
Chapter 7 Bar Codes
276
Interleaved 2/5 (I-2/5), German I-2/5, and ITF-14
277
Chapter 7 Bar Codes
data field Interleaved 2/5: Enter the characters for the bar
code data. A null data field (no characters) is
permitted. The length of the data field is variable;
however, the maximum length is usually limited to
32 characters to minimize potential reading errors.
An even number of characters are required for the
interleaving process. Consequently, if an odd
number of characters are entered in the data field,
a leading zero is added automatically. The
characters available for the data field are 0 through
9 (hex 30 through 39).
German I-2/5: The data field must be 11 or 13
digits exactly.
ITF-14: The data field must be 13 digits exactly.
PDF Optional parameter to enable printing of the human
readable data field. Enter PDF to print the data
field. If the parameter is not used, the human
readable data is not printed. This parameter is not
allowed if a null data field was specified. For
German I-2/5, fields of the data are separated by
dots and spaces.
LOC Optional parameter to identify the location of the
printable data field. The default value is B, locating
the human readable data below the bar code. A
locates the printable data field above bar code. To
compensate for printing the 0.1-inch high data, the
height of the bar code body is reduced 0.1-inch.
FONT Optional parameter to select the font for the human
readable data field. Enter O to select OCR-A font;
enter X to select OCR-B font; enter N to select 10
cpi; enter P to select 12 cpi; enter Q to select 13
cpi; enter R to select 15 cpi; enter T to select 17 cpi;
enter V to select 20 cpi.
STOP Ends the Bar Code command while the IGP
continues in the Create Form Mode. Enter STOP. If
STOP is not entered, an error message results.
278
Interleaved 2/5 (I-2/5), German I-2/5, and ITF-14
I-2/5 Example
Figure 17 illustrates a horizontal and vertical I-2/5 bar code generated by the
following program:
~CREATE;I25 (Enter Create Form Mode)
BARCODE (Bar Code command)
I-2/5;DARK;49;27 (Dark Code I-2/5, at SR 49, SC 27)
*24688642* (Data Field)
PDF;A (Upper Printable Data Field)
STOP (Ends Bar Code command)
BARCODE (New Bar Code command)
I-2/5;VSCAN;H12;DARK;44;52
(Vertical Dark I-2/5, H 1.2 at
SR 44, SC 52)
*24688642* (Data Field)
PDF (Printable Data Field)
STOP (Ends Bar Code command)
END (Terminates Create Form Mode)
~EXECUTE;I25;1 (Execute the form, form count of 1)
~NORMAL
SC 52
SR 44
SC 27
SR 49
279
Chapter 7 Bar Codes
Quiet Zone
Both ends of the bar code structure have blank quiet zones. The quiet zones
must be at least 0.25 inches wide and completely blank to ensure accurate
reading of the start/stop codes and to prevent adjacent bar codes from
overlapping. You must provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
Unique start and stop codes permit bidirectional scanning. Both start and stop
codes contain bars and spaces. They are automatically produced.
Data Field
The bar code symbol uses a series of wide and narrow bars and spaces to
represent numeric characters. The structure is 2 wide elements (bars or
spaces) and 3 narrow elements. In the bar code, two characters are
interleaved (paired); bars are used to represent the first character in the pair
and spaces are used to represent the second character in the pair.
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. It can be printed above or below the bar code symbol.
Check Digit
The modulo-10 check digit can be inserted into the bar code to verify accurate
scanning.
280
MSI
MSI
The MSI bar code structure is shown in Figure 19 and described on the
following pages.
STOP START
CODE CODE
OPTIONAL
CHECK
DIGIT
CCW CW
DATA DATA
FIELD OPTIONAL FIELD
READABLE
DATA
FIELD
OPTIONAL
CHECK
DIGIT
START STOP UPPER
UPPER LOWER LOWER
CODE CODE GUARD
GUARD GUARD GUARD
BAND BAND BAND BAND
QUIET QUIET
ZONE ZONE
HEIGHT HEIGHT
OPTIONAL
CHECK DIGIT
SR, SC
POSITION
UPPER GUARD BAND
SR, SC
POSITION
OPTIONAL READABLE DATA FIELD
HEIGHT
QUIET STOP START QUIET
INV ZONE CODE
DATA FIELD
CODE ZONE
OPTIONAL
CHECK DIGIT
281
Chapter 7 Bar Codes
Quiet Zone
Both ends of the bar code structure require blank quiet zones. The quiet
zones must be at least 0.25-inches wide and completely blank to ensure
accurate reading of the start/stop codes and to prevent adjacent bar codes
from overlapping. You must provide sufficient space on the form for the quiet
zones.
Start/Stop Code
Unique start and stop codes permit bidirectional scanning. Both start and stop
codes contain bars and spaces. They are automatically produced.
Data Field
The bar code symbol uses a series of wide and narrow bars and spaces to
represent each numeric character. The structure is four wide elements (bars
or spaces) and four narrow elements. Each character contains four data bits,
with each 0-bit made up of a narrow bar/wide space arrangement and each 1-
bit made up of a wide bar/narrow space arrangement.
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. It can be printed above or below the bar code symbol.
Check Digit
If specified, the modulo-10 or modulo-11 (or both) check digit is automatically
calculated and inserted in the bar code symbol. The check digit verifies
accurate scanning.
282
MSI
283
Chapter 7 Bar Codes
284
MSI
MSI Example
Figure 20 illustrates a horizontal and vertical MSI bar code generated by the
following program:
~CREATE;MSI (Enter Create Form Mode)
BARCODE (Bar Code command)
MSIA;DARK;32;27 (Dark Bar Code MSIA at SR 32, SC 27)
*24688642* (Data Field)
PDF;X (Printable Data Field, OCR-B)
STOP (Ends Bar Code command)
BARCODE (New Bar Code command)
MSIB;VSCAN;X2;H12;DARK;32;54
(Vertical Dark MSIB, Mag 2, H 1.2 at
SR 32, SC 54)
*24688642* (Data Field)
PDF;A (Upper Data Field)
STOP (Ends Bar Code command)
END (Terminates Create Form Mode)
~EXECUTE;MSI;1 (Execute the form, form count of 1)
~NORMAL
SC 27 SC 54
SR 32 SR 32
285
Chapter 7 Bar Codes
PDF417
The PDF417 structure is shown in Figure 21 and described on the following
pages.
QUIET QUIET
SR, SC ZONE SR, SC ZONE
POSITION POSITION
STOP START
CODE CODE
CCW CW
DATA DATA
FIELD FIELD
SR, SC
POSITION UPPER GUARD BAND
SR, SC
POSITION LOWER GUARD BAND
INV QUIET
ZONE
STOP
CODE
START
CODE
QUIET
ZONE
286
PDF417
Quiet Zone
Both ends of the bar code structure require blank quiet zones. The quiet
zones must be at least 0.25 inches wide and completely blank to ensure
accurate reading of the start/stop codes and to prevent adjacent bar codes
from overlapping. Be sure to provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
The start/stop codes identify the leading and trailing end of the bar code.
Data Field
PDF417 provides twelve modes to encode data. The first three are pre-
established (the remaining nine are user modes, which can be defined by
users or industry associations according to specific applications):
1. Extended Alphanumeric Compaction mode (EXC). Comprised of four
sub-modes, this mode offers encodation of all printable ASCII characters.
This is the default mode; the IGP uses shift or latch characters to enable
other modes.
2. Binary/ASCII Plus mode. This offers encodation for all ASCII characters,
printable or not, and binary values.
3. Numeric Compaction mode. This offers encodation for numeric values to
a density of almost 3 digits per code word.
4. The IGP will automatically switch between modes to provide the smallest
encodation for the data.
Security Level
PDF417 can detect and correct errors. Each label has 2 code words of error
detection. You can select the error correction capacity based on application
needs. Specify a security level in the range of 0 - 8, at the time of printing.
PDF417 can also recover from omissions and misdecodes of code words.
Since it requires two code words to recover from a misdecode, one to detect
the error and one to correct for it, a given security level can support half the
number of misdecodes that it can of undecoded words.
PDF
Print Data Field is not offered due to the large amount of data that can be
encoded.
287
Chapter 7 Bar Codes
288
PDF417
289
Chapter 7 Bar Codes
290
PDF417
data field Enter the data for the bar code. A null data field (no
characters) is not permitted. The data field can
contain any character including carriage returns
and line feeds. The length of the data field is
variable; however, the maximum length is usually
limited to 1024 bytes to minimize potential reading
errors.
NOTE: New lines (i.e. carriage returns/line feeds) are allowed in the PDF417
data field and as PDF417 dynamic data field input.
STOP Ends the Bar Code command while the IGP
continues in the Create Form Mode. Enter STOP. If
STOP is not entered, an error message results.
PDF417 Example
Figure 22 illustrates a horizontal PDF417 bar code generated by the following
program:
~CREATE;PDF417 (Enter Create Form Mode)
BARCODE (Bar Code command)
PDF417;XD3;YD9;S0;37;21 (PDF417; width; height, security
level, SR 37, SC 21)
*ACME MOTOR SUPPORTS PRINTING OF PDF417 TWO-DIMENSIONAL BAR
CODE SYMBOLOGY 123456789012345678901234567890123456789*
STOP (Ends Bar Code command)
END (Terminate Create Form Mode)
~EXECUTE;PDF;1 (Execute the form)
~NORMAL
SC 21
SR 37
291
Chapter 7 Bar Codes
Quiet Zone
The bar code structure requires a completely blank quiet zone which is a 2mm
border on each side of the bar code.
Start/Stop Code
The start and stop bars identify the orientation of the bar code.
Data Field
For PostBar, a variable length data field of digits “0” through “3” are allowed to
represent the bars: Full Height (0), Ascender (1), Descender (2), and Tracker
(3). For Royal Mail, the data is restricted to alphanumeric characters “A”
through “Z” and “0” through “9”. If using the KIX format for Royal Mail,
lowercase characters “a” through “z” are also valid.
Each bar width is equal, and must be .020-inch ± .005-inch. Horizontal
spacing between bars (pitch) must be 22 bars ± 2 bars per inch over any 0.50-
inch portion of the bar code. The height of the bars (Full Height) has a
maximum of 0.230 inches and a minimum of 0.165 inches.
Check Digit
For PostBar, you are responsible for encoding and check digit. For Royal
Mail, a modulo-6 check digit is inserted at the end of the data field.
KIX Format
The KIX format for Royal Mail does not include the start/stop code or the
check digit.
292
PostBar and Royal Mail (KIX)
293
Chapter 7 Bar Codes
SC 40
SR 10
294
PostBar and Royal Mail (KIX)
SC 40
SR 10
295
Chapter 7 Bar Codes
POSTNET
The POSTNET bar code structure is illustrated in Figure 25 and described on
the following pages. The POSTNET code can be a part of the address block
and appear anywhere within a vertical 4-inch area across the length of the
mail piece.
SR, SC
POSITION
QUIET ZONE
QUIET ZONE
CHECK DIGIT
Quiet Zone
The bar code structure requires a completely blank quiet zone which extends
4.75 inches from the right edge of the mail piece. In addition, a minimum quiet
zone of 0.040-inch above and below the bar code data must also be provided.
You must provide sufficient space for this zone.
296
POSTNET
Start/Stop Code
The start and stop codes are referred to as “framing bars” in POSTNET. The
start and stop codes are each one tall bar, one identifying the leading and
trailing end of the bar code. The start/stop code is automatically produced
with each bar code. The start/stop code structure permits bar code scanning
in a left-to-right direction only.
Data Field
The bar code data produces a single field of 30 bars for a 5-digit field, 50 bars
for a 9-digit data field, or 60 bars for an 11-digit data field. The bars are
grouped in sets of five. Each set of five bars (comprised of two tall bars and
three short bars) represents one of the five digits of the zip code, plus the
four-digit zip code extension. If the Advanced Bar Code is used, an additional
two-digit code is also added to make an 11-digit data field.
Check Digit
The sixth, tenth or twelfth digit represents the automatic check digit character
for the 5, 9 or 11-digit data field, respectively. The check digit is added
automatically to verify accurate scanning.
297
Chapter 7 Bar Codes
Royal Mail
The Royal Mail bar code structure is shown in Figure 26 and described below.
SR, SC
POSITION
QUIET ZONE
QUIET ZONE
CHECK DIGIT
Quiet Zone
The bar code structure requires a completely blank quiet zone which is a 2mm
border on each side of the bar code.
Start/Stop Code
The start and stop bars identify the orientation of the bar code.
Data Field
The data is restricted to alphanumeric characters “A” through “Z” and “0”
through “9”.
Each bar width is equal, and must be .020-inch ± .005-inch. Horizontal
spacing between bars (pitch) must be 22 bars ± 2 bars per inch over any
0.50-inch portion of the bar code. The height of the bars (Full Height) has a
maximum of 0.230 inches and a minimum of 0.165 inches.
Check Digit
A modulo-6 check digit is inserted at the end of the data field.
298
Telepen
Telepen
The Telepen structure is shown in Figure 27 and described on the following
pages.
STOP START
CODE CODE
OPTIONAL
CHECK
DIGIT
CCW CW
DATA DATA
FIELD OPTIONAL FIELD
READABLE
DATA
FIELD
OPTIONAL
CHECK
DIGIT
START STOP UPPER
UPPER LOWER LOWER
CODE CODE GUARD
GUARD GUARD GUARD
BAND BAND BAND BAND
QUIET QUIET
ZONE ZONE
HEIGHT HEIGHT
OPTIONAL
CHECK DIGIT
SR, SC
POSITION
UPPER GUARD BAND
SR, SC
POSITION
OPTIONAL READABLE DATA FIELD
HEIGHT
QUIET STOP START QUIET
INV ZONE CODE
DATA FIELD
CODE ZONE
OPTIONAL
CHECK DIGIT
299
Chapter 7 Bar Codes
Quiet Zone
Both ends of the bar code structure require blank quiet zones. The quiet
zones must be at least 0.25 inches wide and completely blank to ensure
accurate reading of the start/stop codes and to prevent adjacent bar codes
from overlapping. Be sure to provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
The start/stop code is a unique character identifying the leading and trailing
end of the bar code. The start/stop code is automatically produced with each
bar code. The start/stop code structure permits bidirectional bar code
scanning.
Data Field
The bar code symbol uses a series of wide and narrow bars and spaces to
represent standard alphanumeric characters. Each character is represented
by a different series of bars and spaces, both wide and narrow, but is always
16 units in width (for a wide to narrow ratio of 3). Each character starts with a
bar and ends with a space.
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. It can be printed above or below the bar code symbol.
Check Digit
A mandatory modulo-127 check digit is inserted into the bar code to verify
accurate scanning.
300
Telepen
301
Chapter 7 Bar Codes
302
Telepen
NUL %U SP Space @ %V ` %W
SOH $A ! /A A A a +A
STX $B " /B B B b +B
ETX $C # /C C C c +C
EOT $D $ /D D D d +D
ENQ $E % /E E E e +E
ACK $F & /F F F f +F
BEL $G ' /G G G g +G
BS $H ( /H H H h +H
HT $I ) /I I I i +I
LF $J * /J J J j +J
VT $K + /K K K k +K
FF $L , /L L L l +L
CR $M — — M M m +M
SO $N . . N N n +N
SI $O / /O O O o +O
DLE $P 0 0 P P p +P
DC1 $Q 1 1 Q Q q +Q
DC2 $R 2 2 R R r +R
DC3 $S 3 3 S S s +S
DC4 $T 4 4 T T t +T
NAK $U 5 5 U U u +U
SYN $V 6 6 V V v +V
ETB $W 7 7 W W w +W
CAN $X 8 8 X X x +X
EM $Y 9 9 Y Y y +Y
SUB $Z : /Z Z Z z +Z
ESC %A ; %F [ %K { %P
FS %B < %G \ %L | %Q
GS %C = %H ] %M } %R
RS %D > %I ^ %N ~ %S
US %E ? %J __ %O DEL %T %X
%Y %Z
NOTE: Character pairs /M, /N, and /P through /Y are reserved for future
control character pairs.
303
Chapter 7 Bar Codes
Telepen Example
Figure 28 illustrates a horizontal and vertical Telepen bar code generated by
the following program:
~CREATE;TELEPEN (Enter Create Form Mode)
BARCODE (Bar Code Command)
TELEPEN;5;5 (Telepen barcode at SR 5, SC 5)
"SAMPLE#1" (Data Field)
PDF;B (Printable Data Field)
STOP (Ends Bar Code Command)
BARCODE (New Bar Code Command)
TELEPEN;VSCAN;10;5 (Vertical Telepen barcode at SR 10, SC 5)
"AB12&%*" (Data Field)
PDF;B (Printable Data Field)
STOP (Ends Bar Code Command)
END (Terminates Create Form Mode)
~EXECUTE;TELEPEN;1 (Execute the form, form count of 1)
~NORMAL
SC 5
SR 5
SR 10
304
UCC/EAN-128
UCC/EAN-128
STOP START
CODE CODE
OPTIONAL
CHECK
DIGIT
CCW CW
DATA DATA
FIELD OPTIONAL FIELD
READABLE
DATA
FIELD
OPTIONAL
CHECK
DIGIT
START STOP UPPER
UPPER LOWER LOWER
CODE CODE GUARD
GUARD GUARD GUARD
BAND BAND BAND BAND
QUIET QUIET
ZONE ZONE
HEIGHT HEIGHT
OPTIONAL
CHECK DIGIT
SR, SC
POSITION
UPPER GUARD BAND
SR, SC
POSITION
OPTIONAL READABLE DATA FIELD
HEIGHT
QUIET STOP START QUIET
INV ZONE CODE
DATA FIELD
CODE ZONE
OPTIONAL
CHECK DIGIT
305
Chapter 7 Bar Codes
UCC/EAN-128 uses the same bar code and character set as Code 128.
However, in UCC/EAN-128, the Function 1 character FNC1 immediately
follows the start code. The FNC1 character has been reserved exclusively for
UCC/EAN-128.
The UCC/EAN-128 data structure requires an Application Identifier (AI) at the
beginning of bar code data. Each AI determines the format and length of the
data which follows. Refer to Table 69 for more detail.
Application
Content Format
Identifier (AI)
00 Serial Shipping Container Code n2+n18
02 Item Num. of Goods Within Another Unit n2+n14
10 Batch or Lot Number n2+an..20
11 (*) Production Date (YYMMDD) n2+n6
13 (*) Packaging Date (YYMMDD) n2+n6
15 (*) Sell By Date (Quality) (YYMMDD) n2+n6
17 (*) Expiration Date (Safety) (YYMMDD) n2+n6
20 Product Variant n2+n2
21 Serial Number n2+an..20
22 HIBCC = Quantity, Date, Batch and Link n2+an..29
23 (**) Lot Number (Transitional Use) n3+n..19
240 Additional Product ID Assigned By Manufacturer n3+an..30
250 Secondary Serial Number n3+an..30
30 Quantity n2+n..8
310 (***) Net Weight, Kilograms n4+n6
311 (***) Length or 1st Dimension, Meters n4+n6
312 (***) Width, Diameter or 2nd Dimension, Meters n4+n6
313 (***) Depth, Thickness, Height or 3rd Dimension, Meters n4+n6
314 (***) Area, Square Meters n4+n6
315 (***) Volume, Liters n4+n6
316 (***) Volume, Cubic Meters n4+n6
320 (***) Net Weight, Pounds n4+n6
321 (***) Length Or 1st Dimension, Inches n4+n6
322 (***) Length Or 1st Dimension, Feet n4+n6
323 (***) Length Or 1st Dimension, Yards n4+n6
324 (***) Width, Diameter, or 2nd Dimension, Inches n4+n6
325 (***) Width, Diameter, or 2nd Dimension, Feet n4+n6
306
UCC/EAN-128
Application
Content Format
Identifier (AI)
326 (***) Width, Diameter, or 2nd Dimension, Yards n4+n6
327 (***) Depth, Thickness, Height, or 3rd Dimension, Inches n4+n6
328 (***) Depth, Thickness, Height, or 3rd Dimension, Feet n4+n6
329 (***) Depth, Thickness, Height, or 3rd Dimension, Yards n4+n6
330 (***) Gross Weight-Kilograms n4+n6
331 (***) Length or 1st Dimension, Logistics n4+n6
332(***) Width, Diameter, or 2nd Dimension, Meters, Logistics n4+n6
333 (***) Depth, Thickness, Height or 3rd Dimension, Meters, n4+n6
Logistics
334 (***) Area, Square Meters, Logistics n4+n6
335 (***) Gross Volume, Liters n4+n6
336 (***) Gross Volume, Cubic Meters n4+n6
337 (***) Kilograms Per Square Meter n4+n6
340 (***) Gross Weight, Pounds n4+n6
341 (***) Length Or 1st Dimension, Inches, Logistics n4+n6
342 (***) Length Or 1st Dimension, Feet, Logistics n4+n6
343 (***) Length Or 1st Dimension, Yards, Logistics n4+n6
344 (***) Width, Diameter, or 2nd Dimension, Inches, Logistics n4+n6
345 (***) Width, Diameter, or 2nd Dimension, Feet, Logistics n4+n6
346 (***) Width, Diameter, or 2nd Dimension, Yards, Logistics n4+n6
347 (***) Depth, Thickness, Height or 3rd Dimension, Inches, n4+n6
Logistics
348 (***) Depth, Thickness, Height or 3rd Dimension, Feet, Logistics n4+n6
349 (***) Depth, Thickness, Height or 3rd Dimension, Yards, Logistics n4+n6
350 (***) Area, Square Inches n4+n6
351 (***) Area, Square Feet n4+n6
352 (***) Area, Square Yards n4+n6
353 (***) Area, Square Inches, Logistics n4+n6
354 (***) Area, Square Feet, Logistics n4+n6
355 (***) Area, Square Yards, Logistics n4+n6
356 (***) Net Weight, Troy Ounce n4+n6
357 (***) Net Volume, Ounces n4+n6
360 (***) Volume, Quarts n4+n6
361 (***) Volume, Gallons n4+n6
362 (***) Gross Volume, Quarts n4+n6
307
Chapter 7 Bar Codes
Application
Content Format
Identifier (AI)
363 (***) Gross Volume, Gallons n4+n6
364 (***) Volume, Cubic Inches n4+n6
365 (***) Volume, Cubic Feet n4+n6
366 (***) Volume, Cubic Yards n4+n6
367 (***) Gross Volume, Cubic Inches n4+n6
368 (***) Gross Volume, Cubic Inches n4+n6
369 (***) Gross Volume, Cubic Inches n4+n6
37 Quantity of Units Contained (For Use With AI 02 Only) n2+n..8
400 Customer's Purchase Order Number n3+an..30
401 Consignment Number n3+an..30
410 Ship To (Deliver To) Location Code Using EAN-13 n3+n13
411 Bill To (Invoice To) Location Code Using EAN-13 n3+n13
412 Purchase From (Location Code of Party From Whom Goods n3+n13
Are Purchased)
413 Ship For UCC/EAN Location Code n3+n13
414 EAN Location Code For Physical Identification n3+n13
420 Ship To (Deliver To) Postal Code Within a Single Postal n3+an..20
Authority
421 Ship To (Deliver To) Postal Code With 3-Digit ISO Country n3+n3+an..9
Code Prefix
8001 Roll Products-Width, Length, Core Diameter, Direction and n4+n14
Splices
8003 UPC/EAN Number and Serial Number Or Returnable Asset n4+n14+an..16
8004 UCC/EAN Serial Identification n4+an..30
8005 Identifies the Price Per Unit of Measure n4+n6
8006 Component of an Article n4+n14+n2+n2
8018 Service Relation Number n4+n18
8100 Coupon Extended Code-Number System Character and n4+n1+n5
Offer
8101 Coupon Extended Code-Number System Character, Offer n4+n1+n5+n4
and End of Offer
8102 Coupon Extended Code-Number System Character n4+n1+n1
Preceded by Zero
90 Mutually Agreed, Between Trading Partners n2+an..30
91 Intra-Company (Internal) n2+an..30
92 Intra-Company (Internal) n2+an..30
308
UCC/EAN-128
Application
Content Format
Identifier (AI)
93 Intra-Company (Internal) n2+an..30
94 Intra-Company (Internal) n2+an..30
95 Internal-Carriers n2+an..30
96 Internal-Carriers n2+an..30
97 Intra-Company (Internal) n2+an..30
98 Intra-Company (Internal) n2+an..30
99 Internal n2+an..30
(*) To indicate only year and month, DD must be filled with “00”
(**) Plus one digit for length indication
(***) Plus one digit for decimal point indication
Data Value Representation:
a - alphabetic charactersn - numeric characters
an - alpha-numeric charactersn3 - 3 numeric characters, fixed length
an..3 - up to 3 alpha-numeric charactersn..3 - up to 3 numeric characters
Quiet Zone
Both ends of the bar code structure require blank quiet zones. The quiet
zones must be at least 0.25 inches wide and completely blank to ensure
accurate reading of the start/stop codes and to prevent adjacent bar codes
from overlapping. You must provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
The start and stop codes identify the leading and trailing ends of the bar code.
UCC/EAN-128 uses unique start codes for character subsets B and C, and a
stop code common to both. An automatic mode switching feature is used to
generate the correct start code based on the first four data field characters.
Data Field
UCC/EAN-128 bar codes require a special character called “Function 1”
(FNC1) to immediately follow the start code. IGP automatically supplies this
character, so it must not be included in the data field by the user.
A character is made up of three bars and three spaces, each varying in width
from 1 through 4 modules, for a total of eleven modules. The number of
modules making up the bars is even. The stop code has four bars and is 13
modules wide.
The character set for UCC/EAN-128 is the same as the character set for Code
128. Every character is interpreted according to the currently active character
subset. UCC/EAN-128 uses subset B and subset C only. Subset B, shown in
Table 66 (page 268), includes all standard alphanumeric keyboard
characters, lowercase alphabetical characters, and special characters.
309
Chapter 7 Bar Codes
Readable Data
The optional printed data field (PDF) provides a human-readable
interpretation of the bar code data. When the printed data field is enabled by
use of the “PDF” parameter, the overall height of the bars is reduced to make
room for a guard band and the human-readable characters. The printed data
field will be formatted with spaces or parentheses denoting particular data
fields such as the application identifier. Special characters such as start, stop,
subset switch, modulo-103 check digit, and FNC1 do not appear in the
human-readable data.
The readable data is oriented along the bar code from start code to stop code.
It may be positioned above or below a bar code, and the bar code may be
horizontal, vertical, or inverted.
310
UCC/EAN-128
311
Chapter 7 Bar Codes
312
UCC/EAN-128
313
Chapter 7 Bar Codes
~NORMAL
314
UCC/EAN-128
~NORMAL
315
Chapter 7 Bar Codes
The following example shows the use of dynamic data. The ship-to-postal
code, AI 420, is used to encode 5 digit ZIP Codes.
~CREATE;UCCDYN;140
BARCODE
UCC-128;BF1;8;3;20
PDF;X
STOP
ALPHA
DARK;1;20;0;0;*SHIP TO POSTAL*
STOP
END
~EXECUTE;UCCDYN
~BF1;*42092614*
~NORMAL
~EXECUTE;UCCDYN
~BF1;*42090210*
~NORMAL
~EXECUTE;UCCDYN
~BF1;*42090028*
~NORMAL
316
UPC-A
UPC-A
The UPC-A bar code structure is shown in Figure 33 and described below.
NUMBER
SYSTEM N C
CHARACTER
Quiet Zone
Quiet zones extend on both ends of the bar code to permit the scan to begin
and end in a blank area. The number system character is also printed
automatically in the left quiet zone.
Start/Center/Stop Codes
The start/center/stop codes are special character codes marking those
portions of the bar code. These codes are automatically provided.
Data Field
The bar code symbol uses a series of varying width bars and spaces to
represent a limited character set (numbers 0-9 and Special Characters Start,
Center, and Stop). The bars and spaces vary in width from one through four
modules. Each character consists of two bars and two spaces that total seven
modules. The symbol coding of the left data field is different from the right
data field to permit read direction sensing.
Readable Data
The human readable data field provides a readable interpretation of the bar
code data. It can either be suppressed or printed above or below the bar code
symbol.
Check Digit
The modulo-10 check digit is automatically calculated and inserted in the bar
code symbol. The check digit verifies accurate scanning. The number system
character is included in the check digit algorithm.
317
Chapter 7 Bar Codes
UPC-E
The UPC-E bar code structure is shown in Figure 34 and described below.
START STOP
x, y CODE CODE
POSITION
N C
Quiet Zone
Quiet zones extend on both ends of the bar code to permit the scan to begin
and end in a blank area. You must provide sufficient space (minimum of
seven modules) on the form for the quiet zones. The number system
character is also printed automatically in the left quiet zone.
Start/Stop Codes
The start/stop codes are special character codes marking those portions of
the bar code. These codes are automatically provided.
Data Field
The bar code symbol uses a series of varying width bars and spaces to
represent a limited character set (numbers 0-9 and Special Characters Start
and Stop). The bars and spaces vary in width from one through four modules.
For UPC-E, eleven digits are expected, which are compressed down to the
six encoded symbol characters.
Readable Data
The human readable data field provides a readable interpretation of the bar
code data. It can either be suppressed or printed above or below the bar code
symbol.
Check Digit
The modulo-10 check digit is automatically calculated and inserted in the bar
code symbol. The check digit verifies accurate scanning. The number system
character is included in the check digit algorithm.
318
UPC-E
X X 3 0 0 ( ) ( ) ( 3 )
X X 9 0 0 first 3 digits of last 2 digits of depends on how
manufacturer’s the product many digits
number number; use 00- appear in the
99 only manufacturer’s
number
X X X X 0 ( ) ( ) ( 4 )
first 4 digits of last digit of depends on how
manufacturer’s product number, many digits
number use 0 through 9 appear in the
only manufacturer’s
number
X X X X X ( ) ( )
all 5 digits of last digit of
manufacturer’s product number,
number use 5 through 9
only
319
Chapter 7 Bar Codes
0 the first 2 digits (of the zero 00 plus the THIRD, FOURTH
Example: 124560 suppressed number) plus 000 and FIFTH digit (of the zero
12000 suppressed number)
00456
3 the first three digits plus 00 000 plus the FOURTH and
Example: 876543 87600 FIFTH digit
00054
4 the first four digits plus 0 0000 plus the FIFTH digit
Example: 753774 75370 00007
5, 6, 7, 8, 9 the first five digits of the zero 0000 plus the SIXTH digit
Examples: suppressed number
213756 21375 00006
517019 51701 00009
320
UPC Shipping
UPC Shipping
The UPCSHIP bar code structure is shown in Figure 35 and described below.
OPTIONAL
CHECK DIGIT
SR, SC
POSITION
UPPER GUARD BAND
Quiet Zone
Both ends of the bar code structure have blank quiet zones. The quiet zones
should be at least 0.25 inches wide and completely blank to ensure accurate
reading of the start/stop codes and to prevent adjacent bar codes from
overlapping. You are responsible for providing sufficient space on the form for
the quiet zones.
Start/Stop Codes
Unique start and stop codes permit bidirectional scanning. Both start and stop
codes contain bars and spaces. They are automatically produced.
Data Field
The bar code symbol uses a series of wide and narrow bars and spaces to
represent numeric characters. The structure is 2 wide elements (bars or
spaces) and 3 narrow elements.
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. Bar code data is printed below the horizontal bar code symbol. The
lower guard band is provided when the readable data field is selected.
Check Digit
The modulo-10 check digit is automatically calculated and inserted in the bar
code symbol. The check digit provides the means to verify accurate scanning.
321
Chapter 7 Bar Codes
UPS 11
The UPS 11 structure is shown in Figure 36 and described on the following
pages.
STOP START
CODE CODE
OPTIONAL
CHECK
DIGIT
CCW CW
DATA DATA
FIELD OPTIONAL FIELD
READABLE
DATA
FIELD
OPTIONAL
CHECK
DIGIT
START STOP UPPER
UPPER LOWER LOWER
CODE CODE GUARD
GUARD GUARD GUARD
BAND BAND BAND BAND
QUIET QUIET
ZONE ZONE
HEIGHT HEIGHT
OPTIONAL
CHECK DIGIT
SR, SC
POSITION
UPPER GUARD BAND
SR, SC
POSITION
OPTIONAL READABLE DATA FIELD
HEIGHT
QUIET STOP START QUIET
INV ZONE CODE
DATA FIELD
CODE ZONE
OPTIONAL
CHECK DIGIT
322
UPS 11
Quiet Zone
Both ends of the bar code structure require blank quiet zones. The quiet
zones must be at least 0.25 inches wide and completely blank to ensure
accurate reading of the start/stop codes and to prevent adjacent bar codes
from overlapping. Be sure to provide sufficient space on the form for the quiet
zones.
Start/Stop Codes
The start/stop codes identify the leading and trailing end of the bar code. Each
of the UPS 11 subsets uses a unique start code and a common stop code,
both automatically provided by the IGP.
Data Field
UPS 11 is a special case of Code 128 (page 265). This bar code is restricted
to 10 data characters. The first character must be 0 through 9 or A through Z.
The remaining nine digits must be 0 through 9.
Readable Data
The optional readable data field provides a readable interpretation of the bar
code data. It can be printed above or below the bar code symbol.
Check Digit
The modulo-103 check digit is automatically calculated and inserted in the bar
code symbol. The check digit verifies accurate scanning. The start code is
included in the check digit algorithm.
323
Chapter 7 Bar Codes
324
UPS 11
325
Chapter 7 Bar Codes
UPS 11 Example
Figure 37 illustrates a vertical UPS 11 bar code generated by the following
program:
~CREATE;UPS11
BARCODE
UPS11;VSCAN;H9;34;15
*01234567895*
PDF
STOP
END
~EXECUTE;UPS11;1
~NORMAL
326
8 Graphics
Overview
This chapter explains how the printer produces graphic images.
The quickest way to produce graphic images is to use one of the many
graphics software applications available. Any graphics program that is
compatible with the Epson FX, Proprinter III XL, P–Series, Serial Matrix, or P–
Series XQ Variant emulation should provide excellent results.
You can also use the Intelligent Graphics Printing (IGP**) Printronix emulation
or the Code V** Printronix emulation. Both allow you to create and store
forms, generate logos, bar codes, expanded characters, and other graphics.
Printing text and characters is the default mode of operation. However, your
printer can print graphics.
• When the emulation is in the Proprinter III XL, Epson, or Serial Matrix
protocol mode, Bit Image graphics is used for graphics printing.
• When the emulation is in the P-Series or P-Series XQ Variant protocol
mode, Odd/Even dot plotting is used for graphics printing.
Each line of graphics data must include a graphics control code to enable the
emulation for the desired graphics mode of operation.
327
Chapter 8 Bit Image Graphics
128 MSB
64
32
16
A = 65 = 8 =
4
2
1
328
Designing A Bit Image Pattern
MSB 128
64
32
16
8
4
2
LSB 1
73 36 36 73 Decimal
146 255 146 Equivalents
329
Chapter 8 Bit Image Graphics
330
Bit Image Density
The maximum number of data bytes that can be included in the DATA portion
of the program statement (when using 132 column paper) varies according to
the dot density:
At 60 dpi, single density = 792 bytes
double density = 1584 bytes
quadruple density = 3168 bytes
Data that go past the right margin are discarded if automatic line feed is
disabled. If automatic line feed is enabled, data that go past the right margin
trigger an automatic line feed (LF) and are printed on the next line.
331
Chapter 8 Plot Mode
Plot Mode
Plot mode is available for the P-Series and P-Series XQ Variant protocols.
This subsection describes the P-Series compatible odd/even dot Plot mode of
operation. The P-Series plot has a rigid format wherein each line of data
contains a plot command code, the plot data, and an LF code (hex 0A).
The P-Series codes (hex 04 and 05, respectively) can be placed anywhere on
the command line.
The P-Series XQ codes (hex 04 and 05, respectively) can also be placed
anywhere on the command line without degrading plot speed.
When P-Series Plot mode is enabled by an EOT (hex 04) or ENQ (05) code,
all control codes except LF, CR, and FF, are ignored. Any control sequence
parameter prior to a plot code is acted upon immediately. Any control
sequence parameter following an EOT or ENQ code is treated as plot data.
If any combination of EOT (hex 04) or ENQ (05) code is received in a single
line, the priority of action is:
• EOT (hex 04) takes priority over ENQ (hex 05)
• ENQ has the same priority level and is acted upon in the order received
A printable symbol is defined as any character or command that might cause
the head of a serial printer to move away from character column one.
Plot Density
Plot density refers to the number of dots per inch (dpi) printed in a single dot
row. Two types of plot density are available with P-Series Plot mode graphics:
normal density and high density. The densities can be mixed within the
printed page on a dot row-by-row basis, but the two densities cannot be mixed
on the same dot row.
332
Plot Data Byte Format
333
Chapter 8 Plot Mode
1 0 1 0 1 1 0 NOT
USED
NOTE: BIT 6
2 4 6 8 10 12
AND/OR BIT 7
MUST BE 1"
FOR PLOT MODE
~ ~~ ~ ~ ~ ~ ~~ ~ ~ ~ ~ ~ DOT COLUMN #1 OF
NEXT CHARACTER
COLUMN
DOT COLUMN
~ ~~ ~ ~ ~ ~ ~~ ~ ~ ~ ~ ~
#12 OF PREVIOUS
CHARACTER
COLUMN
NOTE: IN ACTUAL
PRINTING, THESE
TWO ROWS MERGE
TO PRINT ON THE
SAME ROW.
1 3 5 7 9 11
1 1 1 0 1 1 1 NOT
USED
BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7 BIT 8
LSB MSB
334
Plot Data Line Format
• A plot data line may contain any number of data bytes up to the
maximum. If automatic line feed is disabled, any bytes over the maximum
are lost. If the maximum is exceeded and automatic line feed is enabled,
a line feed (LF) is forced and the remaining plot data are printed as text
on the next line.
• The plot mode command may occur anywhere in the line, but plot speed
may decrease if it is not at the beginning of the line.
•
Plot Mode Code 1st Char 2nd Char 3rd Char 132nd Char Line Terminator
hex 05 =
Normal hex 0A =
Density Plot Line Feed
or
A line of hex 04
followed by a line hex 0C =
of hex 05 = Form Feed
High Density Plot
335
Chapter 8 Plot Mode
336
Plotting The Data
* 42 @ 64
1
| 73 A 65
2
\ 92 @ 64
3
* 42 @ 64
DOT 4
ROW | 73 A 65
5
\ 92 @ 64
6
* 42 @ 64
7
| 73 A 65
8
337
Chapter 8 Combining Graphics And Text
@ABCDEFGHIJKLMNOPQR
@ABCDEFGHIJKLMNOPQR
A text line follows plot data, preceded by a A text line follows plot data, but is preceded
single line terminator code. (Text characters by an additional line terminator or LF code.
may extend into the range of the previously (Characters are printed at full-height.)
printed plot line and appear truncated.)
338
2 4 6 8 1012 2 4 6 8 1012 2 4 6 8 1012
BINARY OCT DEC HEX ASCII 1 3 5 7 9 11 BINARY OCT DEC HEX ASCII 1 3 5 7 9 11 BINARY OCT DEC HEX ASCII
1 3 5 7 9 11
339
Chapter 8 Combining Graphics And Text
340
9 Vertical Page Formatting
Overview
Rapid vertical paper movement is called slewing. A vertical format unit (VFU)
is a program you load into the printer that enables it to slew paper to preset
locations on a page.
On your printer, LF commands and other commands that produce blank lines
are accumulated and moved in one efficient paper motion. The VFUs are
maintained for compatibility with earlier applications.
Following an introductory overview of how to plan a vertical page format, the
following three methods of vertical formatting are described in this chapter:
• Vertical tab table: The IBM Proprinter III XL, Epson FX, and Serial Matrix
emulations each contain a vertical tab table. It is a set of programmed
vertical tabs.
• Electronic Vertical Format Unit (EVFU): The P-Series and P-Series XQ
Variant emulations provide the EVFU capability.
341
Chapter 9 Vertical Tab Table For Proprinter, Epson, And Serial Matrix
VFU Characteristics
Keep in mind the following information when programming and using a VFU:
Elongated Characters – You can use elongated (double high) characters in
VFU programs. The VFU automatically counts one line of elongated
characters as two character lines.
VFU Not Loaded – If the VFU is not loaded, the printer performs a single line
feed in response to VFU commands.
Paper Runaway Protection – If the VFU memory is loaded and a channel
code is sent that was not previously loaded, the printer moves the paper a
single line feed.
Line Spacing – The printer can use either 6 or 8 lines per inch (lpi) spacing.
These VFUs calculate the forms length by line density selected. The 6 and 8
lpi spacing may be mixed on the same form, but should be done carefully.
Form Feed – A form feed sent from the operator panel or a command from
the host moves the paper to the first channel 1, which is the top of form.
Vertical Tab – A VT command moves the paper to the next channel 12. If a
channel 12 is not loaded, a line feed will occur.
342
Vertical Tab Positions
1 Top of Form
9
10
11
12
13
QUANTITY 14 Tab 3
15
20
343
Chapter 9 EVFU For P-Series And P-Series XQ Variant Emulations
Channel Assignment
The EVFU memory has the capacity for 192-line forms. The first line
identification code (channel code) in the memory load program defines the
first line on the form; the second line identification code defines the second
line on the form, etc. Each line must have a line identification code. Filler
channel codes are used for lines that will not be accessed by the print
program. Any channel code can be used as a filler except channel code 1,
which is reserved for the top-of-form, and channel code 12, which is reserved
as the vertical tab channel. The same filler channel code can be repeated as
necessary for any number of lines.
Channel 1 - The top-of-form code, reserved as the first line on the form or the
first line printed (top-of-form position). The operating program sends the
channel 1 code to advance to the top of the next form. After the memory is
loaded, a Form Feed code (FF, hex 0C) will move the paper to the next
channel 1 (top-of-form).
Channels 2 through 11, 13 and 14 - Used as general channel codes (line
identification codes) or filler channels. Each line on the form must be identified
by a channel code. When the operating program sends the channel code, the
paper advances to the line identified by the channel code. Lines not used by
the operating program must be identified by filler channels (unused channel
codes).
Channel 12 - Reserved as the Vertical Tab channel. The Vertical Tab code
(VT, hex 0B) prints any data in the print buffer and rapidly slews the paper to
the next line identified by the channel 12 code. If channel 12 is not loaded in
the EVFU memory, a single line feed will be executed when a VT code is sent.
Channel 15 and 16 - Used as general channel codes or filler channels only
when the VFU is accessed by the PI line. In an EVFU form that does not use
the PI line, the codes for Channels 15 and 16 function as the Start Load and
End Load codes.
344
End Load - Hex 1F Or 6F
345
Chapter 9 EVFU For P-Series And P-Series XQ Variant Emulations
00 0 NUL 1 X X X 0 0 0 0 0 1 (TOF)
01 1 SOH 1 X X X 0 0 0 0 1 2
02 2 STX 1 X X X 0 0 0 1 0 3
03 3 ETX 1 X X X 0 0 0 1 1 4
04 4 EOT 1 X X X 0 0 1 0 0 5
05 5 ENQ 1 X X X 0 0 1 0 1 6
06 6 ACK 1 X X X 0 0 1 1 0 7
07 7 BEL 1 X X X 0 0 1 1 1 8
08 8 BS 1 X X X 0 1 0 0 0 9
09 9 HT 1 X X X 0 1 0 0 1 10
0A 10 LF 1 X X X 0 1 0 1 0 11
0B 11 VT 1 X X X 0 1 0 1 1 12 (VT)
0C 12 FF 1 X X X 0 1 1 0 0 13
0D 13 CR 1 X X X 0 1 1 0 1 14
0E 14 SO 1 X 0 0 0 1 1 1 0 15
0F 15 SI 1 X 0 0 0 1 1 1 1 16
346
Clearing the EVFU Memory
10 16 DLE 0 0 0 1 0 0 0 0 1 (TOF)
11 17 DC1 0 0 0 1 0 0 0 1 2
12 18 DC2 0 0 0 1 0 0 1 0 3
13 19 DC3 0 0 0 1 0 0 1 1 4
14 20 DC4 0 0 0 1 0 1 0 0 5
15 21 NAK 0 0 0 1 0 1 0 1 6
16 22 SYN 0 0 0 1 0 1 1 0 7
17 23 ETB 0 0 0 1 0 1 1 1 8
18 24 CAN 0 0 0 1 1 0 0 0 9
19 25 EM 0 0 0 1 1 0 0 1 10
1A 26 SUB 0 0 0 1 1 0 1 0 11
1B 27 ESC 0 0 0 1 1 0 1 1 12 (VT)
1C 28 FS 0 0 0 1 1 1 0 0 13
1D 29 GS 0 0 0 1 1 1 0 1 14
1E 30 RS 0 0 0 1 1 1 1 0 Start Load
1F 31 US 0 0 0 1 1 1 1 1 End Load
347
Chapter 9 EVFU For P-Series And P-Series XQ Variant Emulations
348
Relative Line Slewing
10 16 DLE 1 X X X 1 0 0 0 0 1
11 17 DC1 1 X X X 1 0 0 0 1 2
12 18 DC2 1 X X X 1 0 0 1 0 3
13 19 DC3 1 X X X 1 0 0 1 1 4
14 20 DC4 1 X X X 1 0 1 0 0 5
15 21 NAK 1 X X X 1 0 1 0 1 6
16 22 SYN 1 X X X 1 0 1 1 0 7
17 23 ETB 1 X X X 1 0 1 1 1 8
18 24 CAN 1 X X X 1 1 0 0 0 9
19 25 EM 1 X X X 1 1 0 0 1 10
1A 26 SUB 1 X X X 1 1 0 1 0 11
1B 27 ESC 1 X X X 1 1 0 1 1 12
1C 28 FS 1 X X X 1 1 1 0 0 13
1D 29 GS 1 X X X 1 1 1 0 1 14
1E 30 RS 1 X 0 0 1 1 1 1 0 15
1F 31 US 1 X 0 0 1 1 1 1 1 16
349
Chapter 9 EVFU For P-Series And P-Series XQ Variant Emulations
350
A Migration To The IBM
6500-v Printer
Overview
Most of the information you will need to install and configure an IBM 6500-v
printer is provided in Chapters 2, 3, and 4 of the IBM Infoprint 6500 Line
Matrix Printer User’s Manual. This appendix provides assistance for the
process of configuring the IBM 6500-v printer at a site where previous
Printronix ASCII line matrix printers are or have been in use. The goal of this
appendix is to make your migration from a previous Printronix ASCII printer to
the IBM 6500-v as simple and trouble free as possible, with the minimum
amount of modifications required to your host configuration and application
software.
NOTE: Please familiarize yourself with all sections of this Appendix. In the
section on “Printer–Specific Migration Information,” you need to read
only the information describing the Printronix printer models at your
site.
Information is provided on migrating from the following Printronix printers to
the IBM 6500-v:
• P4280/P9212–Series ASCII Printers
• P9012 ASCII Printers
• P3000–Series ASCII printers including the P3040 and P3240
• P6000–Series ASCII printers including the P6040, P6080, P6240, and
P6280
• MVP–Series printers including the MVP–150, MVP–150B, MVP–L150,
and MVP–L150B
• P300/P600–Series Printers
351
Appendix A Migration Checklist
Migration Checklist
Before you remove the previous Printronix printer from your site in order to
install the IBM 6500-v, it is important for you to obtain the current
configuration of that printer, so that you can replicate it for the 6500-v.
Guidelines and special utility software for that purpose are described in this
appendix.
Once you know the configuration of the previous printer, you can use the
conversion tables in this appendix to create a configuration for the 6500-v that
is as close as possible to that of your previous printer.
Information on host interface selection and cabling is also provided.
Additional assistance may be needed in some situations, such as when the
previous printer and its configuration information have already been removed
before the 6500-v is installed. For situations such as these, guidelines for
contacting an IBM Customer Service engineer are provided at the end of this
appendix.
The migration process is briefly summarized in the following checklist:
1. Determine the configuration of the Printronix printer previously in use at
your site, either from a configuration printout, checking your printer switch
settings, or by printing the test file provided (for the P300/P600 only). The
method recommended for your printer is described within the topic
“Printer–Specific Migration Information.”
2. Plan a configuration for the 6500-v that is most similar to the previous
configuration. Use the equivalence tables provided for each printer type to
pinpoint which 6500-v menu options correspond to the configuration
printout you obtained in Step 1. You may wish to make a copy of the
equivalence table for your printer, and note exactly which 6500-v menu
option values you plan to select.
352
Documentation Related To Migration
353
Appendix A Printer–Specific Migration Information
P–Series Emulation
P–Series XQ Emulation
In the example shown above, the ASCII P4280/P9212 menu option for
selecting Auto Line Feed is shown in the left-hand column. In the right-hand
column, the equivalent menu option for the IBM 6500-v printer, Auto LF, is
shown. The path through the IBM 6500-v menus to reach the Auto LF option
traverses from the main menu item Emulation Configuration to Printer
Emulation Configuration through any of the ASCII emulations to Auto LF.
The IBM 6500-v main configuration menu is shown in Figure 50. The
complete set of configuration menus referenced in the equivalency tables is
provided in Chapter 4 of the IBM Infoprint 6500 Line Matrix Printer User’s
Manual.
354
Documentation Related To Migration
Interface Selection Interface Selection Recall Custom Set Print Language Print Language
Twinax Printer Emulation Display Language Save Current Values Print Character Table 7 Print Character Table
Adapter Address Print Direction Delete Custom Set Active Print Language Active Print Language
Ethernet Address Hex Print Mode Change Power On Set Twinax Printer Emulation PA1
Wireless Address Power On State Protect Custom Sets Printer Address PA2
ASCII Printer Emulation Paper Jam Detection Print Custom Set Values World Trade Buffer Reprint
P-Series SFCC Forms Speed Config Key Default Cancel Buffers Printer Emulation 9
Characters Per Inch Set Platen at BOF Name Custom Sets Early Print Complete 2 Early Print Complete
Lines Per Inch Shuttle Timeout Reset Custom Set Names Hex Transparent Control SCS Buffer Control
Forms Width Energy Saver Timer Undefined Char Report Cancel Buffers
Forms Length OCR Font Density Undefined Char Sub Hex Transparent Control
Print Quality Eject/Restore Load Alt Char Option Mono/Dual Case
Active Graphic Emulation PTR Setup Option LAC Approximation Undefined Char Sub
Margins 11 File System Print Text Direction Print Text Direction
Form Length 11 Power Stacker 6 Override Host Intervention Required
Form Width 11 Auto Elevator 6 Format Control Compatibility Options
IGP SFCC Printer Management Port Maximum Printable Translate Table
Save Current Values Top Exit Tear Distance Width Override Host
Change Power On Set Ribbon End Point Hex Print Mode Format Control
Ribbon Action C/T Hotport 8 C/T Hotport 8
Maximum Printable
Width
Hex Print Mode
NOTE: 1The Twinax and Coax interface menus only appear in the menus if the IBM Coax/
Twinax feature is installed.
2 The Early Print Complete option appears in the Twinax menu only if the IPDS feature is
installed.
3
IPDS, Code V Emulation, and IGP Emulation options appear in the menus only if these
features are installed.
4 Ethernet information only appears when the ethernet feature is installed.
5Ether the Ethernet Interface menu or the Parallel Interface menu will display. They
cannot display at the same time.
6 If installed.
7 Not if 4234-12 is running IPDS code.
8 Only if Autoswitching is enabled.
9 Only if Coax Emulation is enabled.
10 The 5250 and 3270 Interface menu only appear in the menus if the TN5250/3270
feature is installed.
11
Only if ANSI is selected.
355
Appendix A Printer–Specific Migration Information
356
Migrating From P4280 And P9212 ASCII Printers
RIBBON LIFE
Enable/Disable N/A
FONT
Print Quality
CHARACTER SET
Print Language
357
Appendix A Printer–Specific Migration Information
Print Language
Multinational
APPLICATION COMPATIBILITY
P–Series XQ Emulation
Epson Emulation
Printer Select
Power On State
Shuttle Timeout
Print Direction
358
Migrating From P4280 And P9212 ASCII Printers
Select SFCC
80-9F Hex Emulation Configuration
P–Series Emulation
P–Series XQ Emulation
Control Code 06
P–Series Emulation
Control Code 08
Overstrike
P–Series XQ Emulation
Compressed Print
Draft Print Emulation Configuration
P–Series XQ Emulation
359
Appendix A Printer–Specific Migration Information
P–Series XQ Emulation
View N/A
Display Language
PAPER FORMAT
Print Format
Lines Per Inch
Print Format
Forms Length
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Auto LF
Define CR Code Emulation Configuration
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
360
Migrating From P4280 And P9212 ASCII Printers
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Serial Matrix Emulation
Define LF Code
P–Series Emulation
P–Series XQ Emulation
EVFU Selected
Print Format
Perforation Skip
Paperout Adjust See the IBM Infoprint 6500 Maintenance Information Manual
for instructions on setting the “End of Forms Adjust” value.
PMD Fault Printer Control
P–Series XQ Emulation
Slew Relative
Emulation Configuration
Print Format
Forms Width
361
Appendix A Printer–Specific Migration Information
Interface Selection
Parallel Interface
Interface Type
PC Parallel / Dataproducts
Data Bit 8
PI Ignored
PC Parallel / Dataproducts
Data Polarity
PC Parallel
Response Polarity
Dataproducts
Data Request Polarity
PC Parallel
Busy On Strobe
PC Parallel / Dataproducts
Strobe Polarity
PC Parallel
Latch Data On
362
Migrating From P4280 And P9212 ASCII Printers
Interface Selection
Serial Interface
Interface Type
Data Protocol
Data Bits
Stop Bit
Parity
Request To Send
363
Appendix A Printer–Specific Migration Information
PRINT STATISTICS
CONFIGURATION
Form Length Set Emulation Configuration
Print Format
Forms Length
Print Format
Print Format
Print Quality
RIBBON LIFE
364
Migrating from P9012 ASCII Printers
Character Sets
Print Language
Print Language
Multinational
APPLICATION COMPATIBILITY
PC Parallel
Alarm Control
365
Appendix A Printer–Specific Migration Information
Shuttle Timeout
Print Direction
P–Series Emulation
Select SFCC
80–9F Hex Emulation Configuration
P–Series Emulation
P–Series XQ Emulation
P–Series Emulation
Control Code 08
Overstrike
Display Language
366
Migrating from P9012 ASCII Printers
PAPER FORMAT
Auto Line Feed Emulation Configuration
P–Series Emulation
P–Series XQ Emulation
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Define CR Code
P–Series Emulation
P–Series XQ Emulation
EVFU Selected
Perforation Skip
367
Appendix A Printer–Specific Migration Information
Print Format
Forms Width
Printer Control
Interface Selection
Parallel Interface
Interface Type
Data Bit 8 Parallel Interface
PC Parallel / Dataproducts
Data Bit 8
Dataproducts
PI Ignored
PC Parallel / Dataproducts
Data Polarity
Resp. Polarity Parallel Interface
PC Parallel
Response Polarity
Dataproducts
Busy On Strobe
PC Parallel / Dataproducts
Strobe Polarity
368
Migrating from P9012 ASCII Printers
Latch Data On
Interface Selection
Serial Interface
Interface Type
Data Protocol Serial Interface
Data Protocol
Baud Rate
Data Bits
Stop Bits
Parity
Request To Send
369
Appendix A Printer–Specific Migration Information
Forms Length
Print Format
Print Quality
Character Sets
Select Subset Emulation Configuration
Print Language
370
Migrating From P3000 ASCII Printers
Print Language
APPLICATION COMPATIBILITY
Epson Emulation
Printer Select
Alarm Control
Print Direction
P–Series Emulation
Select SFCC
80–9F Hex Emulation Configuration
371
Appendix A Printer–Specific Migration Information
P–Series Emulation
Control Code 08
Overstrike
P–Series XQ Emulation
PAPER FORMAT
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Auto LF
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Define CR Code
372
Migrating From P3000 ASCII Printers
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Define LF Code
VFU Select Emulation Configuration
P–Series Emulation
P–Series XQ Emulation
EVFU Selected
Print Format
Perforation Skip
Print Format
Forms Width
Interface Selection
Parallel Interface
Interface Type
PC Parallel / Dataproducts
373
Appendix A Printer–Specific Migration Information
Data Bit 8
PC Parallel / Dataproducts
Data Polarity
PC Parallel
Response Polarity
Dataproducts
Data Request Polarity
Dataproducts
PI Ignored
PC Parallel / Dataproducts
Strobe Polarity
PC Parallel
Latch Data On
Printer Control
Interface Selection
Serial Interface
Interface Type
Data Protocol Serial Interface
Data Protocol
Baud Rate
Data Bits
374
Migrating From P6000 ASCII Printers
Parity
Bit 8 Function N/A
DSR N/A
Request To Send
375
Appendix A Printer–Specific Migration Information
APPLICATION PARAMETERS
Forms Length
Print Format
Print Quality
Print Format
Character Sets
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
376
Migrating From P6000 ASCII Printers
Table 78. P6x40/P6x80 (Level One Firmware) to 6500-v Conversion Table (continued)
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Serial Matrix Emulation
Define LF Code
P–Series XQ Emulation
P–Series Emulation
P–Series XQ Emulation
EVFU Selected
Power On State
Underline N/A
Print Format
Perforation Skip
377
Appendix A Printer–Specific Migration Information
Table 78. P6x40/P6x80 (Level One Firmware) to 6500-v Conversion Table (continued)
INTERFACE PARAMETERS
Printer Emulation Configuration
P–Series Emulation
Select SFCC
PC Parallel / Dataproducts
Data Bit 8
PI Ignored
PC Parallel
Busy On Strobe
PC Parallel
Serial Interface
Buffer Size in Kilobytes
Interface Selection
Parallel Interface
Interface Type
Dataproducts
378
Migrating From P6000 ASCII Printers
Table 78. P6x40/P6x80 (Level One Firmware) to 6500-v Conversion Table (continued)
Strobe Polarity
E49–E50 Data Latch Edge Parallel Interface
Select
Data Protocol
Data Bits
Parity
Request To Send
Stop Bits
Interface Selection
Serial Interface
Interface Type
379
Appendix A Printer–Specific Migration Information
Print Format
Forms Length
Print Format
Print Format
Print Quality
Character Sets
RIBBON LIFE
Enable/Disable N/A
PRINT STATISTICS
APPLICATION COMPATIBILITY
380
Migrating From P6000 ASCII Printers
Table 79. P6x40/P6x80 (Level Two Firmware) to 6500-v Conversion Table (continued)
P–Series XQ Emulation
Epson Emulation
Printer Select
Power On State
Print Direction
PAPER FORMAT
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Auto LF
Define CR Code Emulation Configuration
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
381
Appendix A Printer–Specific Migration Information
Table 79. P6x40/P6x80 (Level Two Firmware) to 6500-v Conversion Table (continued)
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Define LF Code
P–Series Emulation
P–Series XQ Emulation
EVFU Selected
Print Format
Perforation Skip
Slew Relative
Interface Selection
Parallel Interface
382
Migrating From P6000 ASCII Printers
Table 79. P6x40/P6x80 (Level Two Firmware) to 6500-v Conversion Table (continued)
Interface Type
Data Bit 8 Parallel Interface
PC Parallel / Dataproducts
Data Bit 8
Data Polarity Parallel Interface
PC Parallel / Dataproducts
Data Polarity
PC Parallel
Response Polarity
Dataproducts
PC Parallel
Busy On Strobe
Dataproducts
PI Ignored
Printer Control
Interface Selection
Serial Interface
Interface Type
Data Protocol Serial Interface
Data Protocol
Baud Rate
Data Bits
383
Appendix A Printer–Specific Migration Information
Table 79. P6x40/P6x80 (Level Two Firmware) to 6500-v Conversion Table (continued)
Parity
Request To Send
384
Migrating From MVP–Series ASCII Printers
MVP–150/MVP–L150
IBM 6500-v Menu Option
Menu Option
P–Series Emulation
P–Series XQ Emulation
Serial Matrix Emulation
Auto LF
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Define CR Code
P–Series XQ Emulation
P–Series XQ Emulation
Slew Relative
385
Appendix A Printer–Specific Migration Information
MVP–150/MVP–L150
IBM 6500-v Menu Option
Menu Option
Print Quality
P–Series Emulation
Control Code 06
Control Code 08
Select SFCC
P–Series XQ Emulation
Control Code 06
Elong/Alt. Font
Serial Matrix Emulation
Control Code 06
P–Series Emulation
EVFU Selected
43.x–Plotting Exit N/A
Print Format
386
Migrating From MVP–Series ASCII Printers
MVP–150/MVP–L150
IBM 6500-v Menu Option
Menu Option
Perforation Skip
51.x–Lines Per Inch Emulation Configuration
Print Format
Forms Length
PC Parallel / Dataproducts
Data Bit 8
Dataproducts
PI Ignored
PC Parallel / Dataproducts
Strobe Polarity
Polarity PC Parallel
Data Polarity
Response Polarity
Dataproducts
Data Polarity
Data Request Polarity
Busy On Strobe
387
Appendix A Printer–Specific Migration Information
MVP–150/MVP–L150
IBM 6500-v Menu Option
Menu Option
Parallel Interface
Interface Type
Data Protocol
71.x–Serial Data Transfer Serial Interface
And Baud Rate
Baud Rate
Stop Bits
72.x–Data Word Description Serial Interface
Data Bits
Parity
Request To Send
75.x–Clear To Send (CTS) N/A
And Carrier Detect (CD)
Protocol
388
Migrating From MVP–Series ASCII Printers
MVP–150/MVP–L150
IBM 6500-v Menu Option
Menu Option
MVP-150B/MVP-L150B
IBM 6500-v Menu Option
Menu Option
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
Epson Emulation
P–Series Emulation
P–Series XQ Emulation
389
Appendix A Printer–Specific Migration Information
MVP-150B/MVP-L150B
IBM 6500-v Menu Option
Menu Option
Define CR Code
24.x–Inhibit Underlines & N/A
Lowercase
P–Series XQ Emulation
Upper Case Select
Slew Relative
Print Format
Print Attributes
Slashed Zero
390
Migrating From MVP–Series ASCII Printers
MVP-150B/MVP-L150B
IBM 6500-v Menu Option
Menu Option
EVFU Selected
P–Series Emulation
EVFU Selected
45.x–Mode 4 N/A
P–Series Emulation
Select SFCC
Print Format
391
Appendix A Printer–Specific Migration Information
MVP-150B/MVP-L150B
IBM 6500-v Menu Option
Menu Option
Perforation Skip
51.x–Lines Per Inch Emulation Configuration
Print Format
Forms Length
Print Format
Forms Width
Printer Select
59.x–150B / L150B Select N/A
PC Parallel / Dataproducts
Data Bit 8
Dataproducts
PI Ignored
PC Parallel / Dataproducts
392
Migrating From P300/P600 ASCII Printers
MVP-150B/MVP-L150B
IBM 6500-v Menu Option
Menu Option
Strobe Polarity
63.x–Data / Response Line Parallel Interface
Polarity
PC Parallel
Data Polarity
Response Polarity
Dataproducts
Data Polarity
PC Parallel
Busy On Strobe
Interface Selection
Parallel Interface
Interface Type
393
Appendix A Printer–Specific Migration Information
394
Migrating From P300/P600 ASCII Printers
^M
The following chart may be used to determine the character sets that are installed in a
P300/P600/XQ printer.^M
^M
Bit 8 must be enabled in order to print both the Primary and Extended Fonts. If bit 8 is
disabled, the upper columns (A0–FFH) will be a duplicate of the data that is in the lower
columns. If the upper columns are blank, there is no Extended Font set installed in the
printer.^M
^M
^M
ASCII HEX Char. ASCII HEX Char. ASCII HEX Char. ASCII HEX Char.^M
33 21 ! 88 58 X 143 8f 198 c6 Æ ^M
34 22 ” 89 59 Y 144 90 199 c7 Ç ^M
35 23 # 90 5a Z 145 91 200 c8 È ^M
36 24 $ 91 5b [ 146 92 201 c9 É ^M
37 25 % 92 5c \ 147 93 202 ca Ê ^M
38 26 & 93 5d ] 148 94 203 cb Ë ^M
39 27 ’ 94 5e ^ 149 95 204 cc Ì ^M
40 28 ( 95 5f _ 150 96 205 cd Í ^M
41 29 ) 96 60 ‘ 151 97 206 ce Î ^M
42 2a * 97 61 a 152 98 207 cf Ï ^M
43 2b + 98 62 b 153 99 208 d0 Ð ^M
44 2c , 99 63 c 154 9a 209 d1 Ñ ^M
45 2d – 100 64 d 155 9b 210 d2 Ò ^M
395
Appendix A Printer–Specific Migration Information
396
Migrating From P300/P600 ASCII Printers
397
Appendix A Printer–Specific Migration Information
^NABCDEFGHIJKLMNOPQRSTUVWXYZ^M
If the previous line was not the standard alphabet (or the line^M
is blank) then Code 0E is the Shift Out code^M
^NABCDEFGHIJKLMNOPQRSTUVWXYZ^M
If the previous line was not the standard alphabet (or the line^M
is blank) then Code 08 is the Shift Out code^M
^M
^M
LINE SPACING JUMPER^M
Line Spacing Test Mode 1^M
Line Spacing Test Mode 1^M
Line Spacing Test Mode 1^M
Line Spacing Test Mode 1^M
Line Spacing Test Mode 1^M
Line Spacing Test Mode 1^M
^FLine Spacing Test Mode 2^M
^FLine Spacing Test Mode 2^M
^FLine Spacing Test Mode 2^M
^FLine Spacing Test Mode 2^M
^FLine Spacing Test Mode 2^M
^FLine Spacing Test Mode 2^M
^M
If the Lines in Mode 1 are at 6 LPI and the lines in Mode 2 are at 8 LPI^M
then 6 LPI is the default and 8 LPI is the alternate^M
If the Lines in Mode 1 are at 6 LPI and the lines in Mode 2 are at 9 LPI^M
then 6 LPI is the default and 9 LPI is the alternate^M
If the Lines in Mode 1 are at 6 LPI and the lines in Mode 2 are at 10 LPI^M
then 6 LPI is the default and 10 LPI is the alternate^M
If the Lines in Mode 1 and the lines in Mode 2 are both at 8 LPI^M
then 8 LPI ONLY is enabled^M
If the Lines in Mode 1 and the lines in Mode 2 are both at 9 LPI^M
then 9 LPI ONLY is enabled^M
If the Lines in Mode 1 and the lines in Mode 2 are both at 10 LPI^M
then 10 LPI ONLY is enabled^M
PRINT LOWERCASE AS UPPERCASE JUMPER^M
abcdefghijklmnopqrstuvwxyz^M
If the previous line was printed as all UPPERCASE characters then^M
Uppercase ONLY is selected.^M
^M
^M
EVFU ENABLE / DISABLE JUMPER^M
If this line is not split ^Uthen the EVFU is disabled.^M
If this line is split ^Uthen the EVFU is enabled.^M
^LALTERNATE FORMS LENGTH JUMPER^M
Measure the distance from the Alternate Forms Length Jumper header to^M
the next measure line.^M
^LMeasure to here.^M
398
Migrating From P300/P600 ASCII Printers
399
Appendix A Printer–Specific Migration Information
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
400
Migrating From P300/P600 ASCII Printers
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXX
^M
Check for any blank space between the lines of ”X’s”.^M
Measure any blank space. This is the Skip Over Perf. distance^M
UNDERLINE JUMPER^M
Is this underlined?^M__ ____ ___________^M
If the line above is underlined, the underline jumper is not installed^M
If the line above is blank, the underline jumper is installed^M
401
Appendix A Printer–Specific Migration Information
^M
^M
MOD PLOT JUMPER^M
^E?????????????????????????????????????^M
^E?????????????????????????????????????^M
^E?????????????????????????????????????^M
AND SOME MORE TEXT – IS IT ALL THERE?^M
If the line of text above is complete, then the ’Mod Plot’ jumper is installed.^M
If the line of text above has the first three dot rows ’over–printed’ by the^M
plot data, then the ’Mod Plot’jumper is not installed.^M
^M
^M
^M
End of program^M
^M
^M
^M
P300/600 JUMPER CONFIGURATION VERIFICATION TEST DISK, PN 141997, v1.00A^M
COPYRIGHT 1995 PRINTRONIX, INC.^M
^M
^L^L^Z
P300/P600 Configuration
IBM 6500-v Menu Option
Option
P–Series XQ Emulation
402
Migrating From P300/P600 ASCII Printers
P300/P600 Configuration
IBM 6500-v Menu Option
Option
Print Quality
P–Series XQ Emulation
Auto LF
CR = CR + LF Emulation Configuration
P–Series XQ Emulation
Define CR Code
EVFU Selected
Print Format
Interface Selection
Parallel Interface
Interface Type
PC Parallel / Dataproducts
Data Polarity
Response Polarity
403
Appendix A Printer–Specific Migration Information
P300/P600 Configuration
IBM 6500-v Menu Option
Option
Strobe Polarity
PC Parallel / Dataproducts
Data Bit 8
Dataproducts
PI Ignored
Slew Relative
Print Format
Perforation Skip
Alternate Forms Length Emulation Configuration
Select (12”)
Print Format
Forms Length
404
Migrating From P300/P600 ASCII Printers
P300/P600 Configuration
IBM 6500-v Menu Option
Option
P–Series XQ Emulation
Elong/Alt. Font
P–Series XQ Emulation
Compressed Print
P–Series XQ Emulation
405
Appendix A Selecting A Communications Interface And Cables
406
Migrating From P300/P600 ASCII Printers
Troubleshooting
The following table describes selected print formatting / host interface
problems that may be encountered when initially configuring an IBM 6500-v
printer to match a preexisting product and the action(s) to be taken to resolve
the problem. The symptoms presented are generic in nature and are not
intended to represent all possible combinations of problems that may be
observed. They should be used as a general guide when troubleshooting the
host / printer configuration.
Symptom Action
Line Spacing does not match existing Under PRINT FORMAT check:
application file format
Lines Per Inch
Forms Width
Forms Length
Margins
Perforation Skip
CONFIGURATION check:
Define CR
Auto LF
Define LF
FF Valid At TOF
Control Code 06
EVFU Selected
Slew Relative
PI Ignored
Character font does not match existing Under PRINT FORMAT check:
application file format
Characters Per Inch
Print Quality
Italic Print
407
Appendix A Troubleshooting
Table 83. Symptom / Action Table for IBM 6500-v Printer (continued)
Symptom Action
Compressed Print
Elong/Alt Font
Print Language
Character Sets
Upper Case Select
Control Code 08
20 CPI Condensed
Data Bit 8
Data Bits
Emulation
Select SFCC
Control Code 08
Elong/Alt Font
Overstrike
Forms Width
Forms Length
408
Migrating From P300/P600 ASCII Printers
Table 83. Symptom / Action Table for IBM 6500-v Printer (continued)
Symptom Action
Proportional Spacing
Margins
Perforation Skip
Data Protocol
Response Polarity
Busy On Strobe
Prime Signal
Data Polarity
Baud Rate
Data Bits
Stop Bits
Parity
Data Protocol
Data Terminal Ready
Request To Send
Host interface not communicating with printer Under PARALLEL INTERFACE check:
Interface Type
Strobe Polarity
Response Polarity
409
Appendix A Contacting IBM Technical Support
Table 83. Symptom / Action Table for IBM 6500-v Printer (continued)
Symptom Action
Interface Type
Interface Selection
I/O Cabling
410
B Attaching Host Systems To
An ASCII Printer
Overview
This section provides guidelines for preparing host computers with several
different operating systems for use with your IBM 6500-v ASCII printer. Before
you can send data files to an ASCII printer from a host computer, cabling
must be installed to attach the host to the printer; in addition, the printer and
the host must be configured for compatible emulations and host interface
(port) parameters. For the AIX* host operating system, additional operating
system configuration procedures must be completed.
You may need to change your printer configuration in order to ensure
compatibility with your host computer. For tutorial information on configuring
your printer using the configuration menus and LCD display, refer to the IBM
Infoprint 6500 Line Matrix Printer User’s Manual.
411
Appendix B Attaching A DOS Workstation
4. Select a print driver. DOS (Version 3.3 or later) does not provide print
drivers. You will need to select a print driver from the application software
you will be using to send data files to the printer.
412
b. Serial port. Use the MODE command to select values for the
following serial interface parameters (and verify that the same values
are selected from the printer Serial Interface menu):
Baud rate should be one of the following values: 300, 600, 1200,
2400, 4800, 9600, or 19200. If your version of DOS and your
workstation support a higher baud rate, you can select up to 115,200.
Data bits must be either 8 or 7.
Stop bits must be either 1 or 2. Do not use the stop bit of 1.5.
Parity must be one of these values: none, odd, even, or mark. Do not
use the sense parity value.
Retry specifies the retry action. Choose any of these options:
e - return an error from a status check of a busy port.
b - return busy from a status check of a busy port.
o - continue retrying until printer accepts output.
r - return ready from a status check of a busy port.
n - take no retry action. (Also can specify none.)
413
Appendix B Attaching A Windows Workstation
d. Follow the Add Printer Wizard and choose a printer from the
Manufacturers and Printers panes.
Choose either IBM and Proprinter XL III or Epson and FX–1050.
NOTE: The print driver you select in Windows must be the same as the
emulation selected for your printer from the ASCII Printer Emulation
menu. You may need to change your printer configuration.
e. Finish installing the print driver.
5. If you have selected a serial communications port, right-click the new
printer icon and select Properties.
Select the Ports tab and click Configure Port. Choose the following
values for the serial interface Port Settings.
NOTE: Verify that the values you select match the values you have selected
from your IBM printer Serial Interface menu. You may need to change
your printer configuration in order to match the Windows workstation
configuration.
• Bits per second (baud rate) should be one of these values: 300, 1200,
2400, 4800, 9600, or 19200. Please note that Windows does not offer
150 baud rate as an option but instead offers 110. Do not set the
printer baud rate to 150 and do not set the Windows baud rate to 110.
If your version of Windows and your workstation support higher baud
rates, you can select up to 115200.
• Data bits must be either 8 or 7.
• Parity must be set to one of these values: None, Even, Odd, and
Mark. Do not use the Space value.
• Stop bits must be either 1 or 2. Do not use the 1.5 value.
• Flow control must be Xon / Xoff. Do not use the Hardware or None
values.
414
Attaching An AIX Workstation
This section provides a description of the 6500-v printer drivers and colon files
(virtual printers) for AIX. You can also this information as a guide for installing
this printer on a UNIX** workstation.
NOTE: UNIX operating systems do not provide the AIX System Management
Integration Tool (SMIT). So for examples where SMIT is used, please
refer to your UNIX documentation for the equivalent UNIX command.
This also applies if you do not use SMIT on AIX; you can use the
equivalent AIX command instead.
IMPORTANT The 6500-v printers are supported on AIX operating system version 3.2.5
or later by printer colon files. These printer colon files are available on a
print driver diskette or may be included in the operator system. If the
print driver diskette was not shipped with your printer or the printer
colon files are not a part of the base operator system, contact your IBM
Authorized Remarketeer or IBM Marketing Representative.
NOTE: The print driver diskette includes a readme file that you should
review. The readme file contains additional information not provided
in this document.
The files are currently delivered on a DOS formatted diskette with two files.
The first file is 65XX-i.readme, which contains this information. The second
file is 65XX-i.tar, which contains all the drivers and additional information files.
To read the diskette from AIX, change your directory to where you want to
copy the files, then issue the following commands:
dosread -a 65XX-i.readme 65XX-i.readme
dosread 65XX-i.tar 65XX-i.tar
Unpack the tar file with the following command
# tar -xvf 65XX-i.tar
The installation commands must be run as super user (root). To install the
65XX-i driver, type:
# add_65XX-i
This places the colon files in /usr/lib/lpd/pio/predef, and adds the device to the
Object Database Manager database.
When these colon files have been installed, you will be able to add a 6500-v
printer as a printer device, and add virtual printers as a 6500-v in three
emulation modes; IBM Proprinter III XL, Epson FX–1050, and Printronix
P–Series. You cannot automatically switch between emulations, so the
emulation mode you choose must match what you selected on the printer
operator panel under ASCII Printer Emulation. For instance, if you chose IBM
Proprinter III XL, then you must attach this printer to your AIX workstation as
an IBM Proprinter III XL.
415
Appendix B Attaching An AIX Workstation
416
Adding A Virtual Printer To AIX
h. BITS per character is the same as Data Bits. The default is 8. Your
choices are 7 or 8. Select a BITS per character value that matches
your printer setting for Data Bits in the Serial Interface menu. (Do not
set/use the AIX options of BITS per character of 5 or 6 as these are
not supported by the printer.)
i. STOP BITS. The default is 1. You can select 1 or 2. Select a value for
STOP BITS that matches your printer setting for STOP BITS in the
Serial Interface menu.
j. XON-XOFF handshaking. The default is Yes. Xon/Xoff is always on,
so you do not have to set any parameters on the printer serial
interface menu.
k. Sticky XON/XOFF flow control. The default is No. Use this default.
l. Use DTR Communication protocol is the same as Data Terminal
Ready. The default is yes. Select a DTR communication protocol
setting that matches your printer setting for Data Terminal Ready
(Yes=True and No=false).
m. TRANSMIT buffer count. The default is 64. Use the default value.
n. Printer TIME OUT period. The default is 60. Use the default value.
9. After you have completed selecting values for the Add a Printer/Plotter
panel, press Enter or select Do to save your changes. Your printer has
now been added to the AIX operating system.
10. To test if your printer is properly attached, at the command line, type:
cat /etc/qconfig > /dev/lpnn, where lpnn is the printer device number
assigned to the printer, such as s1, which would be entered as lps1. This
should print out the contents of the /etc/qconfig file.
417
Appendix B Attaching An AIX Workstation
6. Make a selection from the following list, that begins Select Printer or
Plotter Attached to Host. If you attached this printer to an Xstation or
some other LAN connection, select the appropriate option.
Printer or Plotter Attached to Host
Printer or Plotter Attached to Xstation
Printer or Plotter Attached to ASCII Terminal
Network Printer (Hewlett-Packard** JetDirect**)
Printer or Plotter Attached to IBM 4033 LAN Connection
Printer Attached to IBM Integrated Network Option
Network Printer (Hewlett-Packard JetDirect)
7. For device name, select lp0 (match number of printer added).
8. For header pages, choose from these three options: none, each file, or
each job.
9. For trailer pages, choose form these three options: none, each file, or
each job.
10. Press the Enter key. The following menu selections will be displayed.
Since the 65XX-i printer supports multiple data streams, a print queue will
be created for each data stream. This enables you to send print jobs to a
print queue that supports the printer you are emulating, such as a
Proprinter or Epson.
418
Printing To An AIX Attached Printer
12 Pitch -p12
17 Pitch -k+
20 Pitch -W+
419
Appendix B Attaching An AIX Workstation
The default page width is 136 characters and the default page length is 66
lines. The page width and length adjust automatically with the different pitches
and line densities. For example:
• Page width is 163 characters at pitch 12.
• Page width is 231 characters at a pitch of 17.
• Page width is 272 characters at a pitch of 20.
• Page length is 88 lines at 8 lines per inch.
For additional printer flags, review the qprt command. You can view more
information on the qprt command by typing man qprt from an AIX command
line.
420
Printing To An AIX Attached Printer
Some of the most commonly used qprt print command flags for the Epson
emulation are shown in Table 85.
12 Pitch -p12
17 Pitch -p17
20 Pitch -W+
-w136 Default
The default page width is 136 characters, and the default page length is 66
lines. The page width and length adjust automatically with the different pitch
and line density. For example:
• Page width is 163 characters at pitch 12.
• Page width is 204 characters at a pitch of 15.
• Page width is 231 characters at a pitch of 17.
• Page width is 272 characters at a pitch of 20.
• Page length is 88 lines at 8 lines per inch.
421
Appendix B Attaching An AIX Workstation
For additional printer flags, review the qprt command. You can view more
information on the qprt command by typing man qprt from an AIX command
line.
12 Pitch -p12
13 Pitch -p13
15 Pitch -p15
17 Pitch -p17
20 Pitch -W+
422
Printing To An AIX Attached Printer
The default page width is 136 characters, and the default page length is 66
lines. The page width and length adjust automatically with the different pitch
and line density. For example:
• Page width is 163 characters at pitch 12.
• Page width is 176 characters at pitch 13.
• Page width is 204 characters at pitch 15.
• Page width is 233 characters at a pitch of 17.
• Page width is 260 characters at a pitch of 20.
• Page length is 88 lines at 8 lines per inch.
Refer to “IBM Proprinter III XL Emulation” in this book for more information.
For additional printer flags, review the qprt command. You can view more
information on the qprt command by typing man qprt from an AIX command
line. You can also obtain information from InfoExplorer.
The code page translation steps are normally done with attributes t0, t1, t2, t3
which point to the code pages, ant c1, c2, c3, c4....which contain the
commands to send to the printer to select a code page. In this virtual printer,
the character set is based on the “ESC l xyz” P–Series Character Set Select
command with the IBM PC character set and English (ASCII USA) language
selected.
To choose another symbol set, use the AIX (UNIX) lsvirprt command to edit
the virtual printer and change the et attribute. The values you may specify are
a subset of the values for the P-Series Character Set Select command
described in Table 28, Table 29, and Table 30 (see page 154). The defined
values you may select for x, y, and z are as follows:
0 IBM PC
1 Multinational
2 ECMA 94 Latin 1
3 DEC Multinational
423
Appendix B Attaching An iSeries ASCII Workstation Controller
1 Mult. NLQ 10 cpi Mult. NLQ 10 cpi Mult. NLQ 10 cpi Mult. NLQ 10 cpi
Host-Directed Printing
The workstation controller enables support for ASCII printers to emulate an
IBM 5224 printer. The ASCII printer appears to the iSeries as a twinaxial
printer. For detailed information, read IBM iSeries Printing III, GC24-4028.
NOTE: When selecting an ASCII printer from an iSeries, make sure you
select either an IBM Proprinter III XL or Epson FX–1050 printer, as
this printer provides emulation support for the IBM 65XX-i printers.
424
Host Print Transform
425
Appendix B Attaching An iSeries ASCII Workstation Controller
426
C PTR_SETUP Option
Overview
The PTR_SETUP commands are a superset of commands which allows the
printer to perform several tasks by parsing commands either stored in flash
memory or sent to the printer by the host. Commands range from re-routing
debug statements to downloading complete printer configurations.
427
Appendix C The PTR_SETUP Commands
Commands
This section describes the existing PTR_SETUP commands and provides a
general description of how commands are formed.
Each emulation has modes in which the PTR_SETUP commands could get
missed. For this reason, it is highly recommended that all PTR_SETUP
commands be placed between print jobs, rather than attempting to imbed
them within jobs.
PTR_SETUP commands have the following format:
(SFCC)PTR_SETUP
Command–Sub Command;Value
PTR_END
For example, if the SFCC assigned to the emulation you are using is the caret
(^, hex 5E), and you wanted to load configuration number 4 and capture all
incoming data to a file named “BIN”, you would use the following command:
^PTR_SETUP
CONFIG–LOAD;4 FILE_IO–CAPTURE;BIN
PTR_END
Table 90 lists all the command, sub-command, and parameter combinations
and gives a brief description of the command.
NOTE: When a file system error occurs, a message will be displayed on the
front panel indicating the error, and the action needed to take to
correct the error.
428
Commands
429
Appendix C The PTR_SETUP Commands
430
Commands
431
Appendix C The PTR_SETUP Commands
432
D ASCII Character Set
B7 0
B6 0
B5 1
BITS
KEY B4 B3 B2 B1
33 OCTAL equivalent
1 0 1 1 ESC 27 DECIMAL equivalent
1B HEX equivalent
ASCII Character Name
B7 0 0 0 0 1 1 1 1
B6 0 0 1 1 0 0 1 1
B5 0 1 0 1 0 1 0 1
BITS COLUMN
B4 B3 B2 B1 ROW 0 1 2 3 4 5 6 7
0 20 40 60 100 120 140 160
0 0 0 0 0 NUL 0 DLE 16 SP 32 0 48 @ 64 P 80 96 p 112
0 10 20 30 40 50 60 70
1 21 41 61 101 121 141 161
0 0 0 1 1 SOH 1
DC1 17
! 33
1 49
A 65
Q 81
a 97
q 113
(XON)
1 11 21 31 41 51 61 71
2 22 42 62 102 122 142 162
0 0 1 0 2 STX 2 DC2 18 " 34 2 50 B 66 R 82 b 98 r 114
2 12 22 32 42 52 62 72
3 23 43 63 103 123 143 163
0 0 1 1 3 ETX 3
DC3 19 # 35 3 51 C 67 S 83 c 99 s 115
(XOFF)
3 13 23 33 43 53 63 73
4 24 44 64 104 124 144 164
0 1 0 0 4 EOT 4 DC4 20 $ 36 4 52 D 68 T 84 d 100 t 116
4 14 24 34 44 54 64 74
5 25 45 65 105 125 145 165
0 1 0 1 5 ENQ 5 NAK 21 % 37 5 53 E 69 U 85 e 101 u 117
5 15 25 35 45 55 65 75
6 26 46 66 106 126 146 166
0 1 1 0 6 ACK 6 SYN 22 & 38 6 54 F 70 V 86 f 102 v 118
6 16 26 36 46 56 66 76
7 27 47 67 107 127 147 167
0 1 1 1 7 BEL 7 ETB 23 ' 39 7 55 G 71 W 87 g 103 w 119
7 17 27 37 47 57 67 77
10 30 50 70 110 130 150 170
1 0 0 0 8 BS 8 CAN 24 ( 40 8 56 H 72 X 88 h 104 x 120
8 18 28 38 48 58 68 78
11 31 51 71 111 131 151 171
1 0 0 1 9 HT 9 EM 25 ) 41 9 57 I 73 Y 89 i 105 y 121
9 19 29 39 49 59 69 79
12 32 52 72 112 132 152 172
1 0 1 0 10 LF 10
0A
SUB 26
1A
* 42
2A
: 58
3A
J 74
4A
Z 90
5A
j 106
6A
z 122
7A
13 33 53 73 113 133 153 173
1 0 1 1 11 VT 11 ESC 27 + 43 ; 59 K 75 [ 91 k 107 { 123
0B 1B 2B 3B 4B 5B 6B 7B
14 34 54 74 114 134 154 174
1 1 0 0 12 FF 12 FS 28 44 < 60 L 76 \ 92 l 108 | 124
0C 1C , 2C 3C 4C 5C 6C 7C
15 35 55 75 115 135 155 175
1 1 0 1
13 CR 13 GS 29 - 45 = 61 M 77 ] 93 m 109 } 125
0D 1D 2D 3D 4D 5D 6D 7D
16 36 56 76 116 136 156 176
1 1 1 0 14 SO 14 RS 30 . 46 > 62 N 78 ^ 94 n 110 ~ 126
0E 1E 2E 3E 4E 5E 6E 7E
17 37 57 77 117 137 157 177
1 1 1 1 15 SI 15 US 31 / 47 ? 63 O 79 _ 95 o 111 DEL 127
0F 1F 2F 3F 4F 5F 6F 7F
433
Appendix D
434
E Proprinter III XL
Character Sets
Overview
This appendix shows the character set charts (also referred to as code pages)
for the Proprinter III XL emulation. The character sets shown in this appendix
may be selected using the configuration menus, described in detail in
Chapter 4 of the User’s Manual.
Each Proprinter III XL character set is shown printed in NLQ. The following
modes can be selected from the operator panel:
• NLQ Serif (also called simply NLQ)
• NLQ Sans Serif (selected from operator panel or via ESC I)
• Draft 12 CPI (default draft mode for most CPI settings)
• Draft 10 CPI (for some character sets, additional characters
will print at 10 CPI and 5 CPI only)
DP mode is not shown in this appendix, because the set of characters that
print in DP mode always matches the characters that print in NLQ (Serif
quality).
The maximum set of printable symbols is shown for columns 80-9F (selected
via the ESC 6 control code). For code pages 0437 and 0850, the Print All
Characters (ESC \) control code has been used to show a full set of printable
symbols for columns 00-1F.
435
Appendix E Overview
436
0737 GREEK
0737 GREEK
437
Appendix E Overview
0813 GREEK
438
0819 ISO/ANSI MULTILINGUAL
439
Appendix E Overview
0850 PC MULTILINGUAL
440
0851 GREEK OLD
441
Appendix E Overview
442
0853 LATIN 3 PC
0853 LATIN 3 PC
443
Appendix E Overview
0855 CYRILLIC
444
0857 TURKISH
0857 TURKISH
445
Appendix E Overview
446
0860 PORTUGUESE
0860 PORTUGUESE
447
Appendix E Overview
0861 ICELANDIC
448
0862 HEBREW
0862 HEBREW
449
Appendix E Overview
450
0864 ARABIC
0864 ARABIC
451
Appendix E Overview
0865 DANISH/NORWEGIAN
452
0866 CYRILLIC
0866 CYRILLIC
453
Appendix E Overview
454
0874 THAI
0874 THAI
455
Appendix
0876 OCR A
456
0877 OCR B
0877 OCR B
457
Appendix
458
0913 ISO LATIN 3
459
Appendix
460
0915 ISO CYRILLIC PC
461
Appendix
0916 HEBREW
462
0920 ISO LATIN 5 TURKISH
463
Appendix
464
0922 ESTONIAN
0922 ESTONIAN
465
Appendix
466
1006 ISO URDU
467
Appendix
468
1045 ARABIC EXTENDED
469
Appendix
470
1116 ESTONIAN
1116 ESTONIAN
471
Appendix
1117 LATVIAN
472
1118 LITHUANIAN
1118 LITHUANIAN
473
Appendix
1129 VIETNAMESE
474
1134 HEBREW OLD
475
Appendix
476
F Epson FX-1050 Emulation
Character Sets
Overview
This appendix shows the character set charts (also referred to as code pages)
for the Epson FX-1050 emulation. The character sets are shown printed in
Near Letter Quality (NLQ), although Draft and DP mode are also supported.
The character sets may be selected using the configuration menus, described
in detail in Chapter 4 of the User’s Manual. The international character sets
may be selected using the “ESC R n” control code (page 104). The maximum
set of printable symbols is shown for columns 80-9F (selected via the ESC I
or ESC 6 control code).
Table 20 on page 97 describes print mode support for each Epson FX-1050
character set. Most of the character sets are supported in NLQ, DP, and Draft
modes; the only exception to this is OCR A and OCR B, as described in the
table.
NOTE: In addition to the 14 Epson foreign language character sets shown on
page 519 through page 533, two additional sets of foreign language
character sets can be specified via the operator panel and/or control
codes.
The third set of foreign language character sets substitutes the IBM
Graphics Code Page 0437 characters (page 480) for positions hex
00-1F and 80 through 9F within each Epson language code page
(page 519 through page 533). You may select the third set by
selecting the Epson code page 0437 at the operator panel, then
entering an “ESC R” control code from an attached host.
477
Appendix F Overview
OCR A
478
OCR B
OCR B
479
Appendix F Overview
480
0737 GREEK
0737 GREEK
481
Appendix F Overview
0813 GREEK
482
0819 ISO/ANSI MULTILINGUAL
483
Appendix F Overview
0850 PC MULTILINGUAL
484
0851 GREEK OLD
485
Appendix F Overview
486
0853 LATIN 3 PC
0853 LATIN 3 PC
487
Appendix F Overview
0855 CYRILLIC
488
0857 TURKISH
0857 TURKISH
489
Appendix F Overview
490
0860 PORTUGUESE
0860 PORTUGUESE
491
Appendix F Overview
0861 ICELANDIC
492
0862 HEBREW
0862 HEBREW
493
Appendix F Overview
494
0864 ARABIC
0864 ARABIC
495
Appendix F Overview
0865 DANISH/NORWEGIAN
496
0866 CYRILLIC
0866 CYRILLIC
497
Appendix F Overview
498
0874 THAI
0874 THAI
499
Appendix F Overview
500
0913 ISO LATIN 3
501
Appendix F Overview
502
0915 ISO CYRILLIC PC
503
Appendix F Overview
0916 HEBREW
504
0920 ISO LATIN 5 TURKISH
505
Appendix
506
0922 ESTONIAN
0922 ESTONIAN
507
Appendix
508
1006 ISO URDU
509
Appendix
510
1046 ARABIC EXTENDED
511
Appendix
512
1098 FARSI 1285
513
Appendix
1116 ESTONIAN
514
1117 LATVIAN
1117 LATVIAN
515
Appendix
1118 LITHUANIAN
516
1129 VIETNAMESE
1129 VIETNAMESE
517
Appendix
518
EPSON SET, ASCII (USA)
519
Appendix
520
EPSON SET, GERMAN
521
Appendix
522
EPSON SET, DANISH I
523
Appendix
524
EPSON SET, ITALIAN
525
Appendix
526
EPSON SET, JAPANESE
527
Appendix
528
EPSON SET, DANISH II
529
Appendix
530
EPSON SET, LATIN AMERICAN I
531
Appendix
532
EPSON SET, LATIN AMERICAN II
533
Appendix
534
G P–Series And Serial
Matrix Character Sets
Overview
This appendix shows the character set charts (also referred to as code pages)
for the P-Series and Serial Matrix emulations. DP quality is also supported,
although not shown in this Appendix. The character sets may be selected
using the configuration menus, described in detail in Chapter 4 of the User’s
Manual. There are also several control codes that allow you to select different
character sets, described in Chapter 4 of this book. These include “SFCC l,”
“SFCC OSET,” and “SFCC PSET.”
The maximum set of printable symbols is shown for columns 80-9F (selected
via the ESC 6 control code).
Table 27 on page 146 describes print mode support for each P–Series
character set. Most of the character sets are supported in NLQ, DP, and Draft
modes; the few exceptions are described in the table.
NOTE: The 14 IBM PC Primary foreign language character sets shown on
page 536 through page 549 are based on the IBM PC 0437 character
set. A second set of 14 foreign language character sets can also be
specified that are based on the 0850 PC Multilingual Character Set
shown on page 551. You can select the 0850–based IBM PC sets
either via control codes or using the operator panel.
The “SFCC l xyz” control code allows you to specify the 0850 code
page by specifying z=1, x=0 (Table 30 on page 155), and selecting an
international language set using the y parameter (Table 29 on
page 154).
To select the 0850 language sets from the operator panel, choose the
following from the IBM PC submenu on the P-Series Print Language
menu (described in detail in Chapter 4 of the User’s Manual):
The resulting character sets will be based on the 0850 code page
shown on page 551, with foreign language characters substituted in
locations 23, 24, 40, 5B, 5C, 5D, 5E, 60, 7B, 7C, 7D, and 7E (these
characters are shown on page 536 through page 549).
535
Appendix G Overview
536
IBM PC, PRIMARY SUBSET: FRENCH
537
Appendix G Overview
538
IBM PC, PRIMARY SUBSET: ENGLISH (UK)
539
Appendix G Overview
540
IBM PC, PRIMARY SUBSET: SWEDISH
541
Appendix G Overview
542
IBM PC, PRIMARY SUBSET: SPANISH
543
Appendix G Overview
544
IBM PC, PRIMARY SUBSET: FRENCH CANADIAN
545
Appendix G Overview
546
IBM PC, PRMARY SUBSET: DANISH II
547
Appendix G Overview
548
IBM PC, PRIMARY SUBSET: LATIN AMERICAN II
549
Appendix G Overview
550
IBM PC, EXTENDED SUBSET:0850 PC MULTILIN-
551
Appendix G Overview
552
MULTINATIONAL, EBCDIC
MULTINATIONAL, EBCDIC
553
Appendix G Overview
554
ECMA LATIN 1, PRIMARY SUBSET: GERMAN
555
Appendix G Overview
556
ECMA LATIN 1, PRIMARY SUBSET: DANISH
557
Appendix G Overview
558
ECMA LATIN 1, PRIMARY SUBSET: FINNISH
559
Appendix G Overview
560
ECMA LATIN 1, PRIMARY SUBSET: DUTCH
561
Appendix
562
ECMA LATIN 1, PRIMARY SUBSET: SPANISH
563
Appendix
564
ECMA LATIN 1, PRIMARY SUBSET: TURKISH
565
Appendix
566
ECMA LATIN 1, EXTENDED SUBSET: MULTINA-
567
Appendix
568
ECMA LATIN 1, EXTENDED SUBSET: GREEK
569
Appendix
570
ECMA LATIN 1, EXTENDED SUBSET: SCIENTIFIC
571
Appendix
572
DEC MULTINATIONAL, FRENCH
573
Appendix
574
DEC MULTINATIONAL, ENGLISH (UK)
575
Appendix
576
DEC MULTINATIONAL, SWEDISH
577
Appendix
578
DEC MULTINATIONAL, SPANISH
579
Appendix
580
DEC MULTINATIONAL, FRENCH CANADIAN
581
Appendix
582
DEC MULTINATIONAL, FINNISH
583
Appendix
584
Glossary
active column The horizontal location on the paper where the next
character will print.
active line The vertical location on the paper where the next
character will print.
active position The position on the paper where the next character
will print. The intersection of the active column and
the active line.
ASCII Abbreviation for American Standard Code for
Information Interchange. A standard character
encoding scheme introduced in 1963 and used
widely on many computers and printers. It is a 7–bit
code with 128 different bit patterns. There is no parity
recommendation.
attributes, print Operations performed on text that alter its
appearance but do not change the font. Examples:
underlining, superscripting, bold, etc.
baud A unit of speed that measures the rate at which
information is transferred. Baud rate is the reciprocal
of the length in seconds of the shortest pulse used to
carry data. For example, a system in which the
shortest pulse is 1/1200 second operates at 1200
baud. On RS–232 serial lines, the baud rate equals
the data flow rate in bits per second (bps). To
communicate properly, a printer must be configured
to operate at the same baud rate as its host
computer.
bar code A printed code consisting of parallel bars of varied
width and spacing and designed to be read by a
one–dimensional scanning device.
bit Contraction of binary digit. A digit in the binary
number system, represented by a 0 or a 1. A bit is
the smallest unit of storage in a digital computer,
where 0 and 1 are represented by different voltages.
Groups of bits forms other units of storage called
nibbles, bytes, and words.
bold A print attribute specifying text of a heavy line
thickness. See also character weight.
buffer A reserved area in memory that data is written to and
read from during data transfers.
585
Appendix
586
Elite A name indicating a monospaced font with a pitch of
12 cpi (and usually 10 points in height).
em A unit of measure in typesetting: the width of a piece
of type about as wide as it is tall. (Derived from
uppercase M, usually the widest character in a set.)
emulation Refers to the ability of a printer to execute the
commands of another printer protocol. When used as
a proper noun (e.g., Proprinter III XL Emulation), it
means printer protocol.
en A unit of measure in typesetting equal to half the
width of an em.
enable To activate, make true (1), or set to on.
escape sequence A command sequence in which the first byte is
always the ASCII ESC character. Same as “escape
code.” See also command sequence, SFCC.
expanded A font enhancement referring to larger–than–normal
character width with no change in character height.
family (or type) A set of all variations and sizes of a type style.
fixed–pitch fonts See font, monospaced.
font The complete set of a given size of type, including
characters, symbols, figures, punctuation marks,
ligatures, signs, and accents. To fully describe a font,
you must specify seven characteristics:
1) typeface
5) type style
6) character weight
587
Appendix
588
NLQ Abbreviation for Near Letter Quality.
NVRAM Abbreviation for NonVolatile Random–Access
Memory. A type of RAM in which stored data are not
lost when the power is interrupted or turned off. A
battery supplies power to NVRAM when the system
does not. Unlike ROM (another type of nonvolatile
memory), NVRAM is accessible and its contents can
be altered.
OCR Abbreviation for Optical Character Recognition. A
process by which a machine can “read” characters
printed in a special standardized font. Data are read
by a photoelectric optical scanner and recorded on
magnetic tape or disk. OCR–A and OCR–B are two
widely used OCR fonts.
parity (check) Parity checking is the addition of non–data bits to
data, resulting in the number of 1 bits being either
always even or always odd. Parity is used to detect
transmission errors. Parity represents the value in
the check digit of the received or transmitted data.
PCBA Abbreviation for Printed Circuit Board Assembly.
pica A name indicating a monospaced font with a pitch of
10 cpi and usually a 12 point height. Pica is used in
typography as a unit of measurement equal to 1/6
inch.
pin configuration Establishes the physical attachment and protocol
conversion connections for the host interface.
pitch The number of text characters printed per horizontal
inch. Specified in characters per inch (cpi).
pixel Derived from picture element. The smallest
displayable picture element on a video monitor or
printable unit. In printing, a pixel is a dot.
point A unit of length in printing and typography, used to
specify type sizes, heights of font characters, etc.
There are 72 points in a vertical inch; thus, one point
equals 1/72 inch, or approximately 0.0138 inch.
Some examples of point sizes are: This is 8 point type.
This manual is printed in 10 point type. This is 14
point type.
port A channel used for receiving data from or
transmitting data to one or more external devices.
Postnet A bar code standard defined by the U. S. Postal
Service.
print mode Synonym for print attribute. Includes character
attributes such as italic, underlining, super/subscript,
as well as Draft, NLQ, and DP.
589
Appendix
590
SFCC Abbreviation for Special Function Control Character.
The first character in a printer command sequence.
In Proprinter III XL emulation mode, you can select
one of five characters as the SFCC. In Epson
emulation mode, the SFCC must always be the
ASCII escape character (ESC). See also command
sequence.
slewing Rapid vertical paper movement.
stop bits A signal indicating the end of a character or data
element.
string Two or more bytes of data or code treated as a unit.
symbol set See character set.
type style Refers to either the upright or italic character style in
a specific font family. Roman is upright, italic is
slanted.
typeface A descriptive name or brand name that identifies a
particular design of type. Also called type family.
type family See typeface.
typographic font See font, proportional.
VFU Abbreviation for Vertical Format Unit.
weight See character weight.
word 1. A storage unit consisting of the number of bits that
comprise one storage location in main memory.
591
Appendix
592
Index
593
0914 ISO Latin 4 1129 Vietnamese
Epson FX-1050, 502 Epson FX-1050, 517
Proprinter III XL, 460 Proprinter III XL, 474
0915 ISO Cyrillic PC 1134 Hebrew Old, Epson FX-1050, 518
Epson FX-1050, 503 1134 Old Hebrew, Proprinter III XL, 475
Proprinter III XL, 461 A
0916 Hebrew
Epson FX-1050, 504 AIX workstation attachment and configuration, 415
Proprinter III XL, 462 adding a virtual printer to AIX, 417
0920 ISO Latin 5 Turkish installing an AIX printer device, 416
Epson FX-1050, 505 printing to an AIX attached printer, 419
Proprinter III XL, 463 Alternate Character Set Deselect (SI), P-Series XQ
0921 ISO Baltic Multilingual emulation, 231
Epson FX-1050, 506 Alternate Character Set Deselect (SO), P-Series
Proprinter III XL, 464 XQ emulation, 231
0922 Estonian ASCII character set chart, 433
Epson FX-1050, 507 Attaching your printer to
Proprinter III XL, 465 AIX workstation, 415
0923 Latin 9 8859-15 DOS workstation, 411
Epson FX-1050, 508 host systems, 411
Proprinter III XL, 466 iSeries workstation, 424
1006 ISO Urdu Windows workstation, 413
Epson FX-1050, 509 Attribute Set and Reset codes
Proprinter III XL, 467 P-Series, 145
1008 ISO Arabic serial matrix, 185
Epson FX-1050, 510 B
Proprinter III XL, 468
Backspace (BS), 53
1045 Arabic Extended, Proprinter III XL, 469
P-Series emulation, 151
1046 Arabic Extended, Epson FX-1050, 511
Backspace (BS), Epson FX-1050, 102
1089 ISO Arabic, Epson FX-1050, 512
Backspace (BS), Serial matrix emulation, 190
1098 Farsi 1285 (PC), Proprinter III XL, 470
Bar Code
1098 Farsi 1285, Epson FX-1050, 513
Codabar, 252
1116 Estonian
Code 128, 265
Epson FX-1050, 514
Code 39, 257
Proprinter III XL, 471
Code 93, 259
1117 Latvian
EAN 13, 271
Epson FX-1050, 515
EAN 8, 270
Proprinter III XL, 472
FIM, 272
1118 Lithuanian
German I-2/5, 274
Epson FX-1050, 516
I-2/5, 274
Proprinter III XL, 473
Interleaved 2/5, 274
interleaved 2/5, 280
594
ITF-14, 274 Bold Print Reset (ESC H), Serial matrix
MSI, 281 emulation, 193
overview, 247 Bold Print Reset (SFCC H), P-Series
PDF-417, 286 emulation, 152
PostBar and Royal Mail (KIX), 292 Bold Print Set (ESC G), Serial matrix
POSTNET, 296 emulation, 193
Royal Mail, 298 Bold Printing Cancel ESC H, 58
syntax, 248 Bold Printing ESC G, 58
Telepen, 299 C
UCC/EAN-128, 305
UPC Shipping, 321 Cancel (CAN), 59
UPC-A, 317 Cancel (CAN), Serial matrix emulation, 194
UPC-E, 318 Cancel Line (CAN), Epson FX-1050, 103
UPS 11, 322 Carriage Return (CR)
Bell (BEL) Epson FX-1050, 103
Epson FX-1050, 103 Proprinter III XL, 59
Proprinter III XL, 53 P-Series emulation, 152
P-Series emulation, 151 P-Series XQ emulation, 232
Serial Matrix emulation, 190 Serial matrix emulation, 194
Bit image graphics Carriage Return Set ESC 5, 59
bit pattern from ASCII character, 328 Character Pitch 10 CPI (ESC P)
density selection, 329 Epson FX-1050, 103
designing bit image pattern, 329 Serial matrix emulation, 195
programming format, 330 Character Pitch 12 CPI (ESC M)
Proprinter and Epson emulations, 327 Epson FX-1050, 104
sample program, 331 Serial matrix emulation, 195
Bit Image Mode Double Density (Half Speed), 55 Character Pitch 12 cpi (ESC:), 60
Bit Image Mode Double Density Character Pitch 15 CPI, Epson FX-1050, 104
(Normal Speed), 56 Character set
Bit Image Mode Quadruple Density code 39, 258
(Half Speed), 57 Epson FX-1050 international overlays, 104
Bit Image Mode Single Density (ESC K), 54 extended, P-Series, 153
Bit Image Mode, Double Density (ESC L), Serial international P-Series, 153
matrix emulation, 191 international serial matrix, 198
Bit Image Mode, Double Density Double Speed multinational, P-Series, 154
(ESC Y), Serial matrix emulation, 192 Proprinter III XL control codes, 47
Bit Image Mode, Quadruple Density (ESC Z), Serial P-Series international overlays, 157
matrix emulation, 192 super-set command, 242
Bit Image Mode, Single Density (ESC K), Serial U.S. ASCII, 433
matrix emulation, 191 Character set overlay, download, 158
Bold Print (SFCC G), P-Series emulation, 151 Character Set Select
ECMA Latin Extended (SFCC OSET), 156
International Languages, 157
595
Character Set Select (ESC l), Serial matrix Code V migration information, 352
emulation, 195 Combining graphics and text, 338
Character Set Select Set 1(A), 60 Command format
Character Set Select Set 2 (B), 60 German I-2/5, 275
Character sets, print modes support, 185 I-2/5, 275
Character Spacing (n/240), super-set commands, ITF-14, 275
245 MSI, 282
Characters 80-9F (Printable Symbols) (ESC u), PDF417, 288
Serial matrix emulation, 198 PostBar and Royal Mail, 293
Characters 80-9F, Control Codes (ESC 7), Serial Telepen, 300
matrix emulation, 197 UCC/EAN-128, 311
Characters 80-9F, Printable Symbols (ESC 6), UPS 11, 323
Serial matrix emulation, 197 Command lines, 145
Check Digit Commands
Codabar, 253 CONFIG, 427
Code 93, 260 FILE_IO, 427
Interleaved 2/5 (I-2/5), German I-2/5, and PostBar, 293
ITF-14, 275 PTX SETUP, 427
MSI, 282 Royal Mail, 293
PostBar and Royal Mail (KIX), 292 Compressed Print (SOH,ETX,HT), P-Series XQ
Telepen, 300 emulation, 233
UPS 11, 323 Condensed Print, 61
Clear Bit 7 of Incoming Data Bytes to 0, 106 Condensed Print (SI ESC SI), 106
Codabar, 252 Condensed Print (SI), Serial matrix emulation, 200
Check Digit, 253 Condensed Print Cancel, 62
command format, 253 Condensed Print Reset (DC2)
Data Field, 253 Epson FX-1050, 107
example, 256 Serial matrix emulation, 200
Quiet Aone, 253 CONFIG command, summary, 431
Readable Data, 253 Configuration menus, main, 355
Start/Stop Codes, 253 Control code description format
Code 128, 265 Epson FX emulation, 96
Code 39, 257 Proprinter III XL, 44
Code 39 character set, 258 P-Series emulation, 144
Code 93, 259 P-Series XQ Variant, 228
Check Digit, 260 Serial Matrix emulation, 184
command format, 260 Control code header, P-Series, 144
Data Field, 260 Control code introducer, IBM, 184
example, 264 Control codes index
Quiet Zone, 260 Epson FX emulation, 100
Readable Data, 260 Proprinter emulation, 51
Start/Stop Codes, 260 P-Series emulation, 148
596
P-Series XQ variant emulation, 230 Diagnostic features, 36
serial matrix emulation, 188 Diskette storage, emulation
Cut-Sheet/Paper Feed Control (ESC EM), 107 configuration, 39, 91, 141, 181, 225
D Documentation
overview of each chapter, 33
Data Field overview of related books, 34
Code 93, 260 DOS workstation attachment and
Interleaved 2/5 (I-2/5), German I-2/5, and configuration, 411
ITF-14, 275 Dot matrix character formation, example, 37
MSI, 282 Dot matrix line printing illustration, 38
PDF-417, 287 Double High Print Set/Reset (ESC w), 108
PostBar and Royal Mail (KIX), 292 Double Strike (ESC G), 109
Telepen, 300 Double Strike Cancel (ESC H), 109
UCC/EAN-128, 309 Double Wide Print, 63
UPS 11, 323 Double Wide Print (1 Line) Cancel (DC4), 111
Data Field, Codabar, 253 Double Wide Print (ESC W), 110
DEC Multinational Double Wide Print (One Line Only), 64
ASCII (USA), 572 Double Wide Print (One Line Only) Cancel, 65
Dutch, 582 Double Wide Print 1 Line (SO), 111
English (UK), 575 Download character set overlay, 158
Finnish, 583
E
French, 573
French Canandian, 581 EAN 13, structure, 271
German, 574 EAN 8, structure, 270
Italian, 578 ECMA Latin 1 Extended Subset
Japanese, 580 Barcode, 568
Norwegian/Danish, 576 Graphic, 570
Spanish, 579 Greek, 569
Swedish, 577 Multinational, 567
Swiss, 584 Scientific, 571
Default values ECMA Latin 1 Primary Subset
Epson FX-1050 emulation, 92 ASCII (USA), 554
Print Format menu options, 93, 143 Danish, 557
Proprinter III XL emulation, 40 Dutch, 561
P-Series emulation, 142 English (UK), 560
P-Series XQ Variant emulation, 226 Finnish, 559
serial matrix emulation, 182 French, 562
Define a Download Character (ESC &), 107 German, 555
Delete (DC2), Serial matrix emulation, 201 Italian, 564
Delete (DEL), P-Series XQ emulation, 234 Japanese, 566
Delete Character (DEL), 108 Norwegian, 558
Density selection for bit images, 329 Spanish, 563
Deselect Printer, 62
597
Swedish, 556 0857 Turkish, 489
Turkish, 565 0858 PC Euro Multilingual, 490
Edit mode, P-Series XQ, 229 0860 Portuguese, 491
Electronic Vertical Format Unit (EVFU), P-Series 0861 Icelandic, 492
XQ emulation, 234 0862 Hebrew, 493
Elongated (Double High) Print 1 Line Only, 160 0863 French Canadian, 494
Elongated (Double High) Print One Line Only 0864 Arabic, 495
(ESC h), Serial matrix emulation, 201 0865 Danish/Norwegian, 496
Elongated (Double High) Print Set/Reset 0866 Cyrillic, 497
P-Series emulation, 161 0869 Greek New, 498
Serial matrix emulation, 202 0874 Thai, 499
Elongated Characters, Double High (BS,SO), 0912 ISO Latin 2 PC, 500
P-Series XQ emulation, control codes, 235 0913 ISO Latin 3, 501
Emphasized Print 0914 ISO Latin 4, 502
Epson FX-1050, 112 0915 ISO Cyrillic PC, 503
Proprinter III XL, 65 0916 Hebrew, 504
P-Series emulation, 162 0920 ISO Latin 5 Turkish, 505
Serial matrix emulation, 202 0921 ISO Baltic Multilingual, 506
Emphasized Print Cancel 0922 Estonian, 507
Epson FX-1050, 112 0923 Latin 9 8859-15, 508
Proprinter III XL, 66 1006 ISO Urdu, 509
Emphasized Print Reset 1008 ISO Arabic, 510
P-Series emulation, 162 1046 Arabic Extended, 511
Serial matrix emulation, 203 1089 ISO Arabic, 512
Emulation Reset, 163 1098 Farsi 1285, 513
Serial matrix emulation, 203 1116 Estonian, 514
Enable Printing Hex 00-1F and 80-9F, 113 1117 Latvian, 515
Epson configuration overview, 96 1118 Lithuanian, 516
Epson FX control codes, grouped by function, 100 1129 Vietnamese, 517
Epson FX emulation, control code description 1134 Hebrew Old, 518
format, 96 Backspace (BS), 102
Epson FX, vertical tabs, 342 Bell (BEL), 103
Epson FX-1050 emulation Cancel Line (CAN), 103
0437 PC Character Set, 480 Carriage Return (CR), 103
0737 Greek, 481 chapter overview, 91
0813 Greek, 482 Character Pitch 10 CPI (ESC P), 103
0819 ISO/ANSI Multilingual, 483 Character Pitch 12 CPI (ESC M), 104
0850 PC Multilingual, 484 Character Pitch 15 CPI (ESC g), 104
0851 Greek Old, 485 character set, 95
0852 Latin 2/Roece, 486 Character Set overview, 477
0853 Latin 3 PC, 487
0855 Cyrillic, 488
598
Character Set Select Graphics, Double Density Double Speed
International Languages (ESC R), 104 (ESC Y), 117
Clear Bit 7 of Incoming Data Bytes to 0 Half Speed Mode On/Off (ESC s), 118
(ESC =), 106 Horizontal Tab Execute (HT), 119
Condensed Print (SI, ESC SI), 106 Horizontal Tab Set/Release (ESC D), 119
Condensed Print Reset (DC2), 107 Initialize Printer (ESC @), 120
configuring via control codes and menus, 91 Italic Printing (ESC 4), 120
Cut-Sheet/Paper Feed Control (ESC EM), 107 Italic Printing Cancel (ESC 5), 120
Define a Download Character (ESC &), 107 Line Feed (LF), 121
Delete Character (DEL), 108 Line Feed n/216 Inch (ESC J), 121
Double High Print. Set/Reset (ESC w), 108 Line Spacing 1/6 Inch (6 lpi) (ESC 2), 122
Double Strike (ESC G), 109 Line Spacing 1/8 Inch (8 lpi) (ESC 0), 122
Double Strike Cancel (ESC H), 109 Line Spacing 7/72 Inch (ESC 1), 123
Double Wide Print (1 Line) Cancel (DC4), 111 Line Spacing n/216 Inch (ESC 3 n), 123
Double Wide Print (ESC W), 110 Line Spacing n/72 Inch (ESC A n), 124
Double Wide Print, 1 Line (SO), 111 Make Hex 80-9F Control Codes (ESC 7), 124
Emphasized Print (ESC E), 112 Make Hex 80-9F Printable (ESC 6), 125
Emphasized Print Cancel (ESC F), 112 Master Print Select (ESC !), 127
Enable Printing Hex 00-1F and 80-9F ORC A, 478
(ESC I), 113 ORC B, 479
Epson Set ASCII (USA), 519 Paper Out Detection Disable (ESC 8), 128
Epson Set Danish I, 523 Paper Out Detection Enable (ESC 9), 127
Epson Set Danish II, 529 Pass Bit 7 from Host (ESC #), 128
Epson Set English (UK), 522 print mode support for character sets, 146
Epson Set French, 520 Printer Deselect (DC3), 128
Epson Set French Canadian, 532 Printer Select (DC1), 128
Epson Set German, 521 Proportional Spacing, Select/Deselect
Epson Set Italian, 525 (ESC p), 132
Epson Set Japanese, 527 Reassign Graphics Mode (ESC ?), 129
Epson Set Latin American I, 531 Remove Downloaded Characters (ESC :), 129
Epson Set Latin American II, 533 Reverse Line Spacing n/216 Inch, 129
Epson Set Norwegian, 528 Select 9-Pin Graphics Mode (ESC ^), 131
Epson Set Spanish I, 526 Select Graphics Mode (ESC *), 130
Epson Set Spanish II, 530 Select Italic Character Set (ESC t), 131
Epson Set Swedish, 524 Select Print Quality (ESC x), 131
exceptions and differences for CTA printers, 94 Select Serif or Sans Serif Font (ESC k), 132
factory settings, 92 Select User-Defined Font (ESC %), 132
Form Feed (FF), 113 Select Vertical Tab Channel (ESC /), 133
Graphics Double Density (ESC L), 116 Set Absolute Print Position in 1/60 Inch
Graphics Quadruple Density (ESC Z), 118 (ESC $), 133
Graphics Standard Density (ESC K), 115 Set and Reset codes, 97
599
Set Bit 7 of Incoming Data Bytes to 1 Escape (ESC) sequences
(ESC >), 133 bit image density, 329
Set Forms Length by Lines (ESC C), 135 Epson FX-1050, 96
Set Forms Length in Inches (ESC C 0), 135 IBM Proprinter III XL, 44
Set Intercharacter Spacing in 1/120 Inch EVFU (Electronic Vertical Format Unit)
(ESC SP), 134 channel assignment, 344
Set Margin Left (ESC l), 134 clearing the memory, 347
Set Margin Right (ESC Q), 134 end load code, 345
Set Relative Horizontal Print Position in 1/120 PI line disabled, 347
Inch (ESC >), 133 PI line enabled, 346
Set Vertical Tabs in Channels (ESC b), 136 P-Series, 344
Skip Over Perforation (ESC N), 136 relative line slewing, 348
Skip Over Perforation, Cancel (ESC O), 137 start load code, 344
Superscript and Subscript Printing using, 345
(ESC S), 137 Examples, Royal Mail, 294
Superscript and Subscript Printing Cancel Exceptions and differences, Proprinter III XL
(ESC T), 138 emulation, 41
Super-Set Commands, 138 Expanded (Double Wide) One Line Only (SO),
Underline (ESC -), 139 Serial matrix emulation, 204
Unidirectional Printing 1 Line (ESC <), 139 Expanded (Double Wide) Print (ESC W), Serial
Unidirectional Printing Set/Reset (ESC U), 139 matrix emulation, 204
Vertical Tab Execute (VT), 140 Expanded Print Double Wide, 163
Vertical Tab Set/Clear (ESC B), 140 Expanded Print Double Wide 1 Line Only, 164
Epson FX-1050 Escape (ESC) sequences, 96 Extended Character Set
Epson Set P-Series, 164
ASCII (USA), 519 Serial matrix emulation, 205
Danish I, 523 Extended Character Set Cancel, 165
Danish II, 529 Extended Set Cancel, Primary Set Select (ESC 5),
English (UK), 522 Serial matrix emulation, 206
French, 520 F
French Canadian, 532
German, 521 Factory settings
Italian, 525 Epson FX-1050 emulation, 92
Japanese, 527 Proprinter III XL emulation, 40
Latin American I, 531 P-Series emulation, 142
Latin American II, 533 P-Series XQ Variant emulation, 226
Norwegian, 528 Serial Matrix emulation, 182
Spanish I, 526 Fault condition, Proprinter III XL emulation, 47
Spanish II, 530 Features list
Swedish, 524 6408-CTA and 6412-CTA printers, 34
Equivalency tables, for migration to 6500-v diagnostics, 36
printer, 353 graphics and vertical formatting, 36
text formatting and language options, 35
600
FILE_IO Command, operation of, 432 Horizontal Tab Set/Release (ESC D), 119
FIM barcode, 272 Host Computer Interfaces, list, 35
Form Feed (FF) Host interface selection, for migrating to the 6500-v
Epson FX-1050 emulation, 113 printer, 406
Proprinter III XL, 66 Host system attachment, 411
P-Series emulation, 165 I
P-Series XQ emulation, 236
Serial matrix emulation, 206 I-2/5
Form Margins, Set command format, 275
P-Series emulation, 167 example, 279
Serial matrix emulation, 208 IBM PC Extended Subset
Forms Length Set (Inches), Serial matrix 0437 PC Character Set, 550
emulation, 207 0850 PC Multilingual, 551
Forms Length Set (Lines), Serial matrix IBM PC Primary Subset
emulation, 208 ASCII (USA), 536
Forms Length Set in Inches Danish II, 547
Proprinter III XL, 66 Dutch, 540
P-Series emulation, 166 English (UK), 539
Forms Length Set in Lines French, 537
Proprinter III XL, 67 French Canadian, 545
P-Series emulation, 166 German, 538
Italian, 542
G
Japanese, 544
German I-2/5, command format, 275 Latin American, 546
Graphics and text, combining, 338 Latin American II, 549
Graphics and vertical formatting, 36 Spanish, 543
Graphics control codes overview Spanish II, 548
Epson FX-1050, 96 Swedish, 541
IBM Proprinter III XL, 45 IBM Proprinter III XL Escape (ESC) sequences, 44
Graphics Double Density (ESC L), 116 Ignored and reserved control codes, Proprinter III
Graphics Double Density Double Speed XL emulation, 47
(ESC Y), 117 IGP/PGL Migration information, 352
Graphics printing, Proprinter and Epson bit image IGP/VGL Migration information, 352
graphics, 327 Image printing overview, 327
Graphics Quadruple Density (ESC Z), 118 Index, control code, P-Series XQ, 230
Graphics Standard Density (ESC K), 115 Initialize Parameters, 68
H Initialize Printer (ESC @), 120
Interleaved 2/5, 280
Half Speed Mode On/Off, 118 Interleaved 2/5 (I-2/5), German I-2/5, and ITF-14
Horizontal Tab (HT), Serial matrix emulation, 209 Check Digit, 275
Horizontal Tab Execute (HT), 119 Data Field, 275
Horizontal Tab Set (ESC D), Serial matrix Quiet Zone, 275
emulation, 210
601
Readable Data, 275 Epson FX-1050 emulation, 123
Start/Stop Codes, 275 Proprinter III XL, 76
International Character Set Select, serial Serial matrix emulation, 215
matrix, 198 Line Spacing n/216 Inch (SFCC 3 n)
International character sets P-Series emulation, 171
Epson, 105 Line Spacing n/72 Inch, 171
P-Series, 154, 155 Line Spacing n/72 Inch (ESC A n)
iSeries workstation attachment and Epson FX-1050 emulation, 124
configuration, 424 Serial matrix emulation, 214
Italic Printing (ESC 4), 120 Line Spacing n/72 Inch (Executes), 74
Italic Printing Cancel (ESC 5), 120 Line Spacing n/72 Inch (Storage), 75
ITF-14, command format, 275 Line Spacing, 8 or 10.3 lpi (ACK), P-Series XQ
K emulation, 237
M
KIX Format, PostBar and Royal Mail (KIX), 292
L Make Hex 80-9F Control Codes, 124
Make Hex 80-9F Printable, 125
Line Feed (LF) Manuals, overview of related books, 34
Epson FX-1050 emulation, 121 Margin Bottom, 76
Proprinter III XL, 71 Margin Cancel Bottom, 77
P-Series emulation, 168 Margins Horizontal, 77
P-Series XQ emulation, 236 Master Print Select (ESC !), 127
Serial matrix emulation, 210 Migrating to 6500-v from previous printers, 351, 411
Line Feed 1/6 Inch (ESC A12, ESC 2), Serial matrix equivalency tables, 353
emulation, 212 migration checklist, 352
Line Feed 1/8 Inch 8 lpi (ESC A9, ESC 0), Serial MVP-Series information, 384
matrix emulation, 212 P300/P600-Series information, 393
Line Feed n/216 Inch (ESC J), 121 P3000 information, 370
Line Feed n/216 Inch (One Line Only), 71 P4280/P9212 information, 357
Line Feed n/216 Inch One Line Only (ESC J), Serial P6000 information, 375
matrix emulation, 211 P6x40/P6x80 information, 380
Line matrix printing, explanation of, 37 P9012 information, 364
Line Spacing (n/288), super-set commands, 245 Migration from
Line Spacing 1/6 Inch (6 lpi), 168 previous Code V, 352
Line Spacing 1/6 Inch (6 lpi) (ESC 2), 122 previous IGP/PGL, 352
Line Spacing 1/8 Inch (8 lpi), 72, 122, 169 previous IGP/VGL, 352
Line Spacing 7/72 Inch, 170 Migration information
Line Spacing 7/72 Inch (10.3 lpi), 73 contacting IBM technical support, 410
Line Spacing 7/72 Inch (ESC 1) selecting a communications interface and
Epson FX-1050 emulation, 123 cables, 406
Serial matrix emulation, 213 troubleshooting problems, 407
Line Spacing 8 or 10.3 lpi (1 Line Only), 169 Modulo-10 Data Field Check Digit for SSCC-18 and
Line Spacing n/216 Inch (ESC 3 n) SCC-14, UCC/EAN-128, 310
602
Modulo-103 Check Digit, UCC/EAN-128, 310 P9012 migration information, 364
MSI, 281 P9012 printers, substitute IBM 6500-v printer, 351
Check Digit, 282 P9212 printers, substitute IBM 6500-v printer, 351
command format, 282 Paper Out Detection Disable (ESC 8), 128
Data Field, 282 Paper Out Detection Enable (ESC 9), 127
example, 285 Paper slewing, 341
Quiet Zone, 282 Pass Bit 7 from Host (ESC #), 128
Readable Data, 282 PDF, PDF-417, 287
Start/Stop Code, 282 PDF-417, 286
structure, 281 command format, 288
Multinational Data Field, 287
ASCII (USA), 552 example, 291
EBCDIC, 553 PDF, 287
Multinational character sets, P-Series, 154 Quiet Zone, 287
MVP-series migration information, 384 Security Level, 287
MVP-series printers, substitute IBM 6500-v Start/Stop Codes, 287
printer, 351 structure, 286
N PI Line, not used by Proprinter emulation, 44
Plot Even Dot (P-Series High Density
NUL Code, 185 Graphics), 173
O Plot Even Dot, High Density (EOT), P-Series XQ
emulation, 238
Odd dot plot pattern plan, 337
Plot mode
Odd dot plot sample, 337
data line format, 334
ORC A, 478
density, P-Series emulation, 332
ORC B, 479
double density plot, 336
Overlay, download character set, 158
graphics, P-Series emulation, 332
Overscoring, 78, 172
high density plot sample, 333
Overscoring (ESC _n), Serial matrix emulation, 215
normal density plot, 335
P normal density plot sample, 332
P300/P600-series migration information, 393 odd dot pattern plan, 337
P300/P600-series printers, substitute IBM 6500-v odd dot sample, 337
printer, 351 plot data byte format, 333
P3000 migration information, 370 truncated character line, 338
P3000-series printers, substitute IBM 6500-v Plot Odd Dot (P-Series Normal Density
printer, 351 Graphics, 173
P4280 printers, substitute IBM 6500-v printer, 351 Plot Odd Dot, Normal Density (ENQ), P-Series XQ
P4280/P9212 migration information, 357 emulation, 238
P6000 migration information, 375 PostBar and Royal Mail
P6000-series printers, substitute IBM 6500-v command format, 293
printer, 351 example, 294
P6x40/P6x80 migration information, 380
603
PostBar and Royal Mail (KIX), 292 0857 Turkish, 445
Check Digit, 292 0858 PC Euro Multilingual, 446
Data Field, 292 0860 Portuguese, 447
KIX Format, 292 0861 Icelandic, 448
Quiet Zone, 292 0862 Hebrew, 449
Start/Stop Code, 292 0863 Canadian French, 450
POSTNET, structure, 296 0864 Arabic, 451
Print All Characters, 78 0865 Danish/Norwegian, 452
Print Deselect (DC3), Serial matrix emulation, 218 0866 Cyrillic, 453
Print Format menu, factory default settings, 93, 143 0869 Greek New, 454
Print Mode, 79 0874 Thai, 455
Print mode combinations, Proprinter III XL 0876 OCR A, 456
emulation, 42 0877 OCR B, 457
Print mode priority chart, Proprinter III XL 0912 ISO Latin 2 PC, 458
emulation, 42 0913 ISO Latin 3, 459
Print Mode/Pitch Selection, 173 0914 ISO Latin 4, 460
Print Mode/Pitch Selection (ESC [nq, ESC X mn), 0915 ISO Cyrillic PC, 461
Serial matrix emulation, 216 0916 Hebrew, 462
Print modes support, character sets, 185 0920 ISO Latin 5 Turkish, 463
Print Next Character, 79 0921 ISO Baltic Multilingual, 464
Print Quality, 80 0922 Estonian, 465
Print Select (DC1), Serial matrix emulation, 218 0923 Latin 9 8859-15, 466
Printer Deselect (DC3), 128 1006 ISO Urdu, 467
Printer Emulations, list, 35 1008 ISO Arabic, 468
Printer Protocol, Super-set commands, 246 1045 Arabic Extended, 469
Printer Select (DC1), 128 1098 Farsi 1285 (PC), 470
Printing 1116 Estonian, 471
line matrix printing explained, 37 1117 Latvian, 472
speed, 38 1118 Lithuanian, 473
Proportional Spacing, 81 1129 Vietnamese, 474
Proportional Spacing Select/Deselect (ESC p), 132 1134 Old Hebrew, 475
Proprinter control codes, grouped by function, 51 Backspace (BS), 53
Proprinter III XL emulation Bell (BEL), 53
0437 PC Character Set, 436 Bit Image Mode Double Density
0737 Greek, 437 (Half Speed), 55
0813 Greek, 438 Bit Image Mode Double Density
0819 ISO/ANSI Multilingual, 439 (Normal Speed), 56
0850 PC Multilingual, 440 Bit Image Mode Quadruple Density
0851 Greek Old, 441 (Half Speed), 57
0852 Latin 2/Roece, 442 Bit Image Mode Single Density (ESC K), 54
0853 Latin 3 PC, 443 Bold Printing Cancel ESC H, 58
0855 Cyrillic, 444 Bold Printing ESC G, 58
604
Cancel CAN, 59 Print All Characters (ESC \), 78
Carriage Return (CR), 59 Print Mode (ESC I), 79
Carriage Return Set ESC 5, 59 print mode combinations, 42
chapter overview, 39 print mode priority chart, 42
Character Pitch 12 cpi (ESC :), 60 Print Next Character (ESC ^), 79
character set control codes, 47 Print Quality (ESC x), 80
Character Set Select Set 1 (A) (ESC 7), 60 Proportional Spacing (ESC P), 81
Character Set Select Set 2(B) (ESC 6), 60 Select Attributes (ESC [@), 82
Character sets overview, 435 Set Top-of-Form (ESC 4), 85
combining print modes, 41 Superscript/Subscript Printing (ESC S), 84
Condensed Print (SI, ESC SI), 61 Superscript/Subscript Printing Cancel
Condensed Print Cancel (DC2, ESC DC2), 62 (ESC T), 85
configuring via control codes and menus, 39 Super-Set Commands, 85
control code description format, 44 Tab Horizontal (HT), 86
Deselect Printer (ESC Q 22), 62 Tab Set/Clear Horizontal (ESC D), 86
Double Wide Print (ESC W), 63 Tab Set/Clear Vertical (ESC B), 88
Double Wide Print (One Line Only) (SO), 64 Tab Vertical (VT), 87
Double Wide Print (One Line Only) Cancel Tabs Clear All (Return to Default) (ESC R), 88
(DC4, ESC DC4), 65 Underline (ESC -), 89
Emphasized Print (ESC E), 65 Unidirectional (ESC U), 89
Emphasized Print Cancel (ESC F), 66 vertical tabs, 342
Escape (ESC) control codes overview, 44 P-Series configuration overview, 144, 228
exceptions and differences, 41 P-Series control codes, grouped by function, 148
fault condition, 47 P-Series emulation
Form Feed (FF), 66 Backspace (BS), 151
Forms Length Set in Inches (ESC C 0), 66 Bell (BEL), 151
Forms Length Set in Lines (ESC C), 67 Bold Print (SFCC G), 151
graphics control codes overview, 45 Bold Print Reset (SFCC H), 152
ignored and reserved control codes, 47 Carriage Return (CR), 152
Initialize Parameters (ESC [K), 68 chapter overview, 141
Line Feed (LF), 71 Character Set overview, 535
Line Feed n/216 Inch (One Line Only) Character Set Select ECMA Latin 1 Extended
(ESC J), 71 (SFCC OSET), 156
Line Spacing 1/8 Inch (8 lpi) (ESC 0), 72 Character Set Select International Languages
Line Spacing 7/72 Inch (10.3 lpi) (ESC 1), 73 (SFCC PSET, SFCC R), 157
Line Spacing n/216 Inch (ESC 3 n), 76 configuring via control codes and
Line Spacing n/72 Inch (Executes) (ESC 2), 74 menus, 141, 181, 225
Line Spacing n/72 Inch (Storage) (ESC A), 75 control code description format, 144
Margin Bottom (ESC N), 76 control codes
Margin Cancel Bottom (ESC O), 77 Character Set Select (SFCC 1), 153
Margins Horizontal (ESC X), 77 Characters 80-9F, Control Codes
Overscoring (ESC _), 78 (SFCC 7), 155
605
Characters 80-9F, Printable Symbols Emulation Reset (SFCC @), 163
(SFCC 6), 155 Expanded Print Double Wide (SFCC W), 163
DEC Multinational ASCII (USA), 572 Expanded Print Double Wide 1 Line Only
DEC Multinational Dutch, 582 (SFCC k), 164
DEC Multinational English (UK), 575 extended and multinational character sets, 153
DEC Multinational Finnish, 583 Extended Character Set (S0, SFCC SO), 164
DEC Multinational French, 573 Extended Character Set Cancel
DEC Multinational French Canadian, 581 (SI, SFCC SI), 165
DEC Multinational German, 574 factory settings, 142
DEC Multinational Italian, 578 Form Feed (FF), 165
DEC Multinational Japanese, 580 Form Margins Set (SFCC v), 167
DEC Multinational Norwegian/Danish, 576 Forms Length Set in Inches
DEC Multinational Spanish, 579 (SFCC INCHES), 166
DEC Multinational Swedish, 577 Forms Length Set in Lines (SFCC LINES), 166
DEC Multinational Swiss, 584 high density plot sample, 333
ECMA Latin 1 Extended Subset Barcode, 568 IBM PC Extended Subset 0437 PC Character
ECMA Latin 1 Extended Subset Graphic, 570 Set, 550
ECMA Latin 1 Extended Subset Greek, 569 IBM PC Extended Subset 0850 PC
ECMA Latin 1 Extended Subset Multilingual, 551
Multinational, 567 IBM PC Primary Subset ASCII (USA), 536
ECMA Latin 1 Extended Subset Scientific, 571 IBM PC Primary Subset Danish II, 547
ECMA Latin 1 Primary Subset ASCII IBM PC Primary Subset Dutch, 540
(USA), 554 IBM PC Primary Subset English (UK), 539
ECMA Latin 1 Primary Subset Danish, 557 IBM PC Primary Subset French, 537
ECMA Latin 1 Primary Subset Dutch, 561 IBM PC Primary Subset French Canadian, 545
ECMA Latin 1 Primary Subset English IBM PC Primary Subset German, 538
(UK), 560 IBM PC Primary Subset Italian, 542
ECMA Latin 1 Primary Subset Finnish, 559 IBM PC Primary Subset Japanese, 544
ECMA Latin 1 Primary Subset French, 562 IBM PC Primary Subset Latin American, 546
ECMA Latin 1 Primary Subset German, 555 IBM PC Primary Subset Latin American II, 549
ECMA Latin 1 Primary Subset Italian, 564 IBM PC Primary Subset Spanish, 543
ECMA Latin 1 Primary Subset Japanese, 566 IBM PC Primary Subset Spanish II, 548
ECMA Latin 1 Primary Subset Norwegian, 558 IBM PC Primary Subset Swedish, 541
ECMA Latin 1 Primary Subset Spanish, 563 Line Feed (LF), 168
ECMA Latin 1 Primary Subset Swedish, 556 Line Spacing 1/6 Inch (SFCC A), 168
ECMA Latin 1 Primary Subset Turkish, 565 Line Spacing 1/8 Inch (8 lpi) (SFCC LPI), 169
Elongated (Double High) Print 1 Line Only Line Spacing 7/72 Inch (SFCC 1), 170
(SFCC h, BS), 160 Line Spacing 8 or 10.3 lpi (1 Line Only), 169
Elongated (Double High) Print Set/Reset Line Spacing n/216 Inch (SFCC 3 n), 171
(SFCC w), 161 Line Spacing n/72 Inch (SFCC A), 171
Emphasized Print (SFCC E), 162 Multinational ASCII (USA), 552
Emphasized Print Reset (SFCC F), 162 Multinational EBCDIC, 553
606
normal density plot sample, 332 Line Feed (LF), 236
Overscoring (SFCC_), 172 Line Spacing, 8 or 10.3 lpi (ACK), 237
plot data byte format, 333 Plot Even Dot, High Density (EOT), 238
plot density, 332 Plot Odd Dot, Normal Density (ENQ), 238
Plot Even Dot (P-Series High Density Select Draft Print (STX,ETX,HT), 239
Graphics), 173 Space (SP), 239
plot mode, 337 Underline (_), 240
plot mode graphics, 332 Vertical Tab (VT), 240
Plot Odd Dot (P-Series Normal Density P-Series XQ Variant emulation, control code
Graphics), 173 description format, 228
Print Mode/Pitch Selection PTX SETUP Option, overview, 427
(SFCC PMODE), 173 Q
Select Attributes, 177
Superscript/Subscript Printing (SFCC S), 178 Quiet Zone
Superscript/Subscript Printing Reset Code 93, 260
(SFCC T), 179 Interleaved 2/5 (I-2/5), German I-2/5, and ITF-
Super-Set Commands, 179 14, 275
Underline (SFCC), 180 MSI, 282
Vertical Tab (VT), 180 PDF-417, 287
VFU Commands, 180 PostBar and Royal Mail (KIX), 292
P-Series EVFU, 344 Telepen, 300
channel assignment, 344 UCC/EAN-128, 309
clearing the memory, 347 UPS 11, 323
end load code, 345 Quiet Zone, Codabar, 253
PI line disabled, 347 R
PI line enabled, 346
Rates, printing and plotting, 38
relative line slewing
Readable Data
See EVFU (Electronic Vertical Format Unit)
Code 93, 260
start load code, 344
Interleaved 2/5 (I-2/5), German I-2/5, and ITF-
P-Series plot mode
14, 275
data byte format sample, 334
MSI, 282
how to exit, 338
Telepen, 300
P-Series XQ emulation
UCC/EAN-128, 310
Alternate Character Set Deselect (SI), 231
UPS 11, 323
Alternate Character Set Deselect (SO), 231
Readable Data, Codabar, 253
Carriage Return (CR), 232
Reassign Graphics Mode (ESC ?), 129
Compressed Print (SOH,ETX,HT), 233
Remove Downloaded Characters (ESC :), 129
Delete (DEL), 234
Reverse Line Spacing n/216 Inch, 129
Electronic Vertical Format Unit (EVFU), 234
Royal Mail, 298
Elongated Characters, Double High
command format, 293
(BS,SO), 235
example, 294
Form Feed (FF), 236
607
S control codes, 184, 188
DEC Multinational ASCII (USA), 572
Save Custom Sets menu option, 39, 91, 141, 181, DEC Multinational Dutch, 582
225 DEC Multinational English (UK), 575
Security Level, PDF-417, 287 DEC Multinational Finnish, 583
Select 9-Pin Graphics Mode (ESC ^), 131 DEC Multinational French, 573
Select Attributes, 82, 177 DEC Multinational French Canadian, 581
Select Draft Print (STX,ETX,HT), P-Series XQ DEC Multinational German, 574
emulation, 239 DEC Multinational Italian, 578
Select Graphics Mode (ESC *), 130 DEC Multinational Japanese, 580
Select Italic Character Set (ESC t), 131 DEC Multinational Spanish, 579
Select Print Quality (ESC x), 131 DEC Multinational Swedish, 577
Select Serif or Sans Serif Font (ESC k), 132 DEC Multinational Swiss, 584
Select User-Defined Font (ESC %), 132 DEC Norwegian/Danish, 576
Select Vertical Tab Channel (ESC /), 133 Delete (DC2), 201
Serial Matrix emulation ECMA Latin 1 Extended Subset Barcode, 568
Attribute Set and Reset codes, 185 ECMA Latin 1 Extended Subset Graphic, 570
Backspace (BS), 190 ECMA Latin 1 Extended Subset Greek, 569
Bell (BEL), 190 ECMA Latin 1 Extended Subset
Bit Image Mode, Double Density (ESC L), 191 Multinational, 567
Bit Image Mode, Double Density Double Speed ECMA Latin 1 Extended Subset Scientific, 571
(ESC Y), 192 ECMA Latin 1 Primary Subset ASCII
Bit Image Mode, Quadruple Density (USA), 554
(ESC Z), 192 ECMA Latin 1 Primary Subset Danish, 557
Bit Image Mode, Single Density (ESC K), 191 ECMA Latin 1 Primary Subset Dutch, 561
Bold Print Reset (ESC H), 193 ECMA Latin 1 Primary Subset
Bold Print Set (ESC G), 193 English (UK), 560
Cancel (CAN), 194 ECMA Latin 1 Primary Subset Finnish, 559
Carriage Return (CR), 194 ECMA Latin 1 Primary Subset French, 562
Character Pitch 10 CPI (ESC P), 195 ECMA Latin 1 Primary Subset German, 555
Character Pitch 12 CPI (ESC M), 195 ECMA Latin 1 Primary Subset Italian, 564
Character Set overview, 535 ECMA Latin 1 Primary Subset Japanese, 566
Character Set Select (ESC l), 195 ECMA Latin 1 Primary Subset Norwegian, 558
Character Set Select International ECMA Latin 1 Primary Subset Spanish, 563
(ESC R), 198 ECMA Latin 1 Primary Subset Swedish, 556
Characters 80-9F, Control Codes (ESC 7), 197 ECMA Latin 1 Primary Subset Turkish, 565
Characters 80-9F, Printable Symbols Elongated (Double High) Print One Line Only
(ESC 6), 197 (ESC h), 201
Characters 80-9F, Printable Symbols Elongated (Double High) Print
(ESC u), 198 Set/Reset
Condensed Print (SI), 200 (ESC w), 202
Condensed Print Reset (DC2), 200
control code description format, 184
608
Emphasized Print (ESC E), 202 Multinational ASCII (USA), 552
Emphasized Print Reset (ESC F), 203 Multinational EBCDIC, 553
Emulation Reset (ESC @), 203 NUL Code, 185
Expanded (Double Wide) One Line Only Overscoring (ESC _n), 215
(SO), 204 Print Deselect (DC3), 218
Expanded (Double Wide) Print (ESC W), 204 Print Mode/Pitch Selection (ESC [nq, ESC X
Extended Character Set (ESC 4), 205 mn), 216
Extended Set Cancel, Primary Set Select Print Select (DC1), 218
(ESC 5), 206 Skip-Over Perforation (ESC N), 219
factory settings, 182 Skip-Over Perforation Cancel (ESC O), 219
Form Feed (FF), 206 Superscript/Subscript Printing (ESC S), 220
Form Margins, Set (ESC v), 208 Superscript/Subscript Printing Reset
Forms Length Set (Inches), 207 (ESC T), 220
Forms Length Set (Lines), 208 Super-set Commands, 221
Horizontal Tab (HT), 209 Underline (ESC -), 221
Horizontal Tab Set (ESC D), 210 Vertical Tab (VT), 222
IBM PC Extended Subset 0437 PC Vertical Tab, Set/Clear (ESC B), 223
Character Set, 550 Set Absolute Print Position in 1/60 Inch
IBM PC Extended Subset 0850 PC (ESC $), 133
Multilingual, 551 Set and Reset Codes, Epson FX-1050
IBM PC Primary Subset ASCII (USA), 536 emulation, 97
IBM PC Primary Subset Danish II, 547 Set Bit 7 of Incoming Data Bytes to 1 (ESC >), 133
IBM PC Primary Subset Dutch, 540 Set Forms Length by Line (ESC C), 135
IBM PC Primary Subset English (UK), 539 Set Forms Length in Inches (ESC C 0), 135
IBM PC Primary Subset French, 537 Set Intercharacter Spacing 1/120 Inch
IBM PC Primary Subset French Canadian, 545 (ESC SP), 134
IBM PC Primary Subset German, 538 Set Margin Left (ESC I), 134
IBM PC Primary Subset Italian, 542 Set Margin Right (ESC Q), 134
IBM PC Primary Subset Japanese, 544 Set Relative Horizontal Print Position in 1/120 Inch
IBM PC Primary Subset Latin American, 546 (ESC >), 133
IBM PC Primary Subset Latin American II, 549 Set Top-of-Form, 85
IBM PC Primary Subset Spanish, 543 Set Vertical Tabs in Channels (ESC b), 136
IBM PC Primary Subset Spanish II, 548 SFCC 1 (Character Set Select), P-Series control
IBM PC Primary Subset Swedish, 541 code, 153
Line Feed (LF), 210 SFCC, IBM, 184
Line Feed 1/6 Inch (ESC A12, ESC 2), 212 Skip Over Perforation (ESC N), 136
Line Feed 1/8 Inch 8 lpi (ESC A9, ESC 0), 212 Skip Over Perforation Channel (ESC O), 137
Line Feed n/216 Inch One Line Only Skip-Over Perforation (ESC N), Serial matrix
(ESC J), 211 emulation, 219
Line Spacing 7/72 Inch (ESC 1), 213 Skip-Over Perforation Cancel (ESC O), Serial
Line Spacing n/216 Inch (ESC 3 n), 215 matrix emulation, 219
Line Spacing n/72 Inch (ESC A n), 214 Space (SP), P-Series XQ emulation, 239
609
Special Function Code, P-Series, 144 Symbol
Special Function Control Character, IBM, 184 non-standard Epson code, 94
Start/Stop Code non-standard Proprinter code, 41
MSI, 282 Syntax, barcodes, 248
PostBar and Royal Mail (KIX), 292 T
Start/Stop Codes
Code 93, 260 Tab Horizontal, 86
Interleaved 2/5 (I-2/5), German I-2/5, and Tab Set/Clear Horizontal, 86
ITF-14, 275 Tab Set/Clear Vertical, 88
PDF-417, 287 Tab Vertical, Proprinter III XL, 87
Telepen, 300 Tabs Clear All (Return to Default), 88
UCC/EAN-128, 309 Tabs, vertical
UPS 11, 323 Epson FX, 342
Start/Stop Codes, Codabar, 253 Proprinter III XL emulation, 342
Storage of emulation configuration, diskette, 39, 91, Technical Support information, migrating to the
141, 181, 225 6500-v printer, 410
Substituting 6500-v for previous printers, 351 Telepen, 299
migration checklist, 352 Check Digit, 300
Superscript and Subscript Printing (ESC S), 137 command format, 300
Superscript and Subscript Printing Cancel Data Field, 300
(ESC T), 138 example, 304
Superscript/Subscript Printing, 84, 178 Quiet Zone, 300
Superscript/Subscript Printing (ESC S), Serial Readable Data, 300
matrix emulation, 220 Start/Stop Codes, 300
Superscript/Subscript Printing Cancel, 85 structure, 299
Superscript/Subscript Printing Reset, 179 Text formatting and language options, 35
Superscript/Subscript Printing Reset (ESC T), Troubleshooting, migrating to the 6500-v
Serial matrix emulation, 220 printer, 407
Super-Set Commands, 138, 241 Truncated character line, 338
barcodes, creating, 248 U
Character Spacing (n/240), 245
UCC/EAN-128, 305
Line Spacing (n/288), 245
application identifiers, 306
Printer Protocol, 246
command format, 311
Proprinter III XL, 85
Data Field, 309
P-Series emulation, 179
example, 314
Super-set Commands
Modulo-10 Data Field Check Digit for SSCC-18
Serial matrix emulation, 221
and SCC-14, 310
Super-set control codes, selecting a character
Modulo-103 Check Digit, 310
set, 242
Quiet Zone, 309
Readable Data, 310
Start/Stop Codes, 309
610
Underline W
Proprinter III XL, 89
P-Series emulation, 180 Warnings and Cautions, 34
Underline (_), P-Series XQ emulation, 240 Windows workstation attachment and
Underline (ESC -), Serial matrix emulation, 221 configuration, 413
Underline (ESC C -), 139
Unidirectional, 89
Unidirectional Printing 1 Line (ESC <), 139
Unidirectional Printing Set/Reset (ESC U), 139
UPC Shipping, 321
UPC-A, structure, 317
UPC-E, structure, 318
UPS 11, 322
Check Digit, 323
command format, 323
Data Field, 323
example, 326
Quiet Zone, 323
Readable Data, 323
Start/Stop Codes, 323
structure, 322
V
Vertical format unit (VFU), 341
Vertical formatting, P-Series EVFU, 344
Vertical page format planning, 341
Vertical Tab, 180
Vertical Tab (VT)
P-Series XQ emulation, 240
Serial matrix emulation, 222
Vertical Tab Execute (VT), 140
Vertical Tab, Set/Clear (ESC B)
Epson FX-1050, 140
Serial Matrix emulation, 223
Vertical tabs
Epson FX, 342
example, 343
Proprinter III XL emulation, 342
VFU characteristics, 342
VFU Commands, 180
611
612
Readers’ Comments — We’d Like to Hear from You
Infoprint 6500 Series Line Matrix Printers
ASCII Programmer’s Reference Manual
Overall, how satisfied are you with the information in this book?
How satisfied are you that the information in this book is:
When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any
way it believes appropriate without incurring any obligation to you.
Name Address
Company or Organization
Phone No.
___________________________________________________________________________________________________
Readers’ Comments — We’d Like to Hear from You Cut or Fold
G544-5979-00 Along Line
_ _ _ _ _ _ _Fold
_ _ _and
_ _ _Tape
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Please
_ _ _ _ _do
_ _not
_ _ staple
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Fold
_ _ _and
_ _ Tape
______
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
IBM Corporation
Information Development IBM Printing Systems Department
H7FE
Building 004N PO Box 1900 Boulder, CO
80301-9817
_________________________________________________________________________________________
Fold and Tape Please do not staple Fold and Tape
Cut or Fold
G544-5979-00 Along Line
Printed in USA
G544-5979-00