Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Developer's Toolkit Release Notes for HP-UX 11i > Chapter 2 What's In This Version

Notes for Other Components

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

X11R6 Athena Widget Set

The Developer's Toolkit includes libraries for the Athena Widget Set (Xaw) and Miscellaneous Utilities (Xmu) as part of the X11R6-PRG-CTRB fileset. Both libraries (libXaw.a and libXmu.a) are located in /usr/contrib/X11R6/lib. Library header files reside in /usr/contrib/X11R6/include/X11/Xaw and /usr/contrib/X11R6/include/X11/Xmu.

The Athena Widget Set - C Language Interface, an X Consortium document, is available in postscript format and can be found in /usr/contrib/X11R6/doc.

Imake Configuration Tool

The HP-UX 11i development environment provides the Imake configuration management tool. This version is based on the X11 R6 implementation released by the X Consortium.

Technical Print Service

The Technical Print Service is a network transparent printing system which allows X applications to generate and send X imaging data to a non-display device such as a printer. It provides an X print server that is capable of generating page description language (PDL) output. Applications integrated with the Technical Print Service can send printed output to a variety of printers regardless of the associated page description language. The Technical Print Service provides print drivers for postscript, PCL, and raster images.

NOTE: The Technical Print Service is an implementation of the X Print Service technology developed by Hewlett Packard for the X Consortium.

The X Print Service is a collection of components derived from the X 11 Window System, Motif, and Common Desktop Environment (CDE) technologies. For application developers, the main components include:

X Print Extension Library

The X Print Extension library provides protocol extensions to allow an application to generate print "jobs", "documents", and "pages", and to manage a Print Context.

Print Dialog GUI

The Print Dialog provides a graphical interface that allows a user to select printers and their associated X print servers. It also presents generic printer and job setup options and a hook to the Print Dialog Manager. This dialog can be customized to include application-specific information.

Print Dialog Manager

The Print Dialog Manager is a process which provides application print dialogs for setting printer-specific options. In general the Print Dialog Manager is managed by the Print Dialog GUI, however, applications may intervene.

Localizing Applications that use DtPrintSetupBox

For the locales it supports, the DtPrintSetupBox widget obtains localized strings for its GUI labels and messages from its own message catalog. As such, developers do not need to provide localized strings for the DtPrintSetupBox widget. However, when the DtNprintSetupMode resource is set to DtPRINT_SETUP_XP (the default) the DtPrintSetupBox installs default procedures for various operations. Some of these default procedures (printerInfoProc, selectPrinterProc, and selectFileProc) in turn present dialogs that utilize stock Motif widgets. Motif does not utilize a message catalog, so in order to present localized labels in these widgets, some additional lines need to be added to the application's app-defaults file. An example of the additional resource file lines (with English values) is shown below:

!Get XmFileSelectionBox resources via the Dt app-defaults file
#include "/usr/dt/app-defaults/C/Dt"

*XmMessageBox*okLabelString: OK
*XmMessageBox*cancelLabelString: Cancel
*XmMessageBox*helpLabelString: Help

*XmSelectionBox*okLabelString: OK
*XmSelectionBox*cancelLabelString: Cancel
*XmSelectionBox*helpLabelString: Help

Documentation

The following man pages document the Technical Print Service:

DtCreatePrintSetupBox(3)                XpGetPageDimensions(3)
DtCreatePrintSetupDialog(3) XpGetPdmStartParams(3)
DtPrintCopySetupData(3) XpGetPrinterList(3)
DtPrintFillSetupData(3) XpGetScreenOfContext(3)
DtPrintFreeSetupData(3) XpInputSelected(3) DtPrintResetConnection(3) XpPutDocumentData(3) DtPrintSetupBox(3) XpQueryExtension(3)
DtPrintSetupProc(3) XpQueryScreens(3) XmPrintPopupPDM(3) XpQueryVersion(3)
XmPrintSetup(3) XpRehashPrinterList(3)
XmPrintShell(3) XpSelectInput(3)
XmPrintToFile(3 XpSetAttributes(3)
XmRedisplayWidget(3) XpSetContext(3) XpCancelDoc(3) XpSetImageResolution(3) XpCancelJob(3) XpSetLocaleHinter (3) XpCancelPage(3) XpStartDoc(3) XpCreateContext(3) XpStartJob(3) XpDestroyContext(3) XpStartPage(3)
XpEndDoc(3) dtpdm(1M)
XpEndJob(3) dtpdmd(1M)
XpEndPage(3) tps(5)
XpFreePrinterList(3) tpsconfig(1M)
XpGetAttributes (3) tpsconvert(1M)
XpGetContext (3) tpsedit(1M)
XpGetDocumentData(3) tpsdocument(4)
XpGetImageResolution (3) tpsjob(4)
XpGetLocaleHinter (3) tpsprinter(4)
XpGetOneAttribute(3) tpsshowmodel(1M)

For other documentation sources refer to Chapter 7 “ What Manuals are Available
for This Version ”

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.