1
# simple CDE action for xpdf
2
# written by Roland.Mainz@informatik.med.uni-giessen.de
4
# To use, copy this file into $HOME/.dt/types
6
# NOTE: this overrides the actions AcroRead and AcroReadPrint
7
# defined in /usr/dt/appconfig/types/C/solaris.dt
13
EXEC_STRING xpdf "%(File)Arg_1%"
16
# NOTE: Add a '-level1' switch to pdftops if your printer does not
17
# support Level 2 Postscript.
22
EXEC_STRING ksh -c ' \
23
MYFILE="%(File)Arg_1%" ; \
24
pdftops "${MYFILE}" /dev/stdout | \
25
dtlp -w -b "${MYFILE}"'