this is for pda scanner.