On Fri, 14 Mar 2003, Jerome Acks Jr wrote:
> On Fri, Mar 14, 2003 at 08:02:52PM +0100, iks_kzm wrote: > > > > > > Thanks for answer. > > > > On Thu, 13 Mar 2003, Jerome Acks Jr wrote: > > > > > On Thu, Mar 13, 2003 at 03:08:07PM +0100, iks_kzm wrote: > > > > > > > > > > > > I had problem with cups: > > > > > > Please don't break the text in you message into blocks by placing "--" > > > between the blocks. Some mail user agents (e.g. mutt) interpret this > > > as the start of a signature. It makes it difficult to incorporate the > > > text of your message in the reply. > > > > I am really sorry. > > > > > > > > > During the installation I got the following message: > > > > > > > > "cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - > > > > exiting" > > > > > > > > and there is no file cupsd.conf in /etc/cups/. > > > > > > > > > > > > Then when I connect (using mozilla) to > > > > http://localhost:631/ > > > > > > > > and then try to choose "Do Administration Tasks" or "Printers" > > > > I got : > > > > "Alert! The connection was refused when attempting to contact > > > > localhost:631." > > > > > > Connecting to http://localhost:631 will only work if cupsd daemon is > > > running. You will not be able to use web interface to administer your > > > printers until you get the daemon to run. Until then, you can > > > administer printers with the lpadmin program. Make yourself a member > > > of the "lpadmin" group to be able to administer printers without > > > becoming root. > > I think it is a bug in dselect or in cupsys debian package. > > I used 'dpkg -i cupsys...' > > and the package and cupsys-client and cups-bsd were installed. > > > > How one can make a user a member of the 'lpadmin' group? > > # adduser your_userID lpadmin > > > > > Still have problem: > > When I use the printer from NON-root account it seems that > > the configuration of the printer is NOT OK. > > E.g. when I print some picture (region filled with gray colour) > > it is printed as black but from the root account it is printed OK. > > That sounds like a permission problem, i.e. permission or ownership of > some directory is not set properly, or user needs to be added to some > group to get write access priviledges to a device. > > You have not mentioned anything about installing drivers for your > printer. You probably need to install one of these packages: I have HP Laserjet 1200 series. > 1) cupsys-driver-gimpprint, > 2) foomatic-bin and foomatic-db, or > 3) cupsomatic-ppd. I have installed 1, 2 and 3. But I just copied from the CD (which I obtained with the printer) the original HP_Laserjet_1200.ppd to /usr/share/cups/model/HP/, restarted cups and then connected to http://localhost:631 and add new printer choosing the HP_Laserjet_1200 series model. I noticed the following: the files /etc/cups/cupsd.conf and printers.conf can be read and executed ONLY by root. I changed the mode (using chmod) so any user can read the files but nothing changed: the described above printing problem remained the same. When I did '/etc/init.d/./cupsys restart' the two files again can be read and executed ONLY by root. I use debian 3.0 (woody) Any clue? Jan > > Do you have libcupsys2 and gs-esp installed? I installed libcupsys2 but I cannot figure out whether I have gs-esp. What gs-esp is? Using search in dselect I cannot find it. I have installed all most packages connected with gs (ghostscript). Jan > > Which version of debian/GNU are you using? > > > I use gv to print postscript files and acrobat to print pdf files. > > The command for printing is lp or lpr: both work in strange way > > described above. > > BUT I noticed that when I use KGhostview instead of gv to print .ps > > files from non-root account the picture with gray filling is printed OK. > > In KGhostview I can choose in print dialog window cups or lprng and so on. > > Of course I choose cups system. > > > > It seems that gv and acrobat are not aware of cups system in non-root > > account. > > > > Any clue? > > > > Jan > > > -- > Jerome -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]