Find your dream job at PaperCut

Choose your language

Choose your login

Contact us

Help Center menu

PRODUCT MANUALS

PaperCut NG & PaperCut MF Manual

PRODUCTS FEATURED

Add and remove/delete/ignore printers

On Windows

PaperCut NG/MF tracks all print queues local to the system by default. Local print queues are those that have been set up on the server running PaperCut NG/MF with a local port, such as: a TCP/IP connection to a network printer, an LPR connection, or a printer attached locally via USB or LPT. Standard Windows print queues that are hosted on a different system, or re-shared, are not tracked (you can track these queues by setting up a secondary print server, see Configuring secondary print servers and locally attached printers).

New print queues added to the system should show up automatically in PaperCut NG/MF, however, in some rare situations the printer shows up only after the first print job is sent.

Under some situations you might not want to track all printers. Some examples of why an administrator might not want to monitor a printer include:

  • The printer is a virtual printer such as a PDF generator, FAX, or document management program.

  • The administrator might want to offer free printing on a selected printer and is not concerned with monitoring (silent monitoring with a zero page cost also achieves this).

  • The printer might not be supported by PaperCut NG/MF and needs to be ignored.

The Print Provider component is responsible for locating and tracking the printers. To instruct it to ignore a printer:

  1. On the computer system hosting the queue to be added/removed/ignored, open the file [app_dir]\providers\print\win\print-provider.conf in a text editor such as Notepad.

  2. Locate the line IgnorePrinters= and enter the full name of the printer on the right-hand-side of the equals line. For example: IgnorePrinters=Office Printer

    If you have multiple printers to ignore, then separate the each printer name with a comma. For example: IgnorePrinters=Office Printer,Copy Room Printer

    Wildcard expressions can also be used. Use ‘*’ to ignore any span of characters, and ‘?’ to ignore a single character. For example, to ignore any printers that start with the phrase Copy Room: IgnorePrinters=Copy Room

  3. Restart (stop then start) the PaperCut Print Provider component under Start > Control Panel > Administrative Tools > Services

  4. In the Admin interface, delete the printer from PaperCut NG/MF:

    1. Click Printers; then click the name of the device you want to delete.

    2. In the Actions menu, click Delete this device.

    3. Click OK.

  5. Test the changes by printing to the deleted printer and ensuring the printer does not re-register itself in the system. It if does, verify the name assigned under the IgnorePrinters= setting is correct.

On Mac

When you first install PaperCut NG/MF, all printers are automatically added. If you add any printers to your print server after installation, they are also automatically added to PaperCut NG/MF. The monitored printers are listed on the Printer List page. If the printers are not displayed, try printing a document. The first job triggers registration.

You can, however, change the configuration so that new printers are not automatically added. You might want to do this if you do not want all printers monitored. If that is the case, you need to manually add the required printer. For more details, see To manually add a printer.

To manually add a printer
  1. Ensure the Print Setup Utility is closed.

  2. Stop new printers from being automatically added to PaperCut NG/MF:

    1. On the computer system hosting the queue to be added/removed/ignored, In a text editor such as Notepad, open the file: [app_dir]\providers\print\mac\print-provider.conf .

    2. Locate the line EnablePrinterAutoImport=on.

    3. Change on to off.

    4. Save the file.

    5. Restart the secondary server. The service is called papercut-event-monitor on both Mac and Linux machines. For more information, see How to Enable Debug in the Print Provider.

  3. On the print server, open a terminal.

  4. Navigate to:

        cd  [app_directory]/providers/print/mac-*
    
  5. Type the following command:

        sudo ./configure-cups --list
    

    A list of all printers connected to the server is displayed.

  6. To add a printer, type the following command:

        sudo ./configure-cups --add <printer name>
    

    The printer is now added to the server.

  7. Type the following commands:

        cd  ~/providers/print/mac
        sudo ./configure-cups --help
    

    The options available in this tool are displayed.

  8. Test the changes by printing to the printer.

Delete a printer

You might want to delete a printer for the following reasons:

  • the printer is decommissioned

  • you no longer want to track the printer

To remove a decommissioned printer
  1. Remove the print queue off your print server

  2. In the PaperCut NG/MF Admin interface:

    1. Click the Printers tab.
      The Printer List page is displayed.

    2. Select a printer.
      The Printer Details page is displayed showing the Summary tab contents.

    3. In the Actions menu, click Delete this printer.

To stop monitoring a printer
  1. Stop new printers from being automatically added to PaperCut NG/MF:

    1. On the computer system hosting the queue to be added/removed/ignored, In a text editor such as Notepad, open the file:

        [app_dir]\providers\print\mac\print-provider.conf
      
    2. Locate the line EnablePrinterAutoImport=on.

    3. Change on to off.

    4. Save the file.

    5. Restart the secondary server.
      The service is called papercut-event-monitor on both Mac and Linux machines. For more information, see How to Enable Debug in the Print Provider.

  2. On the print server, open a terminal.

  3. Navigate to:

    cd  [app_directory]/providers/print/mac-*
    
  4. Type the following command:

    sudo ./configure-cups --list
    

    A list of all printers connected to the server is displayed.

  5. To delete a printer, type the following command:

    sudo ./configure-cups --remove <printer name>
    

    The printer is now removed from the server.

  6. In the Admin interface, delete the printer from PaperCut NG/MF:

    1. Click the Printers tab.
      The Printer List page is displayed.

    2. Select a printer.
      The Printer Details page is displayed showing the Summary tab contents.

    3. In the Actions menu, click Delete this printer.

  7. Test the changes by printing to the deleted printer and ensuring the printer does not re-register itself in the system. It if does, verify that it is not being monitored using configure-cups.

On Linux

PaperCut NG/MF tracks printing by integrating with the Common UNIX Printing System (CUPS), the printing system on Linux. For a printer to be tracked, CUPS needs to be told to route print jobs through PaperCut NG/MF before printing.

To do this, the printers.conf file must be edited. This can either be done manually, or assisted via the configure-cups script.

Set up printers using a script

  1. On the print server, open a terminal.

  2. Type the following commands:

    cd  ~/providers/print/linux-*
    sudo ./configure-cups --help
    

    The options available in this tool are displayed.

  3. To monitor all printers on your network, type:

    --add-all
    
  4. To monitor a subset of printers in your network:

    1. Type --list-all. A list of all printers on your network is displayed.

    2. For each printer you want to add, type --add <printer name>

To use the script, run the script file at [app-path]/providers/print/linux-*/configure-cups. Read the script’s instructions carefully to enable monitoring on the desired printers.

Set up printers manually

  1. Open your printers.conf in a text editor such as vim. On most Linux distributions printers.conf is located at /etc/cups/printers.conf.

  2. Prepend papercut: to the DeviceURI of the printers you want to track. After the modification a DeviceURI line might look like:

    DeviceURI papercut:ipp://1.2.3.4/printers/My_Printer
    
  3. Restart CUPS in the way appropriate to your distribution. E.g.:

    /etc/init.d/cupsys restart
    
  4. Perform a test print on each printer. This causes the printers to be registered. This step is not required with the configure-cups script, because the script registers the printers automatically.

  5. The printers should now be registered. Log in to PaperCut NG/MF as admin and verify that the printers are now listed on the Printer List page. Verify that the test prints sent previously were tracked correctly.

Delete a printer

  1. Stop new printers from being automatically added to PaperCut NG/MF:

    1. On the computer system hosting the queue to be added/removed/ignored, In a text editor such as Notepad, open the file:

        [app_dir]\providers\print\mac\print-provider.conf
      
    2. Locate the line EnablePrinterAutoImport=on.

    3. Change on to off.

    4. Save the file.

    5. Restart the secondary server. The service is called papercut-event-monitor on both Mac and Linux machines. For more information, see How to Enable Debug in the Print Provider.

  2. On the print server, open a Linux Shell Command Terminal.

  3. Navigate to:

    cd  [app_directory]/providers/print/linux-*
    
  4. Type the following command:

    sudo ./configure-cups --list
    

    A list of all printers connected to the server is displayed.

  5. To delete a printer, type the following command:

    sudo ./configure-cups --remove <printer name>
    

    The printer is now removed from the server.

  6. In the Admin interface, delete the printer from PaperCut NG/MF:

    1. Click the Printers tab.
      The Printer List page is displayed.

    2. Select a printer.
      The Printer Details - Summary page is displayed.

    3. In the Actions menu, click Delete this printer.

  7. Test the changes by printing to the deleted printer and ensuring the printer does not re-register itself in the system. It if does, verify that it is not being monitored using configure-cups.

View all the other command line options available

  1. Open a Linux Shell Command Terminal.

  2. Navigate to:

      cd [app_directory]/providers/print/linux-*
    
  3. Run the following command:

      ./configure-cups --help
    
  4. All the other command line options available are listed.

Comments