]>
Commit | Line | Data |
---|---|---|
1c9e0181 | 1 | README - CUPS v1.1.6 - 01/23/2001 |
5a39f97a | 2 | --------------------------------- |
64ec3e94 | 3 | |
93d2f0c0 | 4 | Looking for compile instructions? Read the file "INSTALL.txt" |
5 | instead... | |
58834631 | 6 | |
3e7eb9bb | 7 | |
93d2f0c0 | 8 | INTRODUCTION |
3e7eb9bb | 9 | |
93d2f0c0 | 10 | CUPS provides a portable printing layer for UNIX(r)-based |
11 | operating systems. It has been developed by Easy Software | |
12 | Products to promote a standard printing solution for all UNIX | |
13 | vendors and users. CUPS provides the System V and Berkeley | |
14 | command-line interfaces. | |
15 | ||
16 | CUPS uses the Internet Printing Protocol ("IPP") as the basis | |
17 | for managing print jobs and queues. The Line Printer Daemon | |
18 | ("LPD") Server Message Block ("SMB"), and AppSocket (a.k.a. | |
19 | JetDirect) protocols are also supported with reduced | |
20 | functionality. CUPS adds network printer browsing and | |
21 | PostScript Printer Description ("PPD") based printing options to | |
22 | support real-world printing under UNIX. | |
23 | ||
24 | CUPS also includes a customized version of GNU Ghostscript | |
25 | (currently based off GNU Ghostscript 5.50) and an image file RIP | |
26 | that are used to support non-PostScript printers. Sample | |
27 | drivers for HP and EPSON printers are included that use these | |
28 | filters. | |
29 | ||
30 | Drivers for over 2300 printers are provided with our ESP Print | |
31 | Pro software, available at: | |
3e7eb9bb | 32 | |
58834631 | 33 | http://www.easysw.com/printpro |
d50c1a7c | 34 | |
93d2f0c0 | 35 | CUPS is licensed under the GNU General Public License and GNU |
36 | Library General Public License. Please contact Easy Software | |
37 | Products for commercial support and "binary distribution" | |
38 | rights. | |
d50c1a7c | 39 | |
40 | ||
41 | SYSTEM REQUIREMENTS | |
42 | ||
93d2f0c0 | 43 | Binary distributions require a minimum of 10MB of free disk |
44 | space. We do not recommend using CUPS on a workstation with less | |
45 | than 32MB of RAM or a PC with less than 16MB of RAM. | |
d50c1a7c | 46 | |
93d2f0c0 | 47 | If you are installing from source you'll need ANSI-compliant C |
48 | and C++ compilers and optionally one or more image file support | |
49 | libraries. Complete source installation instructions can be | |
50 | found in the file "INSTALL.txt". | |
d50c1a7c | 51 | |
52 | ||
53 | SOFTWARE REQUIREMENTS | |
54 | ||
7428af94 | 55 | The following operating system software is required to install |
56 | one of the binary distributions from Easy Software Products: | |
d50c1a7c | 57 | |
58 | - Digital UNIX (aka OSF1 aka Compaq Tru64 UNIX) 4.0 or higher | |
59 | - HP-UX 10.20 or higher | |
60 | - IRIX 5.3 or higher | |
cedfb4b7 | 61 | - Linux 2.0 with glibc2 or higher |
d50c1a7c | 62 | - Solaris 2.5 or higher (SPARC or Intel) |
63 | ||
64 | ||
5d66e133 | 65 | INSTALLING "PORTABLE" CUPS DISTRIBUTIONS |
d50c1a7c | 66 | |
93d2f0c0 | 67 | We are currently distributing "portable" CUPS binary |
68 | distributions in TAR format with installation and removal | |
69 | scripts generated by our ESP Package Manager (EPM) software, | |
70 | which is available from: | |
cedfb4b7 | 71 | |
72 | http://www.easysw.com/epm | |
d50c1a7c | 73 | |
93d2f0c0 | 74 | WARNING: Installing CUPS will overwrite your existing printing |
75 | system. Backup files are made by the installation script and | |
76 | restored by the removal script, so if you experience problems | |
77 | you should be able to remove the CUPS software to restore your | |
78 | previous configuration. However, Easy Software Products makes | |
79 | no warranty for this and will not be liable for any lost | |
80 | revenues, etc. | |
3e7eb9bb | 81 | |
93d2f0c0 | 82 | To install the CUPS software you will need to be logged in as |
83 | root (doing an "su" is good enough). Once you are the root | |
84 | user, run the installation script with: | |
c9e6a22c | 85 | |
d50c1a7c | 86 | ./cups.install ENTER |
3e7eb9bb | 87 | |
93d2f0c0 | 88 | After asking you a few yes/no questions the CUPS software will |
89 | be installed and the scheduler will be started automatically. | |
3e7eb9bb | 90 | |
3e7eb9bb | 91 | |
5d66e133 | 92 | INSTALLING HOST-SPECIFIC (RPM, DEBIAN, ETC.) DISTRIBUTIONS |
93 | ||
93d2f0c0 | 94 | The host-specific distributions use the operating system |
95 | software installation tools. To install a host-specific | |
96 | distribution please consult the CUPS Software Administrators | |
97 | Manual or your operating system documentation. | |
5d66e133 | 98 | |
99 | ||
cedfb4b7 | 100 | READING THE DOCUMENTATION |
101 | ||
93d2f0c0 | 102 | Once you have installed the software you can access the |
103 | documentation (and a bunch of other stuff) on-line at: | |
cedfb4b7 | 104 | |
105 | http://localhost:631 | |
106 | ||
93d2f0c0 | 107 | If you're having trouble getting that far, the documentation is |
108 | located in the "/usr/share/doc/cups" directory in the binary | |
109 | distributions, and under the "doc" directory in the source | |
110 | archives. | |
cedfb4b7 | 111 | |
112 | Please read the documentation before asking questions. | |
113 | ||
114 | ||
93d2f0c0 | 115 | GETTING SUPPORT AND OTHER RESOURCES |
116 | ||
117 | If you have problems, READ THE DOCUMENTATION FIRST! | |
118 | ||
119 | You can subscribe to the CUPS mailing list by sending a message | |
120 | containing "subscribe cups" to majordomo@cups.org. This list is | |
121 | provided to discuss problems, questions, and improvements to the | |
122 | CUPS software. New releases of CUPS are announced to this list | |
123 | as well. | |
124 | ||
125 | Commercial support (with a guaranteed response time) is | |
126 | available from Easy Software Products. For more information | |
127 | see: | |
128 | ||
129 | http://www.easysw.com/cups | |
130 | ||
131 | See the CUPS web site at "http://www.cups.org" for other site | |
132 | links. | |
133 | ||
134 | ||
64ec3e94 | 135 | SETTING UP PRINTER QUEUES USING YOUR WEB BROWSER |
136 | ||
93d2f0c0 | 137 | CUPS 1.1 includes a new web-based administration tool that |
138 | allows you to manage printers, classes, and jobs on your | |
139 | server. To access the printer administration tools open the | |
140 | following URL in your browser: | |
64ec3e94 | 141 | |
142 | http://localhost:631/admin | |
143 | ||
93d2f0c0 | 144 | You will be asked for the administration password (root or any |
145 | other user in the sys/system/root group on your system) and then | |
146 | shown a menu of available functions. | |
64ec3e94 | 147 | |
93d2f0c0 | 148 | DO NOT use the hostname for your machine - it will not work with |
149 | the default CUPS configuration. To enable administration access | |
150 | on other addresses, consult the CUPS Software Administrators | |
151 | Manual. | |
5d66e133 | 152 | |
64ec3e94 | 153 | |
154 | SETTING UP PRINTER QUEUES FROM THE COMMAND-LINE | |
3e7eb9bb | 155 | |
93d2f0c0 | 156 | CUPS works best with PPD (PostScript Printer Description) |
157 | files. In a pinch you can also use System V style printer | |
158 | interface scripts. | |
3e7eb9bb | 159 | |
93d2f0c0 | 160 | Six sample PPD files are provided with this distribution that |
161 | utilize the PostScript and image file RIPs and the sample EPSON | |
162 | and HP printer drivers. To add the sample DeskJet driver to the | |
163 | system for a printer connected to the parallel port, use one of | |
164 | the following commands: | |
c9e6a22c | 165 | |
d50c1a7c | 166 | Digital UNIX: |
3e7eb9bb | 167 | |
d50c1a7c | 168 | /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/lp0 -E |
3e7eb9bb | 169 | |
d50c1a7c | 170 | HP-UX: |
3e7eb9bb | 171 | |
d50c1a7c | 172 | /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/c2t0d0_lp -E |
c9e6a22c | 173 | |
d50c1a7c | 174 | IRIX: |
3e7eb9bb | 175 | |
d50c1a7c | 176 | /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/plp -E |
3e7eb9bb | 177 | |
d50c1a7c | 178 | Linux: |
3e7eb9bb | 179 | |
64ec3e94 | 180 | /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/lp0 -E |
181 | /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/lp1 -E | |
182 | /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/lp2 -E | |
3e7eb9bb | 183 | |
d50c1a7c | 184 | Solaris: |
3e7eb9bb | 185 | |
d50c1a7c | 186 | /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/bpp0 -E |
187 | /usr/lib/lpadmin -p DeskJet -m deskjet.ppd -v parallel:/dev/ecpp0 -E | |
188 | ||
64ec3e94 | 189 | Similarly, for the other sample drivers you can use: |
d50c1a7c | 190 | |
64ec3e94 | 191 | Driver PPD File |
192 | -------------------------- ------------ | |
193 | HP DeskJet Series deskjet.ppd | |
194 | HP LaserJet Series laserjet.ppd | |
195 | EPSON Stylus Color Series stcolor.ppd | |
196 | EPSON Stylus Photo Series stphoto.ppd | |
58834631 | 197 | EPSON 9-pin Series epson9.ppd |
198 | EPSON 24-pin Series epson24.ppd | |
d50c1a7c | 199 | |
93d2f0c0 | 200 | These sample drivers provide basic printing capabilities, but |
201 | generally do not exercise the full potential of the printers or | |
202 | CUPS. For commercial printer drivers check out our ESP Print | |
203 | Pro software at: | |
093b0c0f | 204 | |
205 | http://www.easysw.com/printpro | |
206 | ||
d50c1a7c | 207 | |
208 | PRINTING FILES | |
209 | ||
93d2f0c0 | 210 | CUPS provides both the System V "lp" and Berkeley "lpr" commands |
211 | for printing: | |
d50c1a7c | 212 | |
213 | lp filename | |
214 | lpr filename | |
215 | ||
93d2f0c0 | 216 | Both the "lp" and "lpr" commands support printing options for |
217 | the driver: | |
d50c1a7c | 218 | |
219 | lp -omedia=A4 -oresolution=600dpi filename | |
220 | lpr -omedia=A4 -oresolution=600dpi filename | |
221 | ||
93d2f0c0 | 222 | CUPS recognizes many types of images files as well as PDF, |
223 | PostScript, HP-GL/2, and text files, so you can print those | |
224 | files directly rather than through an application. | |
d50c1a7c | 225 | |
93d2f0c0 | 226 | If you have an application that generates output specifically |
227 | for your printer then you need to use the "-oraw" or "-l" | |
228 | options: | |
d50c1a7c | 229 | |
230 | lp -oraw filename | |
231 | lpr -l filename | |
232 | ||
93d2f0c0 | 233 | This will prevent the filters from misinterpreting your print |
234 | file. | |
3e7eb9bb | 235 | |
c9e6a22c | 236 | |
237 | LEGAL STUFF | |
3e7eb9bb | 238 | |
d2935a0f | 239 | CUPS is Copyright 1993-2001 by Easy Software Products. CUPS, |
93d2f0c0 | 240 | the CUPS logo, and the Common UNIX Printing System are the |
241 | trademark property of Easy Software Products. | |
d50c1a7c | 242 | |
5d66e133 | 243 | The MD5 Digest code is Copyright 1999 Aladdin Enterprises. |
244 | ||
245 | The PostScript RIP software (pstoraster) is based on the GNU | |
93d2f0c0 | 246 | Ghostscript 5.50 core, Copyright 1986-1998 by Aladdin |
247 | Enterprises. | |
5d66e133 | 248 | |
93d2f0c0 | 249 | The PDF filter (pdftops) is based on the Xpdf 0.90 software, |
250 | Copyright 1996-1999 by Derek B. Noonburg. | |
5d66e133 | 251 | |
93d2f0c0 | 252 | This software is based in part on the work of the Independent |
253 | JPEG Group. | |
5d66e133 | 254 | |
93d2f0c0 | 255 | CUPS is provided under the terms of the GNU General Public |
256 | License and GNU Library General Public License. This program is | |
257 | distributed in the hope that it will be useful, but WITHOUT ANY | |
258 | WARRANTY; without even the implied warranty of MERCHANTABILITY | |
259 | or FITNESS FOR A PARTICULAR PURPOSE. See the "LICENSE.html", | |
260 | "LICENSE.txt", or "cups.license" files for more information. | |
58834631 | 261 | |
262 | For commercial licensing information, please contact: | |
3e7eb9bb | 263 | |
d50c1a7c | 264 | Attn: CUPS Licensing Information |
265 | Easy Software Products | |
266 | 44141 Airport View Drive, Suite 204 | |
267 | Hollywood, Maryland 20636-3111 USA | |
3e7eb9bb | 268 | |
e338c390 | 269 | Voice: +1.301.373.9600 |
d50c1a7c | 270 | Email: cups-info@cups.org |
271 | WWW: http://www.cups.org | |
58834631 | 272 | |
93d2f0c0 | 273 | Note that commercial licensors may also require a license from |
274 | Artifex Software Inc. which handles commercial licensing of the | |
275 | Ghostscript software, and from Derek B. Noonburg who developed | |
276 | the Xpdf software used to print PDF files. |