How to Rename a Printer

To uniquely identify a print queue PaperCut uses a combination of the hostname the printer is hosted on and the printer’s queue name. If either of these change, for example, because the server was migrated, or the printer was renamed, then PaperCut will treat the result as a new printer (the old printer will still be available along with all its logs). In some cases, this is the desired behaviour. Alternatively, cases it may be preferred to rename the ‘old’ printer to its new name so that logs and settings are maintained.

Printers may be renamed from the administration interface. Select the printer via:

Printers → Printer List and click Rename this printer …

Note: Depending on the name is changed when running on Mac OS X, you may need to run the Control Printer Monitoring.command to re-enable the new printer.

Renaming a printer via Print Script

Renaming a printer is also possible via the server-command scripting tool (see manual reference for PaperCut). For example to rename a printer from “oldserver\My Printer” to “newserver\My Printer”, use the command:

    cd C:\Program Files\PaperCut NG\server\bin\win
    server-command rename-printer oldserver "My Printer" newserver "My Printer"
  • Note that case sensitivity can be important, so be sure to enter the printer’s name exactly as it appears in the OS (and to use the queue name, not the share name).

After renaming a printer perform some test prints with the new print queue to ensure that printing is logged under the new printer entry as expected.

Note: printer renaming features were first introduced in PaperCut version 9.6

I have got Duplicated Printers, What should I do?

This usually happens, if the new printer has got the same name as the new printer, which explains why they are duplicated. The renaming aspect of it is just part of how the printers are referenced in PaperCut- you can rename the old queue to the new queue in PaperCut and the records will merge, but there’s not really a great way of changing that behaviour.

Also, steps to rename a printer in the manual are here: Rename a printer

Please note: If there is already a printer with the chosen name, for example, because the print queue has already been renamed in the OS and was automatically added to PaperCut, select the If a printer with the new name already exists, delete and replace it checkbox.

See also:


Categories: How-to Articles, Print Queues


Keywords: change printer name, rename printers after migration, server hostname change

Comments