Horizontal Tab
Printing and Line Feed
Form Feed
Returning to printing
Canceling print data in PAGE MODE
Journal Tab
Real-time sending of status
Real-time request to printer
Real-time output of specified pulse
Data printing in PAGE MODE
Setting the spacing of characters
Collectively specifying a printing mode
Specifying the absolute printing positions
Specifying/Canceling the download character set
Defining the download characters
Specifying the bit image mode
Specifying/Canceling underline
Specifying the 1/6-inch line feed rate
Setting the line feed rate
Data input control
Deleting the download characters
Initializing the printer
Specifying horizontal tab positions
Specifying/Canceling emphasis printing
Specifying/Canceling double strike printing
Printing and feeding paper
Selecting PAGE MODE
Selection of character fonts
Selecting the international character set
Selecting STANDARD MODE
Selection of character printing direction in PAGE MODE
Specifying/Canceling 90°-right-turned characters
Setting the print area in PAGE MODE
Specifying the relative printing position
Aligning the characters
STANDARD
MODE
cc
cc
cc
c
cc
cc
cc c
cc
cc c
cc
cc
cc
cc
cc
cc c
cc
cc
cc
cc
cc
cc
cc c
Line
cc
cc
Setting
c
Setting
cc c
LineSetting
PAGE
MODE
Setting
Affect by
GSP
c
c
c
c
c
cc
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
1
1/85
Character
ESC C0
ESC C1
ESC C2
ESC C3
ESC C4
ESC C5
ESC d
ESC P
ESC t
ESC {
ESC~f
FS g 1
FS g 2
FS P
FS q
ESC i
ESC m
ESC s
ESC u
ESC v
ESC z
GS !
GS $
GS *
GS ( A
GS /
GS :
GS B
GS H
GS I
GS L
GS M
GS P
GS V
GS W
GS \
GS ^
GS a
GS b
GS f
GS h
GS k
GS r
GS v 0
GS w
Command
Selection of printing sheet
Selection of setting sheet
Selecting the Paper Sensor valid for a paper end signal output
Selecting the paper sensor valid for print stop
Selecting the paper sensor valid for print stop
Enabling/Disabling the panel switches
Printing and feeding paper by “n” lines
Generating the specified pulse
Selecting the character code table
Specifying/Canceling the inverted characters
Font specifying command
Writing data into the user NV memory
Reading data from the user NV memory
Printing the NV bit images
Defining the NV bit images
Full cut
Partial cut (Leaving one area uncut)
Specifying a printing mode
Status signal of peripheral equipment
Signal of printer status
Printing the same data to Receipt/Journal
Specifying character sizes
Specifying the absolute vertical position of characters in PAGE MODE
Defining download bit images
Execution of test printing
Printing download bit images
Starting/Ending the macro definition
Specifying/Canceling the black/white inverted printing
Selecting of printing position of HRI characters
Sending the printer ID
Setting the left margin
Specifying/Canceling the micro characters
Setting the basic calculation pitch
Paper cutting
Setting the print area width
Specifying the relative vertical position in PAGE MODE
Execution of macro
Enabling/Disabling Automatic Status Back
Specifying/Canceling smoothing
Selection of font for HRI characters
Selection of height of the bar code
Printing the bar code
Sending of status
Printing of raster bit image
Selection of horizontal size (magnification) of bar code
STANDARD
MODE
Line
cc
cc
cc
cc
cc
cc
cc
cc
LineSetting
cc
c
(Line)
c
(Line)Disabling
ρρ
ρρ
¯¯
ρρ
ρρ
(Line)
cc
cc
cc
cc
cc
cc
cc
cc
(Line)Setting
cc
cc
(Line)
(Line)Setting
cc
cc
cc
cc
cc
cc
cc
cc
cc
PAGE
MODE
Disabling
cc
cc
cc
Affect by
GSP
c
c
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
2
2/85
= Enabling
c
No mark = Disabling
Line = Command which is valid at the line head
Setting = Command by which only setting is valid
ρ = Non-recommendable command (command provided only for maintaining compatibility with Version 1)
= Command for maintenance (which cannot be used by customers)
¯
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
3
3/85
3. Descriptions of Control Code
Horizontal Tab [HT]
[ASCII]HT
[Decimal]9
[Hexadecimal]09
[Parameter]
[Description]
x Shifts the printing position to the next horizontal tab position. The horizontal tab position is set by ESC D.
The initial setting is at intervals of 8 characters for Font A (at 9th, 17th, 25th, 33rd columns).
Printing and Line Feed [LF]
[ASCII]LF
[Decimal]10
[Hexadecimal]0A
[Parameter]
[Description]
x By specifying the C/R operation set inside the printer, the operations will be as follows:
HT
LF
<In case of CR+LF>
x If data exist inside the print buffer, line feed is performed after printout. Without data, only line feed is
performed. The next printing position becomes the head of line. If LF code is entered right after CR code, the LF
code will be ignored.
<In case of LF and being ignored>
x If data exist inside the print buffer, line feed is performed after printout. Without data, only line feed is
performed. The next printing position becomes the head of line.
x Even if LF code is entered right after CR code, the LF code will not be ignored.
Form Feed [FF]
[ASCII]FF
[Decimal]12
[Hexadecimal]0C
[Parameter]
[Description]
x Executes a batch printout of the data mapped in the print area and returns to STANDARD MODE. All data is
erased after printout.
x This command is effective only in PAGE MODE.
FF
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
4
4/85
Returning to printing [CR]
[ASCII]CR
[Decimal]13
[Hexadecimal]0D
[Parameter]
[Description]
x By specifying the C/R operation set inside the printer, the operations will be as follows:
<In case of CR+LF>
If data exist inside the print buffer, line feed is performed after printout.
Without data, only line feed is performed. The next printing position becomes the head of line.
If LF code is entered right after CR code, the LF code will be ignored.
<In case of LF >
If data exist inside the print buffer, line feed is performed after printout.
Without data, only line feed is performed. The next printing position becomes the head of line.
Even if LF code is entered right after CR code, the LF code will not be ignored.
<In case of being ignored>
This code is ignored.
CR
Data canceling in PAGE MODE [CAN]
[ASCII]CAN
[Decimal]24
[Hexadecimal]18
[Parameter]
[Description]
x Erases all data contained in the print area set in PAGE MODE. All data in the previously set print area are
also erased if they are in the currently specified print area.
x This command is effective only in PAGE MODE.
CAN
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
5
5/85
Journal Tab [RS]
[ASCII]RS
[Decimal]30
[Hexadecimal]1E
[Parameter]
[Description]
x Shifts the printing position to the head of journal paper.
x This command is effective only when both of RECEIPT/JOURNAL are selected (ESC“c1”3) and printout of the
same data to RECEIPT/JOURNAL is canceled (ESC“z”0).
x If data are entered in PAGE MODE, this command will become invalid.
RS
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
6
6/85
Real-time sending of status [DLE EOT]
[ASCII]DLEEOTn
[Decimal]164n
[Hexadecimal]1004n
DLE EOT
[Parameter]1<n<
4h
[Description]
x Sends in real-time the status specified by “n”.
n=1: Printer status.
n=2: Status caused by an offline condition.
n=3: Status caused by an error.
n=4: Paper detector status.
x Each status represents the current status.
x The status is transferred without checking whether the host is ready to receive or busy.
x This command is dealt with when it is received.
x If the same data string as that with this command is received, the same operation will be performed.
Therefore, the user should be reminded of this fact.
(Bit Image, etc.)
x This command cannot be interleaved into the code string of another command consisting of 2 bytes or more
codes.
x If ASB is valid, it is necessary to discriminate between the status due to this command and the status due to
ASB.
Note) For details of ASB (Automatic Status Back), refer to the section of GS a.
(1) n = 1: In case of printer status
BitFunction
0UnusedFixed at 0
1UnusedFixed at 1
2
Status of Pin 3 of Drawer
3Online/OfflineOnlineOffline
4UnusedFixed at 1
5Undefined−−
6Undefined−−
7UnusedFixed at 0
01
“L”“H”
Value
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
7
7/85
(2) n = 2: In case of status caused by an offline condition
Value
01
0UnusedFixed at 0
1UnusedFixed at 1
2Lever openLever closedLever opened
3
Paper feed by paper feed switchNot in paper feed state
4UnusedFixed at 1
Printing stop because of
5
“paper out” state
6Error occurredNot occurredOccurred
7UnusedFixed at 0
Bit 5: If the paper end detector detects a “paper out” state, or the paper near-end sensor is enabled by ESC
C4, printing will be stopped. At this time, bit 5 = 1.
N = 3: In case of status caused by an error
No stoppingStopping
In paper feed state
BitFunction
0UnusedFixed at 0
1UnusedFixed at 1
2Undefined−−
3Auto Cutter error occurredNo errorError occurred
4UnusedFixed at 1
5Unrecoverable error occurredNo errorError occurred
6Auto recovery error occurredNo errorError occurred
7UnusedFixed at 0
Bit 3: If this error occurs due to causes such as a paper jam, remove the cause of the error.
Then DLE ENQ n (1<n<
It is not possible, however, to recover from any error due to defect in hardware or mechanism.
Bit 6: If a head overheat is detected, it will become “1”. If the temperature falls, it will become “0”.
N=4: In case of paper detector status
BitFunction
0Unused
1UnusedFixed at 1
2Detecting Journal Near-endPaper foundPaper not found
3Detecting Receipt Near-endPaper foundPaper not found
4UnusedFixed at 1
5Detecting Journal paper-endPaper foundPaper not found
6Detecting Receipt paper-endPaper foundPaper not found
7UnusedFixed at 0
2) can be used to recover from the error.
01
Value
Value
01
Fixed at 0
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
8
8/85
Real-time request of status [DLE ENQ]
[ASCII]DLEENQn
[Decimal]165n
[Hexadecimal]1005n
DLE ENQ
[Parameter] 1<n<
[Description]
x Responds in real-time to the request that the host specifies with number “n”.
n=1: After recovering from an error, the printer resumes printing from the beginning of the line where the
error occurred.
n=2: After clearing the receive buffer and the print buffer, the printer recovers from the error.
x This command is effective only when an auto cutter error has occurred.
x If the same data string as that with this command is received, the same operation will be performed.
Therefore, the user should be reminded of this fact.
(Bit Image, etc.)
x This command cannot be interleaved into the code string of another command consisting of 2 bytes or more
x A signal specified with “t” is output to the connector pin specified with “m”.
mConnector Pin
0Pin No. 2 of Drawer Kick-Out Connector
1Pin No. 5 of Drawer Kick-Out Connector
x On-time is set at t ×100ms and off-time is set at t ×100ms.
x In case an error occurred during the processing of this command, this command is ignored.
x In case pulse output was being performed during the processing of this command (ESC P or DEL DC 4 is
being executed), this command is ignored.
x This command will be processed as it is received.
x In specification of serial interface, this command is executed even in off-line, reception buffer full and error
conditions.
8
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
C
10
10/85
Data printing in PAGE MODE [ESC FF]
ESC FF
[ASCII]ESCFF
[Decimal]2712
[Hexadecimal]1B0C
[Parameter]
[Description]
x Executes a batch printout of data mapped in the print area in PAGE MODE. Data, ESC T and ESC W
settings and the character mapping position are held even after printing.
Setting the spacing of characters [ESC SP]
ESC SP
[ASCII]ESCSPn
[Decimal]2732n
[Hexadecimal]1B20n
[Parameter]0<n<
[Description]
x Default n=0
x Sets the right spacing of characters to [n × basic calculation pitch] inches.
x If the horizontal magnification of character is 2 or more, the spacing increases with the magnification.
x The basic calculation pitch is set by GS P. Once the right spacing is set, it will not be changed even if the
basic calculation pitch is changed by GS P.
x In STANDARD MODE, the horizontal basic calculation pitch x is used.
x In PAGE MODE
If the start point specified by ESC T is top left or bottom left, the horizontal basic calculation pitch x is used.
If the start point specified by ESC T is top right or bottom right, the vertical basic calculation pitch y is
used.
The character size can be specified also by GS !, but the last set command will become effective.
The initial value is n=0.
FFh
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
11
11/85
Collectively specifying a printing mode [ESC !]
[ASCII]ESC!n
[Decimal]2733n
[Hexadecimal
]1B21n
ESC !
[Parameter]0<n<
FFh
[Description]
x Printing mode is specified with each bit.
Value
BitFunction
0
1Undefined
2Undefined
3
4
5
6Undefined−−
7
x With double height and double width of bit being specified simultaneously, quadruple characters are created.
x An underline is attached to the full character width but not attached to the part having been skipped by the
horizontal tab, ESC“\” and ESC “$”. Neither is it attached to 90°-turned characters.
x The underline width is as specified by the <ESC –> command regardless of character size.
x The underline can be specified also by the <ESC –> command but the last processed command will become
effective.
x The character size can be specified also by GS !, but the last processed command will become effective.
x Printing of characters with different sizes such as double-size characters and normal-size characters is
possible.
x The initial value is n=0.
Character Font A (12∗24)000
Character Font B (9∗24)011
x Specifies the next printing start position by the absolute position with reference to the left margin. The
printing position is set by [16 bit specification value × basic calculation pitch] inches.
x The basic calculation pitch is set by GS P.
x “n1” is the low 8 bits of 16 bit data and “n2” is the high 8 bits.
x If the calculation leaves a fraction, the fraction is corrected with the minimum pitch of the mechanism
(203DPI) and the remainder is omitted.
x Specification beyond the printing area is ignored.
x In STANDARD MODE, the basic calculation pitch x is used.
x In PAGE MODE,
If the start point specified by ESC T is top left or bottom left, the horizontal basic calculation pitch x is
used.
If the start point specified by ESC T is top right or bottom right, the vertical basic calculation pitch y is
used.
Specifying/Canceling the download character set [ESC %]
[ASCII]ESC%n
[Decimal]2737n
[Hexadecimal]1B25n
FFh0<n2<FFh
ESC %
[Parameter]0<n<
[Description]
x Specifying/Canceling the download characters
x The lowest bit “n0” is valid for “n”.
With n=<∗∗∗∗∗∗∗0>B, the download character set is canceled.
With n=<∗∗∗∗∗∗∗1>B, the download character set is specified.
x Only the lowest bit is valid for “n”.
x If the download character set is canceled, the internal character set will be automatically specified.
x Download characters and download bit images (GS∗) cannot be defined simultaneously.
x The initial value is n=0.
7Eh 20h<m<7Eh
In case of Font A,0<a<0Ch
In case of Font B,0<a<09h
In case of Font C,0<a<08h
0<p1...pn<255
[Description]
x Defines the download characters of alphabet, number and Kana.
x “s” indicates the number of bytes in vertical direction.
x “n” indicates the start character code and “m” indicates the end character code. To define only one character,
set n=m.
x Definable character codes include 95 characters at maximum in the range of ASCII code (20h to 7Eh).
x “a” indicates the number of dots in horizontal direction.
x “pn” is the data to be defined, which indicates the pattern equal to “a” dots in horizontal direction from the
left end. The rest of pattern on the right side is filled with space.
x Once download characters are defined, they remain valid until redefinition, execution of ESC “@” and GS “∗”
or power OFF is performed.
x It is possible to check with the ESC “v” command whether download is being performed.
80h<n<
In case of Font A,a = 0Ch
In case of Font B,a = 0Ch
In case of Font C,a = 08h
[Description]
x Defines characters to blank pages.
x The characters defined with this command are stored in the nonvolatile memory. Therefore, even if the
printer is powered OFF, the definition details will be held.
x “s” indicates the number of bytes in vertical direction.
x “n” indicates the start character code and “m” indicates the end character code. To define only one character,
set n=m.
x Definable character codes are in the range of ASCII code (80h to FFh).
x “a” indicates the number of dots in horizontal direction. If characters of Font B are defined, specify 12 dots
with command, define 9 dots for character data. Configure the remaining 4 dots with white data.
x “pn” is the data to be defined, which indicates the pattern equal to “a” dots in horizontal direction from the
left end. The rest of pattern on the right side is filled with space.
x By specifying a blank page with ESC t 255, printing is performed.
x The alignment of data is as follows.
x According to the bit image mode specified by m, bit image data are printed.
x The number of dots printed is specified as 16 bits. “n1” is the low 8 bits and “n2” is the high 8 bits.
x If bit image data have been input excess of dot positions that can be printed on one line, the excess data are
discarded.
x Concerning bit image data (dn), bits to be printed are specified as “1” and bits not to be printed as “0”.
x The printing modes specified by m are as follows:
m(h)Mode
08-dots single density867DPI101DPI
1
8-dots double density
2024 dots single density24203DPI101DPI
2124 dots double density24203DPI203DPI
x When the value of m is out of the above range, the data after n1 is processed as normal printing data.
FFh 0<n2<03h
Vertical direction
No. of DotsDot DensityDot Density
867DPI203DPI
Horizontal
direction
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
16
16/85
Specifying/Canceling an underline [ESC −]
[ASCII]ESC−n
[Decimal]2745n
[Hexadecimal]1B2Dn
ESC −
[Parameter]0<n<
[Description]
x Specifying/Canceling an underline.
x An underline is attached to the full character width but not attached to the part having been skipped by the
horizontal tab (HT) and the dot position shifts (ESC $, ESC \). Neither is it attached to 90°-turned
characters.
x The kinds of underline specified by n are as follows:
n=0 : Canceling an underline.
n=1: Specifying an underline for 1-dot width.
n=2: Specifying an underline for 2- dots width.
x The width of underline is a specified width regardless of character size.
x The underline can be specified also by ESC !, but the last processed command will become effective.
x The initial value is n=0.
02h, 30h<n<32h
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
17
17/85
Specifying the 1/6-inch line feed rate [ESC 2]
[ASCII]ESC2
[Decimal]2750
[Hexadecimal]1B32
[Parameter]
[Description]
x Sets the line feed rate per line to 1/6-inch.
Setting the line feed rate [ESC 3]
[ASCII]ESC3n
[Decimal]2751n
[Hexadecimal]1B33n
ESC 2
ESC 3
[Parameter]0h<n<
[Description]
x Sets the line feed rate per line to [n×basic calculation pitch] inches.
x Sets the line feed rate to the selected setting sheet with ESC c1.
x Independent line feed rate can be set to Receipt and Journal, respectively. If printing of the same data to
Receipt and Journal is specified and PAGE MODE printing is performed, the line feed rate of Journal will be
ignored and the line feed rate of Receipt will become effective.
x Independent line feed rate can be set for STANDARD MODE and PAGE MODE, respectively.
x The basic calculation pitch is set by GS P. Once the line feed rate is set, it will not be changed even if the
basic calculation pitch is changed by GS P.
If the calculation leaves a fraction, the fraction will be corrected with the minimum pitch of mechanism
(203DPI) and the remainder will be omitted.
x In STANDARD MODE, the vertical basic calculation pitch y is used.
x In PAGE MODE,
If the start point specified by ESC T is top left or bottom right, the horizontal basic calculation
pitch y is used.
If the start point specified by ESC T is top right or bottom left, the vertical basic calculation pitch x
is used.
x If the specified line feed rate is smaller than the printing character size (vertical length), the line feed rate
will become a printing character size.
x The maximum settable line feed width is 40 inches. If the line feed width is specified to the value greater than
this maximum value, it will be trimmed to the maximum.
x The initial value is n=22h and approximately 1/6 inches (4.25mm)
FFh
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
18
18/85
Data input control [ESC =]
[ASCII]ESC=n
[Decimal]2761n
[Hexadecimal]1B3Dn
ESC =
[Parameter] 0<n<
[Description]
x Selects an equipment for which data input from the host is valid.
x Each bit of “n” is as follows:
BitFunction
0
1Undefined
2Undefined
3Undefined
4
5Undefined
6Undefined
7Undefined
x When the printer has not been selected, the printer abandons all received data until it is selected by this
command.
x Even when the printer has not been selected, it may become a BUSY state through any printer operation.
x The initial value is n=1.
FF
Value
Hexadecimal
number
Printer Valid000
Printer Invalid011
Undefined
Decimal
number
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
19
19/85
Deleting the download characters [ESC ?]
[ASCII]ESC?n
[Decimal]2763n
[Hexadecimal]1B3Fn
ESC ?
[Parameter] 20<n<
[Description]
x Deletes the download characters of specified code.
x “n” indicates the code of characters to be deleted.
x This command deletes the character font selected by ESC !.
x If the specified character code is undefined, this command will be ignored.
Initializing the printer [ESC @]
[ASCII]ESC@
[Decimal]2764
[Hexadecimal]1B40
[Parameter]
[Description]
x Clears data stored in the print buffer and initializes various settings.
x Macro definitions are not cleared.
x Data in the receiving buffer are maintained.
x NV bit image definitions are maintained.
x User NV memory data are maintained.
x Sets the horizontal tab position.
x “n” indicates the number of columns between the left margin and the horizontal tab setting position.
If n=8 is specified, for example, the next printing position will be shifted to the ninth column by execution of
HT.
x “k” indicates the number of horizontal tab position data to be set.
x The tab position is set to the position defined by “character width × n from the left margin”.
x At this time, the character width includes space between characters. If a horizontal magnification of
character is 2 or more, the character width will increase with the magnification.
x <n> which denotes a setting position is processed in the increasing order and ends at <00>h. When <n> is
equal to or smaller than its preceding <n>, the tab setting is finished. Then, the next data onward will be
processed as normal data.
x Settable tab positions are maximum 32. Tab positions specified exceeding this limit is ignored.
x ESC “D”NULL clears all the set tab positions. The horizontal tab (HT) command after clearing is ignored.
x Default is Font A and positions at eight-character intervals (9th, 17th, 25th, 33rd,…“n”th columns) at the
right spacing =0.
255 0<k<32
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
21
21/85
Specifying/Canceling emphasis printing [ESC E]
[ASCII]ESCEn
[Decimal]2769n
[Hexadecimal]1B45n
ESC E
[Parameter]0<n<
[Description]
x Specifies/Cancels the printing of emphasized characters.
x “n” is valid for the lowest bit (n0).
x Control by the lowest bit is as follows:
x With this printer, double-strike printing and emphasis printing provide completely the same result.
FFh
FFh
ESC G
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
22
22/85
Printing and feeding paper [ESC J]
[ASCII]ESCJn
[Decimal]2774n
[Hexadecimal]1B4An
ESC J
[Parameter]0<n<
[Description]
x Prints data stored in the print buffer and feeds paper by [n×basic calculation pitch] inches.
x After execution of this command, the beginning of line becomes the next print start position.
x This command does not affect the line feed width defined by ESC 2 or ESC 3.
x The basic calculation pitch is set by GS P.
x If the calculation leaves a fraction, the fraction will be corrected with the minimum pitch of the mechanism
(203DPI) and the remainder will be omitted.
x In STANDARD MODE, the vertical basic calculation pitch y is used.
x In PAGE MODE,
If the start point specified by ESC T is top left or bottom right, the vertical basic calculation pitch y is
used.
If the start point specified by ESC T is top right or bottom left, the horizontal basic calculation pitch x is
used.
If the [n×basic calculation pitch] is specified to the value greater than 40 inches, it will be trimmed to 40
inches.
FFh
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
23
23/85
Selecting PAGE MODE [ESC L]
[ASCII]ESCL
[Decimal]2776
[Hexadecimal]1B4C
[Parameter]
[Description]
x Switches from STANDARD MODE to PAGE MODE.
This command becomes effective only if it is entered at the head of line.
x With FF code or ESC S, ESC @, STANDARD MODE is restored.
x The starting position of character mapping will be the point specified by ESC T within the print area
specified by ESC W.
x The settings by the following commands, which have separate settings for PAGE MODE and STANDARD
MODE, are changed to the settings for PAGE MODE.
Spacing setting:ESC SP, FS S
Line feed setting: ESC 2, ESC 3
x In PAGE MODE, the following commands are effective only for setting.
(1) ESC VSpecifying/Canceling 90°-turned characters.
(2) ESC aAlignment of characters
(3) ESC {Specifying/Canceling inverted characters
(4) GS LSetting the left margin
(5) GS WSetting the print area
ESC L
x In PAGE MODE, the following commands are ignored.
(1) GS (AExecution of test printing
x In PAGE MODE, the following commands become invalid.
(1) FS pPrinting of NV bit image
(2) FS qDefinition of NV bit image
(3) FS g 1Data writing to user NV memory
(4) GS v 0Printing of raster bit image
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
24
24/85
Selection of character fonts [ESC M]
[ASCII]ESCMn
[Decimal]2777n
[Hexadecimal]1B4Dn
[Parameter]n=0,1,48,49
[Description]
x Selects character fonts.
nFunction
0, 48Selecting Font a (12 x 24).
1, 49Selecting Font B (9 x 24).
Selecting the international character set [ESC R]
[ASCII]ESCRn
[Decimal]2782n
[Hexadecimal]1B52n
ESC M
ESC R
[Parameter] 0<n<
[Description]
x Selects the international character set.
x Default is Japan.
9Norway
0ADenmark 2
0BSpain 2
0CLatin America
0DKorea
40Legal
International character set
U.S.A.
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
25
25/85
Selecting STANDARD MODE [ESC S]
[ASCII]ESCS
[Decimal]2783
[Hexadecimal]1B53
[Parameter]
[Description]
x Switches from PAGE MODE to STANDARD MODE.
x This command is effective only if it is entered in PAGE MODE.
x Data mapped in PAGE MODE are cleared.
x The print area defined by ESC W is initialized.
x The settings by the following commands, which have separate settings for PAGE MODE and STANDARD
MODE, are changed to the settings for PAGE MODE.
Spacing setting:ESC SP, FS S
Line feed setting: ESC 2, ESC 3
x In STANDARD MODE, the following commands are effective only for setting.
(1) ESC WSetting of print area in PAGE MODE
(2) ESC TSelection of printing direction of characters in PAGE MODE
x In STANDARD MODE, the following commands are ignored.
(1) GS $Specifying the absolute position of characters in vertical direction in PAGE MODE
(2) GS \Specifying the relative position of characters in vertical direction in PAGE MODE
ESC S
x When the printer is powered ON or reset, or when ESC @ is executed, STANDARD MODE is selected.
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
26
26/85
Selection of character printing direction in PAGE MODE [ESC T]
[ASCII]ESCTn
[Decimal]2784n
[Hexadecimal]1B54n
ESC T
[Parameter] 0<n<
3h, 30h<n<33h
[Description]
x Selects the printing direction and starting point of characters in PAGE MODE.
nPrinting directionStarting point
0,30hLeft to rightTop left
(A in the figure)
1,31hBottom to topBottom left
(B in the figure)
2,32hRight to leftBottom right
(C in the figure)
3,33hTop to bottomTop right
(D in the figure)
In STANDARD MODE, only internal settings of printer will be executed with this command.
The character mapping position will be the starting point within the print area specified by ESC W.
The basic calculation pitch “x” or “y” used by the following commands varies with starting point.
(1) If the starting point is top left or bottom right,
xCommands using “x”: ESC SP, ESC $, ESC \
xCommands using “y”: ESC 3, ESC J, GS $, GS \
(2) If the starting point is top right or bottom left,
xCommands using “x”: ESC 3, ESC J, GS $, GS \
xCommands using “y”: ESC SP, ESC $, ESC \
x Specifying/Canceling 90°-right-turned characters.
x Depending on the “n” value, specifying or canceling is performed as follows:
nFunction
0, 30Canceling 90°-right-turned characters
1, 31Specifying 90°-right-turned characters.
x In PAGE MODE, settings with this command are not affected.
x In PAGE MODE, this command executes only the internal flagging of printer without affecting printing in
x In STANDARD MODE, this command executes only the internal flagging of printer without affecting
printing in STANDARD MODE.
x If the horizontal start point or the vertical start point is out of the printable area, this command will be
canceled and the next data will be processed as normal printing data.
x If the horizontal length or the vertical length is 0, this command will be canceled and the next data will be
processed as normal printing data.
x The character mapping position will be the start point specified by ESC T in the print area.
If the (horizontal start point + horizontal length) exceeds the horizontal printable area, the (horizontal
printable area−horizontal start point) will be taken as a horizontal length.
If the (vertical start point + vertical length) exceeds the vertical printable area, the (vertical printable area−
vertical start point) will be taken as a vertical length.
x The basic calculation pitch is calculated by GS P. Once a print area is set, the print area will not be changed
even if the basic calculation pitch is changed by GS P. If the calculation leaves a fraction, the fraction will be
corrected with the minimum pitch of the mechanism (203DPI) and the remainder will be omitted. The
horizontal start point and the horizontal length are calculated with the basic calculation pitch x. The vertical
start point and the vertical length are calculated with the basic calculation pitch y.
x The print area, where the horizontal start point is X, the vertical start point is Y, the horizontal length is Dx
and the vertical length is Dy, will be as shown in the figure below.
x The horizontal length of printable area for this printer is 432/203 inches and the vertical length is 938/203
x Specifies the next print start position in a relative position with respect to the current position.
The relative amount (moving amount) is specified as 16 bit, the [specified value × basic calculation pitch]
inches.
x The basic calculation pitch is set by GS P.
x “n1” is the low 8 bits of 16 bit data and “n2” is the high 8 bits.
x If the calculation leaves a fraction, the fraction will be corrected with the minimum pitch of the mechanism
(203DPI) and the remainder will be omitted. If the next print start position is specified to the right of the
current position, specify it as positive (plus). If it is to the left, specify it as negative (minus).
In case the position is moved to the left by N pitches, specify it as:
n1 + n2 × 256=65536−N
x If a position is specified outside the print area, the specification will be ignored.
x In STANDARD MODE, the basic calculation pitch x is used.
x In PAGE MODE,
(1)If the start point specified by ESC T is top left or bottom left, the horizontal basic calculation pitch x is
used.
(2)If the start point specified by ESC T is top right or bottom right, the vertical basic calculation pitch y is
used.
FFh 0<n2<FFh
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
30
30/85
Aligning the characters [ESC a]
[ASCII]ESCan
[Decimal]2797n
[Hexadecimal]1B61n
ESC a
[Parameter]0<n<
[Description]
x Print data are aligned in the specified position.
x Depending on the “n” value, alignment is carried out as follows:
x This command is valid only at the head of line.
x In PAGE MODE, this command executes only the internal flagging of printer without affecting printing in
PAGE MODE.
Alignment is performed on the portions skipped by HT,ESC $ or ESC \, too.
x Selects the printing sheet (Receipt/Journal).
x Each bit of “n” means as follows:
x If the same printing date to Receipt/Journal are cleared with ESC z and both Receipt and Journal are
selected for the printing sheet, Receipt will become effective only for the printing sheet in PAGE MODE and
printing to Journal will not be executed.
x This command is valid only at the head of line.
x If “n” is defined out of the area, this command will be ignored.
x If the printing sheet in PAGE MODE is selected, this command will be executed prior to ESC L. Once PAGE
x Printing stops after printing of the current line and paper feed are completed.
x If printing stops, it will become offline.
x If either of bit 0 and bit 1 is 1, a roll paper near-end sensor will be selected as a paper end sensor effective for
x Switches enabling/disabling the paper feed switch on the operation panel.
x “n” is valid for the lowest bit “n0”.
n=<∗∗∗∗∗∗∗0>B enables the paper feed switch.
n=<∗∗∗∗∗∗∗1>B disables the paper feed switch.
x While a cover is opened, the switch is invalid regardless of specification with this command.
x During the wait state of macro execution, the switch is valid regardless of specification with this command.
x Default is n0=0.
Printing and feeding paper by “n” lines [ESC d]
[ASCCII]ESCd n
[Decimal]27100n
[Hexadecimal]1B64n
[Parameter] 0<n<
[Description]
x Prints date in the print buffer and feeds paper by “n” lines.
x Specified lines do not remain.
x The next print start position is set at the head of line.
x If the maximum feeding amount exceeds 40 inches, paper feeding by 40 inches will be executed.
At a low speed, paper feed is stopped and current is passed through the head, resulting in improvement of
printing quality, especially in high-density bit image such as halftone.
At a high speed, current is passed through the head during paper feeding, resulting in improvement of
throughput.
x Divided current-carrying
On this printer, power consumption is reduced in case of high-density printing. Therefore, printing is
performed in a maximum of three blocks (divided current-carrying). If the divided current-carrying is
specified to Block, high-speed printing will be enabled. Deviation, however, will occur between blocks.
If the divided current-carrying is specified to Chopper, deviation between blocks will not occur and printing
quality will be improved. Throughput, however, will be reduced.
01
Value
Paper
feed
BlockChopper
x This command is effective only at the head of line.
x Default is n=0.
*On CBM262II, this command doesn’t function.
Block #1Block#1Block#2Block#3
Block#2
Block#3
TITLE:
CITIZEN
PB-32/33
SHEET
REVISION
B
39
39/85
Selecting the character code table [ESC t]
[ASCII]ESCtn
[Decimal]27116n
[Hexadecimal]1B74n
ESC t
[Parameter]0<n<
[Description]
x Selects the character code table.
x The character code table depending on the value of “n” is as follows:
x The initial value of “n” is n=0 for PC437.
6h n=FFh
nCharacter code
0PC437 (USA: Standard Europe)
1Katakana
2PC850 (Multilingual)
3PC860 (Portugal)
4PC863 (Canada−French)
5PC865 (Norway)
6PC858
255Blank page
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
40
40/85
Status signal of peripheral equipment [ESC u]
[ASCII]ESCun
[Decimal]27117n
[Hexadecimal]1B75n
[Parameter] n=0,1
[Description]
x Sends the current status of drawer kick-out connector pin No.3.
x This command is valid only at Serial I/F.
x The status to be sent is 1 byte and its details are as follows:
ESC u
BitFunction
0Level of No.3 pin“L”“H”
1Undefined
2Undefined
3Undefined
4UnusedFixed at 0
5Undefined
6Undefined
7Undefined
x If the serial protocol is DTR/DSR, before sending a signal, the printer will check with DSR signal that the
host is ready for receiving. If the host is not ready for receiving (DSR is LOW), the printer will wait till it
becomes ready for receiving (DSR = HIGH).
x If the serial protocol is XON/XOFF, the printer will not check with DSR signal.
Value
01
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
41
41/85
Sending the printer status [ESC v]
[ASCII]ESCv
[Decimal]27118
[Hexadecimal]1B76
[Parameter]
[Description]
x Sends the current printer status.
x This command is valid only at Serial I/F.
x The status to be sent is 1 byte and its details are as follows:
ESC v
BitFunction
0Journal near-end sensor
1Receipt near-end sensor
2Journal paper end sensor
3Receipt paper end sensor
4UnusedFixed at 0
5Download of ANK
6Download of bit image
7UnusedFixed at 0
x If the serial protocol is DTR/DSR, before sending a signal, the printer will check with DSR signal that the
host is ready for receiving. If the host is not ready for receiving (DSR is LOW), the printer will wait till it
becomes ready for receiving (DSR = HIGH).
x If the serial protocol is XON/XOFF, the printer will not check with DSR signal.
Specifying/Canceling printing the same date to Receipt/Journal [ESC z]
[ASCII]ESCzn
[Decimal]27122n
[Hexadecimal]1B7An
ESC z
[Parameter]0<n<
FFh
[Description]
x Specifies/Cancels printing the same data to Receipt/Journal.
x “n” is valid for the lowest bit “n0”.
n0=0: Cancels printing the same data.
n0=1: Specifies printing the same data.
x This command is effective only at the head of line.
x In PAGE MODE, this command is disabled.
x Unless both Receipt and Journal are selected for the printing sheet, the same printing will not be executed by
specification of the same date printing.
x Default is n=0.
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
42
42/85
Specifying/Canceling inverted characters [ESC { ]
[ASCII]ESC{n
[Decimal]27123n
[Hexadecimal]1B7Bn
[Parameter]
[Description]
x Specifies/Cancels inverted characters.
x “n” is valid for the lowest bit.
n=0: Cancels inverted characters.
n=1: Specifies inverted characters.
x This command is effective only at the head of line.
x In PAGE MODE, this command executes only the internal flagging of printer.
x This command doesn’t affect printing in PAGE MODE.
x Default is n=0.
x Set the status at power-on to nonvolatile memory.
x This command is for maintenance. Users shouldn’t use this command.
If users use this command, it may damage reliability of the product. This command may be subject to change
without notice.
x The settable contents are the same as the menu setting items.
x The setting contents are stored in nonvolatile memory and they are kept even after power is turned OFF.
x Specifies items by “m” and selects contents by “n”.
x Stores data into the user NV memory.
x “m” is fixed at 0.
x a1, a2, a3, a4 specify the start address for storing data at (a1 + (a2 × 256) + (a3 ×65536) + (a4 + 16777216)).
x nL, nH specify the stored data to (nL + (nH×256)) bytes.
x “d” denotes the data to be stored.
x “User NV memory” refers to a storage area exclusively for character data secured on nonvolatile memory.
In STANDARD MODE, this command is valid only when it is processed at the head of line.
In PAGE MODE, this command is invalid.
x If this command is sent while a macro is being defined, the macro definition process will be stopped and the
execution of this command will be started.
x If the argument (m), the storage start address (a1, a2, a3, a4) or the number of stored data (nL, nH) is outside
the definition area, or in case of “the storage start address (a1, a2, a3, a4) + the number of stored data (nL,
nH)>1024”, this command will become invalid and the following data will be processed as normal data.
x At the time of completion of processing of the stored data (d) outside the definition area, processing by this
command will be stopped and the next data will be processed as normal data. At this time, the data which has
already been processed will be stored into memory.
x Data storage processing executes “overwriting”. Therefore, the data which have been already stored into the
area for storage processing are erased.
x If an error occurs during the writing process, the error will be “Memory R/W Error”.
x The data in the user NV memory can be read by FS g.
x The data in the user NV memory is not initialized by execution of ESC @, execution of FS q, resetting or
power OFF.
[Caution]
x Frequent use of the “writing into the nonvolatile memory” command (FS g1) may destroy memory.
Therefore, the “writing into the nonvolatile memory” command should be used “less than 10 times a day”.
x In some cases, the printer may become BUSY while data is being written into the nonvolatile memory with
this command.
While the printer is BUSY, it will stop receiving data and sending data from the host (including real-time
commands) will be prohibited.
x Reads data to the user NV memory.
x “m” is fixed at 0.
x a1, a2, a3, a4 specify the start address for sending data at (a1 + (a2 × 256) + (a3 ×65536) + (a4 + 16777216)).
x nL, nH specify the number of data to be sent to (nL + (nH×256)) bytes.
x “User NV memory” refers to a storage area exclusively for character data secured on nonvolatile memory.
x If the argument (m), the storage start address (a1, a2, a3, a4) or the number of stored data (nL, nH) is outside
the definition area, or in case of “the storage start address (a1, a2, a3, a4) + the number of stored data (nL,
nH)>1024”, this command will become invalid and the following data will be processed as normal data.
x After the preparation for sending data is completed, the following processes will be executed.
(1) The printer state will change from READY to BUSY. If the state has already been set to BUSY, the
printer will do nothing.
(2) “Header + Data + NUL” will be sent.
(3) The printer state will change BUSY from to READY. At this time, if the printer state has already been set
to BUSY due to other causes, the printer will do nothing.
x The configuration of “Header + Data + NUL” is as follows:
Header: Hexadecimal number = 5F/Decimal number = 95 (1 byte)
Data: Data in User NV memory “ (nL + (nH
NUL: Hexadecimal number = 00H
x When the DTR/DSR control is selected, all codes are sent continuously after checking that the host can
receive data when the header is sent. If the host cannot receive data, the printer will wait until the host is ready
for receiving data.
x When the XON/XOFF control is selected, all codes are sent continuously without checking whether the host
can receive data or not. Data that has been sent is always continuous except for XOFF code.
x When parallel interface is used, the size of buffer for data to be sent (buffer that stores all data to be sent
except for ASB status) is 99 bytes. Data exceeding 99 bytes will be discarded.
x Data in the user NV memory can be written by using FS g1.
x Depending on the state of receiving buffer, there may be a delay between receiving this command and storing
data.
x After the header is sent, all data will be sent without checking whether the host can receive the data or not.
Therefore, when this command is used, more than (the number of sending data + 2) bytes of space should be
secured in the receiving buffer of the host in order not to fail to receive data.
x While data is being sent, real-time commands (DLE extension command) are ignored. Even if ASB function is
selected as enabled, ASB status will not be sent while data are being sent.
Accordingly, it is not possible to know any change in printer state by its status during data sending. Users
should pay attention to this.
/Decimal number =0 (1 byte)
× 256)) bytes”
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
48
48/85
Printing the NV bit images [FS p]
[ASCII]FSpnm
[Decimal]28112nm
[Hexadecimal]1C70nm
FS p
[Parameter]1<n<
255
0<m<3, 48<m<51
[Description]
x Prints the NV bit images “n” with a mode “m”.
mMode
0, 48NORMAL MODE180 DPI180 DPI
1, 49
2, 50
3, 51
x “n” denotes the NV bit image number.
x “m” denotes the NV bit image mode.
x The NV bit image refers to a bit image defined by FS q in the nonvolatile memory and printed by FS p.
x If the specified NV bit image “n” is undefined, this command will be invalid.
x In STANDARD MODE, this command is valid only when there is no data in the print buffer.
x In PAGE MODE, this command is invalid.
x This command doesn’t affect any printing modes (i.e. emphasis, double strike, underline, character size,
x When the print area set by GS L and GS W is not enough for one vertical line of NV bit image, the line
alone is dealt with as mentioned below. One vertical line of NV bit image is 1 dot in NORMAL MODE (m=0, 48)
and DOUBLE HEIGHT WIDTH (m=2, 50) and 2 dots in DOUBLE WIDTH MODE (m=1, 49) and QUADRUPLE
SIZE MODE (m=3,51).
(1) The print are is extended to the right side within the limit of print area so that one vertical line of NV bit
image can be printed.
(2) When a sufficient print area cannot be maintained even after executing (1), the print area is extended to
the left side.
(The left margin is reduced.)
x If the size of bit image exceeding the limit of print area is specified, the data within the limit of print area will
be printed, but the data outside the print area will not be printed.
x In NORMAL MODE and DOUBLE WIDTH MODE, regardless of the line feed amount set by ESC 2 and
ESC 3, a paper feed of (the height of NV bit image “n”) dots is executed, while in DOUBLE HEIGHT MODE
and QUADRUPLE SIZE MODE, a paper feed of (the height of NV bit image “n” ×2) dots is executed.
x After completion of this bit image printing, the head of line will be the next printing position and normal data
x Defines the specified NV bit image.
x xL and xH denote the horizontal size of one NV bit image as (xL + xH ×256) ×8dots.
x yL and yH denote the vertical size of one NV bit image as (xL + xH ×256) ×8dots.
x All the previously defined NV bit images are deleted by this command. Therefore, it is not possible to redefine
any one of the previously defined multiple data. To make it possible, all data must be resent.
x During the time between the process start by this command and the completion of hardware reset, any
mechanical operation (such as initializing a printer head position by opening a cover and paper feeding with
switch) cannot be executed.
x NV bit image refers to a bit image that is defined by FS q in the nonvolatile memory and printed by FS p.
x This command is valid only when it is specified at the head of line where STANDARD MODE was selected,
x This command is valid only when it is specified at the head of line where PAGE MODE was selected
x This command becomes valid after 7 bytes of <FS〜yH> are processed as normal values.
x If the number of data exceeding the remaining capacity of the area defined by (xL, xH, yL, yH) is specified,
this command will be invalid.
x “d” denotes a definition data. Bits which correspond to dots to be printed are represented as 1, and bits which
correspond to dots not to be printed are represented as 0.
x “n” pieces of NV bit images are defined starting from the number 01H in ascending order. Therefore, the first
data group
number specified by FS p.
x The definition data of one NV bit image consists of [xL xH yL yH d1...dk]. Therefore, if only one NV bit image
is defined, n=1; the data group [xL xH yL yH d1...dk] will be processed once, and ([Data: (xL + xH × 256) × (yL +
yH × 256) × 8 + [header:4]] bytes of nonvolatile memory is used.
x The maximum definition area of this printer is 2M bits (256K bytes). Multiple NV bit image can be defined,
but data of bit images of which total size (bit image data + header) exceeds 2M bits (256K bytes) cannot be
defined.
x The printer state will be BUSY just before writing data into the nonvolatile memory.
x While this command is being executed, processes of ABS status sending and status detection will not be
executed even if ABS function is specified.
x If this command is sent while a macro is still being defined, the macro definition process will be stopped and
the process by this command will start.
x Once NV bit images are defined, the NV bit images are not initialized by execution of ESC @, resetting or
Power OFF.
x This command executes only definition of NV bit image, and it doesn’t start printing. Printing of NV bit image
will be executed by FS p.
[xL xH yL yH d1...dk]becomes NV bit image No.01H. This number is identical to the NV bit image
x Settings except the above values are ignored.
x Settings are effective by line in STANDARD MODE and by page in PAGE MODE.
x Setting for the range from 100% to 130% are the same as setting by the “ESC~mn” command.
<n<6h, 30h<n<36h
-3(Light)70%
↑80%
↑90%
↓110%
↓120%
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
51
51/85
Specification the character size [GS !]
[ASCII]GS!n
[Decimal]2933n
[Hexadecimal]1D31n
GS !
[Parameter]0
<n<FFh
on condition that 1<magnification in vertical direction<8,
1<magnification in horizontal direction <8
[Description]
x Specifies (character sizes magnification in vertical direction/magnification in horizontal direction).
Value
BitFunction
0
1
2
3
4
5
6
7
(magnification in horizontal direction) (magnification in horizontal direction)
x This command works for all characters except for HRI characters.
x In STANDARD MODE, the vertical direction means a paper feed direction and the horizontal direction
means a direction perpendicular to paper feed direction. Therefore, if 90°-right-turned characters are specified,
the relationship between vertical and horizontal directions will be reversed.
x In PAGE MODE, the vertical direction means the top-bottom direction of each character and the horizontal
direction means the side-to side direction of each character.
x If characters which have different vertical magnifications are contained in the same line, base lines of
characters will be aligned.
x Double width and double height of character can be specified/canceled by ESC !, too. But the last processed
command becomes effective.
x Default is n=o.
DecimalMagnification
2x (Double width)
Hex.
011
DecimalMagnification
2x (Double width)
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
52
52/85
Specifying the absolute vertical position of characters in PAGE MODE [GS $]
x Specifies the vertical position of characters at the data mapping start position in PAGE MODE as an absolute
value measured from the start point. The vertical position will be at a point of [16 bit specification value × basic
calculation pitch] inches from the start point.
x “n1” is the low 8 bits of 16 bit data and “n2” is the high 8 bits.
x This command is ignored except when PAGE MODE is selected.
x Any specification of absolute vertical position out of the specified print area is ignored.
x The horizontal position of character at the start point is not moved.
x The start point as a base is specified by ESC T. Depending on the start point, this command executes as
follows:
(1) If the start point is specified at top left or bottom right, this command will specify the absolute position of
paper feed direction (vertical direction of characters). At this time, vertical basic calculation pitch (y) is
used.
(2) If the start point is specified at top right or bottom left, this command will specify the absolute position in
the direction perpendicular to paper feed direction (vertical direction of characters). At this time,
horizontal basic calculation pitch (x) is used.
x The basic calculation pitch is a value set by GS P.
x If the calculation leaves a fraction, the fraction will be corrected with the minimum pitch of the mechanism
x Defines the down load bit images of dots specified by n1 and n2.
x The number of dots in horizontal direction is n1 × 8 and the number of dots in vertical direction is n2 × 8.
x “dn” indicates bit image data.
x Once a download bit image is defined, it remains effective until redefinition, execution of ESC @, execution
of ESC & or power OFF is conducted.
x A download character and a download bit image cannot be defined simultaneously. If this command is
executed, download characters are cleared.
x The bit image data is defined as follows:
<n1<FFh 0<n2<30h n1×n2<600h
Defines the download bit images of dots specified by n1 and n2.
x Executes the specified test printing.
x pL, pH set the number of subsequent parameters to (pL + (pH × 256))bytes.
x “n” specifies the paper for test printing shown in the following table.
nKind of paper
0, 48Basic sheet (Roll paper)
1, 49
2, 50
x “m” specifies the kind of test printing shown in the following table.
mKind of test printing
1, 49Hexadecimal dump
2, 50Printer status printing
Roll paper
GS (
3, 51Rolling pattern printing
x In STANDARD MODE, this command is valid only when it is processed at the head of line.
x In PAGE MODE, this command is ignored.
x If this command is processed while a macro is being defined, the macro definition process will be stopped and
the execution of this command will be started.
x After completion of test printing, the printer will reset its hardware. Therefore, download characters,
download bit images and macros will be made undefined, reception buffer/print buffer will be cleared and
various settings will be returned to the initial values. At this time, DIP switches will be read again.
x Paper cutting is executed at the end of test printing.
x The printer state will be BUSY if process by this command is started.
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
55
55/85
Printing the download bit image [GS / ]
[ASCII]GS/m
[Decimal]2947m
[Hexadecimal]1D2Fm
GS /
[Parameter]0<m<
3h, 30h<m<33h
[Description]
x Prints the download bit image in a mode specified by “m”.
x Modes selected by “m” are as shown in the table below.
mMode
0, 30h
1, 31h
2, 32h
3, 33h
x If data exist in the print buffer, this command will be ignored.
x If a download bit image has not been defined, this command is ignored.
x The download bit image for the portion exceeding the length of one line is not printed.
x If the print area width specified by GS L, GS W is less than the minimum horizontal width of bit image
mode (1 dot in NORMAL MODE and DOUBLE HEIGHT MODE, 2 dots in DOUBLE WIDTH MODE and
QUADRUPLE SIZE MODE), the following processes will be executed only for the line.
(1) The print area is extended to the right within the printable area so that it becomes equal to the minimum
horizontal width of bit image mode
(2) If sufficient print area cannot be secured after execution of the process mentioned in (1), the print area
will be extended to the left. (The left margin will be reduced.)
x Specifies starting/ending of macro definition.
x Macro is a single instruction into which existing printer commands and printing data are compiled. By using
macro, repeated printings and commands which are used frequently can be executed efficiently.
x ESC @ can be included into the definition content.
x The maximum data available for macro definition is 2048 bytes.
x Even during execution of macro definition, printing can be executed.
Specifying/Canceling the black/white reverse printing [GS B]
[ASCII]GSBn
[Decimal]2966n
[Hexadecimal]1D42n
GS :
GS B
[Parameter]0<n<
[Description]
x Specifying/Canceling the black/white reverse printing.
x “n” is effective for the lowest bit “n0”. “n0” is as follows:
n = <*******0>: Canceling (Cancels the black/white reverse printing.)
n = <*******1>: Specifying (Specifies the black/white reverse printing.)
x The black/white reverse printing works on internal characters and download characters.
x The black/white reverse printing also works on the right space of character set by ESC SP.
x This command doesn’t affect bit image, download bit image, bar code, HRI characters and the parts skipped
by HT, ESC $, ESC \.
x This command doesn’t affect the parts skipped by ESC \.
x This command doesn’t affect the space between lines.
x Specification of black/white reverse printing takes precedence over specification of underline. Therefore, even
if underline has been specified, underline is not be attached to black/white inverted characters. The state of
underline setting, however, remains unchanged.
x Default is n=0.
255
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
57
57/85
Selection of printing position of HRI characters [GS H]
[ASCII]GSHn
[Decimal]2972n
[Hexadecimal]1D48n
GS H
[Parameter]0<n<
[Description]
x Selects the printing position of HRI characters for printing bar codes.
x “n” is as follow:
x HRI characters are printed in the font specified by GS “ f ”.
x Default is n=0.
3, 30h<n<33h
nPrinting position
0, 48hNo printing
1, 49hAbove the bar code
2, 50hBelow the bar code
3, 51hAbove and below the bar code (both)
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
58
58/85
Sending the printer ID [GS I]
[ASCII]GSIn
[Decimal]2973n
[Hexadecimal]1D49n
GS I
[Parameter]1<n<
3, 49<n<51, 65<n<69
[Function]
x Sends the specified printer ID.
nType of printer IDSpecificationValue (Hex.)
1, 49Model ID
2, 50Type IDRefer to Table “Type ID”.
3, 51ROM versionAs per ROM version
65Firmware versionAs per firmware version
66Maker nameCBM
67Model nameCBM262-2
68Serial numberAs per serial number
Not equipped for 2 byte code000
Equipped for 2 byte code011
Direct connection of customer
display
********
000
60
x When Serial Interface is being used, under DTR/DSR control, the printer sends the printer ID after checking
that the host is ready to receive.
If the hose is not ready to receive, the printer will wait until the host becomes ready to receive. Under
XON/XOFF control, the printer sends the printer ID without checking whether the host is ready to receive or not.
x This command is executed at the time of mapping of the receive buffer. Therefore, depending on the state of
receive buffer, a delay between command receiving and printer ID sending may occur.
x By specifying (1<n<3, 49<n<51), one byte of printer ID will be sent.
x If ASB is enabled by GS a, it is necessary to discriminate between the printer ID due to this command and
the status due to ASB. For the discriminating method.
x By specifying (65<n<69), the following printer information will be sent.
Header : Hexadecimal=5FH/Decimal=95 (1 byte)
Data : Printer information
NUL : Hexadecimal : 00H/Decimal = 0 (1 byte)
After data processing is completed, the following process will be executed.
(1) The process of (READYBUSY) is executed. At this time, if the printer state has already been BUSY, the
printer will do nothing.
(2) The sending process of “Header + Data +NULL” is executed.
(3) The process of (BUSYREADY) is executed. At this time, if the printer state has already been set to
BUSY due to other causes, the printer will do nothing.
x Sets the left margin specified by n1 and n2.
x The left margin is “(n1+n2 × 256) × basic calculation pitch”.
Left margin
x This command is effective only when it is entered at the head of line.
x In PAGE MODE, this command executes only the internal flagging operation of printer and doesn’t affect
printing in PAGE MODE.
x The maximum settable left margin is equal to the print area in horizontal direction. If the left margin is
specified to the value greater than the maximum value, it will be set to the maximum value.
x The left margin can be set separately for RECEIPT and JOURNAL. But if printing of the same data to
RECEIPT and JOURNAL is specified, the left margin set for JOURNAL will be ignored and the left margin set
for RECEIPT will be effective.
x Default is n1=0, n2=0.
FFh 0<n2<FFh
Printable area
Print area width
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
60
60/85
Specifying/Canceling reduced character printing [GS M]
[ASCII]GSMn
[Decimal]2977n
[Hexadecimal]1D4Dn
GS M
[Parameter] 0<n<
[Description]
BitFunction
0
1
2
3
4
5
6
7
x This command is effective for all characters except for HRI characters.
x In STANDARD MODE, characters are reduced in the paper feed direction.
x In PAGE MODE, regardless of print direction selected by ESC T, characters are reduced in the vertical
direction of each character.
x If reduced character printing is specified, underline will not be attached.
x Default is n=0.
FFh, on condition that bit 1, 2, 4, 5, 6 should be 0.
Value
01
Reduced character printing in vertical directionCancelSpecify
Unused0Fixed
Unused0Fixed
Undefined
Unused0Fixed
Unused0Fixed
Unused0Fixed
Undefined
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
61
61/85
Setting the basic calculation pitch [GS P]
[ASCII]GSPx y
[Decimal]2980x y
[Hexadecimal]1D50x y
GS P
[Parameter]0<x<
[Description]
x Sets the horizontal basic calculation pitch to (1/x) inches and the vertical basic calculation pitch to (1/y)
inches.
In case of x=0, the horizontal basic calculation pitch is reverted to the initial value.
In case of y=0, the vertical basic calculation pitch is reverted to the initial value.
x The horizontal direction refers to the direction perpendicular to paper feed direction. The vertical direction
refers to paper feed direction.
x In STANDARD MODE, the following parameters are used regardless of the orientation of character (e.g.
inverted or 90°-turned),.
Command using x : ESC SP, ESC $, ESC \, FS S, GS L, GS W
Command using y : ESC 3, ESC J
x In PAGE MODE, depending on the orientation of character, the following parameters are used.
In case the start point specified by ESC T is set at top left or bottom right (characters are mapped in the
direction perpendicular to paper feed)
Command using x : ESC SP, ESC $, ESC W, ESC \, FS S
Command using y : ESC 3, ESC J, ESC W, GS $, GS \
In case the start point specified by ESC T is set at bottom left or top right ( characters are mapped in the
paper feed direction)
Command using x : ESC 3, ESC J, ESC W, GS $, GS \
Command using y : ESC SP, ESC $, ESC W, ESC \, FS S
x Default is x=203, y=203.
FFh 0<y<FFh
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
62
62/85
Paper cutting [GS V]
[ASCII]GSVm− (1)
[Decimal]2986m
[Hexadecimal]1D56m
[ASCII]GSVm n− (2)
[Decimal]2986m n
[Hexadecimal]1D56m n
[Parameter]
(1) m=0,1 m=48,49
(2) m=65, 66 0h<n<
[Description]
xExecutes the specified paper cutting.
n1Function
0, 48Full cut
1, 49Partial cut (leaving one portion uncut)
65Paper feed by (cut position + n × basic calculation pitch) and full cut
66
In case of (1)
x In case of m=0, full cut is executed.
x In case of m=1, partial cut is execute.
Paper feed by (cut position + n × basic calculation pitch) and partial cut (leaving one portion uncut)
255
GS V
In case of (2)
In case of n=0, after paper is fed to the cut position, paper is cut.
In case of n≠0, after paper is fed to the position exceeding the cut position by (n2× basic calculation pitch)
inches, paper is cut.
x The basic calculation pitch is set by GS P.
x The paper feed amount is calculated with the vertical basic calculation pitch (y). If the calculation leaves a
fraction, the fraction will be corrected with the minimum pitch of the mechanism and the remainder will be
omitted.
x Sets the print area width specified by n1 and n2.
x The print area width will be “(n1 + n2 × 256) ×basic calculation pitch” inches.
Printable area
Left margin
x In STANDARD MODE, this command is effective only when it is entered at the head of line.
x In PAGE MODE, this command executes only the internal flagging operation of printer.
x This command doesn’t affect printing in PAGE MODE.
x If the value exceeding the printable area for one line is specified, the entire area except the left margin will be
set as the printable area width.
x The print area width is set to the setting sheet selected as enabled by ESC c.
x The basic calculation pitch is set by GS P. Once the print area width is set, it will not be changed, even if the
basic calculation pitch is changed by GS P.
x The print area width is calculated with the horizontal basic calculation pitch (x) defined by GS P. If the
calculation leaves a fraction, the fraction will be corrected with the minimum pitch of the mechanism and the
remainder will be omitted.
x In case the first character is mapped at the head of line, if the print area width is smaller than the horizontal
width of the character to be mapped (including the right spacing), the following processes will be executed only
for that line.
Print area width
(1) The print area is extended to the right within the printable area so that the character is accommodated in
the area.
Printable area
Extended to the right
Left margin
CITIZEN
Print area width
TITLE:
PB-32/33
SHEET
REVISION
B
64
64/85
(2) If sufficient area cannot be provided after the process of (1), the right space will be reduced.
A
(
Printable area
(2) The left margin is reduced
Print area width
(3) If sufficient area cannot be provided after the process of (2), the left space will be reduced.
x In case of bit image mapping, if the print area width is smaller than the minimum horizontal width of bit
image, the following processes will be executed only for that line.
(1)The print area is extended to the right within the printable area so that it becomes equal to the minimum
horizontal width of bit image.
(2)If sufficient area cannot be provide after the process of (1), the print area will be extended to the left.
(The left margin will be reduced.)
x The minimum width of each bit image for the process of extending the print area width is as follows:
x Bit image (ESC
xDownload bit image (GS /) : DOUBLE WIDTH MODE, QUADRUPLE
x Specifies the relative vertical position of character in the data mapping start position in PAGE MODE by the
relative position with respect to the current position. The next data start position will be set at the position of
(16 bit specification value × basic calculation pitch) inches away from the current position.
x Except for PAGE MODE, this command is ignored.
x The basic calculation pitch is a value set by GS P.
x n1 is the low 8 bits of 16 bits and n2 is the high 8 bits.
x If the calculation leaves a fraction, the fraction will be corrected with the minimum pitch (203DPI) of the
mechanism and the remainder will be omitted.
x If a new position is specified to a position located beneath the current position with respect to a character, it
should be specified as positive (+). If a new position is specified to a position located above the current position,
it should be specified as negative (–).
x The negative setting value is calculated with the following expression if a position is moved upward by N
pitches, for example.
n1 + n2 × 256 = 65536 –N
x The following processes are executed depending on the start point of ESC T.
If the start point is specified at top left or bottom right, the relative position will be set to the paper feed
direction.
At this time, the vertical basic calculation pitch (y) is used.
If the start point is specified at top right or bottom left, the relative position will be set to the direction
perpendicular to the paper feed direction.
At this time, the horizontal basic calculation pitch (x) is used.
x Executes the defined macro.
x Contents of n1, n2 and n3 are as follows:
x With the following specification, printing and commands which are frequently used can be executed
efficiently.
n1 : The number of times of macro execution
n2 :Waiting time on macro execution
x Waiting time of 100msec is given per one execution.
n3 : Macro execution mode
n3 = 0 : Specifies continuous execution.
Macro is executed n1 times continuously at the time interval specified by n2.
n3=1 : Specifies execution by the paper feed switch.
After waiting for the time specified by n2, ERROR LED flashes till the paper feed switch for RECEIPT or
JOURNAL is pressed.
If the switch is pressed, the macro will be executed. This action is repeated n1 times.
If this command is entered during macro definition, the macro definition will be suspended. At this time, the
defined content will be cleared.
If the macro is undefined or n1=0, the printer will do nothing.
In case of n3=1, paper feed cannot be executed by the paper feed switch.
During the waiting time of macro, ERROR LED is flashing.
FFh 0<n2<FFh 0<n3<1
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
67
67/85
Enabling/Disabling Automatic Status Back [GS a ]
[ASCII]GSan
[Decimal]2997n
[Hexadecimal]1D61n
GS a
[Parameter]0<n<
FFh
[Description]
x Selects the status to be addressed by Automatic Status Back (ASB : Automatic Status Back)
BitStatus to be addressed by ASB
Status of Drawer kick-out connector No. 3 pin = Disabled
0
Status of Drawer kick-out connector No. 3 pin = Enabled
Online/Offline status = Disabled000
1
Online/Offline status = Enabled022
Error status =Disabled000
2
Error status =Enabled044
Continuous paper sensor = Disabled000
3
Continuous paper sensor =Enabled088
4Undefined
5Undefined
6Undefined
7Undefined
x If any one of statuses is enabled, the status at the time of execution of this command will be sent. After that,
the status will be sent each time an enabled status changes.
x If all statuses are disabled, the ASB function will be disabled.
x The 4 byte statuses shown in the tables below are sent without checking that the host is ready to receive or
busy.
x The 4 byte statuses are continuous except XOFF code.
Value
Hex.
000
011
−−
−−
−−
−−
Decimal
The 1st byte (Printer information)
BitStatus
0Unused000
1Unused000
Status of Drawer kick-out connector No. 3 pin = “L”
2
Status of Drawer kick-out connector No. 3 pin = “H”
Online status000
3
Offline status088
4Unused1016
Lever closed000
5
Lever opened2032
Not in the state of paper feeding by the paper feed switch
6
In the state of paper feeding by the paper feed switch
7Unused000
TITLE:
CITIZEN
PB-32/33
Value
Hex.
000
044
000
4064
SHEET
REVISION
B
Decimal
68
68/85
The 2nd byte (Error occurrence information)
BitStatus
0
Undefined000
1
Undefined000
2
Undefined000
No occurrence of auto cutter error000
3
Occurrence of auto cutter error
4
Unused
No occurrence of unrecoverable error000
5
Occurrence of unrecoverable error2032
No occurrence of auto recovery error000
6
Occurrence of auto recovery error
7
Unused
The 3rd byte
(Paper sensor information For single)
BitStatus
0, 1
2, 3
Roll paper near-end = Paper-in000
Roll paper near-end = Paper-out033
Roll paper end = Paper-in000
Roll paper end = Paper-out0C12
4Unused000
5Undefined––
6Undefined––
7Unused000
Value
Hex.
088
000
4064
000
Hex.
Decimal
Value
Decimal
(Paper sensor information For two stations)
BitStatus
Journal near-end = Paper-in000
0
Journal near-end = Paper-out011
Receipt near-end =Paper-in000
1
Receipt near-end =Paper-out023
Journal end =Paper-in000
2
Journal end =Paper-out044
Receipt end =Paper-in000
3
Receipt end =Paper-out088
4Unused000
5Undefined––
6Undefined––
7Unused000
xDefault: When error hand shake of menu setting is BUSY,n=0
xDefault: When error hand shake of menu setting is INVALID, n=2
Hex.
Value
Decimal
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
70
70/85
Specifying/Canceling smoothing [GS b ]
[ASCII]GSbn
[Decimal]2998n
[Hexadecimal]1D62n
GS b
[Parameter]0<n<
[Description]
x Specifies/Cancels smoothing.
In case of n = <*******0> B, smoothing is canceled.
In case of n = <*******1> B, smoothing is set.
x “n” is effective only for the lowest bit.
x Smoothing works on internal characters, download characters and external characters.
x Even if smoothing is specified, when either of vertical magnification and horizontal magnification is one time,
smoothing will not be executed.
x Default is n=0.
Selection of font for HRI characters [GS f ]
[ASCII]GSfn
[Decimal]29102n
[Hexadecimal]1D66n
[Parameter]0<n<
[Description]
x Selects the font for HRI characters in printing bar code.
x “n” is as follows:
255
1,48<n<49
GS f
nFont
0, 48hFont A
1, 49hFont B
x HRI characters are printed at the position specified by GS H.
x Default is n=0.
TITLE:
CITIZEN
PB-32/33
SHEET
REVISION
B
71
71/85
Selection of height of bar code [GS h ]
[ASCII]GShn
[Decimal]29104n
[Hexadecimal]1D68n
GS h
[Parameter]1<n<
[Description]
x Specifies the height of bar code.
x “n” denotes the number of dots in vertical direction.
x Default is n=162.
[ASCII]GSkn S Ds ...... (2)
[Decimal]29107n S Ds ...... (2)
[Hexadecimal]1D6Bn S Ds ...... (2)
GS k
[Parameter]In case of (1), 0<n<
6. In case of (2), 41h<n<49h
[Description]
x Selects the bar code system and prints it.
x The next printing start position will be the head of line.
x “n” is as follows:
In case of (1)
nBar code system
0UPC-A
1UPC-E
2JAN13(EAN13)
3JAN8(EAN8)
4CODE39
5ITF
6CODEBAR
In case of (2)
nBar code system
65UPC-A
66UPC-E
67JAN13(EAN13)
68JAN8(EAN8)
69CODE39
70ITF
71CODEBAR
72CODE93
73CODE128
Definition range of “s”
11
<s<1248<D<57
11
<s<1248<D<57
12
<s<1348<D<57
<s<848<D<57
7
1
<s
<s(Even number)30h<D<39h
1
<s
1
Definition range of “s”
11
<s<1248<D<57
<s<1248<D<57
11
12
<s<1348<D<57
7h
<s<8h48<D<57
1
<s<255
1
<s<255 (Even number)48h<D<57
1
<s<255
1
<s<2550<D<127
<s<2550<D<127
2
Definition range of D
48<D<57, 65<D<90
32, 36, 37, 43, 45, 46, 47
30h<D<39h, 41h<D<5Ah
24h, 2Bh, 2Dh, 2Eh, 2Fh,
3Ah
Definition range of D
48<D<57,65<D<90
32,36,37,43,45,46,47
48<D<57,65<D<68
36,43,45,46,47,58
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
73
73/85
In case of (1) :
This command ends with a NULL code.
For UPC-A or UPC-E, when 12 bytes of bar code data is entered, the bar code will be printed and the
subsequent data will be handled as normal data.
For JAN 13, when 13 bytes of bar code data is entered, the bar code will be printed and the subsequent data
will be handled as normal data.
For JAN 8, when 8 bytes of bar code data is entered, the bar code will be printed and the subsequent data will
be handled as normal data.
The number of data of ITF bar code must be an even number. If the number of data be an odd number, the last
datum will be ignored.
In case of (2) :
xS denotes the number of data and “n” bytes of subsequent data will be processed as bar code data.
xIf S is out of the definition range, the command process will be aborted and the subsequent data
will be handled as normal data.
In case of STANDARD MODE
xIf D is out of the definition range, only paper feed will be executed and the subsequent data will be
handled as normal data.
If the horizontal width of bar code exceeds the print area of one line, only paper feed will be executed without
printing of bar code.
Paper is fed by the amount of height of bar code (including HRI characters when HRI character printing is
specified) regardless of the line feed amount set by ESC 3, ESC 2.
If data exists in the print buffer, this command will be ignored.
If the character code Dn is an unprintable character, the subsequent data will be handled as normal data.
xAfter printing the bar code, the next printing start position will be set at the head of line.
This command doesn’t affect the printing modes (emphasis printing, double printing, underline, character
size) except for inverted printing.
In case of PAGE MODE
Only mapping of bar code is executed and printing is not executed. After completion of mapping of bar code,
the dot next to the last data of bar code will be the next data mapping start position.
If D is out of the definition range, the command process will be aborted and the subsequent data will be
handled as normal data.
At this time, the data mapping start position is not moved.
If the horizontal width of bar code exceeds the print area, the data mapping start will be moved to the left end
outside the print area without printing of bar code.
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
B
74
74/85
Sending of status [GS r]
[ASCII]GSrn
[Decimal]29114n
[Hexadecimal]1D 72n
GS r
[Parameter]1<n<
2h, 49<n<50
[Description]
x Sends the specified status.
n=1, 49 : Sends the paper sensor status.
n=2, 50 : Sends the drawer kick-out connector status.
x When Serial Interface is used,
In case of DTR/DSR control ............. The printer sends the status after checking that the host is ready to
In case of XON/XOFF control .......... The printer sends the status without checking whether the host is
Paper sensor status (n=1, 49)
(1) For Single
BitStatus
0, 1
2, 3
Roll paper near-end = Paper-in000
Roll paper near-end = Paper-out033
Roll paper end = Paper-in000
Roll paper end = Paper-out(0C)(12)
4Unused000
5Undefined––
6Undefined––
7Unused000
receive.
If the host isn’t ready to receive, the printer will wait until it becomes
ready to receive.
ready to receive or not.
Value
Hex.Decimal
(2) For two stations
BitStatus
Journal near-end = Paper-in000
0
Journal near-end = Paper-out011
Receipt near-end = Paper-in000
1
Receipt near-end = Paper-out023
Journal end = Paper-in000
2
Journal end = Paper-out044
Receipt end = Paper-in000
3
Receipt end = Paper-out088
4Unused000
5Undefined––
6Undefined––
7Unused000
3, 30h<m<33h
0<xL<FFh
0<xH<FFh, on condition that 1< (xL + xH × 256) <128
0<yL<FFh
0<yH<8h, on condition that 1< (yL + yH × 256) <4095
k= (xL + xH × 256) × (yL + yH × 256), on condition that k≠0
[Description]
x Prints raster bit images in mode “m”.
mMode
0, 48NORMAL MODE203dpi203dpi
1, 49
2, 50
3, 51
x xL, xH specify the number of data in horizontal direction to (xL + xH × 256) bytes.
x yL, yH specify the number of data in vertical direction to (yL + yH × 256) bytes.
x In STANDARD MODE, this command is effective only when there is no data in the print buffer.
x If the print area width set by GS L, GS W is smaller than the minimum width, the print area only for the
line will be extended to the minimum value. The minimum value is 1 dot in NORMAL MODE and DOUBLE
HEIGHT MODE, and 2 dots in DOUBLE WIDTH MODE and QUADRUPLE MODE.
x Data which is out of the print area is read and discarded in units of dot.
x By the horizontal tab setting, the absolute position and relative position specifying, and the left margin
setting, the printing start position of raster bit image can be specified arbitrarily. The print start position is a
multiple of 8.
x ESC a (Aligning the characters) is effective for the raster bit image.
x If this command is executed during macro definition, the macro definition will be suspended, and the process
of this command will be started. At this time, the macro will become undefined.
x “d” denotes a definition data. The bit corresponding to the dot to be printed is 1 and the bit corresponding to
the dot not to be printed is 0.
DOUBLE WIDTH MODE
DOUBLE HEIGHT MODE
QUADRUPLE SIZE MODE
(xL + xH ×256)× 8 dots
Dot density in vertical directionDot density in horizontal direction
203dpi101dpi
101dpi203dpi
101dpi101dpi
123
76543210
MSB LSB
CITIZEN
TITLE:
……
……
……
……
……
……k−2k−1
PB-32/33
k
SHEET
REVISION
A
yL + yH ×256 dots
77
77/85
Selection of bar code width size (magnification) [GS w]
[ASCII]GSwn
[Decimal]29119n
[Hexadecimal]1D77n
GS w
[Parameter]2<n<
[Description]
x Specifies the horizontal size of bar code.
x “n” denotes the number of dots in horizontal direction of thin bar.
x Default is n=3.
6h
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
78
78/85
12-7. Position of character
Print mapping position of character (baseline) is as shown in the figure below.
24-3 dots
3 dots
4x2-6
DOUBLE
HEIGHT
3x2
4-3
3
Bit image
DOUBLE
HEIGHT
48
Download
bit image
Bar code
Baseline
Bar code
HRI
character
CITIZEN
TITLE:
PB-32/33
SHEET
REVISION
A
79
79/85
Index
C
CAN .............................................................................................................................................................5
DLE DC4 ...................................................................................................................................................10
DLE ENQ..................................................................................................................................................... 9
DLE EOT ..................................................................................................................................................... 7
ESC a ......................................................................................................................................................... 31
ESC d ......................................................................................................................................................... 36
ESC D ........................................................................................................................................................21
ESC DEL ...................................................................................................................................................46
ESC G ........................................................................................................................................................22
ESC i .......................................................................................................................................................... 38
ESC p ......................................................................................................................................................... 37
ESC s .........................................................................................................................................................39
ESC v ......................................................................................................................................................... 42
ESC z .........................................................................................................................................................42
FS I ............................................................................................................................................................51
GS f ............................................................................................................................................................ 71
GS h ........................................................................................................................................................... 72
GS I ............................................................................................................................................................ 59
GS k ...........................................................................................................................................................73
GS L ...........................................................................................................................................................60
GS M ..........................................................................................................................................................61
GS P ...........................................................................................................................................................62
GS W .......................................................................................................................................................... 64