PT630 Programming Reference Guide
Page 33 of 59
------------------------------------------------------------------------------------------------------------------
BL = 1
AL
bit
0=
0/1
;
disable/enable
Code
39
decoding
1=
0/1
;
disable/enable
Check
Digit
verification
2=
0/1
;
no-send/send
Check
Digit
3=
0/1
;
no-send/send
Start/Stop
characters
4= 0/1
; Full ASCII OFF/ON
Return
Value:
None
Example
:
void TD_decoder_setting(int decoder_type,int setting)
{
regs.h.ah = 0x1F;
regs.h.bh = 3;
regs.h.bl = (unsigned char)decode_type;
regs.h.al = (unsigned char)setting;
int86(0x21,®s,®s);
}
1.5.17.4 Interleaved 2 of 5 Settings
Entry Parameter: AH = 1FH
BH = 3
BL = 2
AL bit
0= 0/1 ; disable/enable Interleaved 2 of 5 decoding
1=
0/1
;
disable/enable
Check
Digit
verification
2=
0/1
;
no-send/send
Check
Digit
Return
Value:
None
Example:
Same with Code 39's example:
1.5.17.5 Codabar
Settings
Entry Parameter: AH = 1FH
BH = 3
BL = 3
AL
bit
0=
0/1
;
disable/enable
Codebar
decoding
1=
0/1
;
disable/enable
Check
Digit
verification
2=
0/1
;
no-send/send
Check
Digit
3=
0/1
;
no-send/send
Start/Stop
characters
Return
Value:
None
1.5.17.6 UPC/EAN
Add-on
Entry Parameter: AH = 1FH
BH = 3
BL = 4
CL=0
; Disable
1 ;
Optional
2 ;
Required
Return
Value:
None
1.5.17.7 Code 128 Setting
Entry Parameter: AH = 1FH
BH
=
3