regs.h.ah=0x1E;
regs.h.al=1;
int86x(0x21,®s,®s,&segregs);
return(regs.h.al);
}
1F
Enable/Disable Decoding of a Barcode Symbology
Entry Parameter:
AH = 1FH
BH = 1
AL = 1
; Enable decoding of barcode
symbology
0
; Disable decoding of barcode
symbology
BL = 0
; All supported bar code symbologies
1
; Code 39
2
; I 2 of 5
3
; Codabar
4
; EAN/UPC
5
; Code 128
6
; EAN 128
Return Value: None
Example
:
void TD_set_decode_status(int type,int status)
{
regs.h.ah= 0x1F;
regs.h.al= (unsigned char)status;
regs.h.bh= 1;
regs.h.bl= (unsigned char)type;
int86(0x21,®s,®s);
}
1F
Get Decoding Status of a Barcode Symbology
Entry parameter:
AH =
1FH
BH = 2
BL = 1
; Code 39
2
; I 2 of 5
3
; Codabar
4
; EAN/UPC
5
; Code 128
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...