From e6bc56454cc5e85a2dfbbf92d865e9890bb40f1a Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Thu, 9 Feb 2017 21:15:37 +0100 Subject: [PATCH] update local printscript --- local/bin/uprint | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/local/bin/uprint b/local/bin/uprint index 4ca048c..b78ea80 100755 --- a/local/bin/uprint +++ b/local/bin/uprint @@ -12,7 +12,7 @@ if [ -z "$1" ]; then fi >&2 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 - curl --insecure -F "localFile=@$1" 'https://we02pr04.ugent.be/hp/device/this.printservice?printThis' -fi + curl --silent --insecure -F "localFile=@$1" 'https://we02pr04.ugent.be/hp/device/this.printservice?printThis' +fi > /dev/null