I purchased a USB to Parallel port cable ( it supports ieee1284 standard).This cable is Plug and play cable.
I dont have a parallel port on my laptop. I want to do Compatibility mode project(ie. LED Glow) through laptop.
How to do this?
Dear all experts Please help me to resolve this.
Thank you verymuch. and Have a nice time.
You will get the solution by three things:-
First thing is that you have developed parallel port device driver in compatibility mode.
Second thing is that you have USB to parallel port convertor.
Third thing is that you are trying to access USB port through your parallel port device driver.
okay,
My question is, How to make interface b/w USB to Parallel Port??
As you already told that you have a USB to parallel port cable / converter. But you have written the code for parallel port device driver in compatibility mode. In USB port there are four lines -
1. Receive Data Rx.
2. Transfer Data Tx.
3. Power line for device. Vcc
4. Ground Gnd.
Here you are using USB port that is directly attached with your motherboard with some address that is stored in the ROM. but the driver that you have developed is PPDD(Parallel Port Device Driver) that has diff address stored in ROM. If you want to use USB port then you must implement USB port device driver rather then PPDD…….
And compatibility mode is the mode of PPDD not USBDD…… Acc. to the protocol of compatibility mode you must use two pins of Control Register and two pins of Status Register and 8 pins of Data register so total will be 12 pins that is used in compatibility mode and you are trying to use USB port that has only 1 pin for transfer and 1 for receiver. And i do not knw why intelligent guys like you do this silly mistake to use USB port for parallel port device driver……