You are not logged in.

#1 2012-02-20 01:08:14

w1ntermute
Member
Registered: 2009-06-28
Posts: 146

Double-sided network printing with Brother HL-2270DW

I'm running Arch x64 and trying to print double-sided jobs over the network to a Brother HL-2270DW printer. I know it can be done in Linux, since I have Ubuntu machines doing precisely this.

When I go to the CUPS page, I see

Brother HL-2170W Foomatic/hl1250 (grayscale, 2-sided printing)

But from Evince, when I open a PDF, I'm unable to choose that option.

Last edited by w1ntermute (2012-02-20 01:08:43)

Offline

#2 2012-02-20 22:18:25

monzer4819
Member
Registered: 2009-03-26
Posts: 26

Re: Double-sided network printing with Brother HL-2270DW

I have a feeling you'll have to use the closed-source driver from Brother instead of the foomatic ones.     That's what got me printing 2-sided with my Brother MFC-7460.   
You can download the rpm driver and use rpmextract to install it.    Check the wiki: 
https://wiki.archlinux.org/index.php/Brother_MFC-440CN

I ended up installing it on my Debian server, and sharing it through CUPS.   On Arch I print RAW and even though I don't get the option for duplex printer, the CUPS server is set for duplex by default.    It prints 2-sided everytime.

Offline

#3 2012-02-22 02:05:54

w1ntermute
Member
Registered: 2009-06-28
Posts: 146

Re: Double-sided network printing with Brother HL-2270DW

Well, I'm having a hell of a time getting this to work. The correct page you want is not the one linked in the wiki, but this one.

And since the files were for some reason in "CPIO" format, even though the file names indicated they were RPMs, you have to first "convert" them to CPIO:

rpm2cpio cupswrapperHL2270DW-2.0.4-2.i386.rpm > cupswrapperHL2270DW-2.0.4-2.i386.cpio

(Repeat for the other file)

Then you have to extract them with 'cpio':

cpio -ivd < cupswrapperHL2270DW-2.0.4-2.i386.cpio

This will extract the file to the directory you're currently in. And no, running 'cpio' on the original RPM won't work - it just gave me some garbage data when extracted.

Also, when you edit the file 'usr/local/Borther/Printer/HL2270DW/cupswrapper/cupswrapperHL2270DW-2.0.4', you also have to change all instances of 'cupsys' to 'cupsd'.

Anyway, once I ran the script like the Wiki said, CUPS stopped and started, but then when I went to http://localhost:631, I didn't see the printer like it said I would. I went to add the printer manually, but I'm guessing that means I need to manually specify the PPD file. I couldn't find one in /usr/local/Brother/Printer/HL2270DW though, so I'm not sure what to do.

Offline

#4 2012-03-18 22:36:27

scornflakes
Member
Registered: 2012-02-19
Posts: 3

Re: Double-sided network printing with Brother HL-2270DW

This worked for me:

pacman -S -noconfim lib32-libcups rpmextract

wget -nc http://pub.brother.com/pub/com/bsc/linux/dlf/cupswrapperHL2270DW-2.0.4-2.i386.rpm
wget -nc http://pub.brother.com/pub/bsc/linux/dlf/hl2270dwlpr-2.1.0-1.i386.rpm

rpmextract.sh hl2270dwlpr-2.1.0-1.i386.rpm
rpmextract.sh cupswrapperHL2270DW-2.0.4-2.i386.rpm

sed -i "s|/etc/init.d/|/etc/rc.d/|g" usr/local/Brother/Printer/HL2270DW/cupswrapper/cupswrapperHL2270DW-2.0.4 
sed -i "s|/cupsys|/cupsd|g" usr/local/Brother/Printer/HL2270DW/cupswrapper/cupswrapperHL2270DW-2.0.4 

cp -r usr/* /usr

echo "registering..."
/usr/local/Brother/Printer/HL2270DW/cupswrapper/cupswrapperHL2270DW-2.0.4 

Then you have to login to cups: http://localhost:631/printers/HL2270DW
Administration>> Modify Printer>> LPD/IPD

Enter the ip address of your printer: lpd://192.168.0.152/
Continue >> Modify

Then it should print.

Offline

#5 2012-03-19 05:56:46

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: Double-sided network printing with Brother HL-2270DW

I use that exact same printer.  Here is how I set mine up using Brother's drivers.

https://bbs.archlinux.org/viewtopic.php … 7#p1007217

Offline

#6 2012-08-09 16:43:37

mralby
Member
Registered: 2012-02-23
Posts: 5

Re: Double-sided network printing with Brother HL-2270DW

I downloaded the ppd from here: http://www.openprinting.org/ppd-o-matic … 70W&show=1 and have no pronlems whatsoever. I also edited and changed all 2170 refs to 2270.

Offline

#7 2012-09-17 18:55:55

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Double-sided network printing with Brother HL-2270DW

mralby wrote:

I downloaded the ppd from here: http://www.openprinting.org/ppd-o-matic … 70W&show=1 and have no pronlems whatsoever. I also edited and changed all 2170 refs to 2270.

Thanks for the tip - it seems to work well for me too, including duplex setting.
I'm specifying the connection in CUPS as: ipp://laser/ipp/port1
smile

Offline

Board footer

Powered by FluxBB