You are not logged in.
Hello, is there a way to configure cups to work with this setup ? I have followed these steps https://wiki.archlinux.org/index.php/Brother_DCP-7065DN but for the DCP-7060D. I have the cups daemon working as it should in systemd, the http configuration page is live and I am using a TL-WR1043ND router. They have a windows and mac program that allows one to connect to the printer wirelessly, named TP-LINK USB Printer Controller.
Thanks.
Offline
I would sugest you to install Gargoyle alternative firmware on router.
You will gain plenty of useful features with usb print server support among them.
You just need to enable printer support on router and add new lpd printer in CUPS web ui on router's ip address. Before doing this
make sure printer actually works when connected directly to PC. This worked perfectly with my old HP printer and Gargoyle running Buffalo router.
Last edited by Šaran (2012-11-17 15:03:50)
Offline
Thanks for the swift reply. I just installed gargoyle, but it does not detect the usb device, in the gui it says "No USB disks connected.".
Offline
Are you sure you are looking under System>USB Printer?
I get similar message on System>USB Storage
You have installed 1.5.8, right?
Offline
Nop, I installed the 1.4.7. I was following a tutorial http://wiki.openwrt.org/doc/howto/p910nd.server . There is just USB storage in this version (in the gui).
Offline
You should install 1.5.8, apparently there is no printer support in 1.4.7.
Latest version might be called 'experimental', but it's more stable and much faster than 'stable'.
Offline
Ah didn't know about that one thanks.
Offline
Well, I installed the latest experimental version 1.5.8 and still it does not work :S. It says "No USB printers are currently attached to the router.". Maybe I have to ssh into the router and tweak some settings. Thanks.
Offline
You could ssh and check lsusb and dmesg. It worked automagically for me.
Maybe rebooting router with printer pluged in will help. Does it recognise usb sticks?
Offline
root@Gargoyle:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f9:0249 Brother Industries, Ltd
root@Gargoyle:~#
dmesg | grep usb
[ 15.640000] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0249
[ 545.620000] usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0249
[ 1268.300000] usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0249
...
I did a netstat -an and I found these listening ports: 111(RPC), 53(dns), 22(ssh), 443(https). Shouldn't there be a port for incoming print requests ?
Last edited by pinprick (2012-11-17 20:30:56)
Offline
I guess 9100 is opened only if router know there is printer pluged in.
But I have no idea why doesn't it get recognised.
There might be something wrong with Brother printers and OpenWrt/Gargoyle.
http://www.gargoyle-router.com/phpbb/vi … f=6&t=2263
Other than this, I'm pretty much out of any ideas. You should post to Gargoyle forums.
Offline
Some things to try, do you have avahi installed? Even so, I have had problems with recent updates to Arch breaking dnssd. I have input the following URI for my wireless brother printer in CUPS for it to work: lpd://192.168.0.10/BINARY_P1
To use a URI such as the above, you need to know the IP Address of the Brother printer. You should be able to get this from the router web configuration setup url (access your router from a web browser using it's IP Address, i.e. http://192.168.0.1 ).
Offline
I followed a guide on Openwrt. The p910nd server is working as it should and is mapped to the open port 9100 for lan. i have added the printer with the following settings in cups (client side):
Description: DCP7060d
Location: home
Driver: Brother DCP7060D for CUPS (grayscale, 2-sided printing)
Connection: socket://192.168.1.1:9100
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=two-sided-long-edge
It says that it is connected to the printer,
processing since
Sun Nov 18 13:00:54 2012
"Connected to printer."
But it does not print.
Offline
Try using a variation of the URI I posted above (corrected for your printer's IP Address): lpd://192.168.1.1/BINARY_P1 instead of socket://192.168.1.1:9100 . You can change the URI in CUPS by selecting the printer and modifying it.
Offline
Client:
I installed the cups wrapper and lpr drivers from brother ( I had to start cups 1st with systemd otherwise it would give an error when running the brother's script ). After that I configured the printer:
Description: DCP7060D
Location:
Driver: Brother DCP7060D for CUPS (grayscale, 2-sided printing)
Connection: socket://192.168.1.1:9100
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=two-sided-long-edge
Server (Router):
Hehe, I had to revert back to gargoyle 1.4.7 which is running backfire 10.03.1 .
Installed usb driver for printer and p910nd, configured p910nd file and opened port 9100. And it worked!!! I did the same with 1.5.8 but it just said in cups connected and it did not print (Maybe it is some gargoyle script that messed up things as they added support for printers in versions 1.5.* )
http://wiki.openwrt.org/doc/howto/p910nd.server
https://wiki.archlinux.org/index.php/Brother_DCP-7065DN
Thanks for your help
Last edited by pinprick (2012-11-19 19:58:38)
Offline