# # Module filter/dvi for apsfilter # # Copyright 1996 S.u.S.E. GmbH # Author: Werner Fink # # # findfilter () is defined in handler/functions called by apsfilter # # print dvi files # # PRINT_DVI = full command to print dvi files defined in # /etc/apsfilterrc or /etc/apsfilterrc.$PRINTER # if [ -z "$PRINT_DVI" ]; then findfilter dvips DVIPS [ -z "$DVIPS_OPTS" ] && DVIPS_OPTS="-q" print_stdin() { $DECOMPRESS cat > $TMP_FILE $HAVE_DVIPS -f -o >(eval $PRINT_PS) $DVIPS_OPTS < $TMP_FILE } else # # Does the user have a better dvi print program ? # Ok, here we go !! # print_stdin() { $DECOMPRESS $PRINT_DVI } fi # # Declare for export # declare -xf print_stdin # # End #