6
; EAN 128
Return Value: AL = 0/1
; Disable/Enable
Example
:
int TD_get_decode_bar(int type)
{
regs.h.ah = 0x1F;
regs.h.bh = 2;
regs.h.bl = (unsigned char)type;
int86(0x21,®s,®s);
return(regs.h.al);
}
1F
Code 39 Settings
Entry parameter:
AH = 1FH
BH = 3
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);
}
1F
Interleaved 2 of 5 Settings
Entry Parameter:
AH = 1FH
BH = 3
BL = 2
Summary of Contents for PT600
Page 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Page 7: ......
Page 16: ......
Page 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Page 57: ......
Page 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...