Quantcast
Channel: Print/Fax forum
Viewing all articles
Browse latest Browse all 1589

Bug Found in Log Event Microsoft-Windows-PrintService EventID 307 / EventID 805 Windows Server 2012

$
0
0

I've was trying to read print service logs and save them in a database to improve manager.
I've made a lot of tests and it looks there is some value missing in log EventID 805 or EventID307 or a wrong count.
To do the test I used document PDF with 2 pages.

1)  print_3_pages_collate_unique.pdf
EventID 805
- <UserData>
- <RenderJobDiag xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
  <JobId>25</JobId> 
  <GdiJobSize>993496</GdiJobSize> 
  <ICMMethod>1</ICMMethod> 
  <Color>2</Color> 
  <XRes>600</XRes> 
  <YRes>600</YRes> 
  <Quality>600</Quality> 
  <Copies>1</Copies> 
  <TTOption>3</TTOption> 
  </RenderJobDiag>
  </UserData>

EventID 307
- <UserData>
- <DocumentPrinted xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
  <Param1>25</Param1> 
  <Param2>print_3_pages_collate_unique.pdf</Param2> 
  <Param3>administrator</Param3> 
  <Param4>SERVER</Param4> 
  <Param5>PDFCreator</Param5> 
  <Param6>pdfcmon</Param6> 
  <Param7>694616</Param7> 
  <Param8>3</Param8> 
  </DocumentPrinted>
  </UserData>

Copies: 1
PagesPrint: 3
Total: (1 x 3) = 3 (OK)



2) print_3_pages_not_collate_unique.pdf
EventID 805
<UserData>
- <RenderJobDiag xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
  <JobId>26</JobId> 
  <GdiJobSize>874020</GdiJobSize> 
  <ICMMethod>1</ICMMethod> 
  <Color>2</Color> 
  <XRes>600</XRes> 
  <YRes>600</YRes> 
  <Quality>600</Quality> 
  <Copies>1</Copies> 
  <TTOption>3</TTOption> 
  </RenderJobDiag>
  </UserData>

EventID 307
- <UserData>
- <DocumentPrinted xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
  <Param1>26</Param1> 
  <Param2>print_3_pages_not_collate_unique.pdf</Param2> 
  <Param3>administrator</Param3> 
  <Param4>SERVER</Param4> 
  <Param5>PDFCreator</Param5> 
  <Param6>pdfcmon</Param6> 
  <Param7>601176</Param7> 
  <Param8>3</Param8> 
  </DocumentPrinted>
  </UserData>

Copies: 1
PagesPrint: 3
Total: (1 x 3) = 3 (OK)



3) print_3_pages_collate_2_copies.pdf
EventID 805
- <UserData>
- <RenderJobDiag xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
  <JobId>27</JobId> 
  <GdiJobSize>874020</GdiJobSize> 
  <ICMMethod>1</ICMMethod> 
  <Color>2</Color> 
  <XRes>600</XRes> 
  <YRes>600</YRes> 
  <Quality>600</Quality> 
  <Copies>2</Copies> 
  <TTOption>3</TTOption> 
  </RenderJobDiag>
  </UserData>

EventID 307
- <UserData>
- <DocumentPrinted xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
  <Param1>27</Param1> 
  <Param2>print_3_pages_collate_2_copies.pdf</Param2> 
  <Param3>administrator</Param3> 
  <Param4>SERVER</Param4> 
  <Param5>PDFCreator</Param5> 
  <Param6>pdfcmon</Param6> 
  <Param7>874020</Param7> 
  <Param8>6</Param8> 
  </DocumentPrinted>
  </UserData>

Copies: 2
PagesPrint: 6 (The value correct must be 3 and not 6 or should have a parameter in log to identify if the pages were printed collated or not)
Total: (2 x 6) = 12 (Not OK) (value correct should be: 2 x 3 = 6)



4) print_3_pages_not_collate_2_copies.pdf
EventID 805
<UserData>
- <RenderJobDiag xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
  <JobId>29</JobId> 
  <GdiJobSize>874020</GdiJobSize> 
  <ICMMethod>1</ICMMethod> 
  <Color>2</Color> 
  <XRes>600</XRes> 
  <YRes>600</YRes> 
  <Quality>600</Quality> 
  <Copies>2</Copies> 
  <TTOption>3</TTOption> 
  </RenderJobDiag>
  </UserData>

EventID 307
<UserData>
- <DocumentPrinted xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
  <Param1>29</Param1> 
  <Param2>print_3_pages_not_collate_2_copies.pdf</Param2> 
  <Param3>administrator</Param3> 
  <Param4>SERVER</Param4> 
  <Param5>PDFCreator</Param5> 
  <Param6>pdfcmon</Param6> 
  <Param7>601176</Param7> 
  <Param8>3</Param8> 
  </DocumentPrinted>
  </UserData>

Copies: 2
PagesPrint: 3
Total: (2 x 3) = 6 (OK)

Anyone has the same problem?

Best Regards
Wanderlei




Viewing all articles
Browse latest Browse all 1589

Trending Articles