Prev | Current Page 1278 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

For example, type the
following as root user:
# rc-update add cupsd default
# /etc/init.d/cupsd start
Most Linux systems have similar ways of starting the CUPS service. You may need to poke around
to see how CUPS starts on the distribution you are using.
Configuring CUPS Printer Options Manually
If your Linux distribution doesn??™t have a graphical means of configuring CUPS, you can edit configuration
files directly. For example, when a new printer is created from the Printer Configuration window,
it is defined in the /etc/cups/printers.conf file. Here is what a printer entry looks like:


Info HP LaserJet 2100M
Location HP LaserJet 2100M in hall closet
DeviceURI parallel:/dev/lp0
State Idle
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0

This is an example of a local printer that serves as the default printer for the local system. The most
interesting information relates to DeviceURI, which shows that the printer is connected to parallel
port /dev/lp0. The state is Idle (ready to accept printer jobs), and the Accepting value is Yes
(the printer is accepting print jobs by default).
The DeviceURI has several ways to identify the device name of a printer, reflecting where the
printer is connected.


Pages:
1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290