app-editors/xemacs-21.4.24-r1: alpha stable
[gentoo.git] / net-print / kyocera-1x2x-mfp-driver / files / rastertokpsl-fix.sh
1 #!/bin/bash
2 # This file is a slightly modified version of 'rastertokpsl_wrapper' script
3 # by Maxim Norin. See https://github.com/mnorin/kyocera-ppd-installer for
4 # the original version.
5 # Distributed under the terms of the GNU General Public License v2.
6 jobname="$(echo "$3" | grep -Eo "[[:alnum:]]" | tr -d "\n" | tail -c 20)"
7 /usr/libexec/cups/filter/rastertokpsl "$1" "$2" "${jobname}" "$4" "$5"