background image
Functional specification
77
CDE/Motif PST
CDEnext
5.3
Dt Print Dialog Manager
5.3.1
Short description
The dialog manager is a process separate from the print server. Its provides the printer-specific GUIs on
behalf of a printing application
5.3.2
Long description
NAME
dtpdm - program invoked by dtpdmd to provide printer-specific GUIs.
SYNOPSIS
dtpdm [options]
OPTIONS
-display vdpy
Specifies the display connection to the Video X-Server.
-window vwid
Specifies the window id on the Video X-Server to which the pdm's dialogs
should be posted as transient windows.
-pdisplay vdpy
Specifies the display connection to the Print X-Server.
-pcontext pcid
Specifies the print context id on the Print X-Server. Used by the pdm to
gain access to the same print context as the requesting application.
DESCRIPTION
At an application's request dtpdm will post to the user's display a set of printer-specific dialogs enabling
the user to configure a variety of printer options.
The dtpdm program provides a setup dialog to X printing applications that allows the user to set printer
specific, and job specific options. Though the setup dialog will appear to be part of the application, it is
actually managed by the dtpdm program on behalf of the application. It is capable of providing dialogs in
all locales for which there exist applicable message catalogs.
dtpdm presents a dialog containing the printer name and description plus an XmNotebook widget. This
notebook widget contains two tabs: one for the Printer Setup Box and one for the Job Setup Box. Each of
these boxes provide controls that allow for configuration of various printing options. The dtpdm dialog also
contains three pushbuttons labelled: "OK", "Cancel", and "Help". When the OK button is activated the
dialog is dismissed and the newly configured printing options are set in the current print context (via
XpSetAttributes
). When the Cancel button is activated the dialog is dismissed and no changes are
made to the print context.
The next two sections describe the setup boxes in greater detail.