brother hl-2140 no driver for cup.

Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

brother hl-2140 no driver for cup.

Postby ericturgeon » 24 Nov 2009, 10:49

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.
[color="Red"]Where there is a shell, there is the way.[/color]
Unix Live Free.
User avatar
ericturgeon
Member
 
Posts: 338
Joined: 27 Dec 2008, 11:58
Location: Dieppe NB Canada

Postby SirDice » 24 Nov 2009, 11:19

Doesn't it support laserjet2?
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16161
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby roddierod » 24 Nov 2009, 13:18

You should be able to use CUPS. I'm using the HL-4040 via CUPS and it work fine.

HL-2140
User avatar
roddierod
Member
 
Posts: 697
Joined: 17 Nov 2008, 12:36
Location: On my Slingerlands!

Postby jnr » 24 Nov 2009, 14:25

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.
jnr
Junior Member
 
Posts: 73
Joined: 17 Nov 2008, 19:19

Postby ericturgeon » 24 Nov 2009, 21:30

OK thank my printer work. But how i can print whit Firefox and they other apps?
[color="Red"]Where there is a shell, there is the way.[/color]
Unix Live Free.
User avatar
ericturgeon
Member
 
Posts: 338
Joined: 27 Dec 2008, 11:58
Location: Dieppe NB Canada

Postby jnr » 24 Nov 2009, 21:41

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

Image
jnr
Junior Member
 
Posts: 73
Joined: 17 Nov 2008, 19:19

Postby ericturgeon » 24 Nov 2009, 22:19

I only see: Print to File and Print to LPR
my root is in the cups group and dont see my printer on it.
[color="Red"]Where there is a shell, there is the way.[/color]
Unix Live Free.
User avatar
ericturgeon
Member
 
Posts: 338
Joined: 27 Dec 2008, 11:58
Location: Dieppe NB Canada

Postby ericturgeon » 24 Nov 2009, 22:41

Could not launch 'Manage Printing'
Failed to execute child process "htmlview" (No such file or directory)

I usu gnome by the way.
[color="Red"]Where there is a shell, there is the way.[/color]
Unix Live Free.
User avatar
ericturgeon
Member
 
Posts: 338
Joined: 27 Dec 2008, 11:58
Location: Dieppe NB Canada

Postby ericturgeon » 24 Nov 2009, 23:37

ok all work great I follow this: http://freebsdwiki.net/index.php/CUPS
windows gonna die tonight bwahahahaha!!!!!!
[color="Red"]Where there is a shell, there is the way.[/color]
Unix Live Free.
User avatar
ericturgeon
Member
 
Posts: 338
Joined: 27 Dec 2008, 11:58
Location: Dieppe NB Canada

Postby rocky » 28 Mar 2010, 07:09

HOWTO install Brother HL 2140 on Freebsd 8: http://viettug.org/blogs/502
System: FreeBSD-7.2 (i386) on Compaq Presario CQ40-401AU
Topic: replace Ubuntu/kvm by FreeBSD/jail
Current task: build Fedora Directory Server on FreeBSD
User avatar
rocky
Junior Member
 
Posts: 97
Joined: 17 Nov 2008, 00:24
Location: Vietnam

Postby ericturgeon » 28 Mar 2010, 11:05

it is a how to or a question.
[color="Red"]Where there is a shell, there is the way.[/color]
Unix Live Free.
User avatar
ericturgeon
Member
 
Posts: 338
Joined: 27 Dec 2008, 11:58
Location: Dieppe NB Canada

Postby rocky » 31 Mar 2010, 07:09

ericturgeon wrote:it is a how to or a question.


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: Select all
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
System: FreeBSD-7.2 (i386) on Compaq Presario CQ40-401AU
Topic: replace Ubuntu/kvm by FreeBSD/jail
Current task: build Fedora Directory Server on FreeBSD
User avatar
rocky
Junior Member
 
Posts: 97
Joined: 17 Nov 2008, 00:24
Location: Vietnam


Return to Peripheral Hardware

Who is online

Users browsing this forum: No registered users and 0 guests