development-curl is a virtual target
[AROS-Contrib.git] / arospdf / misc / xpdf.dt
blobd3d41b7c8976f8574ce411e8dc13d7a8a86c2311
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
9 ACTION AcroRead
11         TYPE            COMMAND
12         WINDOW_TYPE     NO_STDIO
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.
18 ACTION AcroReadPrint
20         TYPE            COMMAND
21         WINDOW_TYPE     NO_STDIO
22         EXEC_STRING     ksh -c ' \
23                 MYFILE="%(File)Arg_1%" ; \
24                 pdftops "${MYFILE}" /dev/stdout | \
25                 dtlp -w -b "${MYFILE}"'
28 # EOF.