Fix incorrect reporting of bad vs. unknown.
[nedit.git] / util / printUtils.h
blobc0f41561f8e5df49897947882986eb8b3204a3ad
1 /* $Id: printUtils.h,v 1.9 2004/11/09 21:58:45 yooden Exp $ */
2 /*******************************************************************************
3 * *
4 * printUtils.h -- Nirvana Editor Print Utilities Header File *
5 * *
6 * Copyright 2002 The NEdit Developers *
7 * *
8 * This is free software; you can redistribute it and/or modify it under the *
9 * terms of the GNU General Public License as published by the Free Software *
10 * Foundation; either version 2 of the License, or (at your option) any later *
11 * version. In addition, you may distribute versions of this program linked to *
12 * Motif or Open Motif. See README for details. *
13 * *
14 * This software is distributed in the hope that it will be useful, but WITHOUT *
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for *
17 * more details. *
18 * *
19 * You should have received a copy of the GNU General Public License along with *
20 * software; if not, write to the Free Software Foundation, Inc., 59 Temple *
21 * Place, Suite 330, Boston, MA 02111-1307 USA *
22 * *
23 * Nirvana Text Editor *
24 * July 31, 2001 *
25 * *
26 *******************************************************************************/
28 #ifndef NEDIT_PRINTUTILS_H_INCLUDED
29 #define NEDIT_PRINTUTILS_H_INCLUDED
31 #include <X11/Intrinsic.h>
33 /* Maximum length of an error returned by IssuePrintCommand() */
34 #define MAX_PRINT_ERROR_LENGTH 1024
36 #define DESTINATION_REMOTE 1
37 #define DESTINATION_LOCAL 2
39 void LoadPrintPreferences(XrmDatabase prefDB, const char *appName,
40 const char *appClass, int lookForFlpr);
42 #ifdef VMS
43 void PrintFile(Widget parent, const char *PrintFileName, const char *jobName, int delete);
44 #else
45 void PrintFile(Widget parent, const char *PrintFileName, const char *jobName);
46 #endif /*VMS*/
48 #endif /* NEDIT_PRINTUTILS_H_INCLUDED */