Manual JavaPOS POSPrinter English V4.10
Manual JavaPOS POSPrinter English V4.10
http://www.bixolon.com
Java POS Driver
Table of Contents
Copyright ............................................................................................................................ 3
4. Error Information........................................................................................................ 18
4-1 Result Code List ...........................................................................................................18
4-1-1 Claim method ........................................................................................................18
4-1-2 Check Health method ...........................................................................................18
4-1-3 Clear Output method ...........................................................................................18
4-1-4 Direct IO method ..................................................................................................19
4-1-5 Print Normal method ...........................................................................................19
4-1-6 Print Immediate method .....................................................................................20
4-1-7 Cut Paper method ................................................................................................20
4-1-8 Rotate Print method .............................................................................................21
4-1-9 Print Bitmap method ............................................................................................21
4-1-10 Set Bitmap method .............................................................................................22
4-1-11 Set Logo method ................................................................................................22
4-1-12 Transaction Print method ..................................................................................22
5. Precautions .................................................................................................................. 23
Ver. 4.10 - 2 -
Java POS Driver
Copyright
© BIXOLON Co., Ltd. All rights reserved.
This user manual and all property of the product are protected under copyright law.
It is strictly prohibited to copy, store, and transmit the whole or any part of the manual
and any property of the product without the prior written approval of BIXOLON Co.,
Ltd.
The information contained herein is designed only for use with this BIXOLON product.
BIXOLON is not responsible for any direct or indirect damages, arising from or
related to use of this information.
BIXOLON Co., Ltd. maintains ongoing efforts to enhance and upgrade the functions
and quality of all our products.
In the following, product specifications and/or user manual content may be changed
without prior notice.
Caution
Some semiconductor devices are easily damaged by static electricity. You should turn
the printer “OFF”, before you connect or remove the cables on the rear side, in order
to guard the printer against the static electricity. If the printer is damaged by the static
electricity, you should turn the printer “OFF”.
Ver. 4.10 - 3 -
Java POS Driver
Introduction
This manual provides information on the BIXOLON Java POS driver as well as on the
usage POS printer products offered by BIXOLON.
[Reference Websites]
http://www.javapos.com: Java POS committee website
http://java.com: Official Java website
http://www.bixolon.com: BIXOLON printers website
Ver. 4.10 - 4 -
Java POS Driver
1. Development environment
1-1 Communication Configuration
• Communication Configuration for serial interface
You will set communication configuration in JCL Utility.
9600/19200/38400/57600/ Mono
G30 203dpi
115200 Thermal
Ver. 4.10 - 5 -
Java POS Driver
• Check the default communication setting.
For more details refer to the user manual included in the printer
package.
• A printer which does not support Serial Interface is not indicated.
Ver. 4.10 - 6 -
Java POS Driver
2. Property / Method
2-1 Printer Type
• Property value will be determined by the printer type, as shown in the below table.
(Some property values related to Receipt may be different depending on printer
model.)
Ver. 4.10 - 7 -
Java POS Driver
2-2 Property Range / Default Value
Ver. 4.10 - 8 -
Java POS Driver
2-2-2 Property default value / Range
1) List Property
Rec BarCode Font Type Rec
Model Rec Line Chars List
Rotation List face List Bitmap List
STP-103III “24,32” “” “” 0, L90, R90, 180
SRP-275 / SRP-275II
“33,40” “” “” 0, L90, R90, 180
SRP-275III
SRP-330
SRP-330II / SRP-340II
SRP-330III
SRP-350 / SRP-350plus
SRP-350II / SRP-350plusII
SRP-350III
“42,56” “” “” 0, L90, R90, 180
SRP-350plusIII /
SRP-350V / SRP-350plusV
SRP-380 / SRP-380II
SRP-F310 / SRP-F310II
SRP-Q300 / SRP-QE300
SRP-E300
SRP-332II / SRP-342II
SRP-332III
SRP-352III / SRP-352plus
SRP-352plusII
SRP-352plusIII
SRP-352V / SRP-352plusV
“48,64” “” “” 0, L90, R90, 180
SRP-382 / SRP-S300
SRP-F312 / SRP-F312II
SRP-Q302 / SRP-QE302
SRP-E302 / SRP-B300
SRP-S320 / SRP-S3000
SRP-382II
SRP-B300(42CPL) “42,60” “” “” 0, L90, R90, 180
SRP-383 “48,72” “” “” 0, L90, R90, 180
SRP-F313II “53,71” “” “” 0, L90, R90, 180
SRP-Q200 / SRP-S200 “36,48” “” “” 0, L90, R90,1 80
SPP-R200 / SPP-R200II
SPP-R200III
“32,42” “” “” 0, L90, R90, 180
SPP-R210 / SPP-R220
SPP-C200
SPP-R300 / SPP-R310
“48,64” “” “” 0, L90, R90, 180
SPP-C300
SPP-R400 / SPP-R410 “69,92” “” “” 0, L90, R90, 180
G30 “48,64” “” “” 0, L90, R90, 180
Ver. 4.10 - 9 -
Java POS Driver
2) Character Set List Property
Model Value
437,850,860,863,1(Katakana),865,866,1252,852,
SRP-275
858,862,864,23(Thai42),1253,1254,1257,27(Farsi),
SRP-275II / SRP-275III
1251,737,775,255
STP-103III / SRP-350 437,850,1(Katakana),860,863,865,858,255
437,1(Katakana),850,860,863,865,1252,866,852,
858,862,864,23(Thai42),1253,1254,1257,27(Farsi),
SRP-330
1251,737,775,31(Thai14),32(Hebrew Old),1255,
SRP-350plus / SRP-352plus
34(Thai11),35(Thai18),855,857,928,39(Thai16),
1256,255
SRP-330II / SRP-332II
SRP-330III / SRP-332III
SRP-340II / SRP-342II
SRP-350II
SRP-350plusII / SRP-352plusII
SRP-350III / SRP-352III
SRP-350plusIII /
SRP-352plusIII
SRP-350V / SRP-350plusV
SRP-352V / SRP-352plusV
SRP-F310 / SRP-F312 437,1(Katakana),850,860,863,865,1252,866,852,
SRP-F310II / SRP-F312II 858,862,864,23(Thai42),1253,1254,1257,27(Farsi),
SRP-F313II / SRP-S300 1251,737,775,31(Thai14),32(Hebrew Old),1255,
SRP-QE300 / SRP-QE302 34(Thai11),35(Thai18),855,857,928,39(Thai16),
SRP-E300 / SRP-E302 1256,1258,42(Khmer),1250,255,949,932,950,936
SRP-Q200 / SRP-B300
SRP-S320 / SRP-S3000
SRP-S200
SRP-380II / SRP-382II
SPP-R200 / SPP-C200
SPP-C300
SPP-R200II / SPP-R200III
SPP-R210 / SPP-R220
SPP-R300 / SPP-R310
SPP-R400 / SPP-R410
997,437,1(Katakana),850,860,863,865,1252,866,852,858,
862,864,23(Thai42),1253,1254,1257,27(Farsi),
SRP-Q300 / SRP-Q302
1251,737,775,31(Thai14),1255,34(Thai11),874,
SRP-380 / SRP-382 / SRP-383
35(Thai18),855,857,928,39(Thai16),1256,1258,
42(KHMER),1250,255,949,932,950,936
437,1(Katakana),850,860,863,865,1252,866,852,
858,862,864,23(Thai42),1253,1254,1257,27(Farsi),
G30 1251,737,775,31(Thai14),32(Hebrew Old),1255,
34(Thai11),35(Thai18),855,857,928,39(Thai16),
1256,1258,42(Khmer),1250,255,949,932,950,936
Ver. 4.10 - 10 -
Java POS Driver
3) Receipt Width and Height Property
Model Rec Line Height Rec Line Width Rec Line Paper Cut
STP-103III 24 342 5
SRP-275
9 512 9
SRP-275II / SRP-275III
SRP-330
SRP-330II / SRP-340II
SRP-330III
SRP-350 / SRP-350plus
SRP-350II / SRP-350plusII
SRP-350III / SRP-350plusIII 24 512 5
SRP-350V / SRP-350plusV
SRP-380 / SRP-380II
SRP-F310 / SRP-F310II
SRP-Q300 / SRP-QE300
SRP-E300
SRP-332II / SRP-342II
SRP-332III
SRP-352plus / SRP-352plusII
SRP-352III / SRP-352plusIII
SRP-352V / SRP-352plusV
SRP-382 / SRP-S300 24 576 5
SRP-F312 / SRP-F312II
SRP-Q302 / SRP-QE302
SRP-E302 / SRP-B300
SRP-S320 / SRP-S3000
SRP-382II
SRP-B300 (42CPL) 24 546 5
SRP-383 34 864 5
SRP-F313II 24 640 5
SRP-Q200 24 432 3
SRP-S200 24 432 5
SPP-R200 / SPP-C200
SPP-R200II / SPP-R200III 24 384 5
SPP-R210 / SPP-R220
SPP-R300 / SPP-R310
24 576 5
SPP-C300
SPP-R400 / SPP-R410 24 832 5
G30 24 576 5
Ver. 4.10 - 11 -
Java POS Driver
4) Rec Line Spacing Property
Range
Property
Default Max Min
Rec Line Spacing 16 127 0
Ver. 4.10 - 12 -
Java POS Driver
2-2-3 POS Printer Method
Method Value
Begin Insertion X
Begin Removal X
Change Print Side X
Clear Print Area O
Cut Paper O
Draw Ruled Line X
End Insertion X
End Removal X
Mark Feed X
O
Page Mode Print
(Dot, Ink type printer unsupported)
Print BarCode O
Print Bitmap O
Print Immediate O
Print Memory Bitmap X
Print Normal O
Print Two Normal X
Rotate Print O
Set Bitmap O
Set Logo O
Transaction Print O
Validate Data O
O: Supported X: Not supported
Ver. 4.10 - 13 -
Java POS Driver
2-2-4 POS Printer Escape Sequences
Escape Sequence Value
O
[#]P
(Value range: 0~100)
O
[#]fP
(Value range: 0~100)
[#]sP X
sL X
O
[#]B
(Value range: 1~20)
tL O
bL O
O
[#]lF
(Value range: 0~9999)
[#]uF Base Pitch [inch] O
[#]rF Maximum [inch] X
#E X
#R X
#dL X
#fT O
[!]bC O
[!][#]uC O
[!]iC X
[#]rC O
[!]rvC O
[#]sC X
1C O
2C O
3C O
4C O
#hC O
#vC O
[#]fC X
[!]tbC X
[!]tpC X
cA O
rA O
lA O
[!][#]stC X
N O
O: Supported X: Not supported
Ver. 4.10 - 14 -
Java POS Driver
3. Extended Functions
This section is to explain Direct IO method.
This method will operate properly only with BIXOLON POS printer.
Ver. 4.10 - 15 -
Java POS Driver
3-2 Direct IO Command
Ver. 4.10 - 16 -
Java POS Driver
3-2-3 Read the MSR data of mobile printer
Command PTR_DI_MOBILE_MSR_READ
Argument pData Null
pString Null
Read the MSR data. Track information is read using
Description
PTR_DI_MOBILE_MSR_READ_TRACK command.
Return Result Code Result Code Extended
JPOS_SUCCESS 0
JPOS_E_ILLEGAL 0
Ver. 4.10 - 17 -
Java POS Driver
4. Error Information
This section is to explain returned error information when use POS Printer methods.
For more details, please refer to the UPOS specifications.
Ver. 4.10 - 18 -
Java POS Driver
4-1-4 Direct IO method
Method Result Code Result Code Extended
JPOS_SUCCESS 0
JPOS_E_CLOSED 0
JPOS_E_CLAIMED 0
JPOS_E_NOTCLAIMED 0
JPOS_E_DISABLED 0
JPOS_E_ILLEGAL 0
JPOS_E_OFFLINE 0
Direct IO
JPOS_EPTR_UNRECOVERABLE
JPOS_EPTR_CUTTER
JPOS_E_FAILURE
JPOS_EPTR_MECHANICAL
JPOS_EPTR_OVERHEAT
JPOS_EPTR_COVER_OPEN
JPOS_E_EXTENDED JPOS_EPTR_JRN_EMPTY
JPOS_EPTR_REC_EMPTY
Ver. 4.10 - 19 -
Java POS Driver
4-1-6 Print Immediate method
Method Result Code Result Code Extended
JPOS_SUCCESS 0
JPOS_E_CLOSED 0
JPOS_E_CLAIMED 0
JPOS_E_NOTCLAIMED 0
JPOS_E_DISABLED 0
JPOS_E_ILLEGAL 0
JPOS_E_OFFLINE 0
Print Immediate
JPOS_EPTR_UNRECOVERABLE
JPOS_EPTR_CUTTER
JPOS_E_FAILURE
JPOS_EPTR_MECHANICAL
JPOS_EPTR_OVERHEAT
JPOS_EPTR_COVER_OPEN
JPOS_E_EXTENDED JPOS_EPTR_JRN_EMPTY
JPOS_EPTR_REC_EMPTY
Ver. 4.10 - 20 -
Java POS Driver
4-1-8 Rotate Print method
Method Result Code Result Code Extended
JPOS_SUCCESS 0
JPOS_E_CLOSED 0
JPOS_E_CLAIMED 0
JPOS_E_NOTCLAIMED 0
JPOS_E_DISABLED 0
JPOS_E_ILLEGAL 0
JPOS_E_OFFLINE 0
Rotate Print
JPOS_EPTR_UNRECOVERABLE
JPOS_EPTR_CUTTER
JPOS_E_FAILURE
JPOS_EPTR_MECHANICAL
JPOS_EPTR_OVERHEAT
JPOS_EPTR_COVER_OPEN
JPOS_E_EXTENDED JPOS_EPTR_JRN_EMPTY
JPOS_EPTR_REC_EMPTY
Ver. 4.10 - 21 -
Java POS Driver
4-1-10 Set Bitmap method
Method Result Code Result Code Extended
JPOS_SUCCESS 0
JPOS_E_CLOSED 0
JPOS_E_CLAIMED 0
JPOS_E_NOTCLAIMED 0
JPOS_E_DISABLED 0
JPOS_E_ILLEGAL 0
JPOS_E_OFFLINE 0
JPOS_EPTR_UNRECOVERABLE
JPOS_EPTR_CUTTER
Set Bitmap JPOS_E_FAILURE
JPOS_EPTR_MECHANICAL
JPOS_EPTR_OVERHEAT
JPOS_E_NOEXIST 0
JPOS_EPTR_COVER_OPEN
JPOS_EPTR_JRN_EMPTY
JPOS_EPTR_REC_EMPTY
JPOS_E_EXTENDED
JPOS_EPTR_SLP_EMPTY
JPOS_EPTR_TOOBIG
JPOS_EPTR_BADFORMAT
Ver. 4.10 - 22 -
Java POS Driver
5. Precautions
• The BIXOLON Java POS software package that is installed supports devices offered
by BIXOLON. Normal operation is not guaranteed when used with other devices.
• Errors in operation may occur if installed with another Java POS Driver.
• If an unknown issue occurs, either contact the dealer or submit an inquiry at the
website below for fast response.
www.bixolon.com
Ver. 4.10 - 23 -
Java POS Driver
Revision history
Ver. 4.10 - 24 -