cdesktopenv/cde/examples/dtprint
Marcin Cieslak 917f7da191 157 warnings: remove -DXK_MISCELLANY from Makefiles
Fixes the following warning:

In file included from ../../../imports/x11/include/X11/Xutil.h:54,
                 from ../../../imports/x11/include/X11/Intrinsic.h:54,
                 from Action.c:64:
../../../imports/x11/include/X11/keysym.h:49:1: warning: "XK_MISCELLANY" redefined
<command-line>: warning: this is the location of the previous definition

<keysym.h> which includes all key symbols and loads <keysymdef.h>
is automaticlly included by the X Toolkit.

This patch removes #include <keysymdef.h> whenever not needed,
and adds #define XK_MISCALLANY in the source code where required.
2012-09-24 18:30:21 -06:00
..
AppSpecific.c Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
AppSpecific.h Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
Dtprint.ad Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
Imakefile 157 warnings: remove -DXK_MISCELLANY from Makefiles 2012-09-24 18:30:21 -06:00
Main.c Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
MainWindow.c Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
Print.c Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
PrintDemo.h Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
README.txt Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00

README.txt

/* $XConsortium: README.txt /main/3 1996/07/15 14:00:43 drk $ */
-*- text -*-

OVERVIEW

    This directory contains example source demonstrating application
    printing using the X Print Service, the Motif printing functions,
    and the DtPrintSetupBox widget.

FILES

    Main.c
        Contains main(), etc.

    Print.c
        Contains printing callbacks and functions that are
        conceptually application-independent.

    MainWindow.c
        Creates a simple top-level main window.
            
    PrintDemo.h
        Contains declarations exported by Main, Print, and MainWindow.

    AppSpecific.[ch]
        Contains application-specific logic.

    Imakefile
        For use within the CDEnext build tree.

USAGE

    dtprint [-fileName <filename>] [-print]

    where:

        -fileName <filename> is application-specific data to print.

        -print indicates that the application should perform the print
        operation, then exit when printing is complete. This option is
        used for "Print" actions.

STATUS (12/4/95)

    What the demo currently *can* do:

        The demo currently demostrates how an application that prints
        using the X Print Service can incorporate the DtPrintSetupBox
        to be used with a "Print..." menu button, a "Quick-Print"
        toolbar button, or a "-print" option intended for use within a
        "Print" action for an application-specific data type.

        The demo can establish connections to X print servers.

        The demo recognizes the XPRINTER environment variable and the
        XpServerList and XpPrinterNameMode resources. 

    What the demo currently *does not* do:

	The demo does not actally print at this time.

        Printing where no video display is available is not
        demonstrated at this time. This mode will conceivably be used
        for batch printing.

        Print rendering in a separate process is not implemented.

        The demo currently does not recognize LPDEST, PRINTER,
        PDPRINTER, or XpPrinter.