Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dxmprintwgtaugmentlist(3x) [osf1 man page]

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( Widget pw, int list, XtPointer data ); PARAMETERS
The print widget. The print formats or options, indicated by the following values: ------------------------------------------------------- Value Description ------------------------------------------------------- DXmFILE_BURST_SHEET Specifies the availability and frequency of printed File Burst Sheets. DXmFILE_END_SHEET Specifies the availability and frequency of printed File End Sheets. DXmFILE_START_SHEET Specifies the availability and frequency of printed File Start Sheets. DXmINPUT_TRAY Specifies the input tray holding the sheet to be used for the print job. DXmMESSAGE_LOG Specifies what is to be done with error messages generated during the print operation. DXmOUTPUT_TRAY Specifies the output tray in which the sheet is to be placed. DXmPAGE_SIZE Specifies the size of the print image. DXmPRINT_FORMAT Specifies the print format. DXmSHEET_SIZE Specifies the size of the sheet. DXmSIDES Specifies how many sides of the sheet will be printed. ------------------------------------------------------- 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. DXmPrintOptionMenuStruct, which has the following struc- ture: 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 formats. 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 return indicates that the addition of a print format or option was unsuccessful. SEE ALSO
DXmCreatePrintBox(3X), DXmCreatePrintDialog(3X), DXmPrintWgtPrintJob(3X) X Window System Toolkit DXmPrintWgtAugmentList(3X)

Check Out this Related Man Page

pcfof(8)						      System Manager's Manual							  pcfof(8)

NAME
pcfof - Generic print filter for ANSI, PCL, and multi-language PostScript printers SYNOPSIS
/usr/lbin/pcfof +Bbanner-tray +Cfilename.pcf [-n login] [-h host] [...] [accounting-file] OPTIONS
Use of the print options is dependent on the features available on the print device, and on the current status of those features. For example, selection of a particular paper size and orientation requires that appropriate paper is correctly loaded in the paper trays avail- able on the print device. Options in /etc/printcap Specifies the default tray name to select for printing the banner page. For example: :of=/usr/lbin/pcfof +Bupper +Cln17.pcf: In this example, the banner page will be printed on whatever paper is currently loaded into the upper tray on the selected print device. Specifies the name of the printer configuration file to use for this print job. Specifies the default tray name to select for printing the file. For example: :if=/usr/lbin/pcfof +Iupper +Cln17.pcf: Specifies the default tray name to select for printing the trailer page. For example: :of=/usr/lbin/pcfof +Tlower +Cln17.pcf: This command is useful of you want to use colored paper as a divider between print jobs. Specifies the default tray name to select to place the printed pages. For example: :if=/usr/lbin/pcfof +olower +Cln17.pcf: Print Filter Options Specifies the host name of the job owner. Specifies the amount of indentation. This value controls how far the print image appears from the edge of the page. Specifies the login name of the job owner. Specifies the tray where the printed pages are placed. See the -I option for information on printer configuration files. Specifies the page width in columns. Selects printer features but does not perform any file processing. Specifies the tray name from which print paper is selected. To find the available options, view the printer configura- tion file (.pcf file) specified in the /etc/printcap file by the if entry. For example: :if=/usr/lbin/pcfof +Cln17.pcf: The ln17.pcf pcf file is located in /usr/lbin/pcf/ln17.pcf. The pcf file header provides additional information on available tray options. Specifies the number of sides to print on each sheet. You can specify sides as follows: Print on one side of the sheet. Print on both sides of the sheet. Specifies options related to page orientation and printing of text files. The option-list argu- ment can include one option or multiple options that are separated by commas (no embedded spaces). The following settings for page orientation are valid for both PostScript or text files: The printed output is parallel to the short side of the page. The printed output is parallel to the long side of the page. The following options are available for printing text (not PostScript) files: Print even numbered pages. Reduce the number of lines on a page to n lines. Print odd numbered pages. Perform codeset conversion if codeset-name is different from the codeset component of the current locale and if the appropriate codeset converter is installed on the system. See iconv_intro(5) for information about codeset conversion. Print the pages of a file within the start and end parameters. When start is not specified, printing starts at page 0. When end is not specified, printing continues to the end of the file. The file header may specify additional printer-specific options. (See the description of the -I option for the location of files.) OPERANDS
Specifies the file in which accounting information will be recorded. DESCRIPTION
The pcfof filter is a generic print filter that can be used with text and PostScript files and handle printer device dependencies. The type of printer that the filter is supporting is determined by the printer configuration file (.pcf file) that is specified by the +C option. The Tru64 UNIX product includes files for a variety of printers. In addition, a template file (/usr/lbin/pcf/template.pcf) is available for the system administrator to customize for use with additional printers. The pcfof filter should be specified for both the of and the if entries in the /etc/printcap file. Use the wwpsof filter when you want to print files in languages for which printer-resident fonts are not available. See the wwpsof(8) ref- erence page for more information. EXIT STATUS
An error has occurred. ERRORS
The /etc/printcap error log field, lf, is used to specify the name of the error log file. SEE ALSO
Commands: cancel(1), lpr(1), pr(1), printer(1), pac(8), thailpof(8), wwpsof(8) Files: printcap(4) Others: i18n_printing(5) System Administration pcfof(8)
Man Page