You are here: Installation > Advanced implementation > Configuring Direct Printing > Install the Direct Print Monitor on a Linux computer

Install the Direct Print Monitor on a Linux computer

The process to install the Direct Print MonitorThe Direct Print Monitor is the Direct Printing component that tracks jobs between desktops and an MFD. on a Linux computer is the same no matter which operating system your Application ServerAn Application Server is the primary server program responsible for providing the PaperCut user interface, storing data, and providing services to users. PaperCut uses the Application Server to manage user and account information, manage printers, calculate print costs, provide a web browser interface to administrators and end users, and much more. is on.

Step 1: Ensure the primary server is set up correctly

Before installing the Direct Print Monitor, you should ensure that the primary server (Application Server) is set up and running correctly.

Verify that:

Step 2: Ensure firewall software is set to allow access to the port used by the Application Server

A computer with the Direct Print Monitor installed needs to communicate (initiate a TCP connection) on the port used by the Application Server (by default this is port 9191). Ensure that any firewall software on the primary Application Server is not set to block any incoming local network traffic on this port.

Step 3: Check that the host user account exists

On the computer, create a user account called papercut. Set the papercut user's home directory to the desired install location. This is normally /home/papercut. The method of creating this account is the same as that used for the primary server setup. For more information, see Installation.

Step 4: Install the Direct Print Monitor

Install the Print ProviderA Print Provider is a monitoring service installed on a secondary print server to allow PaperCut to control and track printers. This monitoring component intercepts the local printing and reports the use back to the primary Application Server. software onto the computer by copying all files and directories from the primary Application Server's directory:

For Linux Application Servers:

[app_path]/providers/print/linux-x64/* (64-bit)

For Windows Application Servers:

[app_path]/providers/print/win/* (64-bit)

To the equivalent location on the computer:

/home/papercut/providers/print/linux-x64/ (64-bit)

Perform the copy operation as the papercut user so that files are owned by the papercut user. You can use any method to copy the files, including over the network or via a USB key. If the primary server is also Linux, the simplest way would be use Secure Copy (scp) as follows:

shell> su - papercut

shell> mkdir -p providers/print

shell> cd providers/print

shell> scp -r primary.server.name:/home/papercut/providers/print/* .

After the copy operation is performed, execute the setperms and roottasks scripts as root:

64-bit

shell> su - root

shell> sh ~papercut/providers/print/linux-x64/setperms

shell> sh ~papercut/providers/print/linux-x64/roottasks

Step 5: Configure the Direct Print Monitor on each computer

The Print Provider on the computer needs to know where the primary server is installed (e.g. Its IP address) and that it should be running in Direct Printing mode.

  1. Open the following file in a text editor:

    /home/papercut/providers/print/linux-x64/print-provider.conf (64-bit)

  2. Locate the line starting with ApplicationServer= and change localhost to the name or IP address of the primary server.

  3. Locate the line with #DirectPrintingMode=false and change it to:

    DirectPrintingMode=true

    Note:

    Make sure you remove # at the beginning of the line.

  4. Save the file and exit the text editor.

  5. Integrate the binaries copied in step 4 into the CUPSCommon User Printing System (CUPS) is a printing system for Unix operating systems that allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer., SambaSamba is a Windows interoperability suite of programs for Linux and Unix. It is used to integrate Linux/Unix servers and desktops into Active Directory environments. It can function as both a domain controller or as a regular domain member., or Novell iPrintiPrint is a technology developed by Novell that allows users to install printer-drivers from a web browser and to submit print jobs over the Internet or a local network through the standard Internet Printing Protocol (IPP). Common desktop operating systems such as Windows, Linux, and Mac support iPrint. print queues.

    This process is detailed in Linux print queue integration and Step 5 - Printer/iPrint configuration.

Note:
  • If required, you can also modify the other default configuration details. For more information see Add and remove/delete/ignore printers
  • If you need to change the configuration after deploying Direct Printing, you need to do it manually by updating the print-provider.conf file on each computer.
Step 6: Test

The Direct Print Monitor should now be configured.

  1. Log in to the Application Server as "admin" and verify that the printer queues are linked to the printer:
    1. Click the Printers tab.

      The Printer List page is displayed.

    2. Select a printer.

      The Printer Details - Summary page is displayed.

    3. Click the Queues tab.

    4. Verify that the printer queues are linked to the printer.
  2. Perform a multi-page test print on each printer and verify that print jobs are tracked correctly.