Announcement

Collapse
No announcement yet.

Cant add Brother printer with cups/kdeprint

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cant add Brother printer with cups/kdeprint

    Just moved from Gentoo to Kubuntu 7.10, so I know the hardware, etc works as I was using it just yesterday. However, I am new to this whole apt-get/dpkg/synaptic/Adept thing.

    I can't seem to install my local usb printer either through the cups web interface or the kdeprint interface. The web interface can't see my printer with the 'Add New Printer' methods. On gentoo, the printer was just right there and I select it. Going through the manual option fails on the 'Device' step as usb isn't an option. Just several HP options, LPD/LPR, Windows Samba etc.

    In the kdeprint interface, the option for the local printer (usb, parallel) is grayed out.

    My system does see the printer as evidenced by:

    # lsusb
    Code:
    Bus 001 Device 006: ID 04f9:0029 Brother Industries, Ltd
    # dmesg
    Code:
    [ 1711.832000] usb 1-2.1: new full speed USB device using uhci_hcd and address 6
    [ 1712.004000] usb 1-2.1: configuration #1 chosen from 1 choice
    [ 1712.012000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0029
    I checked other forum posts and found certain packages that people recommended. Specifically cupsys-client, cupsys-driver-gutenprint, and openprinting-ppds. I have reinstalled both kdeprint and cups. The related packages I have are:

    # dpkg -l *cups*
    Code:
    ||/ Name         Version       Description
    +++-=====================-=====================-==========================================================
    ii bluez-cups      3.19-0ubuntu3    Bluetooth printer driver for CUPS
    un cups         <none>        (no description available)
    ii cups-pdf       2.4.6-3ubuntu10   PDF printer for CUPS
    un cupsomatic-ppd    <none>        (no description available)
    ii cupsys        1.3.2-1ubuntu7.5   Common UNIX Printing System(tm) - server
    ii cupsys-bsd      1.3.2-1ubuntu7.5   Common UNIX Printing System(tm) - BSD commands
    ii cupsys-client    1.3.2-1ubuntu7.5   Common UNIX Printing System(tm) - client programs (SysV)
    ii cupsys-common    1.3.2-1ubuntu7.5   Common UNIX Printing System(tm) - common files
    un cupsys-driver-gimppri <none>        (no description available)
    un cupsys-driver-gimppri <none>        (no description available)
    ii cupsys-driver-gutenpr 5.0.1-0ubuntu8    printer drivers for CUPS
    un cupsys-pstoraster  <none>        (no description available)
    un cupsys-pt      <none>        (no description available)
    ii libcupsimage2    1.3.2-1ubuntu7.5   Common UNIX Printing System(tm) - image libs
    ii libcupsys2      1.3.2-1ubuntu7.5   Common UNIX Printing System(tm) - libs
    # dpkg -l *foomatic*
    Code:
    ||/ Name         Version       Description
    +++-=====================-=====================-==========================================================
    un foomatic-bin     <none>        (no description available)
    ii foomatic-db     20070919-0ubuntu3  OpenPrinting printer support - database
    ii foomatic-db-engine  3.0.2-20070719-0ubunt OpenPrinting printer support - programs
    ii foomatic-db-gutenprin 5.0.1-0ubuntu8    OpenPrinting printer support - database for Gutenprint pri
    ii foomatic-db-hpijs  20070813-0ubuntu1  OpenPrinting printer support - database for HPIJS driver
    ii foomatic-filters   3.0.2-20070719-0ubunt OpenPrinting printer support - filters
    un foomatic-filters-ppds <none>        (no description available)
    un foomatic-gui     <none>        (no description available)
    # dpkg -l *ppd*
    Code:
    ||/ Name         Version       Description
    +++-=====================-=====================-==========================================================
    un cupsomatic-ppd    <none>        (no description available)
    un foo2zjs-ppds     <none>        (no description available)
    un foomatic-filters-ppds <none>        (no description available)
    un hp-ppd        <none>        (no description available)
    un hpijs-ppds      <none>        (no description available)
    un hplip-ppds      <none>        (no description available)
    ii libppd0       2:0.10-6       postscript PPD file library
    un linuxprinting.org-ppd <none>        (no description available)
    un linuxprinting.org-ppd <none>        (no description available)
    ii openprinting-ppds  20070919-0ubuntu3  OpenPrinting printer support - PostScript PPD files
    ii openprinting-ppds-ext 20070919-0ubuntu3  OpenPrinting printer support - PostScript PPD files
    un pppdcapiplugin    <none>        (no description available)
    I've never really gotten in and hacked around with cups itself, so I'm not sure what I'm looking for, and the cupsd.conf file is quite long. Because it exceeds the maximum character length, I'll add it to the next post.

    I would appreciate any help, insights, or relevant links. Thank you.

    #2
    Re: Cant add Brother printer with cups/kdeprint

    I removed the comments, because I figured if this is truly the problem, anybody able to help me won't need the comments. If I should add them in, let me know and I will.

    # grep -v "#" /etc/cups/cupsd.conf
    Code:
    Classification none
    DefaultCharset UTF-8
    DefaultLanguage en
    Printcap /etc/printcap
    PrintcapFormat BSD
    RemoteRoot remroot
    SystemGroup lpadmin
    ServerCertificate /etc/cups/ssl/server.crt
    ServerKey /etc/cups/ssl/server.key
    
    <Location />
    Encryption IfRequested
    Satisfy All
    Order allow,deny
    Allow localhost
    Allow @LOCAL
    </Location>
    
    <Location /admin>
    Encryption IfRequested
    Satisfy All
    Order allow,deny
    Allow localhost
    </Location>
    
    <Location /admin/conf>
    Require user @SYSTEM
    Encryption IfRequested
    Satisfy All
    Order allow,deny
    Allow localhost
    </Location>
    
    HostnameLookups Off
    KeepAlive On
    KeepAliveTimeout 60
    MaxClients 100
    MaxRequestSize 0m
    Timeout 300
    Listen localhost:631
    Listen /var/run/cups/cups.sock
    AccessLog /var/log/cups/access_log
    ErrorLog /var/log/cups/error_log
    PageLog /var/log/cups/page_log
    MaxLogSize 1m
    LogLevel info
    PreserveJobHistory On
    PreserveJobFiles Off
    AutoPurgeJobs No
    MaxJobs 0
    MaxJobsPerPrinter 0
    MaxJobsPerUser 0
    User lp
    Group lpadmin
    RIPCache 8m
    FilterLimit 0
    DataDir /usr/share/cups
    DocumentRoot /usr/share/cups/doc-root
    RequestRoot /var/spool/cups
    ServerBin /usr/lib/cups
    ServerRoot /etc/cups
    TempDir /var/spool/cups/tmp
    Browsing Off
    defaultauthtype Basic
    
    <policy default>
    <limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    require user @OWNER @SYSTEM
    order deny,allow
    </limit>
    
    <limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    authtype Default
    require user @SYSTEM
    order deny,allow
    </limit>
    
    <limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    authtype Default
    require user @SYSTEM
    order deny,allow
    </limit>
    
    <limit Cancel-Job CUPS-Authenticate-Job>
    require user @OWNER @SYSTEM
    order deny,allow
    </limit>
    
    <limit All>
    order deny,allow
    </limit>
    
    </policy>

    Comment


      #3
      Re: Cant add Brother printer with cups/kdeprint

      Sorry, I forgot the cups error log.

      # cat /var/log/cups/error_log
      Code:
      I [30/Mar/2008:15:11:04 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
      N [30/Mar/2008:15:11:04 -0500] Group and SystemGroup cannot use the same groups!
      I [30/Mar/2008:15:11:04 -0500] Resetting Group to "root"...
      I [30/Mar/2008:15:11:04 -0500] Configured for up to 100 clients.
      I [30/Mar/2008:15:11:04 -0500] Allowing up to 100 client connections per host.
      I [30/Mar/2008:15:11:04 -0500] Using policy "default" as the default!
      I [30/Mar/2008:15:11:04 -0500] Full reload is required.
      I [30/Mar/2008:15:11:04 -0500] Loaded MIME database from '/usr/share/cups/mime:/etc/cups': 36 types, 40 filters...
      I [30/Mar/2008:15:11:04 -0500] Loading job cache file "/var/cache/cups/job.cache"...
      I [30/Mar/2008:15:11:04 -0500] Full reload complete.
      I [30/Mar/2008:15:11:04 -0500] Cleaning out old temporary files in "/var/spool/cups/tmp"...
      I [30/Mar/2008:15:11:04 -0500] Listening to 127.0.0.1:631 on fd 3...
      I [30/Mar/2008:15:11:04 -0500] Listening to /var/run/cups/cups.sock on fd 4...
      I [30/Mar/2008:15:11:04 -0500] Resuming new connection processing...
      I [30/Mar/2008:15:11:25 -0500] Started "/usr/lib/cups/daemon/cups-deviced" (pid=7415)
      I [30/Mar/2008:15:11:26 -0500] Started "/usr/lib/cups/daemon/cups-deviced" (pid=7433)
      I [30/Mar/2008:15:11:37 -0500] Started "/usr/lib/cups/daemon/cups-deviced" (pid=7467)
      I [30/Mar/2008:15:11:39 -0500] Started "/usr/lib/cups/daemon/cups-deviced" (pid=7485)
      I [30/Mar/2008:15:11:52 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=7504)
      I [30/Mar/2008:15:11:53 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=7505)
      I [30/Mar/2008:15:11:53 -0500] Started "/usr/lib/cups/daemon/cups-deviced" (pid=7506)
      I [30/Mar/2008:15:11:59 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=7524)
      I [30/Mar/2008:15:12:09 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=7525)
      I [30/Mar/2008:15:12:09 -0500] Started "/usr/lib/cups/daemon/cups-deviced" (pid=7526)

      Comment


        #4
        Re: Cant add Brother printer with cups/kdeprint

        Ok, I went to the Cups site and was directed to Brothers website, where I downloaded an LPR driver and a cups wrapper. I installed them as directed, and HOORAY the printer was recognized.

        Unfortunately, whenever I try to print something it says the printer isn't connected.

        I have rebooted the computer, turned the printer off/on, reinstalled the drivers. Same thing.

        Any ideas?

        Comment

        Working...
        X