You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
968 B
968 B
Printer Admin Script for IServ
A small collection of useful commands not available out-of-the-box to manage CUPS printers on an IServ server.
Running the script
Either use wget/curl to download the script and run it seperately like so:
# wget -O printer.sh "https://link.gruelag.de/psh"
# bash printer.sh ...
or run it directly from the web (usually rather discouraged):
# wget -qO- "https://link.gruelag.de/psh" | bash
Usage
printer.sh list Lists all printers
printer.sh duplicate <printer-name> Duplicates a printer
printer.sh dup <printer-name> Alias of 'duplicate'
printer.sh rename <printer-name> <new-name> Renames a printer internally
printer.sh ren <printer-name> <new-name> Alias of 'rename'
printer.sh clear-queue <printer-name> Clears the current queue of a printer
printer.sh cq <printer-name> Alias of 'clear-queue'