PT630 Programming Reference Guide
Page 22 of 59
------------------------------------------------------------------------------------------------------------------
1.5.12.10 Set Laser Scanner Trigger Mode
Entry Parameter: AH = 1AH
BH = 0BH
AL
=
0/1
;
Normal
/
Flash
mode
Return
Value:
None
Example
:
void TD_flash_trigger(int status)
{
regs.h.ah= 0x1A;
regs.h.bh= 0x0B;
regs.h.al= (unsigned char)status;
int86(0x21,®s,®s);
}
1.5.12.11 Enable/Disable Double Verification When Read Bar Code Label
Entry Parameter: AH = 1AH
BH = 0CH
AL
=
0/1
;
Disable/Enable
double
verification
Return
Value:
None
Example
:
void TD_double_verify_bar(int type)
{
regs.h.ah = 0x1A;
regs.h.bh = 0x0C;
regs.h.al = (unsigned char)type;
int86(0x21,®s,®s);
}
1.5.12.12 Check Laser Scanner
Entry Parameter: AH = 1AH
BH = 0DH
Return Value:
AL = 0
; Has no built-in or clip on laser scanner
1
; Has built-in or clip on laser scanner
Example
:
int TD_check_scanner()
{
regs.h.ah = 0x1A;
regs.h.bh = 0x0D;
int86(0x21,®s,®s);
return(regs.h.al);
}
1.5.12.13 Set Aim mode for Long Range engine
Entry Parameter: AH = 1AH
BH = 0FH
Return
Value:
AL
=
0
;
Disable
1
; Enable