This is an example definition.
#----------------------------------------
PostScript Print (dvips) \
: cd %d; \
dvips -f -t %s %O{-t -landscape} %F | lpr \
: cd %d; \
dviselect -i %F %c > %T/xgdvi-%t; \
dvips -f -t %s %O{-t -landscape} %T/xgdvi-%t | lpr; \
rm -f %T/xgdvi-%t \
: lpq \
: lprm :
#----------------------------------------
DVI Direct Print (lpr -d)\
: lpr -d %f \
: dviselect -i %f %c | lpr -d \
: lpq \
: lprm :
#----------------------------------------