diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-15 23:31:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-15 23:31:35 +0000 |
commit | 08bed0cad41932663940d45d7fcc96986c2cca3c (patch) | |
tree | b54bb3a7f70e6a42b9117173b01db776e7c2ab23 /Build/source/libs/xpdf/xpdf-src/misc/xpdf.dt | |
parent | f0f9c5a0cfeffd612a08680752e666fcefd170ed (diff) |
rename xpdf-3.04* to xpdf-{src,PATCHES,foolabs} for new convention
git-svn-id: svn://tug.org/texlive/trunk@39736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/misc/xpdf.dt')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-src/misc/xpdf.dt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/misc/xpdf.dt b/Build/source/libs/xpdf/xpdf-src/misc/xpdf.dt new file mode 100644 index 00000000000..d3d41b7c897 --- /dev/null +++ b/Build/source/libs/xpdf/xpdf-src/misc/xpdf.dt @@ -0,0 +1,28 @@ +# 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. |