SATO WS408DT, WS408TT, WS412DT, WS412TT Interface Manual

Page 1
iii
WS4 Series Printer
Interface Manual
WS408DT / WS412DT
WS408TT / WS412TT
Page 2
iii
TABLE OF CONTENTS
1 Introduction ........................................................................... 1
2 Interface .............................................................................. 1
3 Communication Protocol ............................................................... 2
3.1 Type of Communication Protocol ..................................................... 2
3.2 Receive Mode ........................................................................ 2
3.3 Return Status ........................................................................ 3
3.3.1 Return Status in STATUS3 Format .................................................. 3
3.3.2 Return Status in Protocol for Driver (STATUS4) Format .............................. 6
3.3.3 Other Return Statuses ............................................................ 10
3.4 READY/BUSY Flow Control ........................................................... 12
3.5 XON/XOFF Flow Control .............................................................. 12
3.6 STATUS3 ........................................................................... 13
3.6.1 Return Sequence ................................................................. 13
3.6.2 Flow Chart ...................................................................... 15
3.7 Protocol for Driver (STATUS4) ........................................................ 16
3.7.1 Return Sequence ................................................................. 16
4 RS-232C ............................................................................. 18
4.1 Basic Specifications ................................................................. 18
4.2 READY/BUSY ....................................................................... 19
4.2.1 Line Connection ................................................................. 19
4.2.2 Input and Output Signals ......................................................... 19
4.3.1 Line Connection ................................................................. 20
4.3.2 Input and Output Signals ......................................................... 20
4.4 STATUS3 ........................................................................... 21
4.4.1 Line Connection ................................................................. 21
4.4.2 Input and Output Signals ......................................................... 21
4.4.3 Timing Chart of Multi Item Buffer .................................................. 22
4.5 Protocol for Driver (STATUS4) ........................................................ 24
4.5.1 Line Connection ................................................................. 24
4.5.2 Input and Output Signals ......................................................... 24
4.5.3 Timing Chart of Multi Item Buffer .................................................. 25
4.6 Notes ............................................................................... 28
5 USB ................................................................................. 29
5.1 Basic Specifications ................................................................. 29
5.2 Connector Pin Assignments .......................................................... 29
Page 3
ii
6 LAN ................................................................................. 30
6.1 Basic Specifications ................................................................. 30
6.2 Software Specifications .............................................................. 31
6.3 TCP/IP Specifications ................................................................ 31
6.4 LPD Specifications................................................................... 31
6.5 Setup/Display Item ................................................................... 32
6.6 Socket Connection................................................................... 33
6.6.1 Port Connection Method .......................................................... 33
6.6.2 Connection and Disconnection of Session .......................................... 34
6.6.3 Status Return Method ............................................................ 36
6.7 Notes ............................................................................... 37
6.8 SNMP Specification (Simple Network Management Protocol) ............................. 38
6.8.1 Supported MIB ................................................................... 38
6.8.2 Printer Error Information .......................................................... 39
7 Wireless LAN ........................................................................... 40
7.1 Basic Specifications (Wireless LAN) ................................................... 40
7.2 Software Specifications .............................................................. 44
7.3 TCP/IP .............................................................................. 44
7.4 LPD ................................................................................ 44
7.5 HTTP (Hyper Text Transfer Protocol) .................................................. 44
7.5.1 Setting Items .................................................................... 44
7.5.2 Password Setting (for Web log in) ................................................. 44
7.6 Wireless LAN settings ................................................................ 45
7.6.1 Setting Item List ................................................................. 45
7.6.2 802.1x Authentication and Certification ............................................. 52
7.7Socket Communication ............................................................... 53
7.7.1 Port Number ..................................................................... 54
7.8 Connection and Disconnection of Session ............................................. 55
7.9 Printer status ........................................................................ 57
7.10 Setting of IP Address ............................................................... 60
7.11 Note ............................................................................... 61
7.11.1 Common to LAN/Wireless LAN interface .......................................... 61
7.11.2 Wireless LAN Interface .......................................................... 61
7.11.3 LAN Interface ................................................................... 61
8 Bluetooth ............................................................................... 62
8.1 Basic Specifications ................................................................. 62
8.2 Bluetooth Settings ................................................................... 62
8.3 Transmission Sequence .............................................................. 63
Page 4
ii
8.3.1 Normal End ...................................................................... 63
8.3.2 Disconnection during Print Data Sending ........................................... 65
8.3.3 Disconnection during Status Sending after Print Data Reception ...................... 65
8.3.4 State transition diagram matrix (at host) ............................................ 66
Page 5
1
1 Introduction
This document contains the interface specifications of the WS4 series printers.
(1) WS408DT : Head density 203(dpi) / Direct thermal printer (2) WS408TT : Head density 203(dpi) / Thermal transfer & Direct thermal printer (3) WS412DT : Head density 300(dpi) / Direct thermal printer (4) WS412TT : Head density 300(dpi) / Thermal transfer & Direct thermal printer
2 Interface
There are four types of interfaces available for the WS4 series.
(1) USB device (2) USB host (3) LAN (4) RS-232C
Two or three types of interfaces can be installed for one printer. The table below shows the combination of interfaces (USB device + USB host + LAN (+ RS-232C)).
Interface Combination
USB
device
USB host
LAN
RS-232C
LAN Model
-
Standard Model
○ ○
Page 6
2
3 Communication Protocol
3.1 Type of Communication Protocol
There are four types of communication protocols available for the WS4 series such as;
(1) READY/BUSY (2) XON/XOFF (3) STATUS3 (4) Protocol for driver (STATUS4)
Each interface uses different communication protocol. In each communication protocol, the printer returns the status corresponding to the command requested by the host
computer. There are two types of return status formats.
(1) STATUS3 type (2) Protocol for driver (STATUS4) type
The following table shows the compatibility of communication protocol and interface. Note that the return status formats are indicated by the symbols below.
○ : STATUS3 type ◎ : Protocol for driver (STATUS4) type
Communication
Protocol
Interface
READY/BUSY
XON/XOFF
STATUS3
Protocol for driver
(STATUS4)
RS-232C
◎ ◎
*1
USB
- - -
LAN - -
*2
*1 : In the same manner as STATUS3 format, the printer status is returned after completing the reception process of
print data command.
*2 : The contents of return status to the host computer are slightly different from other interfaces.
3.2 Receive Mode
Only the multi item buffer is available on the WS4 series. The printer is able to continuously receive print jobs,
compiling and printing other jobs at the same time.
Page 7
3
3.3 Return Status
In the WS4 series, the printer returns the status corresponding to the command requested by the host computer so that the printer status can be controlled on the host computer side. There are two types of return status formats such as STATUS3 and Protocol for driver (STATUS4). The status is returned immediately after receiving the request command.
3.3.1 Return Status in STATUS3 Format
In STATUS3 format, the printer returns the printer status and response status to the host computer by receiving two types of request commands and print command.
The details of each request command and return status are as follows.
1) Status request command
This command returns the job ID number of receive data that is currently printing, the printer status and the number of remaining labels to print to the host computer. When the print is completed or when there is no receive data, all ‘0 (HEX 30H) will be returned for the print quantity. If the JOB ID Number command <ID> is not specified, the printer will respond with “space” character (HEX 20H) for the job ID number.
(1) Command ENQ(HEX 05H) (2) Return status format
Status
Sets the job ID number specified within ESC+“A”~ESC+“Z”. Use the JOB ID Number command (ESC+ID) to set the job ID number .
When there are multiple receive data, the job number of receive data that is currently printing will be set.
STX
ETX
ID No.
Remaining labels to print
000000 to 999999
(11 bytes)
* Important
Avoid ENQ transmission (status request) while sending the print data (<A>…<Z>). Failure to do so may result in return status error or print error.
STX(HEX 02H) ETX(HEX 03H)
Page 8
4
(3) List of status
Description
ASCII
HEX
Offline state
No error 0 30
Ribbon near end
1
31 Buffer near full
2
32
Ribbon near end & Buffer near full
3
33
Online state
Wait to receive
No error A 41
Ribbon near end
B
42
Buffer near full
C
43
Ribbon near end & Buffer near full
D
44
Printing
No error G 47
Ribbon near end
H
48
Buffer near full
I
49
Ribbon near end & Buffer near full
J
4A Standby
No error M 4D (Wait to peel off /
Ribbon near end
N
4E cut )
Buffer near full
O
4F
Ribbon near end & Buffer near full
P
50
Analyzing /
No error S 53 Editing
Ribbon near end
T
54
Buffer near full
U
55
Ribbon near end & Buffer near full
V
56
Error detection
Buffer over*1
a
61 Head open b 62 Paper end c 63
Ribbon end
d
64 Media error
e
65 Sensor error
f
66 Head error g 67 Cutter error j 6A
Other error condition
k
6B
Depending on the timing of analysis / editing, print quantity may not be set up properly.
*1. Buffer overflow may or may not occur by interface types.
: Buffer overflow occurs when using this interface
× : Buffer overflow does not occur when using this interface
USB
RS-232C
LAN
×
○ ×
Page 9
5
2) Cancel request command
This command enables to cancel the print jobs and to clear the entire contents of receive buffer. The printer status after completing this process is returned.
(1) Command CAN(HEX 18H) (2) List of return status
Return status
Description
ACK(HEX 06H)
No error in the printer
NAK(HEX 15H)
Error in the printer
* Important
After sending the cancel request command, wait more than 100ms before sending the next data.
3) Print command
This command (STX ESC+“A”~ESC+“Z” ETX) starts the print operation. The printer status after receiving this command is returned.
(1) List of return status
Return status
Description
ACK(HEX 06H)
No error in the printer
NAK(HEX 15H)
Error in the printer
Example of Job ID Number command
* Note
For the Job ID Number command, refer to the Command Specifications.
<A> <ID>01 <V>100<H>100<P>2<L>0202<XM >ABC <Q>1 <Z>
Page 10
6
3.3.2 Return Status in Protocol for Driver (STATUS4) Format
In STATUS4 format, the printer returns the printer status and response status to the host computer by receiving four types of request commands. When the combination of RS-232C interface and STATUS4 is used, the printer status will be returned to the host computer by receiving the print command. The details of each request command and return status are as follows.
1) Status request command
This command returns the job ID number of receive data that is currently printing, the printer status, the number of remaining labels and the job name to the host computer. When the print is completed or when there is no receive data, all “0” (HEX 30H) will be returned for the print quantity. If the JOB ID Number command is not specified, the printer will respond with “space” character (HEX 20H) for the job ID number.
(1) Command ENQ(HEX 05H) (2) Return status format
Note that return status format is different depending on the interface to be used (e.g. LAN , other interfaces).
* Important
Avoid ENQ transmission (status request) while sending the print data (STX…ETX). Failure to do so may result in return status error or print error.
No. of bytes to
be sent
4 byte
ENQ 1 byte 05H
STX 1 byte 02H
ID No.
2 bytes
Status 1 byte
Remaining print qty.
6 bytes
JOB
name
16 bytes
ETX 1 byte 03H
When LAN interface is in use (Return status: 32 bytes)
Specified by the Job ID Number command
Specified by the Job Name command
000000~999999
STX 1 byte 02H
ID No.
2 bytes
Status 1 byte
Remaining print qty.
6 bytes
JOB
name
16 bytes
ETX 1 byte 03H
When the interface other than LAN is in use (Return status: 27 bytes)
Page 11
7
(3) List of status
Description
ASCII
HEX
Offline state
No error 0 30
Ribbon near end
1
31 Buffer near full
2
32
Ribbon near end & Buffer near full
3
33
Paused print job (No error)
4
34
Online state
Wait to receive
No error A 41
Ribbon near end
B
42
Buffer near full
C
43
Ribbon near end & Buffer near full
D
44
Paused print job (No error)
E
45 Printing
No error G 47
Ribbon near end
H
48
Buffer near full
I
49
Ribbon near end & Buffer near full
J
4A
Paused print job (No error)
K
4B Standby
No error M 4D (Wait to peel off /
Ribbon near end
N
4E
Cut)
Buffer near full
O
4F
Ribbon near end & Buffer near full
P
50
Paused print job (No error)
Q
51 Analyzing /
No error S 53
Editing
Ribbon near end
T
54
Buffer near full
U
55
Ribbon near end & Buffer near full
V
56
Paused print job (No error)
W
57
Error detection
Buffer over*1
a
61 Head open b 62 Paper end c 63
Ribbon end
d
64
Media error e 65 Sensor error
f
66 Head error g 67 Cutter error j 6A
Other error condition
k
6B
Depending on the timing of analysis / editing, print quantity may not be set up properly.
*1. Buffer overflow may or may not occur by interface types.
○ : Buffer overflow occurs when using this interface.
× : Buffer overflow does not occur when using this interface.
USB
RS-232C
LAN × ○ ×
Page 12
8
2) Cancel request command
This command enables to cancel the print jobs and clear the entire contents of receive buffer. The printer status after completing this process is returned.
(1) Command CAN(HEX 18H) (2) List of return status
Return status
Description
ACK(HEX 06H)
No error in the printer
NAK(HEX 15H)
Error in the printer
Important
After sending the cancel request command, wait more than 100ms before sending the next data.
3) Request command to pause printing
This command stops the print job. The printer status after completing this process is returned.
(1) Command DLE(HEX 10H) (2) List of return status
Return status
Description
ACK(HEX 06H)
No error in the printer
NAK(HEX 15H)
Error in the printer
4) Request command to resume printing
This command enables the printer to exit the pause state and restart the print job. The printer status after completing this process is returned.
(1) Command DC1(HEX 11H) (2) List of return status
Return status
Description
ACK(HEX 06H)
No error in the printer
NAK(HEX 15H)
Error in the printer
* Note
For the Job ID Number command, refer to the Command Specifications.
Page 13
9
5) Response to the print command
This information applies only when using the RS232C interface and STATUS4 (Protocol for driver).The print job will
start by receiving the print command (STX ESC+“A”~ESC+“Z” ETX).
The printer status after completing this process is returned.
(1) List of return status
Return status
Description
ACK(HEX 06H)
No error in the printer
NAK(HEX 15H)
Error in the printer
Example of Job ID Number command
* Note
For the Job ID Number command, refer to the Command Specifications.
<A> <ID>01 <V>100<H>100<P>2<L>0202<XM >ABC <Q>1 <Z>
Page 14
10
3.3.3 Other Return Statuses
The following commands will return the status in a common format regardless of communication protocol setting such as [STATUS3] and [Protocol for driver (STATUS4)]. In this section, the codes written in the return status such as [STX] and [ETX] will be indicated as [02H] and [03H] regardless of the printer’s protocol code setting (Standard code/ Nonstandard code). NOTE: LAN adds the size info (4 bytes) on top of every return format.
1) Printer configuration request command
This command returns the printer configuration to the host computer.
(1) Command SOH(01H)+MG (2) Return status format
(3) List of return status
No.
Item
Description
No.of bytes
1
Print method
00H : Thermal transfer 01H : Direct thermal
1
2
Head density
00H : 203dpi 8dots/mm 01H : 300dpi 12dots/mm
1
3
Print speed
00H : 2 (inch/sec) 50 (mm/sec) 01H : 3 (inch/sec) 75(mm/sec) 02H : 4 (inch/sec) 100(mm/sec) 03H: 5(inch/sec) 125(mm/sec) 04H: 6(inch/sec) 150(mm/sec)
1
4
Print mode
00H : Continuous 01H : Tear off 02H : Cutter 03H : Dispenser
1
5
Cutter mode
00H : Motion 1 (Head position) 01H : Motion 2 (Cutter position) 02H : Motion 3 (No backfeed motion)
1
6
Dispenser mode
00H : Motion 1 (Head position) 01H : Motion 2 (Dispensing position)
1
7
Nonsepa mode
00H : Motion 2 (Tear off position) 01H : Motion 3 (No backfeed motion)
1
8
Print darkness
Darkness A(41H) : A Darkness level 01H : 1 Lightest
02H : 2 Slightly light 03H : 3 Normal 04H : 4 Slightly dark 05H : 5 Darkest
2
Return status: 32 bytes
STX
(02H)
1 byte
Print method Head density……Buzzer setting
(Refer to the List of return status for more details)
30 bytes
ETX
(03H)
1 byte
Page 15
11
List of return status (continued from previous page)
No.
Item
Description
No.of bytes
9
Sensor type
00H : Reflective sensor (I-mark: CX-compatible) 01H : Transmissive sensor (gap between labels) 02H : Sensor-off type 03H : Reflective sensor (I-mark: CT-compatible)
1
10
Zero slash
00H : Disable 01H : Enable
1
11
Reserved
00H : Fixed
1
12
Media specification
00H : Adhesive label 01H : Nonadhesive tag
1
13
Initial feed
00H : Disable 01H : Enable
1
14
Proportional pitch
00H : Fixed pitch 01H : Proportional pitch
1
15
Height of label
0001H to 0960H (1 to 2400 dots) when setting to 8 dots/mm 0001H to 0E10H (1 to 3600 dots) when setting to 12 dots/mm
2
16
Width of label
0001H to 0340H (1 to 832 dots) when setting to 8 dots/mm 0001H to 04E0H (1 to 1248 dots) when setting to 12 dots/mm
2
17
Vertical base reference point correction
0000H to 012CH (0 to 300 dots) FFFFH to FED4H (-1 to -300 dots)
2
18
Horizontal base reference point correction
0000H to 012CH (0 to 300 dots) FFFFH to FED4H (-1 to -300 dots)
2
19
Label pitch offset
00H to 63H (0 to 99 dots) FFH to 9DH (-1 to -99 dots)
1
20
Tear-off offset
00H to 63H (0 to 99 dots) FFH to 9DH (-1 to -99 dots)
1
21
Cutter offset
00H to 63H (0 to 99 dots) FFH to 9DH (-1 to -99 dots)
1
22
Dispenser offset
00H to 63H (0 to 99 dots) FFH to 9DH (-1 to -99 dots)
1
23
Control code type
00H : Standard code 01H : Nonstandard code
1
24
Gap between labels
08H to 40H (8 to 64 dots) when setting to 8 dots/mm 0CH to 60H (12 to 96 dots) when setting to 12 dots/mm
1
25
Buzzer
00H : Yes 01H : No
1
Page 16
12
3.4 READY/BUSY Flow Control
This communication protocol controls the reception of print data by the control of hardware signal only. Refer to [4. RS-232C] for more details.
3.5 XON/XOFF Flow Control
This communication protocol communicates with the host computer to see if the printer is ready to receive data by sending “XON”(HEX 11H) or “XOFF”(HEX 13H) code to signal line.
Refer to [4. RS-232C] for more details.
Page 17
13
3.6 STATUS3
This communication protocol returns the status corresponding to the request command from the host computer so that the host computer can control printer status. For the details of request command and return status, refer to [3.3.1 Return Status in STATUS3 format] and [3.3.3 Other Return Statuses].
3.6.1 Return Sequence
When LAN interface is in use, refer to [7.8 Socket Connection] as well.
1) Normal process
Host
Printer
Print command
(
)
Receiving/Analysis/Editing
ENQ
(Status request command)
Print operation
Printing the 3rd label
Printing the 1st label
Printing the 2nd label
Paper end error occurred
Error release (Press the FEED key)
Printing the 3rd label
Printing the 100th label
(Printer status: No error)
ACK
Status
ENQ
(Status request command)
( ) (
Status
)
ENQ
(Status request command)
Status
(
)
ENQ
(Status request command)
Status
(
)
ENQ
(Status request command)
Status
(
)
Print command
(
)
(Printer status: No error)
ACK
Printing the 1st label
ENQ
(Status request command)
Status
(
)
Status
(
)
ENQ
(Status request command)
Receiving/Analysis /Editing
ID No.=[Space] Status=Wait to receive Print qty.=[000000]
ID No.=[06] Status=Printing Print qty.=[000050]
ID No.=[05] Print qty.=100
ID No=[05] Status=Analyzing/Editing Print qty.=[000000]
ID No.=[05] Status=Printing Print qty.=[000100]
ID No.=[06] Print qty.=50
ID No.=[05] Status=Paper end Print qty.=[000098]
ID No.=[05] Status=Printing Print qty.=[000098]
ID No.=[05] Status=Printing Print qty.=[000001]
Page 18
14
2) Cancel request command
Host
Printer
Print command
Receiving/Analysis/Editing
ENQ
(Status request command)
Print operation
Printing the 1st label
Printing the 2nd label
Error release (Press the FEED key)
Clearing receive buffer Clearing print qyt.
Print command
Print operation
ACK
(Printer status: No error)
Status
Receiving/Analysis/Editing
(
)
ID No.=[Space] Status=Wait to receive
Print qty.[000000]
(
)
ID No.=[12]
Print qyt.=50
ENQ
(Status request command)
Status
(
)
ID No.=[12] Status=Printing
Print qty.[000049]
CAN
(Cancel request command)
Printing the 3rd label
ACK
(Printer status: No error)
(
ID No.=[13]
Print qty.=100
)
ACK
(Printer status: No error)
Printing the 1st label Printing the 2nd label
Paper end error occurred
ENQ
(Status request command)
Status
(
)
ID No.=[13] Status=Printing
Print qty. [000100]
CAN
(Cancel request command)
NAK
(Printer status: Having an error)
ENQ
(Status request command)
Status
(
)
ID No.=[Space] Status=Wait to receive
Print qty. [000000]
100ms or more
100ms or more
Clearing receive buffer Clearing print qyt.
ENQ
(Status request command)
Status
(
)
ID No.=[Space] Status=Wait to receive
Print qyt. [000000]
Page 19
15
3.6.2 Flow Chart
See the flow chart below for programming on the host computer side.
Power On
Print data setting
Send ENQ
Time out?
OFFLINE?
Buffer near full?
Send print data
Send CAN
1
Yes
Yes
Yes
Yes
No
No
No
No
Status display
Detecting error?
Yes
Cancel?
Cancel? Yes
Yes
No
No
No
1
Loop
ID No. display
Print quantity display
Loop
Time out? Yes
No
Status display
Loop
Time out? Yes
No
ACK?
Receiving status?
Yes
No
No
Time out? Yes
Loop
RETURN
Time out setting
Status setting
* When an error in the printer is detected by the status, make sure to confirm that the error is released by ENQ
before sending the next print data.
Page 20
16
3.7 Protocol for Driver (STATUS4)
This communication protocol returns the status corresponding to the request command from the host computer so that the host computer can control the printer status. For the details of request command and return status, refer to [3.3.2 Protocol for Driver (STATUS4)] and [3.3.3 Other Return Statuses].
3.7.1 Return Sequence
When LAN interface is in use, refer to [7.8 Socket Connection] as well.
1) Normal process
ENQ
(Status request command)
Status
ENQ
(Status request command)
ENQ
(Status request command)
ENQ
(Status request command)
ENQ
(Status request command)
ENQ
(Status request command)
Status
Status
Print command
Status
ID No.=[05]
Status=Printing Print qty.=[000100]
Job name=[SATO]
Print command
Status
Status
ENQ
(Status request command)
Status
Receiving/Analysis/Editing
Print operation
Printing the 1st label
Printing the 2nd label
Printing the 3rd label
Receiving/Analysis/Editing
Paper end occurred
Printing the 3rd label
Error release
(Press the FEED key)
Printing the 100th label
Printing the 1st label
ID No.=[06]
Print qty.=50 Job name=[SATO]
ID No.=[Space]
Status=Wait to receive Print qty.=[000000]
Job name=[Space]
ID No.=[05]
Print qty.=100 Job name=[SATO]
ID No.=[05]
Status=Editing Print qty.=[000000]
Job name=[SATO]
ID No.=[05]
Status=Paper end Print qty.=[000098]
Job name=[SATO]
ID No.=[05]
Status=Printing Print qty.=[000098]
Job name=[SATO]
ID No.=[05]
Status=Printing Print qty.=[000001]
Job name=[SATO]
ID No.=[06]
Status=Printing Print qty.=[000050] Job name=[SATO]
ACK
(Printer status: No error) *1
ACK
(Printer status: No error) *1
*1. When using the RS-232C interface,
there will be a response to print command.
Page 21
17
2) Cancel request command
Host
Printer
ENQ
(Status request command)
ACK
(Printer status: No error)
Status
ENQ
(Status request command)
ENQ
(Status request command)
CAN
(Cancel request command)
Print command
Status
Print command
Status
ENQ
(Status request command)
Status
Receiving/Analysis/Editing
Print operation
Printing the 1st label Printing the 2nd label
Printing the 3rd label
Receiving/Analysis/Editing
Paper end occurred
Printing the 1st label
Error release
(Press the FEED key)
CAN
(Cancel request command)
Clearing receive buffer Clearing print qty.
NAK
(Printer status: Having an error)
Print operation Printing the 2nd label
100ms or more
100ms or more
Clearing receive buffer
Clearing print quantity
ENQ
(Status request command)
Status
ID No.=[13]
Status=Printing Print qty.=[000100] Job name=[SATO]
ID No.=[Space]
Status=Wait to receive Print qty.=[000000]
Job name=[Space]
ID No.=[12]
Print qty.=50
Job name=[SATO]
ID No.=[12]
Status=Printing Print qty.=[000050]
Job name=[SATO]
ID No.=[Space]
Status=Wait to receive Print qty.=[000000] Job name=[Space]
ID No.=[13]
Print qty.=100
Job name=[SATO]
ID No.=[Space]
Status=Wait to receive Print qty.=[000000]
Job name=[Space]
ACK
(Printer status: No error) *1
ACK
(Printer status: No error) *1
Page 22
18
4 RS-232C
4.1 Basic Specifications
The serial interface of this printer complies with RS -232C.
Interface
Communication settings
Use the <I2> command for setting.
<I2>abcde
Synchro system
Asynchronous method
Code
ASCII (7 bits) Graphic (8 bits)
Connectors
Printer side DB-9S (male) or equivalent Cable side DB-9P (female) or equivalent Recommended Cable length Shorter than 1.8 m
Transmission form
Start
b1
b2
b3
b4
b5
b6
b7
b8
Stop
(Important) When using 7 bits, b8 will be omitted.
Signal level
High level :+5 to +12V Low level :-5 to -12V
Parameter
Setting item
Setting
value
Description
a
Baud rate
2
38400bps 1 19200bps [Factory setting]
0
9600bps
b
Data bit length
1
7 bits
0
8 bits [Factory setting]
c
Parity bit
2
ODD 1 EVEN
0
NONE [Factory setting]
d
Stop bit
1
2 bits
0
1 bit [Factory setting]
e
Protocol
4
STATUS3
3
Protocol for driver (STATUS4) [Factory setting]
2
XON/XOFF
1
READY/BUSY(Multi item buffer)
0
READY/BUSY(Single item buffer)
Page 23
19
4.2 READY/BUSY
This communication protocol controls the reception of print data by the control of hardware signal only. Single item buffer and multi item buffer can be toggled by the <I2> command.
When the print data (STX ESC+“A”~ ESC+“Z” ETX) has been sent from the host computer in the conditions below, the accuracy of received data will not be guaranteed.
1) When the printer is in offline state.
2) When an error has occurred in the printer.
4.2.1 Line Connection
4.2.2 Input and Output Signals
PIN No.
Signal
I/O
Description
2
RD
Input
Data from the host computer to the printer
3
SD
Output
Data from the printer to the host computer.
4
NC
-
Floating.
5
SG
-
Signal ground.
6
DR
Input
Data Terminal Ready
7
RS
Output
Send request
8
CS
Input
Ready to send
DB-9P
Printer
Host
1 1 CD
RD 2 3 SD
SD 3 2 RD
SG 5 5 SG
DR 6 4 DR
RS 7 8 CS
CS 8 7 RS 9 9
RI
Page 24
20
4.3 XON/XOFF
This communication protocol communicates with the host computer to see if the printer is ready to receive data by sending “XON”(HEX 11H) or “XOFF”(HEX 13H) code to SD line. When this communication protocol is set, receive mode is set to multi item buffer.
When the print data (STX ESC+“A”~ESC+“Z” ETX) has been sent from the host computer in the conditions below, the accuracy of received data will not be guaranteed.
1) When the printer is in offline state.
2) When an error has occurred in the printer.
4.3.1 Line Connection
(Important)
Depending on the host computer used, it may need to loop CS and RS (maintaining at “High” level) on the host computer side. For more details, refer to your host computer documentation.
4.3.2 Input and Output Signals
PIN No.
Signal
I/O
Description
2
RD
Input
Data from the host computer to the printer.
3
SD
Output
Data from the printer to the host computer.
5
SG
-
Signal ground.
1) DB-9P
Printer
Host
RD 2 3 SD
SD 3 2 RD
SG 5 5 SG
Page 25
21
4.4 STATUS3
This communication protocol returns the status corresponding to the request command from the host computer so that the host computer can control printer status. The status is returned immediately after receiving the request command. When this communication protocol is set, receive mode is set to multi item buffer.
When the print data (STX ESC+“A”~ ESC+“Z” ETX) has been sent from the host computer in the conditions below, the accuracy of received data will not be guaranteed.
1) When the printer is in offline state.
2) When an error has occurred in the printer.
4.4.1 Line Connection
(Important)
Depending on the host computer used, it may need to loop CS and RS (maintaining at “High” level) on the host computer side. For more details, refer to your host computer documentation.
4.4.2 Input and Output Signals
PIN No.
Signal
I/O
Description
2
RD
Input
Data from the host computer to the printer.
3
SD
Output
Data from the printer to the host computer.
5
SG
-
Signal ground
DB-9P
Printer
Host
RD 2 3 SD
SD 3 2 RD
SG 5 5 SG
Page 26
22
4.4.3 Timing Chart of Multi Item Buffer
1)Normal process
2) Cancel process
Printer side
RD
SD
Print(1)
Online CAN
Receiving/Analysis/ Editing(2)
Print(2)
Printer status
Receiving/Analysis/Editing(1)
STX..ETX(1)
STX…ETX(2)
ENQ
ACK
ENQ
Status
ENQ
ACK
Status
ACK
Status
100ms
ENQ
Status
NOTE: To send the next data, wait more than 100ms as delay time after sending the cancel request. Press FEED/LINE
Printer side
Printer status
Power ON
RD
SD
Initial
Receiving/Analysis/Editing(2)
Print(1)
Online
Receive buffer near full
occurred
Receive buffer near full
release
Offline
Print(3)
Press FEED/LINE
Receiving/Analysis/ Editing(1)
STX…ETX(1) STX…ETX(3)
Receiving/Analysis/Editing(3)
ENQ
ACK
ENQ
Status ENQ
ACK
Status
ENQ
Status
ACK
Status
NOTE: Avoid ENQ transmission (Status request) while sending the print data (STXETX).
This may cause return status error or print error.
ENQ
Status STX…ETX(2)
Print(2)
Page 27
23
3) Error handling
4) Information acquisition command process
Online
Printer side
Printer status
RD
SD
Print(1)
Online
ENQ
Print(1)
Receiving/Analysis/ Editing(1)
STX…ETX(1)
ENQ
ACK
ENQ
Status
ENQ
Status
ENQ
ENQ
Offline
Status
Status
Status
ENQ
Status
Status
Paper end occurred
Head open
Head close
Press FEED/LINE
NOTE: (1) When the paper end has occurred, Open the print head assembly Set the label Close the print head assembly for feed operation.
(2) When the print head assembly is closed, the paper end will be released.
*
Printer side
RD
SD
STX…ETX(2)
Obtaining
printer operation
Print(1)
Online
Printer status
Receiving/Analysis/ Editing(1)
STXETX(1)
Receiving/Analysis/
Editing(2)
Print(2)
ENQ
ENQ
Status
ENQ
Status
ENQ
Status
Status
Printer operation status
NOTE: Avoid executing the command to obtain the status (e.g. printer operation status) while printing.
ACK
ACK
Page 28
24
4.5 Protocol for Driver (STATUS4)
This communication protocol returns the status corresponding to the request command from the host computer so that the host computer can control printer status. The status is returned immediately after receiving the request command. When this communication protocol is set, receive mode is set to multi item buffer.
4.5.1 Line Connection
(Important)
Depending on the host computer used, it may need to loop CS and RS (maintaining at “High” level) on the host computer side. For more details, refer to your host computer documentation.
4.5.2 Input and Output Signals
PIN No.
Signal
I/O
Description
2
RD
Input
Data from the host computer to the printer
3
SD
Output
Data from the printer to the host computer
7
SG
-
Signal ground
DB-9P
Printer
Host
RD 2 3 SD
SD 3 2 RD
SG 5 5 SG
Page 29
25
4.5.3 Timing Chart of Multi Item Buffer
1) Normal process
2) Cancel process
Press FEED/LINE
Power ON Printer side
RD
SD
Initial
Print(1)
Online
Receive buffer near full occurred
Receive buffer near full release
STX…ETX(2)
Offline
Receiving/Analysis/ Editing(2)
Print(2)
Printer status
Press FEED/LINE
Receiving/Analysis/ Editing(1)
STX…ETX(1)
STX…ETX(3)
Receiving/Analysis/ Editing(3)
ENQ
ENQ
Status
ENQ
Status
ENQ
Status
Status
NOTE: Avoid ENQ transmission (Status request) while sending the print data (STXETX).
This may cause return status error or print error.
ENQ
Status
ACK
ACK
ACK
NOTE: To send the next data, wait more than 100ms as delay time after sending the cancel request. Printer side
RD
SD
Print(1)
Online
CAN
Receiving/Analysis/
Editing(2)
Print(2)
Printer status
Receiving/Analysis/
Editing(1)
STX…ETX(1)
STX…ETX(2)
ENQ
ENQ
Status
ENQ
ACK
Status
Status
100ms
ENQ
Status
ACK
ACK
Page 30
26
3) Error handling
4) Pausing and resuming the printing process
Paper end occurred
Head open
Head close
Press FEED/LINE
Printer side
RD
SD
Print(1) Online
ENQ
Print(1) Printer status
Receiving/Analysis/
Editing(1)
STX…ETX(1)
ENQ
ENQ
Status
ENQ
Status
ENQ
ENQ
Offline
Status
Status
Status
ENQ
Status
Status
Online
ACK
*1
NOTE: (1) When the paper end has occurred, Open the print head assembly Set the label Close the print head assembly for feed operation.
(2) When the print head assembly is closed, the paper end will be released.
Printer side
RD
SD
Print(1)
Online
DC1
Printer status
Receiving/Analysis/
Editing(1)
STX…ETX(1)
ENQ
ENQ
Status
ACK
ENQ
CAN
Status
ACK
Status
DLE
Print(2)
ACK
STX…ETX(2)
Receiving/Analysis/
Editing(2)
100ms
ACK
ACK
*2 DLE is for pausing the print job.
DC1 is for resuming the print job.
*2
*2
Page 31
27
5) Information acquisition command process
Printer side
RD
SD
STX…ETX(2)
Obtaining
printer
operation
Print(1)
Online
Printer status
Receiving/Analysis/ Editing(1)
STXETX(1)
Receiving/Analysis/
Editing(2)
Print(2)
ENQ
ENQ
Status
ENQ
Status
ENQ
Status
Status
Printer operation status
NOTE: Avoid executing the command to obtain the status (e.g. printer operation status) while printing.
ACK
ACK
Page 32
28
4.6 Notes
Follow the procedures below when executing READY/BUSY flow control.
1) When the host computer sends the data for printing labels, make sure to leave the printer on.
2) Turning the printer on after requesting to print labels from the host computer may cause the lack of first print data (approximately 120 bytes). To avoid this error, it is necessary to attach dummy data of approximately 120 bytes by application software that enables the host computer to send the data for printing labels.
e.g.) When sending [STX+<A>+<V>20+<H>20+<P>2+<L>0202+<X20>,1234+<Q>2+<Z>+ETX],
transfer dummy data of approximate 120 bytes shown below.
[00H+00H+ ~ +00H+00H+00H+00H] + [STX ~ ETX]
Page 33
29
5 USB
This interface complies with the USB 2.0 standard, and the baud rate is compatible with 12.5 Mbits/second.
5.1 Basic Specifications
Interface
Connectors
Series B plug Recommended Cable length Shorter than 1.5 m
Version
USB 2.0
5.2 Connector Pin Assignments
PIN No.
Description
1
VBus
2
-Data(D-)
3
+Data(D+)
4
GND
Page 34
30
6 LAN
6.1 Basic Specifications
Interface board
(Onboard LAN)
Connectors
Cable type 10BASE-T, 100BASE-TX Cable length 100m and under
Link/Status LED
Lighting up when establishing the link to Ethernet device by auto negotiation.
LED
Color
Description
LINK
Green
Lighting when establishing the link
SPEED
Orange
Lighting when recognizing the connection to 10BASE-T Lighting when recognizing the connection to 100BASE-TX
COLLISION
Red
Lighting when collision occurs
Maintenance function
Print of LAN settings Printing out the LAN settings on a label in user test print and factory test print. Initialization of LAN setting Initializing the LAN settings by [All Clear] in factory clear mode.
(Refer to the Operation Specifications for more details.)
Communication condition setting
The following settings can be set by the commands.
Item
Command
Setting range
LAN mode
<I3>
Protocol for driver (STATUS4) cyclic response mode *1 Protocol for driver (STATUS4) ENQ response mode *1 STATUS3 *2
IP address
<W1>
0.0.0.0 ~ 255.255.255.255
Subnet mask
<W2>
0.0.0.0 ~ 255.255.255.255
Gateway address
<W3>
0.0.0.0 ~ 255.255.255.255
IP address setting
<WI>
Manual setting Use of DHCP
* 2-port connection (Port1024 and Port1025) or 1 port connection (Port9100)
is available.
* 1 port connection (Port1024 or 9100).
Page 35
31
6.2 Software Specifications
The following are the corresponding software specifications.
* Notes
- Print data can be sent by LPR, and dedicated socket protocol (STATUS3, Protocol for driver (STATUS4)).
- Printer status is obtainable by various commands in dedicated socket protocol.
6.3 TCP/IP Specifications
In TCP/IP protocol environment, LPD is provided for printing. ARP and DHCP for the setup of IP address are available.
In socket connection, print operation and status monitoring will be executed. Note that multiple sessions cannot be established at the same time.
WindowsNT, Windows2000/XP/Server2003/Vista operating systems support LPD of TCP/IP that enables you to print; however, Windows98/Me are not configured with LPD. In order to print directly, off-the-shelf printing utility is required.
6.4 LPD Specifications
LPD protocol complies with RFC1179, and handles the list of logical printer name as queue name such as lp, sjis and euc.
Queue name
Kanji filter applied
Input Kanji code
lp
Not available
N/A
sjis
Available
Shift JIS
euc
Available
EUC
When sending a job by LPR, the transmission order of data file/control file within the job will not affect print operation.
* Notes
- Job deletion by LPR is not available.
- LPD specifications is available only in protocol for driver (STATUS4).
- Executing large quantity printing by LPD may result in data loss in the Windows specifications.
Corresponding protocol
TCP/IP
Network layer
ARP, IP, ICMP
Session layer
TCP, UDP
Application layer
LPR, DHCP, HTTP
Page 36
32
6.5 Setup/Display Item
Table shown below is the list of section that can be set up and referred to, and variables.
TCP/IP-related settings
Variable name
Setting range
Default(Factory setting)
IP address
0.0.0.0 ~ 255.255.255.255
192.168.1.1
Subnet mask
0.0.0.0 ~ 255.255.255.255
255.255.255.0
Gateway address
0.0.0.0 ~ 255.255.255.255
0.0.0.0
DHCP protocol
ENABLE/DISABLE
ENABLE
Socket cancel
Normal
Normal
root password
Random alphanumeric character strings [16]*1
NULL(No password)
*1. The value inside of [ ] indicates the restriction of characters.
Page 37
33
6.6 Socket Connection
In the WS4 series, STATUS3 and protocol for driver (STATUS4) are available as dedicated protocols. The following are the specific LAN interface specifications when using these protocols. As for the common specifications for STATUS3 and protocol for driver (STATUS4), refer to [3.3 Return Status], [4.4 STATUS3] and [4.5 Protocol for Driver (STATUS4)].
6.6.1 Port Connection Method
In the WS4 series, STATUS3 and protocol for driver (STATUS4) are available as dedicated protocols. To use these protocols, there are two ways to specify the port for connection.
(1) 1 port connection
Port9100 (or 1024) is used for receiving the command and returning the status.
(2) 2-port connection
Port1024 is used for receiving the command, and Port1025 is used for returning the status.
STATUS3 supports 1 port connection only while protocol for driver (STATUS4) supports both 1 port connection and 2-port connection.
*Notes
- When Port9100 is in use, the return status will be sent to status request command (ENQ) and printer configuration request command (SOH+MG) only.
- 2-port connection and 1 port connection cannot be used at the same time.
- Each socket cannot establish multiple sessions at the same time.
- LPR can be used for sending the command other than socket connection. Socket connection cannot establish the connection to the command reception port (1024 or 9100) during LPR connection.
2) Protocol for driver (STATUS4) / 2-port connection
Command
1024
Host
Printer
Return data
3) Protocol for driver (STATUS4) / 1 port connection
Host
Printer
Command, Return data
9100
1) STATUS3 / 1 port connection
Host
Printer
Command, Return data
1024 or 9100
Printing by LPR
Command
LPR
Host
Printer
Return data
Page 38
34
6.6.2 Connection and Disconnection of Session
The following are the procedure for connection and disconnection of command reception port (Port1024), status return port (Port1025) and transmission/reception port (Port9100 or 1024).
1) 1 port connection (Command reception port / Status return port: 9100 or 1024)
Host
Printer
CONNECT (9100 or 1024)
CONNECTION Status request
(9100 or 1024)
Print data send (9100 or 1024)
Status request (9100 or 1024)
Print data send (9100 or 1024)
CLOSE (9100 or 1024)
DISCONNECTION
LISTEN ACCEPT
Printer status return (9100 or 1024)
Printing
Printer status return (9100 or 1024)
Printing
CLOSE LISTEN
Page 39
35
2) 2-port connection (Command reception port: 1024, Status return port: 1025)
Host
Printer
CONNECT (1024) (1025)
CONNECTED
Status request (1024)
Print data send (1024)
Status request (1024)
Print data send (1024)
CLOSE (1024) (1025)
DISCONNECTED
LISTEN
ACCEPT
Printer status
return (1025)
Printing
Printer status return (1025)
Printing
CLOSE LISTEN
Page 40
36
6.6.3 Status Return Method
In the WS4 series, STATUS3 and protocol for driver (STATUS4) are available as dedicated protocols. There is a following status return method when using these protocols.
ENQ response mode
When the printer received the request command (ENQ) from the host computer, the latest status is returned to the host computer.
1) STATUS3 / ENQ response mode
When the printer received the status request command (ENQ) from the host computer, the latest printer status is returned. Port9100 (or 1024) is used for receiving the command and returning the status at the time of 1 port connection.
Host
Printer
CONNECT 9100(or 1024)
CONNECTED
Status request(ENQ) 9100(or 1024)
CLOSE 9100(or 1024)
DISCONNECTED
LISTEN
ACCEPT
Latest printer status 9100(or 1024)
CLOSE LISTEN
Page 41
37
2) Protocol for driver (STATUS4) / ENQ response mode
When the printer received the status request command (ENQ) from the host computer, the latest printer status is returned. Port9100 is used for receiving the command and returning the status at the time of 1 port connection. Port 1024 is used for receiving the command, and Port1025 is used for returning the status at the time of 2-port connection.
6.7 Notes
1) When opening and closing the same port, wait for 150 to 200ms from the closing to the opening of the port to avoid establishing a double connection. Double connection means that the connection request (CONNECT) is sent to the port already connected (CONNECT (Socket OPEN)). In this case, this connection request will be rejected (Socket CLOSE).
2) Connecting and disconnecting LAN cable while the printer is on may result in communication failure. In case of communication failure, restart the printer.
Host
Printer
CONNECT 1 port connection: 9100 2-port connection: 1024, 1025
CONNECTED OK
Status request (ENQ) 1 port connection: 9100 2-port connection: 1024
CLOSE 1 port connection: 9100
2-port connection: 1024, 1025
DISCONNECTED
LISTEN
ACCEPT
Latest printer status 1 port connection: 9100 2-port connection: 1025
CLOSE LISTEN
Page 42
38
6.8 SNMP Specification (Simple Network Management Protocol)
SNMP is a function to disclose the printer information to the IP network. It is possible to monitor the printer status via network.
6.8.1 Supported MIB
The printer information is kept as a Management Information Base format called MIB. Each nodes on the tree have numbers, and SNMP manager send a node number to the printer acquire information of the node as information acquiring request. The printer returns the information of specified node number as response data. MIBs that the printer supports are as follows;
system(1) interface(2) address translation(3) ip(4) icmp(5) tcp(6) udn(7) transmisson(10) snmp(11) host(25) printerMIB(43)
Page 43
39
6.8.2 Printer Error Information
Errors happening at the printer need to be disclosed because the printer supports MIB host and printerMIB. When the printer received a request of error information acquisition from SNMP manager, the printer return the response data by replacing the printer error number to the error code defined by MIB.
6.8.2.1 Error and warning MIB correspondence table
Printer MIB
Host Resources MIB
Description
prtAlertSeverity
Level
prtAlertTraining
Level
prtAlertGroup
prtAlertCode
hrPrinterDetected
ErrorState
hrDeviceStatus
hrPrinterStatus
Online
- - - - -
running(2) / *1 warning(3)
idle(3) / *2 printing(4)
Offline
critical(3)
untrained(3)
generalPrinter(5)
subunitOffline(22)
bit #6 (offline)
down(5)
other(1)
Print pause
- - -
-
-
running(2) / *3 warning(3)/down(5)
other(1) Flash ROM error
critical(3)
fieldService(5)
other(1)
other(1)
-
down(5)
other(1)
EEPROM error
critical(3)
fieldService(5)
other(1)
other(1)
-
down(5)
other(1)
Head error
critical(3)
fieldService(5)
marker(10)
other(1)
-
down(5)
other(1)
Head open
critical(3)
untrained(3)
marker(10)
subunitOpened(18)
bit #4 (doorOpen)
down(5)
other(1)
Paper end error
critical(3)
untrained(3)
input(8)
inputMediaSupplyEmpty(808)
bit #1 (noPaper)
down(5)
other(1)
Sensor error
critical(3)
trained(4)
mediaPath(13)
jam(8)
bit #5 (jammed)
down(5)
other(1)
Cutter error
critical(3)
trained(4)
finDevice(30)
separationCutterJam(31108)
bit #5 (jammed)
down(5)
other(1)
Ribbon end
critical(3)
untrained(3)
markerSupplies(11)
markerPrintRibbonEmpty(1103)
bit #3 (noToner)
down(5)
other(1)
Flaming error
critical(3)
other(1)
channel(14)
other(1)
-
down(5)
other(1)
Low battery error
critical(3)
untrained(3)
other(1)
subunitAlmostEmpty(12)
-
down(5)
other(1)
USB error
critical(3)
other(1)
other(1)
other(1)
-
down(5)
other(1)
WLAN Module error
critical(3)
fieldService(5)
channel(14)
subunitUnrecoverableFailure(30)
-
down(5)
other(1)
Bluetooth module error
critical(3)
fieldService(5)
channel(14)
subunitUnrecoverableFailure(30)
-
down(5)
other(1)
Command error
critical(3)
other(1)
nterpreter(15)
other(1)
-
down(5)
other(1)
Print head overheat
critical(3)
other(1)
marker(10)
subnitOverTemperature(36)
-
down(5)
other(1)
*1 warning (3) is set at warning during online state. Other than that, running (2) is set. *2 printing (4) is set during printing. Other than that, idle (3) is set. *3 running (2) is set at online, warning (3) is set at warning during online state, and down (5) is set at offline.
6.8.2.2 Supplemental explanation
1) The last error has the priority when multiple error has happened.
2) If errors and warnings happened at the same time, Host Resources MIB and Printer MIB are notified as error.
3) If a multiple warning happened, printer MIB is notified multiply (prtAlert).
Page 44
40
7 Wireless LAN
7.1 Basic Specifications (Wireless LAN)
Protocol
Status 3, Status 4 Refer to 2 Communication protocol for details.
Setting of communication conditions
The following communication setting can be done in the communication setting mode of the printer.
Setting Items
Setting range
Protocol
Status 3 Return Status 4 (ENQ response mode)
IP Address
0.0.0.0 - 255.255.255.255 Default Value: 192.168.1.1
Subnet Mask
0.0.0.0 - 255.255.255.255 Default Value: 255.255.255.0
Gateway Address
0.0.0.0 - 255.255.255.255 Default Value: 0.0.0.0
IP Address Settings
DISABLE (manual setting) ENABLE (Default Value)
Communication mode
Ad Hoc mode Infrastructure mode
SSID
SSID Default: SATO_PRINTER
Channel
1 - 13 Default Value: 11
Page 45
41
Wireless LAN specification
(1) Standard
IEEE802.1b/g/n
(2) Frequency band
2.4GHz
(3) Baud rate
Max. 11Mbps (Connected by IEEE802.11b) Max. 54Mbps (Connected by IEEE802.11g)
Max. MCS7(*1) (Connected by IEEE802.11n)
(4) Wireless LAN communication mode
Infrastructure mode Ad Hoc mode *In IEEE802.11n, only Infrastructure mode is available.
(5) Channel
1 - 13 (when connected with IEEE802.11b/g/n) *AP channel will be used in the Infrastructure mode.
*A channel of the other side will be used when the other side's status is waiting for
connection in the Ad Hoc mode.
*Setting range will be different depending on the regional setting.
Region
Setting range
USA/Canada
1 - 11
Europe/Malaysia/Singapore/Korea/China
1 - 13
*Regardless of the regional setting, when the band width of the IEEE802.11n is 40MHz, the
setting range will be 3 to 11 channel.
(6) SSID
Up to 32 alphanumeric characters and symbols (from 20H to 7EH) can be set.
(7) Authentication
Open System Shared Key WPA/WPA2 IEEE802.1x (EAP-TLS, LEAP, EAP-TTLS, EAP-PEAP, EAP-FAST are selectable.
Hereafter written as "EAP".) .
(8) Encryption scheme
None WEP
TKIP
AES
Page 46
42
[Security Type]
Security
Structure
Encryption
scheme
Authentication
WEP
WEP
-
Dynamic WEP
WEP
-
WPA-PSK
TKIP
PSK
WPA-EAP
TKIP
EAP-TLS
EAP-PEAP
AP-TTLS
LEAP
EAP-FAST
WPA2-EAP
AES
EAP-TLS
EAP-PEAP
EAP-TTLS
LEAP
EAP-FAST
Page 47
43
(9) Security (combination of authentication and encryption scheme)
Ad Hoc mode
Authentication
Encryption
scheme
Open System
None
*Ad Hoc mode is not supported with IEEE802.11n. *Selection at the Shared Key will be disabled and operates with Open System.
Infrastructure mode
Authentication
Encryption
scheme
Shared Key
None
Open System
None
WEP
WPA + PSK
TKIP
WPA + EAP
TKIP
WPA2 + EAP
AES
*Note
When using this printer around medical equipments/facilities, please consult with the system administrator to confirm there is no influence to the equipments/facilities.
Page 48
44
7.2 Software Specifications
Available protocol: TCP/IP
Network layer: ARP, IP and ICMP Session layer: TCP and UDP Application layer: LPD, DHCP, HTTP
1) LPR and dedicated socket protocol of TCP/IP are available for sending print data.
2) Dedicated socket protocol is available to obtain printer status.
7.3 TCP/IP
TCP/IP protocol environment has LPD for printing. You can use DHCP for setting each address.
7.4 LPD
Protocol of LPD complies with RFC1179, and handles the list of logical printer name as a cue name.
Order of sending of data file and control file doesn’t affect print operation when sending job with LPR.
* Deleting job with LPR is not available. * LPD specification is only available in Status 4/ENQ response. * When conducting large quantity printing with LPR, some data may be skipped because of the specification of
Windows. * Banner page printing is not available. * Note that establishing multiple session at the same time is not available.
7.5 HTTP (Hyper Text Transfer Protocol)
HTTP sets setting items of LAN, wireless LAN.
7.5.1 Setting Items
Refer to "7.6.1 Setting item list".
7.5.2 Password Setting (for Web log in)
No.
Item
Contents
Attribute
Default Value
1
Log in name
(Maximum 16 characters)
R/W
"admin"
Page 49
45
7.6 Wireless LAN settings
7.6.1 Setting Item List
7.6.1.1 Setting Tool
Classificati on
Item
Setting Range
Default Values
IPv4
IP Address
000.000.000.000-255.255.255.255
192.168.1.1
Subnet Mask
000.000.000.000-255.255.255.255
255.255.255.0
Gateway
000.000.000.000-255.255.255.255
0.0.0.0
Current
IPv4
Current IP Address
-
-
Current Subnet Mask
-
-
Current Gateway
-
-
Informatio
n
RSSI
-
-
Protocol
Network Type
Adhoc/Infra
Infra
Channel
1-13
11
SSID
1-32 characters Usable Character Range (ASCII): 30-39H, 2DH, 41-5AH, 5FH, 61 -7AH
SATO_PRINTER Socket Port Number
0 or 1024-65534
9100
Current
Protocol
Current Channel
1-13 - Current SSID
1-32 characters
-
Initializatio
n
Module Restore Default
When you click the check box, the all settings will be default value.
-
Server
DHCP
Disable/Enable/Auto
AUTO
Host Name
1-32 characters Usable Character Range (ASCII): 20-7EH except 22H
MAC address xx-xx-xx-xx-xx-xx
Authentica
tion
Network Authentication
Open/WPA-Personal/WPA2-Personal/802.1X/WPA­Enterprise/WPA2-Enterprise
Open
WEP
WEP
ON/OFF
OFF
WEP Key Index
1/2/3/4
1
WEP Input Type
ASCII/HEX
ASCII
Page 50
46
Classific ation
Item
Setting Range
Default Values
WEP
WEP Key1
ASCII 13 characters / Hex 26 characters Usable Character Range (ASCII): 20-7EH Usable Character Range (HEX): 20-FFH
NULL
WEP Key2
WEP Key3
WEP Key4
WPA
WPA Encryption
AUTO/TKIP/AES * When TKIP is selected, the module will work with Legacy (11g) * When Auto mode is selected, the device linked with TKIP uses Legacy and the device linked with AES uses 11n.
WPA: AUTO/TKIP WPA2: AES
WPA Pre­shared Key
8-63 characters
00000000
EAP
EAP Method
LEAP/EAP-TLS/EAP-TTLS/PEAP/EAP-FAST *When EAP-TLS is set, client certification needs to be updated by web browser.
EAP-TTLS
EAP User Name
1-63 characters Usable Character Range (ASCII): 20~7EH
anonymous
EAP Password
1-32 characters Usable Character Range (ASCII): 20~7EH * If all characters are *, that cannot be set.
anonymous
Page 51
47
7.6.1.2 Web Confgiguration
Classification 1
Classification 2
Setting Items
Setting Range
Default Values
System
TCP/IP Information
IP Address
-
Subnet Mask
-
Default Gateway
-
DHCP Server
-
Wireless LAN Information
Current SSID
- - Current SSID
-
General
General Setting
System Name
ASCII 32 characters Usable Character Range (ASCII): 20-7EH If a space is input as first characeter, that is not guranteed.
MAC address xx-xx-xx-xx-xx-xx
System Description
ASCII 64 characeters Usable Character Range (ASCII): 20-7EH If a space is input as first characeter, that is not guranteed.
Wireless LAN
System Contact
ASCII 63 Characters Usable Character Range (ASCII): 20-7EH If a space is input as first characeter, that is not guranteed.
" " (NULL character)
System Location
ASCII 63 Characters Usable Character Range (ASCII): 20-7EH If a space is input as first characeter, that is not guranteed.
" " (NULL character)
SNMP Get Community Name
ASCII 16 characters Usable Input Range ASCII): 30- 39H, 41-5AH, 61 -7AH
" " (NULL character)
SNMP Set Community Name
ASCII 16 characters Usable Input Range ASCII):
30-39H, 41-5AH, 61 -7AH
" " (NULL character)
TCP/IP
TCP/IP Configuration
DHCP
AUTO/DHCP/STATIC
AUTO IP Address
000.000.000.000-255.255.255.255
192.168.1.1
Subnet Mask
000.000.000.000-255.255.255.255
255.255.255.0
Default Gateway
000.000.000.000-255.255.255.255
0.0.0.0
DNS Server (Primary)
000.000.000.000-255.255.255.255
0.0.0.0
DNS Server (Secondary)
000.000.000.000-255.255.255.255
0.0.0.0
Page 52
48
Classification 1
Classification 2
Setting Items
Setting Range
Default Values
TCP/IP
IP Protocol Configuration
TCP/IP
ON/OFF
ON
Telnet(23)
ON/OFF
ON
HTTP(80)
ON/OFF
ON
TFTP(69)
ON/OFF
ON
SNMP(161)
ON/OFF
ON
NTP(123)
ON/OFF
ON
TCP Port(9100)
ON/OFF
ON
DHCP Server Configuration
DHCP Server
ON/OFF
OFF
Start IP Address
000.000.000.000-255.255.255.255
0.0.0.0
End IP Address
000.000.000.000-255.255.255.255
0.0.0.0
Subnet Mask
000.000.000.000-255.255.255.255
0.0.0.0
Default Gateway
000.000.000.000-255.255.255.255
0.0.0.0
Lease Time
0 day 0 hour 0 minute-99 days 23 hour 59 minutes
10 days 0 hour 0 minute
Wireless LAN
Wireless LAN Basic Configuration
Operating Mode
Adhoc/Infra/AccessPoint
Infra
SSID
1-32 characters Usable Character Range
ASCII): 30-39H, 2DH, 41-5AH, 5FH, 61 -7AH
SATO_PRINTER
Channel
1-13
11
Network Authentication
Open WPA-Personal WPA2-Personal
802.1X WPA-Enterprise WPA2-Enterprise
Open
WEP Configuration
WEP
ON/OFF
OFF
Key Index
1/2/3/4
1
WEP Key1
HEX 26 characters Usable Character Range HEX: 20-FFH
" " (NULL character)
WEP Key2
WEP Key3
WEP Key4
Page 53
49
Classification 1
Classification 2
Setting Items
Setting Range
Default Values
Wireless LAN
WPA/WPA2 Configuration
Encription Mode
AUTO/TKIP/AES
WPA: AUTO/TKIP WPA2: AES
Pre-Shared Key
ASCHII 8-63 characters or HEX 64 characters Usable Character Range
ASCII/HEX): 30-39H, 41-5AH, 61 -7AH
00000000
IEEE802.1X Configuration
EAP Authentication Mode
LEAP EAP-TLS EAP-TTLS PEAP EAP-FAST
EAP-TTLS
EAP User Name
1-63 characters Usable Character Range
ASCII): 207EH
anonymous
EAP Password
ASCII 1-32 characters Usable Character Range
ASCII):20~7EH * If all characters are *, that cannot
be set.
anonymous
CA Certificate (Optional)
Current Setting
Certificate File
X509 file encoded by PEM format
" " (NULL character)
Client Certificate
Current Setting
Certificate File
X509 file encoded by PEM format
" " (NULL character)
Client Certificate Secret Key File
Current Setting
Certificate File
RSA or PKCS8 encoded by PEM format
" " (NULL character)
Password
8-63 alphanumeric characters
Smart Wireless Setup
Smart Wireless Setup
PIN Code
Smart Wireless Setup Execute
Push Button
PIN Code
Password
Password Configuration
New Password
0-16 characters
access
IP Filter
Add New Range
Starting Address
IP Address
0.0.0.0 Ending Address
Manage Configure Ranges
Restart
- - -
Firmware Update
Reference
Update
Logout
Page 54
50
*Note
1) Smart Wireless LAN Setup
-Smart Wireless Setup function easily set wireless settings with WPS (Wi-Fi Protected Setup). The smart wireless setup corresponds to WPS 2.0.
-Each wireless mode can support following functions.
Station (Ad-Hoc/Infrastructure): Enrollee function Access Point: AP/Register function
(1) Supported Authentication
Smart wireless setup function supports a certain combination of authentication/encryption. Please refer to
the list below. After the communication with smart wireless setup succeeds, the printer works with the setting set by smart wireless setup and the settings are kept after the printer reboot. When SSID / Authentication / Encryption / Pre-Shared Key is manually changed, the settings by smart wireless setup are released and the manual settings are applied.
Authentication
Encryption
Manual Setting
Smart Wireless Setup
Open None
WEP(128bit)
×
WPA-Personal TKIP
AES
×
AUTO
WPA2-Personal TKIP
×
AES
AUTO
×
802.1x
WEP(128bit)
×
WPA-Enterprise TKIP
×
AES
×
×
AUTO
×
WPA2-Enterprise TKIP
×
×
AES
×
AUTO
×
×
(2) PIN Code Method / Push Button Method
Enrollee function can be used on smart wireless setup. The printer will connect to the access points by the
enrollee function.
PIN Code Method: When PIN Code is generated by the Generate PIN button, wireless connection is set.
Time out period is 120 seconds.
Push Button Method: Wireless connection is set by the Execute button in the web page after WPS button
on AP is executed. Timeout period is 120 seconds.
2) Internal Authentication Protocol
Authentication Protocols for Authentication Modes are as follows.
EAP Authentication Mode
Authentication Protocol
LEAP
Challenge Response Authentication by MD5
EAP-TLS
Server Authentication by LS Certification and Client Authentication
EAP-TTLS
MS CHAPv2 Fixed
PEAP
MS CHAPv2 Fixed
EAP-FAST
PAC Common Key
Page 55
51
7.6.1.3 Combination of Wireless Setting and Necessary Items
WLAN Basic Configuration
WEP Configuration
WPA/WPA2
Configuration
802.1X Configuration
Certificate File Configuration
(*1)
Operating Mode
SSID
Channel
Network
Authentication
WEP
Key Index
WEP Key1
WEP Key2
WEP Key3
WEP Key4
Encryption
Mode
Pre-
Shared
Key
EAP
Authentication
Mode
EAP User
Name
EAP
Password
Inner
Authentication
CA
Certificate
Client
Certificate
Client
Certificate
Secret
Key file
Adhoc
Enable
111(US) 113(EU)
Open
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Infra.
Enable
Disable
Open
OFF
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
ON
14
Enable
Enable
Enable
Enable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Enable
Disable
WPA-Personal
Disable
Disable
Disable
Disable
Disable
Disable
TKIP/AUTO
Enable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Enable
Disable
WPA2­Personal
Disable
Disable
Disable
Disable
Disable
Disable
AES
Enable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Enable
Disable
802.1X
ON
14
Enable
Enable
Enable
Enable
Disable
Disable
LEAP
Enable
Enable
Disable
Disable
Disable
Disable
EAP-TLS
Enable
Disable
Disable
Enable
Enable
Enable
EAP-TTLS
Enable
Enable
PAP/MSCHAPv2
Enable
Disable
Disable
PEAP
Enable
Enable
Disable
Enable
Disable
Disable
EAP-FAST
Enable
Enable
Disable
Enable
Disable
Disable
Enable
Disable
WPA­Enterprise
Disable
Disable
Disable
Disable
Disable
Disable
TKIP/AUTO
Disable
LEAP
Enable
Enable
Disable
Disable
Disable
Disable
EAP-TLS
Enable
Disable
Disable
Enable
Enable
Enable
EAP-TTLS
Enable
Enable
PAP/MSCHAPv2
Enable
Disable
Disable
PEAP
Enable
Enable
Disable
Enable
Disable
Disable
EAP-FAST
Enable
Enable
Disable
Enable
Disable
Disable
Enable
Disable
WPA2­Enterprise
Disable
Disable
Disable
Disable
Disable
Disable
AES
Disable
LEAP
Enable
Enable
Disable
Disable
Disable
Disable
EAP-TLS
Enable
Disable
Disable
Enable
Enable
Enable
EAP-TTLS
Enable
Enable
PAP/MSCHAPv2
Enable
Disable
Disable
PEAP
Enable
Enable
Disable
Enable
Disable
Disable
EAP-FAST
Enable
Enable
Disable
Enable
Disable
Disable
*1 Certificate File Configuration can be set by Web Configuration.
Page 56
52
7.6.2 802.1x Authentication and Certification
Depending on the format, certification is necessary or not necessary in 802.1x authentication. When the certification is necessary, it needs to be imported from the WEB setting screen. Type of certification and secret key, necessity of certification, ID, and password are explained below.
- Items need to be imported from the WEB setting screen
No.
Imported item
Description
1
Route certification
File: select files of route certification
2
Client certification
Password: input the secret password for the client certificate File: files of client certification
3
Secret key
Password: input password for the secret key File: select secret files
- Necessity of ID/password and each certification in the 802.1x authentication.
EAP format
Necessity (○:necessary, ×: not necessary, △: others)
User name
Password
Certification
Password
Route
certification
Client
certification
Secret key
EAP-TLS
○ × ○ ○ ○
EAP-PEAP
○ × ○
×
×
EAP-LEAP
× × ×
×
EAP-TTLS
○ × ○
×
×
EAP-FAST
○ × ○
×
×
Page 57
53
7.7Socket Communication
2 types of connection can be used in the socket server function of TCP/IP; 2 port connection that uses Port 1024 for receiving print data and Port 1025 for printer status return, and 1 port connection that uses Port 9100 for print data receiving and printer status return. When using Port 9100, the printer returns only status return data and the printer operation setting request data . Using both 2 port connection and 1 port connection at the same time is not available. Each socket cannot connect to multiple sessions at the same time. LPR is available for sending print data in addition to socket. During connecting LPR, connecting to print data port (Port 1024 or Port 9100) with socket communication is not available. 2 ports connection with Port 1025 and Port 9100 is not available. Please use them as 1 port connection.
1) Printing with 2 ports connection/Socket (Status 4)
Host
Printer
Print data Port 1024
Return data Port 1025
2) Printing with 1 port connection/Socket (Status 4)
Host
Printer
Print data, return data
Port 9100
3) Printing with 1 port connection/Socket (Status 3 return)
Host
Printer
Print data, return data
Port 1024 or Port 9100
4) Printing with LPR
Print Data LPR
Return data
Port1025
Host
Printer
Page 58
54
7.7.1 Port Number
(1) Overlapping of the port number with the printer server function
It is possible to change the port number of the Port 1024/Port 1025/Port 9100 in the range of “00001 – 65535 from the LCD, however, the following will happen when the port number is overlapped with the port number used for printer server function (HTTP/LPD).
No.
Server function
Port number
Note
1
HTTP
80
Can not be used as the print port
2
LPD
515
Can not be used as the print port
Over 1024 is recommended for the port number.
(2) Socket error occurring
The port for Socket connection will be selected from the port numbers specified at Port 1024/Port 1025/Port 9100depending on the communication protocol (see “6.12 Socket communication). If an error occurs during the socket creation process, the socket communication cannot be used.
<Status 3>
No.
Port 1024
Port 1025
Port 9100
Available port
1 × ○
Port 9100 2 ○ × ○
Port 1024, Port 9100
3 ○ ○
×
Port 1024
4 × ○
×
None 5 ○ × ×
Port 1024
6 × ×
Port 9100 7 ○ ○ ○
Port 1024, Port 9100
[: Success, ×: Error]
* Port 1025 is not used. Even if port 1025 has an error, it doesnt affect other valid port.
<Status 4>
No.
Port 1024
Port 1025
Port 9100
Available port
1 × ○
Port 9100
2 ○ ×
Port 9100 3 ○ ○ ×
Port 1024, Port 1025
4 × ○
×
None 5 ○ × ×
None 6 × × ○
Port 9100 7 ○ ○ ○
Port 1024, Port 1025, Port 9100
[: Success, ×: Error]
* Port 1024 and port 1025 are used in pair. If either of port has an error, you cannot use both
ports.
Page 59
55
7.8 Connection and Disconnection of Session
The socket server function connects and disconnects the print data port (Port 1024), the status reply port (Port 1025) and the sending and receiving port (Port 9100 or Port 1024) in the following manner.
1) print data port (Port 1024), status return port (Port 1025)
Host
Printer
Print data (Port1024)
CONNECT
(Port1024Port1025)
ACCEPT
LISTEN
CLOSE
LISTEN
Print data (Port1024)
Print
Print
Status request
(Port1024)
CLOSE
(Port1024Port1025)
CONNECT END
Printer status Port1025
CONNECT success
Page 60
56
2send/receive port (Port9100 or Port1024)
Host
Printer
connect
CONNECT
(Port1024 or Port9100)
ACCEPT
LISTEN
CLOSE
LISTEN
Print
Status request
(Port1024 or Port9100)
CLOSE
(Port1024 or Port9100)
CONNECT END
Printer status Port1024 or Port9100
Print data
(Port1024 or Port9100)
CONNECT success
Page 61
57
7.9 Printer status
1) Status mode There are 3 modes of status return when using LAN interface.
(1) Status 4/ENQ response mode (2 port connection or 1 port connection)
The printer uses port 1024 for print data port, port 1025 for status return, and port 9100 for both print data port and
status return.
The printer returns the printer status by receiving the status request command sent from the host.
(2) Status 3, Status 5/ENQ response mode (1 port connection)
The printer uses port 1024 for print data port and status return, or uses port 9100 for both print data port and
status return.
The printer returns ACK by receiving the print request command sent from the host, and returns the printer status by receiving the status request command sent from the host.
Printer driver cannot be used for label printing while using Status 3. Also, the printer setting tool cannot be used.
The switching status mode is available by changing the setting of the communication protocol and the printer status reply timing in the interface mode of the printer. Type of status mode and the setting items in the interface setting mode is as follows.
Type of status mode
Setting items in the interface setting mode
Communication Protocol
(PROTOCOL)
Printer status reply timing
(REPLY TIMING)
1 port or 2 port connection
ENQ response mode
Status 4 (STATUS4)
ENQ
1 port connection
ENQ response mode
Status 3 (STATUS3)
-
2) Status return data format (1) 2 port connection (Status 4 return)
Please refer to the "2.2.3 Return status of Status 4" for the status contents.
(2) 1 port connection (Status 5 return)
STX
1 byte
02H
Specified item No.
5 bytes
Specified item
Status
2 bytes
Currently processed
item
5 bytes
Currently processed
item Status 2 bytes
Currently processed
item Number of
print
6 bytes
ETX
03H
1 byte
Please refer to the "2.2.4 Return status of Status 5" for the status contents.
(3) 1 port connection (Status 3 return)
Please refer to the "2.2.2 Return status of Status 3" for the status contents.
(Total: 11 bytes)
STX
1 byte
02H
ID
numb
Status
1 byte
Remaining
print
ETX
1 byte
03H
Number of send
bytes
ENQ
1 byte
05H
STX
1 bytes
02H
ID
numbe
Status
1 byte
Remaining
print
JOB
name
ETX
1 byte
03H
(Total: 32 bytes)
(Total: 22 bytes)
Page 62
58
3) Sequence
(1) Status 4/ENQ response mode (2 ports connection or 1 port connection)
After receiving a status request command (ENQ: 05H) from the host, the printer returns the latest printer status.
LISTEN CONNECT (Port1024, Port1025, ACCEPT or Port9100) CONNECT SUCCESS Connection
Status request (Port1024, Port9100) The latest printer status
(ENQ "05H") Printer status
(Port1025Port9100)
CLOSE (Port1024, Port1025 , CLOSE
or Port9100) CONNECT END LISTEN
Host
Printer
Page 63
59
(2) Status 3 response mode (1 port connection)
The printer returns ACK by receiving the print request command sent from the host, and returns the printer status by receiving the status request command (ENQ:05H)
LISTEN
CONNECT
(Port1024 or Port9100) ACCEPT CONNECT SUCCESS Connection
Status request (Port 1024 or Port 9100) The latest printer status (ENQ "05H") Printer status (Port 1024 or Port 9100) CLOSE (Port1024 or Port9100) CLOSE CONNECT END
LISTEN
Host
Printer
Page 64
60
7.10 Setting of IP Address
There are several ways to set the IP address such as obtaining from DHCP server, SBPL command or network setting tool. The printer acquires an IP address as shown in following flow below according to the acquisition method set in the printer at power on. * Obtaining IP address via "ARP-s" and ping is not available.
Printer power up
DHCP ENABLE?
DHCP process
DHCP success
The printer operates with the IP address, netmask, and gateway acquired by DHCP.
The printer operates with the IP address, netmask and gateway set at the printer.
Finish
YES
YES
NO
NO
Page 65
61
7.11 Note
7.11.1 Common to LAN/Wireless LAN interface
1) When opening or closing the print data port (Port 1024) or the status port (Port 1025) or the sending and receiving port (Port 9100), 150 msec to 200 msec interval is necessary between closing the port and opening the port again. If the time interval after closing the port is too short, it may cause double connection. Double connection means that the connection request "CONNECT" is sent to the port (Port 1024, Port 1025 or Port 9100) already connected (CONNECT (Socket OPEN)). In this case, this connection request will be rejected "Socket CLOSE". When receiving request of double connection, the printer responds to the request for disconnection (Socket CLOSE).
7.11.2 Wireless LAN Interface
1) Communication distance and transmission speed between the host and the printer(wireless LAN board) varies
depending on the wireless LAN operation at the used environment.
2) It is recommended to use the printer while the field intensity is more than "Middle" when using with the
Infrastructure mode.
3) Communication data may be lost when wireless LAN environment is not adequate due to mobile use of the
printer or ambient conditions.
4) Please set the frequency of channels in each group are different for more than "5 channels" when multiple
wireless LAN network groups are neighboring.
Example) When the channel of the group 1 is "1", set the channel of the group 2 for "6" or later.
7.11.3 LAN Interface
1) Connecting and disconnecting LAN cable while the printer is connecting to the PC may result in communication
failure. Please avoid connecting or disconnecting the cable while the printer is ON. In case of communication failure, restart the printer.
Page 66
62
8 Bluetooth
Bluetooth interface of the printer complies with Bluetooth Ver.2.0 standard.
8.1 Basic Specifications
Item
Description
Standards
Bluetooth Ver. 2.1+EDR Power Class 2
Communication distance
5m (at the standard measurement environment)
Used profile
Serial Port Profile(SPP) *1
Operation mode
Slave mode
Service function (Enabled when connected to
Bluetooth interface)
Bluetooth setting information print
Prints the Bluetooth setting information on the test printing.
Bluetooth setting information default
The Bluetooth setting information is defaulted by setting tool
PIN code
1 to 16 ASCII code specification (20H, 21H, 23H - 7EH) Default Value: 0000
Power Save Mode
sniff
Code
ASCII (7 Bits), Graphic (8 Bits)
SR mode value
R1
Pairing
Save the link key for 1 devices
Supervision timeout
Default = 20 seconds (configurable at the host)
*1 A method that connects 2 Bluetooth supported devices by establishing virtual serial port is defined.
[Supplemental explanation]
(1) The printer operates with the slave mode. Connect the printer by specifying printer's Bluetooth Device Address (BD
address) from the master.
(2) Connection may be failed when the PIN code of the master is different from the above settings. When the
connection is failed, check PIN code by test print, match the setting of the master and reconnect. (3) When the link with Bluetooth is lost (out of area), disconnected from the printer after the supervision timeout time. (4) The printer will be buffer over when the receive buffer is full. Please send print data while checking the receive buffer
status by sending ENQ.
8.2 Bluetooth Settings
The followings are Bluetooth setting items. These are configurable by the commands. Refer to the "Command
Specification" for more details. (1) PIN code (alphanumeric characters and symbols (20H, 21H, 23H-7EH) 1-16 digits)
PIN code (Personal Identification Number, pass key)is an authentication password in 1-16 digits used for printer identification. Link key will be generated automatically after PIN code authentication and pairing start in the printer. Once the link key is generated, there is no need for PIN code authentication. The printer can be connected without checking the PIN code during the pairing.
(2) Device name (alphanumeric characters and symbols (20H, 21H, 23H-7EH) 1-16 digits)
By setting device name, the name can be displayed at the connected device and the printer can be identified.
Note) Only the first start-up after setting this command will process the new settings for Wireless LAN
interface. Do not power off the printer when the printer is rebooted until the printer starts up normally.
Page 67
63
8.3 Transmission Sequence
8.3.1 Normal End
8.3.1.1 Status 4
Receive/Analysis/Edit
Receive/Analysis/Edit Print operation
Print the 1st label
Print the 2nd label Print the 3rd label
Paper end error
Print the 3rd label
Error release (press the LINE key)
Print the 100th label
Print the 1st label
~
~
~
Connected (CONNECT)
Disconnected (DISCONNECT)
ENQ
(Status request command)
ACK
(Printer status: no error)
ENQ
(Status request command)
ENQ
(Status request command)
ACK
(Printer status: no error)
ENQ
(Status request command)
ENQ
(Status request command)
ENQ
(Status request command)
ENQ
(Status request command)
ID number = [05] Print number = 100 Job name = [SATO]
ID number = [06] Print number = 50 Job name = [SATO]
Status
ID Number = [Space] Status = "Waiting for receive" Remaining print number = [000000] Job name = [Space]
Status
ID number = [05] Status = "Editing" Remaining print number = [000000] Job name = [SATO]
Status
ID number = [05] Status = "Printing" Remaining print number = [000100] Job name = [SATO]
Status
ID number = [05] Status = Paper end Remaining print number = [000098] Job name = [SATO]
Status
ID number = [05] Status = "Printing" Remaining print number = [000098] Job name = [SATO]
Status
ID number = [05] Status = "Printing" Remaining print number = [000001] Job name = [SATO]
ID number = [06] Status = "Printing" Remaining print number = [000050] Job name = [SATO]
Page 68
64
8.3.1.2 Status 3
ACK
(Printer status: no error)
Host
ENQ
(Status request command)
Status
ID number = [05] Status = "Printing" Remaining print number = [000001]
Receive/Analysis/Edit Print the 1st label
Print the 2nd label
Print the 3rd label
Receive/Analysis/Edit Paper end error
Print the 3rd label
Error release (press the LINE key)
Print the 100th label
Print the 1st label
Connected (CONNECT)
Disconnected (DISCONNECT)
~
~
~
ID number = [06] Print number = 50
Print command (STX-ETX )
ID number = [05] Print number = 100
Print command (STX-ETX )
Status
ID number = [06] Status = "Printing" Remaining print number = [000050]
Status
ID number = [05] Status = "Printing" Remaining print number = [000098]
Status
ID number = [05] Status = Paper end Remaining print number = [000098]
Status
ID number = [05] Status = "Printing" Remaining print number = [000100]
Status
ID number = [05] Status = "Editing" Remaining print number = [000000]
Status
ID Number = [Space] Status = "Waiting for receive" Remaining print number = [000000]
ENQ
(Status request command)
ENQ
(Status request command)
ENQ
(Status request command)
ENQ
(Status request command)
ACK
(Printer status: no error)
ENQ
(Status request command)
ENQ
(Status request command)
Page 69
65
8.3.2 Disconnection during Print Data Sending
8.3.2.1 Common to Status 3 and 4
8.3.3 Disconnection during Status Sending after Print Data Reception
8.3.3.1 Common to status 3 and 4
ID number = [12] Print number = 50 Job name = [SATO]
Connected (CONNECT)
Print command (STX-ETX)
[Note]
1. The print data may be lost when Bluetooth communication is disconnected during the print data sending. Please resend the data after printer power off and on.
Disconnected or communication failure
ID number = [12] Print number = 50 Job name = [SATO]
Connected (CONNECT)
Print operation
[Note]
1. When there is no ACK returned, stop the transmission as it appears that some sort of communication interference is occurring.
2. ACK return may be lost when Bluetooth is disconnected before the printer returning ACK.
ACK
Disconnected or communication
[Note]
1. The print data may be lost when Bluetooth communication is disconnected during the print data sending.
Please resend the data after printer power off and on or resend the data after the print data is canceled.
Page 70
66
8.3.4 State transition diagram matrix (at host)
8.3.4.1 Status 3
Event
Status
A Connect response (CONNECT)
B Disconnect response (DISCONNECT)
c Print request
D Return status receive
E ACK/NAK receive
F Timeout
G Send connect request (CONNECT)
H Send disconnect request (DISCONNECT)
(1)
Neutral - - - - - -
(1) Timer register (2) Connect request
(CONNECT)
-> (2)
-
(2)
Waiting for connection
Connection complete
-> (3)
Disconnected
-> (1)
- - -
Abnormal end
-> (1)
-
Disconnected (DISCONNECT)
-> (1)
(3)
Connecting
-
Disconnected
-> (1)
(1) Timer registration (2) Status request
command send
-> (4)
- - Disconnected (DISCONNECT)
-> (1)
-
Disconnected (DISCONNECT)
-> (1)
(4)
Return status Waiting for response
-
Disconnected
-> (1)
-
(1) Timer release/Timer
reregistration (2) Normal printer status Send the print data
-> (5)
(3) Normal printer status
-> (3)
-
(1) When not up to retry
times
Send status request command
-> (4)
(2) Retried until the retry
times
-
-> (1)
-
Disconnected (DISCONNECT)
-> (1)
(5)
Waiting for ACK response
-
Disconnected
-> (1)
- ACK/NAK receive Timer release
-> (3)
Disconnected (DISCONNECT)
-> (1)
-
Disconnected (DISCONNECT)
-> (1)
[Note]
1. The same timer is used for waiting for connection, waiting for status return, and waiting for ACK response to be able to simplify the above matrix.
2. The printer cannot disconnect (send DISCONNECT) at the power off. Please set up time out process at the host.
3. Make sure to check the printer status by sending status request command (ENQ) before sending any print data because the printer cannot print during printer error.
4. When (5) Time out for ACK response occurred, assuming that the LINK has been disconnected, power off and on the printer and reconnect.
Page 71
67
8.3.4.2 Status 4
Event
Status
A Connect response (CONNECT)
B Disconnect response (DISCONNECT)
c Print request
D Return status receive
E ACK/NAK receive
F Timeout
G Send connect request (CONNECT)
H Send disconnect request (DISCONNECT)
(1)
Neutral - - - - - -
(1) Timer registration (2) Connect request
(CONNECT)
-> (2)
-
(2)
Waiting for connection
Connection complete
-> (3)
Disconnected
-> (1)
- - -
Abnormal end
-> (1)
-
Disconnected (DISCONNECT)
-> (1)
(3)
Connecting
-
Disconnected
-> (1)
(1) Timer registration (2) Status request command send
-> (4)
- - Disconnected (DISCONNECT)
-> (1)
-
Disconnected (DISCONNECT)
-> (1)
(4)
Return status Waiting for response
-
Disconnected
-> (1)
-
(1) Timer release/Timer reregistration (2) Normal printer status
Send the print data
-> (5)
(3) Normal printer status
-> (3)
-
(1) When not up to retry
times
Send status request command
-> (4)
(2) Retried until the retry
times
-> (1)
-
Disconnected (DISCONNECT)
-> (1)
(5)
Waiting for ACK response
-
Disconnected
-> (1)
- ACK/NAK receive Timer release
-> (3)
Disconnected (DISCONNECT)
-> (1)
-
Disconnected (DISCONNECT)
-> (1)
[Note]
1. The same timer is used for waiting for connection, and waiting for status return, to be able to simplify the above matrix.
2. The printer cannot disconnect (send DISCONNECT) at the power off. Please set up time out process at the host.
3. Make sure to check the printer status by sending status request command (ENQ) before sending any print data because the printer cannot print during printer error.
4. When (5) Time out for ACK response occurred, assuming that the LINK has been disconnected, power off and on the printer and reconnect.
Page 72
68
8.3.4.3 State transition diagram matrix (at printer)
Event
Status
A Connect request (CONNECT)
B Disconnect request (DISCONNECT)
C Print Data receiving
D Print complete
E Error F Error release
G Power off
(1)
Waiting for connect request
Receive connect request (CONNECT)
-> (2)
Ignore
Ignore - Ignore - Power off
(2)
Connecting
Ignore
Disconnect process (DISCONNECT)
Normal data receive ACK/NAK send
-> (3)
Abnormal data receive
-> (2) Communication time out Clear the received data *1
-> (2)
Ignore
-> (4)
-
Power off
(3)
Printing
Ignore
Disconnect process (DISCONNECT)
Ignore
-> (2) -> (4)
-
Power off
(4)
Error
Ignore
Disconnect process (DISCONNECT)
Ignore
Ignore
Ignore
Other than printing
-> (2)
Printing
-> (3)
Power off
[Note]
1. When the link with Bluetooth is lost (out of area), disconnect from the printer after the supervision timeout time. When the link between the host is lost, the printer request disconnection (DISCONNECT) after the supervision timeout time (default=20 sec (changeable from the host))
has passed.
2. It takes about 5 sec from the printer power on, installed Bluetooth module starting up to be the status of (1). Before the status of (1), it may not be connected.
3. Make sure to check the printer status by sending status request command (ENQ) before sending any print data because the printer cannot print during printer error.
Loading...