260 lines
8.1 KiB
Plaintext
260 lines
8.1 KiB
Plaintext
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!! File: Dthelpprint
|
|
!!! Default Location: /usr/dt/app-defaults/C/Dthelpprint
|
|
!!! Other OK locations: /usr/lib/X11/app-defaults/Dthelpprint
|
|
!!! $HOME/Dthelpprint
|
|
!!!
|
|
!!! (c) Copyright 1993, 1994 Hewlett-Packard Company
|
|
!!! (c) Copyright 1993, 1994 International Business Machines Corp.
|
|
!!! (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
|
!!! (c) Copyright 1993, 1994 Novell, Inc.
|
|
!!!
|
|
!!! Purpose: dthelpprint application default resources
|
|
!!! Description:
|
|
!!! This file contains a list of all resources supported by
|
|
!!! dthelpprint and their default or useful alternative values.
|
|
!!! To customize dthelpprint operation, these resources can be
|
|
!!! specified on the dthelpprint command line, added to the current
|
|
!!! session database, or a put in a private Dthelpprint app-default
|
|
!!! file in $HOME/Dthelpprint.
|
|
!!! Used by: dthelpprint
|
|
!!! Product: @(#)Common Desktop Environment 1.0
|
|
!!! Revision: $XConsortium: Dthelpprint /main/3 1995/11/07 13:15:21 rswiston $
|
|
!!! Warning:
|
|
!!! Because of how dthelpprint merges resources from various
|
|
!!! locations, a resource should only be uncommented when it
|
|
!!! is explicitly set. Defining a resource without a value
|
|
!!! actually overrides a previous value, which may cause
|
|
!!! incorrect behaviour.
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
!!! if defined, sends rsrc db and commands to stdout
|
|
!dthelpprint.debugHelpPrint:
|
|
!Dthelpprint.DebugHelpPrint:
|
|
|
|
!!! what resources to use
|
|
!application.name:
|
|
!Application.Name:
|
|
|
|
!application.class:
|
|
!Application.Class:
|
|
|
|
!!! what resources to use
|
|
!dthelpprint.name: dthelpprint
|
|
!Dthelpprint.Name:
|
|
|
|
!dthelpprint.class: Dthelpprint
|
|
!Dthelpprint.Class:
|
|
|
|
!!! how to print
|
|
!dthelpprint.display:
|
|
!Dthelpprint.Display:
|
|
|
|
!dthelpprint.printer:
|
|
!Dthelpprint.Printer:
|
|
|
|
!dthelpprint.copies: 1
|
|
!Dthelpprint.Copies:
|
|
|
|
!dthelpprint.outputFile:
|
|
!Dthelpprint.OutputFile:
|
|
|
|
!!! what content to print; In most cases, these options should be
|
|
!!! specified on the command line, not in a resource file
|
|
! valid types are: 0: help topic, 1: string, 2: man page, 3: file, 4: dyn str
|
|
!dthelpprint.helpType: 0
|
|
!Dthelpprint.HelpType:
|
|
|
|
!dthelpprint.helpVolume:
|
|
!Dthelpprint.HelpVolume:
|
|
|
|
!dthelpprint.locationId: _hometopic
|
|
!Dthelpprint.LocationId:
|
|
|
|
! if defined, will cause only the entire volume, including TOC & Index to be printed
|
|
!dthelpprint.allTopics:
|
|
!Dthelpprint.AllTopics:
|
|
|
|
! if defined, will cause only the the topic and its subtopics to be printed
|
|
!dthelpprint.subTopics:
|
|
!Dthelpprint.SubTopics:
|
|
|
|
! if defined, will cause only the TOC to be printed
|
|
!dthelpprint.toc:
|
|
!Dthelpprint.Toc:
|
|
|
|
! if defined, will cause only the Index to be printed
|
|
!dthelpprint.index:
|
|
!Dthelpprint.Index:
|
|
|
|
!dthelpprint.manPage:
|
|
!Dthelpprint.ManPage:
|
|
|
|
!dthelpprint.stringData:
|
|
!Dthelpprint.StringData:
|
|
|
|
!dthelpprint.helpFile:
|
|
!Dthelpprint.HelpFile:
|
|
|
|
!dthelpprint.topicTitle:
|
|
!Dthelpprint.TopicTitle:
|
|
|
|
!!! Page Headers and Footers
|
|
!!! The examples headers and footers given below are suitable for printing
|
|
!!! double-sided pages with 72 column content size. By tuning for even
|
|
!!! and odd pages, the page number and section number can always appear
|
|
!!! at the outside of a bound page, for example.
|
|
!!!
|
|
!!! These are the set of possible symbolic values that may be used
|
|
!!! in header/footer strings.
|
|
!!!
|
|
!!! $LMARGIN left margin blanks
|
|
!!! $TODAY today's date
|
|
!!! $VOLDATE date on the help volume file
|
|
!!! $VOLUME volume name
|
|
!!! $VOLUMEFILL filler for fixed sized 50 column volume name
|
|
!!! $TOPIC section topic title
|
|
!!! $TOPICFILL filler for fixed sized 50 column section topic title
|
|
!!! $PAGENUM page number
|
|
!!! $PAGENUMFILL filler for fixed sized 3 column page number
|
|
!!! $SECTNUM section number or name
|
|
!!! $SECTNUMFILL filler for fixed sized 8 column section number or name
|
|
|
|
!dthelpprint.evenTocHeader:$LMARGIN $VOLUMEFILL$VOLUME\n\n
|
|
!Dthelpprint.EvenTocHeader:
|
|
|
|
!dthelpprint.oddTocHeader:$LMARGIN$VOLUME\n\n
|
|
!Dthelpprint.OddTocHeader:
|
|
|
|
!dthelpprint.evenTocFooter:\n$LMARGIN$SECTNUM\n
|
|
!Dthelpprint.EvenTocFooter:
|
|
|
|
!dthelpprint.oddTocFooter:\n$LMARGIN $SECTNUM\n
|
|
!Dthelpprint.OddTocFooter:
|
|
|
|
!dthelpprint.evenBodyHeader:$LMARGINPage $PAGENUM$PAGENUMFILL $VOLUMEFILL$VOLUME\n\n
|
|
!Dthelpprint.EvenBodyHeader:
|
|
|
|
!dthelpprint.oddBodyHeader:$LMARGIN$VOLUME$VOLUMEFILL $PAGENUMFILLPage $PAGENUM\n\n
|
|
!Dthelpprint.OddBodyHeader:
|
|
|
|
!dthelpprint.evenBodyFooter:\n$LMARGINSection $SECTNUM$SECTNUMFILL $TOPICFILL$TOPIC\n
|
|
!Dthelpprint.EvenBodyFooter:
|
|
|
|
!dthelpprint.oddBodyFooter:\n$LMARGIN$TOPIC$TOPICFILL $SECTNUMFILLSection $SECTNUM\n
|
|
!Dthelpprint.OddBodyFooter:
|
|
|
|
!dthelpprint.evenIndexHeader:$LMARGINPage $PAGENUM$PAGENUMFILL $VOLUMEFILL$VOLUME\n\n
|
|
!Dthelpprint.EvenIndexHeader:
|
|
|
|
!dthelpprint.oddIndexHeader:$LMARGIN$VOLUME$VOLUMEFILL $PAGENUMFILLPage $PAGENUM\n\n
|
|
!Dthelpprint.OddIndexHeader:
|
|
|
|
!dthelpprint.evenIndexFooter:\n$LMARGIN$SECTNUM\n
|
|
!Dthelpprint.EvenIndexFooter:
|
|
|
|
!dthelpprint.oddIndexFooter:\n$LMARGIN $SECTNUM\n
|
|
!Dthelpprint.OddIndexFooter:
|
|
|
|
!!! print activity control
|
|
!dthelpprint.echoCommand: echo
|
|
!Dthelpprint.EchoCommand:
|
|
|
|
!! echo arg values order: STRING string
|
|
!dthelpprint.echoArgs: "%s"
|
|
!Dthelpprint.FoldArgs:
|
|
|
|
!dthelpprint.foldCommand: fold
|
|
!Dthelpprint.FoldCommand:
|
|
|
|
!! fold arg values order: INT column width, STRING filename
|
|
!for HP, IBM: dthelpprint.foldArgs: -s -w %d %s
|
|
!for Sun (-s not suported): dthelpprint.foldArgs: -w %d %s
|
|
!dthelpprint.foldArgs: -w %d %s
|
|
!Dthelpprint.FoldArgs:
|
|
|
|
!dthelpprint.prCommand: pr
|
|
!Dthelpprint.PrCommand:
|
|
|
|
!! pr arg values order: STRING topic title, INT page height, STRING filename
|
|
!dthelpprint.prArgs: -h "%s" -f -l%d %s
|
|
!Dthelpprint.PrArgs:
|
|
|
|
!! pr offset arg value order: INT col offset
|
|
!dthelpprint.prOffsetArg: -o%d
|
|
!Dthelpprint.PrOffsetArg:
|
|
|
|
!dthelpprint.manCommand: man
|
|
!Dthelpprint.ManCommand:
|
|
|
|
!! man arg values order: STRING man page
|
|
!dthelpprint.manArgs: %s
|
|
!Dthelpprint.ManArgs:
|
|
|
|
!! redirect arg value order: STRING filename
|
|
!dthelpprint.redirectCmdAndArgs: > %s
|
|
!Dthelpprint.RedirectCmdAndArgs:
|
|
|
|
!dthelpprint.lpCommand:
|
|
!Dthelpprint.LpCommand:
|
|
|
|
!dthelpprint.shCommand: /usr/dt/bin/dthelpprint.sh
|
|
!Dthelpprint.ShCommand:
|
|
|
|
!! iconv arg values: STRING toCodeset, STRING fromCodeset, STRING srcFile, STRING destfile
|
|
!dthelpprint.iconvCmdAndArgs: iconv -f %s -t %s %s > %s
|
|
!Dthelpprint.IconvCmdAndArgs:
|
|
|
|
!!! paper info resources
|
|
! valid values: help_papersize_letter, help_papersize_a4, help_papersize_b5,
|
|
! help_papersize_legal, help_papersize_executive
|
|
|
|
!dthelpprint.printer.paperSize: help_papersize_letter
|
|
!Dthelpprint.Printer.PaperSize:
|
|
|
|
!dthelpprint.printer.colsWidth:
|
|
!Dthelpprint.Printer.ColsWidth:
|
|
|
|
!dthelpprint.printer.rowsHeight:
|
|
!Dthelpprint.Printer.RowsHeight:
|
|
|
|
!dthelpprint.printer.colsLeftMargin:
|
|
!Dthelpprint.Printer.ColsLeftMargin:
|
|
|
|
!dthelpprint.printer.colsRightMargin:
|
|
!Dthelpprint.Printer.ColsRightMargin:
|
|
|
|
!dthelpprint.printer.rowsTopMargin:
|
|
!Dthelpprint.Printer.RowsTopMargin:
|
|
|
|
!dthelpprint.printer.rowsBottomMargin:
|
|
!Dthelpprint.Printer.RowsBottomMargin:
|
|
|
|
!!! example of a printer-specific set of info resources
|
|
! valid values: help_papersize_letter, help_papersize_a4, help_papersize_b5,
|
|
! help_papersize_legal, help_papersize_executive
|
|
!dthelpprint.printer.name: laser_c4
|
|
!Dthelpprint.Printer.Name:
|
|
|
|
!dthelpprint.printer.laser_c4.paperSize: help_papersize_letter
|
|
!Dthelpprint.Printer.laser_c4.PaperSize:
|
|
|
|
!dthelpprint.printer.laser_c4.colsWidth:
|
|
!Dthelpprint.Printer.laser_c4.ColsWidth:
|
|
|
|
!dthelpprint.printer.laser_c4.rowsHeight:
|
|
!Dthelpprint.Printer.laser_c4.RowsHeight:
|
|
|
|
!dthelpprint.printer.laser_c4.colsLeftMargin:
|
|
!Dthelpprint.Printer.laser_c4.ColsLeftMargin:
|
|
|
|
!dthelpprint.printer.laser_c4.colsRightMargin:
|
|
!Dthelpprint.Printer.laser_c4.ColsRightMargin:
|
|
|
|
!dthelpprint.printer.laser_c4.rowsTopMargin:
|
|
!Dthelpprint.Printer.laser_c4.RowsTopMargin:
|
|
|
|
!dthelpprint.printer.laser_c4.rowsBottomMargin:
|
|
!Dthelpprint.Printer.laser_c4.RowsBottomMargin:
|
|
|