[vox-tech] Ubuntu - Configuring Printers

Peter Jay Salzman p at dirac.org
Fri Oct 2 06:13:46 PDT 2009


Apparently I stumbled across a Kubuntu bug...

   http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1555550.html

I don't know what AppArmor is, but when I killed it, cups worked.  And then
I was able to print a test page within seconds after that.

Thanks!
Pete


On Fri 02 Oct 09,  7:23 AM, Peter Jay Salzman <p at dirac.org> said:
> Firefox fails to connect to that url.
> 
> Netstat reports nothing listening to that port:
> 
>    $ netstat  | grep 631
>    $
> 
> I'm on completely new territory.  Never used cups before.  Help!
> 
> 
> 
> 
> 
> On Thu 01 Oct 09,  9:34 PM, Bruce Wolk <bawolk at ucdavis.edu> said:
> > Try the following url:
> > 
> > http://localhost:631
> > 
> > Bruce
> > 
> > Peter Jay Salzman wrote:
> > > Hi all,
> > > 
> > > Newly installed Kubuntu 9.04.  So far, everything has gone very smoothly.
> > > Getting my printer to print is the first snag.
> > > 
> > > I have a parallel port HP LaserJet 6MP.  I have the working /etc/printcap
> > > file from my previous Debian installation, but I'd like to set up the
> > > printer using the Kubuntu Way.  I noticed Kubuntu comes with cups.
> > > 
> > > What is the Kubuntu Way of configuring a printer?
> > > 
> > > 
> > > The correct modules are loaded:
> > > 
> > >    # lsmod | grep par
> > >    parport_pc             40100  1
> > >    parport                42220  3 lp,ppdev,parport_pc
> > > 
> > > The proper device file is being created by udev:
> > > 
> > >    # ll /dev/lp0
> > >    crw-rw---- 1 root lp 6, 0 2009-09-28 01:54 /dev/lp0
> > > 
> > > The printer appears to be recognized at boot-time:
> > > 
> > >    parport_pc 00:08: reported by Plug and Play ACPI
> > >    parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
> > >    ppdev: user-space parallel port driver
> > >    lp0: using parport0 (interrupt-driven).
> > > 
> > > However, weird stuff happens later on in boot-up:
> > > 
> > >    ppdev0: registered pardevice
> > >    ppdev0: unregistered pardevice
> > >    lp0: ECP mode
> > >    ppdev0: registered pardevice
> > >    ppdev0: negotiated back to compatibility mode because user-space forgot
> > >    ppdev0: unregistered pardevice
> > >    type=1503 audit(1254449721.984:5): operation="sysctl" requested_mask="::r"
> > >       denied_mask="::r" fsuid=7 name="/proc/sys/crypto/fips_enabled" pid=29213
> > >       profile="/usr/sbin/cupsd"
> > >    ppdev0: registered pardevice
> > >    ppdev0: unregistered pardevice
> > >    (repeats this a few times)
> > > 
> > > I don't appear to have EPP mode:
> > > 
> > >    # cat /proc/sys/dev/parport/parport0/modes
> > >    PCSPP,TRISTATE,COMPAT,ECP
> > > 
> > > But none of this may matter; I'm not sure.  How does one configure a printer
> > > under Ubuntu 9.04?
> > > 
> > > Thanks!
> > > Pete
> > > _______________________________________________
> > > vox-tech mailing list
> > > vox-tech at lists.lugod.org
> > > http://lists.lugod.org/mailman/listinfo/vox-tech
> > > 
> > 
> > _______________________________________________
> > vox-tech mailing list
> > vox-tech at lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> 
> -- 
> GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
> Last night I dreamt of 09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0
> Facebook: http://facebook.com/coffeeAchiever
> 
> "The fundamental cause of trouble in the world today   p at dirac.org
> is that the stupid are cocksure while the intelligent  http://www.dirac.org
> are full of doubt"   ---   Bertrand Russell
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
Last night I dreamt of 09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0
Facebook: http://facebook.com/coffeeAchiever

"The fundamental cause of trouble in the world today   p at dirac.org
is that the stupid are cocksure while the intelligent  http://www.dirac.org
are full of doubt"   ---   Bertrand Russell


More information about the vox-tech mailing list