Apologies for not responding significantly sooner. I do not know what
happened with the request such that I did not see it.

The short answer is that the 'model' directory and all subdirectories of
that, including samsung and cms did not exist, much less the file CLP-
510cms

As noted at the time, the solution I tried that worked was to run
system-config-printer with gksudo.

While that worked under Interepid, I'm afraid that the workaround does
not work under the current release of system-config-printer under
Jaunty, or the alpha of Karmic. I have not tried all possible methods of
getting this to work, but so far I have tried running the installer with
gksudo, as a normal user, and have even tried installing the printer
through pointing a web browser at http://localhost:631/ to no avail.
I've tried creating the path to the cms files so that the installer can
write to them. no luck with that either.

Because the behavior appears to be different I suspect that I should be
filing a new bug report, but may point back at this one as a similar
issue.

The events that I am seeing in the /var/log/cups/error_log are:

E [24/Aug/2009:00:43:46 -0500] cupsdAuthorize: Local authentication certificate 
not found!
E [24/Aug/2009:00:43:49 -0500] cupsdAuthorize: Local authentication certificate 
not found!
E [24/Aug/2009:00:43:49 -0500] CUPS-Add-Modify-Printer: Unauthorized
E [24/Aug/2009:00:43:54 -0500] [Job 15] SpliX Cannot open CMS file 
/usr/share/cups/model/samsung/cms/CLP-510cms (2)
E [24/Aug/2009:00:43:54 -0500] [Job 15] SpliX Cannot open CMS file 
/usr/share/cups/model/samsung/cms/CLP-510cms2 (2)

This is not a universal issue with SpliX. I am able to add an ML-2150
laser printer without issue. As a result, the issue may very well be
with the SpliX portion of the installer or such.

To satisfy the request, the following interaction before adding the
printer as a normal user:

ru...@lr:/usr/share/cups$ id
uid=1000(rusty) gid=1000(rusty) 
groups=4(adm),20(dialout),24(cdrom),46(plugdev),106(lpadmin),121(admin),122(sambashare),1000(rusty)
ru...@lr:/usr/share/cups$ ls -l 
total 384
drwxr-xr-x  2 root root   4096 2009-08-19 01:22 banners
-rw-r--r--  1 root root 331836 2009-08-14 04:35 calibrate.ppm
drwxr-xr-x  2 root root   4096 2009-08-19 01:22 charmaps
drwxr-xr-x  2 root root   4096 2009-08-19 01:22 charsets
drwxr-xr-x  2 root root   4096 2009-08-19 01:22 data
drwxr-xr-x 15 root root   4096 2009-08-19 01:22 doc-root
drwxr-xr-x  2 root root   4096 2009-08-19 01:22 drv
drwxr-xr-x  2 root root   4096 2009-08-19 01:22 fonts
drwxr-xr-x 22 root root   4096 2009-04-14 17:07 locale
drwxr-xr-x  2 root root   4096 2009-08-19 01:23 mime
drwxrwxrwx  3 root root   4096 2009-08-24 00:36 model
drwxr-xr-x 13 root root  12288 2009-08-19 01:22 templates
ru...@lr:/usr/share/cups$ ls -l model/
total 4
drwxrwxrwx 3 root root 4096 2009-08-24 00:36 samsung
ru...@lr:/usr/share/cups$ ls -l model/samsung/
total 4
drwxrwxrwx 2 root root 4096 2009-08-24 00:36 cms
ru...@lr:/usr/share/cups$ ls -l model/samsung/cms/
total 0
ru...@lr:/usr/share/cups$ 

And after running the installer as a 'normal' user I get these logs in
error_log:

E [24/Aug/2009:01:04:49 -0500] cupsdAuthorize: Local authentication certificate 
not found!
E [24/Aug/2009:01:04:54 -0500] cupsdAuthorize: Local authentication certificate 
not found!
E [24/Aug/2009:01:04:54 -0500] CUPS-Add-Modify-Printer: Unauthorized

ru...@lr:/usr/share/cups$ ls -l model/samsung/cms/
total 0

And from the command line kicking off system-config-printer with gksudo
I get:

ru...@lr:/usr/share/cups$ gksudo system-config-printer
/usr/share/system-config-printer/system-config-printer.py:374: 
DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.enable()
No ID match for device ipp://pserv/lp2:
  <manufacturer>Generic</manufacturer>
  <model>Printer</model>
  <description>Generic Printer</description>
  <commandset></commandset>
Using lsb/usr/cups-included/textonly.ppd (status: 3)
ru...@lr:/usr/share/cups$ ls -l model/samsung/cms/
total 0

and in the error_log I see:

E [24/Aug/2009:01:08:37 -0500] CUPS-Add-Modify-Printer: Unauthorized

Finally after creating a root password so cups would allow me to add the
printer from within the web interface, within error_log I get:

E [24/Aug/2009:01:13:41 -0500] CUPS-Add-Modify-Printer: Unauthorized

and

ru...@lr:/usr/share/cups$ ls -l model/samsung/cms/
total 0

I have also tried installing with the printer set up as a CLP-500 a
couple of different ways. Still no joy.

What I finally was able to get to work was to download and use the
unified drivers. http://ubuntuforums.org/showthread.php?t=341621

If there is an interest in continuing to debug this situation, let me
know. I do have several systems available and am willing to put
different releases on a collection of drives to see what works and what
does not.

A brief explanation of the setup. I have a Hawking Technologies Print
Server PS12U. This print server has 3 ports to print to, 1 parallel, and
2 usb ports. Attached to these ports are a Samsung ML-2150 on the
parallel port, lp1, a Samsung CLP-510 Color Laser Printer on LP2 and an
HP Officejet Pro K5400 on lp3. The server is attached to the local
network as pserv (dns configured and working.) ipp://pserv/lp1 and
ipp://pserv/lp3 configured manually (i.e. verify and probe do not work)
and work with the drivers included with the alpha for Karmic.
ipp://pserv/lp2 will work with the Unified drivers as a separate
install, but not with the splix drivers that Karmic includes, and has
not worked reliably under Jaunty.

-- 
system-config-printer needs admin privleges
https://bugs.launchpad.net/bugs/263802
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to