Re: Printing on USB port... by Ram
Ram
Tue Sep 09 09:23:57 CDT 2003
Ashwin,
Ok,First let me explain what I understood from your mails.
I will use the usbmon.dll as a port monitor and I'll use my own language
monitor.
I'll handle Openport, Writeport, Readport in my language monitor (So that I
can send my own firmware commands in the LM).
I'll configure USB001 port for my printer.
Now my doubts are,
Where should I specify VID and PID of my printer?
Does usbmon.dll automatically detects the device and communicates with it?
Am I wrong some where? please help me.
Thanks,
Vikram.
""Ashwin [MS]"" <ashwinn@online.microsoft.com> wrote in message
news:hPUgWTidDHA.220@cpmsftngxa06.phx.gbl...
> You just have to make sure in your language monitor that you are calling
> the correct functions from the corresponding port monitor for that port.
> These functions are returned to the language monitor via the MONITOR2
> structure. I suggest that you look at the pjlmon sample in the DDK. This
is
> a generic language monitor that has nothing to do with the port on which
> the printer is installed and works with any port monitor.
>
> - Ashwin
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>