This specification defines the following that are realized by the firmware, for the OKIPOS 425S/D
(POS Printer) OKI Standard Version.
• OKIPOS 425S : OKI Single Standard Version
• OKIPOS 425D : OKI Dual Standard Version
<Conventions in this specification document>
This printer comes in two models, 1-Roll Model and 2-Roll Model. The 2-Roll Model printer has three
roll paper modes, Receipt, Journal, and Receipt+Journal. The 1-Roll Mode printer has only the Roll
paper mode.
In this specification document, if the 1-Roll Model is not specifically mentioned when the 1-Roll
Model is involved, for “Receipt (mode)”, read “Roll Paper (mode)”, and ignore the descriptions for
“Journal (mode)” or “Receipt+Journal (mode)”.
<Definitions of Off-line>
This printer is not equipped with the On-line/Off-line switch. It becomes Off-line under the following
conditions:
(1)During the period from POW ON or initialization of the mechanism prompted by the reset from
the interface, to the time communications become available.
(2)During execution of local test.
(3)When the cover is opened (“Cover Open Alarm” on the menu is set to “Yes”)
(4)During paper feed by the switch.
(5)Printing has stopped due to Paper End.
(Paper End of Receipt, Journal, or Receipt+Journal selected by ESC c4.)
(6)Recoverable Error has occurred.
(Except Head Thermal Alarm, SP Thermal Alarm or LF Thermal Alarm)
(7)Unrecoverable Error has occurred.
At Off-line, an On-line/Off-line status that is sent by GS a n, ESC DLE a Pno n, GS ENQ, DLE EOT
n, and ESC DLE r Pno n becomes off-line, and the I/F becomes Busy. In the case of (3) through
(6), the I/F becomes Busy only if “Off-line Busy Control” on the menu is set to “Yes”
* Each I/F becomes Busy in the following manner.
• With the Parallel model (Centronics I/F), the Busy signal becomes High at Off-line.
• With the Serial model (RS232C I/F), the following Busy control is performed at Off-line.
If handshake is DTR/DSR, the DTR signal will change to MARK.
If handshake is XON/XOFF, DC3 will be sent.
41049421PS Rev.37 /
2.OPERATOR CONTROL
This specification document describes the details of the operator panel and the local functions that
are realized by the firmware.
2.1Operator Panel Functions
This chapter describes the operator panel functions.
* The SW names in the above layout are tentative. They have been assigned to make their
explanations easy.
<Panel sheet design>
41049421PS Rev.38 /
(Switch functions)
No.
1
2
3
Switch
SW2
(FF/LOAD/
PARK)
SW3
(CUT)
SW1
(LF)
Function in Modes other than Tractor Mode
In Receipt mode: Line-feeds receipts for a
fixed amount (10/6")
In Receipt+Journal mode: Same as above.
In Journal mode: Invalid.
In Slip mode: Ejects when paper is already
set.
In Validation mode: Invalid
* Does not cause printing to start.
Auto Cut (partial cut) Note 1)
* Valid regardless of print sheet mode or
print sheet status.
In Slip mode: Line-feeds the slip already set
by 1-line .
In Receipt mode: Line-feeds a jour nal by 1
line. Note 2)
In Validation mode: Invalid.
In Journal mode: Line-feeds a journal by 1line.
In Receipt+Journal mode: Line-feeds a
journal by 1-line.
* None of the above cause printing to start.
Function in Tractor Mode
Paper not loaded: Auto Load
Paper already loaded: Auto Park
* When No Paper is sensed by Slip
Sensor, Auto Park is invalid.
Cut position: Reverse-feeds to print
position.
Print position: Feeds to cut position.
Paper not loaded: Above does not
occur when pressed.
Single Press: Feeds Sprocket paper by 1-line.
Continuous Press: Form-feeds.
* Line-feeds 1-line immediately af-
ter the SW is pressed. Formfeeds after the SW is held down
continuously at least for 500ms.
* Does not cause printing to start.
4
SW4
(RECEIPT
Line-feeds a receipt by 1-line.
* Valid regardless of the print sheet mode or print sheet status.
LF)
Note 1)
Invalid when “Auto Cutter Unit = No” is set in the menu.
In the 1-Roll Model, Auto Cut function is invalid since this model does not have the auto
cutter unit.
Note 2)
In the 1-Roll Model, a receipt is line-fed by 1-line.
* When panel SW is set to invalid by Panel SW enable/disable command (ESC c5), the SW is
invalid.
* During the time between MICR read start and check paper eject, SW is invalid.
41049421PS Rev.39 /
(LED display)
No.
1
2
3
4
LEDON
POWER
LED1
(ERROR)
LED2
(STATUS)
LED3/
LED4
(MODE)
Green
Red
Orange
Orange
Green
Powered on
Recoverable alarms
• Slip Load/Eject Alarm
• Auto loading Alarm
• Auto parking Alarm
• Media Does Not
Match Alarm (1)
• Media Does Not
Match Alarm (2)
• Cover Open Alarm
Note 1)
Paper not loaded (waiting for paper to be loaded) state
Slip Mode
Receipt+Journal Mode
Roll Paper Mode (1-Roll
Model)
OFF
Powered off
Normal state
Paper loaded
(ready for print)
state
Tractor Mode
BLINK
• Fatal alarms
(Alarm type is differentiated
by the number of times the
light blinks)
* Refer to the table on next
page.
• SP thermal alarm
(Blinks simultaneously with
LED2.)
• LF thermal alarm
• Waiting for removal
• SP thermal alarm
(Blinks simultaneously with
LED1.)
Validation mode
* Fast blinking
Receipt mode
* Fast blinking
MICR mode
* Slow blinking
Journal mode
* Slow blinking
Note 1)
When “Cover Open Alarm” is set to No in Menu, Cover Open Alarm does not happen
(Printing does not stop.)
* Media Does Not Match Alarm (1) is detected by monitoring the lever of the option tractor. Media
Does Not Match Alarm (2) is detected by the Validation sensor monitoring (media manually
inserted to the validation opening).
41049421PS Rev.310 /
(Timing charts for LED1 and LED2 display for Waiting for removal and SP/LF thermal alarm state
and LED3 display for Validation mode and Receipt mode.)
LED
T1 T2
T1=T2=500msec
(LED3 display timing chart for MICR mode and Journal mode)
LED
T2T1
T1=T2=1sec
(Number of times LED1 blinks when fatal alarms have occurred)
(LED1 display timing chart when a fatal alarm has occurred)
LED1
T1 T2
1cycle
41049421PS Rev.311 /
T3
T1=T2=250msec
T3=1500msec
2.2LOCAL FUNCTIONS
The local and maintenance functions are described next.
2.2.1Kinds of Local Functions and How to Start
(1)Kinds
Local functions
Local tests
All Letter and Rolling ASCII Continuous Print Test (Receipt)
All Letter and Rolling ASCII Continuous Print Test (Journal)
All Letter and Rolling ASCII Continuous Print Test (Receipt + Journal)
All Letter and Rolling ASCII Continuous Print Test (Slip/Sprocket)
Sample Data Continuous Print Test (Validataion)
MICR Read Test (Receipt)
Rewinder Rewind Evaluation Continuous Print Test (Journal)
Menu (Receipt)
HEX Dump (Receipt)
Platen Maintenance Mode
(2)How to start
NO.
1
All Letter & Rolling ASCII Continuous Print Test (Receipt)
2
All Letter & Rolling ASCII Continuous Print Test (Journal)
3
All Letter & Rolling ASCII Continuous Print Test (Receipt+Journal)
4
All Letter & Rolling ASCII Continuous Print Test (Slip)/(Sprocket)
5
Sample Data Continuous Print Test (Validation)
6
Menu (Receipt)
7
HEX Dump (Receipt)
8
MICR Read Test (Receipt)
9
Platen Maintenance Mode
10
Rewinder Rewind Evaluation Continuous Print Test (Journal)
Note 1
Note 2
Note 3
Note 4
Note 5
Note 6
Note 7
To enter the above modes, turn the power on while holding down the switches marked with
a circle ( ).
In No.4, if the lever is on the tractor side, the Sprocket Print Test becomes effective. If the
lever is not on the tractor side, the Slip Print Test becomes effective.
In Nos. 5, 8 and 10, if the lever is on the tractor side, these local functions become invalid,
and the printer starts in normal mode.
Nos.1 ~ 3, 6, 7 and 9 become effective regardless of the lever state.
In Nos.1~ 3, the print widths will be those set in the menu “Width of Roll Paper”.
In Nos.1 ~ 4 and 10, if SW1 is pressed, printing suspends. When the SW1 is pressed again,
the printing resumes.
In No.1 ~ 5, 8 and 10, if the cover is opened, printing suspends. When the cover is closed,
printing resumes.
(This is limited to only with the setting of Menu "Cover Open Alarm = YES", suspend in the
cases of No.6 and 7.)
In each local function, if the tractor lever is switched, Media Does Not Match Alarm (1) will
result. When the tractor is returned to the original position, the alarm is cleared and test
printing resumes.
Local Functions
SW 2 SW 3 SW 1 SW 4
41049421PS Rev.312 /
2.3LOCAL TEST
This function creates test data internally as if the printer received the data from the host, and prints
the test pattern.
2.3.1Printer Status in Local Test Mode
When the local test begins, the printer cannot receive data (*1).
Even when a recoverable alarm occurs, the test mode is not cleared, and the test print resumes
when the alarm element is cleared.
The condition to end the local test is to turn the power off, but the local test is terminated when
I- PRIME signal (Parallel model) /Reset signal (Serial model) is received or a fatal alarm occurs.
(*1) When the printer cannot receive data, each I/F presents Busy as follows.
* Parallel model (Centronics interface): Busy signal → High
* Serial model (RS232C I/F):Busy control as follows.
When handshake is DTR/DSR:DTR signal → MARK status
When handshake is XON/XOFF:Sends DC3
2.3.2Details of Local Test Prints
2.3.2.1All Letter and Rolling ASCII Continuous Print Test (Receipt)
This function performs All Letter Print and Rolling ASCII Continuous Print in Receive mode.
It can test Auto Cutter Unit as well, and executes Auto Cut operations. It executes Auto Cut operation
only when “Auto Cutter Unit = Yes” is sent in the menu, however.
* In case of 1-Roll Model, since this model does not come with Auto Cutter Unit, the Auto Cut
function is invalid.
(1)How to start
Turn the power on while holding down the SW1.
(2)How to exit this mode
Turn the power off.
* During test printing, if you press SW1, printing suspends. If you press the SW1 again,
printing resumes.
(3)Printed contents and operations
(a) Auto Cut (Full Cut) operation
(b) Horizontal line (bit image print) printing
(c) Pattern (“ ”) printing to check breakage of the head pins
(d) Local test header printing
(e) UTL and HSD characters (20H~FFH) All Letter Print
(f)Auto Cut (Partial Cut) operation
(g) UTL characters (20H~7EH) Rolling ASCII Continuous Print
41049421PS Rev.313 /
2.3.2.2All Letter and Rolling ASCII Continuous Print Test (Journal)
This function performs All Letter Print and Rolling ASCII Continuous Print in Journal mode.
* In case of 1-Roll Model, this function is invalid.
(1)How to start
Turn the power on while holding down the SW4.
(2)How to exit this mode
Turn the power off.
* During test printing, if you press SW1, printing suspends. If you press the SW1 again,
printing resumes.
(3)Printed contents
(a) Horizontal lines (bit image print) printing
(b) Pattern (“ ”) printing to check breakage of the head pins
(c) Local test header printing
(d) UTL and HSD characters (20H~FFH) All Letter Print
(e) UTL characters (20H~7EH) Rolling ASCII Continuous Print
2.3.2.3All Letter and Rolling ASCII Continuous Print Test (Receipt + Journal)
This function performs All Letter Print and Rolling ASCII Continuous Print in the Receipt+Journal
mode.
Prints the same data on both receipt and journal.
This function can test the auto cutter unit as well, and executes Auto Cut operation of receipts only
when “Auto Cutter Unit = Yes” is set in the menu, however.
* In case of 1-Roll Model, this function is invalid.
(1)How to start
Turn the power on while holding down SW1 + SW4.
(2)How to exit this mode
Turn the power off.
* During test printing, if you press SW1, printing suspends. If you press the SW1 again,
printing resumes.
(3)Print contents and operations
(a) Auto Cut (Full Cut) operation
(b) Horizontal line (bit image print) printing
(c) Pattern (“ ”) printing to check breakage of the head pins
(d) Local test header printing
(e) UTL and HSD characters (20H~FFH) All Letter Print
(f)Auto Cut (Partial Cut) operation
(g) UTL characters (20H~7EH) Rolling ASCII Continuous Print
41049421PS Rev.314 /
2.3.2.4All Letter and Rolling ASCII Continuous Print Test (Slip/Sprocket)
This function performs Rolling ASCII Continuous Print after All Letter Print.
(1) How to start
Turn the power on while holding down the SW2. If the lever is on the tractor side, the Sprocket
paper print test takes place. Otherwise, Slip paper print test takes place.
(2)How to exit
Turn the power off.
* During test printing, if you press SW1, printing suspends. If you press the SW1 again,
printing resumes.
(3) Print contents
(a) Horizontal line (bit image print) printing
(b) Pattern (“ ”) printing to check breakage of the head pins
(c) Local test header printing
(d) UTL and HSD characters (20H~FFH) All Letter Print
(e) UTL and HSD characters (20H~FFH) All Letter Print in Compressed Mode.
(f)UTL characters (20H~7EH) Rolling ASCII Continuous Print
2.3.2.5Sample Data Continuous Print Test (Validation)
This function performs the test print on the Validation paper.
(1)How to start
Turn the power on while holding down the SW3.
(2)How to exit
Turn the power off.
(3)Print contents
(a) UTL character (20H~86H) printing (prints only one-line)
* Prints one-line when Validation is inserted, then enters Waiting for Removal state. After
the validation is removed, the printer enters the Waiting for Insertion state. Repeat the
sequence : Set paper → Print → Remove.
41049421PS Rev.315 /
2.3.2.6MICR Read Test (Receipt)
This function performs MICR read and prints that result on the receipt paper.
Effective only when the MICR unit is installed and “MICR Unit = Yes(CMC-7)” or “MICR Unit = Yes(E13B)” is set in the menu.
(1)How to start
Turn the power on while holding down SW2 + SW3.
(2)How to exit
Turn the power off.
(3)Contents of the test
(a) When this mode is started, the printer enters Wait for MICR Insertion state.
(b) Insert MICR card and perform MICR read.
(c) The printer prints MICR read results on the Receipt paper, and enters Wait for MICR
Insertion state.
(b) and (c) above are repeated.
(4)Contents printed
<When Read is OK:>
(a) Prints “Read OK”.
(b) Prints the MICR read results in HEX dump.
(“XX XX ...... XX” + ASCII: 1 line contains 8 byte information)
<When Read is NG:>
(a) Prints “Read NG”.
(b) Prints the MICR read results (Return Code (1 byte) and read data) in HEX dump.
(“XX XX ...... XX” + ASCII: 1 line contains 8 byte information)
* Regarding MICR Read result, Return Code (1 byte) and Read Data are printed.
When the Return Code is 30H (“No errors”), it is assumed as “Read OK” Otherwise, it
is assumed as “Read NG”
* Return codes are shown below:
Return codeStatus
30H (0)No errors.
33H (3)Error: Read/Decode error.
34H (4)Error: No magnetic ink detected.
36H (6)Error: Document jam or document is too long.
41049421PS Rev.316 /
* When character set is CMC-7, the below codes are returned.
A: dash symbol
B: amount symbol
C: transit symbol
D: On-Us symbol
E: comma symbol
In both cases of CMC-7 and E-13B, special character codes are different from those sent
to host by a check paper read command.
2.3.2.7Rewinder Winding Evaluation Continuous Print Test (Journal)
This function performs print/platen switch continuous test to evaluate the rewinder winding
performance.
* In case of 1-Roll Model, this function will be in Roll Paper mode.
(1)How to start
Turn the power on while holding down SW3 + SW1 + SW4.
(2)How to exit
Turn the power off.
* During test printing, if you press the SW1, printing suspends. If you press the SW1 again,
printing resumes.
(3)Contents printed
(a) Prints “HHH”+ Space + “HHH” (UTL characters)
(b) Print Sheet Mode switching (Journal → Slip → Journal)
41049421PS Rev.317 /
2.3.3Local Test Header
Prints Model Name, Design Drawing Number, Version and F/W Revision.
OKIPOS 425D 41783801YR*1
VER 01 F/W REV 01.00
*11-Roll model: OKIPOS 425S 41783701YR
2-Roll model: OKIPOS 425D 41783801YR
The device names are not finalized yet.
The above names are tentative.
41049421PS Rev.318 /
2.4MENU FUNCTION (Receipt)
2.4.1Overview
The menu function is the local function that sets each mode to control the printer and adjusts it. This
mode has the following items, saved in the E2P-ROM. This information is printed only when the
menu mode is activated at Power On, and the information can be written over from the operator
panel.
Menu Print is printed in Receipt Mode.
For the printer’s initialization state, each mode is set according to the information of this area.
2.4.2Menu Items
(1)Auto Cutter Unit
(2)MICR Unit
(3)Print Registration
(4)Top Adjust
(5)Cut Adjust
(6)Auto LF (Auto line feed)
(7)Receive Buffer Size
(8)Print Mode
(9)Off-line Busy Control
(10) Cover Open Alarm
(11) Width of Roll Paper
(12) Zero Character
(13) Page Lengths
(14) Page End Signal
41049421PS Rev.319 /
Default Value
NO.
1
Auto Cutter Unit
2
MICR Unit
3
Print Registration
4
Top Adjust
5
Cut Adjust
Item
Function
Selects Auto Cutter Unit Installed/Not
Installed.
Selects MICR Unit Installed/Not Installed.
Adjusts the print position if it shifts in
Forward printing and Reverse printing.
Adjusts Top Of Form position when
Slip/Sprocket are used.
Adjusts Cut Position when cutting
Sprocket paper.
Sets
Yes
No
*Default of 1-Roll Model is No.
Yes(CMC-7)
Yes(E-13B)
No
0.25mm Right
0.20mm Right
0.15mm Right
0.10mm Right
0.05mm Right
0
0.05mm Left
0.10mm Left
0.15mm Left
0.20mm Left
0.25mm Left
-1.75mm ~ +1.75mm
* Can be set in the 0.35mm unit.
* Default value : 0 mm
-1.75mm ~ +1.75mm
* Can be set in the 0.35mm unit.
* Default value : 0 mm
6
Auto LF
(Auto line feed)
7
Receive Buffer Size
8
Print Mode
9
Off-line Busy Control
10
Cover Open Alarm
11
Width of Roll Paper
12
Zero Character
13
Page Length
14
Paper End Signal
Selects auto line feed.
(Selects auto line feed by CR Code)
Selects Receive Buffer Size
Selects font
Selects conditions of BUSY
Selects enable/disable of print stop in
Cover Open
Selects the paper width of Roll paper
(Changes the print area.)
Selects a zero font
Selects the paper length of Sprocket
paper.
Selects the paper sensor that enables
Paper End signal.
* RNE :
Receipt/Journal Near End Sensor
* RE : Receipt/Journal End Sensor
Yes
No
2K
16K
Utility
HSD
Yes * Off-line or Receive buff-
er-full
No * Receive buffer-full
Yes
No
76.2mm
69.5mm
Slashed
Unslashed
88.9mm
139.7mm
215.9mm
279.4mm
304.8mm
Yes (RNE or RE)
Yes (RE)
No
Note 1)
Note 2)
In the 1-Roll Model, an auto cutter unit cannot be installed.
I/F control information (baud rate and etc.) and customer display connection/disconnec-
tion of serial model are set by DIP-SW of the I/F board.
Note 3)
MICR Unit selection has the following two types for MICR Read test (Refer to Section
2.3.2.6.): “Yes (CMC-7),” and “Yes (E-13B)” Normally, either selection is recognized as
an actual installation status of MICR Unit, and MICR type is selected by designation of the
command.
41049421PS Rev.320 /
2.4.3How to Operate
2.4.3.1Start
To start the Menu Mode, turn the printer on while holding down SW2 + SW1. When the printer’s
initialization ends correctly, the printer prints the title “Menu Print” and all the menu items and set
values. Then, the printer line-feeds until the print result goes beyond the Manual Cutter position,
prints the item/set value immediately after “Menu Print”, then, waits for a switch to be pressed.
2.4.3.2Operation
The switch functions during the menu mode are as follows:
Switch
SW2
SW3
SW1
SW4
Function
Advances the set values of the Menu Item, one at a time.
From the last set value, returns to the first set value.
Ends Menu Mode.
Registers the set values in EEPROM, then, prints the end
message “Menu End” and returns to the same initialized
state as at power on.
Advances the Menu Items, one at a time.
From the last Menu Item, returns to the first Menu Item.
Feeds the receipt, by one line.
41049421PS Rev.321 /
2.5HEX DUMP FUNCTION (Receipt)
This function converts received data, as it is, to character codes, and prints it in the Receipt mode.
The printed contents are as follows: Upon receiving one byte, the printer divides it into three
characters, High-nibble, Low-nibble and a space. Regarding these as 1 block, the printer prints 8
blocks in one line, then, prints the same data in the character format.
Upon entering the HEX dump mode, the printer prints “Hex Data Dump”. (Title printing)
2.5.1Print Format
Hex Data Dump
0000 XX XX XX XX XX XX XX XX : ........
0008 XX XX XX XX XX XX XX XX : ........
.
.
.
.
FFF8 XX XX XX XX XX XX XX XX : ........
0000 XX XX XX XX XX XX XX XX : ........
.
.
.
.
Hex dataLine No.ASCII data
2.5.2How to Print
(1)If it does not receive data after 150ms have passed since receiving last data, the printer starts
printing (CR) if it has some data.
(If there is not enough data to form 8 blocks, spaces will be used.)
If it subsequently receives data, the printer prints from a position next to the position at which
the printing started.
(2)If it receives the I-PRIME signal (Parallel model)/Reset signal (Serial model), the printer starts
printing if it has some data, then, feeds one line. Then, the printer is initialized. (If it does not
have any data, the printer feeds one line and then, is initialized.) After the initialization, the
printer starts up in dump mode again and prints. The line number is reset, however, and
counting begins from “0000”.
* When I-PRIME signal (Parallel model)/Reset signal (Serial model) is hard reset (setting by
Short Plug with Parallel I/F board and by DIP SW with Serial I/F board), it immediately starts
initialization and does not continue hex dump.
(3)One line-feed is added for every 16 lines.
(4)The count begins from “0000” when the line number exceeds “FFF8”.
41049421PS Rev.322 /
2.6PLATEN MAINTENANCE MODE
This function is for switching the platen position when the print head gap is adjusted in the production
line.
(1)How to start the mode
Turn the power on while holding down SW2 + SW3 + SW1.
*1This mode can be executed even when the print head is not installed.
*2When this mode is being started, the initial platen position should be on the Receipt side.
If the paper is already loaded in the Tractor mode, the platen should be on the Slip side.
(2)How to operate
Switch
SW2
SW3
SW1
SW4
(3)How to exit the maintenance mode
Turn the power off.
Moves the platen to the Receipt side.
Moves the platen to the Slip side.
Invalid
Function
41049421PS Rev.323 /
3.COMMAND DESCRIPTION
The intent of this document is to describe the details of the command functions that are effectuated
by the firmware.
3.1Control Code
3.1.1Control Code List
3.1.1.1Function Code
(1)List of Function Codes
No.
HEX
DEC
CODE
1
0A
10
LF
Print/line feed
2
0C
12
FF
Eject Cut Sheet paper or form-feed sprocket paper
3
0D
13
CR
Print/carriage return
4
0F
15
5
12
18
6
18
24
7
10
16
SI
Condense Designate
DC2
Condense Clear
CAN
Cancel print data
DLE
Start DLE sequence
Remarks
Section
3.2.3.1
3.2.3.7
3.2.1.1
3.2.5.10
3.2.5.12
3.2.8.4
3.1.1.2
Print Start
–
8
1B
27
9
1C
28
10
1D
29
11
1E
30
* Print Start Column
: Command that invokes print start
: Command that does not invoke print start
: Command that sometimes invokes print start
(This applies hereafter.)
3.1.1.2DLE Sequence
(1)Command recognition
A code that follows a DLE code is treated as a 7-bit code. (MSB=0)
For the parameters, which vary among the commands, see each command’s functions.
If a function code follows a DLE code, it is is treated as a stand-alone function code.
If DLE codes come in succession, they are treated as a DLE code.
Example: DLE DLE EOT n is treated as command DLE EOT n.
ESC
Start ESC sequence
FS
Start FS sequence
GS
Start GS sequence
RS
Journal T ab
3.1.1.3
3.1.1.4
3.1.1.5
3.2.2.5
–
–
–
(2)DLE sequences
No.
1
2
3
41049421PS Rev.324 /
HEX
10 04
10 04 08
10 05
Command Sequence
DLE EOT n
DLE EOT BS n
DLE ENQ n
Functions
Real-time status sending
Real-time MICR status sending
Real-time request to Printer
Print StartSection
3.2.8.16
3.2.8.18
3.2.8.17
3.1.1.3ESC Sequence
(1)Command recognition
For the handling of codes that follow the ESC Code, when the ESC codes come in succession,
and their relationship with the functional codes, the way the DLE sequence is handled applies.
Pno Pa1 Pb1...Pan Pbn
ESC DLE a Pno n
ESC DLE c Pno 0 n
ESC DLE c Pno 1 n
ESC DLE l Pno n1 n2
ESC DLE r Pno n
ESC DLE v Pno n
ESC SP n
ESC ! n
ESC $ n1 n2
ESC % 5 n
ESC % 9 n
ESC * m n1 n2 data
ESC - n
Functions
Condense Designate
Sets up menu items
Enables/disables auto status send
Selects print sheet
Selects set sheet
Sets Left Margin
Real-time status sending
Selects Validation insert position
Sets chracter right-side space
Designates Print Mode all at once
Designates absolute position
Feeds paper in inrements of n/144"
Sets n/144" line feed
Designates Bit Image Mode
Designates/clears Underline
ESC 0
ESC 1
ESC 2
ESC 3 n
ESC 4
ESC 5
ESC <
ESC = n
ESC @
ESC A n
ESC C n
ESC E n
ESC G n
ESC J n
ESC N n
ESC O
ESC R n
Sets 1/8" line feed
Sets 7/72" line feed
Sets 1/6" line feed
Sets n/144" line feed
Sets Italic Mode
Resets Italic Mode
Designates one-line uni-directional print
Selects peripheral device
Initializes printer
Sets n/72" line feed pitch
Sets page length for Sprocket paper
Designates/cancels Emphaize print
Designates/cancels Double Strike print
Feeds paper in increments of n/144"
Sets Sprocket paper performation skip
Resets Sprocket paper perforation skip
Selects international character set
ESC w n
ESC \ n1 n2
ESC ^ m n1 n2
ESC a n
ESC c 0 n
ESC c 1 n
ESC c 3 n
ESC c 4 n
ESC c 5 n
ESC d n
ESC f t1 t2
ESC i
ESC m
ESC p m t1 t2
ESC t n
Designates/cancels double width print
Desigantes relative position
Desigantes 9-pin Bit Image Mode
Aligns positions
Selects print sheet
Selects set sheet
Selects paper sensor that enables the
paper end signal; valid only with Parallel I/F
Selects print stop sensor
Enables/disables panel switch
Feeds paper for n lines
Sets Cut paper wait time
Full cut
Partial cut (keeping one point uncut)
Generaes designated pulse (Open
Cash Drawer)
Selects character code table
3.2.5.4
3.2.2.3
3.2.6.2
3.2.2.4
3.2.7.1
3.2.7.2
3.2.7.3
3.2.7.4
3.2.8.3
3.2.3.12
3.2.7.5
3.2.7.6
3.2.7.7
3.2.8.11
3.2.4.2
49
50
51
52
53
54
1B 75
1B 76
1B 77
1B 7A
ESC u n
ESC v
ESC w n
ESC z n
Sends perupheral device status
Sends paper sensor status
Sets/resets Double Height print
Designates/cancels Receipt+Journal
3.2.8.2
3.2.8.8
3.2.5.3
3.2.7.8
same data print
1B 10 41
ESC DLE A Pno N1...N8
Selects and sets the barcode type and
3.2.9.1
size
1B 10 42
ESC DLE B Pno Pm
Prints barcode data
3.2.9.2
DATA
* The ESC DLE sequence other than No. 2~8, 53, 54 will be ignored by the sequence.
(The data that follows “Pno” will be ignored as many bytes as set by Pno.)
41049421PS Rev.326 /
3.1.1.4FS Sequence
(1)Command recognition
For the handling of subsequent codes that follow the FS code, when the FS codes come in
succession, and their relationship with the functional codes, the way the DLE sequence is
handled applies.
(2)FS Sequence table
No.
1
2
3
4
HEX
1C 61 30
1C 61 31
1C 61 32
1C 62
Command Sequence
FS a 0 n
FS a 1
FS a 2
FS b
3.1.1.5GS Sequence
(1)Command recognition
For the handling of subsequent codes that follow the GS code, when the GS codes come in
succession, and their relationship with the functional codes, the way the DLE sequence is
handled applies.
(2)GS Sequence table
No.
1
HEX
1D 05
Command Sequence
GS ENQ
Functions
Reads Check paper
Loads Check paper to the print start
position
Ejects Check paper
Requests for resending a result of
reading Check paper
Functions
Sends a status of the pritner status
real-time
Print StartSection
3.2.8.19
3.2.8.20
3.2.8.21
3.2.8.22
Print StartSection
3.2.8.13
2
3
4
5
1D 45
1D 49
1D 61
1D 72
GS E n
GS I n
GS a n
GS r n
Selects print speed and printhead
current flow time
Sends a prionter ID
Enables/disables auto status send
Sends a status
3.2.8.10
3.2.8.14
3.2.8.12
3.2.8.15
41049421PS Rev.327 /
3.2Control Operations
The control functions are described in the subsequent sections.
3.2.1Print Operation Control
This section describes the print operation control functions.
3.2.1.1Print/Carriage Return
Name:Print/Carriage Return
HEX:0DH
Code
DEC:13
Functions:
(1)To start printing received data and set the position to start receiving the next line’s data at the
left margin position (start of that line) after printing.
(2)To perform Carriage Return and Line Feed if Auto LF is set to Enabled on the menu.
(3)To perform Carriage Return to the start position of the line on Receipt side in Receipt+Journal
mode.
(4)To prompt the mode to shift Receipt+Journal in Validation Mode if Auto LF is set to Enabled
on the menu.
CR
41049421PS Rev.328 /
3.2.2Space Control
The space control functions are described in the subsequent sections.
3.2.2.1Left Margin Set
ESC DLE l Pno n1 n2
Name:Setting Left Margin
HEX:1BH 10H 6CH Pno n1 n2
Code
DEC:27 16 108 Pno n1 n2
Function:
(1)To set Left Margin in increments of 1/60" from the home position.
n1= low-order bytes and n2=high-order bytes
(2)The DEL in the command sequence disables MSB. (“90H” is effective as well.)
(3)Valid range and definitions of parameters
(a) Pno:To designate the number of bytes (number of parameters) following ESC DLE
l Pno MSB is invalid.
Range:00H ≤ Pno ≤ FFH
With this command, Pno=2.
(b) To designate the print position by n1 n2 on the basis of the home position.
Example) In case of ESC DLE l 02H 02H 00H:
n1=02H
n2=00H
The print position would be:
Home Position "0"Left Margin (increments of 1/60")
In this case, Left Margin is 2/60" from the home position.
(4)Range and definitions of n1,n2
0(00H) ≤ n1 ≤ 255 (FFH)
0(00H) ≤ n2 ≤ 255 (FFH)
If a value exceeding the value below is set, this command will be ignored and the previous
setting will remain valid.
The maximum value of n1, n2 would be one that does not fall below 1.25" in the distance to
the right margin.
Selected print sheet
Receipt/Journal/Receipt+Journal(76.2mm)
Receipt/Journal/Receipt+Journal(69.5mm)
Slip(/MICR Read)/Sprocket paper (option)
Range of n1, n2
0 ≤ n2 n1 ≤ 93
0 ≤ n2 n1 ≤ 77
0 ≤ n2 n1 ≤ 303
Right Margin (")
2.8
2.53
6.3
(5)Received within the line, this command will be ignored.
(6)If setting is made by this command in Receipt/Journal/Receipt+Journal Mode, that setting will
be valid for both Receipt and Journal.
It will not affect Slip/Validation/Sprocket.
(7)If setting is made by this command in Slip/Validation/Sprocket Mode, that setting will be valid
for all of Slip/Validation/Sprocket.
It will not affect Receipt or Journal.
(8)Neither the left margin position that is set in Receipt/Journal/Receipt+Journal Mode nor the left
margin position set in Slip/Validation/Sprocket Mode will change when the mode is switched.
41049421PS Rev.329 /
3.2.2.2Absolute Position Designate
ESC $ n1 n2
Name:Absolute Position Designate
HEX:1BH 24H n1 n2
Code
DEC:27 36 n1 n2
Function:
(1)To move a next printing position from the start position in the line to the one designated by n1
n2 in increments of 1/180" or 1/240".
Default unit of measurement is 1/180", but 1/240" if Condense is set.
n1 = low-order byte, n2 = high-order byte
(2)To designate the print position according to n1 n2, based on the left margin position (start
position of the line).
The left margin changes, the print start position, too, changes even if the setting is the same.
e.g.)ESC $ 02H 00H
n1 = 02H
n2 = 00H
The print position would be:
Left MarginPrint Position (increments of 1/180 or 1/240")
In this case, subsequent data will be printed 2/180" or 2/240" from the left margin.
(3)Valid range and definitions of n1,n2
0(00H) ≤ n1 ≤ 255(FFH)
0(00H) ≤ n2 ≤ 255(FFH)
(4)Range of n1 n2 (If any value outside the range is designated, the command will be ignored in
its entirety.)
The range in the table below assumes the left margin position being 0.
If Left Margin + Absolute Position exceeds the right margin (ininches) in the table below, the
(5)The amount of movement is calculated according to the following formula.
Movement (Distance from left margin) = {n1+(n2 AND 03H) × 256}/180 (inch) or
= {n1+(n2 AND 03H) × 256}/240 (inch)
0 ≤ movement < 6.3 (inch)
(6)If the parameter (n1 n2), which would set the print position to the left of the present print position,
is designated, print start is prompted.
(7)No underline is added to the movement made by this command.
(8)When Same Data Print is reset with Receipt+Journal, if the present position is located on the
Receipt side, the setting within the Receipt print position is valid, and if the present position is
located on the Journal side, the setting within the Journal print range is valid.
(On the Journal side, the left edge of the Journal print area is set as a start position of the pint line.)
41049421PS Rev.330 /
Loading...
+ 191 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.