[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#795404: cups-backend-bjnp: stops printing after some lines



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Brian,

thank you once again for trying to get that printer working!


> We can test if this behaviour is independent of CUPS and the filtering
> system too,
> 
>   DEVICE_URI=bjnp://db-printer.fritz.box:8611 /usr/lib/cups/backend/bjnp 1 1 1 1 1 /etc/services

I tried this both with and without sudo:

$ sudo DEVICE_URI=bjnp://db-printer.fritz.box:8611
/usr/lib/cups/backend/bjnp 1 1 1 1 1 /etc/services
[sudo] password for bjoern:
INFO: Attempting to connect to host db-printer.fritz.box on port 8611
STATE: +connecting-to-device
STATE: -connecting-to-device
INFO: Connected to db-printer.fritz.box...
DEBUG: Connected to [192.168.178.27]:8611 (IPv4)...
PAGE: 1 1
DEBUG: bjnp_backendRunLoop(print_fd=4, device_fd=5
INFO: Sent print file, 0 bytes...
INFO: Ready to print.

But the printer did nothing.


>> What do you mean by that? Ping the router? Ping cups (which is on my
>> laptop)?
> 
> Ping the printer is what I meant.

I then tried to ping.

$ ping db-printer.fritz.box:8611
ping: unknown host db-printer.fritz.box:8611


Then I looked up the IP adress and changed the router to give the
printer a fixed IP adress.

$ ping 192.168.178.27
PING 192.168.178.27 (192.168.178.27) 56(84) bytes of data.
64 bytes from 192.168.178.27: icmp_seq=1 ttl=64 time=5.73 ms
64 bytes from 192.168.178.27: icmp_seq=2 ttl=64 time=7.56 ms
64 bytes from 192.168.178.27: icmp_seq=3 ttl=64 time=5.09 ms
64 bytes from 192.168.178.27: icmp_seq=4 ttl=64 time=7.13 ms
64 bytes from 192.168.178.27: icmp_seq=5 ttl=64 time=5.68 ms
64 bytes from 192.168.178.27: icmp_seq=6 ttl=64 time=7.40 ms
64 bytes from 192.168.178.27: icmp_seq=7 ttl=64 time=5.09 ms
64 bytes from 192.168.178.27: icmp_seq=8 ttl=64 time=5.25 ms
64 bytes from 192.168.178.27: icmp_seq=9 ttl=64 time=4.98 ms
64 bytes from 192.168.178.27: icmp_seq=10 ttl=64 time=4.97 ms
64 bytes from 192.168.178.27: icmp_seq=11 ttl=64 time=6.70 ms
64 bytes from 192.168.178.27: icmp_seq=12 ttl=64 time=4.93 ms
^C
- --- 192.168.178.27 ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 11015ms
rtt min/avg/max/mdev = 4.938/5.881/7.567/0.987 ms

This worked!
So I did some tests by changing the URI in settings.

bjnp://db-printer.fritz.box:8611 -> problem as decribed initially
ipp://db-printer.fritz.box:8611 -> printer not reachable
bjnp://192.168.178.27 -> problem as decribed initially
ipp://192.168.178.27 -> works!


Finally, I removed the package cups-backend-bjnp. Everything still works!


Thank you once again for your help!
Björn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJV0kk8AAoJECNNcxO8k0eo/XEP/0MajqKRvDvEZK/DsE9SI3Xx
dq+Ck8/9mLLdCGp79IqRkt395ljB1a2QhiUt8Q/zrn3qYyZQjoWHRXUGSfxhLJ6/
1JgY6R1uabmqgXu54nqvftEwJyZ0UyAniuND/1omZkQYR8jTBEmVWfkq83R3uqNz
9ASuKhEj6I6BtSl6rpKfdEhyi/1EZB1g06xqIiD2BwAVBtip+3BKLI/0I9fLVkkc
VXLWyJsT/IRtLXEHCDsleoCEA7mXmeCb1m+V4uBUIFyvMW4o2600yVQfMgJKpZNN
vkZNceA6KPqZd9e5Vs1O/uL6CiMCx5vMQP8WqprfIe6cxhQ4wlJgYZx7osDae7nL
DYBQNm94qw9NHXyfPNM64wqbMi0UP4FURAOxZg9rouYF/rS9aRFc7kEmmORSM+X6
obeABMSNRwFgy4XNBCzaKTgdZ8jn2+eKUQzOBAosS4B1rEERjf0ZlSwMWXIpBG78
IH6Nci3ZYGG9WF4TcS8WdelN6u/LBNRx+1p7LKgqLSz2xSPsyLKjQVj4aZmfQ18N
tWM8qJflUcm5kOqbwZAP6SLuSCSD7DBOLxJVrZysZdwUxTBhUHshJHdD+KXPkmXx
dvzRbxXu3Wd2ufPJhTio+Rx/ziJNFmz/zW00WBf94b7OkiZMn1CaPdAnkO5n8qJK
HPHARRfT95JNTaZEUQwV
=rU9o
-----END PGP SIGNATURE-----


Reply to: