USB Printer

From: voidcoder (voidcoder_at_yahoo.com)
Date: 12/29/04


Date: Wed, 29 Dec 2004 11:24:18 +0100

Hello any1.

Just have tried to test our device with USB printer.
It looks to me that there are some problems with
RegisterPrinterSettings function from
\PUBLIC\COMMON\OAK\DRIVERS\USB\CLASS\PRINTER\lpt.c.
As seen from the code, it looks for
DESCRIPTION, DES or MODEL in the device id string.
I'm not very sure that these strings should present in
any printer config. At least I tested with two printers,
and they both reported something like:

"MFG:Lexmark; CMD:GDI;MDL:E210;CLS:PRINTER"

... and of course both are recognized and work nice with XP.

So, I think that parser is designed to work with special
printers only and not with any. Am I right? Or this is just
an imperfection (as many others in ce code).
Does any1 played with this problem? May be some1
has a good implementation of RegisterPrinterSettings
functions?

Thanks