1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

brother hl-2140 no driver for cup.

Discussion in 'Peripheral Hardware' started by ericturgeon, Nov 24, 2009.

  1. ericturgeon

    ericturgeon Member

    Messages:
    341
    Thanks Received:
    44
    I only use windows for printing. but I will prefer printing With FreeBSD. But I cant do that without the drivers. Do you have an idea? I use an brother-hl-2140.
     
  2. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,810
    Thanks Received:
    2,462
    Doesn't it support laserjet2?
     
  3. roddierod

    roddierod Member

    Messages:
    722
    Thanks Received:
    82
    You should be able to use CUPS. I'm using the HL-4040 via CUPS and it work fine.

    HL-2140
     
  4. jnr

    jnr New Member

    Messages:
    73
    Thanks Received:
    12
    Hmm, they don't seem to offer an official PPD for that model like they do for my HL-1850. If it's anything like mine, you'll also have to install the foomatic filters from Ports.
     
  5. ericturgeon

    ericturgeon Member

    Messages:
    341
    Thanks Received:
    44
    OK thank my printer work. But how i can print whit Firefox and they other apps?
     
  6. jnr

    jnr New Member

    Messages:
    73
    Thanks Received:
    12
    If you're running cupsd and are a member of the cups user group it should Just Work, to steal an Apple-ism.

    [​IMG]
     
  7. ericturgeon

    ericturgeon Member

    Messages:
    341
    Thanks Received:
    44
    I only see: Print to File and Print to LPR
    my root is in the cups group and dont see my printer on it.
     
  8. ericturgeon

    ericturgeon Member

    Messages:
    341
    Thanks Received:
    44
    Could not launch 'Manage Printing'
    Failed to execute child process "htmlview" (No such file or directory)

    I usu gnome by the way.
     
  9. ericturgeon

    ericturgeon Member

    Messages:
    341
    Thanks Received:
    44
  10. rocky

    rocky New Member

    Messages:
    97
    Thanks Received:
    1
  11. ericturgeon

    ericturgeon Member

    Messages:
    341
    Thanks Received:
    44
    it is a how to or a question.
     
  12. rocky

    rocky New Member

    Messages:
    97
    Thanks Received:
    1
    I am sorry... it's a HOWTO. In fact, I couldn't contact you (via irc) to learn your way. Finally, my friend showed me a .ppd and it worked:)

    Below the steps from my blog (http://viettug.org/blogs/502).

    Cheers,

    Code:
    To install brother HL 2140 on your freebsd8 system:
    
       1. Load ulpt module into your kernel (or rebuild kernel to support it)
       2. Rebuild CUPS 1.4.2 without libusb support (try make config from /usr/ports/print/cups-base). Remember to restart cups daemon.
       3. Install the following ports/packages: foomatic-db, foomatic-db-engine, foomatic-filters
       4. Generate a .ppd file that uses the hl1250: go to http://www.openprinting.org/driver/hl1250/ and select your model (HL 2140)
       5. Go to http://localhost:631/ to add your USB printer with that .ppd file
       6. Add user to the group cups by executing pw groupmod cups -m your_user_login
       7. Update /etc/rc.conf by adding cupsd_enable="YES"
       8. Update /etc/devfs.rules with the following contents. Then update /etc/rc.conf by adding devfs_system_ruleset="system"
    
    # file: /etc/devfs.rules
    [system=10]
    add path 'unlpt*' mode 0660 group cups
    add path 'ulpt*'  mode 0660 group cups
    add path 'lpt*'   mode 0660 group cups
    
     
    ericturgeon thanks for this.