update local printscript

This commit is contained in:
Felix Van der Jeugt 2017-02-09 21:15:37 +01:00
parent 9e58a499cb
commit e6bc56454c
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -12,7 +12,7 @@ if [ -z "$1" ]; then
fi >&2 fi >&2
if [ "$1" = "-c" -o "$1" = "--colour" ]; then if [ "$1" = "-c" -o "$1" = "--colour" ]; then
curl --insecure -F "fileToPrint=@$2" 'https://we02pr06.ugent.be/hp/device/Print/Print' curl --silent --insecure -F "fileToPrint=@$2" -F "FormButtonSubmit=Print" 'https://we02pr06.ugent.be/hp/device/Print/Print'
else else
curl --insecure -F "localFile=@$1" 'https://we02pr04.ugent.be/hp/device/this.printservice?printThis' curl --silent --insecure -F "localFile=@$1" 'https://we02pr04.ugent.be/hp/device/this.printservice?printThis'
fi fi > /dev/null