Posted to tcl by Bradipo at Fri Jan 10 23:44:52 GMT 2025view raw

  1. #!/bin/sh -e
  2. FILE=$(mktemp -p /var/spool/output/wf3820 job.XXXXXXXXXX)
  3. trap "rm ${FILE}" 0
  4.  
  5. /usr/local/bin/gs -sDEVICE=ppmraw -sOutputFile=- -r600x600 -dTextAlphaBits=4 -q -dNOPAUSE -dSAFER - | \
  6. /usr/local/bin/pnmtojpeg -quality 100 > "${FILE}"
  7. /usr/local/bin/ipptool -f "${FILE}" \
  8. http://wf3820:631/ipp/print \
  9. /var/spool/output/wf3820/print-job.test
  10.  

Add a comment

Please note that this site uses the meta tags nofollow,noindex for all pages that contain comments.
Items are closed for new comments after 1 week