NOTE: Before using the information and the product it works with, make sure
that you read the general information under “Notices” below.
Second Edition (2003)
This edition applies to the IBM 4400 Thermal Label Printer.
The following paragraph does not apply to 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 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. Requests for IBM publications should be made to your IBM
representative or to the IBM branch office serving your locality. Publications
are not stocked at the address given below.
You may send your comments by facsimile to 1-800-524-1519, by E-mail to
print_pubs@vnet.ibm.com, or by mail to:
THE IBM PRINTING SYSTEMS DIVISION
INFORMATION DEVELOPMENT
DEPARTMENT H7FE, BUILDING 003G
P.O. BOX 1900
BOULDER, CO 80301-9191
USA
When you send information to IBM or IBM Printing Systems Division, you
grant a non-exclusive right to use or distribute the information in any way IBM
or IBM Printing Systems Division believes appropriate without incurring any
obligation to you.
Note to U.S. Government Users - Documentation related to restricted rights Use, duplication or disclosure is subject to restrictions set forth in GSA ADP
Schedule Contract with IBM Corp.
Notices
References in this publication to IBM products, programs, or services do not
imply that IBM intends to make these available in all countries in which IBM
operates. Any reference to an IBM product, program, or service is not
intended to state or imply that only IBM’s product, program, or service may be
used. Any functionally equivalent product, program, or service that does not
infringe any of the intellectual property rights of IBM may be used instead of
the IBM product, program, or service. The evaluation and verification of
operation in conjunction with other products, except those expressly
designated by IBM, are the responsibility of the user.
IBM may have patents or pending patent applications covering subject matter
in this document. The furnishing of this document does not give any license to
use these patents. You can send license inquiries, in writing, to the IBM
Director of Commercial Relations, IBM Corporation, Purchase, NY 10577,
U.S.A.
Trademarks and Service Marks
The following terms, denoted by an asterisk (*) in this publication, are
trademarks of IBM Corporation in the United States or other countries or both:
IBM
Proprinter
The following terms, denoted by a double asterisk (**) in this publication, are
trademarks of other companies:
ANSIAmerican National Standards Institute, Inc.
CG TriumvirateAgfa Division, Miles Incorporated(Agfa)
DataproductsDataproducts Corporation
DECDigital Equipment Corporation
EpsonSeiko Epson Corporation
Hewlett-PackardHewlett-Packard Company
IGPPrintronix, Inc.
LaserJetHewlett-Packard Company
PrintronixPrintronix, Inc.
POSTNETUnited States Postal Service
UPSUnited Parcel Service of America, Inc.
The IBM* ASCII Emulation is a software application on two diskettes capable
of emulating five different impact printer protocols:
•Printronix** P-Series P3000/6000/9000, hereafter called P-Series
•Printronix P-Series XQ P300/600, hereafter called P-Series XQ
•Printronix Serial Matrix
•IBM Proprinter* III XL, hereafter called Proprinter XL
•Epson** FX-1050
The software is designed to be compatible with a variety of paper sizes as
well as different print engine dots-per-inch ratios.
About This Manual
This manual is designed so you can quickly find the information you need to
use your ASCII Emulation software.
17
Chapter1Introduction
Notes And Notices
For your safety and to protect valuable equipment, it is very important that you
read and comply with all information highlighted under notes and notices:
<#>The word Danger next to the lightning slash indicates the
DANGER
presence of a hazard that could cause death or serious
personal injury. Danger and Caution notices are numbered to
help you find the translated versions in the
Notices
booklet.
IBM 4400 Safety
CAUTION
<#>The word Caution next to the exclamation point (!) indicates the
presence of a hazard that could cause moderate or minor
personal injury.
CAUTION
<#>The word Caution next to this symbol indicates a heavy
assembly that requires two or more persons to lift or hold.
CAUTION
<#>The word Caution next to this symbol indicates a part or
assembly that is hot enough to burn you.
18
Notes And Notices
CAUTION
<#>The word Caution next to this symbol indicates a part or
assembly that is sharp enough to cut you.
CAUTION
<#>The word Caution next to this symbol indicates the presence of
laser radiation. NEVER look directly into laser light.
ATTENTION
The word Attention indicates the possibility of damage to a program,
device, system, or data.
IMPORTANT
The word Important indicates information vital to pr oper operation of
the printer.
NOTE: A note gives you helpful information and tips about printer operation
and maintenance.
Glossary
The Glossary defines computer terms and acronyms used in this manual. It is
located just before the Index.
19
Chapter1Introduction
Software Features
The ASCII Emulation software provides the following features:
•Printer Protocols:
Printronix P-Series
Printronix P-Series XQ
Printronix Serial Matrix
IBM Proprinter III XL
Epson FX-1050
Courier
Letter Gothic
OCR-A
OCR-B
CG Triumverate** Bold Condensed
Ability to download True Type.
20
Printer Configuration
•Print Attributes:
Emphasized/Bold print
Scalable font sizes
Superscript/subscript print
Automatic underline and overscore
Carriage return editing
Variable point size
Italics
•Barcode Printing
NOTE: Complete listings of all the choices from these categories are printed
in the menu descriptions, as well as in the description of the Super-
Set “Character Set Selection” (SSCC R) command (see page 198).
Printer Configuration
Matching certain printer operational settings to those of the host computer is
known as printer configuration
adjusted according to the printer function key descriptions in your printer
User's Guide
from the printer control panel or by the software commands described in
Chapters 2 through 7 of this manual.
Your
User's Guide
as well as descriptions of each configuration parameter available with your
printer.
. You can select ASCII Emulation configuration options directly
also contains detailed configuration menus and diagrams,
.
The settings, or configuration parameters, are
NOTE: You must also enter and exit the ASCII Emulation configuration menu
accordingto your printer
Pressing an invalid key to enter a parameter value may move you to
another level in the configuration or exit the configuration menu
completely.
User's Guide
configuration procedures.
21
Chapter1Introduction
22
2P-Series Printer Protocol
Introduction
This chapter describes the P-Series emulation host control codes.
“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. It contains character
codes and command sequences that configure the emulation. In this manual,
the terms emulation, printer protocol, and printer control language are
synonymous.
In the P-Series emulation mode, your printer can print files coded for the PSeries printer control language. To select the P-Series emulation mode as the
active printer emulation, select ASCII Emulation from the EMULATION menu
and P-Series from the Printer Protocol menu, as described in the
Guide.
The P-Series emulation provides many configurable parameters. The default
parameter values for this emulation are shown in Table 1. You can modify the
emulation parameter values in two ways:
User's
•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 printer configuration menus,
control panel keys and LCD, as described in the
A parameter value set by a host control code generally overrides a value set
from the printer's control panel.
NOTE: Configuration values selected from the menus or via host control
codes can be saved to the printer's NVRAM memory so that they will
not be lost when you power off the printer or reset it to the factory
defaults. The menu selection for saving a configuration to memory is
described in the
control codes, refer to Appendix B, “PTR_SETUP Option”.
User's Guide.
To save the configuration using host
User's Guide.
23
Chapter2Introduction
P-Series Default Values and States
The factory settings for the P-Series emulation menu options (for an 8”
printer) are shown in Table 1. Table 1 also lists additional factory settings for
parameters provided by the ASCII Emulation formatting menus. (The
EMULATION menu options are described in the
codes can override many of the settings for these menu options.
Select CPI10.0 CPI
Select LPI6.0 LPI
TypefaceLetter Gothic
Character GroupStandard Sets
Character SetIBM PC
User's Guide
Table 1. P-Series Default Settings
CharacteristicDefault Setting
). Host control
Primary SubsetASCII (USA)
Extended SubsetCode Page 437
Horizontal DPI120 DPI
Vertical DPI72 DPI
Prop. SpacingEnable
Italic PrintDisable
Slashed ZeroDisable
Left Margin0 characters
Right Margin0 characters
Top Margin0 linespaces
Bottom Margin0 linespaces
Print Char. Set
Define CR codeCR = CR
Auto LFDisable
Define LF codeLF = CR + LF
24
*Advanced User:
Control Code 068.0 LPI
Control Code 08Elongated
BoldDisable
P-Series Default Values and States
Table 1. P-Series De fault Settings (continued)
CharacteristicDefault Setting
OverstrikeEnable
Select SFCC1
EVFU SelectEnable
Alt. Set 80-9FControl Code
SFCC d commandEven dot plot
PSeries Dbl HighNormal
FF valid at TOFEnable
Text PositionBottom of Line
Host CommandEnable
Reset Cmd CFG LdDisable
Form Length06.0 inches
Form Length152.4 mm
Form Length36 lines
Form Width08.5 inches
Form Width216.0 mm
Form Width85 characters
* Advanced User must be enabled under the Printer Control Menu in order for
the Advanced User parameters to be visible and changeable.
25
Chapter2Configuring the P-Series Emulation with Control Codes
Configuring the P-Series Emulation with Control Codes
The remainder of this chapter describes the P-Series printer control language
codes that may be sent from a host computer attached to the printer, in order
to invoke and configure numerous P-Series emulation functions.
Format for Control Code Descriptions
The following information is listed for each code function (where applicable).
NameThe title or function of the command.
ASCII Code The ASCII mnemonic for the command is shown. Command
sequences are in 7-bit (ASCII) form.
Hex CodeThe code or command sequence in hexadecimal numbers.
Dec CodeThe code or command sequence in decimal numbers.
PurposeThe function(s) of the control code.
CommentA discussion of the uses of the code or command sequence,
including exceptions or limitations to its use.
ExampleA sample is provided for some control codes when it is possible
to illustrate the effect of a control code, or if a specific syntax is
required to complete the program statement (i.e. Horizontal Tab
set, Vertical Tab set/clear).
IMPORTANT
If you specify any parameters for a c ontrol code other than the ones that
are defined in the control code description, unpredictable results may
occur.
Special Function Control Code-Control Code Header
A Special Function Control Code (SFCC) is used to extend the control code
protocol. The SFCC is the control code introducer (or header); it is the first
input in the sequence of parameters. The general control code sequence is:
(SFCC)(parameter 1)(parameter 2)...(parameter
P-Series codes can use any value from 1 through 255 (hex 01 through hex
FF) as control code introducers. For example, bold print can be enabled in the
P-Series protocol using any of the following control code introducers:
ASCII: SOH GHex: 01 47Dec: 171
ETX G03 473 71
ESC G1B 4727 71
^ G5E479471
~ G7E4712671
NOTE: The SFCC has been set to ESC for all examples.
n
)
26
Command Line
Command Line
Print format, print mode, or international language selection can be controlled
by a longer sequence known as a Command Line. Command Lines are string
type commands placed between complete lines of text and affect the text
which follows. The protocol has six Command Lines: PMODE, OSET, PSET,
LPI, LINES, and INCHES. Each of these Command Lines is discussed in this
chapter under the appropriate Control Code function.
For example, the form length (in inches) can be set using the following
command line:
SFCC INCHES;
where:nis the whole number of inches, andfis the fractional
increment in 0.5 inch increments.
When using the SFCC in a Command Line, the SFCC must be the first nonblank symbol in the line (space, hex 20, is a blank symbol). In addition,
characters following spaces (other than a valid line terminator) in a Command
Line are ignored so that user comments can be included on the Command
Line. The valid line terminators are Form Feed (FF), Line Feed (LF), and
Carriage Return (CR); however, when used in the Command Line, these line
terminators do
error, the command is not executed, and the line truncates to include any of
the error messages listed in the following table:
Error MessageExplanation
Invalid ParameterThe command received cannot be
Parameter Out of BoundsA decimal parameter in the command is out
Missing ParameterOne or more necessary parameters is
not
cause any paper motion. If a Command Line contains an
Table 2. Command Line Error Messages
n.f
interpretedcorrectly, or the correctcommand
is not followed by an expected delimiter.
of range.
missing from the command.
Illegal Character in Decimal
Parameter
TooManyDigitsinDecimal
Parameter
A decimal parameter contains a non-numeric
character, or a fractional digit is out of range.
A decimal parameter contains too many
digits.
Attribute Set and Reset Codes
Certain print attributes are set and reset (turned on or off) by using the
appropriate SFCC code sequence and the numbers 1 or 0. These may be
either the hexadecimal code 01 and 00, or the ASCII code for the printable
symbols of decimal 1 and 0 (hexadecimal code 31 and 30, respectively).
Expanded Print, Superscript/Subscript Print, and Underline are attributes that
are set and reset this way.
27
Chapter2Configuring the P-Series Emulation with Control Codes
Control Code Reference Index
This index lists each printer command by function, ASCII mnemonic, and the
page where the command is explained in detail. The rest of this chapter
defines the control code functions for P-Series Emulation mode. The
commands are listed in alphabetical order.
NOTE: Some control code functions can be accomplished using another
control code sequence or via control panel selection.
FUNCTIONASCII CODEPAGE
Paper Motion
Form FeedFF43
Line FeedLF45
Vertical TabVT57
Page Format
BackspaceBS30
Carriage ReturnCR32
Forms Length Set (Inches)SFCC INCHES;
Forms Length Set (Lines)SFCC LINES;
Form Margins, SetSFCC v44
Line Spacing 1/6 Inch (6 lpi)SFCC 246
SFCC LPI;
Line Spacing 1/8 Inch (8 lpi)SFCC 047
SFCC LPI;
Line Spacing 8 or 10.3 lpi (1 line only)ACK47
SFCC f
Line Spacing 7/72 InchSFCC 148
Line Spacing
Line Spacing
VFU CommandsDLE through US57
Superscript/Subscript PrintingSFCC S
Superscript/Subscript Printing ResetSFCC T55
UnderlineSFCC –56
Graphics
Plot, Even Dot (High Density)EOT51
SFCC d
Plot, Odd Dot (Normal Density)ENQ51
SFCC e
Other Functions
BellBEL30
Character Set SelectSFCC l
Characters 80-9F (Control Codes)SFCC 735
Characters 80-9F (Printable Symbols)SFCC 635
Character Set Select: ECMA ExtendedSFCC OSET;
Character Set Select: InternationalSFCC R
Chapter2Configuring the P-Series Emulation with Control Codes
Backspace
ASCII Code BS
Hex Code08
Dec Code8
PurposeMoves the logical print head to the left one character space
toward the first character column.
CommentWhen configured from the front 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.
ExampleIf you were to print five “T” characters, then two BS commands,
then two “=” characters, the output would look like the sample
below.
Bell
ASCII Code BEL
Hex Code07
Dec Code7
PurposeSounds the printer's buzzer/beeper.
CommentThe BEL function sounds the buzzer/beeper for 0.2 seconds
upon receipt of this command.
30
Loading...
+ 286 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.