# 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 -s ``` ## Usage ``` printer.sh list Lists all printers printer.sh duplicate Duplicates a printer printer.sh dup Alias of 'duplicate' printer.sh rename Renames a printer internally printer.sh ren Alias of 'rename' printer.sh clear-queue Clears the current queue of a printer printer.sh cq Alias of 'clear-queue' ```