Remote client usage
The remote client is a separate program that is installed on client computers and monitors all local printers on those computers.
Advantages of using the remote client:
For the monitoring program to be able to receive data from remote clients, it is necessary to enable the "Enable TCP/IP server" option. The received data will be also displayed in the main window of the program and processed according to the program settings.
If the "Send monitor settings to remote clients" option is enabled (fig. 2.7.5), all options from the "Monitor options" page will be automatically sent to remote clients as soon as they are modified on the server software. If this option is disabled, every client can use its own monitor options.
Fig. 2.7.5. Network server
The client installation software is distributed as a separate installation package in the MSI format. This installation file format makes its installation on client computers considerably easier. In particular, you can do it remotely with the help of the Active Directory services.
It is possible to install the client from the command line specifying the default parameters:
msiexec /i "C:\PrinterMonitorClient.msi" AGG_INSTALLDESKTOPSHORTCUT="" AGG_DONTINSTALLPROGRAMGROUP="1" /qn
Command line parameters:
/qb – quiet installation with the minimum interface
/qn – quiet installation without any requests
AGG_INSTALLDESKTOPSHORTCUT="1" - create a desktop shortcut
AGG_INSTALLDESKTOPSHORTCUT="" - do not create a desktop shortcut
AGG_DONTINSTALLPROGRAMGROUP="1" - do not create a program group in the "Start" menu
AGG_DONTINSTALLPROGRAMGROUP="" - create a program group in the "Start" menu
AGG_PROGRAMGROUP="Accurate Printer Monitor Client" - create a group in the "Start" menu with the specified name
WIXUI_INSTALLDIR="C:\Custom Program Folder\" - install the program in the specified folder
AGG_SERVER="192.168.0.1" - specify the address of the data collection server the monitoring data will be sent to
Note: During the installation of the remote client, the installation program will automatically add exceptions for port 4488 for the remote client in the standard Windows firewall. If some other firewall is used on client computers, you should allow TCP connections via TCP port 4488.
Remote client configuration
To configure the remote client, you should prepare and apply the program settings on the client computers. To do it:
If you enable the "Send monitor options to remote clients" option (fig. 2.7.5) on the server and install the client with the AGG_SERVER command line parameter, there is no need to configure the remote client. You can complete the above steps in case of the detailed configuration of parameters or if you change the address of the data collection server.
How the remote client works
The program is installed as a Windows service and is automatically run at Windows startup. While running, the client monitors adding and removing printers. As soon as a new printer is added, the program automatically starts to monitor events on this printer. When an event occurs on the printer, the client sends it to the server. When the client receives a configuration update command from the server, it sets the received settings and saves them to the registry. If the connection to the server is unsuccessful, the client saves the events to the internal storage. The events saved to the storage will be sent when the next event occurs, but not earlier than in 10 seconds. The storage can store 1000 events. When the storage is full, the oldest events are permanently deleted from the storage.
The process of how the program works is logged in the file c:\ProgramData\Accurate Printer Monitor\printermoncli-service.log