1 /* $XConsortium: README.txt /main/3 1996/07/15 14:00:43 drk $ */
6 This directory contains example source demonstrating application
7 printing using the X Print Service, the Motif printing functions,
8 and the DtPrintSetupBox widget.
16 Contains printing callbacks and functions that are
17 conceptually application-independent.
20 Creates a simple top-level main window.
23 Contains declarations exported by Main, Print, and MainWindow.
26 Contains application-specific logic.
29 For use within the CDEnext build tree.
33 dtprint [-fileName <filename>] [-print]
37 -fileName <filename> is application-specific data to print.
39 -print indicates that the application should perform the print
40 operation, then exit when printing is complete. This option is
41 used for "Print" actions.
45 What the demo currently *can* do:
47 The demo currently demostrates how an application that prints
48 using the X Print Service can incorporate the DtPrintSetupBox
49 to be used with a "Print..." menu button, a "Quick-Print"
50 toolbar button, or a "-print" option intended for use within a
51 "Print" action for an application-specific data type.
53 The demo can establish connections to X print servers.
55 The demo recognizes the XPRINTER environment variable and the
56 XpServerList and XpPrinterNameMode resources.
58 What the demo currently *does not* do:
60 The demo does not actally print at this time.
62 Printing where no video display is available is not
63 demonstrated at this time. This mode will conceivably be used
66 Print rendering in a separate process is not implemented.
68 The demo currently does not recognize LPDEST, PRINTER,
69 PDPRINTER, or XpPrinter.