This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Place this file at /usr/lib/cups/hp-virtual, chown root:root and chmod 0744. | |
| if [[ $# -eq 0 ]]; then | |
| echo 'file hp-virtual:/ "HP Virtual Printer" "HP Virtual Printer"' | |
| exit 0 | |
| fi | |
| JOBID="$1" | |
| USER="$2" |