126 reputation
6
bio website andy.puggly.co.uk
location UK
age
visits member for 2 years, 1 month
seen Mar 21 at 13:40

Working in the graphics industry writing HTML 5 apps, native virtual printer drivers and everything else in-between! :)


Feb
13
awarded  Informed
Sep
30
accepted Getting error 0x000003eb when installing DDK sample printer drivers
Sep
30
awarded  Popular Question
Oct
5
awarded  Supporter
Oct
1
awarded  Scholar
Oct
1
accepted What is the Valid Range for Print Job IDs on Windows?
Oct
1
comment What is the Valid Range for Print Job IDs on Windows?
Sure! Sounds good to me! :)
Oct
1
comment What is the Valid Range for Print Job IDs on Windows?
Well, it seems to be a valid ID (although you can't get a JOB_INFO_* structure from it), but throwing the event away is also valid. As a driver developer, I don't have to handle any of these events at all, so not handling this particular one isn't a bad thing. Failing the event (as I was doing) would be a bad thing! :)
Oct
1
comment What is the Valid Range for Print Job IDs on Windows?
I think I've found something that kinda backs that up: msdn.microsoft.com/en-us/library/windows/desktop/…. It says under Job ID that 0 indicates a print job that hasn't been assigned an ID as yet. So it does exists, but it hasn't been assigned an ID (An ID being 1 or over).
Oct
1
comment What is the Valid Range for Print Job IDs on Windows?
But how can you get the status of a print job that doesn't exist? ;) I guess I could try and get the print job, and if it doesn't exist, I know it's an invalid Job ID. I guess I was just wondering if there's documentation that would mean I can rely on a Job ID of 0 indicating an invalid event.
Oct
1
comment What is the Valid Range for Print Job IDs on Windows?
Well, reason I'm asking is because I have a situation where I'm getting an unexpected event in my printer driver, giving me a job ID of 0. I then get the true job ID in the next event. So I'm just wondering if I can rely on 0 being an invalid job ID and throw the event away based on job ( (ID == 0) => invalid event). I think I'd need more confidence than making an assumption on a few valid IDs returned from a few prints. :)
Oct
1
asked What is the Valid Range for Print Job IDs on Windows?
Aug
14
awarded  Student
Aug
14
awarded  Teacher
Aug
14
answered Where does Windows 7 Photo Viewer Store User Specific Data / Settings?
Aug
14
asked Where does Windows 7 Photo Viewer Store User Specific Data / Settings?
Jun
29
answered Getting error 0x000003eb when installing DDK sample printer drivers
Jun
29
asked Getting error 0x000003eb when installing DDK sample printer drivers