Before using this information and the product it supports, read the information in “Notices” on
page 111.
Second Edition (January 2010)
This edition applies to the InfoPrint 6500-D Series Line Matrix Printer and replaces the following
publication:
G550-1006-00.
Visit our home page at: http://www.infoprint.com
You can send comments by e-mail to printpub@infoprint.com or by mail to:
InfoPrint Solutions Company, LLC
6300 Diagonal Hwy 002J
Boulder, CO 80301-9270
U.S.A.
This product is or contains commercial computer software and commercial computer software
documentation developed exclusively at private expense. As specified in Federal Acquisition
Regulation 12.212 in the case of civilian agencies and Defense Federal Acquisition Regulation
Supplement 227.7202 in the case of military agencies, use, duplication and disclosure by agencies
of the U.S. Government shall solely be in accordance with the accompanying International
Program License Agreement in case of software products and in accordance with the licensing
terms specified in the product’s documentation in the case of hardware products.
Communication Statements............................................................... 115
1Introduction
About This Manual
This manual is designed so you can quickly find the information you need to
use the LQ-1600K emulation.
This book does not explain how to operate the printer. For printer operation,
see the
Warnings and Special Information
Read and comply with all information highlighted under special headings:
InfoPrint 6500 Line Matrix Printers: User’s Manual.
WARNING
CAUTION
IMPORTANT
Conditions that could harm you as well as damage the equipment.
Conditions that could damage the printer or related equipment.
Information vital to proper operation of the printer.
NOTE: Information affecting printer operation.
Related Product Information
Refer to the following book for printer operation:
•
InfoPrint 6500 Line Matrix Printers: User’s Manual.
instructions and descriptions and troubleshooting guidelines.
Software Features
The LQ-1600K emulation software provides the following features:
•Graphics and print quality. You can enable graphics mode and specify a
density mode (dots per inch), for either 8-pin/24-pin images.
•Print Attributes. Characters can be bold, italic, double high, double wide,
etc.
•Page Formatting. Commands which allow you to set line spacing, page
length, and vertical tabbing.
Provides configuration
•Font Typefaces. Also referred to as print modes. There are six typefaces
that can print both SBCS and DBCS characters: LQ, Near LQ, Normal,
Hi-Speed, Super Hi-Speed, and Ultra Hi-Speed.
9
Chapter1Software Features
10
2LinePrinter Plus
LQ-1600K Emulation
LQ-1600K Emulation
“Emulation” refers to the ability of a printer to execute the commands of other
printer control languages. In LQ-1600K emulation mode, your printer prints
files coded for Epson LQ series printers, particularly the LQ-1600K.
Exceptions And Differences
Because Of Mechanical Differences Between Your Printer (A Line Matrix
Printer) And Moving Printhead Serial Matrix Printers, Some Features Are
Approximated Or Not Supported.
Commands not supported by our printer:
1.Control paper loading/ejecting (ESC EM n)
2. Select user-defined set (ESC % n)
3. Define user-defined characters (ESC k NUL
4. Copy ROM to RAM (ESC : NUL
5. Select justification (ESC
6. Set MSB to 1 (ESC >)
7. Set MSB to 0 (ESC =)
8. Cancel MSB Control (ESC #)
9. Reassign bit-image mode (ESC ?)
a n
n m
)
)
n m
)
11
Chapter2LQ-1600K Emulation
Default Values And States
Your printer stores a set of typical operating states and conditions in the flash
memory. The first time you power up the printer, the factory settings in
1 are automatically invoked.
The LQ-1600K printer uses two character sets: the IBM PC set and the Epson
set. The Epson set is the ASCII character set with the upper,
non-ASCII set defined as italics and the usually unprintable codes designed
as international characters. (See
Table 3.)
Table 3. Epson Character Set
Hex0123456789ABCDEF
0à§SP0@P‘p
1èß!1AQaq
2ùDC2"2BRbr
3òDC3#3CScs
4ìDC4$4DTdt
5°ø%5EUeu
6£¨&6FVfv
7BELÄ‘7GWgw
8BSCAN(8HXhx
9HTÜ)9IYiy
ALFä*:JZjz
BVTESC+;K[k{
CFFü’<L\l|
DCRÉ–=M]m}
ESOé.>N^n~
FSI¥/?O_oDEL
à§SP0@P‘p
èß!1AQaq
ùÆ"2BRbr
òæ#3CScs
ìø$4DTdt
°ø %5EUeu
£¨&6FVfv
iÄ’7GWgw
¿Ö(8HXhx
ÑÜ)9IYiy
ñä*:JZjz
¤ö+;K[k{
P
t
ü,<L\l|
ÅÉ–=M]m}
åé.>N^n~
Ç¥/?O_oø
15
Chapter2LQ-1600K Emulation
Escape Sequences
Some LQ-1600K control codes consisting of more than one character are
called escape sequences because the first character in the sequence is the
ASCII ESCape character. ESC alerts the printer that a special function
command—not printable characters—follows.
The format for an escape sequence is:
ESC (parameter 1)(parameter 2)...(parameter n)
For example, to select emphasized (offset) print, send the ESC character
immediately followed by the E character (do not add a space character):
ASCII: ESC EHex: 1B 45Dec: 27 69
FS Sequences
Another type of control code which consists of more than one character is
called an “FS sequence,” because the first character is the ASCII FS
character. This control code is used when the printer is printing Double Byte
Character Set (DBCS) characters. The FS alerts the printer that a special
function command (not printable characters) follows. Most FS commands
work only on DBCS characters.
The format for an FS sequence is:
FS (parameter 1)(parameter 2)...(parameter n)
For example, to rotate DBCS characters by 90° counter-clockwise, send an
FS character immediately followed by the J character:
ASCII: FS JHex: 1C 4ADec: 28 74
Super-Set Commands
The unique control code sequence for both SSCC and ASSC commands are
defined in the table below:
Control
Code
SSCCESC | } ;1B 7C 7D 3B27 124 125 59
ASSCESC | } ; q1B 7C 7D 3B 7127 124 125 59 113
ASCII ValueHex ValueDec Value
Set And Reset Codes
Set and reset are other ways of saying turn on and “turn off; select and
deselect; or enable” and disable.”
16
Some printer features are set and reset with an escape sequence and the
numbers 1 or 0. In those cases you can represent 1 and 0 as hexadecimal
codes 01 and 00 or as the ASCII codes for the numerals 1 and 0
(hexadecimal 31 and 30).
DBCS Mode
DBCS Mode
When the printer is in DBCS mode, it can print double byte characters—
characters that require two bytes to define. It can also print a limited number
of single byte ASCII characters. If a form hex 0x20 through hex 0x7F is sent to
the printer, it will be printed as a standard ASCII character. If a character is
larger that 0x7F, it will be combined with the next character to produce one
DBCS character.
DBCS characters are only available in the LQ, Near LQ, Normal, Hi-Speed,
Super Hi-Speed, and Ultra Hi-Speed typefaces. The command to select
DBCS mode (FS &) switches the printer to one of these typefaces. Near LQ is
the default typeface, but if another print quality has been selected previously
through the FS x command, then that print quality is the DBCS typeface
selected.
The character printed when the printer combines two characters into one
double byte character depends on the character set of your particular printer.
Configuring The LQ-1600K Emulation With Control Codes
The remainder of this chapter describes the LQ-1600K printer control
language codes that may be sent from a host computer attached to the printer
in order to invoke and configure numerous LQ-1600K emulation functions.
Format For Control Code Descriptions
The following information is listed for each code (where applicable and
possible) in this chapter:
ASCII Mnemonic. The ASCII name for the control code.
Hex Code. The hexadecimal equivalent of the code. (For octal equivalents,
refer to Appendix A.)
Dec Code. The decimal equivalent of the code.
Purpose. The function(s) of the control code.
Expression. The control codes used in the BASIC programming language.
Comment. A description of exceptions or limitations to normal use.
Example. A sample expression written in the BASIC programming language
is provided for some control codes to illustrate how the code is used.
17
Chapter2Configuring The LQ-1600K Emulation With Control Codes
Control Code Index
The following index lists the control codes by function, ASCII mnemonic, and
page number. Some control code functions can also be selected at the control
panel.
FUNCTIONASCII CODE PAGE
Vertical Motion and Print Execution
Carriage ReturnCR28
Form FeedFF42
Line FeedLF50
Line Feed n/180 InchESC J
Line Spacing 1/6 Inch (6 lpi)ESC 251
Line Spacing 1/8 Inch (8 lpi)ESC 052
Line Spacing n/60 InchESC A
Line Spacing n/180 InchESC 3
Line Spacing n/360 InchESC +
Select Vertical Tab ChannelESC /
Set Form Length by LinesESC C
Set Form Length in InchesESC C NUL
Set Vertical Tabs in ChannelsESC b
Skip Over PerforationESC N
Skip Over Perforation, CancelESC O83
Vertical Tab, ExecuteVT88
Vertical Tab Set/ClearESC B
Horizontal Motion
BackspaceBS23
Carriage ReturnCR28
Character Pitch 10 cpiESC P29
Character Pitch 12 cpiESC M29
Character Pitch 15 cpiESC g30
Horizontal Tab ExecuteHT47
Horizontal Tab Set/ReleaseESC D
Proportional Spacing,
Select/DeselectESC p
Set Absolute Horizontal Print
Position in 1/60”ESC $
Set Intercharacter SpacingESC SP
Set Relative Horizontal Print
Position in 1/120”ESC \
Set Margin (Left)ESC l
Set Margin (Right)ESC Q
Emphasis
Condensed PrintSI (or ESC SI)30
Condensed Print ResetDC230
Define Pattern for Special
Printing EffectESC ( X
Double High Print, Set/ResetESC w
Double Strike (Select)ESC G35
Double Strike (Cancel)ESC H36
Double Wide PrintESC W
n
n
n
n
c
n
n
c n1 n2 n3...n16
n
n1 n2 n3...nk
n1...nk
NUL48
n
n1 n2
n
n1 n2
n
n
n1 n2 a1 a2 a3
n
n
50
53
54
55
69
73
74
NUL82
82
NUL88
61
71
75
81
79
80
33
35
36
18
Control Code Index
FUNCTIONASCII CODE PAGE
Double Wide Print (1 line)SO (or ESC SO)37
Double Wide Print (1 line) CancelDC438
Emphasized Print (Select)ESC E39
Emphasized Print (Cancel)ESC F40
Italic Printing, SelectESC 449
Italic Printing, CancelESC 549
Select Italic Character SetESC t
Select Special Printing EffectESC q
Superscript and Subscript PrintingESC S
Superscript and Subscript Printing,
CancelESC T85
UnderlineESC –
Print Quality Control
Master Print SelectESC !
Select Print QualityESC x
Select Typeface (TW printer only)ESC k
Character Set Manipulation
Enable Printing of Control CodesESC I
Make Hex 80-9F PrintableESC 656
Make Hex 80-9F Control CodesESC 757
Set International Character SetESC R
Data Manipulation
Cancel LineCAN28
Delete CharacterDEL35
Graphics
Graphics, Standard Density ESC K
Graphics, Double DensityESC L
Graphics, Double Density,
Double SpeedESC Y
Graphics, Quadruple DensityESC Z
Select Graphics ModeESC *
Miscellaneous Printer Control
BellBEL27
Home Print HeadESC <47
Initialize PrinterESC @49
Printer SelectDC161
Printer DeselectDC360
Unidirectional Printing for One LineESC <87
Unidirectional Printing, Set/ResetESC U
Chapter2Configuring The LQ-1600K Emulation With Control Codes
FUNCTIONASCII CODE PAGE
Define User-Defined CharacterASSC 0 2
Master Select One-line Attribute60
in DBCS ModeASSC 0 !
Turn On/Off OCRB PrintingASSC 0 z
AR3240 Commands (for GB and Kanji printer only)
Set 0-dot Intercharacter Spacing of
DBCS CharactersSUB Q69
Set 3-dot Intercharacter Spacing of
DBCS CharactersSUB N70
Set 6-dot Intercharacter Spacing of
DBCS CharactersSUB E70
Set 12-dot Intercharacter Spacing of
DBCS CharactersSUB P70
Select DBCS ASCII Character Type FS k
Select DBCS Character FontESC u
Vertical and Horizontal ExtensionESC e
Select DBCS Character BitmapFS e
DBCS Command Set
Adjust Half-Width Characters to Fit
into DBCS character spacingFS U21
Adjust Table CharactersFS v
Align Two Half-Width Rotated
Characters in DBCS ModeFS D22
Cancel Character RotationFS K27
Cancel Spacing AdjustmentFS V28
CC DOS Control CodeESC I
DBCS Mode (Select)FS &31
DBCS Mode (Cancel)FS .31
DBCS Mode UnderlineFS –
DBCS Superscript/Subscript Print
(Set/Cancel)FS r n 32
Define a Download Character
(DBCS)FS 2
Double Wide Print (1 line)FS SO38
Double Wide Print (1 line),
CancelFS DC438
Double Wide, Double High
(2x2) PrintFS W
Half-Width PrintFS SI47
Half-Width Print CancelFS DC247
Master Print Select in
DBCS ModeFS !
Rotate Character 90 degrees
Counter-ClockwiseFS J61
Select DBCS Print QualityFS x
Set Intercharacter Spacing (one-byte)
in DBCS ModeFS T
Set Intercharacter Spacing (two-byte)
in DBCS ModeFS S
n
n
n
n
n
n1 n2
n1 n2
n
n
n
n1 n2 n3...n74
n
n
n
n1 n2
n1 n2
34
86
63
63
87
63
21
29
31
32
39
59
64
75
76
20
Adjust Half-Width Characters To Fit Into DBCS Character Spacing
Adjust Half-Width Characters To Fit Into DBCS
Character Spacing
ASCII Code FS U
Hex Code1C 55
Dec Code28 85
PurposeAligns two half-width characters to fit the space normally
occupied by a single full-width DBCS character.
CommentThis control code does not function while in non-DBCS mode.
Adjust Table Characters
ASCII Code FS v
Hex Code1C 76
Dec Code28 118
PurposeExtends the table (line draw) characters in the following ranges:
They are extended so they touch in both horizontal and vertical
directions.
Where:
n
= 0 to turn off this function
n
= 1 to turn on this function
21
Chapter2Configuring The LQ-1600K Emulation With Control Codes
Align Two Half-Width Rotated Characters In
DBCS Mode
ASCII Code FS D
Hex Code1C 44
Dec Code28 68
PurposeAligns two half-width rotated characters to fit the space
occupied by a normal size rotated character.
CommentRight after the control code sequence, two characters are
paired. The characters are not required to be half-width to be
aligned, because the command automatically takes care of
that. It is only necessary for the characters to be rotated in
order for the command to take effect. Only two characters are
combined at a time.
This command does not function while in non-DBCS mode.
ExampleThe following program demonstrates the function of the
command.
22
Backspace
Backspace
ASCII Code BS
Hex Code08
Dec Code08
PurposeMoves the simulated print head to the left, one-byte space
toward the first character column. In DBCS mode, the
movement is two one-byte spaces.
CommentMoves the character position indicator one-byte space (two
one-byte spaces in DBCS mode) to the left at the current
character pitch setting. The code is ignored if the simulated
print head is positioned at the first character column.
ExamplePrint and send two backspaces in ASCII and DBCS mode.
23
Chapter2Configuring The LQ-1600K Emulation With Control Codes
Barcode Printing
ASCII Code SSCC c
[; C ] [; H hh] [; D ] [; F
Hex CodeSSCC 63
[; 50 p ] [; 43 ] [; 48 hh] [; 44 ] [; 46
Dec CodeSSCC 99
[; 80 p ] [; 67 ] [; 72 hh] [; 68 ] [; 70
Where:
t
= type of Barcode
t (ASCII)t (hex)Selects Barcode
B42Codabar
C43Code 39
939Code 93
D44Code 128
838EAN-8
t; d data d
t; d data d
t; d data d
[; N n ;
[; 4E n ;
[; 78 n ;
xxxx ; yyyy
q data q
xxxx ; yyyy
xxxx ; yyyy
]
] [; X
] [; 58
q data q
] [; 88
q data q
mmmm
mmmm
]
mmmm
]
] [; P p ]
]
]
131EAN-13
F46FIM
G47German I-2/5
I49Interleaved 2/5
M4DMSI
434PDF 417
O4FPostBar
P50POSTNET
R52Royal Mail
T54Te l ep e n
V56UCC/EAN-128
A41UPC-A
E45UPC-E
S53UPC Shipping
U55UPS 11
24
Where:
d
= barcode delimiter, which can be any character not used in
the barcode data field.
data
= variable length printable data field (PDF); character set
is Alphanumeric
The following parameters are optional:
where:
N = activates the offset
n
= the x and y coordinate unit system
n
(ASCII)Selects Value
0Use current cpi and lpi values
1Use 1/4 inch value
2Use 1/2 centimeter value : 1/(2.54x2)
Barcode Printing
3Use 1 mm value : 1/(25.4)
4Use target barcode dot (refer to table immediately below)
when:
n
= 4
Front Panel TypefaceX Offset Unit (Inch)Y Offset Unit (Inch)
LQ1/1801/180
Near LQ1/1201/120
Normal1/1801/144
Hi-Speed1/1801/120
Super Hi-Speed1/1801/90
Ultra Hi-Speed 1/1801/90
25
Chapter2Configuring The LQ-1600K Emulation With Control Codes
* The X1C, X1D, and X1E values can only be printed for a 180 dpi
horizontal barcode. If these values are sent for a 120 dpi horizontal
barcode, it will print as value X1.
Bell
Where:
P = activates printable data field variable
p
= location of PDF (“A” {above}, “B” {below,default}, “N”
{none})
NOTE: FIM, Postbar, and PDF417 do not support this
parameter.
C = Calculate and plot check digit (if the check digit is optional)
H = activates the height variable
hh
= 2-digit barcode height in 1/10”
D = Dark barcode
(Note: This parameter does not take effect under any DBCS
typefaces.)
[;F
q data q
data field is only used to specify the barcode data when the
primary data field is empty (two delimiters without any data).
When the primary data field is not empty, the secondary data
field is ignored.
] = secondary data field (optional). The secondary
Bell
ASCII Code BEL
Hex Code07
Dec Code07
PurposeSounds the printer's buzzer/beeper.
CommentThe BEL function will sound the buzzer/beeper for 0.2 seconds
upon receipt of this command
Cancel Character Rotation
ASCII Code FS K
Hex Code1C 4B
Dec Code28 75
PurposeCancels character rotation (horizontal printing mode).
CommentThis command cancels the effect of FS J. This control code
does not function while in non-DBCS mode.
27
Chapter2Configuring The LQ-1600K Emulation With Control Codes
Cancel Line
ASCII Code CAN
Hex Code18
Dec Code24
PurposeClears all data not yet printed from a line, but does not affect
control codes.
CommentYou can use this control code to delete a line, but do so with
caution to avoid possible misprinting. This control code cancels
the double wide attribute set by SO. No other print attributes
are affected. The simulated print head goes to the print position
it had after the last CR or paper motion command.
Cancel Spacing Adjustment
ASCII Code FS V
Hex Code1C 56
Dec Code28 86
PurposeCancels the spacing adjustment of half-width characters to fit
into the full-width DBCS character space.
CommentThis command cancels the effect of FS U. This control code
does not function while in non-DBCS mode.
Carriage Return
ASCII Code CR
Hex Code0D
Dec Code13
PurposeReturns the simulated print head to the left margin.
CommentThe CR code may or may not cause printing or paper motion,
depending on the configuration as set from the control panel. If
CR=CR is set, the characters following the CR are printed over
the previous characters on the line. If CR=CR+LF is set, the
paper is also moved one line at the current line spacing. This
automatic LF will also cancel all single line print attributes.
28
CC DOS Control Code
CC DOS Control Code
ASCII Code ESC I
Hex Code1B 49
Dec Code27 73
Value of
n
ACharacters print normal size.
BCharacters print double width, in both ASCII and Hanzi
CCharacters print double height, only in Hanzi mode.
DCharacters print double width and double height, but
n
n
n
Table 4. CC DOS Control Code Parameters
mode.
double height only prints in Hanzi mode.
Character Pitch 10 CPI
ASCII Code ESC P
Hex Code1B 50
Function
Dec Code27 80
PurposeSets character pitch to 10 characters per inch (cpi).
CommentThis command is available in all print modes except DBCS
mode. This command is normally used to cancel 12 cpi. This
command affects the front panel setting of cpi.
Character Pitch 12 CPI
ASCII Code ESC M
Hex Code1B 4D
Dec Code27 77
PurposeSets character pitch to 12 characters per inch (cpi).
CommentThis command is available in all print modes except DBCS
mode. This command affects the front panel setting of cpi.
29
Chapter2Configuring The LQ-1600K Emulation With Control Codes
Character Pitch 15 CPI
ASCII Code ESC g
Hex Code1B 67
Dec Code27 103
PurposeSets character pitch to 15 characters per inch (cpi).
CommentThis command is available in all print modes except DBCS
mode. This command affects the front panel setting of cpi.
Condensed Print (Set/Reset)
ASCII Code SIESC SIDC2
Hex Code0F1B 0F18
Dec Code1527 1512
PurposeCondenses print pitch as close as possible to 60 percent of the
former character width.
Comment10 cpi condenses to 17.1 cpi
12 cpi or 13.3 cpi condenses to 20 cpi
15 cpi will not have condense print
Control code SI affects all subsequent characters. After
receiving code SI, all characters are printed condensed until
the printer is reset by ESC M, ESC P, DC2, a printer reset, or a
new print mode control code. SI code (hex 0F) is equivalent to
the ESC SI code. If condensed print is not allowed in the
current font, this code is ignored. Proportional spacing
overrides condensed printing. This control code does not
function while in DBCS mode. 12 cpi will condense to 20 cpi
only
if the menu option “20 CPI Condensed” is enabled.
ExampleThe program below shows condensed character printing and
reset.
30
Loading...
+ 98 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.