JobId difference (StartDoc) when printing to server RRS feed

  • Question

  • Hi Everyone,

    Sorry if this is not the right forum...I'm new here.

    As revealed in the thread JobId difference for a shared printer on a Win7 client, when calling ::StartDoc() from Win7, the jobID returned is not what you would expect.  It isn't the normal 1, 2, 3, 4, etc, but instead starts at 29999 and counts downward.  (The print server in this case is a Windows Server 2008 R2). 

    I understand now that this is due to Client Side Rendering, a new feature in 2008R2.  But how can I leave Client Side Rendering on and still be able to match up the jobIDs on the Client machine with the jobIDs on the server? 

    I write a GUI app and a port monitor too, and I have to match up the jobIDs to perform some operations on the print jobs behind the scenes.   But the port monitor runs on the server so it gets the Server's jobIDs which are 1,2,3,4.  The code I have been using for many years has stopped working because of this.  


    • Moved by Bob Wu-MT Thursday, May 24, 2012 6:32 AM (From:Windows Forms General)
    Tuesday, May 22, 2012 9:09 PM


All replies