Choose your language

Choose your login

Support

How can we help?

Lightbulb icon
Lightbulb icon

Here’s your answer

Sources:

Lightbulb icon

Oops!

We currently don’t have an answer for this and our teams are working on resolving the issue. If you still need help,
User reading a resource

Popular resources

Conversation bubbles

Contact us

How do I find the list of active User Clients?

THE PAGE APPLIES TO:

In Dashboard, we display the number of active clients, however we do not display the details of those active Clients. This information is sometimes helpful for Administrators to track down issues on their site. This can also provide information about who has it installed and who doesn’t. It provides them some visibility into their network.

There are two options available to retrieve this information:

Find active clients with netstat

Netstat is about the best way to see who has a connection open. Most clients will use ports 9191 and 9192.

For example: ‘netstat -na | find “9191”’ The PaperCut server and client have a keep-alive every minute. More information about this is available here.

If the client does not respond, its connection is closed.

Find active clients with print scripting

Another way to check for the PaperCut client is using Advanced print scripting. A print script could be written for each printer. It could be added to one printer and then copied to other printers.

A script like this will write an entry to the Application log for every print job: (See screenshot below)

/*
* Check for PaperCut client
*/
function printJobHook(inputs, actions) {
  var clientRunning = "NO";
  if (inputs.client.isRunning) {
    clientRunning = "YES";
  }

actions.log.info(‘Client running ' + clientRunning + ‘, ' + inputs.job.username + ‘, ’ + inputs.job.clientIP + ‘, ’ + inputs.job.clientMachineOrIP); }

​ ​

This option will provide information about the user client software when a print job is sent.


Categories: How-to Articles , User Client , Reporting


Keywords: Scripting

Comments

Last updated June 13, 2024