On Fri, 18 Apr 2003 11:46, Jose Sanchez wrote:
Hi, I thinks that is what I am missing, because now I can see the printer in Windows XP but when I send the print command nothing happends, and I have cups installed. What should I change there and where is this cupsd.conf file located?
Jose
Hi, The configuration files for cups are located at /etc/cups There are two main config files:- cupsd.conf = Server configuration (Used if you have a printer connected to this machine) client.conf = Client config (used if you are a client to a cups server) You will have to logged in as root to alter either of these files. ------------------------ Altering cupsd.conf ------------------------------- This file is extremely well commented and includes examples of what you should enter. Firstly at about line 50 add your ServerName you will see an example commented out as shown below. #ServerName myhost.domain.com Next locate the section marked "######## Browsing Options" located about line number 470. Search for BrowseAddress and add your ip address replacing the last number with 255 - for example if my ip address is 10.1.2.3 enter the following BrowseAddress 10.1.2.255 Slighly further down add BrowseAllow 10.1.2.* -------------------------- Altering client.conf -------------------------- This file is used on machines which are a client to a CUPS Server (e.g. No printer connected to the machine but connects to another machine to print) At about line 40 you will find an example commented out of setting the ServerName. e.g. #ServerName myhost.domain.com Add an entry with the Fully Qualified Domain Name of your server there. ---------------------- Debugging Cups problems --------------------- All errors are logged in /var/log/cups/error_log file, just goto the end of the file for the latest debug statements. The level of the debug entries are controlled by an entry in /etc/cups/cupsd.conf file. Search for LogLevel should be about line 165 WARNING: Do not set this level too high otherwise you will be flooded with debug messages and won't be able to identify what is wrong. Start with "info" and if this does not supply enough details then proceed to "debug". I have never needed to go any higher than this. Please ensure you restart cups after any alterations are done to the above configuration files. e.g. rccups restart or /etc/init.d/cups restart I hope the above contains enough details to get cups working. Also see:- CUPS and the LinuxPrinting.org Database http://www.linuxprinting.org/cups-doc.html and Troubleshooting-CUPS-and-Asking-for-Help HOWTO http://www.cups.org/cups-help.html -- Regards, Graham Smith ---------------------------------------------------------