1 /*******************************************************************************
5 ** static char sccsid[] = "@(#)print.h 1.2 94/06/01 Copyr 1991 Sun Microsystems, Inc.";
7 ** $XConsortium: print.h /main/8 1996/11/25 10:28:34 rswiston $
9 ** RESTRICTED CONFIDENTIAL INFORMATION:
11 ** The information in this document is subject to special
12 ** restrictions in a confidential disclosure agreement between
13 ** HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
14 ** document outside HP, IBM, Sun, USL, SCO, or Univel without
15 ** Sun's specific written approval. This document and all copies
16 ** and derivative works thereof must be returned or destroyed at
19 ** Copyright 1993 Sun Microsystems, Inc. All rights reserved.
21 *******************************************************************************/
24 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
25 * (c) Copyright 1993, 1994 International Business Machines Corp. *
26 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
27 * (c) Copyright 1993, 1994 Novell, Inc. *
39 * These indicate the type of report to be printed
40 * they are used in callback for option menu in print.c
41 * and stored in print data structure to record the
42 * option that's selected.
45 #define PR_WEEK_VIEW 1
46 #define PR_MONTH_VIEW 2
47 #define PR_YEAR_VIEW 3
48 #define PR_APPT_LIST 4
49 #define PR_TODO_LIST 5
52 * Moved from ps_graphics.h 04/10/96
59 #define LANDSCAPE FALSE
61 /* bit masks for checking privacy for printing */
62 #define PRINT_PUBLIC 0x1
63 #define PRINT_SEMIPRIVATE 0x2
64 #define PRINT_PRIVATE 0x4
66 extern void post_print_dialog(Calendar *c);
67 extern void create_print_dialog(Calendar *c);
68 extern char *pd_get_printer_name(Calendar *c);
69 extern int pd_get_copies(Calendar *c);
70 extern Tick pd_get_start_date(Calendar *c);
71 extern Tick pd_get_end_date(Calendar *c);
72 extern char *pd_get_print_options(Calendar *c);
73 extern Boolean pd_print_to_file(Calendar *c);
74 extern char *pd_get_file_name(Calendar *c);
75 extern int pd_get_report_type(Calendar *c);
76 extern void print_report(Calendar *c);
77 extern Widget pd_get_print_shell(Calendar *c);
78 extern Display *pd_get_print_display(Calendar *c);
79 extern void pd_set_bad_alloc_error(Calendar *c, Boolean errorOn);
80 extern Boolean pd_get_bad_alloc_error(Calendar *c);
83 extern Boolean inDebugMode(Calendar *c);