This User Guide is to be considered as an enhancement to the standard documentation of your
printer. Hence keep the printer’s standard documentation ready as your particular printer model is
pictured in detail.
CHAPTER 1: CONTROL PANEL ............................................................................................................ 7
BASIC ELEMENTS ........................................................................................................................................ 7
MENU STRUCTURE...................................................................................................................................... 8
MENU PARAMETERS.................................................................................................................................... 9
MENU PRINTOUT EXAMPLE....................................................................................................................... 17
FIGURE 21–FX-1180SUPPORTED CHARACTER SETS................................................................................... 58
5
IGP for Dot Matrix Printers User Guide
ACKNOWLEDGMENTS:
“IBM" and “Proprinter” are trademarks of International Business Machines Corporation.
“Printronix” and “PGL” are trademarks of Printronix, Inc.
“Epson” is a trademark of Seiko Epson Corp.
“QMS” and “Code V” are trademarks of Konica Minolta-QMS Inc.
“HP” is a trademark of Hewlett-Packard Company.
“Genicom” is a trademark of Genicom L.L.C.
“Acrobat
This printer makes use of the FreeType Engine software in accordance with the FreeType Project
License, based in part on the Catharon Typography Project in accordance with the Catharon
Open Source License.
®
Reader” is a trademark of Adobe Systems Incorporated.
6
Chapter 1: Control Panel
Chapter 1: Control Panel
The panel consists of 2 Function Keys (Online sets the printer to online/offline mode, Setup
enters setup mode) and 4 situation dependent soft keys (1, 2, 3, 4). The function of the soft keys
is denoted by the display. For further explanations of the control panel functions, please refer to
the User Guide of the printer.
On some printer models the menu may be locked. In order to enter the menu in this case, press
the Menu key (1) for approximately 5 seconds.
Basic Elements
NOTE: For further informations on the control panel please refer to the printers
2 x 16 Digit
LCD
1
2 3 4
Online
Setup
Figure 1 - Control Panel Elements
Quick Start Guide or the User Guide on the Online CD-ROM.
Skip = 0.5 Inch
Skip = 1.0 Inch
Skip = 1.5 Inch
Skip = 2.0 Inch
Skip = 2.5 Inch
Skip = 3.0 Inch
Skip = 3.5 Inch
On*
On
A menu is loaded. Selection between five
menus can be made.
The currently selected menu returns to the
default values (factory settings).
Switches between normal and quiet mode
printing. For all printing modes, the print-out is
made with the bidirectional method in quiet
mode printing. In the first step the first row of
pins is activated, during the second step the
second row is used.
Selects the character style and its quality.
The abbreviation NLQ stands for Near Letter
print quality, which means that the printer works
faster but with a slightly lower resolution. LQ
stands for Letter Quality, which means that the
resolution is higher at the expense of a slightly
slower speed.
Sets the characters per inch (character pitch).
Sets the lines per inch (line density).
Skips the perforation; 7 different values (in
inches) can be defined.
Determines whether a Form Feed is invoked at
Top Of Form. When set to Off, a host Form
Feed command is ignored if the current position
is at TOF.
Compressed 8 LPI. When set to On, all text
printed at 8 LPI or greater is printed in the
compressed font.
9
IGP for Dot Matrix Printers User Guide
Parameter group Parameter Description
Graphic
CVCC
CV Lang
SFCC
PG Lang
PY Then
PN Then
1
:
94*
:
255
US*
UK
Swe/Fin
Nor/Dan
Japan
French
Italian
Spanish
1
:
126*
:
255
ASCII*
German
Swedish
Danish
Norway
Finnish
English
Dutch
French
Spanish
Italian
Turkish
None*
All
Term
FreeFmt
None*
All
Term
FreeFmt
Defines the decimal ASCII character code for
the Code V Command Character
Defines the language substitution set for Code
V block characters.
Defines the decimal ASCII character code
between 1 and 255 for the PGL Command
Character (called the Special Function
Command Character by Printronix).
Defines the language substitution set for PGL
block characters.
Defines how data on the same line as the Code
V ^PY command is treated. The possible
settings are:
None All data, plus the line terminator,
are ignored.
All All data is executed.
Term All but the terminator is ignored.
FreeFmt Characters on the ^PY line are
ignored if the state of FreeFmt is
On/Enabled in the Config Menu
"Graphics" "FreeFmt".
Defines how data on the same line as the Code
V ^PN command is treated. The possible
settings are:
None All data, plus the line terminator,
are ignored.
All All data is executed.
Term All but the terminator is ignored.
FreeFmt Characters on the ^PN line are
ignored if the state of FreeFmt is
On/Enabled in the Config Menu
"Graphics" "FreeFmt".
10
Parameter group Parameter Description
Graphic (continued)
Modplot
Sz1Font
Version
Descend
Vscale
Bar Res
Freefmt
Auto PY
DarkBar
Dot Pos
On*
Off
Roman HS
Sana Serif HS
Courier HS
OCRA HS
OCRB HS*
Block
2*
1
Fixed*
Auto
Off
Style 1*
Low*
High
On
Off*
Off*
On
On*
Off*
Baseline*
Top of Cell
Chapter 1: Control Panel
Determines whether text following graphics is
re-aligned to the vertical spacing defined by the
LPI setting, relative to Top of Form.
Selects the character style of the size 1 block
character. This font style will be used only for
horizontal size 1 block characters that are not
reverse image, all other orientations and
reverse image will use the block character font.
Note: In order to make size 1 block characters
work within PGL reverse fields, the font chosen
must be "Block".
Allows for the setting of Version 1 or Version 2
Code V (Default) compatibility.
Parameter controls the line spacing when
descenders are present.
Parameter defines whether vertical block
characters will be scaled to the same
dimensions as horizontal block characters.
This control panel option applies only to Code
V Extended Mode bar code commands. If you
want the 300 DPI bar codes, but elect not to
use the EXTENDED graphics commands, this
menu option can be used. If High is selected
you will get 300 DPI bar codes. If you select
Low, you will get the standard 60 by 72 bar
codes that appear on line printers. This switch
only changes bar code dpi while in Code V (not
PGL, etc.). This switch has no effect in the
case where ^IPARAM,EXTENDED has been
activated.
Option turns on free format in Code V graphics
whenever a ^PY is encountered.
If Auto-PY is On, the printer is automatically in
Code V graphics mode, and a ^PY command is
not needed in the file being sent to the printer
to begin Code V graphics.
Barcodes can be printed in two densities.
"on" means 180 dpi Full Space.
"off" means 180 dpi Half Space.
When set to "Baseline", the specified position is
interpreted to be the baseline position of the
character. Use this setting if you are upgrading
from a line printer application. Use the “Top of
Cell” setting if you are upgrading from a laser
printer application.
7 Bit No 2 Stop
7 Bit Even 1 Stop
7 Bit Odd 1 Stop
7 Bit Even 2 Stop
7 Bit Odd 2 Stop
7 Bit Mark 1 Stop
7 Bit Spc 1 Stop
7 Bit Mark 2 Stop
7 Bit Spc 2 Stop
8 Bit No 1 Stop*
8 Bit No 2 Stop
8 Bit Even 1 Stop
8 Bit Odd 1 Stop
8 Bit Mark 1 Stop
8 Bit Spc 1 Stop
Sets the maximum size black character
(horizontally) that will be printed using the
TrueType font. Characters above this maximum
size will be printed using the previous vector
style block characters.
Sets the maximum size black character
(vertically) that will be printed using the
TrueType font. Characters above this maximum
size will be printed using the previous vector
style block characters.
Selects the emulation.
Turns on or off the recognition of the ESC
character
Turns on or off the recognition of the Alternate
ESC character (^ in column 1)
On: Printer prints bi-directional.
Off: Printer prints left to right.
Selects the baud rate. Printer and computer
must have the same baud rate
Sets the number of data bits.
The parity test for received data bytes can be
selected. NO causes transmission in both
directions without parity bit. If EVEN or ODD is
selected, the bytes are checked if they have
even or odd parity. The selection of MARK or
SPACE causes a data byte transmission with
parity bit, but without checking the received
data. Transmission data with parity bit is always
marked with 1 (MARK) or 0 (SPACE).
Selects one or two stop bits per data byte.
Selects the protocol for data transmission
12
Parameter group Parameter Description
I/O (continued)
DTR
Interf. Interf. = Share*
Buffer Buffer = 0 KB
ETH-INT
IP Addr
Gateway
Subnet
Code 7F Fill*
Pr80-9F Off
Lang US*
DTR = DTR*
DTR = READY
Interf. = Parallel
Interf. = Serial
…
Buffer = 128 KB*
IP Addr = OCTET1
…
IP Addr = OCTET4
Gateway = OCTET1
…
Gateway = OCTET4
Subnet = 0
…
Subnet = 255
Ignore
Del Chr
Del Buf
Space
On*
UK
French
German
Italian
Swe/Fin
Nor/Dan
Spanish
Japanese
Portuguese
Fren Eps
UK Eps
Nor/Dan Eps
Ital Eps
Span Eps
Nor Eps
Dan II Eps
Span II Eps
Lat Amer Eps
Chapter 1: Control Panel
DTR signal is assigned to DTR line
READY signal is assigned to DTR line
DTR = Pin 20 (25- pin female connector)
DTR = Pin 4 ( 9- pin female connector)
Selects the interface. Printer is configured
either for parallel or serial connection or in
automatic change for both.
Note: Serial is optional.
Selects the size of the interface buffer
In this parameter group you can choose
settings for the internal Ethernet interface.
This menu level offers the possibility to set the
IP address, which is divided into four digit
groups (octet 1 to 4).
Possible settings: 0 to 255
This menu level offers the possibility to set the
Gateway address, which is divided into four
digit groups (octet 1 to 4).
Possible settings: 0 to 255
This menu level offers the possibility to set the
Subnet mask address , which is divided into
four digit groups (octet 1 to 4).
Possible settings: 0 to 255
Determines what to do when a 7F character is
parsed in the data stream.
Selects whether or not to print characters for
codes 80-9F
Selects the language set defined by character
substitution within the ASCII character set in
locations 20 Hex to 7F Hex.
LtMarg 1 to CPI X 13.6 Sets the left margin column. The maximum
RtMarg 1 to CPI X 13.6 Sets the right margin column. The maximum
Auto-CR Auto-CR = On
Auto-CR = Off*
Auto-LF Auto-LF = On
Auto-LF = Off*
Line-Wr Line-Wr = Off*
Line-Wr = On
Wrap-LF Wrap-LF=Off*
Wrap-LF=On
MenLock MenLock = Off
MenLock = Menu*
MenLock = All
Op Lang English*
German
French
Italian
Spanish
Selects the character set that defined the
characters in location 80 Hex to FF Hex.
Locations 20 Hex to 7F Hex will be the
standard ASCII characters.
value is a function of the CPI times the
printable area (13.6 inches)
value is a function of the CPI times the
printable area (13.6 inches)
Switches the automatic carriage return on
or off after receiving the signal CR
Switches the automatic line feed (LF) on
or off after receiving the signal CR
Parameter will cause an automatic Carriage
Return when attempting to print data past the
right margin
When this parameter and the Line Wrap
parameter are both set to ON, an automatic
Carriage Return and Line Feed will occur when
attempting to print data past the right margin
MenLock = Menu : Menu-key is locked
MenLock = All: Setup-, Paper-, Font,
CPI locked.
Printer power has to be toggled to activate
locking
The locked keys can only be re-activated by
holding the Setup-key while switching the
printer on.
The menu will be shown on the LC display in
the selected language.
14
Parameter group Parameter Description
Paper
Single
Formlen
Lines
Standard
FormAdj
Trac1
Formlen
FormAdj
AutoTear View/Tear = Off*
6
:
72*
:
132
No format
DIN A3
DIN A4
DIN A5
DIN B5
DIN B6
DIN C6
Executive
Letter
Legal
Selects the paper parameters for Formlen ,
FormAdj and Head, for the Single feed and
Tractor feed forms.
Sets the form length by No of lines of the actual
LPI setting. (E.g. 72 lines at 6 LPI will result in
12 ins form length). Form length may be
selected in the range of 3 ins to 21 ins. Form
length selected will not be affected by changing
LPI later on.
Selects the form length by standard formats.
The LC display will indicate "No format" if a
Form length is selected by the Line function or
ESC sequence, which does not correspond to a
standard format
Sets the first print position of a form in n/72
inch, separately adjustable for each paper path.
NOTE: "Single" does not apply to some printer
models.
Selects the Auto View / Auto Tear function.
If Auto View is selected, paper will be moved to
make the last printed line visible (Auto View
position). When data is received paper will
move to last print position and printing
continues. If no data is received for the
selected interval paper will be moved to Auto
View position
If Auto Tear is selected, the perforation of the
paper will be moved to the Tear-off position As
soon as data is received the paper will move to
the last print position and printing will continue.
If no data is to be printed for the selected
interval, paper will be moved to Tear-off
position
If the parameter Tear at TOF is set, the paper
perforation is automatically positioned at the
tear off edge as long as the current print
position is TOF. Feeding takes place after
approx. 1.5 sec (hold time). If any data is
received during this period of time printing will
continue and the paper will not be fed to the
tear-off position. It must be noted that the
printer may only be switched off when the print
position is at TOF.
15
IGP for Dot Matrix Printers User Guide
Parameter group Parameter Description
Sl.Zero Off*
On
VFU
VFUEnab
VTChan
SkpWhn
PapOpt ASF-R
Off*
On
1
:
12
Unused
Before*
After
ASF-F
Trac2
Trac3
AutoTRA
AutoASF
Selects if normal zero (0) or the slashed zero
(Ø) is printed.
Selects whether VFU is active for use with
Vertical Format Units
Selects the Vertical tab channel
Sets up when paper movement happens on
hitting bottom of form using VFUs
T2150/T2250
Activation of optional Tractors and SheetFeeders: installed or not installed.
T2265+…T2380
These Parameters only appear if at least one
optional Tractor (TRA) or Sheet Feeder (ASF)
is installed. It regulates the activation of
optional paper ways when there is no more
paper left in one of them:
T1=T2=T3
and/or:
ASF1=ASF2
or:
Off
16
Menu Printout Example
NOTE: The actual print out of your printer may differ from this example.
Chapter 1: Control Panel
17
IGP for Dot Matrix Printers User Guide
18
Chapter 1: Control Panel
WebPanel Enhancements
Enhancements have been made to the WebPanel embedded web server pages to provide
management of the features provided by the printer.
The Graphics page, which is special to the IGP printer, is shown below.
NOTE: Dependent on the printer model and the used Ethernet interface the menus
may slightly differ from the images shown below.
Figure 3 - WebPanel Enhancements
19
IGP for Dot Matrix Printers User Guide
Advanced Menu
In order to enter the Advanced Menu you need to keep the key "Online" pressed while switching
on the printer. Once "Testmode" is displayed the Advanced Menu mode is activated.
Parameter group Parameter Description
ASCII80
ASCIIa136
H-Dump on
Formlen 11"
AGA always*
Paphand Headup
Cx-Bid on*
Wrap on*
Sound on*
Single on
Pap.back normal*
HvyForm on
Sleepmod on*
Serial N
Asset N
GrSpeed triple*
GrFreq normal
Jobcntl off*
on
off*
off*
12"
off
once
on*
off
Pagewid
Leftzone
Rightzone
Physlm
off
off
off
off
dark
off*
off
Variable Settings for the serial and the asset no. of the
normal
double
high*
on
Prints self test 80 or 136 columns. Can be
halted by pressing the Online key. Can only be
exited by powering the printer off.
This test enables analyzing interface data sent
from host to printer.
Defines default form length.
T2150/T2250
Determines how often the AGA (automatic gap
adjustment = head to platen distance) is carried
out.
T2265+ … T2380
Decides whether the AGA is on or the head
gap needs to be set manually.
Settings to improve handling of critical paper.
Sets Parallel Interface to IEEE1284 on or off.
Enables/disables line wrap.
Enable/disables sound.
Default setting depends on printer model.
Enables/disables the manual single sheet
mode.
Suitable to improve paper handling with gray or
colored rear side.
Commands
@PJL ECHO ECHO Command X X
@PJL EOJ
@PJL EOJ NAME=
@PJL INFO STATUS INFO (Information Request)
@PJL INFO CONFIG INFO of the printer configuration X @PJL INFO VARIABLES INFO of varibles which can be set
@PJL INFO MEMORY INFO about the Memory of the
@PJL RDYMSG DISPLAY = RDYMSG (Ready Message)
@PJL USTATUS DEVICE = ON
@PJL USTATUS DEVICE = OFF
@PJL USTATUS DEVICE =
VERBOSE
@PJL USTATUS JOB = ON
@PJL USTATUS JOB = OFF
@PJL USTATUS PAGE = ON
@PJL USTATUS PAGE = OFF
@PJL USTATUSOFF
@PJL JOB NAME =
@PJL JOB FILE =
@PJL JOB START =
@PJL JOB END =
@PJL JOB COPY =
@PJL ENTER LANGUAGE Exit PJL and start normal parser X @PJL INFO USTATUS X X
@PJL USTATUS TIMED X X
The PJL functionality works with the internal and external (TallyCom III) ethernet interface and
can be switched on/off via the new setting JobCntrl (in the online menu). Default is “off”.
EOJ (End of Job) Commands: X
Command
by SET
printer
Command
USTATUS (Unsolicited Status)
Commands
JOB (Start of Job) Commands X
X X
X
X X
X X -
- X
X
X
X
X
X
X
X
X
X
X
X
-
Line
printer
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
21
IGP for Dot Matrix Printers User Guide
22
Chapter 2: Emulations
Chapter 2: Emulations
MT660 Emulation
This language is an emulation of the MT660 native language, which was based on the ANSI 3.64
standard. This language has been enhanced as needed throughout the development of the
MT661 Series and T6000 Series printers. It is identified as the MT660 emulation on the control
panel and in printer reports.
Character Definition and Format
This section presents and explains the Reserved Control Codes and Escape Sequences that
control how printed output will look, where it will print, characters that are available, etc.
Attributes, Print Position, and Type Styles
This escape sequence is used for setting up fonts by allowing you to control the print attributes
(boldface, underline, overline, etc.), print position (superscript and subscript), and type style
selection. The basic sequence is:
ESC [ n1 ; n2 ; nx m ASCII Command
1B 5B 3B 3B 6D Hex Equivalent
This sequence changes both the primary and secondary fonts, but does not change the character
set selected except when changing into or out of the OCR sets. In this command you may
combine codes for attributes, print positions, and type styles. You may send all of the attributes
available and the printer will act on all of them. However, when you send type style codes and
super- and subscript codes, the printer will act only on the last type style code and whichever of
the super- and subscript commands appears last.
The codes in the following lists may be listed in any order in the command. Each code must be
separated from the following code by a semicolon.
Using this escape sequence, you can select such things as Italicized Courier font by sending a
code to select the Courier type style along with a code to select italic printing (see the next
section for an explanation of combining character definition and format codes).
100 313030 Roman
101 313031 San-Serif
102 313032 Prestige
Figure 4 – Character Definition and Format Codes
Combining Attributes
As we mentioned, any of the attributes discussed in the ESC [nm sequence may be included in a
single escape sequence. The escape sequence begins the same as one requesting a single
code but changes after the first attribute byte. A semicolon (;) must be inserted between each
code listed in the sequence. For example, to print a single word in a sentence with the boldface
and underline attributes, send the escape sequence
ESC [ 1 ; 4 m
1B 5B 31 3B 34 6D
immediately before the word in the data stream and follow the word with the escape sequence:
ESC [ 0 m
1B 5B 30 6D
Example: To boldface and italicize the word "only" in the sentence:
Enter: Boldface and italicize the word ESC[1;3monlyESC[0m in this sentence.
Printer Output: Boldface and italicize the word only in this sentence.
24
Chapter 2: Emulations
Languages and Character Sets
The numerous language and character set selections are defined in the Character Sets section of
this manual. The following commands can be used:
Language Panel Display MT660 G0 MT660 G1
ISO 4 – UK
ISO 6 – US
ISO 11 – Swedish/Finnish
ISO 14 – Japanese
ISO 15 – Italian
ISO 16 – Portuguese
ISO 17 – Spanish
ISO 21 – German
ISO 60 – Nor/Danish
ISO 69 – French
Character Set Panel Display MT660 G0 MT660 G1
Code Page 437 – IBM Proprinter
Code Page 850 – Latin 1
UK ESC(A ESC)A
US ESC(B ESC)B
Swe/Fin ESC(H ESC)H
Japanese ESC(J ESC)J
Italian ESC(Y ESC)Y
Portuguese ESC(L ESC)L
Spanish ESC(Z ESC)Z
German ESC(K ESC)K
Nor/Dan ESC(’ ESC)’
French ESC(f ESC)f
Turkish ESC(. ESC).
HP Roman8 ESC(0x83 ESC)0x83
SAP8859-1 ESC(+ ESC)+
Italic ESC(Y or
ESC (4
ESC-A or
ESC)%
ESC)& or
ESC-B
ESC-L
ESC)Y or
ESC)4
Figure 5 – Language and Character Set Selections
25
IGP for Dot Matrix Printers User Guide
Primary and Secondary Fonts and Languages
This escape sequence allows a font style and some language substitutions to be loaded into the
primary (G0) and secondary (G1) areas. To load your primary and alternate character sets, use
the sequence:
ESC [ n1 ; n2 ! s
1B 5B 3B 21 73
Where:
= the value field for the primary (G0) character set.
n
1
n
= the value field for the alternate (G1) character set.
2
There are six groupings of Character Sets to select from on your printer.
ASCII Values
Language Gothic Courier Draft DP
(user default) 10 40 100 or 700 0
US 11 41 101 or 701 1
German 12 42 102 or 702 2
Norwegian/Danish–T6 13 43 103 or 703 3
French–T6 14 44 104 or 704 4
UK 15 45 105 or 705 5
Spanish 16 46 106 or 706 6
Swedish/Finnish–T6 17 47 107 or 707 7
Italian–T6 18 48 108 or 708 8
Special Characters 19 49 109 or 709 9
Character Set ASCII
OCR-A 600
OCR-B 610
Figure 6 – Language and Font Selections
In the examples that follow, we show you how to use this escape sequence in a variety of ways.
Example 1:
To select US Data Processing as the primary set (n
alternate set (n
= 8) use the escape sequence:
2
= 1) and Italian Data Processing as the
1
ESC [ 1 ; 8 ! s
1B 5B 31 3B 38 21 73
Example 2:
You may change to another primary set without changing the alternate set by omitting n
in the
2
sequence. For example, the original escape sequence shown above can be modified to:
ESC [ 1 2 ! s
1B 5B 31 32 21 73
This escape sequence would change the primary character set to German Gothic
= 12). The alternate character set remains unchanged.
(n
1
Example 3:
26
Chapter 2: Emulations
To change the alternate character set to the Spanish Courier (n
= 46) without changing the
2
primary set, modify the escape sequence to:
ESC [ ; 4 6 ! s
1B 5B 3B 34 36 21 73
Selecting Primary and Secondary Sets
There are two ways to access the primary and alternate character sets. Once the primary and
alternate character sets are loaded, they can be accessed using the Shift In (SI, HEX 0F) and
Shift Out (SO, HEX 0E) codes to select the sets for actual printing; SI selects the primary set, and
SO selects the alternate set.
The second way to access the primary and alternate character sets uses the 8th bit to select
either primary or alternate set. To use this method, set the 8th Bit Parameter to Data in the
Configuration Menu. With 8th Bit set to Data, when the 8th bit is high, it performs the same
function as the SO Command; it selects the Alternate Character Set. When the 8th bit is low, it
performs the same function as the SI Command; it selects the Primary Character Set.
27
IGP for Dot Matrix Printers User Guide
Characters Per Inch
The following escape sequence selects the characters per inch (CPI):
ESC [ n w
1B 5B 77
Where:
n = A value from the table below.
CPI ASCII HEX
5 CPI 9 39
6 CPI 10 3130
6.5 CPI 14 3134
6.67 CPI 11 3131
7.5 CPI 12 3132
8.33 CPI 13 3133
8.57 CPI 15 3135
9 CPI 19 3139
10 CPI 4 34
12 CPI 5 35
12.5 CPI 16 3136
13.33 CPI 8 38
15 CPI 1 31
16.67 CPI 6 36
17.14 CPI 17 3137
18 CPI 18 3138
20 CPI 7 37
Figure 7 – CPI Selections
The CPI value may be changed at any time. However, selecting a new CPI value cancels a
previous horizontal size selection (see the next escape sequence), and selecting a new
horizontal size cancels the previous CPI value.
28
Chapter 2: Emulations
Character Height and CPI
This sequence allows you more control over how characters will look when they are printed out
on the printer. With this command you can change both the character height and the character
width. This allows you to print in wide characters for increased readability. To change character
size, use the following escape sequence:
ESC [ n1 ; n2 Sp B
1B 5B 3B 20 42
Where:
n
= one of the values from the following table.
1
n1 values Char Height
ASCII HEX amount of increase
100 313030 = normal height
200 323030 = twice normal height
Figure 8 – Character Height Multipliers
Note: Changing the height of a character set will change the distance the
paper moves in response to a Line Feed Command.
= a width multiplier in the range of 1 (.01x) to 1000 (10x). For example, a
n
2
value of 50 would be .50 X 10 CPI = 5 CPI, and a value of 200 would be 2.00 X
10 CPI = 20 CPI. The result is variable to within a decipoint, so that a value of
128 would be 1.28 X 10 CPI = 12.8 CPI.
The table above lists all of the available CPIs on this emulation and the values used to select
them. This command will work with any alphanumeric font.
A new CPI selection will cancel the horizontal size selected with this command, and selecting a
new horizontal size cancels the previous CPI selection.
29
IGP for Dot Matrix Printers User Guide
Page Formatting
Many of the parameters for formatting the print and page characteristics (such as LPI, Horizontal
Tabs, etc.) can be set from your host computer using escape sequences. This section discusses
and explains the Escape Sequences and Reserved Control Codes used for page formatting.
Lines Per Inch
The following escape sequence selects lines per inch (LPI):
The LPI may be changed anywhere on a form. The current LPI setting is used to compute the
physical form length when loading a VFU or selecting a form length. Changing the LPI does not
change the physical form length, bottom-of-form skip, vertical tab stops, or VFU channel
positions. However, it does change the size of the units by which they are set and reported. For
example, an 11 inch form at 6 LPI has 66 lines, but the same form length has 88 lines at 8 LPI.
Variable Line Spacing
You may set up these emulations to use variable line spacing in increments of n/720". To set up
variable line spacing, use the sequence:
ESC [ < n Sp h space required before h
1B 5B 3C 20 68
Where:
n = Desired line spacing in increments of n/720".
30
Chapter 2: Emulations
Horizontal Tabs
The MT660 sets default tabs at every eighth column. The following commands allow the user to
manipulate Horizontal Tabs according to job requirements.
Setting Tabs
To set up to 16 horizontal tabs, use the sequence:
ESC [ n1 ; n2 ; n3 ; ...n16 u
1B 5B 3B 3B 3B 75
Where n
specified).
Example:
To set horizontal tabs at columns 15, 30, and 45, use the sequence:
ESC [ 15 ; 30 ; 45 u
1B 5B 3135 3B 3330 3B 3435 75
Current Position
Horizontal tabs may also be set at the current position while sending a line of print data. To set a
horizontal tab at the current position, use the sequence:
ESC H
1B 48
Clearing Tabs
To clear tab stops at specific columns, use the sequence:
ESC [ n1 ; n2 ; n3 ; ...n16 q
1B 5B 3B 3B 3B 71
= The column numbers assigned as tab stop locations (up to 16 may be
1–n16
Where n
Clearing All Horizontal Tabs
To clear all horizontal tabs (including the default tab settings), use the sequence:
ESC [ 3 g
1B 5B 33 67
Clearing Current Horizontal Tab
To clear a horizontal tab at the current position, use the sequence:
ESC [ 0 g
1B 5B 30 67
31
= Previously selected tab stops that will be removed.
1–n16
IGP for Dot Matrix Printers User Guide
Setting Left and Right Margins
This escape sequence allows the user to set the left and right margins from the host. However,
instead of using column numbers, which change when the CPI setting is changed, this command
sets absolute margins in increments of 1/120 of an inch that do not change location when the CPI
selection is changed.
The basic margin setting sequence is:
ESC [ LM ; RM " s
1B 5B 3B 22 73
Each margin setting is calculated from the first dot position on the page. For example, if you want
the left margin set 1 inch from the first dot position and the right margin set at 8 inches from the
first dot position, multiply 120 x the desired inch setting and enter that amount in the proper
location in the escape sequence.
To finish this example, you would finally enter margin values of 120/120 and 960/120, which
would give you the escape sequence:
ESC [ 120 ; 960 " s
1B 5B 313230 3B 393630 22 73
32
Chapter 2: Emulations
Setting Vertical Format
The top of the first line of print on a page is called the top-of-form (TOF) position. Vertical
position is measured from this point. The form length is the distance from one TOF to the next.
The bottom-of-form (BOF) skip is the distance between the last line of print on the page and the
next TOF. Once the TOF and form length have been set, the paper will automatically advance to
the next TOF whenever the print position advances into the BOF skip area. Vertical formatting
includes the following settings:
Physical length of the total form.
Position of the first printed line on a form (TOF).
Position of bottom-of-form and/or bottom-of-form skip.
Position of any other vertical stops on a form.
There are three ways to set vertical format. One way involves using the menus on the printer to
set the desired parameter values through the control panel. The other ways involve sending
escape sequences or control codes from the host computer.
Form Length Select
In the IEEE 1284 interface the form length can be selected through the control panel or by
sending the Form Length Select (FLS) escape sequence from the host. The basic FLS escape
sequence is:
ESC [ n t
1B 5B 74
Where:
n = Form Length
If n = :
0, form length is 11 inches.
1, form length is 12 inches.
2–255, form length is equal to the value of n (in lines).
The FLS Command resets the current paper position as the TOF. Make sure the
paper is aligned at the desired top-of-form before sending the FLS Command.
To calculate form length, multiply the form length in inches by the lines per inch.
For instance, a 15.5" form printed at 6 LPI has a form length of 93 lines:
15.5" Form Length x 6 LPI = 93 (Total lines on form)
To set the form length for a 15.5" form, send the sequence:
ESC [ 93 t
1B 5B 3933 74
Even though the form length can be set in number of lines, the printer divides the Form Length in
lines by the LPI setting and stores the form length in inches, not number of lines. Subsequent
changes in LPI will not change the physical form length.
33
IGP for Dot Matrix Printers User Guide
VFU Download Commands
VFU download commands are used with the IEEE 1284 and serial interfaces only. The VFU
Load not only sets values for the form length and bottom-of-form skip (see also, Skp Whn in
Chapter 2), but also sets up vertical tabs on the page that are used by VFU Channel Commands.
Load the printer VFU memory from your computer and then use VFU Channel Commands to
move the paper to specific locations. Your printer uses electronic memory for its VFU, allowing
the page format to be defined by commands from your computer up to a maximum storage of 255
lines.
Form lengths and vertical tab positions stored in the VFU memory are based on the Lines Per
Inch (LPI) setting in effect at the time the VFU is loaded. Settings are not affected by changes in
LPI or by entering Plot Mode.
VFU Load
To load the VFU, two escape sequences are needed, one to begin and one to end the load.
The VFU Load Command resets the current paper position as the top-of-form. Make sure the
paper is aligned at the desired top-of-form before sending the VFU Load Command.
To begin a VFU download, use the sequence:
ESC [ < 1 h
1B 5B 3C 31 68
To end a VFU download, use the sequence:
ESC [ < 1 l l = lower-case L
1B 5B 3C 31 6C
After the Begin-load escape sequence, all data, except ASCII control codes, is treated as VFU
formatting information and is placed in VFU memory. All ASCII control codes and Escape
sequences are ignored except the End-load sequence.
VFU Load Errors
All data must be in the proper VFU Load format. If an error occurs during the load or a load
overruns memory length, the load is canceled and any remaining VFU data is printed. Canceled
loads default to the current form length setting (as set from the control panel or with the FLS
Escape Sequence).
To use the Vertical Format Units you download you must send a Vertical Channel Command,
discussed below.
34
Chapter 2: Emulations
VFU Data Format
The VFU Data Format includes two bytes of data for each line of the form, starting with line 1.
The two bytes of data indicate channel number(s). Traditionally, Channel 1 is reserved for TopOf-Form (TOF) and Channel 12 is reserved for Bottom-Of-Form (BOF). The Vertical Tab (VT)
Control Code moves the paper forward to the next marked tab position on Channel 2. The format
for the byte pair is:
Bit: 7 6 5 4 3 2 1 0
Value: x 1 C6 C5 C4 C3 C2 C1 Byte 1
x 1 C12 C11 C10 C9 C8 C7 Byte 2
Where:
Bit 7 (x) = Not used.
Bit 6 = Always 1.
Bits 0–5 = VFU channels (C1–C12 = channels 1–12).
1 = channel present
0 = no channel
The byte-pairs for a sample load are shown below. The form length used for this example is 16
lines long; therefore, 16 byte-pairs are needed.
Byte Line Binary HEX Channel or Byte LineBinary HEX Channel or
There are varieties of commands and escape sequences used to select paper and print
movement functions. In this section, we present both the reserved commands and escape
sequences.
When entering or exiting the Character or Plot modes, any data in the print buffer is printed. In
Character Mode, the print position moves to the left margin of the current line, or to the current
dot row in Plot Mode. If no paper motion command is issued, printing continues at the current
print position. The following commands affect print position by moving the paper vertically or print
position horizontally or both.
Reserved Control Codes
Horizontal Tab HT 09
This control code moves the print position to the next horizontal tab stop on a line. For multiple
tabs, string multiple HT Control Codes together. The printer ignores HT Control Codes if
horizontal tabs are not set or if the command is placed in a line beyond the available tabs.
By default, the printer sets a tab stop every 8 columns. These default tab stops can be altered or
cleared using the Horizontal Tab Escape Sequence, listed earlier in this chapter.
In the MT660 Emulation, horizontal tab stops change physical location with a change of the left
margin or CPI. For example, if a stop is set at column 16, it will always be 15 columns from the
left margin, but the physical distance will change for all CPIs.
Form Feed FF 0C
The FF Control Code advances the paper to the first print position of the next form.
Vertical Tab VT 0B
When the VFU is enabled, the VT Control Code is used to advance the paper to the next VT
Channel location whether the printer is in Character Mode or Plot Mode.
The VT Channel is selected through the printer control panel. If the VFU is not enabled, a VT
Command causes a single line feed. If POPC is enabled, the preceding buffer contents are
printed before the VT Command is performed.
Carriage Return CR 0D
The Carriage Return (CR) Control Code moves the print position back to the left margin.
In Automatic Line Feed Mode (Auto LF), when the printer encounters a CR Command, any
printable data previously received is printed and the current print position (cursor) moves to the
first column of the next line.
36
Chapter 2: Emulations
Line Feed LF 0A
The Line Feed (LF) Control Code advances the paper one line in Character Mode or one dot-row
in Plot Mode.
If the Auto Carriage Return Parameter is set to ON, the printer also moves the print position to
the left margin when it receives a Line Feed Command.
If Print on Paper Command (POPC) is enabled, any character data previously received is printed
before the move.
Character Mode
When a LF Command is issued in Character Mode, the actual distance the paper moves
in response to a single LF Command depends on the LPI or the Variable Line Spacing
setting.
Plot Mode
When a LF Command is issued in Plot Mode, the actual distance the paper moves
depends on the plot density setting for vertical DPI. For example, with a density of 100
dots per inch the paper would advance 1/100", and with a density of 50 dots per inch the
paper would advance 1/50”.
Save Print Position
The Save Print Position (SPP) Command saves the current print position into the printer’s
memory. The SPP escape sequence is:
ESC P B
1B 50 42
Restore Vertical Print Position
The Restore Vertical Print Position Command moves the paper to the last saved vertical cursor
position. If no vertical cursor position has been saved on the current form, the paper moves to
the current top-of-form. In either case, the active print position is moved to the left margin. The
escape sequence is:
ESC P A
1B 50 41
37
IGP for Dot Matrix Printers User Guide
Relative Paper Motion
The Relative Paper Motion (RPM) Command moves the paper forward or backward a requested
number of increments from its current print position. Movement distance is dictated by the print
mode (Character or Plot).
Exceptions:
Reverse paper motion stops at the Top-Of-Form (TOF) location on the current
form.
Forward motion into a Bottom-Of-Form (BOF) skip area advances the paper to
the next TOF, then forward motion continues the remaining number of
increments.
The relative paper motion escape sequence is:
ESC [ c n n ! v
1B 5B 63 21 76
Where:
c = Paper movement direction.
0 = forward paper motion
9 = reverse paper motion
nn = Number of increments the paper moves.
Range = 1 to 99 ASCII or 31 to 3939 HEX.
Example 1:
Moving the paper forward 5 lines.
ESC [ 0 0 5 ! v
1B 5B 30 30 35 21 76
Example 2:
Moving the paper backward 13 lines.
ESC [ 9 1 3 ! v
1B 5B 39 31 33 21 76
Reverse Form Feed
The Reverse Form Feed Command moves the paper backward to the top-of-form (TOF) position
of the current form. If the paper is already positioned at the TOF when this command is received,
no movement will occur. The Reverse Form Feed escape sequence is:
ESC [ f
1B 5B 66
38
Chapter 2: Emulations
Forward Index
The Forward Index Command moves the paper forward one line with no change in horizontal
position. This command is valid only in Character Mode; it is not allowed in Plot Mode. The
Forward Index escape sequence is:
ESC D
1B 44
Example:
Input: A
Output:
A
B
C
D
After the CRLF, the print position would be on this line at the left margin.
ESCDBESCDCESCDDCRLF
Reverse Index
The Reverse Index Command moves the paper backward one line with no change in horizontal
position. This command will not move the print location past the top of the current form and is
valid only in Character Mode. The Reverse Index escape sequence is:
ESC M
1B 4D
Example:
Input: A
Output:
D
C
B
A
After the final LF, the print position would be on this line at the left margin.
ESCMBESCMCESCMDCRLFLFLFLF
Partial Line Advance
The Partial Line Advance Command moves the paper up or down a partial line for use in
superscripting and subscripting. A parameter of 0 moves the paper up; 1 moves the paper down.
ESC [ n Sp p
1B 5B 20 70
39
IGP for Dot Matrix Printers User Guide
VFU Channel Commands
After the VFU Memory is loaded, the format is set. To use the VFU Format, you must select VFU
Mode on the printer. After selecting VFU Mode, you can send VFU Channel Commands to move
the paper either forward or backward to the desired location. All reverse moves stop at the TOF if
the requested channel is not found. The escape sequence for moving the paper to a desired
channel is:
ESC [ c nn ! p
1B 5B 63 21 70
Where:
c = Paper motion direction.
0 = forward paper motion.
9 = reverse paper motion.
nn = VFU channel to which the paper will move. The value for each
The following examples give the format for forward and backward moves.
Example 1:
To move the paper forward (c = 0) to channel 4 (nn = 03), the escape sequence is:
ESC [ 0 0 3 ! p
1B 5B 30 30 33 21 70
Example 2:
To move the paper backward (c = 9) to channel 1 (nn = 00), the escape sequence is:
ESC [ 9 0 0 ! p
1B 5B 39 30 30 21 70
40
Chapter 2: Emulations
Plot Mode
When Plot Mode is selected, all input data is treated as plotting data. All graphics in Plot Mode
are designed and printed one dot-row at a time.
In Plot Mode the data stream dictates each dot to be printed. Data bytes are either bit images of
the dots to be printed, or they are commands to repeat the previous bit image one or more times.
Both the density of dots in the horizontal row, and the density of rows can be varied.
When switching from Character Printing to Plot Mode and vice versa, any data in the print buffer
is printed. After the data prints out in Character Mode, the print position moves to the left margin
of the current line. In Plot Mode it stays at the current dot row. If no paper motion command is
issued, printing continues at the current print position.
When the printer enters Plot Mode, it starts plotting at the left margin, at the top row of the
character dot matrix. When the printer exits Plot Mode, the position of the next print location
depends on the setting of the ModPlot Parameter.
Plot Mode Commands
In Plot Mode, all control codes and escape sequences may be used. All of the commands work
the same except the following:
Line Feeds advance by the dot-row instead of line distances.
Horizontal Tabs are not recognized.
Forward Index commands are not recognized.
Reverse Index commands are not recognized.
Entering Plot Mode
To enter Plot Mode, use the escape sequence:
ESC [ < 3 h
1B 5B 3C 33 68
You need to use this escape sequence only once. After entering Plot Mode, you simply send Plot
Data, instructions, and the usual control codes and escape sequences.
Exiting Plot Mode
To exit Plot Mode and enter Character Mode, use the escape sequence:
ESC [ < 3 l l = lower-case L
1B 5B 3C 33 6C
When the Modplot Parameter is set to ON, the printer automatically performs an Align to Line Boundary function and moves the print position to the next line down instead of the next dot row
down. The default for this parameter is ON. The examples that follow show the actual results of
both ModplotON and ModplotOFF in MT660 Emulation.
41
IGP for Dot Matrix Printers User Guide
Figure 12 – Alignment Using ModPlot
Align to Line Boundary
When you are exiting from the Plot Mode and the ModPlot Parameter is OFF it is necessary to
send an Align to Line Boundary Command to advance the paper to the next line down (as
measured from the current TOF). Without this command, characters and graphics would touch.
The escape sequence is:
ESC P @
1B 50 40
42
Chapter 2: Emulations
Plot Data
Two types of information are needed for plot data. The first is an ASCII character (or numerical
equivalent in whatever base number system your host requires; octal, decimal, hexadecimal,
etc.) that designates which dot pattern you want to print. The second is a one or two byte
numeric equivalent (oct., dec., or hex.) of the number of repetitions of the dot pattern you require.
This information is converted into the following binary equivalents by the host for transmission to
the printer.
Plot Bits
Data 7 6 5 4 3 2 1 0
Dot Pattern Code x 1 d d d d d d
Repeat 1–15 Times x 0 1 0 m m m m
Repeat 16–240 Times x 0 1 1 n n n n
Figure 13 – Plot Data Format
Where:
x = Not used for Plot Data.
dddddd = Binary representation of the desired dot pattern.
0 = no dot
1 = dot
mmmm =Binary equivalent of 1–15 repetitions.
nnnn = Binary equivalent of 16–240 repetitions in multiples of 16.
A sample Dot Pattern Code is shown below. Six bits represent the dot pattern.
Figure 14 – Sample Dot Pattern Code
43
IGP for Dot Matrix Printers User Guide
Plot data is received as binary code that represents the dot pattern to be printed, as shown
above. If you do not have a table of the various dot patterns possible with their decimal and
hexadecimal equivalents, you can use the following method to compute the numeric equivalents.
First, plot out the dot pattern, then convert the six dot pattern to a six-bit binary number (0 for no
dot and 1 for a dot). For example:
Figure 15 – Sample Bit Pattern
Now reverse the order of the binary digits. The leftmost dot position (most significant bit)
becomes the least significant bit and so on.
101011 D 110101
Convert the new binary number, 110101, to whatever number system you use (octal, decimal,
hexadecimal, etc.) to send the code to the printer. The host computer then retranslates the
numbers you use back to their binary equivalents for transmission to the printer.
44
Chapter 2: Emulations
Plotting Dot Patterns
To construct the data code for a specific dot pattern and have the printer print that dot pattern,
refer to the table below and perform the procedure that follows.
Figure 16 – Dot Patterns and Identifiers
45
IGP for Dot Matrix Printers User Guide
Step 1.
Find the desired dot pattern from the two dot pattern columns. For example, use the dot
pattern from Figure 16. It is located in the right-hand column (it's the one inside the oval).
Step 2.
Look to the right of the dot pattern and determine the number for this particular dot
pattern. In the Figure we have provided the ASCII, Hexadecimal, and Decimal
equivalent. Whatever code you use, this number becomes the dot-pattern designator.
Step 3.
Send the Enter Plot Mode escape sequence followed by the dot-pattern designator
(ASCII = u), like this:
ESC [ < 3 h u
1B 5B 3C 33 68 75
The desired dot pattern will print one time.
Repeating a Pattern
To repeat a dot pattern, add the desired number of repetitions after the dot-pattern designator.
When no repetitions are designated, the printer defaults to 1 and the dot pattern will be printed 1
time. For repetitions of 15 or fewer, the ASCII codes used to designate the number of repetitions
begin with Sp (0) and continue through to the / (15).
In the example that follows the table, we show the sequence of actions required to compose an
ASCII data code.
Repetitions ASCII Multiples ASCII
1—15 Value Of 16 Value
0 Sp 00 0
1 ! 16 x 1 = 16 1
2 “ 16 x 2 = 32 2
3 # 16 x 3 = 48 3
4 $ 16 x 4 = 64 4
5 % 16 x 5 = 80 5
6 & 16 x 6 = 96 6
7 ' 16 x 7 = 112 7
8 ( 16 x 8 = 128 8
9 ) 16 x 9 = 144 9
10 * 16 x 10 = 160 :
11 + 16 x 11 = 176 ;
12 , 16 x 12 = 192 <
13 – 16 x 13 = 208 =
14 . 16 x 14 = 224 >
15 / 16 x 15 = 240 ?
Figure 17 – Repetition Conversion Table
46
Chapter 2: Emulations
For example, if you wanted to print a pattern 10 times you would look up 10 in the repetition
column above; the ASCII character that corresponds to 10 is an asterisk (*). Therefore, placing
an asterisk after a dot-pattern designator would cause the printer to repeat the pattern 10 times.
For numbers greater than 15, you must send a two-byte code:
Byte 1 = (the remainder of the number of desired repetitions)
Byte 2 = (number of desired repetitions)
— (largest possible multiple of 16
The maximum number of times a dot pattern may be repeated per request is 255. The ASCII
characters that are used to represent multiples of 16 are 0–? (HEX 30–3F).
Example:
To send 70 repetitions, you must first find the largest multiple of 16 that is less than or
equal to 70, then subtract that number from 70 to find the remainder. From the above
table you can see that the largest multiple of 16 that is less than or equal to 70 is 64.
Subtracting 64 from 70 gives us a result of 6. To find the ASCII equivalent of 6, use
Figure 17. To compile the 2-byte code for 70 repetitions, remember, the remainder
comes first. The result will be & for the remainder of 6, followed by 4 for the multiple of
16 (64).
To print the previous dot pattern 70 times you would send the following escape
sequence:
ESC [ < 3 h u & 4
1B 5B 3C 33 68 75 26 34
Stringing Commands Together
Different dot-pattern designators may be strung together in a single escape sequence to enable
printing special graphics. To illustrate stringing designators together, we will use a single dotpattern command repeated eight times and string together 6 of these commands. That escape
sequence is:
that will result in a positive integer or 0)
÷ 16
ESC [<3h A ( A ( A ( A ( A ( A ( CRLF
1B5B3C3368 41 28 41 2841284128412841 28 0D0A
Where:
A = The dot pattern.
( = 8 repetitions of the dot pattern. (se Figure 17)
This would result in the selected dot pattern being printed 48 times across the page. Or you may
send just a single command that specifies that the selected dot pattern is to be printed 48 times:
ESC [ < 3 h A SP 3 CR LF
1B 5B 3C 33 68 41 20 33 0D 0A
47
IGP for Dot Matrix Printers User Guide
The second escape sequence format is more economical and easier to use when stringing
commands together, but either of the above commands would result in a horizontal line of 48
dots across the page.
Repeating either of the above command/CRLF sequences would cause printing of vertical bars
across the page. For example, repeating either of the above sequences 100 times would result
in:
The advantage of being able to string commands together is that it enables you to put commands
for different dot patterns together in one escape sequence for designing special graphics to be
printed on your printer. In the next example, the plot density has been set to 60 DPI by 60 DPI in
order to show the dot pattern clearly. Sending the following escape sequence 20 times,
ESC[<3hA$1
will result in the following graphic:
CRLFB$1CRLFD$1CRLFH$1CRLFP$1CRLF`$1CRLF
48
Chapter 2: Emulations
Plot Density
In Plot Mode, your printer will print in a variety of dot densities, both horizontally and vertically.
The default density in Plot Mode is 100 dots per inch (DPI) in both the horizontal and vertical
directions. To select a different density, use the escape sequence:
ESC [ n1 ; n2 ! q
1B 5B 3B 21 71
Where:
n
= Horizontal density in DPI in the range of 40 to 240, scaled to 180 DPI.
1
= Vertical density in DPI in the range of 40 to 240, scaled to 180 DPI.
n
2
When you change the plot densities, they remain active until the printer is turned off or they are
changed again.
To determine the number of dot patterns necessary to print a full line, multiply the line length by
the horizontal DPI, then divide the total by 6 (each dot pattern = 6 bits).
Example:
If line length = 13.2" and DPI = 100, then
Total dots per line = 13.2 x 100=1320, and
Total dot patterns per line = 1320/6 = 220
Therefore, to print a full 13.2 inch line at 100 DPI you would have to send 220 dot
patterns.
Shading effects can be created by printing different dot patterns in subsequent rows.
49
IGP for Dot Matrix Printers User Guide
Paper Path Selection
The following commands are used to select the paper input for your T3116 printer. Some of these
capabilities may require the purchase of optional components.
Select Tractor 1
ESC [ 5 {
1B 5B 35 7B
Select Tractor 2
ESC [ 6 {
1B 5B 36 7B
Select Tractor 3
Requires the “2T” model.
ESC [ 7 {
1B 5B 37 7B
Select Single Sheet Feeder
ESC [ 0 {
1B 5B 30 7B
Select Auto Sheet Feeder Bin 1
ESC [ 2 1 {
1B 5B 32 31 7B
Select Auto Sheet Feeder Bin 2
ESC [ 2 2 {
1B 5B 32 32 7B
50
Chapter 2: Emulations
Postal Bar Code Printing
POSTNET Bar Codes
POSTNET Bar Code Mode allows you to make use of the mail handling systems that the United
States Postal Service (USPS) has implemented. In addition, POSTNET Bar Codes allow you to
take advantage of postal discounts available through USPS for mail pieces using POSTNET Bar
Codes for regular 5 digit, Zip+4, and Advanced Bar Code (ABC) zip codes. The basic sequence
is:
ESC P b data
1B 50 62 data
After entering POSTNET Mode, any ASCII characters can be sent. However, only the characters
0–9 will be printed. All others, except the reserved control codes and the Space character (Hex
20) are ignored. All reserved control codes, except the ESC (HEX 1B) and the HT (HEX 09)
control codes, cancel POSTNET Mode. After POSTNET Mode is canceled, the printer will
perform the requested function, such as Line Feed or Form Feed.
The Space character can be used to space between bar codes. If placed inside a bar code, it
will terminate the current bar code and cause the framing bar to print. Then the cursor will move
the equivalent of one space. Additional spaces can be sent and the cursor position will move the
requested number of spaces, then another bar code can be printed. Use the Space character between bar codes only.
The ESC Control Code is used in some applications to select different parameters while in
POSTNET Mode.
The HT Control Code is used while in POSTNET Mode to control horizontal space between bar
codes. To use the HT Control Code, the procedure is:
If you are NOT going to use the Default Tabs, begin here:
Clear all current Horizontal Tab settings.
Set desired Horizontal Tabs.
If you ARE going to use the Default Tabs, begin here:
3. Enter POSTNET Mode.
4. Send data + HT....data + HT....
5. Exit POSTNET Mode.
Example:
ESC P b 9 9 9 9 9 HT 9 8 9 8 9 CR
1B 50 62 39 39 39 39 39 09 39 38 39 38 39 0D
The above sequence would cause bar codes representing the digits 99999 and 98989 to print on
the same line, spaced at whatever distance the Horizontal Tabs designate, then the printer would
exit the POSTNET Mode.
51
IGP for Dot Matrix Printers User Guide
Four-State Bar Codes
Four-State Bar Codes are similar to POSTNET bar codes, except they have four states instead of
two. In addition to the tall bar and short bare, there is an ascending bar and a descending bar.
Four-state bar codes are supported for the UK Postal Service and the Dutch Postal Service.
The syntax for the UK Postal Service Four-State Bar code is:
ESC P c data
1B 50 63 data
The syntax for the Dutch Postal Service KIX Bar code is:
ESC P d data
1B 50 64 data
Once in the Four-State Bar Code Mode, the rules are the same as those described in POSTNET
Mode, above.
PLANET Bar Codes
PLANET is similar to POSTNET in "look and feel", and is intended to complement the use of
POSTNET for mass mailers. For more information, see the PLANET Bar Code website,
http://www.planetcodes.com/
. The escape sequence for printing PLANET bar codes is:
ESC P f data
1B 50 66 data
Once in the PLANET Bar Code Mode, the rules are the same as those described in POSTNET
Mode, above.
52
Chapter 2: Emulations
Miscellaneous Functions
Reset Printer to Powerup Settings
You can reset the printer to all its powerup settings by sending the escape sequence:
ESC [ 6 ~
1B 5B 36 7E
Alternate Escape Sequences
Since some systems will not allow ESC (1B hex) to be sent as the escape function, you can
substitute the following codes:
^ CR OR ^ CR LF
5E 0D 5E 0D 0A
But they must be placed in Column 1 (the left margin), and Alt ESC must be set to ENABLED
through the control panel (see the Codes Category of the Configuration Menu).
Emulation and Configuration Switching
In addition to being able to change emulations or configurations through the printer control panel,
you can use this escape sequence to change emulations or configurations from your host
computer.
~ = tilde
Unlike changing emulations through the control panel, when this escape sequence is used to
change emulations, it does not change the Powerup or Alternate configurations that are currently
loaded on the printer. The only configuration that is affected is the Current Configuration. The
basic switching sequence is:
In this emulation there are different combinations of reserved control codes you may use to
control various aspects of printer operations. In addition, there are reserved control codes that
are used "behind the scenes" in communication between the host computer and the printer, and
in data handling protocols.
The table below lists the codes for the MT660 Emulation. In addition, we show in which interface
they are valid and give a basic explanation of their function.
Interface Key:
S = Serial
C = IEEE 1284
In the Serial and IEEE 1284 interfaces, when an invalid control code is received, it is discarded.
ASCII Interface Function
ETX* S Signals the End of Text to the Printer.
ENQ* S Enquiry code sent by the computer to the printer.
ACK* S Sent by the printer to indicate that there were no errors in the data
transmission.
BEL S, C Sounds printer alarm for .5 seconds.
HT S, C Moves the print position to the next horizontal tab stop.
LF S, C Advances paper one line for printing or one row for plotting (see
also, POPC parameter in Chapter 2, Configuration Menu).
VT S, C Advances paper to the next selected VFU Vertical Tab channel
(see also, POPC parameter in Chapter 2, Configuration Menu).
FF S, C Advances the paper to the top of the next form (see also, POPC
parameter in Chapter 2, Configuration Menu).
CR S, C Moves the print position to the left margin of the current line.
SO S, C Selects the alternate character set for printing.
SI S, C Selects the primary character set for printing.
DC1*
(XON)
DC3*
(XOFF)
NAK S Printer warns host that there was an error in the data transmission.
ESC S, C Tells the printer that the data that follows is not to be printed but is
DEL S, C The Delete Control Code defaults to the Rubout character. It can
S, C When the data buffer is ready to accept more data, XON allows
new data to be sent from the host computer.
S, C XOFF stops data transmission from the host computer when the
data buffer signals it is full.
to be interpreted as a control function.
be used to delete characters in the buffer if your printer is setup
properly. Call your Tech. Rep. for set up procedure.
*Actual function depends on Interface Protocol being used.
Figure 18 – MT660 Control Codes
54
Chapter 2: Emulations
Escape Sequence Summary
The following escape sequences are supported:
Sequence Function Description
ESC D Index Forward Moves the paper forward one line with no change to the
horizontal position.
ESC H Set Tab Sets a tab stop at the current horizontal position.
ESC M Index Reverse Moves the paper backward one line with no change to
the horizontal position.
ESC P@ Align to Line
Boundary
ESC PA Restore
Cursor
Position
ESC PB Save Cursor
Position
ESC PC Save Powerup
Configuration
ESC Pb POSTNET
Mode
ESC Pc
or ESC Pe
ESC Pd
ESC Pf
ESC , A
ESC ( xx
ESC - A
ESC ) xx
ESC [ n z Select LPI Selects lines per inch.
ESC [ n w Select CPI Selects characters per inch.
ESC [ n m Select
ESC [ n t Select Form
ESC [ n u Set Tabs Sets horizontal tab stops.
ESC [ n q Clear Tabs Clears horizontal tab stops.
ESC [ 3 g Clear All Tabs Clear all tab stops.
ESC [ 0 g Clear Current
ESC [ n { Select Paper
ESC [ 6 ~ Reset Resets to Powerup Configuration.
UK Post Mode Causes the following digits to be printed as UK postal
KIX Mode Causes the following digits to be printed as Dutch KIX
PLANET
Mode
Select G0
Character Set
Select G1
Character Set
Attributes
Length
Tab
Path
Command
Motion
Moves the vertical position to the next line relative to top
of form as defined by the current LPI setting.
Moves the print position to the beginning of the saved
vertical position.
Saves the current vertical position.
Saves the current configuration into the Powerup
Configuration.
Causes the following digits to be printed as POSTNET
bar codes.
bar codes. Special for Tally UK.
postal bar codes. Special for Tally UK.
Causes the following digits to be printed as PLANET
postal bar codes.
Selects the G0 character set.
Selects the G1 character set.
Selects bold, italics, overline, strikethrough, underline,
subscript and superscript attributes. Also DP, Draft,
Gothic, Courier, OCR-A and OCR-B font styles and
downloaded font.
Select form length. 2 to 255 lines, or 11 inches or 12
inches.
Clear a tab stop at the current horizontal position.
Activates the selected paper input path.
Performs a VFU channel move.
Performs a relative paper move.
55
IGP for Dot Matrix Printers User Guide
Sequence Function Description
ESC [ n !s Select
Character
Sets
ESC [ n sp B Select
Character
Size
ESC [ n1;n2 !q Select Plot
Density
ESC [ n “s Set Margins Sets the left and right margins in 1/120ths.
ESC [ n sp p Partial Line Performs a partial (half) line advance up or down.
ESC [ f Reverse FF Backs paper up to the previous TOF.
ESC [ < 1 h
ESC [ < 1 l
ESC [ < 2 h
ESC [ < 2 l
ESC [ < 3 h
ESC [ < 3 l
ESC [ < n h Emulation &
ESC [ < n sp h Variable Line
VFU
Download
Font
Download
Plot Mode Begins and ends plot mode.
Configuration
Switching
Spacing
Selects the primary (G0) and alternate (G1) fonts and
character sets (languages).
Selects the character height and width.
Selects the horizontal and vertical plot densities. Also
selects shuttle speed and spacing (speed and spacing
options are undocumented).
Begins and ends a VFU download.
Begins and ends a font download.
Changes emulations when n = 10 - 39
Sets the line advance distance in 1/720ths.
Figure 19 – MT660 Escape Sequence Summary
56
Chapter 2: Emulations
IBM Proprinter III XL Emulation
This is an emulation of the IBM Proprinter III XL as defined by IBM document SA34-2065-1, IBM
Proprinter III and Proprinter III XL Guide to Operations.
Exceptions
The following escape sequences are not supported:
ESC 8 Disables the paper out sensor.
ESC 9 Enables the paper out sensor.
ESC < Turns unidirectional mode ON for one line.
ESC U Turns unidirectional mode ON.
ESC i Immediate mode, prints 1 character at a time.
ESC s Half speed mode.
ESC = Font Download
ESC P Proportional printing
Enhancements
The following enhancements to the Proprinter II XL emulation exist:
Various font styles, plus POSTNET and PLANET bar codes, can be selected with the
ESC x n command:
n (ASCII) n (Hex) Selection
0 00 or 30 Draft
1 01 or 31 Gothic
2 02 or 32 Courier
3 03 or 33 Draft
4 04 or 34 OCR-A
5 05 or 35 OCR-B
@ 10 or 40 POSTNET
C 43 PLANET
There are a number of control panel selections, such as Language, CPI, and LPI, not
provided by the emulated printer that can be used in this emulation.
57
IGP for Dot Matrix Printers User Guide
Epson FX-1180 Emulation
This emulation is defined in the Epson ESC/P Reference Manual. The version of the manual
used for the emulation development was dated December 1997.
Exceptions
1. Printing & Sensors Any commands related to unidirectional or single-pass printing,
or disabling of sensors, are not supported.
2.Spacing ESC sp n – Variable intercharacter spacing – Not supported.
3. Proportional Spacing ESC p n – Not supported.
4. Font Selection: ESC k – Select Typeface (0 = Courier; 1 = Gothic)
PC865 (Norway)
PC Aptec
ISO8859-2 (Latin 2)
ISO8859-7 (Latin/Greek)
ISO Latin 1
ISO Latin 1T (Turkish)
ISO Latin 7 (Greek)
PC437 Greek
PC851 (Greek)
PC852 (East Europe)
PC855 (Cyrillic)
PC857 (Turkish)
PC866 (Russian)
Tally Equivalent
Character Sets
Unsupported Epson
Character Sets
PCAR864
Figure 20 – FX-1180 Supported Character Sets
58
Chapter 2: Emulations
Enhancements
The following enhancements to the Epson FX-1180 emulation exist:
1. Various font styles, plus POSTNET and PLANET bar codes, can be selected with the
ESC x n command:
n (ASCII) n (Hex) Selection
0 00 or 30 Draft
1 01 or 31 Gothic
2 02 or 32 Courier
3 03 or 33 Draft
4 04 or 34 OCR-A
5 05 or 35 OCR-B
@ 10 or 40 POSTNET
C 43 PLANET
2. There are a number of control panel selections, such as Language, CPI, and LPI, not
provided by the emulated printer that can be used in this emulation.
59
IGP for Dot Matrix Printers User Guide
Printronix P6000 Emulation
The Printronix P6000 emulation is defined by P6000 Series Multifunctional Line Printer Pedestal
Models, Printronix Part Number 108534-001 REV B. With the exception of one control code (Hex
01), the P6000 emulation is a superset of the P600 emulation.
There are no exceptions or enhancements for this emulation.
60
Chapter 2: Emulations
HP 2564C Emulation
The HP 2564C emulation is defined by HP 256x Printer Family Technical Reference Manual, HP
Manual Part No. 02564-90905.
This emulation supports the following HP PCL Level 1, PCL Level 2, some PCL Level 3
commands (mainly in the area of font selection), and PCL extensions unique to line matrix
printers. These extensions provide for raster graphics, bar code printing, and VFUs.
Processing
ESC (s-1Q Set Primary font Draft ESC )0@ Set Secondary Lang
ESC )0L Set Secondary Lang
Line
ESC )0U Set Secondary Lang
ASCII
ESC )0G Set Secondary Lang
German
ESC )0D Set Secondary Lang
Danish
ESC )1K Set Secondary Lang
Katakana
ESC )00 Set Secondary Lang
OCRA
ESC )s10H Set Secondary CPI 10ESC )s12H Set Secondary CPI 12
ESC (s1S Set Primary Attributes
to Italics
ESC (s1Q Set Primary font NLQ
Default
ESC )0E Set Secondary Lang
Roman 8
ESC )1E Set Secondary Lang
UK
ESC )0F Set Secondary Lang
French
ESC )0S Set Secondary Lang
Swedish
ESC )0K Set Secondary Lang
Japanese
ESC )10 Set Secondary Lang
OCRB
ESC )s13.3H Set Secondary CPI
13.3
ESC )s16.7H Set Secondary CPI
16.7
ESC )s1S Set Secondary Italics ESC )s0Q Set Secondary Data
ESC )s1Q Set Secondary NLQ ESC )s-1Q Set Secondary Draft
ESC (s<1-9999>.<1-
9999>H
ESC *z<0-128>C Bar Column Size ESC *t<0-600>R Set Density
ESC &a<1-128>L Set Left Margin ESC *z<0-128>H Select Bar Height
ESC &l<0-128>P Set Page Length ESC &a<1-128>M Set Right Margin
ESC &l<0-128>F Set Text Length ESC &a<1-128>R Move Absolute Row
ESC *z<0-128>Q Select Human
Set Primary CPI ESC &l<0-16>V Do VFU Move
Readable Characters
(in Bar Code)
ESC )s15H Set Secondary CPI 15
ESC )s0S Set Secondary
Upright
Processing
ESC *z<0-128>V Select Bar Code Type
62
Chapter 2: Emulations
Command Description Command Description
ESC &l<1-256>W VFU Download ESC &l<1-9999>.<1-
9999>D
ESC &a<1-128>C Bar Column ESC *z*Z Get Bar Data
Set LPI
Enhancements
The following escape sequences have been added:
POSTNET bar codes ESC * z 20 V
PLANET bar codes ESC * x 23 V
63
IGP for Dot Matrix Printers User Guide
Genicom ANSI Emulation
The Genicom ANSI emulation is defined by the Genicom 4810 / 4840 Programmer’s Manual,
GEK-89025. This emulation supports many standard ANSI escape sequences as well as
extended commands for bar codes and oversize characters.
The following escape sequences are supported:
Command Description Command Description
ESC c Reset Printer ESC \ Exit Special Modes
ESC K Move Partial Line
Down
ESC [p1 a Move Relative
Horizontal Position
Right
ESC [p1 e Move Relative Vertical
Position Down
ESC [p1 j Move Relative
Horizontal Position
Left
ESC [p1 ‘ Move Absolute
Horizontal Position
ESC J Set Vertical Tab at
Current Position
ESC [p1;p2;p3 r Set Form Length, Top
Margin, and Bottom
Margin
ESC [p1;p2 s Set Left and Right
Margins
ESC [p1;p... u Set Horizontal Tabs ESC [3 g Clear Horizontal Tabs
ESC [p1;p... v Set Vertical Tabs ESC [4 g Clear Vertical Tabs
ESC [p1;p2 SP B Modify Character Size ESC [p1;p2 SP G Set LPI and CPI
ESC [p1;p... m Set Font Style and
Enhancements
ESC [0 m Cancel Font
Enhancements
ESC [1 m Enable Bold ESC [11 h Set Position Unit
ESC [4 m Enable Underline ESC [20 h Set Line Feed New
ESC L Move Partial Line Up
ESC [p1 d Move Absolute
Vertical Position
ESC [p1;p2 f Move Absolute
Horizontal and
Vertical Positions
ESC [p1 k Move Relative Vertical
Position Up
ESC H Set Horizontal Tab at
Current Position
ESC [p1;p... g
ESC [0 g Clear Horizontal Tab
ESC [1 g Clear Vertical Tab at
ESC [p1 x Select Character Set
ESC [p1;p... h Set Mode
Set and Clear
Horizontal and
Vertical Tabs
at Current Position
Current Position
Mode
Line Mode
64
Chapter 2: Emulations
Command Description Command Description
ESC [22 m Disable Bold ESC [>1 h Set Proportional Print
Mode
ESC [24 m Disable Underline ESC [>3 h Set C1 Control Code
Mode
ESC [10 m Select Data
Processing Font
ESC [11 m Select Data
Processing Font
ESC [12 m Select Character
Graphics Font
ESC [13 m Select Gothic Font ESC [20 l Reset Line Feed New
ESC [14 m Select Courier Font ESC [>1 l Reset Proportional
ESC [15 m Select Draft Font ESC [>3 l Reset C1 Control
ESC [16 m Select OCR-A Font ESC [>5 l Reset Character Set 2
ESC [17 m Select OCR-B Font ESC P Begin Dot Graphics
ESC [18 m Select Italic Gothic
Font
ESC [19 m Select 13.3 CPI
Gothic Font
ESC [>5 h Set Character Set 2
Mode
ESC [p1;p... l Reset Mode
ESC [11 l Reset Position Unit
Mode
Line Mode
Print Mode
Code Mode
Mode
Mode
ESC [p1 b Repeat Character
ESC [p1;p2;p3 q Select Horizontal and
Vertical Graphics Dot
Densities
ESC ]! Begin EVFU Table
Loading
ESC [0 t Select Bar Code
Mode
ESC [p1;p...;p10 } Select Bar Code
Parameters
ESC [1 | Select Oversize
Character Font (No
Rotation)
ESC [3 | Select Oversize
Character Font (180-
Degree Rotation)
65
ESC [p1 ! p Move to EVFU
Channel
ESC [3 t Deselect Bar Code
Mode
ESC [0 | Exit Oversize Printing
ESC [2 | Select Oversize
Character Font (90Degree Rotation)
ESC [4 | Select Oversize
Character Font (270Degree Rotation)
IGP for Dot Matrix Printers User Guide
Exceptions
The following are discrepancies between the Genicom 4840 printer and Genicom manual:
ESC [p1 d AVM beyond 15840 decipoints is ignored
ESC [p1 e RVM uses the decipoint parameter exactly (no round off to 1/144ths)
RVM greater than 15840 decipoints is ignored
ESC [p1;p... m p1 = 11 - Data Processing
ESC [p1 !p Syntax not ESC[p1;p2 !p
ESC [p1;p2;p3 q p3 = 0-4 - ignored
p2 and p3 are not ignored in any p1 mode
ESC [p1;p2;p3 r p3 is measured from BOF, not TOF
Differences between the T3116 IGF Option’s Genicom ANSI emulation and the Genicom 4840
printer:
ESC [p1;p... m p1 = 19 - Gothic
ESC [p1;p2;p3 q p1 = 0 - 60H x 72V
ESC Q Self-test command is not supported
ESC ] 5 Font download is not supported
ESC [p1 SP } Font download control is not supported
ESC [ p1;p2 sp G Line heights greater than 9 inches are not supported
ESC [ > 1 h Proportional spacing is not supported
ESC [p1 x Supported as follows:
p1 = 0 US
1 German
2-3 French
6, 23 Italian
7, 20 UK
8, 24 Spanish
9-10 Norwegian/Danish
11-12 Norwegian/Danish II
13-16 Swedish/Finnish
437 Code Page 437 USA
850 Code Page 850 Multilingual
863 Code Page 863 French Canadian
8575 Roman 8
Latin 1
66
ESC [p1;p...;p10 } Bar code ratios greater than 85 are not supported
Enhancements
The following escape sequences have been added:
POSTNET bar codes ESC [ 50 ; … }
PLANET bar codes ESC [ 53 ; … }
Chapter 2: Emulations
67
IGP for Dot Matrix Printers User Guide
Graphics Language Emulations
Graphics languages are a set of commands used to create graphic images such as large
characters, lines, boxes, and bar codes. A graphics language is run on top of any of the above
underlying control language emulations.
QMS Code V Emulation
This graphics language is an emulation of QMS Code V Version 1 and 2. It is accessible from all
underlying control languages.
The emulation is based on QMS Manual Number 1720155B, QMS Code V Version II
Programming Manual. The commands are defined in Manual Number 079697, Graphics
Applications Manual, Line Printers.
Command Description Inside
Pass
^#n Compressed Fonts
^@Cnn Draft Fonts
^@Hn Dump Mode
^@Lnn Lines Per Inch (LPI)
^[nnn Data Field, Buffered Forms
^A Ignore Data Off
^B^-<data>^] Buffered Formatting, Version 1
^B{B,N,O,S,T,Y}9x<ratio><data>^G Bar Code Style 1, Horz. Ver. Ratio
^B{B,N,O,S,T,Y}x<data>^G Bar Code Style 1, Horizontal
^Cnn<data>^Z Buffered Form Copy
^C{B,N,O,S,T,Y}9x<ratio><data>^G Bar Code Style 1, Vert Var. Ratio
^C{B,N,O,S,T,Y}x<data>^G Bar Code Style 1, Vertical
^D Descender Mode
^~Dhhhvvv Pass Density
Outside
Pass
^Dnn Dot Slew
^Ehhwwjjd<data> Graphics Pass, Vertical Left
^F Free Format
^~FF Full Space Font Mode
^~FH Half Space Font Mode
^~FQ Quality Font Mode
^G Command Terminator
^Hnn Form Length
^Hnn Pass Length
68
Chapter 2: Emulations
^IBARC,x,R<ratio>,{N,E,B},<data>^G Bar Code Style 2, Var. Ratio
^IBARC,x,{N,E,B},<data>^G Bar Code Style 2
^IFONT,S,n^G<data> Default Font
^IFORM,C... Buffered Form Create
^IFORM,D<name>^G Buffered Form Delete
^IFORM,E<form name>^G<data>^G Buffered Form Execute
^IFORM,L Buffered Form List
^IFORM,R Buffered Form Memory Reset
^IHEX,nn Hex Command
^ILOGO,nn^G Logos
^Innn Interrupt Function
^IPEXP,h,v^G Pixel Exppansion
^IREPE Repeat Terminator
^IREPH,n,hhd^G Horizontal Repeat, Version 2
^IREPV,n,vvvd^G Vertical Repeat, Version 2
^IISO,n^G ISO Character Set
^Jvvd Vertical Justification
^KF Half-Dot Mode
^KH Half-Tone Toggle
^KLnn Half-Tone
^Knn Line Slew
^LBhhhdvvvdhv Boxes
^LDhhhdvvvd Dashed Lines
^LFhhhdvvvdhvllldt...^G Form Drawing
^Lnn Form Length
^LShhhdvvvd Solid Lines
^Mhhwwjjd<data> Graphics Pass, Horizontal
^Nx Command Change
^O Free Format Off
^PN Graphics Mode Off
^PY Graphics Mode On
^Q<plot data>^G Plot Mode
^R Reverse Image Toggle
69
IGP for Dot Matrix Printers User Guide
^R^- Buffered Form Repeat
^Rnnnn^-<data>^-^Z^- Vertical Repeat, Version 1
^Sn NLQ Fonts
^Snntt^-<data>^-^S^- Horizontal Repeat, Version 1
^Thhhd Horizontal Tab
^Uhhwwjjd<data> Graphics Pass, Upside Down
^Vhhwwjjd<data> Graphics Pass, Vertical Right
^Wnn Line Slew
^Wnn Pass Width
^X Ignore Data On
^Yx{+,-}z Automatic Increment/Decrement
^Z Buffered Copy/Repeat Terminator
^– Carriage Return (CR)
^* Line Feed (LF)
^, Form Feed (FF)
70
Chapter 2: Emulations
Printronix Graphics Language Emulation
The Printronix Graphics Language (PGL) emulation provides a graphics language that is
compatible with the Printronix IGP 100/200/400 language. It is accessible from all underlying
control languages.
The emulation is based on IGP-100 Firmware Version 2.19A (Part Number 148771,) and the
Printronix IGP-100 Manual (Part Number 141331-001 Revision A.) In cases where the function of
the firmware differs from the manual, the emulation follows the function of the firmware. The
commands are defined in Manual Number 079697, Graphics Applications Manual, Line Printers.
Command Normal
Mode
AFn Executes the dynamic alphanumeric data
ALPHA
BARCODE
BFn Executes the dynamic bar code data
BOX
CORNER
Create
Mode
Execute
Mode
Description
provided after the (cc) EXECUTE
command.
Defines size, location, and content of
alphanumeric characters and dynamic
alphanumeric data fields.
Each bar code type has its own command
to define size, location, orientation, and
data as described in the “Bar Codes”
chapter.
provided after the (cc)EXECUTE
command.
Defines size, location, and thickness of
boxes.
Defines vertical and horizontal length,
location, and thickness of a set of four
corners.
CREATE
DELETE FORM
DELETE LOGO
DENSITY
DIRECTORY
END
71
Places the IGP/PGL in the Create Form
mode where all the Create Form mode
commands are available to design form
elements.
Deletes a selected form name from the
directory and IGP/PGL memory.
Deletes a selected logo name from the
directory and IGP/PGL memory.
Provides a list of all defined forms and
Defines the horizontal print density in
characters per inch (cpi).
logos, logo assignments to forms, and
memory usage and availability.
Terminates the Create Form mode.
IGP for Dot Matrix Printers User Guide
EXECUTE
EXPAND
HDUP
HORZ-
IAFn Executes the incremental dynamic
IBFn Executes the incremental dynamic bar
IGOFF
IGON
Executes a previously created form.
Expands fonts vertically and horizontally.
Defines the number of horizontal
duplications of an element and the
spacing between duplications.
Defines the location, size, and thickness
of horizontal lines.
alphanumeric data provided after the (cc)
EXECUTE command.
code data provided after the
(cc)EXECUTE command.
Disables the IGP/PGL to ignore all
characters after the Ignore Sequence Off
command is sent until the Ignore
Sequence On command is sent.
Enables the IGP/PGL to ignore all
characters after the Ignore Sequence On
command is sent until the Ignore
Sequence Off command is sent.
ISET
LFORM
LISTEN
LOGO (Call)
LOGO (Create)
LPI
NORMAL
PAGE
Removes IGP/PGL from the Quiet state
Places the IGP/PGL in the Create Logo
Selects one of the multinational character
sets.
Specifies form length by total number of
lines at 6 or 8 lpi.
and enables IGP/PGL operation.
Specifies the location of a previously
defined logo.
mode, where logos can be defined using
the appropriate dot placements.
Defines the lines per inch (lpi) printing
format.
Places the IGP/PGL in the Normal mode,
where it does not change the data stream
but awaits the SFCC followed by an
IGP/PGL command.
Defines the location for automatically
incremented page numbers.
72
Chapter 2: Emulations
QUIET
RESET
REVERSE
SCALE
SFCC
SFOFF
SFON
USET
IGP/PGL operation is disabled until a
Use a custom user-defined character set.
Listen command is received. Any data
sent to the LinePrinter Plus Emulation is
unaffected by IGP/PGL commands.
Deletes all forms and logos from the
IGP/PGL memory or the printer flash
memory.
Defines the location for white-on-black
printing and selects the background
shade.
Defines the vertical spacing and horizontal
pitch for data positioning in character or
dot columns and rows.
Changes the Special Function Control
Code character.
Ignores all host-generated paper
movement commands.
Disables SFOFF.
Creates custom character sets (except
OCR) from existing printer characters in
memory.
VDUP
VERT
Defines the number of vertical duplications
of an element and the spacing between
duplications.
Defines the location, size, and thickness
of vertical lines.
73
IGP for Dot Matrix Printers User Guide
Graphics Language Exceptions
Exceptions from the T6215 implementation are noted below. All unsupported emulation commands are
parsed and ignored. All other capabilities, exceptions, and nuances are defined by the Line Printer Graphics Applications Manual.
Exceptions from the T6215 Printer
The human readable attribute of a bar code is not
supported above the bar code.
Reverse fields do not reverse standard text. PGL – REVERSE
Block character patterns and reverse fields are not
supported.
Control of whether or not descending block characters
descend is not supported. All block characters with
descending components (i.e. g, j, q, y) will descend
below the baseline.
The human readable characters of the Code 39 bar
code are bounded by asterisks.
Check digits are not printed in the human-readable
portion of UPC bar codes
Long bars are not supported for Code 39 bar codes. PGL, Code V, and Genicom
The Industrial 2 of 5 bar code is not supported. PGL, Code V, and Genicom
The size vertical bar codes (top to bottom as printed)
are slightly smaller due to the printer resolution.
Style 2 is not supported by the Vscale control panel
option because that block character capability is
unavailable.
Block character size and position within a cell is
slightly different.
Multi-high human-readable in a bar code is not
supported.
Embedded human-readable is only available for UPC
and EAN bar codes, and is always on.
Block character reverse acts like reverse fields. PGL
Dark barcodes and block characters are not
supported
Items that start before the current paper position are
not printed.
Emulations Affected
PGL – BARCODE
Code V - ^KL, ^KH
Code V – ^D
PGL, Code V, and Genicom
PGL, Code V, and Genicom
PGL, Code V, and Genicom
PGL, Code V, and Genicom
PGL, Code V, and Genicom
Code V
PGL, Code V, and Genicom
PGL
PGL
74
Chapter 3: True Type Fonts
Chapter 3: TrueType Fonts
The “block character” text printed by the Code V and PGL industrial graphics languages is
generated using TrueType font outlines. There is one TrueType font embedded in the printer as a
resident font used for generating these characters. This font is:
Resident Font Name
MonoBlock Bold 93779
Font Number
Maximum Character Size
The parameters BlkMaxH and BlkMaxV allow to set the maximum size block character
horizontally and vertically that will be printed using the TrueType font. Characters above this
maximum size will be printed using the previous vector style block characters.
Parameter
BlkMaxH
BlkMaxV
Setting options
0 to 136 (Default: 40)
0 to 136 (Default: 40)
75
IGP for Dot Matrix Printers User Guide
The PGL FONT Command
The FONT command has been added to the PGL emulation contained in the printer to provide
increased flexibility and compatibility when printing forms designed for laser printers. This
command allows the form designer to choose from a variety of fonts when creating or printing a
form. The format of the FONT command is described below.
Mode: NORMAL, CREATE, EXECUTE.
Format: <SFCC>FONT;FACE n
<SFCC> Enter the Special Function Control Character as set in the SFCC menu
option. When in the CREATE mode, do not include the SFCC.
FONT The font command.
FACE n Specifies the typeface. Enter FACE, then a space, then the 5 digit
number of the desired typeface. For the resident font, the following
number applies:
93779 –MonoBlock Bold
Notes: The FACE SMODE, BOLD, BLOCK, SLANT, SYMSET, POINT, SPACE, and ZERO
parameters are not currently supported.
Use of the FONT command in the Create mode affects only the current form being
created. It will have no effect on other forms or the font used for Normal or Execute
mode text. Similarly, use of the FONT command in the Execute and Normal modes
does not affect the fonts used in forms that have already been created.
NOTE: Currently download of fonts is not supported.
76
Chapter 4: Miscellaneous
Chapter 4: Miscellaneous
Driver
This printer model is provided without driver. The IGP printer model basically is delivered with the
standard Online CD-Rom.
The Driver located on this CD rom requires MTPL and Epson LQ emulations. These emulations
are not included in the firmware of an IGP printer model.
NOTE: However the Plug&Play string is identical to that of the standard
printer this means that the standard driver would be installed by
accident. This driver is not functional!
Cutting Device
Basically the optional cutting device will work.
As in IGP the form is defined by the “Create” command, and printing is normally done by the
“Execute” command without a formfeed, the form will not be cut using the “Cut on Formfeed”
setting. Instead it is recommended to use the “Cut on Tof” setting (See printer's menu: ViewCut).
NOTE: The function "cutting" is not determined as there is no support
from the emulations. Hence we recommend to test the proper
function of the cutter in the particular environment.
Standard Documentation
The IGP printer model is provided with its standard printer documentation.
It is intended to being used to describe the basic functions of your printer. Only the special IGP
functions which differ from the standard are described in this manual.
77
IGP for Dot Matrix Printers User Guide
All rights reserved. Translations, reprinting or copying by any means of this manual complete or in part or in any different form requires our
explicit approval. We reserve the right to make changes to this manual without notice. All care has been taken to ensure accuracy of
information contained in this manual. However, we cannot accept responsibility for any errors or damages resulting from errors or
inaccuracies of information herein.