dttypes(1M) dttypes(1M)
NAME
dttypes - add an entry to the document types table of UnixWare
Desktop
SYNOPSIS
dttypes -a [-o] file . . .
dttypes -d entry . . .
DESCRIPTION
The dttypes command adds or deletes an entry to the document
types table. The document types table is used by the UnixWare
Desktop Printer Setup facility, in the Admin Tools folder.
The list of document types is presented when the user selects
the ``File to be printed is'' button when the file is
submitted to the printer.
-a add entries in file to the document types table
-o overwrite existing entries of the same name
-d entry
remove entry from the document types table
A document types table entry has the format:
EntryName<TAB>TypeString[^CatalogFile:Index]<TAB>InputType
where
EntryName
tag used to reference the entry
TypeString[^CatalogFile:Index]
string presented to the user. Note that
[CatalogFile:Index:] translates TypeString.
CatalogFile is the file of locale-specific
translations. index is the line number of the
translation.
InputType
input type, as predefined by the Line Printer utilities
(see lpadmin(1M))
Files
/usr/X/desktop/PrintMgr/Types
Copyright 1994 Novell, Inc. Page 1
dttypes(1M) dttypes(1M)
Exit Codes
The dttypes command returns
0 success
1 usage error
2 format error
3 item exists and -o not specified
4 cannot read/write file
5 no memory
USAGE
dttypes resides in /usr/X/adm. Since the PATH environment
variable does not normally include that directory, either
specify the full pathname or add /usr/X/adm to the PATH
variable.
REFERENCES
lp(1), lpfilter(1M)
Copyright 1994 Novell, Inc. Page 2