Printing With CUPS
Summary:Setup And Configuration V
- Special tools
- Epson
- Lexmark
- Special Printer Drivers
Security Level
Section index - KB indexSetup 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
urpmi ghostscript-utils
- - Graphical program for the Lexmark Optra 40 and 45 printers, it probably works for the Lexmark 5xxx and 7xxx, too
pup
- ,
showcartridges
,hidecartridges
,headalign
- Command line programs for the Lexmark 5xxx and 7xxx printersheadclean
- - Another command line tool for changing the ink cartridges in the Lexmark 5xxx and 7xxx
changecartridge
- ,
lm1100change
- Command line tools for changing the cartridge in Lexmark 1xxx printerslm1100back
man lpoptions
lphelp
- 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 does not show a process entry for
ps auxwww|grep cupsd
) addcupsd
to '/etc/security/msec/init-sh/server.4' and/or '/etc/security/msec/init-sh/server.5'. This will make it a 'trusted service' in level "high" and/or "paranoid" respectively.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 for more information about setting up '/etc/hosts.deny' and '/etc/hosts.allow'.
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 line. Restart the CUPS daemon on all your machines with
Port
. Inservice cups restart
enter the port in the section "Network".kupsdconf
Related Resources:
See Resources on article index Modified: Nov. 15, 2000Author: Till Kamppeter Legal: This page is covered by the GNU Free Documentation License. Standard disclaimers of warranty apply. Copyright LSTB and Mandrakesoft.
Printing With CUPS
Version 1.7 last modified by Flink on 23/12/2005 at 19:40
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!
Mandriva.com
Store
Club

