You are not logged in.
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
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
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
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
I use that exact same printer. Here is how I set mine up using Brother's drivers.
Offline
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
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
Offline