Epson PLQ-20 Passbook User manual

Category
Print & Scan
Type
User manual
PLQ-20/PLQ-20M
Programming Guide
(PR2, PR54+, PR40+)
June 2004
®
NPD0841-00
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:2
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form
or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of
Seiko Epson Corporation. No patent liability is assumed with respect to the use of the information contained herein. While
every precaution has been taken in the preparation of this book, Seiko Epson Corporation assumes no responsibility for
errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained
herein.
EPSON is a registered trademark of Seiko Epson Corporation.
Centronics is a trademark of Centronics Data Computer Corporation.
General Notice: Other product names used herein are for identification purposes only and may be trademarks of their
respective owners. EPSON disclaims any and all rights in those marks.
Copyright © 2004 by SEIKO EPSON Corporation, Nagano, Japan.
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:3
Contents
Introduction 4
Command list by function 5
Command list in ASCII order 8
Individual Command Explanations 10
Glossary 96
Code Table 98
ANK character code table 98
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:4
1. Introduction
This manual was developed as an aid in creating programs and drivers that take advantage of features of
the PLQ-20/PLQ-20M in [PR2], [PR54+], or [PR40+] mode.
It is assumed the reader understands basic concepts such as bytes, ASCII codes, commands, and
parameters.
It is also assumed the reader can use a programming language or application program to send commands
to the printer.
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:5
Command list by function
The following section lists commands by their function.
Command names
Available emulation
modes Page
1.1 Page control command
ESC Q n1 n2 n3 ESC Z Line unit page length setting [PR2][PR40+][PR54+] 10
ESC J n1 n2 n3 Left margin setting [PR2][PR40+][PR54+] 11
ESC T n1 n2 n3 TOF position setting [PR2][PR40+][PR54+] 12
ESC M n1 n2 n3 Bottom margin setting [PR2][PR40+][PR54+] 13
ESC & n1 n2 Line space setting [PR2][PR40+][PR54+] 14
1.2 Print character pitch setting command
ESC < 10 cpi setting [PR2][PR40+][PR54+] 15
ESC = 12 cpi setting [PR2][PR40+][PR54+] 16
ESC > 16.6 cpi setting [PR2][PR40+][PR54+] 17
ESC a n Character pitch setting [PR2][PR54+] 18
ESC ? Proportional setting [PR2][PR40+][PR54+] 19
1.3 Print attribute command
ESC R n1 n2 n3 Character font selection [PR2][PR54+] 20
ESC R n1 n2 n3 Character font selection [PR40+] 21
ESC 3 Double width setting [PR2][PR40+][PR54+] 22
ESC 4 Double width cancel [PR2][PR40+][PR54+] 23
ESC d Quadruple size setting [PR2][PR40+][PR54+] 24
ESC e Quadruple size setting cancel [PR2][PR40+][PR54+] 25
ESC ! W n Double height enlargement setting and cancel [PR2][PR40+][PR54+] 26
ESC ! SP n1n2n3 Right space correction [PR2][PR54+] 27
ESC ( Emphasized setting [PR2][PR40+][PR54+] 28
ESC ) Emphasized cancel [PR2][PR40+][PR54+] 29
ESC * n Score setting [PR2][PR40+][PR54+] 30
ESC + Score cancel [PR2][PR40+][PR54+] 31
ESC ` n Superscript/subscript setting [PR2][PR40+][PR54+] 32
ESC { Superscript/subscript cancel [PR2][PR40+][PR54+] 33
1.4 Printer operation command
ESC S 5 Cut sheet printing selection [PR2][PR40+][PR54+] 34
ESC S 1 (Not Support) Continuous paper printing selection [PR2][PR40+][PR54+] 35
LF Line feed [PR2][PR40+][PR54+] 36
FF Form feed [PR2][PR40+][PR54+] 37
CR Carriage return [PR2][PR40+][PR54+] 38
BS Back space [PR2] [PR54+] 39
ESC 7 Backward line feed [PR2][PR40+][PR54+] 40
ESC H n1 n2 n3 Absolute horizontal position setting [PR2][PR40+][PR54+] 41
ESC I n1 n2 n3 Relative vertical position setting [PR2][PR40+][PR54+] 42
ESC L n1 n2 n3 Absolute vertical position setting [PR2][PR40+][PR54+] 43
ESC O Paper output [PR2][PR40+][PR54+] 45
ESC ^ n (Not Support) Emulation change [PR2][PR40+][PR54+] 46
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:6
Command names
Available emulation
modes Page
ESC [ n1 n2 n3 Character code table allocation [PR2][PR40+][PR54+] 47
BEL Sound buzzer [PR2][PR40+][PR54+] 48
DEL Print buffer deletion [PR2][PR40+][PR54+] 49
ESC # n ESC L n1n2n3 reference point setting [PR2][PR40+][PR54+] 50
ESC | A n1 n2 n3
1/120 inch unit horizontal reference point
setting [PR2][PR40+][PR54+] 51
ESC | B n1 n2 n3 n4 1/120 inch unit passbook width setting [PR2][PR40+][PR54+] 52
ESC ' n Passbook type setting [PR2][PR40+][PR54+] 53
ESC / m n1n2n3n4 Absolute vertical position in inch unit setting [PR2][PR40+][PR54+] 54
ESC - Paper length measurement [PR2][PR40+][PR54+] 56
ESC } - Paper width measurement [PR2] [PR54+] 57
1.5 Bit image mode command
ESC 1 p mmmm nnn d1,d2,...,dn Start bit image [PR2][PR40+][PR54+] 58
ESC 2 End bit image [PR2][PR40+][PR54+] 61
ESC LF Line feed (bit image mode only) [PR2][PR40+][PR54+] 62
ESC CR Carriage return (bit image mode only) [PR2][PR40+][PR54+] 63
ESC 7 Backward line feed (in the bit image mode) [PR2][PR40+][PR54+] 64
ESC X n1n2n3 Horizontal movement (bit image mode only) [PR2][PR40+][PR54+] 65
ESC ! G n 8-bit/24-bit bit image selection [PR2] 66
1.6 User-defined character command
ESC h 0 n m [d0 d1 d2
D1~k]m-n+1 8-bit download character definition [PR2][PR40+][PR54+] 67
ESC h 0 n m [d0 d1 d2
D1~k]m-n+1 24-bit download character definition [PR2] 70
ESC : 000 Character set copy [PR2][PR40+][PR54+] 71
ESC m n 0 Select user-defined character set [PR2][PR40+][PR54+] 72
1.7 Printer control command
ESC Z Primary ID request [PR2][PR40+][PR54+] 73
ESC i Printer configuration request [PR2][PR40+][PR54+] 74
ESC j Status request [PR2][PR40+][PR54+] 76
ESC sp B Paper status request [PR2][PR40+][PR54+] 78
ESC sp b (Not Supported) Release ID request [PR2][PR54+] 80
ESC sp a (Not Supported) Set-Up Menu setting request [PR2][PR54+] 81
ESC l Error reset [PR2][PR40+][PR54+] 82
ESC n Olivetti control procedure start command [PR2][PR40+][PR54+] 83
ESC 0 Printer initialization [PR2][PR40+][PR54+] 84
ESC U n
Print operation request (in the manual
operation mode) [PR2][PR40+][PR54+] 85
ESC U n
Print operation request (in the automatic
operation mode) [PR2][PR40+][PR54+] 86
ESC . Automatic operation mode [PR2][PR40+][PR54+] 87
ESC _ Manual operation mode [PR2][PR40+][PR54+] 88
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:7
1.8 Magnetic recording device control command
ESC ] Magnetic stripe readout [PR2][PR40+][PR54+] 89
ESC t d1,d2,...dn GS Magnetic stripe encoding format setting [PR2][PR40+][PR54+] 91
ESC \ Magnetic stripe encoding and check [PR2][PR40+][PR54+] 92
ESC Y E k1 k2 Magnetic stripe device setting [PR2][PR40+][PR54+] 93
1.9 Bar code printing command
ESC x mm; hh; zz; n ESC Z Bar code print setting [PR2] [PR54+] 94
ESC y d1,d2,...,dn ESC Z Bar code printing [PR2] [PR54+] 95
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:8
Command list in ASCII order
The following section lists commands in their ASCII order.
Command names
Available emulation
modes Page
BEL Sound buzzer [PR2][PR40+][PR54+] 48
BS Back space [PR2] [PR54+] 39
LF Line feed [PR2][PR40+][PR54+] 36
FF Form feed [PR2][PR40+][PR54+] 37
CR Carriage return [PR2][PR40+][PR54+] 38
ESC LF Line feed (bit image mode only) [PR2][PR40+][PR54+] 62
ESC CR Carriage return (bit image mode only) [PR2][PR40+][PR54+] 63
ESC sp B Paper status request [PR2][PR40+][PR54+] 78
ESC sp a (Not Supported) Set-Up Menu setting request [PR2][PR54+] 81
ESC sp b (Not Supported) Release ID request [PR2][PR54+] 80
ESC ! SP n1n2n3 Right space correction [PR2][PR54+] 27
ESC ! G n 8-bit/24-bit bit image selection [PR2] 66
ESC ! W n Double height enlargement setting and cancel [PR2][PR40+][PR54+] 26
ESC # n ESC L n1n2n3 reference point setting [PR2][PR40+][PR54+] 50
ESC & n1 n2 Line space setting [PR2][PR40+][PR54+] 14
ESC ' n Passbook type setting [PR2][PR40+][PR54+] 53
ESC ( Emphasized setting [PR2][PR40+][PR54+] 28
ESC ) Emphasized cancel [PR2][PR40+][PR54+] 29
ESC * n Score setting [PR2][PR40+][PR54+] 30
ESC + Score cancel [PR2][PR40+][PR54+] 31
ESC - Paper length measurement [PR2][PR40+][PR54+] 56
ESC . Automatic operation mode [PR2][PR40+][PR54+] 87
ESC / m n1n2n3n4 Absolute vertical position in inch unit setting [PR2][PR40+][PR54+] 54
ESC 0 Printer initialization [PR2][PR40+][PR54+] 84
ESC 1 p mmmm nnn d1,d2,...,dn Start bit image [PR2][PR40+][PR54+] 58
ESC 2 End bit image [PR2][PR40+][PR54+] 61
ESC 3 Double width setting [PR2][PR40+][PR54+] 22
ESC 4 Double width cancel [PR2][PR40+][PR54+] 23
ESC 7 Backward line feed [PR2][PR40+][PR54+] 40
ESC 7 Backward line feed (in the bit image mode) [PR2][PR40+][PR54+] 64
ESC : 000 Character set copy [PR2][PR40+][PR54+] 71
ESC < 10 cpi setting [PR2][PR40+][PR54+] 15
ESC = 12 cpi setting [PR2][PR40+][PR54+] 16
ESC > 16.6 cpi setting [PR2][PR40+][PR54+] 17
ESC ? Proportional setting [PR2][PR40+][PR54+] 19
ESC H n1 n2 n3 Absolute horizontal position setting [PR2][PR40+][PR54+] 41
ESC I n1 n2 n3 Relative vertical position setting [PR2][PR40+][PR54+] 42
ESC J n1 n2 n3 Left margin setting [PR2][PR40+][PR54+] 11
ESC L n1 n2 n3 Absolute vertical position setting [PR2][PR40+][PR54+] 43
ESC M n1 n2 n3 Bottom margin setting [PR2][PR40+][PR54+] 13
ESC O Paper output [PR2][PR40+][PR54+] 45
ESC Q n1 n2 n3 ESC Z Line unit page length setting [PR2][PR40+][PR54+] 10
ESC R n1 n2 n3 Character font selection [PR2][PR54+] 20
ESC R n1 n2 n3 Character font selection [PR40+] 21
ESC S 1 (Not Supported) Continuous paper printing selection [PR2][PR40+][PR54+] 35
ESC S 5 Cut sheet printing selection [PR2][PR40+][PR54+] 34
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:9
Command names
Available emulation
modes Page
ESC T n1 n2 n3 TOF position setting [PR2][PR40+][PR54+] 12
ESC U n
Print operation request (in the manual
operation mode) [PR2][PR40+][PR54+] 85
ESC U n
Print operation request (in the automatic
operation mode) [PR2][PR40+][PR54+] 86
ESC X n1n2n3 Horizontal movement (bit image mode only) [PR2][PR40+][PR54+] 65
ESC Y E k1 k2 Magnetic stripe device setting [PR2][PR40+][PR54+] 93
ESC Z Primary ID request [PR2][PR40+][PR54+] 73
ESC [ n1 n2 n3 Character code table allocation [PR2][PR40+][PR54+] 47
ESC \ Magnetic stripe encoding and check [PR2][PR40+][PR54+] 92
ESC ] Magnetic stripe readout [PR2][PR40+][PR54+] 89
ESC ^ n (Not Support) Emulation change [PR2][PR40+][PR54+] 46
ESC _ Manual operation mode [PR2][PR40+][PR54+] 88
ESC ` n Superscript/subscript setting [PR2][PR40+][PR54+] 32
ESC a n Character pitch setting [PR2][PR54+] 18
ESC d Quadruple size setting [PR2][PR40+][PR54+] 24
ESC e Quadruple size setting cancel [PR2][PR40+][PR54+] 25
ESC h 0 n m [d0 d1 d2
D1~k]m-n+1 8-bit download character definition [PR2][PR40+][PR54+] 67
ESC h 0 n m [d0 d1 d2
D1~k]m-n+1 24-bit download character definition [PR2] 70
ESC i Printer configuration request [PR2][PR40+][PR54+] 74
ESC j Status request [PR2][PR40+][PR54+] 76
ESC l Error reset [PR2][PR40+][PR54+] 82
ESC m n 0 Select user-defined character set [PR2][PR40+][PR54+] 72
ESC n Olivetti control procedure start command [PR2][PR40+][PR54+] 83
ESC t d1,d2,...dn GS Magnetic stripe encoding format setting [PR2][PR40+][PR54+] 91
ESC x mm; hh; zz; n ESC Z Bar code print setting [PR2] [PR54+] 94
ESC y d1,d2,...,dn ESC Z Bar code printing [PR2] [PR54+] 95
ESC { Superscript/subscript cancel [PR2][PR40+][PR54+] 33
ESC | A n1 n2 n3
1/120 inch unit horizontal reference poin
t
setting [PR2][PR40+][PR54+] 51
ESC | B n1 n2 n3 n4 1/120 inch unit passbook width setting [PR2][PR40+][PR54+] 52
ESC } - Paper width measurement [PR2] [PR54+] 57
DEL Print buffer deletion [PR2][PR40+][PR54+] 49
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:10
ESC Q n1 n2 n3 ESC Z Line unit page length setting
[PR2][PR40+][PR54+]
Format ASCII ESC Q n1 n2 n3 ESC Z
Hex 1BH 51H n1 n2 n3 1BH 5AH
Decimal 27 81 n1 n2 n3 27 81
Domain 30H n1 39Hm, 30H n2 39H, 30H n3 39H (possible if 1 byte or more) n1n2n3 255
Function Sets the page length to line X.
Sets (number of lines × line space at time of setting) as the page length, with the decimal
value indicated by the ASCII characters for the parameters n1, n2, and n3 as line X.
The standard for page length is the distance from the top edge of the paper.
Default -
Notes The page length set is effective for the current page and the following pages.
In the following cases, a “Command specification error” results.
* A setting outside the domain
* The page length setting value is less than 70 mm
* The paper status is “Document inserted”
* There is print data in the current line buffer, and printing has not ended with a start printing
command
Related commands ESC n (Olivetti control procedure start command)
ESC & nn (n/240 inch line space setting)
ESC L n1n2n3 (Vertical printing position setting)
ESC / m nnnn (Vertical printing position setting in inch units)
Page length set
with this command
Top edge of paper
Printable area
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:11
ESC J n1 n2 n3 Left margin setting
[PR2][PR40+][PR54+]
Format ASCII ESC J n1 n2 n3
Hex 1BH 4AH n1 n2 n3
Decimal 27 74 n1 n2 n3
Domain 30H n1 39H, 30H n2 39H, 30H n3 39H n1n2n3 255
Function Sets the non-printable area from the horizontal reference point to the X column.
Sets the amount (number of characters -1) = X indicated by the ASCII characters for the
parameters n1, n2, and n3 as the left margin.
The reference point for the left margin is the “horizontal reference point.”
The setting unit is as follows based on the current character pitch.
Character pitch Left margin setting unit
10 cpi Every 1/10 inch
12 cpi Every 1/12 inch
13 cpi Every 1/12.8 inch
15 cpi Every 1/15 inch
16.6 cpi Every 1/16.6 inch
17.1 cpi Every 1/17.1 inch
Proportional Every 1/10 inch
Default 1 column from the horizontal reference point
Notes Not influenced by double width enlargement and triple width enlargement character pitch.
In the following cases, the left margin position is the horizontal reference point.
¡ The specified left margin position exceeds the right margin setting
¡ n1, n2, and n3 are all “0” or “001.”
In the following cases, a “Command specification error” results.
* A setting outside the domain
* There is print data in the current line buffer, and printing has not ended with a start printing
command
Related commands ESC | A n1n2n3 (1/120 inch unit horizontal reference point setting)
ABC
A B CB: 1/120 inch unit horizontal reference
setting set with “ESC | An1n2n3”
C: Left margin position setting value set
with this command
A: Printable left-most edge
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:12
ESC T n1 n2 n3 TOF position setting
[PR2][PR40+][PR54+]
Format ASCII ESC T n1 n2 n3
Hex 1BH 54H n1 n2 n3
Decimal 27 84 n1 n2 n3
Domain 30H n1 39H, 30H n2 39H, 30H n3 39H
Printable character top edge area n1n2n3 999
Function Sets the X line from the top edge of the page to the lowest edge of the printing start line as the
non-printable area.
Sets (number of lines × line space at time of setting) inches as the upper margin position
(TOF), with the decimal value indicated by the ASCII characters for the parameters n1, n2,
and n3.
The setting unit is as follows based on “Default setting: Vertical resolution.”
216 240
1/216 inch unit 1/240 inch unit
Default Printable top edge position
Notes The TOF position set is effective in following pages.
Sets the printable top edge as the TOF position when n1, n2, and n3 are all “9.”
If the TOF position setting exceeds the page length or the bottom margin, the TOF position
setting remains unchanged at the original setting value.
In the following cases, a “Command specification error” results.
* A setting outside the domain
* There is print data in the current line buffer, and printing has not ended with a start printing
command
* After the TOF position is set with this command, printing is performed at a lower vertical
position than the TOF position
* The setting value is less than the printable top edge position
Related commands ESC Q n1 n2 n3 ESC Z (Line unit page length setting)
ESC L n1n2n3 (Vertical printing position setting)
ESC / m nnnn (Vertical printing position setting in inch units)
Top margin setting
Top edge of page
Printable area
abcdefghijklmn Character box
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:13
ESC M n1 n2 n3 Bottom margin setting
[PR2][PR40+][PR54+]
Format ASCII ESC M n1 n2 n3
Hex 1BH 4DH n1 n2 n3
Decimal 27 77 n1 n2 n3
Domain 30H n1 39H, 30H n2 39H, 30H n3 39H
Function Sets the non-printable area from the page length to the X line.
Sets (logical page length) - (number of lines) × (line space at time of setting) inches as the
bottom margin position, with the decimal value indicated by the ASCII characters for the
parameters n1, n2, and n3 as line X.
Default Printable bottom edge position
Notes The bottom margin set is effective in following pages.
If n1, n2, and n3 are all set to “0,” the amount of bottom margin = logical page length.
If n1, n2, and n3 are all set to “9,” the bottom margin position is set in the page bottom
edge non-printable area.
In the following cases, a “Command specification error” results.
* A setting outside the domain
* (Number of lines indicated by the ASCII characters for n1, n2, and n3) × (Current line
space) exceeds the page length.
* There is print data in the current line buffer, and printing has not ended with a start printing
command
* The paper status is “Document inserted”
Related commands ESC Q n1 n2 n3 ESC Z (Line unit page length setting)
ESC & nn (n/240 inch line space setting)
Bottom edge of paper
Printable area
Bottom margin position
Non-print area setting value set with this
command
Logical page length set with
ESC Q n1n2n3 ESC Z
Top edge of paper
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:14
ESC & n1 n2 Line space setting
[PR2][PR40+][PR54+]
Format ASCII ESC & n1 n2
Hex 1BH 26H n1 n2
Decimal 27 38 n1 n2
Domain 30H n1 39H, 30H n2 39H
Function Specifies the line space.
Sets n/240 inches or n/216 inches as the line space, in accordance with the decimal value
n of 2 columns indicated by the parameters n1 and n2.
The setting unit is as follows based on “Default setting: Vertical resolution.”
216 240
1/216 inch unit 1/240 inch unit
Default 1/6-inch line space
Notes If n1 and n2 are “0,” line space is set to 1/6 inches.
In the following cases, a “Command specification error” results.
* A setting outside the domain
* There is print data in the current line buffer, and printing has not ended with a start printing
command
Related commands ESC Q n1 n2 n3 ESC Z (Line unit page length setting)
ESC M n1 n2 n3 (Bottom margin setting)
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:15
ESC < 10 cpi setting
[PR2][PR40+][PR54+]
Format ASCII ESC <
Hex 1BH 3CH
Decimal 27 60
Function Specifies the character pitch according to the following.
Sets ASCII character pitch and Kanji single byte character pitch to 10 cpi.
Sets Kanji double byte character pitch to 5 cpi.
Cancels the proportional setting.
Default 12 cpi setting
Proportional canceled
Notes If character pitch is specified with a different print density in the same line, it is printed with
another pass with start printing.
Related commands ESC a n (Character pitch setting)
ESC = (12 cpi setting)
ESC > (16.6 cpi setting)
ESC ? (Proportional setting)
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:16
ESC = 12 cpi setting
[PR2][PR40+][PR54+]
Format ASCII ESC =
Hex 1BH 3DH
Decimal 27 61
Function Specifies the character pitch according to the following.
Sets ASCII character pitch and Kanji single byte character pitch to 12 cpi.
Sets Kanji double byte character pitch to 6 cpi.
Cancels the proportional setting.
Default 12 cpi setting
Proportional canceled
Notes If character pitch is specified with a different print density in the same line, it is printed with
another pass with start printing.
In the following case, a “Command specification error” results.
* This command is transmitted when the character font is "OCR-A" or "OCR-B"
Related commands ESC a n (Character pitch setting)
ESC < (10 cpi setting)
ESC > (16.6 cpi setting)
ESC ? (Proportional setting)
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:17
ESC > 16.6 cpi setting
[PR2][PR40+][PR54+]
Format ASCII ESC >
Hex 1BH 3EH
Decimal 27 62
Function Specifies the character pitch according to the following.
Sets ASCII character pitch and Kanji single byte character pitch to 16.6 cpi or 17.1 cpi.
Sets Kanji double byte character pitch to 8.3 cpi or 8.55 cpi.
Cancels the proportional setting.
The character pitch is as follows based on “Default setting: Condensed Pitch.”
16.6 17.1
16.6 cpi 17.1 cpi
Default 12 cpi
Proportional canceled
Notes If character pitch is specified with a different print density in the same line, it is printed with
another pass with start printing.
In the following case, a “Command specification error” results.
* This command is transmitted when the character font is "OCR-A" or "OCR-B"
Related commands ESC a n (Character pitch setting)
ESC < (10 cpi setting)
ESC = (12 cpi setting)
ESC ? (Proportional setting)
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:18
ESC a n Character pitch setting
[PR2][PR54+]
Format ASCII ESC a n
Hex 1BH 61H n
Decimal 27 97 n
Domain n=30H, 31H, 32H, 33H, 34H, 38H, or 39H
Function Sets the character pitch as follows, in accordance with the value for parameter n.
n ANK & Kanji half width Kanji full width
30H 10 cpi 5 cpi
31H 10 cpi 5 cpi
32H 12 cpi 6 cpi
33H 15 cpi 7.5 cpi
34H 16.6 cpi 8.3 cpi
35H 13 cpi 6.5 cpi
38H 17.1 cpi 8.55 cpi
Cancels the proportional setting.
Default 12 cpi setting
Proportional canceled
Notes If character pitch is specified with a different print density in the same line, it is printed with
another pass with start printing.
In the following cases, a “Command specification error” results.
* A setting outside the domain
* A setting other than 10 cpi is transmitted with this command is when the character font is
"OCR-A" or "OCR-B"
Related commands ESC < (10 cpi setting)
ESC = (12 cpi setting)
ESC > (16.6 cpi/17.1 cpi setting)
ESC ? (Proportional setting)
ESC R n1 n2 n3 (Character font selection)
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:19
ESC ? Proportional setting
[PR2][PR40+][PR54+]
Format ASCII ESC ?
Hex 1BH 3FH
Decimal 27 63
Function Specifies proportional pitch as the character pitch.
Default 12 cpi setting
Proportional canceled
Notes In the Kanji mode, the proportional setting is only enabled when the full width ASCII setting
is canceled and “Default setting: Half width character” is ASCII character set. With other
character sets, 10 cpi is set.
If character pitch is specified with a different print density in the same line, it is printed with
another pass with start printing.
In the following cases, a “Command specification error” results.
* This command is transmitted when the character font is "OCR-A" or "OCR-B"
* Intercharacter space is set with “ESC ! SP n1n2n3.”
Related commands ESC a n (Character pitch setting)
ESC < (10 cpi setting)
ESC = (12 cpi setting)
ESC > (16.6 cpi setting)
ESC R n1 n2 n3 (Character font selection)
EPSON PLQ-20/PLQ-20M Programming Guide Rev. A Sheet:20
ESC R n1 n2 n3 Character font selection
[PR2][PR54+]
Format ASCII ESC R n1 n2 n3
Hex 1BH 54H n1 n2 n3
Decimal 27 82 n1 n2 n3
Domain 30H n1 39H, 30H n2 39H, 30H n3 39H
Function Sets the character font as follows, in accordance with the value for parameters n1, n2, and
n3.
n1n2n3 Font n1n2n3 Font
000 Draft 009 OCR-B
001 HSD 010 OCR-A
002 Draft 015 HSD
003 NLQ1 017 LQ2
014 NLQ2 018 Italic NLQ1
006 Italic NLQ2 020 Italic LQ2
007 Italic Draft -- --
Default NLQ1
Notes In the Kanji mode, fonts other than "OCR-A" or "OCR-B" can be set.
With “OCR-A,” if the character pitch is 10 cpi, the code tables that can be selected are in
accordance with the following table.
nnn Code Table nnn Code Table
000,010 International 080 Sweden/Finland
020 Germany 090 Switzerland
030 Portugal 100 Great Britain
040 Spain 1 110 U.S.A.
050 Denmark/ Norway 180 USSR
060 France 600 ISO 8859-1 Latin
070 Italy -- --
* nn is the ”ESC [ n1n2n3” parameter.
With “OCR-B,” if the character pitch is 10 cpi, printing is possible with all code tables.
In the following cases, a “Command specification error” results.
* A setting outside the domain or other than n1, n2, and n3 settings
* There is print data in the current line buffer, and printing has not ended with a start printing
command
* "OCR-A" or "OCR-B" is specified with this command when the following are set
ESC = (when 12 cpi is set)
ESC > (when 16.6 cpi/17.1 cpi is set)
ESC a n (character pitch setting when other than 10 cpi is specified)
ESC ? (when proportional is set)
ESC 3 (when double width is set)
ESC d (when quadruple size is set)
ESC ! W n (when double height enlargement is set)
ESC ( (when emphasized is set)
ESC * n (when score is set)
ESC ` n (when superscript/subscript is set)
ESC m n 0 (when download character set is set)
* "OCR-A" is specified with this command when a code table is selected where "OCR-A"
cannot be selected
Related commands ESC [ n1n2n3 (Character code table allocation)
ESC a n (Character pitch setting)
ESC < (10 cpi setting)
ESC = (12 cpi setting)
ESC > (16.6 cpi/17.1 cpi setting)
ESC m n 0 (Select user-defined character set)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123

Epson PLQ-20 Passbook User manual

Category
Print & Scan
Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI