1pm::Config(3)         User Contributed Perl Documentation        pm::Config(3)
2
3
4

NAME

6       Gnome2::Print::Config::Constants - constants for use with
7       Gnom2::Print::Config
8

SYNOPSIS

10         use Gnome2::Print; # gets the actual Gnome2::Print::Config objects and methods
11
12         use Gnome2::Print::Config::Constants; # load extra constants
13

DESCRIPTION

15       Similarily to Pango, in order to effectively use Gnome2::Print::Config
16       you need a few constants that are not supplied by the type system or by
17       other means.
18
19       This module exports all of those extra constants when you load it.
20       They use the fully-prefixed names from the C documentation.
21

EXPORT

23       These are some default keys to be used with Gnome2::Print::Config
24       set/get methods:
25
26         GNOME_PRINT_KEY_PAPER_SIZE
27         GNOME_PRINT_KEY_PAPER_WIDTH
28         GNOME_PRINT_KEY_PAPER_HEIGHT
29         GNOME_PRINT_KEY_PAPER_ORIENTATION
30         GNOME_PRINT_KEY_PAPER_ORIENTATION_MATRIX
31         GNOME_PRINT_KEY_PAGE_ORIENTATION
32         GNOME_PRINT_KEY_PAGE_ORIENTATION_MATRIX
33         GNOME_PRINT_KEY_ORIENTATION
34         GNOME_PRINT_KEY_LAYOUT
35         GNOME_PRINT_KEY_LAYOUT_WIDTH
36         GNOME_PRINT_KEY_LAYOUT_HEIGHT
37         GNOME_PRINT_KEY_RESOLUTION
38         GNOME_PRINT_KEY_RESOLUTION_DPI
39         GNOME_PRINT_KEY_RESOLUTION_DPI_X
40         GNOME_PRINT_KEY_RESOLUTION_DPI_Y
41         GNOME_PRINT_KEY_NUM_COPIES
42         GNOME_PRINT_KEY_COLLATE
43         GNOME_PRINT_KEY_PAGE_MARGIN_LEFT
44         GNOME_PRINT_KEY_PAGE_MARGIN_RIGHT
45         GNOME_PRINT_KEY_PAGE_MARGIN_TOP
46         GNOME_PRINT_KEY_PAGE_MARGIN_BOTTOM
47         GNOME_PRINT_KEY_PAPER_MARGIN_LEFT
48         GNOME_PRINT_KEY_PAPER_MARGIN_RIGHT
49         GNOME_PRINT_KEY_PAPER_MARGIN_TOP
50         GNOME_PRINT_KEY_PAPER_MARGIN_BOTTOM
51         GNOME_PRINT_KEY_OUTPUT_FILENAME
52         GNOME_PRINT_KEY_DOCUMENT_NAME
53         GNOME_PRINT_KEY_PREFERED_UNIT
54
55       These keys are also available without importing this module, using
56       Gnome2::Print::Print->key, e.g.:
57
58         Gnome2::Print::Config->key_output_filename;
59

BUGS

61       This module shouldn't exist, but some parts of the API just aren't
62       clean.
63
64       This stuff is hardcoded directly from the headers of libgnomeprint
65       2.2.3
66

SEE ALSO

68       perl(1), Gtk2(3pm), Gnome2(3pm), Gnome2::Print(3pm).
69

AUTHOR

71       Emmanuele Bassi <emmanuele.bassi@iol.it>
72
74       Copyright 2003 by Emmanuele Bassi
75
76       This library is free software; you can redistribute it and/or modify it
77       under the terms of the GNU Library General Public License as published
78       by the Free Software Foundation; either version 2 of the License, or
79       (at your option) any later version.
80
81       This library is distributed in the hope that it will be useful, but
82       WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
83       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library
84       General Public License for more details.
85
86       You should have received a copy of the GNU Library General Public
87       License along with this library; if not, write to the Free Software
88       Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307
89       USA.
90
91
92
93perl v5.8.8                       2006-11-22                     pm::Config(3)
Impressum