• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended
HP OfficeJet Pro 8720

The goal is to get a listing of who is printing how many pages and when. 

I have setup HP Web JetAdmin, but when setting up data collection for Device Utilization by User it errors with: The required traps are not supported. 

 

I can go on the embedded web server and pull up the Color Usage Job Log (Tools > Reports > Color Usage Job Log) that shows all the data I need but longer computer\usernames are cut off. 

Is there any way to pull this data raw?Report.PNG

3 REPLIES 3
HP Recommended

@Hagsad5214589

 

Short Answer:

 

No, I don't know how to extract this particular information from the EWS and force it to cooperate.

 

 

Workaround:

 

The following solution depends on you using a recent Windows OS and having installed the Full Feature Software (printer program)

 

 

You must first set up job logging that keeps current and past jobs in the queue.

 

Dragon Document 

Reprint a print job – save a job for reprinting later

 

 

 

Caveats:  

  1. You must leave the jobs in the queue at least until you have collected the data.
  2. This method is "per system", that is, the local queue is the data collection source.

 

Job information collection starts as soon as people start printing to the printer.

 

 

Once you have sufficient records for your report (print jobs in queue):

 

Open Admin cmd prompt > cd to folder > issue prnjobs.vbs command

 

NOTES:  

  • The exact folder that contains the prnjobs.xbs may be named differently on your system.

 

    Open File Explorer > set folder path to C:\Windows\WinSxS\

 

    Look for the folder prefix > jump into that folder

    OR

    Search for prnjobs.vbs > open that folder location

 

  • Commands are typed on one line and not "split".

 

Example - Create print-jobs file

 

Windows key + X + A  (admin cmd prompt)

 

C:\WINDOWS\system32> cd C:\Windows\WinSxS\x86_microsoft-windows-p..inscripts.resources_31bf3856ad364e35_10.0.14393.0_en-us_e0032fedaaa585ad


C:\Windows\WinSxS\x86_microsoft-windows-p..inscripts.resources_31bf3856ad364e35_10.0.14393.0_en-us_e0032fedaaa585ad>CScript prnjobs.vbs -l > C:\Users\DragonUser\Documents\Printjobs.txt

 

NOTE:  Replace DragonUser with your Account name

 

 

The resulting .txt file will provide full information on each of the jobs in the queue, including machine name, document name, user (owner) name, page count, paper size, color/blk-wht, time and date.

 

Example - JOB information entry

 

Job id 2

Printer HP Officejet Pro 8630 (Network)
Document Microsoft Word - Pruneridge.docx
Data type RAW
Driver name HP Officejet Pro 8630
Description HP Officejet Pro 8630 (Network), 2
Elapsed time 00:00:00
Machine name \\BigA ZBook
Notify DragonUser
Owner DragonUser
Pages printed 0
Parameters
Size 532350
SizeHigh 0
PaperSize Letter 8 1/2 x 11 in
PaperWidth 2159
PaperLength 2794
Color Color
Status Sent to the printer
Time submitted 08/30/2016 14:56:41
Total pages 1

 

Control Panelicon view > Devices and PrintersDouble left-click on Printer > See what's printing

Printer_Queue_1.JPG

 

 

Click the Thumbs Up to say Thanks!

Click Post that answers your question "Accept as Solution" to help others find it.

 

 

Dragon-Fur

HP Recommended

That will not work, half of the computers connecting are non-windows, they are wiped/reimaged by users regularly and if a user can get around the logging locally it defeats the purpose of collecting the data.

 

The log on the embedded webserver is storing data on the last 32 jobs, it must store the data somewhere. 

HP Recommended

@Hagsad5214589

 


@Hagsad5214589 wrote:

That will not work, half of the computers connecting are non-windows, they are wiped/reimaged by users regularly and if a user can get around the logging locally it defeats the purpose of collecting the data.

 

The log on the embedded webserver is storing data on the last 32 jobs, it must store the data somewhere. 


Too bad -- yes, if the users are regularly wiping out the data and it cannot be collected regularly via a script that is reinstalled during the reimage process, then Poof - useless.

 

Users "getting around" requirements is unfortunate.

 

 

I have perhpaps missed something; if I find it, I will post back.

 

Good Luck.

 

Thank you for participating in the HP Community Forum.

We are a community of HP enthusiasts dedicated to supporting HP devices and technology.

Dragon-Fur

Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.