Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / DtPrint / dtpdmd.h
1 /* $XConsortium: dtpdmd.h /main/4 1996/08/12 18:41:45 cde-hp $ */
2 /******************************************************************************
3  ******************************************************************************
4  **
5  ** File:         dtpdmd.h
6  **
7  ** Description:  Header file for the "dtpdmd/dtpdm protocol" which
8  **               consists of a standard command line dtpdmd->dtpdm
9  **               and starndard exit codes dtpdm->dtpdmd.
10  **
11  **               Other dtpdmd header stuff lives here too.
12  **
13  ** (c) Copyright 1995, 1996, Hewlett-Packard Company, all rights reserved.
14  **
15  ******************************************************************************
16  *****************************************************************************/
17
18 /*
19  * (c) Copyright 1996 Digital Equipment Corporation.
20  * (c) Copyright 1996 International Business Machines Corp.
21  * (c) Copyright 1996 Sun Microsystems, Inc.
22  * (c) Copyright 1996 Novell, Inc. 
23  * (c) Copyright 1996 FUJITSU LIMITED.
24  * (c) Copyright 1996 Hitachi.
25  */
26
27 /******************************************************************************
28  *
29  * Standard command line parameters for any PDM which
30  * will become a child of dtpdmd via fork/exec.
31  *
32  * generic_pdm [dt-pdm-command options] [dtpdmd options]
33  *
34  * where [dt-pdm-command options] is:
35  *    - any additional options that were specified along with
36  *      the dt-pdm-command attribute from the X Print Server.
37  *
38  * where [dtpdmd options] is any of:
39  *    -display  dpy     Specified the display connection to the Video X-Server.
40  *    -window   vwid    Specified the window id on dpy.
41  *    -pdisplay pdpy    Specified the display connection to the Print X-Server.
42  *    -pcontext pcid    Specified the print context id on pdpy.
43  */
44
45 /******************************************************************************
46  *
47  * Standard exit() codes for any PDM which is a child of dtpdmd.
48  */
49 #define PDM_EXIT_NONE           None
50 #define PDM_EXIT_OK             191     /* "OK" */
51 #define PDM_EXIT_CANCEL         192     /* "CANCEL" */
52 #define PDM_EXIT_VXAUTH         193     /* no print display authorization */
53 #define PDM_EXIT_PXAUTH         194     /* no video display authorization */
54 #define PDM_EXIT_ERROR          195     /* all other error reasons */
55
56 /*
57  * Misc information.
58  */
59 #define DEFAULT_PDM_EXECUTABLE  "dtpdm"
60