~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/libs/xpdf/xpdf-3.02/misc/xpdf.dt

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# simple CDE action for xpdf
 
2
# written by Roland.Mainz@informatik.med.uni-giessen.de
 
3
#
 
4
# To use, copy this file into $HOME/.dt/types
 
5
#
 
6
# NOTE: this overrides the actions AcroRead and AcroReadPrint 
 
7
# defined in /usr/dt/appconfig/types/C/solaris.dt
 
8
 
 
9
ACTION AcroRead
 
10
{
 
11
        TYPE            COMMAND
 
12
        WINDOW_TYPE     NO_STDIO
 
13
        EXEC_STRING     xpdf "%(File)Arg_1%"
 
14
}
 
15
 
 
16
# NOTE: Add a '-level1' switch to pdftops if your printer does not
 
17
#       support Level 2 Postscript.
 
18
ACTION AcroReadPrint
 
19
{
 
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}"'
 
26
}
 
27
 
 
28
# EOF.