You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
751 B
28 lines
751 B
# simple CDE action for xpdf
|
|
# written by Roland.Mainz@informatik.med.uni-giessen.de
|
|
#
|
|
# To use, copy this file into $HOME/.dt/types
|
|
#
|
|
# NOTE: this overrides the actions AcroRead and AcroReadPrint
|
|
# defined in /usr/dt/appconfig/types/C/solaris.dt
|
|
|
|
ACTION AcroRead
|
|
{
|
|
TYPE COMMAND
|
|
WINDOW_TYPE NO_STDIO
|
|
EXEC_STRING xpdf "%(File)Arg_1%"
|
|
}
|
|
|
|
# NOTE: Add a '-level1' switch to pdftops if your printer does not
|
|
# support Level 2 Postscript.
|
|
ACTION AcroReadPrint
|
|
{
|
|
TYPE COMMAND
|
|
WINDOW_TYPE NO_STDIO
|
|
EXEC_STRING ksh -c ' \
|
|
MYFILE="%(File)Arg_1%" ; \
|
|
pdftops "${MYFILE}" /dev/stdout | \
|
|
dtlp -w -b "${MYFILE}"'
|
|
}
|
|
|
|
# EOF.
|
|
|