From: Prateek on
I am also facing the same problem with Win7 as the client. Is there any way of mapping the job ID of the client and the server.

Regards,
Prateek Kothari



killme wrote:

DrvDocumentEvent() and vista
27-Jul-09

Hi Guys,

I am trying to query the job info during print for which I use the job Id
obtained during DOCUMENTEVENT_STARTDOCPOST escape. But I run into problems if
I use when network sharing is enabled and the vista is the client. In such
scenarios, the job id returned during escape is some large number like 29998,
29997, ....
Due to this, I do not have currently a way to map between the id returned
by vista and the proper job id in the print server side. (printer server
reports job ids in normal sequence 1,2,3,.... But vista client reports in
29998, 29997, 29996, ....)
Is there any other way to obtain the job id or I have to resort to the
EnumJobs() as the only reliable way to do this?

Previous Posts In This Thread:

On Monday, July 27, 2009 5:51 PM
killme wrote:

DrvDocumentEvent() and vista
Hi Guys,

I am trying to query the job info during print for which I use the job Id
obtained during DOCUMENTEVENT_STARTDOCPOST escape. But I run into problems if
I use when network sharing is enabled and the vista is the client. In such
scenarios, the job id returned during escape is some large number like 29998,
29997, ....
Due to this, I do not have currently a way to map between the id returned
by vista and the proper job id in the print server side. (printer server
reports job ids in normal sequence 1,2,3,.... But vista client reports in
29998, 29997, 29996, ....)
Is there any other way to obtain the job id or I have to resort to the
EnumJobs() as the only reliable way to do this?


Submitted via EggHeadCafe - Software Developer Portal of Choice
Entity Framework 4.0 and the AJAX Autocomplete Extender.
http://www.eggheadcafe.com/tutorials/aspnet/77429274-e89f-49c2-a93a-b290f013f649/entity-framework-40-and.aspx