Printer driver problem

Hi all,

I am developing a printer driver under USB.I communicate via usbmon and usbprint.sys and

have developed my own language monitor.When I try to print multiplle copies of the same word document,

I am able to print only one copy.

In the startdoc the dm.copies fielde in the device mode is always set to 1.

Can anyone throw some light on whats happening.

Thanks,

gibbs

Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in
Change the way you talk. Indiatimes presents “Valufon”, Your PC to Phone service with clear voice at rates far less than the normal ISD rates. Go to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW.

Does the problem occur even if you remove your language monitor from the
stack? What kind of printer driver do you have? Is it monolithic or
unidrv based? Do you have a rendering plug-in, etc.?

  • Ashwin

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: ntdev [mailto:xxxxx@indiatimes.com]
Sent: Friday, November 22, 2002 11:57 AM
To: NT Developers Interest List
Subject: [ntdev] Printer driver problem

Hi all,
I am developing a printer driver under USB.I communicate via usbmon
and usbprint.sys and
have developed my own language monitor.When I try to print multiplle
copies of the same word document,
I am able to print only one copy.
In the startdoc the dm.copies fielde in the device mode is always set to
1.
Can anyone throw some light on whats happening.
Thanks,
gibbs

Get Your Private, Free E-mail from Indiatimes at
http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in
Change the way you talk. Indiatimes presents “Valufon”, Your PC to Phone
service with clear voice at rates far less than the normal ISD rates. Go
to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW. — You
are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%

This driver is for a bi-directional card printer.I use USBMON port monitor provided my micorsoft.

My driver is not uni-driver based.If i remove the language monitor from the stack I cannot communicate

with the printer.

During startDoc is it possible for me to get the total number of copies printed?The devmode does not have

this info.Is it possible for me to get this info?

thanks,

“NT Developers Interest List” wrote:

Does the problem occur even if you remove your language monitor from the
stack? What kind of printer driver do you have? Is it monolithic or
unidrv based? Do you have a rendering plug-in, etc.?

  • Ashwin

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: ntdev [mailto:xxxxx@indiatimes.com]
Sent: Friday, November 22, 2002 11:57 AM
To: NT Developers Interest List
Subject: [ntdev] Printer driver problem

Hi all,
I am developing a printer driver under USB.I communicate via usbmon
and usbprint.sys and
have developed my own language monitor.When I try to print multiplle
copies of the same word document,
I am able to print only one copy.
In the startdoc the dm.copies fielde in the device mode is always set to
1.
Can anyone throw some light on whats happening.
Thanks,
gibbs

Get Your Private, Free E-mail from Indiatimes at
http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in
Change the way you talk. Indiatimes presents “Valufon”, Your PC to Phone
service with clear voice at rates far less than the normal ISD rates. Go
to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW. — You
are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@indiatimes.com
To unsubscribe send a blank email to %%email.unsub%%

Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in

I am not sure why it is not possible for you to print if you remove the
language monitor from the stack. The LM should be required only for
bi-di communication, not for regular printing. In any case, I do not
know of any way to get the total number of copies printed from the
devmode or at StartDoc. One possible approach is to parse the data
yourself to figure out how many copies have been generated.

  • Ashwin

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: ntdev [mailto:xxxxx@indiatimes.com]
Sent: Sunday, November 24, 2002 6:09 PM
To: NT Developers Interest List
Cc: xxxxx@microsoft.com
Subject: [ntdev] RE: Printer driver problem

This driver is for a bi-directional card printer.I use USBMON port
monitor provided my micorsoft.
My driver is not uni-driver based.If i remove the language monitor from
the stack I cannot communicate
with the printer.
During startDoc is it possible for me to get the total number of copies
printed?The devmode does not have
this info.Is it possible for me to get this info?
thanks,

“NT Developers Interest List” wrote:

Does the problem occur even if you remove your language monitor from the
stack? What kind of printer driver do you have? Is it monolithic or
unidrv based? Do you have a rendering plug-in, etc.?

  • Ashwin

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: ntdev [mailto:xxxxx@indiatimes.com]
Sent: Friday, November 22, 2002 11:57 AM
To: NT Developers Interest List
Subject: [ntdev] Printer driver problem

Hi all,
I am developing a printer driver under USB.I communicate via usbmon
and usbprint.sys and
have developed my own language monitor.When I try to print multiplle
copies of the same word document,
I am able to print only one copy.
In the startdoc the dm.copies fielde in the device mode is always set to
1.
Can anyone throw some light on whats happening.Thanks,
gibbs

Get Your Private, Free E-mail from Indiatimes at
http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in
Change the way you talk. Indiatimes presents “Valufon”, Your PC to Phone
service with clear voice at rates far less than the normal ISD rates. Go
to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW. — You
are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@indiatimes.com
To unsubscribe send a blank email to %%email.unsub%%

Get Your Private, Free E-mail from Indiatimes at
http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in — You are currently subscribed to ntdev as:
xxxxx@microsoft.com To unsubscribe send a blank email to
%%email.unsub%%