0 | |
foomatic-db-engine for Debian
|
1 | |
-----------------------------
|
2 | |
|
3 | |
Note that the structure of the LinuxPrinting.org (foomatic) printer
|
4 | |
configuration system in Debian (and upstream) has changed from the 2.0
|
5 | |
series. There are now 3 core packages:
|
6 | |
|
7 | |
* foomatic-db: Contains the foomatic printer database.
|
8 | |
|
9 | |
* foomatic-db-engine (this package): Contains the foomatic-configure script.
|
10 | |
|
11 | |
* foomatic-filters: Contains the filter scripts for various backend
|
12 | |
printing systems.
|
13 | |
|
14 | |
In addition, the new foomatic-db-hpijs package includes the database
|
15 | |
entries for printers supported by the HPIJS print filter developed by
|
16 | |
Hewlett-Packard for its consumer inkjet line of printers.
|
17 | |
|
18 | |
The foomatic-bin package is provided for upgrade purposes from
|
19 | |
Foomatic 2.0, and can be purged after its dependencies have been
|
20 | |
installed.
|
21 | |
|
22 | |
If you want a GUI to configure your printer, you may want to try
|
23 | |
"foomatic-gui," a GNOME-based printer configuration tool that works
|
24 | |
with Foomatic and all of the spoolers it supports.
|
25 | |
|
26 | |
** How to configure a queue manually *
|
27 | |
|
28 | |
The command "foomatic-configure" handles this. Set up the queue as follows:
|
29 | |
|
30 | |
foomatic-configure -n <queue-name> -N <description> -L <location>
|
31 | |
-c <connection> -p <printer> -d <driver> -s <spooler>
|
32 | |
|
33 | |
where:
|
34 | |
|
35 | |
queue-name: What you want the queue to be called.
|
36 | |
|
37 | |
description: A human-readable description of the queue.
|
38 | |
|
39 | |
location: The physical location of the printer.
|
40 | |
|
41 | |
connection: How the printer is connected. e.g.:
|
42 | |
Parallel port: file:/dev/lp0
|
43 | |
USB port: file:/dev/usb/lp0
|
44 | |
IPP/CUPS: ipp://printserver.example.org/printers/lj4500
|
45 | |
Samba/Windows: smb://WORKGROUP/PC/Canon
|
46 | |
JetDirect: socket://jetdirect.example.org:9100/
|
47 | |
|
48 | |
printer: The printer database name. Generally:
|
49 | |
Manufacturer_Model-Name
|
50 | |
|
51 | |
driver: The driver backend to use. For most modern printers, one of:
|
52 | |
hpijs (if you have foomatic-db-hpijs installed)
|
53 | |
gimp-print (if you have foomatic-db-gimp-print installed)
|
54 | |
gimp-print-ijs (a hybrid that ijsgimpprint and hpijs to be installed)
|
55 | |
Postscript
|
56 | |
pcl5
|
57 | |
|
58 | |
Your best bet on these two items is looking them up in the database at
|
59 | |
LinuxPrinting.org or looking through the XML files in
|
60 | |
/usr/share/foomatic/db/source/printer/
|
61 | |
|
62 | |
spooler: one of: cups, lpd, lprng, ppd, direct, ppr, pdq, gnulpr
|
63 | |
(You can omit the -s option and it will try to guess.)
|
64 | |
|
65 | |
** Notes for CUPS users **
|
66 | |
|
67 | |
IMPORTANT: If your printer filter is not working (dumping raw
|
68 | |
PostScript to the printer) immediately after setting up a queue with
|
69 | |
foomatic-configure, you may need to reload the CUPS daemon. e.g. use:
|
70 | |
# invoke-rc.d cupsys reload
|
71 | |
|
72 | |
There used to be a package called "cupsomatic-ppd" that provided PPD
|
73 | |
files for all printers supported by CUPS. A similar package called
|
74 | |
"foomatic-filters-ppds" is now available in Debian.
|
75 | |
|
76 | |
This package saves the step of using foomatic-configure to generate
|
77 | |
and install a PPD file for your printer and driver. Perhaps more
|
78 | |
importantly, it provides an easy way to select printers from within
|
79 | |
CUPS's web-based administration tool. However, it is also 15 MB when
|
80 | |
compressed, so is not recommended unless you need to use the CUPS web
|
81 | |
interface to initially set up printers.
|
82 | |
|
83 | |
-- Chris Lawrence <lawrencc@debian.org>, Tue Jul 1 19:15:43 2003
|