Arduino MEGA ADK and industrial USB Barcode Reader (CLV503-0110)

Hi, I have an Arduino MEGA ADK in which I successfully connect and detect a USB Keyboard using the USB HOST Shield V2.0 library with the necessary modifications to work with the mega adk, the keyboard works fine with the arduino, it sends the key pressed to the terminal monitor using the HIDBoot library.

The Barcode Reader has two modes: USB Keyboard and USB-VCP (Virtual Com Port), I try the USB Keyboard mode first with the HIDboot library but is not working, the barcode reader apparently works fine in the arduino because it makes a beep and a led turns on when it scans a barcode (I checked that the barcode reader works fine in the computer, both modes work correctly) but the arduino doesn't send anything in the terminal monitor, so I change to USB-VCP and the FTDI libray but I don't understand correctly how the FTDI works so I have doubts if I'm using the correct library or if the library compatible with the barcode reader internal IC (USB-VCP).

I prefer to use the USB-VCP because using that mode I can turn on the laser to scan sending a code through a serial terminal and in the USB keyboard mode i need to press a button in the barcode reader and that is not good when you try to automatize everything :wink:

this is the barcode reader that I have:
http://www.sick.com/us/en-us/home/products/product_news/identification_systems/Pages/clv503_clv505_mini_bar_code_scanner.aspx

The barcode reader is the USB version, I know that there is a RS232 version which will work exactly as I need but the problem is that I already have that barcode reader and is a little expensive so I can't buy another one :frowning:

all the arduino codes that I am using are the examples that comes with USB Host V2.0 library

Can anyone help me?

Thanks in advance :wink:

So what (if anything) are you getting in the serial monitor output when you use the VCP/FTDI sketch and scan a barcode?
Same question for using HID keyboard?

I'm not getting anything, it just scans, makes the beep and that's all, no characters are displayed in the terminal monitor