home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / TEDdesk / reloc.8 / $TED_DIR / app-defaults / C / Dthelpprint < prev    next >
Text File  |  1998-08-19  |  8KB  |  260 lines

  1. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  2. !!! File:            Dthelpprint
  3. !!! Default Location:    /usr/dt/app-defaults/C/Dthelpprint
  4. !!! Other OK locations: /usr/lib/X11/app-defaults/Dthelpprint
  5. !!!                     $HOME/Dthelpprint
  6. !!!
  7. !!! (c) Copyright 1993, 1994 Hewlett-Packard Company
  8. !!! (c) Copyright 1993, 1994 International Business Machines Corp.
  9. !!! (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  10. !!! (c) Copyright 1993, 1994 Novell, Inc.
  11. !!!
  12. !!! Purpose:        dthelpprint application default resources
  13. !!! Description:
  14. !!!   This file contains a list of all resources supported by
  15. !!!   dthelpprint and their default or useful alternative values.  
  16. !!!   To customize dthelpprint operation, these resources can be 
  17. !!!   specified on the dthelpprint command line, added to the current 
  18. !!!   session database, or a put in a private Dthelpprint app-default 
  19. !!!   file in $HOME/Dthelpprint.
  20. !!! Used by:        dthelpprint
  21. !!! Product:        @(#)Common Desktop Environment 1.0 
  22. !!! Revision:        $XConsortium: Dthelpprint /main/cde1_maint/1 1995/07/14 23:37:42 drk $
  23. !!! Warning:
  24. !!!   Because of how dthelpprint merges resources from various
  25. !!!   locations, a resource should only be uncommented when it
  26. !!!   is explicitly set.  Defining a resource without a value
  27. !!!   actually overrides a previous value, which may cause
  28. !!!   incorrect behaviour.
  29. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  30.  
  31. !!! if defined, sends rsrc db and commands to stdout
  32. !dthelpprint.debugHelpPrint:    
  33. !Dthelpprint.DebugHelpPrint:    
  34.  
  35. !!! what resources to use
  36. !application.name:    
  37. !Application.Name:    
  38.  
  39. !application.class:    
  40. !Application.Class:    
  41.  
  42. !!! what resources to use
  43. !dthelpprint.name:    dthelpprint
  44. !Dthelpprint.Name:    
  45.  
  46. !dthelpprint.class:    Dthelpprint
  47. !Dthelpprint.Class:    
  48.  
  49. !!! how to print
  50. !dthelpprint.display:    
  51. !Dthelpprint.Display:    
  52.  
  53. !dthelpprint.printer:    
  54. !Dthelpprint.Printer:    
  55.  
  56. !dthelpprint.copies:    1
  57. !Dthelpprint.Copies:    
  58.  
  59. !dthelpprint.outputFile:    
  60. !Dthelpprint.OutputFile:    
  61.  
  62. !!! what content to print; In most cases, these options should be
  63. !!! specified on the command line, not in a resource file
  64. ! valid types are: 0: help topic, 1: string, 2: man page, 3: file, 4: dyn str
  65. !dthelpprint.helpType:    0
  66. !Dthelpprint.HelpType:    
  67.  
  68. !dthelpprint.helpVolume:    
  69. !Dthelpprint.HelpVolume:    
  70.  
  71. !dthelpprint.locationId:    _hometopic
  72. !Dthelpprint.LocationId:    
  73.  
  74. ! if defined, will cause only the entire volume, including TOC & Index to be printed
  75. !dthelpprint.allTopics:    
  76. !Dthelpprint.AllTopics:    
  77.  
  78. ! if defined, will cause only the the topic and its subtopics to be printed
  79. !dthelpprint.subTopics:    
  80. !Dthelpprint.SubTopics:    
  81.  
  82. ! if defined, will cause only the TOC to be printed
  83. !dthelpprint.toc:    
  84. !Dthelpprint.Toc:    
  85.  
  86. ! if defined, will cause only the Index to be printed
  87. !dthelpprint.index:    
  88. !Dthelpprint.Index:    
  89.  
  90. !dthelpprint.manPage:    
  91. !Dthelpprint.ManPage:    
  92.  
  93. !dthelpprint.stringData:    
  94. !Dthelpprint.StringData:    
  95.  
  96. !dthelpprint.helpFile:    
  97. !Dthelpprint.HelpFile:    
  98.  
  99. !dthelpprint.topicTitle:    
  100. !Dthelpprint.TopicTitle:    
  101.  
  102. !!! Page Headers and Footers
  103. !!! The examples headers and footers given below are suitable for printing 
  104. !!! double-sided pages with 72 column content size.  By tuning for even 
  105. !!! and odd pages, the page number and section number can always appear 
  106. !!! at the outside of a bound page, for example.
  107. !!!
  108. !!! These are the set of possible symbolic values that may be used
  109. !!! in header/footer strings.
  110. !!!
  111. !!! $LMARGIN     left margin blanks
  112. !!! $TODAY     today's date 
  113. !!! $VOLDATE     date on the help volume file 
  114. !!! $VOLUME     volume name
  115. !!! $VOLUMEFILL     filler for fixed sized 50 column volume name 
  116. !!! $TOPIC     section topic title
  117. !!! $TOPICFILL     filler for fixed sized 50 column section topic title
  118. !!! $PAGENUM     page number
  119. !!! $PAGENUMFILL filler for fixed sized 3 column page number 
  120. !!! $SECTNUM     section number or name
  121. !!! $SECTNUMFILL filler for fixed sized 8 column section number or name 
  122.  
  123. !dthelpprint.evenTocHeader:$LMARGIN                     $VOLUMEFILL$VOLUME\n\n
  124. !Dthelpprint.EvenTocHeader:
  125.  
  126. !dthelpprint.oddTocHeader:$LMARGIN$VOLUME\n\n
  127. !Dthelpprint.OddTocHeader:
  128.  
  129. !dthelpprint.evenTocFooter:\n$LMARGIN$SECTNUM\n
  130. !Dthelpprint.EvenTocFooter:
  131.  
  132. !dthelpprint.oddTocFooter:\n$LMARGIN                                                      $SECTNUM\n
  133. !Dthelpprint.OddTocFooter:
  134.  
  135. !dthelpprint.evenBodyHeader:$LMARGINPage $PAGENUM$PAGENUMFILL             $VOLUMEFILL$VOLUME\n\n
  136. !Dthelpprint.EvenBodyHeader:
  137.  
  138. !dthelpprint.oddBodyHeader:$LMARGIN$VOLUME$VOLUMEFILL             $PAGENUMFILLPage $PAGENUM\n\n
  139. !Dthelpprint.OddBodyHeader:
  140.  
  141. !dthelpprint.evenBodyFooter:\n$LMARGINSection $SECTNUM$SECTNUMFILL     $TOPICFILL$TOPIC\n
  142. !Dthelpprint.EvenBodyFooter:
  143.  
  144. !dthelpprint.oddBodyFooter:\n$LMARGIN$TOPIC$TOPICFILL     $SECTNUMFILLSection $SECTNUM\n
  145. !Dthelpprint.OddBodyFooter:
  146.  
  147. !dthelpprint.evenIndexHeader:$LMARGINPage $PAGENUM$PAGENUMFILL             $VOLUMEFILL$VOLUME\n\n
  148. !Dthelpprint.EvenIndexHeader:
  149.  
  150. !dthelpprint.oddIndexHeader:$LMARGIN$VOLUME$VOLUMEFILL             $PAGENUMFILLPage $PAGENUM\n\n
  151. !Dthelpprint.OddIndexHeader:
  152.  
  153. !dthelpprint.evenIndexFooter:\n$LMARGIN$SECTNUM\n
  154. !Dthelpprint.EvenIndexFooter:
  155.  
  156. !dthelpprint.oddIndexFooter:\n$LMARGIN                                                                  $SECTNUM\n
  157. !Dthelpprint.OddIndexFooter:
  158.  
  159. !!! print activity control
  160. !dthelpprint.echoCommand:    echo
  161. !Dthelpprint.EchoCommand:    
  162.  
  163. !! echo arg values order:  STRING string 
  164. !dthelpprint.echoArgs:    "%s"
  165. !Dthelpprint.FoldArgs:    
  166.  
  167. !dthelpprint.foldCommand:    fold
  168. !Dthelpprint.FoldCommand:    
  169.  
  170. !! fold arg values order:  INT column width, STRING filename
  171. !for HP, IBM: dthelpprint.foldArgs:    -s -w %d %s
  172. !for Sun (-s not suported): dthelpprint.foldArgs:    -w %d %s
  173. !dthelpprint.foldArgs:    -w %d %s
  174. !Dthelpprint.FoldArgs:    
  175.  
  176. !dthelpprint.prCommand:    pr
  177. !Dthelpprint.PrCommand:    
  178.  
  179. !! pr arg values order:  STRING topic title, INT page height, STRING filename
  180. !dthelpprint.prArgs:    -h "%s" -f -l%d %s
  181. !Dthelpprint.PrArgs:    
  182.  
  183. !! pr offset arg value order:  INT col offset
  184. !dthelpprint.prOffsetArg:    -o%d
  185. !Dthelpprint.PrOffsetArg:    
  186.  
  187. !dthelpprint.manCommand:    man
  188. !Dthelpprint.ManCommand:    
  189.  
  190. !! man arg values order:  STRING man page
  191. !dthelpprint.manArgs:    %s
  192. !Dthelpprint.ManArgs:    
  193.  
  194. !! redirect arg value order: STRING filename
  195. !dthelpprint.redirectCmdAndArgs:     > %s
  196. !Dthelpprint.RedirectCmdAndArgs:    
  197.  
  198. !dthelpprint.lpCommand:    
  199. !Dthelpprint.LpCommand:    
  200.  
  201. !dthelpprint.shCommand:    /usr/dt/bin/dthelpprint.sh
  202. !Dthelpprint.ShCommand:    
  203.  
  204. !! iconv arg values: STRING toCodeset, STRING fromCodeset, STRING srcFile, STRING destfile
  205. !dthelpprint.iconvCmdAndArgs:    iconv -f %s -t %s %s > %s
  206. !Dthelpprint.IconvCmdAndArgs:    
  207.  
  208. !!! paper info resources 
  209. ! valid values:    help_papersize_letter, help_papersize_a4, help_papersize_b5,
  210. !               help_papersize_legal, help_papersize_executive
  211.  
  212. !dthelpprint.printer.paperSize:    help_papersize_letter
  213. !Dthelpprint.Printer.PaperSize:    
  214.  
  215. !dthelpprint.printer.colsWidth:    
  216. !Dthelpprint.Printer.ColsWidth:    
  217.         
  218. !dthelpprint.printer.rowsHeight:    
  219. !Dthelpprint.Printer.RowsHeight:    
  220.  
  221. !dthelpprint.printer.colsLeftMargin:    
  222. !Dthelpprint.Printer.ColsLeftMargin:    
  223.  
  224. !dthelpprint.printer.colsRightMargin:    
  225. !Dthelpprint.Printer.ColsRightMargin:    
  226.  
  227. !dthelpprint.printer.rowsTopMargin:    
  228. !Dthelpprint.Printer.RowsTopMargin:    
  229.  
  230. !dthelpprint.printer.rowsBottomMargin:    
  231. !Dthelpprint.Printer.RowsBottomMargin:    
  232.  
  233. !!! example of a printer-specific set of info resources 
  234. ! valid values:    help_papersize_letter, help_papersize_a4, help_papersize_b5,
  235. !               help_papersize_legal, help_papersize_executive
  236. !dthelpprint.printer.name:    laser_c4
  237. !Dthelpprint.Printer.Name:    
  238.  
  239. !dthelpprint.printer.laser_c4.paperSize:    help_papersize_letter
  240. !Dthelpprint.Printer.laser_c4.PaperSize:    
  241.  
  242. !dthelpprint.printer.laser_c4.colsWidth:    
  243. !Dthelpprint.Printer.laser_c4.ColsWidth:    
  244.         
  245. !dthelpprint.printer.laser_c4.rowsHeight:    
  246. !Dthelpprint.Printer.laser_c4.RowsHeight:    
  247.  
  248. !dthelpprint.printer.laser_c4.colsLeftMargin:    
  249. !Dthelpprint.Printer.laser_c4.ColsLeftMargin:    
  250.  
  251. !dthelpprint.printer.laser_c4.colsRightMargin:    
  252. !Dthelpprint.Printer.laser_c4.ColsRightMargin:    
  253.  
  254. !dthelpprint.printer.laser_c4.rowsTopMargin:    
  255. !Dthelpprint.Printer.laser_c4.RowsTopMargin:    
  256.  
  257. !dthelpprint.printer.laser_c4.rowsBottomMargin:    
  258. !Dthelpprint.Printer.laser_c4.RowsBottomMargin:    
  259.  
  260.