Unfortunately I have no real experience with USB driver development, so I
am afraid I can not help you there. Your driver should implement the
Dot4Print device class, I think.
/christoph
*From:* xxxxx@lists.osr.com [mailto:
xxxxx@lists.osr.com] *On Behalf Of *Dennis Scott
*Sent:* Tuesday, August 24, 2010 11:28 AM
*To:* Windows System Software Devs Interest List
*Subject:* Re: [ntdev] Not able to print a document using root enumerated
usb device.
Thanks christoph,
i went through the document(page 10/17) defines it,yes i have to support
interface protocol 3 but i am not sure how??
can you please explain me how should i do this in my bus driver.
On Tue, Aug 24, 2010 at 2:43 PM, Christoph Lindemann <
xxxxx@printassociates.com> wrote:
It?s been a while since I have looked at this. Windows has some DOT4
driver, which it will stack on to of the parallel or usb driver (how they
are connected exactly I can not remember). And the windows spooler has also
a special DOT4 port monitor. I think to remember the HP installs their own
special DOT4 port monitor.
On the USB level you have to support/provide the ?1284.4 compatible
bi-directional interface? (interface protocol 3)
See http://www.usb.org/developers/devclass_docs/usbprint11.pdf
The 1284.4 protocol might (I don?t know) also have some special
requirements when transmitting over USB (and your case also network), like
packet size, timouts?
/christoph
*From:* xxxxx@lists.osr.com [mailto:
xxxxx@lists.osr.com] *On Behalf Of *Dennis Scott
*Sent:* Tuesday, August 24, 2010 10:08 AM
*To:* Windows System Software Devs Interest List
*Subject:* Re: [ntdev] Not able to print a document using root enumerated
usb device.
Yes, actually it is “hp LaserJet 3015 PCL 5e” which is DOT4 (IEEE 1284.4
Compatible Bi-directional) printer, what kind of support these printers
required? i have another printer “HP Deskjet F4200 series” which is
working properly.
Thanks
dennis scott
On Tue, Aug 24, 2010 at 1:23 PM, Christoph Lindemann <
xxxxx@printassociates.com> wrote:
What kind of printer is it that you try to use? Might it be a DOT4 (IEEE
1284.4) printer. I think those use some special USB interfaces/endpoints. So
the printer driver might try to communicate using DOT4, I do not know if you
have implemented support for that in you virtual USB thingy.
/christoph
*From:* xxxxx@lists.osr.com [mailto:
xxxxx@lists.osr.com] *On Behalf Of *Dennis Scott
*Sent:* Monday, August 23, 2010 12:45 AM
*To:* Windows System Software Devs Interest List
*Subject:* [ntdev] Not able to print a document using root enumerated usb
device.
Hi all,
I have a virtual bus driver which serves the purpose of enumerating USB
devices over the network, i have usb thumb drive, hard drive and some
printers working correctly,
But i have a printer with one interface and 2 alternate interface
initialization is being done correctly and i am able to see printer in the
printer and faxes folder,
but when i give a print out the windows shows an error saying printing
failed event log says
a. Document failed to print due to GDI/Driver error in rendering.
b. The document Test Page owned by XXXX failed to print on printer XXXX.
Data type: NT EMF 1.008. Size of the spool file in bytes: 145636. Number of
bytes printed: 0. Total number of pages in the document: 1. Number of
pages printed: 0. Client machine: \XXXX. Win32 error code returned by the
print processor: 31 (0x1f).
If i connect the printer directly to the system i dont see any problem.
The last IRP i receive is URB_FUNCTION_CLASS_INTERFACE during
initialization.
I went through the post of
James Harper
https://www.osronline.com/ShowThread.cfm?link=168353
should i enumerate root hub??
Dennis scott
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer