1
- INSTALL - OpenPrinting CUPS Filters v2.0b1 - 2022-11-14
1
+ INSTALL - OpenPrinting CUPS Filters v2.0b1 - 2022-11-18
2
2
-------------------------------------------------------
3
3
4
4
This file describes how to compile and install OpenPrinting CUPS
5
5
Filters from source code. For more information on OpenPrinting CUPS
6
- Filters see the file called "README.txt ". A complete change log can
7
- be found in "CHANGES.txt ".
6
+ Filters see the file called "README.md ". A complete change log can be
7
+ found in "CHANGES.md ".
8
8
9
9
**** IF YOU HAVE A NON-POSTSCRIPT PRINTER AND ARE NOT ****
10
10
**** RUNNING MAC OS X, YOU WILL ALSO NEED TO INSTALL ****
@@ -26,68 +26,43 @@ BEFORE YOU BEGIN
26
26
Compaq, HP, SGI, and Sun. BSD users should use GNU make (gmake) since BSD
27
27
make does not support "include".
28
28
29
- Poppler, freetype, fontconfig , and liblcms (liblcms2 recommended)
29
+ libcups (of CUPS 2.2.2 or newer), libcupsfilters 2.x , and libppd
30
30
must be installed to be able to compile this package.
31
31
32
- Note that Poppler has to be compiled with the
33
- "--enable-poppler-cpp" configure option (or the
34
- "libpoppler-cpp-dev(el)" package has to be installed if the
35
- Poppler packages from a Linux distribution are used).
36
-
37
- Besides these tools you'll want the JPEG, PNG, TIFF, ZLIB libraries for
38
- image support. CUPS Filters will compile and run without these, however
39
- you'll miss out on many of the features provided by CUPS Filters.
40
-
41
- To get cups-browsed, the daemon to browse Bonjour broadcasts of
42
- remote CUPS queues and make the queues available locally, you also
43
- need libavahi-common and libavahi-client.
44
-
45
32
COMPILING THE GIT REPOSITORY CODE
46
33
47
- The CUPS Filters GIT repository doesn't hold a copy of the pre-built
48
- configure script. You'll need to run the GNU autoconf software (2.65 or
49
- higher) to create it:
34
+ The CUPS Filters GIT repository doesn't hold a copy of the
35
+ pre-built configure script. You'll need to run the GNU autoconf
36
+ software (2.65 or higher) to create it:
50
37
51
38
./autogen.sh
52
39
53
40
54
41
CONFIGURATION
55
42
56
- CUPS Filters uses GNU autoconf, so you should find the usual "configure"
57
- script in the main CUPS Filters source directory. To configure CUPS
58
- Filters for your system, type:
43
+ CUPS Filters uses GNU autoconf, so you should find the usual
44
+ "configure" script in the main CUPS Filters source directory. To
45
+ configure CUPS Filters for your system, type:
59
46
60
47
./configure
61
48
62
49
The default installation will put the CUPS Filters software in the
63
- "/etc" and "/usr" directories on your system, which will overwrite
64
- some of the original filters and their auxiliary files of CUPS
65
- 1.5.x or earlier and the auxiliary files of bannertops in all CUPS
66
- versions including version 1.6.x (see also the section "PACKAGING
67
- THE SOFTWARE FOR OPERATING SYSTEM DISTRIBUTIONS" below). The
68
- system will still have the same functionality as before, but CUPS
69
- will not convert all incoming files into PostScript any more, it
70
- will convert them into PDF instead and after applying page
71
- management (N-up, selected pages, reverse order, ...) by the
72
- pdftopdf filter and convert PDF into the printer's native format
73
- then (PDF-based printing workflow). CUPS 1.6.x or later does not
74
- contain any filters which this package provides. It requires the
75
- installation of this package for printing with filters and drivers
76
- under Linux (or other non-Mac-OS-X operation systems).
77
-
78
- Use the "--prefix" option to install the CUPS Filters software in another
79
- location:
50
+ "/usr" directory on your system.
51
+
52
+ Use the "--prefix" option to install the CUPS Filters software in
53
+ another location:
80
54
81
55
./configure --prefix=/some/directory
82
56
83
- To see a complete list of configuration options, use the --help option:
57
+ To see a complete list of configuration options, use the --help
58
+ option:
84
59
85
60
./configure --help
86
61
87
- If any of the dependent libraries are not installed in a system default
88
- location (typically "/usr/include" and "/usr/lib") you'll need to set the
89
- CFLAGS, CPPFLAGS, CXXFLAGS, DSOFLAGS, and LDFLAGS environment variables
90
- prior to running configure:
62
+ If any of the dependent libraries are not installed in a system
63
+ default location (typically "/usr/include" and "/usr/lib") you'll
64
+ need to set the CFLAGS, CPPFLAGS, CXXFLAGS, DSOFLAGS, and LDFLAGS
65
+ environment variables prior to running configure:
91
66
92
67
setenv CFLAGS "-I/some/directory"
93
68
setenv CPPFLAGS "-I/some/directory"
@@ -129,57 +104,7 @@ INSTALLING THE SOFTWARE
129
104
130
105
PACKAGING THE SOFTWARE FOR OPERATING SYSTEM DISTRIBUTIONS
131
106
132
- The use of cups-filters is supported for CUPS from version 1.5.x
133
- on (to switch to the PDF-based printing workflow already now) and
134
- required for CUPS 1.6.x (as it does not ship a complete filter set
135
- any more). In both cases cups-filters ships some files which exist
136
- also in CUPS, but the versions of cups-filters have to be used to
137
- assure that printing works correctly. So in the packaging of CUPS
138
- the files should be removed.
139
-
140
- Use the alternatives facility (see update-alternatives(8)) only if
141
- your CUPS version is 1.5.x and you want to make the use of
142
- cups-filters optional. Note that then the files of cups-filters
143
- need to have priority.
144
-
145
- When using cups-filters with CUPS 1.5.x, many of the original CUPS
146
- filters get replaced or at least useless. Please remove the
147
- following files from your CUPS package:
148
-
149
- /usr/lib/cups/backend/serial
150
- /usr/lib/cups/backend/parallel
151
- /usr/lib/cups/filter/bannertops
152
- /usr/lib/cups/filter/commandtoescpx
153
- /usr/lib/cups/filter/commandtopclx
154
- /usr/lib/cups/filter/imagetops
155
- /usr/lib/cups/filter/imagetoraster
156
- /usr/lib/cups/filter/pdftops
157
- /usr/lib/cups/filter/rastertoescpx
158
- /usr/lib/cups/filter/rastertopclx
159
- /usr/lib/cups/filter/texttops
160
- /usr/share/cups/banners/*
161
- /usr/share/cups/data/testprint
162
- /usr/share/cups/data/psglyphs
163
- /usr/share/cups/fonts/*
164
-
165
- Also comment out all conversion rules which use any of the removed
166
- filters. You can do it with the following command line:
167
-
168
- perl -p -i -e 's:^(.*\s+(pdftops|texttops|imagetops|bannertops|imagetoraster)\s*)$:#\1:' /usr/share/cups/mime/mime.convs
169
-
170
- If you use CUPS 1.6.x there is less to remove from the CUPS
171
- package. It is only bannertops and its auxiliary files which are
172
- in the way for bannertopdf:
173
-
174
- /usr/lib/cups/filter/bannertops
175
- /usr/share/cups/banners/*
176
- /usr/share/cups/data/testprint
177
-
178
- The conversion rules get commented out via:
179
-
180
- perl -p -i -e 's:^(.*\s+bannertops\s*)$:#\1:' /usr/share/cups/mime/mime.convs
181
-
182
- For CUPS 1.6.x a bug report/feature request is posted to ask for
183
- (at least optional) removal of bannertops:
184
-
185
- http://www.cups.org/str.php?L4120
107
+ The use of this version of cups-filters is supported for CUPS 2.x
108
+ from version 2.2.2 on. For earlier versions of CUPS please use
109
+ cups-filters 1.x. For CUPS 3.x this package will not be needed any
110
+ more.
0 commit comments