I use the following small script, calling it "dvilj.lyx" and setting the
printing program in lyxrc to "dvilj.lyx", with all the other options as
for dvilj:

#!/bin/sh
# dvilj.lyx
# dvilj wrapper for LyX
# RRT 18/1/98

prog=dvilj4
for i; do
        if [ "$i" = "-e" ]; then
                parms="$parms -e"
        else
                parms="$parms$i "
        fi
done

$prog $parms

Reply via email to