print.dt.src 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. XCOMM ##########################################################################
  2. XCOMM
  3. XCOMM print.dt
  4. XCOMM
  5. XCOMM Action and DataType Definitions for the printing
  6. XCOMM
  7. XCOMM (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
  8. XCOMM (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
  9. XCOMM (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
  10. XCOMM (c) Copyright 1993, 1994, 1995 Novell, Inc.
  11. XCOMM
  12. XCOMM $XConsortium: print.dt.src /main/4 1996/04/23 17:36:13 drk $
  13. XCOMM
  14. #define HASH #
  15. %|nls-7001-#HASH The printer#|
  16. XCOMM
  17. XCOMM ##########################################################################
  18. set DtDbVersion=1.0
  19. XCOMM ##########################################################################
  20. XCOMM
  21. %|nls-10-#HASH WARNING:...#|
  22. XCOMM
  23. XCOMM ##########################################################################
  24. XCOMM ##################################################################
  25. XCOMM
  26. %|nls-11-#HASH Data Attributes#|
  27. XCOMM
  28. XCOMM ##################################################################
  29. DATA_ATTRIBUTES PRINTER_UNKNOWN
  30. {
  31. ACTIONS PrinterUnconfigured
  32. ICON DtPrtun
  33. IS_EXECUTABLE true
  34. DESCRIPTION %|nls-7009-#This#|
  35. TYPE_LABEL %|nls-31088-#PRINTER_UNKNOWN#|
  36. }
  37. DATA_CRITERIA PRINTER_UNKNOWN1
  38. {
  39. DATA_ATTRIBUTES_NAME PRINTER_UNKNOWN
  40. MODE f&x
  41. NAME_PATTERN *_Print
  42. }
  43. XCOMM
  44. %|nls-7002-#HASH The default#|
  45. XCOMM
  46. ACTION Print
  47. {
  48. LABEL %|nls-2-#Print#|
  49. ARG_TYPE *
  50. TYPE COMMAND
  51. WINDOW_TYPE NO_STDIO
  52. EXEC_STRING CDE_INSTALLATION_TOP/bin/dtlp "%(File)Arg_1%"
  53. DESCRIPTION %|nls-7010-#This#|
  54. }
  55. ACTION PrintRaw
  56. {
  57. TYPE COMMAND
  58. WINDOW_TYPE NO_STDIO
  59. EXEC_STRING CDE_INSTALLATION_TOP/bin/dtlp -w "%(File)Arg_1%"
  60. }
  61. XCOMM
  62. %|nls-7003-#HASH If no#|
  63. XCOMM
  64. ACTION Print
  65. {
  66. LABEL %|nls-2-#Print#|
  67. ARG_COUNT 0
  68. TYPE MAP
  69. MAP_ACTION Dtprintinfo
  70. }
  71. XCOMM
  72. %|nls-7023-#HASH The Print Manager#|
  73. XCOMM
  74. ACTION DtPrintManager
  75. {
  76. LABEL %|nls-7022-#Print Manager#|
  77. ICON FpPrtmg
  78. TYPE COMMAND
  79. WINDOW_TYPE NO_STDIO
  80. EXEC_STRING CDE_INSTALLATION_TOP/bin/dtprintinfo -all
  81. DESCRIPTION %|nls-7024-#The#|
  82. }
  83. XCOMM
  84. %|nls-7004-#HASH The Print Jobs#|
  85. XCOMM
  86. ACTION Dtprintinfo
  87. {
  88. LABEL %|nls-7011-#Print Jobs#|
  89. ICON Fpprnt
  90. TYPE COMMAND
  91. WINDOW_TYPE NO_STDIO
  92. EXEC_STRING CDE_INSTALLATION_TOP/bin/dtprintinfo -p "%(String)Arg_1%"
  93. DESCRIPTION %|nls-7012-#The#|
  94. }
  95. ACTION Dtprintinfo
  96. {
  97. LABEL %|nls-7011-#Print Jobs#|
  98. ARG_COUNT 0
  99. ICON Fpprnt
  100. TYPE COMMAND
  101. WINDOW_TYPE NO_STDIO
  102. EXEC_STRING CDE_INSTALLATION_TOP/bin/dtprintinfo
  103. DESCRIPTION %|nls-7012-#The#|
  104. }
  105. XCOMM ###############################################################
  106. XCOMM
  107. %|nls-7005-#HASH Actions for#|
  108. XCOMM
  109. XCOMM ###############################################################
  110. XCOMM
  111. %|nls-7006-#HASH If a file#|
  112. XCOMM
  113. ACTION DtPrint
  114. {
  115. LABEL %|nls-7013-#Default Printer#|
  116. ARG_TYPE *
  117. ICON Fpprnt
  118. TYPE COMMAND
  119. WINDOW_TYPE NO_STDIO
  120. EXEC_STRING CDE_INSTALLATION_TOP/bin/dtaction Print "%(File)Arg_1%"
  121. DESCRIPTION %|nls-7010-#The#|
  122. }
  123. XCOMM
  124. %|nls-7007-#HASH If no file#|
  125. XCOMM
  126. ACTION DtPrint
  127. {
  128. LABEL %|nls-7013-#Default Printer#|
  129. ARG_COUNT 0
  130. ICON Fpprnt
  131. TYPE MAP
  132. MAP_ACTION Dtprintinfo
  133. DESCRIPTION %|nls-7012-#The#|
  134. }
  135. XCOMM
  136. %|nls-7008-#HASH Here are actions#|
  137. XCOMM
  138. ACTION PrinterUnconfigured
  139. {
  140. LABEL %|nls-7014-#PrinterUnconfigured#|
  141. TYPE COMMAND
  142. WINDOW_TYPE NO_STDIO
  143. EXEC_STRING CDE_INSTALLATION_TOP/bin/dterror.ds \
  144. "%|nls-7015-#This#|" \
  145. "%|nls-7016-#Unconfigured Printer#|" \
  146. "%|nls-6-#OK#|" \
  147. "HELP"
  148. DESCRIPTION %|nls-7017-#The#|
  149. }
  150. ACTION Printer_Trash
  151. {
  152. TYPE COMMAND
  153. WINDOW_TYPE NO_STDIO
  154. EXEC_STRING CDE_INSTALLATION_TOP/bin/dterror.ds \
  155. "%|nls-7018-#Putting a#|" \
  156. "%|nls-7019-#Delete Printer#|" \
  157. "%|nls-6-#OK#|"
  158. DESCRIPTION %|nls-7020-#The#|
  159. }
  160. XCOMM ######################## EOF ############################################