{"id":394,"date":"2019-07-09T12:26:31","date_gmt":"2019-07-09T12:26:31","guid":{"rendered":"http:\/\/eventlogxp.com\/blog\/?p=394"},"modified":"2019-07-09T12:26:32","modified_gmt":"2019-07-09T12:26:32","slug":"how-to-track-printer-usage-with-event-logs","status":"publish","type":"post","link":"https:\/\/eventlogxp.com\/blog\/how-to-track-printer-usage-with-event-logs\/","title":{"rendered":"How to track printer usage with event logs"},"content":{"rendered":"\n<p>At the time, the US companies spend a total of $120 billion on printed forms annually, and each employee uses about 10,000 sheets of paper <a href=\"https:\/\/www.information-age.com\/offices-may-digital-paperless-123466311\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">according to CompTIA<\/a>. That&#8217;s why printer usage monitoring is very important to cut costs for printer supplies and their utilization. Another reason to know who and how uses corporate printers is to manage your resources and plan upgrades or downgrades of certain printers or print servers.<\/p>\n\n\n\n<p>If you google for &#8220;printer usage&#8221; or similar phrases, you will find dozens of special software to monitor printers. As a rule, these programs are installed on print servers and most of them are not cheap.<\/p>\n\n\n\n<p>However,\nyou can track printer usage without any third-party software by analyzing\nWindows events of Print Spooler. And use of Event Log Explorer makes this\nprocess much better.<\/p>\n\n\n\n<p>To start monitoring you should enable logging to log <strong>\\Microsoft-Windows-PrintService\/Operational<\/strong>:<\/p>\n\n\n\n<p>Start Event Log Explorer (or Event Viewer), connect to your print server from Event Log Explorer or Windows Event Viewer, browse to event log Microsoft-Windows\\\\Microsoft-Windows-PrintService\/Operational, click right mouse button on it and select Properties.<\/p>\n\n\n\n<p>In Log Properties dialog tick <strong>Enable Logging<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/enable-printer-log-e1562672578623.png\" data-rel=\"lightbox-gallery-dx9jqXhl\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" width=\"453\" height=\"207\" src=\"http:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/enable-printer-log-e1562672578623.png\" alt=\"enable-printer-log\" class=\"wp-image-395\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/enable-printer-log-e1562672578623.png 453w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/enable-printer-log-e1562672578623-300x137.png 300w\" sizes=\"(max-width: 453px) 100vw, 453px\" \/><\/a><\/figure>\n\n\n\n<p>Or just run <strong>wevutil<\/strong> utility in the elevated prompt as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wevtutil.exe\nsl Microsoft-Windows-PrintService\/Operational \/e:true&nbsp; \/r:&lt;Server_name&gt;<\/pre>\n\n\n\n<p>I assume that you have a print server (Server_name) in your network (running Windows 2008 or higher) and your users print documents via this server. If you have printers connected directly to the user computers, you should consider these computes as print servers and enable logging to PrintService\/Operational on them.<\/p>\n\n\n\n<p>If you want to monitor what exactly your user print, I recommend enabling &#8220;Allow job name in event logs&#8221; policy to log documents name. If you run Windows 2012 or Windows 8, you may need to apply a Windows update as described <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/2938013\/event-id-307-does-not-show-the-printed-document-name-in-windows\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"here (opens in a new tab)\">here<\/a>. <\/p>\n\n\n\n<p>Now when a user prints a document, several events will be logged into PrintService\/Operatinal event log. <\/p>\n\n\n\n<p>The most interesting event for printer usage tracking is event <strong>307<\/strong> (document was printed). If you open event details of this event and switch to XML representation, you will get detailed information about printing.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"443\" height=\"292\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/event-307-print.png\" alt=\"\" class=\"wp-image-396\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/event-307-print.png 443w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/event-307-print-300x198.png 300w\" sizes=\"(max-width: 443px) 100vw, 443px\" \/><\/figure>\n\n\n\n<p>Param1 is a print job identifier and can be used to link with other events in this log. <br>Param2 is a document name (if you didn&#8217;t enable &#8220;Allow job name in event logs&#8221; policy, the document name will be &#8220;Print Document&#8221;. <br>Param3 and Param4 define document owner and computer from which the document was sent to print.<br>Param5 is a printer name.<br>Param6 is a name of the print server port.<br>Param7 is a document size in bytes sent to print server.<br>Param8 is a total number of pages printed by this print job.<\/p>\n\n\n\n<p>So, let&#8217;s display some of these details in Event Log Explorer. I will add a printer user (a document owner), printer name, and number of pages as event list columns.<\/p>\n\n\n\n<p>First, we need\nto filter unnecessary events out and display only events with event id = 307.\nPress <strong>Filter<\/strong> button and type <strong><em>307<\/em><\/strong> in Event ID(s) filed of\nthe Filter window.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/filter-307-print.png\" data-rel=\"lightbox-gallery-dx9jqXhl\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" width=\"302\" height=\"72\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/filter-307-print.png\" alt=\"\" class=\"wp-image-397\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/filter-307-print.png 302w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/filter-307-print-300x72.png 300w\" sizes=\"(max-width: 302px) 100vw, 302px\" \/><\/a><\/figure>\n\n\n\n<p>Now we should\nadd custom columns. Select <strong>View<\/strong>-&gt;<strong>Custom columns<\/strong> from the main\nmenu and add the first column (Printer user) as follows:<\/p>\n\n\n\n<p>Column\ntitle: <strong><em>Printer user<\/em><\/strong><br>\nValue: <strong><em>{PARAM[3]}<\/em><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/custom-columns-for-print-event.png\" data-rel=\"lightbox-gallery-dx9jqXhl\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" width=\"488\" height=\"300\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/custom-columns-for-print-event.png\" alt=\"\" class=\"wp-image-398\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/custom-columns-for-print-event.png 488w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/custom-columns-for-print-event-300x184.png 300w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/><\/a><\/figure>\n\n\n\n<p>Switch to\nColumn 2 tab and add the second column:<\/p>\n\n\n\n<p>Column\ntitle: <strong><em>Printer<\/em><\/strong> <br>\nValue: <strong><em>{PARAM[5]}<\/em><\/strong><\/p>\n\n\n\n<p>Switch to\nColumn 3 tab and add the second column:<\/p>\n\n\n\n<p>Column\ntitle: <strong><em>Pages<\/em><\/strong><br>\nValue: <strong><em>{PARAM[8]}<\/em><\/strong><\/p>\n\n\n\n<p>Press OK to\nfinish and you will see 3 columns in the event list with your data.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/userprintlog.png\" data-rel=\"lightbox-gallery-dx9jqXhl\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" width=\"410\" height=\"366\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/userprintlog.png\" alt=\"\" class=\"wp-image-399\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/userprintlog.png 410w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/userprintlog-300x268.png 300w\" sizes=\"(max-width: 410px) 100vw, 410px\" \/><\/a><\/figure>\n\n\n\n<p>Now you can\nrun <strong>Analytical Report<\/strong> and select <strong>Custom Column1 stats.<\/strong> &nbsp;This will summarize user print sessions and let\nyou detect users who print a lot. However, this summary doesn&#8217;t take into\naccount the number of pages, so I recommend using Excel for more accurate assessment.\n<\/p>\n\n\n\n<p>To export\nto Excel, select <strong>File -&gt; Export Log<\/strong> from the main menu. Select <strong>Excel\n2007 document<\/strong> as a target format, make sure that <strong>All events<\/strong> is\nselected as export scope and tick fields Printer User, Printer and Pages. You\ncan untick other fields.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/excel-export-printlog.png\" data-rel=\"lightbox-gallery-dx9jqXhl\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" width=\"452\" height=\"293\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/excel-export-printlog.png\" alt=\"\" class=\"wp-image-400\" srcset=\"https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/excel-export-printlog.png 452w, https:\/\/eventlogxp.com\/blog\/wp-content\/uploads\/2019\/07\/excel-export-printlog-300x194.png 300w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><\/a><\/figure>\n\n\n\n<p>Press Export\nbutton and save your data in XLSX document.<\/p>\n\n\n\n<p>That&#8217;s it.\nNow you can open your XLSX file in Excel and build summary reports from it.<\/p>\n\n\n\n<p class=\"has-small-font-size\">P.S. Some companies may still use old Windows 2003 server to run their print servers. And Event Log Explorer will help in this case too. Print events for Windows 2003 are recorded into System log. Event source is Print, event id = 10. To display Printer user, Printer and page count as custom columns use <em>{PARAM[4]} \u00a0{PARAM[5]} and {PARAM[8]} respectively.<\/em><\/p>\n\n\n\n<p><a href=\"http:\/\/eventlogxp.com\/download\/elex_setup.exe\">Download Event Log Explorer and start exploring your events right now!<\/a><\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F394&#038;t=How%20to%20track%20printer%20usage%20with%20event%20logs&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F394&#038;p&#091;images&#093;&#091;0&#093;=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F07%2Fhow-to-track-printer-usage.jpg&#038;p&#091;title&#093;=How%20to%20track%20printer%20usage%20with%20event%20logs\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F394&#038;text=Check%20this%20Event%20Log%20Explorer%20blog%20post\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-reddit nolightbox\" data-provider=\"reddit\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Reddit\" href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F394&#038;title=How%20to%20track%20printer%20usage%20with%20event%20logs\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"reddit\" title=\"Share on Reddit\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/reddit.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-pinterest nolightbox\" data-provider=\"pinterest\" target=\"_blank\" rel=\"nofollow\" title=\"Pin it with Pinterest\" href=\"https:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F394&#038;media=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F07%2Fhow-to-track-printer-usage.jpg&#038;description=How%20to%20track%20printer%20usage%20with%20event%20logs\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"pinterest\" title=\"Pin it with Pinterest\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/pinterest.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F394&#038;title=How%20to%20track%20printer%20usage%20with%20event%20logs\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=How%20to%20track%20printer%20usage%20with%20event%20logs&#038;body=Check%20this%20Event%20Log%20Explorer%20blog%20post:%20https%3A%2F%2Feventlogxp.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F394\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none\" src=\"https:\/\/eventlogxp.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>At the time, the US companies spend a total of $120 billion on printed forms annually, and each employee uses about 10,000 sheets of paper according to CompTIA. That&#8217;s why printer usage monitoring is very important to cut costs for printer supplies and their utilization. Another reason to know who and how uses corporate printers is to manage your resources and plan upgrades or downgrades\u2026 <span class=\"read-more\"><a href=\"https:\/\/eventlogxp.com\/blog\/how-to-track-printer-usage-with-event-logs\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":402,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[41,10],"tags":[5,19,21,69,70],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/posts\/394"}],"collection":[{"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/comments?post=394"}],"version-history":[{"count":2,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/posts\/394\/revisions"}],"predecessor-version":[{"id":403,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/posts\/394\/revisions\/403"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/media\/402"}],"wp:attachment":[{"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/media?parent=394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/categories?post=394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eventlogxp.com\/blog\/wp-json\/wp\/v2\/tags?post=394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}