|
|
|
|
@ -5,14 +5,14 @@ A small collection of useful commands not available out-of-the-box to manage CUP
|
|
|
|
|
Either use wget/curl to download the script and run it seperately like so:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
# wget -O printer.sh ""
|
|
|
|
|
# wget -O printer.sh "https://link.gruelag.de/psh"
|
|
|
|
|
# bash printer.sh ...
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
or run it directly from the web (usually rather discouraged):
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
# wget -O- "" | bash -
|
|
|
|
|
# wget -qO- "https://link.gruelag.de/psh" | bash
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
@ -24,4 +24,4 @@ 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'
|
|
|
|
|
```
|
|
|
|
|
```
|
|
|
|
|
|