[cups] Epson WF-6090: Varying line thickness on prints with horizontal lines

Johannes Meixner jsmeix at suse.de
Tue Jun 19 06:38:05 PDT 2018


Hello,

typo corrections "myfilter" -> "epson-escpr-wrapper":

Something like the following should do it:
-------------------------------------------------------------------
#! /bin/bash
# debug info in /var/log/cups/error_log
set -x
# set inputfile to where the input comes from
inputfile="-"
test "$6" && inputfile="$6"
# forward input to file
if cat $inputfile >/tmp/epson-escpr-wrapper.input
then echo 'INFO:' 1>&2
     exit 0
fi
echo 'ERROR: failed to write /tmp/epson-escpr-wrapper.input' 1>&2
exit 1
-------------------------------------------------------------------

Install this script as /usr/lib/cups/filter/epson-escpr-wrapper
with the same owner, group and permissions as the
other filters (usually "rwxr-xr-x root root").


Kind Regards
Johannes Meixner
-- 
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)



More information about the cups mailing list