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 behavior. In other 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.
Scripting Printer Renaming
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