2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /*******************************************************************************
27 ** static char sccsid[] = "@(#)print.h 1.2 94/06/01 Copyr 1991 Sun Microsystems, Inc.";
29 ** $XConsortium: print.h /main/8 1996/11/25 10:28:34 rswiston $
31 ** RESTRICTED CONFIDENTIAL INFORMATION:
33 ** The information in this document is subject to special
34 ** restrictions in a confidential disclosure agreement between
35 ** HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
36 ** document outside HP, IBM, Sun, USL, SCO, or Univel without
37 ** Sun's specific written approval. This document and all copies
38 ** and derivative works thereof must be returned or destroyed at
41 ** Copyright 1993 Sun Microsystems, Inc. All rights reserved.
43 *******************************************************************************/
46 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
47 * (c) Copyright 1993, 1994 International Business Machines Corp. *
48 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
49 * (c) Copyright 1993, 1994 Novell, Inc. *
61 * These indicate the type of report to be printed
62 * they are used in callback for option menu in print.c
63 * and stored in print data structure to record the
64 * option that's selected.
67 #define PR_WEEK_VIEW 1
68 #define PR_MONTH_VIEW 2
69 #define PR_YEAR_VIEW 3
70 #define PR_APPT_LIST 4
71 #define PR_TODO_LIST 5
74 * Moved from ps_graphics.h 04/10/96
81 #define LANDSCAPE FALSE
83 /* bit masks for checking privacy for printing */
84 #define PRINT_PUBLIC 0x1
85 #define PRINT_SEMIPRIVATE 0x2
86 #define PRINT_PRIVATE 0x4
88 extern void post_print_dialog(Calendar *c);
89 extern void create_print_dialog(Calendar *c);
90 extern char *pd_get_printer_name(Calendar *c);
91 extern int pd_get_copies(Calendar *c);
92 extern Tick pd_get_start_date(Calendar *c);
93 extern Tick pd_get_end_date(Calendar *c);
94 extern char *pd_get_print_options(Calendar *c);
95 extern Boolean pd_print_to_file(Calendar *c);
96 extern char *pd_get_file_name(Calendar *c);
97 extern int pd_get_report_type(Calendar *c);
98 extern void print_report(Calendar *c);
99 extern Widget pd_get_print_shell(Calendar *c);
100 extern Display *pd_get_print_display(Calendar *c);
101 extern void pd_set_bad_alloc_error(Calendar *c, Boolean errorOn);
102 extern Boolean pd_get_bad_alloc_error(Calendar *c);
105 extern Boolean inDebugMode(Calendar *c);