diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-3.04/misc')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-3.04/misc/hello.pdf | bin | 0 -> 917 bytes | |||
-rw-r--r-- | Build/source/libs/xpdf/xpdf-3.04/misc/xpdf.dt | 28 |
2 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-3.04/misc/hello.pdf b/Build/source/libs/xpdf/xpdf-3.04/misc/hello.pdf Binary files differnew file mode 100644 index 00000000000..d097335982d --- /dev/null +++ b/Build/source/libs/xpdf/xpdf-3.04/misc/hello.pdf diff --git a/Build/source/libs/xpdf/xpdf-3.04/misc/xpdf.dt b/Build/source/libs/xpdf/xpdf-3.04/misc/xpdf.dt new file mode 100644 index 00000000000..d3d41b7c897 --- /dev/null +++ b/Build/source/libs/xpdf/xpdf-3.04/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. |