Add actions and types from Antonis Tsolomitis' desktop_approots contribution
[oweals/cde.git] / cde / programs / localized / C / types / dthelpprint.dt
1 # ##########################################################################
2
3 #      dthelpprint.dt
4
5 #      Actions and filetypes for dthelpprint files.
6
7 #     (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
8 #     (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
9 #     (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
10 #     (c) Copyright 1993, 1994, 1995 Novell, Inc.
11
12 #      $XConsortium: dthelpprint.dt.src /main/4 1996/04/23 17:35:22 drk $
13
14 # ##########################################################################
15
16 set DtDbVersion=1.0
17
18 # ##########################################################################
19
20 # WARNING:  This file may be overwritten in subsequent installations of
21 #     the Common Desktop Environment (CDE).  Consequently, any system wide
22 #     changes should be made to an equivalent database file in
23 #     /etc/dt/types and not in this file.
24
25 # ##########################################################################
26
27 # ##################################################################
28
29 # Data Attributes
30
31 # ##################################################################
32 DATA_ATTRIBUTES DTHELP_PRINT_FILE
33 {
34         ACTIONS         Print
35         ICON            Dthvol
36         NAME_TEMPLATE   _phlp%s
37         DESCRIPTION     This file is generated when you print from \
38                         the help system.  Its data type is named \
39                         DTHELP_PRINT_FILE.  DTHELP_PRINT_FILE files have \
40                         names beginning with '_phlp'.
41         TYPE_LABEL      DTHELP_PRINT_FILE
42 }
43 DATA_CRITERIA DTHELP_PRINT_FILE1
44 {
45         DATA_ATTRIBUTES_NAME DTHELP_PRINT_FILE
46         MODE            f
47         NAME_PATTERN    _phlp*
48 }
49 ACTION Print
50 {
51         ARG_TYPE        DTHELP_PRINT_FILE
52         TYPE            COMMAND
53         WINDOW_TYPE     NO_STDIO
54         EXEC_STRING     /usr/dt/bin/dtlp -f "%(File)Arg_1%"                 ${LPDEST:+-d} ${LPDEST:+$LPDEST}                 -n "${DTPRINTCOPYCOUNT:-1}"                 -b "${DTPRINTBANNERTITLE:-CDE Help}"                 "${DTPRINTCOMMAND:+-m}"                         "${DTPRINTCOMMAND:+$DTPRINTCOMMAND}"                 "${DTPRINTFROMCODESET:+-c}"                         "${DTPRINTFROMCODESET:+$DTPRINTFROMCODESET}"                 "${DTPRINTCODESET:+-t}" "${DTPRINTCODESET:+$DTPRINTCODESET}"                 -u "${DTPRINTUSERFILENAME:-Help Information}"                 -w "${DTPRINTRAW:-$FALSE}"                 -s "${DTPRINTSILENT:-$TRUE}"                 -e "${DTPRINTFILEREMOVE:-$TRUE}";
55 }
56 # ######################## EOF ############################################