Manual Page Result
0
Command: DXmPrintWgtAugmentList | Section: 3 | Source: Digital UNIX | File: DXmPrintWgtAugmentList.3X.gz
DXmPrintWgtAugmentList(3X) DXmPrintWgtAugmentList(3X)
NAME
DXmPrintWgtAugmentList - Defines additional print formats and lets you
add new options to the print widget option menus.
SYNOPSIS
unsigned long int DXmPrintWgtAugmentList (pw,list,data)
Widget pw;
int list;
XtPointer data;
PARAMETERS
The print widget. The print formats or options, indicated by the fol-
lowing values:
lfHB lfHB l l . _
Value@Description
_
DXmFILE_BURST_SHEET@T{ Specifies the availability and frequency
of printed File Burst Sheets. T}
DXmFILE_END_SHEET@T{ Specifies the availability and frequency of
printed File End Sheets. T}
DXmFILE_START_SHEET@T{ Specifies the availability and frequency
of printed File Start Sheets. T}
DXmINPUT_TRAY@T{ Specifies the input tray holding the sheet to
be used for the print job. T}
DXmMESSAGE_LOG@T{ Specifies what is to be done with error mes-
sages generated during the print operation. T}
DXmOUTPUT_TRAY@T{ Specifies the output tray in which the sheet
is to be placed. T}
DXmPAGE_SIZE@T{ Specifies the size of the print image. T}
DXmPRINT_FORMAT@T{ Specifies the print format. T}
DXmSHEET_SIZE@T{ Specifies the size of the sheet. T}
DXmSIDES@T{ Specifies how many sides of the sheet will be
printed. T}
_ One of the following data structures: DXmPrintFormatStruct,
which has the following structure:
typedef struct _DXmPrintFormatStruct {
XmString ui_string;
XmString os_string;
XmString var_string;
} DXmPrintFormatStruct; Specifies the label displayed in the
user interface. Specifies a string that identifies the print
format to the operating system. Specifies the UNIX environment
variable that identifies the print format. DXmPrintOptionMenuS-
truct, which has the following structure:
typedef struct _DXmPrintOptionMenuStruct {
XmString ui_string;
XmString os_string;
} DXmPrintOptionMenuStruct; Specifies the label displayed in the
user interface. Specifies a string that identifies the print
option for the operating system.
DESCRIPTION
The DXmPrintWgtAugmentList routine defines additional print formats and
lets you add new options to the print widget option menus. Note that
the return value (an integer) is not required when adding print for-
mats. However, the Intrinsics routines XtGetValues and XtSetValues use
that integer when subsequent calls are made on the option menus.
RETURN VALUES
An integer that represents either the number of print formats known to
the print widget or the identifier of a new option added to the print
widget option menu, depending on the operation performed. A Null re-
turn indicates that the addition of a print format or option was unsuc-
cessful.
RELATED INFORMATION
DXmCreatePrintBox(3X), DXmCreatePrintDialog(3X), DXmPrintWgtPrint-
Job(3X)
X Window System Toolkit
DECwindows Motif Guide to Application Programming delim off
DXmPrintWgtAugmentList(3X)