1 /* $XConsortium: dtpdmd.h /main/4 1996/08/12 18:41:45 cde-hp $ */
2 /******************************************************************************
3 ******************************************************************************
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.
11 ** Other dtpdmd header stuff lives here too.
13 ** (c) Copyright 1995, 1996, Hewlett-Packard Company, all rights reserved.
15 ******************************************************************************
16 *****************************************************************************/
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.
27 /******************************************************************************
29 * Standard command line parameters for any PDM which
30 * will become a child of dtpdmd via fork/exec.
32 * generic_pdm [dt-pdm-command options] [dtpdmd options]
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.
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.
45 /******************************************************************************
47 * Standard exit() codes for any PDM which is a child of dtpdmd.
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 */
59 #define DEFAULT_PDM_EXECUTABLE "dtpdm"