USB printing: what difference between XP and 2K?

  • Thread starter Thread starter Jack
  • Start date Start date
J

Jack

Hi all,

I wrote a pinter driver for my USB printer under Win2K and it works well
enough (except for some ReadPort failing, if someone should have some
suggestion even for this I would appreciate so much!).

Now I tried to install this driver under Windows XP but the system always
reply that printer is switched off. Do I have to modify smething in the code
of my Language monitor or add something in .inf files or...

Any info will be appreciated.

Thanks,

JJ.
 
Boy, I sure hope it's not a kernel mode driver! ;-)

Sounds like you need the DDK or need to contact DDK support.

--
Michael Leon
Microsoft Printing, Imaging and Fax Team

This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.'
 
Thanks for your answer.

I updated my DDK package up to the Windows XP service pack 1 DDK and then
recompiled my driver.
Now the situation is the following:
- The printer works even on XP
- The ReadPort function if called outside the StartDoc and EndDoc (in the
UStatusThread as showed in the DDK sample) fails with the error 31
- The ReadPort called inside the the EndDocPort and StartDocPort succeded
but with a strange beahviour that I did not understand yet (It seems to read
the same data for more than once)

Do you have any idea on how can call the ReadPort outside the START/END DOC
pair with success?

Thanks again,

JJ.
 
Back
Top