Rendering or UI Plugin

Hi All,

I have implemented a rendering plug-in and a UI plug-in. I have query regarding the printer driver. Which component in the printer driver gets the notification of Cancel Job.

From the ddk documentation i could figure out that, it should be in the Print Processor. Is this the only component which gets the cancel job notification. Is it possible to get the notification in rendering plug-in or UI plug-in. Any pointers in this regards would help me.

Regards,
Sush


Do you Yahoo!?
The all-new My Yahoo! – What will yours do?

Check DrvDocumentEvent for more info…

Shiva P

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sushma Yella
Sent: Wednesday, January 19, 2005 9:23 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Rendering or UI Plugin

Hi All,

I have implemented a rendering plug-in and a UI plug-in. I have query
regarding the printer driver. Which component in the printer driver gets
the notification of Cancel Job.

From the ddk documentation i could figure out that, it should be in the
Print Processor. Is this the only component which gets the cancel job
notification. Is it possible to get the notification in rendering
plug-in or UI plug-in. Any pointers in this regards would help me.

Regards,
Sush


Do you Yahoo!?
The all-new My Yahoo! http: - What will yours do? —
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: xxxxx@wipro.com To unsubscribe send a blank email
to xxxxx@lists.osr.com</http:>

Thanks Shiva for the reply. So, do i need to hook to DrvDocumentEvent() in my rendering plug-in and use the DOCUMENTEVENT_ABORTDOC. Is this possible to do this in OEMEndDoc() of rendering plug-in.

Thanks & Regards,
Sush

xxxxx@wipro.com wrote:
Check DrvDocumentEvent for more info…

Shiva P

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Sushma Yella
Sent: Wednesday, January 19, 2005 9:23 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Rendering or UI Plugin

Hi All,

I have implemented a rendering plug-in and a UI plug-in. I have query regarding the printer driver. Which component in the printer driver gets the notification of Cancel Job.

From the ddk documentation i could figure out that, it should be in the Print Processor. Is this the only component which gets the cancel job notification. Is it possible to get the notification in rendering plug-in or UI plug-in. Any pointers in this regards would help me.

Regards,
Sush


Do you Yahoo!?
The all-new My Yahoo! – What will yours do? — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@wipro.com To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Yes…the difference is, with DrvDocumentEvent &
DOCUMENTEVENT_ABORTDOC, GDI is about to process abortdoc… whereas
OEMEndDoc ie, DrvEndDoc( ) with second parameter flag as ED_ABORTDOC
means the print job is being terminated before completion.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sushma Yella
Sent: Thursday, January 20, 2005 10:59 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Rendering or UI Plugin

Thanks Shiva for the reply. So, do i need to hook to DrvDocumentEvent()
in my rendering plug-in and use the DOCUMENTEVENT_ABORTDOC. Is this
possible to do this in OEMEndDoc() of rendering plug-in.

Thanks & Regards,
Sush

xxxxx@wipro.com wrote:

Check DrvDocumentEvent for more info…

Shiva P

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sushma Yella
Sent: Wednesday, January 19, 2005 9:23 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Rendering or UI Plugin

Hi All,

I have implemented a rendering plug-in and a UI plug-in. I have query
regarding the printer driver. Which component in the printer driver gets
the notification of Cancel Job.

From the ddk documentation i could figure out that, it should be in the
Print Processor. Is this the only component which gets the cancel job
notification. Is it possible to get the notification in rendering
plug-in or UI plug-in. Any pointers in this regards would help me.

Regards,
Sush


Do you Yahoo!?
The all-new My Yahoo! http:</http:> - What will yours do? —
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: xxxxx@wipro.com To unsubscribe send a blank email
to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ
at http://www.osronline.com/article.cfm?id=256 You are currently
subscribed to ntdev as: xxxxx@wipro.com To unsubscribe send a
blank email to xxxxx@lists.osr.com

I tried checking the status of flag parameter of OEMEndDoc(), but the status remains the same even if the print job is terminated in between or not. the flag is never set to ED_ABORTDOC when the print job is terminated in between. Is the correct way to get the printer job status? Can you provide a sample snippet to hook to DrvDocumentEvent()?

xxxxx@wipro.com wrote:Yes…the difference is, with DrvDocumentEvent & DOCUMENTEVENT_ABORTDOC, GDI is about to process abortdoc… whereas OEMEndDoc ie, DrvEndDoc( ) with second parameter flag as ED_ABORTDOC means the print job is being terminated before completion.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Sushma Yella
Sent: Thursday, January 20, 2005 10:59 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Rendering or UI Plugin

Thanks Shiva for the reply. So, do i need to hook to DrvDocumentEvent() in my rendering plug-in and use the DOCUMENTEVENT_ABORTDOC. Is this possible to do this in OEMEndDoc() of rendering plug-in.

Thanks & Regards,
Sush

xxxxx@wipro.com wrote:
Check DrvDocumentEvent for more info…

Shiva P

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Sushma Yella
Sent: Wednesday, January 19, 2005 9:23 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Rendering or UI Plugin

Hi All,

I have implemented a rendering plug-in and a UI plug-in. I have query regarding the printer driver. Which component in the printer driver gets the notification of Cancel Job.

From the ddk documentation i could figure out that, it should be in the Print Processor. Is this the only component which gets the cancel job notification. Is it possible to get the notification in rendering plug-in or UI plug-in. Any pointers in this regards would help me.

Regards,
Sush


Do you Yahoo!?
The all-new My Yahoo! – What will yours do? — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@wipro.com To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@wipro.com To unsubscribe send a blank email to xxxxx@lists.osr.com

Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Do you Yahoo!?
The all-new My Yahoo! – What will yours do?

I assume you are asking what to do inside DrvDocumentEvent…
These info are given in DDK…

DrvDocumentEvent(…)
{
switch(iEsc)
{
case DOCUMENTEVENT_STARTDOCPOST:
//DrawFunction( ) ;
return DOCUMENTEVENT_SUCCESS;

case DOCUMENTEVENT_ABORTDOC:
//Do what ever you like to do here
return DOCUMENTEVENT_SUCCESS;

default:
break;
}

return DOCUMENTEVENT_UNSUPPORTED;
}

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sushma Yella
Sent: Thursday, January 20, 2005 1:05 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Rendering or UI Plugin

I tried checking the status of flag parameter of OEMEndDoc(), but the
status remains the same even if the print job is terminated in between
or not. the flag is never set to ED_ABORTDOC when the print job is
terminated in between. Is the correct way to get the printer job status?
Can you provide a sample snippet to hook to DrvDocumentEvent()?

xxxxx@wipro.com wrote:

Yes…the difference is, with DrvDocumentEvent &
DOCUMENTEVENT_ABORTDOC, GDI is about to process abortdoc… whereas
OEMEndDoc ie, DrvEndDoc( ) with second parameter flag as ED_ABORTDOC
means the print job is being terminated before completion.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sushma Yella
Sent: Thursday, January 20, 2005 10:59 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Rendering or UI Plugin

Thanks Shiva for the reply. So, do i need to hook to DrvDocumentEvent()
in my rendering plug-in and use the DOCUMENTEVENT_ABORTDOC. Is this
possible to do this in OEMEndDoc() of rendering plug-in.

Thanks & Regards,
Sush

xxxxx@wipro.com wrote:

Check DrvDocumentEvent for more info…

Shiva P

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sushma Yella
Sent: Wednesday, January 19, 2005 9:23 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Rendering or UI Plugin

Hi All,

I have implemented a rendering plug-in and a UI plug-in. I have query
regarding the printer driver. Which component in the printer driver gets
the notification of Cancel Job.

From the ddk documentation i could figure out that, it should be in the
Print Processor. Is this the only component which gets the cancel job
notification. Is it possible to get the notification in rendering
plug-in or UI plug-in. Any pointers in this regards would help me.

Regards,
Sush