D
D
DTX2018-06-27 19:19:13
Windows
DTX, 2018-06-27 19:19:13

How can I catch print jobs?

You need to see at the end of the day how many copies were sent to the printer, and what size they were. Multiple printers can be connected to a computer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2018-06-27
@NeiroNx

Print Server
https://habr.com/post/257297/

A
Andrey Ivanov, 2018-06-28
@rus0nix

The easiest way is to use "System Monitor". A limited number of counters are available, but for the sake of a little statistics it may be enough.
To make some counters reset to 0, I restart the print queue with a script:

net stop "spooler"
del /S /Q c:\windows\system32\Spool\Printers\*
net start "spooler"

If you need to find out the number of printed pages through a script, then here's an example using Powershell:
get-counter "\Очередь печати(_total)\Всего напечатано страниц" | Foreach-Object {$_.CounterSamples[0].CookedValue}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question