Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space DMOWT and version 7.21

...

Sv translation
languageen

ThePrint Monitor interceptor allows you to monitor operations related to printing documents on local and network printers, as well as creating print tasks via a terminal session. 

Информация
titleNote:

The rule applies on computers with MS Windows OS, Linux-family OS, and macOS.

Agent on Astra Linux OS, RED OS, and macOS might create several events in some cases of printing interception. Such situation might occur if a printing task is transmitted through several printing servers and intercepted on them with big time differences.

If the printing server and Device Monitor Agent are installed on Linux-family OS:

  • The the user who sent a file for printing is not detected;
  • Number number of pages in the shadow copy is not detected;
  • Documents documents sent for printing via terminal session cannot be intercepted:;
  • Shadow shadow copies of intercepted printing events might have a different format.

If Device Monitor Agent is installed on RED OS:

  • The the System does not intercept jobs sent from some applications (like Pluma editor) to a remote print server in case printing is set up for a local CUPS server (that is, if /etc/cups/client.conf file contains no ServerName directive).

If Device Monitor Agent is installed on macOS:

  • Printing printing may stop be intercepted after the CUPS printing system is reconfigured to not create copies of printed files and if during reconfiguration the Agent was active;
  • System system might create events in case of cancelling of printing.

To configure the rule:

  1. Open the Create rule window window (see "Создание правил") and in the Name field, specify the rule name.
  2. In the Interceptor field, select Print Monitor.
  3. If necessary, you can specify restrictions for print tasks using masks:

    • Job Mask. A mask is used for a task (document) which is sent to print. If you want to set the mask, select the checkbox and specify the mask. 
      The print task name is formed by the application, from which document is sent to print. So, the name can be any text, not necessarily related to the type of the document.
      In the mask, you can use wildcards: «"?» " to replace one character or «"*» " to replace several characters. Spaces are treated as a part of the task name1.
    • Process Mask. A mask is used for the process, which executes the print task. If you want to set a mask for a process, select the checkbox and specify the mask. 
      The name (a full path) of the process is obtained for the process, in whose context rendering of the print task is performed. In some cases (local LPT- and COM-printers), printing subsystem can perform rendering in the context of the Print Spooler service. The path to the executable file of the service is %SystemRoot%\system32\spoolsv.exe.
      For the process name to be identified correctly, it is necessary to set the Print directly to the printer parameter in the printer properties (Printer properties > Additionally). Then, the task will be processed in the context of the application, from which the document is sent to print. However, in this case, printing will be synchronous, so you won't be able to work with the application until the document is printed.
      In the task mask, you can use wildcards: «"?» " to replace one character or «"*» " to replace character set. Spaces are treated as a part of the task name.
  4. If you want to create shadow copies of printed documents and send them to Traffic Monitor, select the Create shadow copy checkbox2.

  5. Define a period of the rule action. By default, the rule is always in effect (the Always option is checked). To specify the rule duration, clear the Always check box and specify dates and time in the From and To fields.
  6. When all parameters are configured, click Save.

Example:

To intercept the printing task file with .txt extension3, in notepad.exe:

  1. In Process Job Mask line enter , enter *.txt*
  2. In Process Mask line enter , enter *nodepad.exe

Якорь
note
note

Предупреждение
titleImportant!

1The title for printing task is being generated by the application, where from the document is sent for printing. That's why the title may be any text and not the one that is a document title.

2 If there is less free space on the computer than required by the policy (see "Создание теневых копий и запрет операций при нехватке свободного места"), then the document will be printed without creating a shadow copy.

3 The printing tasks are to be intercepted in case the user OS displays the files extension (In Folder options, uncheck Hide extension for registered file types).

Предупреждение
titleImportant!

In case the time of printing from a network printer increases when the rule is active, add the IP address of the printer to the list of exceptions from network interception. Make sure the address is static.