Printing With CUPS
Summary:
Setup And Configuration V
- Special tools
- Epson
- Lexmark
- Special Printer Drivers
Security Level
Setup and Configuration V
Special tools
Some printers require special tools for maintenance. Among the printers supported by Mandriva Linux 2006 the Epson Stylus ink-jets and the Lexmark ink-jets are such printers.
"escputil" for Epson
The Epson Stylus ink-jet printers feature a different technology than most of the other ink-jets from HP, Canon, Lexmark, and so on.
Most ink-jet printers have their print head (the ink nozzles) integrated in the ink cartridge, so when the cartridge is empty, not only the cartridge but also the print head gets changed. This way the print heads are renewed regularly and the risk of having clogged nozzles is not that high. The Epson Stylus printers have a permanent print head, and the cartridges are just ink tanks and nothing more.
So the print heads need special care not to get clogged, because this would make the whole printer unusable. One can press the nozzle-cleaning button on the printer when printouts get bad (i.e. horizontal light stripes). For more comfortable maintenance, there is the tool
escputil
escputil | less
Tools for Lexmark
The Lexmark ink-jets have another problem. Most of them are so-called "win-printers", they are not only depleted of memory and built-in fonts to make them cheap, but also there aren't any types of buttons or indicator lights. Thus - for example - getting the print head to an accessible position to change the cartridges and getting it back afterward is realized by a Windows program giving the appropriate commands to the printer. Other maintenance tasks like nozzle cleaning, head alignment, printing test patterns, and so on are realized by special Windows programs, too. For many of these functions there are already appropriate programs in Linux Mandrake 7.2, mostly run from the command line, but there's also a graphical utility.
If you install a Lexmark printer with '~PrinterDrake', these maintenance tools get installed automatically. If you have installed your Lexmark printer with another program, you should install the tools with:
urpmi ghostscript-utils
These tools are available:
-
pup
-
showcartridges
hidecartridges
headalign
headclean
-
changecartridge
-
lm1100change
lm1100back
These programs do not really do head-aligning, but they print the appropriate test patterns for aligning the print heads. For doing the head-aligning, you have to start 'Kups' and right-click on the symbol of the appropriate printer, choose "Configure printer" in the pop-up menu and look for "Head Adjustments" in the options. Change them and look whether the output quality of the test patterns improves. Users who prefer command line utilities should check out
man lpoptions
lphelp
Not all drivers offer head alignment, check whether you have installed one of these drivers:
- Lexmark 5000, Foomatic + lx5000 (1200x600 dpi Colour or BW)
- Lexmark 5700, Foomatic + lxm5700m (600 dpi BW)
- Lexmark Z51, Foomatic + lx5000 (1200x600 dpi Colour or BW)
Special Printer Drivers
The printer driver Turboprint supports a lot of printer models. The demo versions has full functionality, but a watermark will be printed on the first page. Here you will find a working driver for the newest colour printers.
The Open Source Gutenprint provides printer drivers that have formerly be written for the GIMP drawing program.
Security Level
If you have set up your system with "high" or "paranoid" security level (levels 4 and 5), CUPS will probably not work correctly. To fix this, try these (see also Chapter 12 of the Mandrake Linux Reference Guide):
- When the CUPS daemon is not running at all (Error: "Unable to connect to CUPS server, check options." or similar, or
ps auxwww|grep cupsd
cupsd
cups
Then issue these commands:
chkconfig ––add cups<br> service cups start
- If the CUPS daemon is running and you cannot access your local printers from a remote machine in the "high" security level and also not from the local machine in the "paranoid" security level, edit '/etc/hosts.deny' and '/etc/hosts.allow' to allow access from your local machine and from machines of your local network. This access is blocked by default in "high" and "paranoid" security mode. Type
man hosts.access
- "High" and "paranoid" security mode might block port 631 (I haven't seen that happen, though). So you should try to run CUPS over an unprivileged port (> 1024). Edit '/etc/cups/cupsd.conf' on all your machines to use another port. Enter the desired port number (must be the same for all machines) in the
Port
service cups restart
kupsdconf
Related Resources:
See Resources on article index
Modified: Nov. 15, 2000
Author: Till Kamppeter
Legal: This page is covered by the GNU Free Documentation License. Standard disclaimers of warranty apply. Copyright LSTB and Mandrakesoft.
Version 1.7 last modified by Flink on 23/12/2005 at 19:40
Document data
- Lost account?
- Join the community, be part of the Club: it's free!
- Get the PWP Download Subscription!