Re: Re: Re: Re: Re: does anyone know how to calm down 'tracker-store'?

2018-11-29 Thread Patrice Duroux
Hi,

That is done under #915042.
I hope improving a bit the output by using 'coredumpctl debug' and adding some
other debugging symbol packages.

Many thanks!



Re: Re: Re: Re: does anyone know how to calm down 'tracker-store'?

2018-11-28 Thread Reco
Hi.

On Wed, Nov 28, 2018 at 11:03:28PM +0100, Patrice Duroux wrote:
> 
> Hi,
> Not sure to got it exactly but here is finally the 'coredumpctl info' output.
> Where to address it if needed?

Install reportbug if you haven't already.
Run 'reportbug tracker-extract'.
Copy this part of the backtrace into it:

Stack trace of thread 32070:
#0  0x7f4db09e1635 gst_video_codec_frame_ref (libgstvideo-1.0.so.0)
#1  0x7f4dae1c134e _gst_libde265_return_image (libgstde265.so)
#2  0x7f4dae1c17a5 gst_libde265_dec_handle_frame (libgstde265.so)
#3  0x7f4db09cfe4b gst_video_decoder_decode_frame (libgstvideo-1.0.so.0)
#4  0x7f4db09d2964 gst_video_decoder_chain_forward (libgstvideo-1.0.so.0)
#5  0x7f4db09d3042 gst_video_decoder_chain (libgstvideo-1.0.so.0)
#6  0x7f4db0adcc3a gst_pad_chain_data_unchecked (libgstreamer-1.0.so.0)
#7  0x7f4db0ae4ed2 gst_pad_push (libgstreamer-1.0.so.0)
#8  0x7f4db08a7dfd gst_base_transform_chain (libgstbase-1.0.so.0)
#9  0x7f4db0adcc3a gst_pad_chain_data_unchecked (libgstreamer-1.0.so.0)
#10 0x7f4db0ae4ed2 gst_pad_push (libgstreamer-1.0.so.0)
#11 0x7f4db088c9c8 gst_base_parse_push_frame (libgstbase-1.0.so.0)
#12 0x7f4db088da35 gst_base_parse_chain (libgstbase-1.0.so.0)
#13 0x7f4db0adcc3a gst_pad_chain_data_unchecked (libgstreamer-1.0.so.0)
#14 0x7f4db0ae4ed2 gst_pad_push (libgstreamer-1.0.so.0)
#15 0x7f4daea5fa8d gst_single_queue_push_one (libgstcoreelements.so)
#16 0x7f4db0b11f41 gst_task_func (libgstreamer-1.0.so.0)
#17 0x7f4df35daad3 n/a (libglib-2.0.so.0)
#18 0x7f4df35da135 n/a (libglib-2.0.so.0)
#19 0x7f4df3501f2a start_thread (libpthread.so.0)
#20 0x7f4df3434edf __clone (libc.so.6)

This gdb output is mangled as it does not show source lines, but it
should do.

Reco



Re: Re: Re: does anyone know how to calm down 'tracker-store'?

2018-11-28 Thread Reco
Hi.

On Wed, Nov 28, 2018 at 10:20:22PM +0100, Patrice Duroux wrote:
> root@hp-dark:/var/lib/systemd/coredump# gdb 
> core.tracker-extract.1000.273d78802abc412f8e7a360fd7509e52.14743.154343689200

It's always 'gdb  '.

Reco



Re: Re: Re: Re: does anyone know how to calm down 'tracker-store'?

2018-11-28 Thread Patrice Duroux

Hi,
Not sure to got it exactly but here is finally the 'coredumpctl info' output.
Where to address it if needed?
Thanks,
Patrice


   PID: 32028 (tracker-extract)
   UID: 1000 (patrice)
   GID: 1000 (patrice)
Signal: 11 (SEGV)
 Timestamp: Wed 2018-11-28 22:54:42 CET (5min ago)
  Command Line: /usr/lib/tracker/tracker-extract
Executable: /usr/lib/tracker/tracker-extract
 Control Group: 
/user.slice/user-1000.slice/user@1000.service/tracker-extract.service
  Unit: user@1000.service
 User Unit: tracker-extract.service
 Slice: user-1000.slice
 Owner UID: 1000 (patrice)
   Boot ID: 2b431ca216e346b9a2451932baa8be23
Machine ID: 7b96703962d14b21b365984860adb794
  Hostname: hp-dark
   Storage: 
/var/lib/systemd/coredump/core.tracker-extract.1000.2b431ca216e346b9a2451932baa8be23.32028.154344208200.lz4
   Message: Process 32028 (tracker-extract) of user 1000 dumped core.

Stack trace of thread 32070:
#0  0x7f4db09e1635 gst_video_codec_frame_ref 
(libgstvideo-1.0.so.0)
#1  0x7f4dae1c134e _gst_libde265_return_image 
(libgstde265.so)
#2  0x7f4dae1c17a5 gst_libde265_dec_handle_frame 
(libgstde265.so)
#3  0x7f4db09cfe4b gst_video_decoder_decode_frame 
(libgstvideo-1.0.so.0)
#4  0x7f4db09d2964 gst_video_decoder_chain_forward 
(libgstvideo-1.0.so.0)
#5  0x7f4db09d3042 gst_video_decoder_chain 
(libgstvideo-1.0.so.0)
#6  0x7f4db0adcc3a gst_pad_chain_data_unchecked 
(libgstreamer-1.0.so.0)
#7  0x7f4db0ae4ed2 gst_pad_push (libgstreamer-1.0.so.0)
#8  0x7f4db08a7dfd gst_base_transform_chain 
(libgstbase-1.0.so.0)
#9  0x7f4db0adcc3a gst_pad_chain_data_unchecked 
(libgstreamer-1.0.so.0)
#10 0x7f4db0ae4ed2 gst_pad_push (libgstreamer-1.0.so.0)
#11 0x7f4db088c9c8 gst_base_parse_push_frame 
(libgstbase-1.0.so.0)
#12 0x7f4db088da35 gst_base_parse_chain 
(libgstbase-1.0.so.0)
#13 0x7f4db0adcc3a gst_pad_chain_data_unchecked 
(libgstreamer-1.0.so.0)
#14 0x7f4db0ae4ed2 gst_pad_push (libgstreamer-1.0.so.0)
#15 0x7f4daea5fa8d gst_single_queue_push_one 
(libgstcoreelements.so)
#16 0x7f4db0b11f41 gst_task_func (libgstreamer-1.0.so.0)
#17 0x7f4df35daad3 n/a (libglib-2.0.so.0)
#18 0x7f4df35da135 n/a (libglib-2.0.so.0)
#19 0x7f4df3501f2a start_thread (libpthread.so.0)
#20 0x7f4df3434edf __clone (libc.so.6)

Stack trace of thread 32030:
#0  0x7f4df342a739 __GI___poll (libc.so.6)
#1  0x7f4df35b1e46 n/a (libglib-2.0.so.0)
#2  0x7f4df35b21d2 g_main_loop_run (libglib-2.0.so.0)
#3  0x7f4df37ac7b6 n/a (libgio-2.0.so.0)
#4  0x7f4df35da135 n/a (libglib-2.0.so.0)
#5  0x7f4df3501f2a start_thread (libpthread.so.0)
#6  0x7f4df3434edf __clone (libc.so.6)

Stack trace of thread 32033:
#0  0x7f4df342fa79 syscall (libc.so.6)
#1  0x7f4df35f863f g_cond_wait (libglib-2.0.so.0)
#2  0x7f4df358407b n/a (libglib-2.0.so.0)
#3  0x7f4df35daaa7 n/a (libglib-2.0.so.0)
#4  0x7f4df35da135 n/a (libglib-2.0.so.0)
#5  0x7f4df3501f2a start_thread (libpthread.so.0)
#6  0x7f4df3434edf __clone (libc.so.6)

Stack trace of thread 32028:
#0  0x7f4df342a739 __GI___poll (libc.so.6)
#1  0x7f4df35b1e46 n/a (libglib-2.0.so.0)
#2  0x7f4df35b21d2 g_main_loop_run (libglib-2.0.so.0)
#3  0x5556d54eadcb main (tracker-extract)
#4  0x7f4df335fb17 __libc_start_main (libc.so.6)
#5  0x5556d54eaeba _start (tracker-extract)

Stack trace of thread 32034:
#0  0x7f4df342fa79 syscall (libc.so.6)
#1  0x7f4df35f863f g_cond_wait (libglib-2.0.so.0)
#2  0x7f4df358407b n/a (libglib-2.0.so.0)
#3  0x7f4df35daaa7 n/a (libglib-2.0.so.0)
#4  0x7f4df35da135 n/a (libglib-2.0.so.0)
#5  0x7f4df3501f2a start_thread (libpthread.so.0)
#6  0x7f4df3434edf __clone (libc.so.6)

Stack trace of thread 32031:
#0  0x7f4df342a739 __GI___poll (libc.so.6)
#1  0x7f4df35b1e46 n/a (libglib-2.0.so.0)
#2  0x7f4df35b1f6c g_main_context_iteration 
(libglib-2.0.so.0)
  

Re: Re: Re: does anyone know how to calm down 'tracker-store'?

2018-11-28 Thread Patrice Duroux


Hi again,

Then here is my current situation (after a LZ4 decompression, 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914934):

root@hp-dark:/var/lib/systemd/coredump# file 
core.tracker-extract.1000.273d78802abc412f8e7a360fd7509e52.14743.154343689200
core.tracker-extract.1000.273d78802abc412f8e7a360fd7509e52.14743.154343689200:
 ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from 
'/usr/lib/tracker/tracker-extract', real uid: 1000, effective uid: 1000, real 
gid: 1000, effective gid: 1000, execfn: '/usr/lib/tracker/tracker-extract', 
platform: 'x86_64'
root@hp-dark:/var/lib/systemd/coredump# gdb 
core.tracker-extract.1000.273d78802abc412f8e7a360fd7509e52.14743.154343689200
GNU gdb (Debian 8.2-1) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
;.
Find the GDB manual and other documentation resources online at:
;.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/var/lib/systemd/coredump/core.tracker-extract.1000.273d78802abc412f8e7a360fd7509e52.14743.154343689200":
 not in executable format: file format not recognized
(gdb) quit


I have installed:
ii  libde265-0-dbgsym:amd64 1.0.3-1+b1  
  amd64debug symbols for libde265-0
ii  libdvdcss2-dbgsym:amd64 1.4.2-1~local   
  amd64debug symbols for libdvdcss2
ii  tracker-extract-dbgsym  2.1.5-3 
  amd64debug symbols for tracker-extract

because by another way (looking at /tmp/tracker-extract-files.X) I have 
found that the error is due to a Matroska video file.
Finally I tried to look at https://wiki.debian.org/HowToGetABacktrace but it 
does not mention systemd-coredump at all, and then it is not clear when the 
need is for a user or session daemon/service debugging because in my case it is 
not explicitly launching a specific command to get the error.

Regards,
Patrice




Re: Re: does anyone know how to calm down 'tracker-store'?

2018-11-28 Thread Patrice Duroux


Hi,

On the server :

1. impossible to remove the tracker package unless to remove other ones:

dpkg: dependency problems prevent removal of tracker:
 tracker-miner-fs depends on tracker (>= 2.1.0).
 tracker-extract depends on tracker (>= 2.1.0).
 rygel-tracker depends on tracker (>= 0.8).
 nautilus depends on tracker.
 gnome-photos depends on tracker.
 gnome-music depends on tracker (>= 2.0).
 gnome-documents depends on tracker (>= 1.99).
 gnome-core depends on tracker; however:
  Package tracker is to be removed.
 gnome-boxes depends on tracker (>= 2.0).

dpkg: error processing package tracker (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 tracker

2. I was trying to find a way to do it globally and 'silently' without asking
all the users to do in their session a set of 'systemctl' commands that they
never heard about. ;-)
Finally I have renamed the binary so at least to stop the log invasion.

3. For the laptop, I will try to chase the bug and install the debugging symbols
but for which packages precisely is not clear to me. I will start with the
gstreamer ones then.

Thanks!
Patrice



Re: does anyone know how to calm down 'tracker-store'?

2018-11-26 Thread Reco
Hi.

On Mon, Nov 26, 2018 at 08:36:47PM +0100, Patrice Duroux wrote:
> Dear all,
> 
> Two points may be related somehow to the 'tracker' services.
> 
> 1. On my local laptop system (Sid) I am getting the following message in
> 'dmesg':
> 
> [ 3773.552252] traps: multiqueue3:src[25397] general protection
> ip:7f97590e5635 sp:7f972fffe570 error:0 in
> libgstvideo-1.0.so.0.1404.0[7f97590a9000+56000]

Install debugging symbols for the packages affected, get a core dump,
try to extract a backtrace with gdb from it.
By itself these messages only show us that libgstvideo-1.0.so was used
and it was done poorly.


> 2. On a server (Sid also) some user sessions are filling the daemon.log as
> following:
> 
> Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Scheduled
> restart job, restart counter is at 14742.
> Nov 26 20:13:59 kappa2 systemd[6105]: Stopped Tracker metadata database
> store and lookup manager.
> Nov 26 20:13:59 kappa2 systemd[6105]: Starting Tracker metadata database
> store and lookup manager...
> Nov 26 20:13:59 kappa2 systemd[13510]: tracker-store.service: Failed to
> execute command: No such file or directory

Assuming that's a 'system' service:

systemctl stop tracker-store.service
systemctl mask tracker-store.service

But if it's the 'user' service, you have to do:

systemctl --user stop tracker-store.service
systemctl --user mask tracker-store.service

Reco



Re: does anyone know how to calm down 'tracker-store'?

2018-11-26 Thread Carl Fink

On 11/26/18 2:36 PM, Patrice Duroux wrote:

Dear all,

Two points may be related somehow to the 'tracker' services.

1. On my local laptop system (Sid) I am getting the following message 
in 'dmesg':


[ 3773.552252] traps: multiqueue3:src[25397] general protection 
ip:7f97590e5635 sp:7f972fffe570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f97590a9000+56000]
[ 3898.567685] traps: multiqueue3:src[25911] general protection 
ip:7f84fa5c2635 sp:7f84d57f1570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f84fa586000+56000]
[ 3900.552267] traps: multiqueue3:src[26042] general protection 
ip:7f04ea090635 sp:7f04d0ff8570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f04ea054000+56000]
[ 4023.643722] traps: multiqueue3:src[26230] general protection 
ip:7f8c16d7f635 sp:7f8be57f9570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f8c16d43000+56000]
[ 4025.595601] traps: multiqueue3:src[26361] general protection 
ip:7f884408f635 sp:7f87fa7f3570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f8844053000+56000]
[ 4027.578455] traps: multiqueue3:src[26492] general protection 
ip:7ff16635 sp:7ff1d57f9570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7ff1eeeaa000+56000]
[ 4152.620136] traps: multiqueue3:src[26833] general protection 
ip:7f42d2a25635 sp:7f42b17f9570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f42d29e9000+56000]
[ 4154.548827] traps: multiqueue3:src[26983] general protection 
ip:7fb16d226635 sp:7fb1377fd570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7fb16d1ea000+56000]
[ 4277.628155] traps: multiqueue3:src[27197] general protection 
ip:7f7c6fbcc635 sp:7f7c3f7ed570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f7c6fb9+56000]
[ 4279.590925] traps: multiqueue3:src[27328] general protection 
ip:7fb94ee99635 sp:7fb91d7f9570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7fb94ee5d000+56000]
[ 4281.573294] traps: multiqueue3:src[27459] general protection 
ip:7fb39f588635 sp:7fb35dffa570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7fb39f54c000+56000]
[ 4406.590114] traps: multiqueue3:src[27694] general protection 
ip:7f6e31224635 sp:7f6e07ffe570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f6e311e8000+56000]
[ 4408.583093] traps: multiqueue3:src[27836] general protection 
ip:7fb71d558635 sp:7fb6f3ffe570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7fb71d51c000+56000]
[ 4531.651020] traps: multiqueue3:src[28045] general protection 
ip:7f5bf6f1c635 sp:7f5bdd7f9570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f5bf6ee+56000]
[ 4533.562633] traps: multiqueue3:src[28176] general protection 
ip:7f57dc5d9635 sp:7f57b77f5570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f57dc59d000+56000]
[ 4535.559175] traps: multiqueue3:src[28307] general protection 
ip:7f58a8bf5635 sp:7f5862ffc570 error:0 in 
libgstvideo-1.0.so.0.1404.0[7f58a8bb9000+56000]


2. On a server (Sid also) some user sessions are filling the 
daemon.log as following:


Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Scheduled 
restart job, restart counter is at 14742.
Nov 26 20:13:59 kappa2 systemd[6105]: Stopped Tracker metadata 
database store and lookup manager.
Nov 26 20:13:59 kappa2 systemd[6105]: Starting Tracker metadata 
database store and lookup manager...
Nov 26 20:13:59 kappa2 systemd[13510]: tracker-store.service: Failed 
to execute command: No such file or directory
Nov 26 20:13:59 kappa2 systemd[13510]: tracker-store.service: Failed 
at step EXEC spawning /usr/lib/tracker/tracker-store: No such file or 
directory
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Main 
process exited, code=exited, status=203/EXEC
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Failed 
with result 'exit-code'.
Nov 26 20:13:59 kappa2 systemd[6105]: Failed to start Tracker metadata 
database store and lookup manager.
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Service 
RestartSec=100ms expired, scheduling restart.
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Scheduled 
restart job, restart counter is at 14743.
Nov 26 20:13:59 kappa2 systemd[6105]: Stopped Tracker metadata 
database store and lookup manager.
Nov 26 20:13:59 kappa2 systemd[6105]: Starting Tracker metadata 
database store and lookup manager...
Nov 26 20:13:59 kappa2 systemd[13511]: tracker-store.service: Failed 
to execute command: No such file or directory
Nov 26 20:13:59 kappa2 systemd[13511]: tracker-store.service: Failed 
at step EXEC spawning /usr/lib/tracker/tracker-store: No such file or 
directory
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Main 
process exited, code=exited, status=203/EXEC
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Failed 
with result 'exit-code'.
Nov 26 20:13:59 kappa2 systemd[6105]: Failed to start Tracker metadata 
database store and lookup manager.
Nov 26 20:14:00 kappa2 systemd[6105]: tracker-store.service: Service 
RestartSec=100ms expired, scheduling restart.
Nov 26 20:14:00 kappa2 systemd[6105]: tracker-store.service: Scheduled 
restart job, restart counter is at 14744.
Nov 26 20:14:00 kappa2 systemd[6105]: Stopped Tracker 

does anyone know how to calm down 'tracker-store'?

2018-11-26 Thread Patrice Duroux
Dear all,

Two points may be related somehow to the 'tracker' services.

1. On my local laptop system (Sid) I am getting the following message in
'dmesg':

[ 3773.552252] traps: multiqueue3:src[25397] general protection
ip:7f97590e5635 sp:7f972fffe570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f97590a9000+56000]
[ 3898.567685] traps: multiqueue3:src[25911] general protection
ip:7f84fa5c2635 sp:7f84d57f1570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f84fa586000+56000]
[ 3900.552267] traps: multiqueue3:src[26042] general protection
ip:7f04ea090635 sp:7f04d0ff8570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f04ea054000+56000]
[ 4023.643722] traps: multiqueue3:src[26230] general protection
ip:7f8c16d7f635 sp:7f8be57f9570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f8c16d43000+56000]
[ 4025.595601] traps: multiqueue3:src[26361] general protection
ip:7f884408f635 sp:7f87fa7f3570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f8844053000+56000]
[ 4027.578455] traps: multiqueue3:src[26492] general protection
ip:7ff16635 sp:7ff1d57f9570 error:0 in
libgstvideo-1.0.so.0.1404.0[7ff1eeeaa000+56000]
[ 4152.620136] traps: multiqueue3:src[26833] general protection
ip:7f42d2a25635 sp:7f42b17f9570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f42d29e9000+56000]
[ 4154.548827] traps: multiqueue3:src[26983] general protection
ip:7fb16d226635 sp:7fb1377fd570 error:0 in
libgstvideo-1.0.so.0.1404.0[7fb16d1ea000+56000]
[ 4277.628155] traps: multiqueue3:src[27197] general protection
ip:7f7c6fbcc635 sp:7f7c3f7ed570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f7c6fb9+56000]
[ 4279.590925] traps: multiqueue3:src[27328] general protection
ip:7fb94ee99635 sp:7fb91d7f9570 error:0 in
libgstvideo-1.0.so.0.1404.0[7fb94ee5d000+56000]
[ 4281.573294] traps: multiqueue3:src[27459] general protection
ip:7fb39f588635 sp:7fb35dffa570 error:0 in
libgstvideo-1.0.so.0.1404.0[7fb39f54c000+56000]
[ 4406.590114] traps: multiqueue3:src[27694] general protection
ip:7f6e31224635 sp:7f6e07ffe570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f6e311e8000+56000]
[ 4408.583093] traps: multiqueue3:src[27836] general protection
ip:7fb71d558635 sp:7fb6f3ffe570 error:0 in
libgstvideo-1.0.so.0.1404.0[7fb71d51c000+56000]
[ 4531.651020] traps: multiqueue3:src[28045] general protection
ip:7f5bf6f1c635 sp:7f5bdd7f9570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f5bf6ee+56000]
[ 4533.562633] traps: multiqueue3:src[28176] general protection
ip:7f57dc5d9635 sp:7f57b77f5570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f57dc59d000+56000]
[ 4535.559175] traps: multiqueue3:src[28307] general protection
ip:7f58a8bf5635 sp:7f5862ffc570 error:0 in
libgstvideo-1.0.so.0.1404.0[7f58a8bb9000+56000]

2. On a server (Sid also) some user sessions are filling the daemon.log as
following:

Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Scheduled
restart job, restart counter is at 14742.
Nov 26 20:13:59 kappa2 systemd[6105]: Stopped Tracker metadata database
store and lookup manager.
Nov 26 20:13:59 kappa2 systemd[6105]: Starting Tracker metadata database
store and lookup manager...
Nov 26 20:13:59 kappa2 systemd[13510]: tracker-store.service: Failed to
execute command: No such file or directory
Nov 26 20:13:59 kappa2 systemd[13510]: tracker-store.service: Failed at
step EXEC spawning /usr/lib/tracker/tracker-store: No such file or directory
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Main process
exited, code=exited, status=203/EXEC
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Failed with
result 'exit-code'.
Nov 26 20:13:59 kappa2 systemd[6105]: Failed to start Tracker metadata
database store and lookup manager.
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Service
RestartSec=100ms expired, scheduling restart.
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Scheduled
restart job, restart counter is at 14743.
Nov 26 20:13:59 kappa2 systemd[6105]: Stopped Tracker metadata database
store and lookup manager.
Nov 26 20:13:59 kappa2 systemd[6105]: Starting Tracker metadata database
store and lookup manager...
Nov 26 20:13:59 kappa2 systemd[13511]: tracker-store.service: Failed to
execute command: No such file or directory
Nov 26 20:13:59 kappa2 systemd[13511]: tracker-store.service: Failed at
step EXEC spawning /usr/lib/tracker/tracker-store: No such file or directory
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Main process
exited, code=exited, status=203/EXEC
Nov 26 20:13:59 kappa2 systemd[6105]: tracker-store.service: Failed with
result 'exit-code'.
Nov 26 20:13:59 kappa2 systemd[6105]: Failed to start Tracker metadata
database store and lookup manager.
Nov 26 20:14:00 kappa2 systemd[6105]: tracker-store.service: Service
RestartSec=100ms expired, scheduling restart.
Nov 26 20:14:00 kappa2 systemd[6105]: tracker-store.service: Scheduled
restart job, restart counter is at 14744.
Nov 26 20:14:00 kappa2 systemd[6105]: Stopped Tracker metadata database
store and lookup manager.
Nov 26 20:14:00 kappa2 systemd[6105]: tracker-store.service: 

Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-24 Thread Brian
On Wed 23 Mar 2016 at 20:31:31 +, Brian wrote:

>   pdl=application/octet-stream,image/urf"
> 
> PDFs will not print. I own up to spreading misinformation if I implied
> they would.

I stated that an iOS device sends PDFs and then went on to deduce that the
printer performs some conversion to something the printer can print. As
you said

  > So you appear to be saying that what passes through the AirPrint
  > wire or wifi link is a PDF. The printer then converts it to BUL,
  > then raster.

You were right to prod me because the statement about PDFs definitely
being passed from device to printer in all circumstances is incorrect.
The deduction is also false.

Suppose the printer advertises

  pdl=application/vnd.hp-PCL,application/pdf.image/jpeg,image/urf

as mime types it accepts. In that case the printer is a PDF printer and
it will print a PDF directly sent to it. image/urf is an obligatory mime
type for AirPrint. So what does an iOS application send? My guess is
that the application knows it can send application/pdf or image/urf and
sends application/pdf because it is first in the list. The PDF is
rasterised on the printer.

If

  pdl=application/vnd.hp-PCL,image/jpeg,image/urf

there is only the choice of image/urf. urf is a raster format which will
be rasterised to the printer's language on the printer.

Having stressed the importance of Bonjour broadcasts a few times I went
on (in pursuit of solving a problem) to ignore the role they play on the
client side.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-23 Thread Brian
On Wed 16 Mar 2016 at 16:14:47 +, Brian wrote:

> On Wed 16 Mar 2016 at 12:06:40 -0400, Gene Heskett wrote:
> 
> > On Wednesday 16 March 2016 10:12:59 Brian wrote:
> > 
> > > Now find a *small* PDF file and send it directly to the printer with
> > > netcat:
> > >
> > >   nc 192.168.71.20 9100 < file.pdf
> > >
> > > or
> > >
> > >   nc BRN001BA9E3811F.local < file.pdf
> > >
> > > Does it print?
> > 
> > Doesn't look like it:
> > 
> > gene@coyote:~/Downloads$ nc BRN001BA9E3811F.local <7i77_layout.pdf 
> > no port[s] to connect to
> > gene@coyote:~/Downloads$ nc 192.168.71.20 < 7i77_layout.pdf 
> > no port[s] to connect to
> 
> Haven't you omitted the port to connect to? Just like I did for one of
> the lines above. :(. Apologies.
> 
>   nc 192.168.71.20 9100 < 7i77_layout.pdf
>

It is a pity this correction to a simple command was not made and the
outcome described. The txt record for the printer has

  pdl=application/octet-stream,image/urf"

PDFs will not print. I own up to spreading misinformation if I implied
they would.

I now have the use of an HP AirPrint enabled printer (a 4200 series
printer). The MIME types which are supported by this printer are

  pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf

The only thing the printers have in common is image/urf.

I have changed my mind about the AirPrint capabilty on his printer being
a route to avoid using a proprietary driver. If Jarle Aase is printing
now it is through the agency of the Brother .deb packages.  



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-23 Thread Brian
On Mon 21 Mar 2016 at 07:28:07 +0300, Adam Wilson wrote:

> You wrote "contraining". I was asking whether you meant "constraining",
> or whether "contraining" was some specialised technical vocabulary used
> to describe an implied inverse correlation between two historical
> trends.
> 
> "Constraining" it is.

Each time I looked at the word I saw an 's' in it; amazing what the
brain tells you! :) Thanks.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-23 Thread Adam Wilson
On Sun, 20 Mar 2016 14:26:25 +
Brian  wrote:

> On Sun 20 Mar 2016 at 17:08:11 +0300, Adam Wilson wrote:
> 
> > On Sun, 20 Mar 2016 12:19:55 +
> > Brian  wrote:
> >   
> > > On Sun 20 Mar 2016 at 12:08:02 +0300, Adam Wilson wrote:
> > >   
> > > > On Fri, 18 Mar 2016 14:20:03 -0500
> > > > David Wright  wrote:
> > > > 
> > > > > On Fri 18 Mar 2016 at 13:03:52 (+), Lisi Reisz wrote:
> > > > > > On Friday 18 March 2016 12:55:26 Jarle Aase wrote:  
> > > > > > > Den 11. mars 2016 19:36, skrev Lisi Reisz:  
> > > > > > > > I have been reading this thread a bit at a time.  I am
> > > > > > > > bemused.  Why, if you want life simple, and Free, etc.,
> > > > > > > > go for an AIO, which are notoriously troublesome?  Why
> > > > > > > > not go for a simple Brother laser printer? (If you want
> > > > > > > > Brother.)  
> > > > > > >
> > > > > > > Actually, I need scanning more frequently than I need
> > > > > > > printing. The scanner works perfectly without any
> > > > > > > proprietary software on my PC. I have still not printed
> > > > > > > anything.  
> > > > > > 
> > > > > > So have two separate objects?  That is what I do - because I
> > > > > > like a simple life.  
> > > > > 
> > > > > Scanning is pretty easy nowadays, I find. Years ago it was the
> > > > > other way.
> > > > 
> > > > So what made printing so much worse?
> > > > 
> > > > Saying that in the past, vice versa was the case, implies that
> > > > not only has scanning got easier, but also that printing has got
> > > > harder.
> > > 
> > > It hasn't got worse. There are very few complaints on this list
> > > about printing being problematic. Overall, the experience of most
> > > Linux users is a positive one. The contraining  
> > 
> > Constraining?  
> 
> An adjective.

You wrote "contraining". I was asking whether you meant "constraining",
or whether "contraining" was some specialised technical vocabulary used
to describe an implied inverse correlation between two historical
trends.

"Constraining" it is.


pgp1mt_qoqgYA.pgp
Description: OpenPGP digital signature


Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-20 Thread David Wright
On Sun 20 Mar 2016 at 12:08:02 (+0300), Adam Wilson wrote:
> On Fri, 18 Mar 2016 14:20:03 -0500
> David Wright  wrote:
> 
> > On Fri 18 Mar 2016 at 13:03:52 (+), Lisi Reisz wrote:
> > > On Friday 18 March 2016 12:55:26 Jarle Aase wrote:  
> > > > Den 11. mars 2016 19:36, skrev Lisi Reisz:  
> > > > > I have been reading this thread a bit at a time.  I am
> > > > > bemused.  Why, if you want life simple, and Free, etc., go for
> > > > > an AIO, which are notoriously troublesome?  Why not go for a
> > > > > simple Brother laser printer? (If you want Brother.)  
> > > >
> > > > Actually, I need scanning more frequently than I need printing.
> > > > The scanner works perfectly without any proprietary software on
> > > > my PC. I have still not printed anything.  
> > > 
> > > So have two separate objects?  That is what I do - because I like a
> > > simple life.  
> > 
> > Scanning is pretty easy nowadays, I find. Years ago it was the other
> > way.
> 
> So what made printing so much worse?
> 
> Saying that in the past, vice versa was the case, implies that not only
> has scanning got easier, but also that printing has got harder.

I should have written "Personally,..."
It's back in the thread: when I had a real job, I was surrounded by
PDF printers of many flavours, and there were one or two scanners
which were tedious to use whatever platform you were on.
When I left, battle commenced on two fronts: buying (already
recounted) and using printers (too tedious to recount), so it got
much harder for a while.

Cheers,
David.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-20 Thread Brian
On Sun 20 Mar 2016 at 17:08:11 +0300, Adam Wilson wrote:

> On Sun, 20 Mar 2016 12:19:55 +
> Brian  wrote:
> 
> > On Sun 20 Mar 2016 at 12:08:02 +0300, Adam Wilson wrote:
> > 
> > > On Fri, 18 Mar 2016 14:20:03 -0500
> > > David Wright  wrote:
> > >   
> > > > On Fri 18 Mar 2016 at 13:03:52 (+), Lisi Reisz wrote:  
> > > > > On Friday 18 March 2016 12:55:26 Jarle Aase wrote:
> > > > > > Den 11. mars 2016 19:36, skrev Lisi Reisz:
> > > > > > > I have been reading this thread a bit at a time.  I am
> > > > > > > bemused.  Why, if you want life simple, and Free, etc., go
> > > > > > > for an AIO, which are notoriously troublesome?  Why not go
> > > > > > > for a simple Brother laser printer? (If you want
> > > > > > > Brother.)
> > > > > >
> > > > > > Actually, I need scanning more frequently than I need
> > > > > > printing. The scanner works perfectly without any proprietary
> > > > > > software on my PC. I have still not printed anything.
> > > > > 
> > > > > So have two separate objects?  That is what I do - because I
> > > > > like a simple life.
> > > > 
> > > > Scanning is pretty easy nowadays, I find. Years ago it was the
> > > > other way.  
> > > 
> > > So what made printing so much worse?
> > > 
> > > Saying that in the past, vice versa was the case, implies that not
> > > only has scanning got easier, but also that printing has got
> > > harder.  
> > 
> > It hasn't got worse. There are very few complaints on this list about
> > printing being problematic. Overall, the experience of most Linux
> > users is a positive one. The contraining
> 
> Constraining?

An adjective.




Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-20 Thread Adam Wilson
On Sun, 20 Mar 2016 12:19:55 +
Brian  wrote:

> On Sun 20 Mar 2016 at 12:08:02 +0300, Adam Wilson wrote:
> 
> > On Fri, 18 Mar 2016 14:20:03 -0500
> > David Wright  wrote:
> >   
> > > On Fri 18 Mar 2016 at 13:03:52 (+), Lisi Reisz wrote:  
> > > > On Friday 18 March 2016 12:55:26 Jarle Aase wrote:
> > > > > Den 11. mars 2016 19:36, skrev Lisi Reisz:
> > > > > > I have been reading this thread a bit at a time.  I am
> > > > > > bemused.  Why, if you want life simple, and Free, etc., go
> > > > > > for an AIO, which are notoriously troublesome?  Why not go
> > > > > > for a simple Brother laser printer? (If you want
> > > > > > Brother.)
> > > > >
> > > > > Actually, I need scanning more frequently than I need
> > > > > printing. The scanner works perfectly without any proprietary
> > > > > software on my PC. I have still not printed anything.
> > > > 
> > > > So have two separate objects?  That is what I do - because I
> > > > like a simple life.
> > > 
> > > Scanning is pretty easy nowadays, I find. Years ago it was the
> > > other way.  
> > 
> > So what made printing so much worse?
> > 
> > Saying that in the past, vice versa was the case, implies that not
> > only has scanning got easier, but also that printing has got
> > harder.  
> 
> It hasn't got worse. There are very few complaints on this list about
> printing being problematic. Overall, the experience of most Linux
> users is a positive one. The contraining

Constraining?


pgpe0_0x2eQqE.pgp
Description: OpenPGP digital signature


Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-20 Thread Brian
On Sun 20 Mar 2016 at 12:08:02 +0300, Adam Wilson wrote:

> On Fri, 18 Mar 2016 14:20:03 -0500
> David Wright  wrote:
> 
> > On Fri 18 Mar 2016 at 13:03:52 (+), Lisi Reisz wrote:
> > > On Friday 18 March 2016 12:55:26 Jarle Aase wrote:  
> > > > Den 11. mars 2016 19:36, skrev Lisi Reisz:  
> > > > > I have been reading this thread a bit at a time.  I am
> > > > > bemused.  Why, if you want life simple, and Free, etc., go for
> > > > > an AIO, which are notoriously troublesome?  Why not go for a
> > > > > simple Brother laser printer? (If you want Brother.)  
> > > >
> > > > Actually, I need scanning more frequently than I need printing.
> > > > The scanner works perfectly without any proprietary software on
> > > > my PC. I have still not printed anything.  
> > > 
> > > So have two separate objects?  That is what I do - because I like a
> > > simple life.  
> > 
> > Scanning is pretty easy nowadays, I find. Years ago it was the other
> > way.
> 
> So what made printing so much worse?
> 
> Saying that in the past, vice versa was the case, implies that not only
> has scanning got easier, but also that printing has got harder.

It hasn't got worse. There are very few complaints on this list about
printing being problematic. Overall, the experience of most Linux users
is a positive one. The contraining condition imposed by the OP may make
printing look hard but it is a perception only.



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-20 Thread Jarle Aase



Den 15. mars 2016 21:38, skrev deloptes:
I agree with you more or less, however languages like python or perl 
open doors to pretend-to-be-programmers. I've seen more often bad 
python/perl code than c/c++. My observations are also that there is 
always a penalty, even if you compile the script code into binary. So 
if something has to be robust and fast, one should always prefer 
c/c++. But this is really out of topic here. regards 


I have been working a lot with C++ for the latest 20 years. I have many 
friends specializing in C++ in big companies. Interestingly, they claim 
that recruiters wanting Java programmers, often try to hunt down C++ 
programmers that are willing to convert - because they believe C++ 
programmers in general are smarter than Java programmers. I can't 
comment on that. I don't really know any smart Java developers :)


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-20 Thread Adam Wilson
On Fri, 18 Mar 2016 14:20:03 -0500
David Wright  wrote:

> On Fri 18 Mar 2016 at 13:03:52 (+), Lisi Reisz wrote:
> > On Friday 18 March 2016 12:55:26 Jarle Aase wrote:  
> > > Den 11. mars 2016 19:36, skrev Lisi Reisz:  
> > > > I have been reading this thread a bit at a time.  I am
> > > > bemused.  Why, if you want life simple, and Free, etc., go for
> > > > an AIO, which are notoriously troublesome?  Why not go for a
> > > > simple Brother laser printer? (If you want Brother.)  
> > >
> > > Actually, I need scanning more frequently than I need printing.
> > > The scanner works perfectly without any proprietary software on
> > > my PC. I have still not printed anything.  
> > 
> > So have two separate objects?  That is what I do - because I like a
> > simple life.  
> 
> Scanning is pretty easy nowadays, I find. Years ago it was the other
> way.

So what made printing so much worse?

Saying that in the past, vice versa was the case, implies that not only
has scanning got easier, but also that printing has got harder.


pgpiIrQeOKkP8.pgp
Description: OpenPGP digital signature


Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-20 Thread Ric Moore

On 03/17/2016 01:58 AM, Adam Wilson wrote:

On Tue, 15 Mar 2016 20:38:04 +0100 deloptes  wrote:


Martin Read wrote:


On 15/03/16 07:45, deloptes wrote:

I see recently more python code written than real C/C++.


So what? Most programs *shouldn't* be written in C or C++, and I say
this as someone who loves C and C++ and reaches for one of them by
default as the language for solving computing problems. (Unless they
involve substantial quantities of text manipulation, in which case I
reach for Perl because neither C nor C++ have even *remotely*
satisfactory capabilities in that regard.)

There are specific circumstances in which a low/medium-level systems
programming language like C or C++ is the right choice for
implementing solutions to a computing problem. I submit that *most*
programs are not subject to those circumstances, and thus there are
better languages for implementing most programs.

Python is probably the right language less often than people use
it, but for most jobs people do with it, C or C++ would be just as
wrong a choice, if not more so.


I agree with you more or less, however languages like python or perl
open doors to pretend-to-be-programmers. I've seen more often bad
python/perl code than c/c++.


C/C++ arrogance at its best! I could maybe understand it if you called
C# or Java users pretend-to-be-programmers, but Python, and especially
Perl, really aren't as bad or as threatening as you make them out to be.


My observations are also that there is always a penalty, even if you
compile the script code into binary. So if something has to be robust
and fast, one should always prefer c/c++.  But this is really out of
topic here.


And if Python or Perl are more suited to the task at hand, by all means
use them!

P.S. What's wrong with OT? OT is fun!


We got run off the OT list for being OT. :) Ric


--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-19 Thread Adam Wilson
On Tue, 15 Mar 2016 20:38:04 +0100 deloptes  wrote:

> Martin Read wrote:
> 
> > On 15/03/16 07:45, deloptes wrote:
> >> I see recently more python code written than real C/C++.
> > 
> > So what? Most programs *shouldn't* be written in C or C++, and I say
> > this as someone who loves C and C++ and reaches for one of them by
> > default as the language for solving computing problems. (Unless they
> > involve substantial quantities of text manipulation, in which case I
> > reach for Perl because neither C nor C++ have even *remotely*
> > satisfactory capabilities in that regard.)
> > 
> > There are specific circumstances in which a low/medium-level systems
> > programming language like C or C++ is the right choice for
> > implementing solutions to a computing problem. I submit that *most*
> > programs are not subject to those circumstances, and thus there are
> > better languages for implementing most programs.
> > 
> > Python is probably the right language less often than people use
> > it, but for most jobs people do with it, C or C++ would be just as
> > wrong a choice, if not more so.
> 
> I agree with you more or less, however languages like python or perl
> open doors to pretend-to-be-programmers. I've seen more often bad
> python/perl code than c/c++.

C/C++ arrogance at its best! I could maybe understand it if you called
C# or Java users pretend-to-be-programmers, but Python, and especially
Perl, really aren't as bad or as threatening as you make them out to be.

> My observations are also that there is always a penalty, even if you
> compile the script code into binary. So if something has to be robust
> and fast, one should always prefer c/c++.  But this is really out of
> topic here.

And if Python or Perl are more suited to the task at hand, by all means
use them!

P.S. What's wrong with OT? OT is fun!



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Brian
On Wed 16 Mar 2016 at 12:06:40 -0400, Gene Heskett wrote:

> On Wednesday 16 March 2016 10:12:59 Brian wrote:
> 
> > Now find a *small* PDF file and send it directly to the printer with
> > netcat:
> >
> >   nc 192.168.71.20 9100 < file.pdf
> >
> > or
> >
> >   nc BRN001BA9E3811F.local < file.pdf
> >
> > Does it print?
> 
> Doesn't look like it:
> 
> gene@coyote:~/Downloads$ nc BRN001BA9E3811F.local <7i77_layout.pdf 
> no port[s] to connect to
> gene@coyote:~/Downloads$ nc 192.168.71.20 < 7i77_layout.pdf 
> no port[s] to connect to

Haven't you omitted the port to connect to? Just like I did for one of
the lines above. :(. Apologies.

  nc 192.168.71.20 9100 < 7i77_layout.pdf
   



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread jdd

Le 18/03/2016 13:55, Jarle Aase a écrit :


Actually, I need scanning more frequently than I need printing. The
scanner works perfectly without any proprietary software on my PC. I
have still not printed anything.



scanner are for free nowaday (second hand), I even have an unused one :-)

jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Jarle Aase



Den 11. mars 2016 19:36, skrev Lisi Reisz:

I have been reading this thread a bit at a time.  I am bemused.  Why, if you
want life simple, and Free, etc., go for an AIO, which are notoriously
troublesome?  Why not go for a simple Brother laser printer?  (If you want
Brother.)

Actually, I need scanning more frequently than I need printing. The 
scanner works perfectly without any proprietary software on my PC. I 
have still not printed anything.


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Adam Wilson
On Tue, 15 Mar 2016 16:10:49 +0100 jdd  wrote:

> Le 15/03/2016 16:01, David Wright a écrit :
> 
> > You write "Is Airprint free?". Is this a real question or a pointed
> > remark designed to create more discussion? I can't tell. Why don't
> > you just look it up?
> >
> > You write "not from me, but from others, may be." Perhaps you
> > might google the following phrase. That's what I think.
> 
> I got the impression than you don't want to use the brother driver 
> because it's not free. If it's not that, I'm sorry.
> 
> if It's that, I think that a driver is just an extension of the 
> hardware, so why use a non free hardware an don't use the same non
> free driver.

This sort of breaks down when you realise that drivers are actually
software to be used with hardware. They are only 'extensions of
hardware' in the sense that hardware requires drivers to work, and so
certain drivers must be used with certain hardware.

There is no such thing as 'non-free hardware'- just hardware for which
there are no free drivers available. That situation can be remedied by
the development or release of free drivers and firmware.

> We all work constantly with non free solutions, including RMS,
> whatever he says... the more the better, but where to stop?

Indeed. Until recently Stallman himself used a computer with non-free
BIOS, until his fling with MIPS and now LibreBoot.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Brian
On Tue 15 Mar 2016 at 23:18:30 -0400, Gene Heskett wrote:

> Gluttons for punishment eh?  Remember, you did ask for it :(  And nothu
> ing has been excised.

Uncut outputs are always the best. Thank you very much.

[Useful avahi-browse record snipped to save bandwidth]

> Now, I note 3 instances of "airprint.html" up there that because it 
> didn't mean squat to me until now, I didn't recognize or know I needed 
> to remember.

http://BRN001BA9E3811F.local./net/net/airprint.html is the location of
the printer's embedded web interface. Without avahi-daemon I expect you
would use http://192.168.71.20:80.

We'll work with the PDL printer:

  =   eth0 IPv4 Brother HL-3170CDW series  PDL Printer  local
 hostname = [BRN001BA9E3811F.local]
 address = [192.168.71.20]
 port = [9100]
 txt = ["UUID=e3248000-80ce-11db-8000-001ba9e3811f"
   "TBCP=T"
   "Transparent=F"
   "Binary=T"
   "PaperCustom=T"
   "Scan=F"
   "Duplex=T"
   "Copies=T"
   "Color=T"
   "usb_CMD=PJL,PCL,PCLXL,URF"
   "usb_MDL=HL-3170CDW series"
   "usb_MFG=Brother"
   "priority=75"
   "adminurl=http://BRN001BA9E3811F.local./net/net/airprint.html;
   "product=(Brother HL-3170CDW series)"
   "ty=Brother HL-3170CDW series"
   "note="
   "pdl=application/octet-stream,image/urf"
   "qtotal=1"
   "txtvers=1"]

Now find a *small* PDF file and send it directly to the printer with
netcat:

  nc 192.168.71.20 9100 < file.pdf

or

  nc BRN001BA9E3811F.local < file.pdf

Does it print?



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Jarle Aase



Den 10. mars 2016 21:01, skrev Brian:
Did you go through all this to set up scanning on the device? Of 
course you didn't. So why not do the same with printing and not make a 
song and a dance about it. 
Scanning was simple, as the device use standard protocols. Currently I 
scan to a FTP server on my PC. I trust the FTP server because I wrote it :)


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Gene Heskett
On Wednesday 16 March 2016 10:12:59 Brian wrote:

> On Tue 15 Mar 2016 at 23:18:30 -0400, Gene Heskett wrote:
> > Gluttons for punishment eh?  Remember, you did ask for it :(  And
> > nothu ing has been excised.
>
> Uncut outputs are always the best. Thank you very much.
>
> [Useful avahi-browse record snipped to save bandwidth]
>
> > Now, I note 3 instances of "airprint.html" up there that because it
> > didn't mean squat to me until now, I didn't recognize or know I
> > needed to remember.
>
> http://BRN001BA9E3811F.local./net/net/airprint.html is the location of
> the printer's embedded web interface. Without avahi-daemon I expect
> you would use http://192.168.71.20:80.
>
> We'll work with the PDL printer:
>
>   =   eth0 IPv4 Brother HL-3170CDW series  PDL Printer  local
>  hostname = [BRN001BA9E3811F.local]
>  address = [192.168.71.20]
>  port = [9100]
>  txt = ["UUID=e3248000-80ce-11db-8000-001ba9e3811f"
>"TBCP=T"
>"Transparent=F"
>"Binary=T"
>"PaperCustom=T"
>"Scan=F"
>"Duplex=T"
>"Copies=T"
>"Color=T"
>"usb_CMD=PJL,PCL,PCLXL,URF"
>"usb_MDL=HL-3170CDW series"
>"usb_MFG=Brother"
>"priority=75"
>   
> "adminurl=http://BRN001BA9E3811F.local./net/net/airprint.html;
> "product=(Brother HL-3170CDW series)"
>"ty=Brother HL-3170CDW series"
>"note="
>"pdl=application/octet-stream,image/urf"
>"qtotal=1"
>"txtvers=1"]
>
> Now find a *small* PDF file and send it directly to the printer with
> netcat:
>
>   nc 192.168.71.20 9100 < file.pdf
>
> or
>
>   nc BRN001BA9E3811F.local < file.pdf
>
> Does it print?

Doesn't look like it:

gene@coyote:~/Downloads$ nc BRN001BA9E3811F.local <7i77_layout.pdf 
no port[s] to connect to
gene@coyote:~/Downloads$ nc 192.168.71.20 < 7i77_layout.pdf 
no port[s] to connect to


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-19 Thread Adam Wilson
On Tue, 15 Mar 2016 08:45:33 +0100 deloptes  wrote:

> Adam Wilson wrote:
> 
> > On Mon, 14 Mar 2016 22:58:00 +0100 deloptes 
> > wrote:
> > 
> >> Adam Wilson wrote:
> >> 
> >> > If you're referring to the great "should" debate, then this is a
> >> > pretty inaccurate description of what happened. I inadvertently
> >> > used the word "should" as opposed to "it would be better
> >> > if" (insert other non-triggering alternative if it suits), and
> >> > was promptly jumped by everyone for being "intolerant", or
> >> > "pushy", or some shit.
> >> > 
> >> > People should (there it is again!) be free to advocate whatever
> >> > views they want, as well as pursue whatever course of action they
> >> > may wish without all this ridicule from the "open-source" gang-
> >> > including avoiding blobs, or thinking that perhaps, just maybe,
> >> > non-free software is a *bad thing*.
> >> > 
> >> > But people should also be free to tell others how to act- it may
> >> > come across as rude, but I don't really care- it is an extension
> >> > of freedom of speech, provided there is no direct physical
> >> > coercion involved.
> >> > 
> >> > "Live and let live" is a touch ironic coming from the very people
> >> > who launch nit-picky attacks like the ones described in the first
> >> > place.
> >> 
> >> I like the way you put my thoughts in words. Perhaps we should
> >> establish a club called "really free in open source communities" or
> >> something alike. The Donald Trump way ;)
> > 
> > About "open-source"; I'm not really sure how to feel. On the one
> > hand, they did do a good (?) job spreading free software into the
> > corporate/business world and making it mainstream (ish), but on the
> > other hand, their lack of a coherent ethical discourse,
> > corporate-friendliness, and abandonment of the original cause- free
> > software advocacy- has basically meant that free software has been
> > usurped by capital rather than having the liberatory potential it
> > once did.
> > 
> > Imagine how far we could spread the ideals of free software if only
> > all those people who currently talk about "Linux" and "open-source"
> > started talking about GNU/Linux and free software! That includes
> > the OSI and the other big individual players in the "open-source"
> > gang.
> > 
> > It'll probably never happen; the antagonism is too great. Alas.
> 
> Well. Everyone following the Open source/Free Software story would
> know that the circumstances shifted to disadvantage of Open Source
> and Free Software. Things are getting even worse. Windowz mentality
> spreading into the communities with the yonger people. 
> I see recently more python code written than real C/C++. Another
> example is the shift in KDE.
> Another reason is the so called "economic crisis" which is not really
> economic, but never mind.

Python being used as opposed to C/C++ has nothing to do with software
freedom. Change in programming mentality, maybe, but free software
dying because of it? No.

What is far more alarming is the prevalence of non-free JS and shit tons
of code in C# for .Net (or Mono, which in many ways is even more
insidious).

> > 
> >> What helped me most is the definition of similar behavior by a wise
> >> man, who said, "the worst thing is, they think they are morally
> >> superior to judge"
> > 
> > Everyone here is guilty of this.
> 
> I'm not sure you have the right to say this :)

Why not? Everyone thinks they're morally superior in one way or
another. I think it's a pretty reasonable point.

Just in the same way that I advocate (mostly) abstinence from non-free
software, and consider myself morally superior (I do, I'm not going to
lie) because of it, others advocate not caring, and consider me silly
because of my position (oh, and my usage of the word "should", of
course). No matter what position you may hold, of course you're going
to consider your position to be superior to those of rival beliefs, and
I don't think that's something that's avoidable or even bad.



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-19 Thread deloptes
Adam Wilson wrote:

>> I agree with you more or less, however languages like python or perl
>> open doors to pretend-to-be-programmers. I've seen more often bad
>> python/perl code than c/c++.
> 
> C/C++ arrogance at its best! I could maybe understand it if you called
> C# or Java users pretend-to-be-programmers, but Python, and especially
> Perl, really aren't as bad or as threatening as you make them out to be.
> 

No, not at all. I love perl. I tried learning python and can do a lot with
it for practical reasons. I don't care and do not have any preference.
Whatever is needed I do it according the requirements. It's just business. 
I just shared my observations. Younger developers pretend to know much and
write sh*t code. A lot of India guys as well :D

>> My observations are also that there is always a penalty, even if you
>> compile the script code into binary. So if something has to be robust
>> and fast, one should always prefer c/c++.  But this is really out of
>> topic here.
> 
> And if Python or Perl are more suited to the task at hand, by all means
> use them!
> 

Yes in some cases they are preferable. My point was if you tolerate it, you
end up sorting out newbies mess - KDE mainstream is a good example of that
(and so are many other projects)

We used python for prototyping and then one came up with the idea to
compile, sign and sell the binary code - works great.

> P.S. What's wrong with OT? OT is fun!

My intention was to end up the discussion :)




Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-19 Thread Adam Wilson
On Tue, 15 Mar 2016 15:06:55 -0400 doug 
wrote:

> 
> On 03/15/2016 12:22 PM, Martin Read wrote:
> > On 15/03/16 07:45, deloptes wrote:
> >> I see recently more python code written than real C/C++.
> >
> > So what? Most programs *shouldn't* be written in C or C++, and I
> > say this as someone who loves C and C++ and reaches for one of them
> > by default as the language for solving computing problems. (Unless
> > they involve substantial quantities of text manipulation, in which
> > case I reach for Perl because neither C nor C++ have even
> > *remotely* satisfactory capabilities in that regard.)
> >
> > There are specific circumstances in which a low/medium-level
> > systems programming language like C or C++ is the right choice for 
> > implementing solutions to a computing problem. I submit that *most* 
> > programs are not subject to those circumstances, and thus there are 
> > better languages for implementing most programs.
> >
> > Python is probably the right language less often than people use
> > it, but for most jobs people do with it, C or C++ would be just as
> > wrong a choice, if not more so.
> >
> >
> It's too bad that the original Borland Pascal is not around anymore.
> Or even the later version of BASIC with the case statement. Simple
> and even a doppus like me could write with one of them!

I can barely code- I am limited to shell scripts, Windows/DOS batch,
classical BASIC (which I taught myself, it really isn't hard- but it
left me with a GOTO habit), and (surprisingly or not) C#, which we were
taught at school.

There is a lovely BASIC interpreter called Vintage BASIC which holds a
special place in my heart... it is mostly compatible with
Altair/Commodore BASIC.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread David Wright
On Fri 18 Mar 2016 at 13:03:52 (+), Lisi Reisz wrote:
> On Friday 18 March 2016 12:55:26 Jarle Aase wrote:
> > Den 11. mars 2016 19:36, skrev Lisi Reisz:
> > > I have been reading this thread a bit at a time.  I am bemused.  Why, if
> > > you want life simple, and Free, etc., go for an AIO, which are
> > > notoriously troublesome?  Why not go for a simple Brother laser printer? 
> > > (If you want Brother.)
> >
> > Actually, I need scanning more frequently than I need printing. The
> > scanner works perfectly without any proprietary software on my PC. I
> > have still not printed anything.
> 
> So have two separate objects?  That is what I do - because I like a simple 
> life.

Scanning is pretty easy nowadays, I find. Years ago it was the other
way. With PDF printers, printing was straightforward. Scanning meant
putting the paper on the machine, pressing the button, then clicking
some buttons on the attached computer to accept the file, repeating
all that over and over, then converting the files from some
proprietary rubbish into something I could actually use. When it
worked. (Scanners were very unreliable, frequently broken, often in
use by someone else.)

Now, most scanners can scan to a stick in various formats. Though I
*can* drive the scanner from a computer, what's the point. Somebody's
got to feed the machine, even if it's only loading the ADF.
I have found it possible to get scans off the stick from the computer
(without taking it out of the scanner), but I don't usually bother.

Fortunately this scanner works even when the ink has run out, unlike
the k0d*k abomination we once had.

Cheers,
David.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Curt
On 2016-03-18, jdd  wrote:
> Le 18/03/2016 13:55, Jarle Aase a écrit :
>
>> Actually, I need scanning more frequently than I need printing. The
>> scanner works perfectly without any proprietary software on my PC. I
>> have still not printed anything.
>>
>
> scanner are for free nowaday (second hand), I even have an unused one :-)

I bought my acer 640U Scanaprisa for one euro (or maybe five, memory fails
me) at the annual *brocante*.

I did find it unusual that the OP got scanning to work in his
multifunction doohickey and not printing because I've much more
frequently seen the opposite being the case.

> jdd
>
>


-- 
Hypertext--or should I say the ideology of hypertext?--is ultrademocratic and
so entirely in harmony with the demagogic appeals to cultural democracy that
accompany (and distract one’s attention from) the ever-tightening grip of 
plutocratic capitalism. - Susan Sontag



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Lisi Reisz
On Friday 18 March 2016 12:55:26 Jarle Aase wrote:
> Den 11. mars 2016 19:36, skrev Lisi Reisz:
> > I have been reading this thread a bit at a time.  I am bemused.  Why, if
> > you want life simple, and Free, etc., go for an AIO, which are
> > notoriously troublesome?  Why not go for a simple Brother laser printer? 
> > (If you want Brother.)
>
> Actually, I need scanning more frequently than I need printing. The
> scanner works perfectly without any proprietary software on my PC. I
> have still not printed anything.

So have two separate objects?  That is what I do - because I like a simple 
life.

Lisi



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-18 Thread Brian
On Fri 18 Mar 2016 at 14:41:04 +0200, Jarle Aase wrote:

> Den 10. mars 2016 21:01, skrev Brian:
> >Did you go through all this to set up scanning on the device? Of course
> >you didn't. So why not do the same with printing and not make a song and a
> >dance about it.
> Scanning was simple, as the device use standard protocols. Currently I scan
> to a FTP server on my PC. I trust the FTP server because I wrote it :)

Thank you for that response. It helps to clarify the situation.

Have you considered acting on the advice in points 3. and 4. of

  https://lists.debian.org/debian-user/2016/03/msg00401.html

Unless someone comes up with another technique to avoid using a
proprietary driver it seems to me the only way for you print with
that printer.

(You can forget about points 1. and 2.).



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-15 Thread Ric Moore

On 03/15/2016 05:28 PM, Joe wrote:


I first came to Pascal after a couple of years of BBC Basic, and I
couldn't see what the fuss was about. Pascal didn't seem to be any
great advance, though I suppose it was much more useful than the
Applesoft I learned on.


I had an original garage build ][. I still miss the line numbers. :) Ric



--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-15 Thread Gene Heskett
On Tuesday 15 March 2016 20:20:25 Lisi Reisz wrote:

> On Tuesday 15 March 2016 22:48:33 Brian wrote:
> > On Tue 15 Mar 2016 at 21:16:14 +, Lisi Reisz wrote:
> > > On Tuesday 15 March 2016 19:40:07 Brian wrote:
> > > > Gene Haskett has an HL-3170CDW, which he now knows does
> > > > AirPrint. I believe he is someone who is up for a challenge.
> > > > Compared with flooded basements, lightning strikes, falling
> > > > trees and power cuts this is small beer. If he is amenable he
> > > > could
> > > >
> > > > 1. Install avahi-daemon and avahi-utils.
> > > >
> > > > 2. Do
> > > >
> > > > +   eth0 IPv4 Brother HL-3170CDW series 
PDL Printer  local


> > > >
> > > > and post the file "discovered" here. Then we might progress.
> > > >
> > > > Your printer cannot deal with files sent directly from an iOS
> > > > device. Through the mediation of Debian CUPS it can.
> > >
> > > But in order to do it, he would have to install Jessie, would he
> > > not? And I don't think he has a spare computer on which to do so.
> > > :-(
> >
> > To use avahi-daemon to pick up Bonjour broadcasts? No.
> >
> > If I am wrong it takes five minutes on Wheezy to find out.
>
> Over to you, Gene?? :-)
>
> Lisi

Gluttons for punishment eh?  Remember, you did ask for it :(  And nothu
ing has been excised.

+   eth0 IPv4 Brother HL-3170CDW series PDL Printer 
 
local
+   eth0 IPv4 Brother HL-3170CDW series UNIX Printer
 
local
+   eth0 IPv4 Brother HL-3170CDW series Internet 
Printer local
+   eth0 IPv4 Brother HL-3170CDW series Web Site
 
local
=   eth0 IPv4 Brother HL-3170CDW series PDL Printer 
 
local
   hostname = [BRN001BA9E3811F.local]
   address = [192.168.71.20]
   port = [9100]
   txt = 
["UUID=e3248000-80ce-11db-8000-001ba9e3811f" "TBCP=T" "Transparent=F" 
"Binary=T" "PaperCustom=T" "Scan=F" "Duplex=T" "Copies=T" "Color=T" 
"usb_CMD=PJL,PCL,PCLXL,URF" "usb_MDL=HL-3170CDW 
series" "usb_MFG=Brother" "priority=75" 
"adminurl=http://BRN001BA9E3811F.local./net/net/airprint.html; 
"product=(Brother 
HL-3170CDW series)" "ty=Brother HL-3170CDW 
series" "note=" "pdl=application/octet-stream,image/urf" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother HL-3170CDW series UNIX Printer
 
local
   hostname = [BRN001BA9E3811F.local]
   address = [192.168.71.20]
   port = [515]
   txt = 
["UUID=e3248000-80ce-11db-8000-001ba9e3811f" "TBCP=F" "Transparent=T" 
"Binary=T" "PaperCustom=T" "Scan=F" "Duplex=T" "Copies=T" "Color=T" 
"usb_CMD=PJL,PCL,PCLXL,URF" "usb_MDL=HL-3170CDW 
series" "usb_MFG=Brother" "priority=50" 
"adminurl=http://BRN001BA9E3811F.local./net/net/airprint.html; 
"product=(Brother 
HL-3170CDW series)" "ty=Brother HL-3170CDW 
series" "note=" "rp=duerqxesz5090" "pdl=application/octet-stream,image/urf" 
"qtotal=1" "txtvers=1"]
+   eth0 IPv6 BROTHER HL-2140 @ coyote  Internet 
Printer local
+   eth0 IPv6 coyoteRemote Disk 
Management local
+   eth0 IPv6 coyote_nut._tcp   
 
local
+   eth0 IPv6 coyote [00:1f:c6:62:fc:bb]Workstation 
 
local
+   eth0 IPv6 Network_printer @ coyote  Internet 
Printer local
+   eth0 IPv6 HL3170CDW @ coyoteInternet 
Printer local
+   eth0 IPv6 Cups-PDF @ coyote Internet 
Printer local
+   eth0 IPv6 EPSON Epson Stylus NX510 @ coyote Internet 
Printer local
+   eth0 IPv4 BROTHER HL-2140 @ coyote  Internet 
Printer local
+   eth0 IPv4 coyoteRemote Disk 
Management local
+   eth0 IPv4 coyote_nut._tcp   
 
local
+   eth0 IPv4 coyote [00:1f:c6:62:fc:bb]Workstation 
 
local
+   eth0 IPv4 Network_printer @ coyote  Internet 
Printer local
+   eth0 IPv4 Cups-PDF @ coyote Internet 
Printer local
+   eth0 IPv4 HL3170CDW @ coyoteInternet 
Printer local
+   eth0 IPv4 EPSON Epson Stylus NX510 @ coyote Internet 
Printer local
=   eth0 IPv6 BROTHER HL-2140 @ coyote  Internet 
Printer local
   hostname = [coyote.local]
   address = [fe80::21f:c6ff:fe62:fcbb]
   port = [631]
   txt = 
["printer-type=0x80B016" "printer-state=3" "Scan=F" "Sort=F" "Bind=F" "Punch=F" 
"Collate=F" "Copies=F" "Staple=F" "Duplex=T" "Color=F" "Fax=F" "Binary=F" 
"Transparent=F" "TLS=1.2" "UUID=78436bff-0096-3f61-74ca-4f910e8f38d9" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/urf"
 "product=(HL-2140 
series)" "priority=0" "note=coyote.coyote.den" 

Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-15 Thread Lisi Reisz
On Tuesday 15 March 2016 22:48:33 Brian wrote:
> On Tue 15 Mar 2016 at 21:16:14 +, Lisi Reisz wrote:
> > On Tuesday 15 March 2016 19:40:07 Brian wrote:
> > > Gene Haskett has an HL-3170CDW, which he now knows does AirPrint. I
> > > believe he is someone who is up for a challenge. Compared with flooded
> > > basements, lightning strikes, falling trees and power cuts this is
> > > small beer. If he is amenable he could
> > >
> > > 1. Install avahi-daemon and avahi-utils.
> > >
> > > 2. Do
> > >
> > > avahi-browse -art > discovered
> > >
> > > and post the file "discovered" here. Then we might progress.
> > >
> > > Your printer cannot deal with files sent directly from an iOS device.
> > > Through the mediation of Debian CUPS it can.
> >
> > But in order to do it, he would have to install Jessie, would he not? 
> > And I don't think he has a spare computer on which to do so. :-(
>
> To use avahi-daemon to pick up Bonjour broadcasts? No.
>
> If I am wrong it takes five minutes on Wheezy to find out.

Over to you, Gene?? :-)

Lisi



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-15 Thread Brian
On Tue 15 Mar 2016 at 21:16:14 +, Lisi Reisz wrote:

> On Tuesday 15 March 2016 19:40:07 Brian wrote:
> >
> > Gene Haskett has an HL-3170CDW, which he now knows does AirPrint. I
> > believe he is someone who is up for a challenge. Compared with flooded
> > basements, lightning strikes, falling trees and power cuts this is small
> > beer. If he is amenable he could
> >
> > 1. Install avahi-daemon and avahi-utils.
> >
> > 2. Do
> >
> > avahi-browse -art > discovered
> >
> > and post the file "discovered" here. Then we might progress.
> >
> > Your printer cannot deal with files sent directly from an iOS device.
> > Through the mediation of Debian CUPS it can.
> 
> But in order to do it, he would have to install Jessie, would he not?  And I 
> don't think he has a spare computer on which to do so. :-(

To use avahi-daemon to pick up Bonjour broadcasts? No.

If I am wrong it takes five minutes on Wheezy to find out.



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-15 Thread Joe
On Tue, 15 Mar 2016 15:06:55 -0400
doug  wrote:


> >
> >  
> It's too bad that the original Borland Pascal is not around anymore.
> Or even the later version of BASIC with the case statement. Simple
> and even a doppus like me could write with one of them!
> 

I first came to Pascal after a couple of years of BBC Basic, and I
couldn't see what the fuss was about. Pascal didn't seem to be any
great advance, though I suppose it was much more useful than the
Applesoft I learned on.

I believe Delphi still exists, though I don't think there's a
hobbyist-level price these days. I used to dabble with Delphi 3, and
I released a couple of visual components, but I haven't had need of
something like that for some years.

There is a free clone called Lazarus, based on Free Pascal, which is
probably far more advanced than Delphi 3. You can ignore most of the
object stuff and just write straight Pascal. You could write Windows
system DLLs in Delphi.

p.s. There's a GPL BBC Basic V interpreter:
https://packages.debian.org/sid/brandy 

-- 
Joe



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-15 Thread Lisi Reisz
On Tuesday 15 March 2016 19:40:07 Brian wrote:
> On Tue 15 Mar 2016 at 09:46:26 -0500, David Wright wrote:
> > On Mon 14 Mar 2016 at 13:20:25 (+), Brian wrote:
> > > "PDF filter" would be a suitable substitute for "PDF converter". But
> > > not "PDF interpreter".
> >
> > OK. Debating what to call what happens between PDF and ink-on-paper
> > is "less important" (I'm learning) than my trying to tie down whether
> > that process takes place entirely in the printer, ie the box we bring
> > back from the store.
>
> I thought we had established that the filtering process takes place
> entirely on the printer. After all, there are no drivers on the sending
> device.
>
> > > Yes. But maybe my understanding of what an onboard PS/PCL/PDF
> > > interpreter does (stated in an earlier mail) is different from yours.
> >
> > OK. Debating... (ditto as above).
>
> Ok, yes. But I have said what I mean by an interpreter. You haven't.
>
> > > We seem to be both agreed that a PDF arriving at an AirPrint-compatible
> > > printer has to be dealt with in some way to ready it for printing.
> > > Let's leave it there. It is interesting to speculate how a printer
> > > processes a PDF sent from a driverless device but ultimately it is of
> > > no great consequence because it is not under our control.
> >
> > It's of the greatest consequence if there's a way of getting a linux
> > box to send PDF files to an AirPrint printer and have them print.
>
> CUPS is not involved in printing to an AirPrint printer. Debian CUPS has
> been patched to enable an iOS device to send to any printer (AirPrint
> capable or not). The principles to do it have been worked out and it is
> Bonjour broadcasting which is the key.
>
> > It means you can walk into a store and just buy something, take it
> > home and it works. A bit like when I worked in a university: the
> > printers understood PDF files so I knew I could just send stuff to the
> > queue and it would print it.
> >
> > Here's my old methodology for buying a printer:
> > -Go to the store and look and printers.
> > -Persuade wife to "check reviews" rather than buy straight away.
> > -Go home and look at linuxprinting-type websites for linux compatibility.
> > -Search forums for complaints/difficulties.
> > -List some linux-compatible models.
> > -Go back to store only to find that all these model numbers are out of
> > date and unavailable, replaced by shiny new models.
> > -Persuade wife that the shiniest model she wants is going to be a great
> > doorstop (or else she's going to have to print all my wants from a
> > stick). -Buy a printer.
> > -Find a driver that kind-of works.
> > -Work round the problems that the driver throws up.
>
> Since it is mentioned twice, your major tussle with printer purchase
> appears to be with your wife. Driver choice and adaptation pales into
> insignificance compared with this, :)
>
> > > It really should. Without Bonjour broadcasting by the printer AirPrint
> > > would not exist.
> >
> > I wrote "in this discussion". Drivers, not discovery. AFAICT I'm
> > already using avahi to print now. I'm not, however, sending raw PDFs
> > to the discovered printer.
>
> Unless the printer has a PDF interpreter you will be disappointed with
> the result.
>
> > > as a solution to Jarle Aase's issue. All we need is someone with an
> > > AirPrint printer to test it. :).
> >
> > Yes. Has noone else on this list bought one? There's a huge list of
> > models. Unfortunately my model is HP Officejet Pro 85xx and one
> > needs 86xx for AirPrint inclusion.
>
> Gene Haskett has an HL-3170CDW, which he now knows does AirPrint. I
> believe he is someone who is up for a challenge. Compared with flooded
> basements, lightning strikes, falling trees and power cuts this is small
> beer. If he is amenable he could
>
> 1. Install avahi-daemon and avahi-utils.
>
> 2. Do
>
> avahi-browse -art > discovered
>
> and post the file "discovered" here. Then we might progress.
>
> Your printer cannot deal with files sent directly from an iOS device.
> Through the mediation of Debian CUPS it can.

But in order to do it, he would have to install Jessie, would he not?  And I 
don't think he has a spare computer on which to do so. :-(

Lisi



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-15 Thread Brian
On Tue 15 Mar 2016 at 09:46:26 -0500, David Wright wrote:

> On Mon 14 Mar 2016 at 13:20:25 (+), Brian wrote:
> > 
> > "PDF filter" would be a suitable substitute for "PDF converter". But not
> > "PDF interpreter".
> 
> OK. Debating what to call what happens between PDF and ink-on-paper
> is "less important" (I'm learning) than my trying to tie down whether
> that process takes place entirely in the printer, ie the box we bring
> back from the store.

I thought we had established that the filtering process takes place
entirely on the printer. After all, there are no drivers on the sending
device.  

> > Yes. But maybe my understanding of what an onboard PS/PCL/PDF interpreter
> > does (stated in an earlier mail) is different from yours.
> 
> OK. Debating... (ditto as above).

Ok, yes. But I have said what I mean by an interpreter. You haven't.
 
> > We seem to be both agreed that a PDF arriving at an AirPrint-compatible
> > printer has to be dealt with in some way to ready it for printing. Let's
> > leave it there. It is interesting to speculate how a printer processes a
> > PDF sent from a driverless device but ultimately it is of no great
> > consequence because it is not under our control.
> 
> It's of the greatest consequence if there's a way of getting a linux
> box to send PDF files to an AirPrint printer and have them print.

CUPS is not involved in printing to an AirPrint printer. Debian CUPS has
been patched to enable an iOS device to send to any printer (AirPrint
capable or not). The principles to do it have been worked out and it is
Bonjour broadcasting which is the key.

> It means you can walk into a store and just buy something, take it
> home and it works. A bit like when I worked in a university: the
> printers understood PDF files so I knew I could just send stuff to the
> queue and it would print it.
> 
> Here's my old methodology for buying a printer:
> -Go to the store and look and printers.
> -Persuade wife to "check reviews" rather than buy straight away.
> -Go home and look at linuxprinting-type websites for linux compatibility.
> -Search forums for complaints/difficulties.
> -List some linux-compatible models.
> -Go back to store only to find that all these model numbers are out of
> date and unavailable, replaced by shiny new models.
> -Persuade wife that the shiniest model she wants is going to be a great
> doorstop (or else she's going to have to print all my wants from a stick).
> -Buy a printer.
> -Find a driver that kind-of works.
> -Work round the problems that the driver throws up.

Since it is mentioned twice, your major tussle with printer purchase
appears to be with your wife. Driver choice and adaptation pales into
insignificance compared with this, :)
 
> > It really should. Without Bonjour broadcasting by the printer AirPrint
> > would not exist.
> 
> I wrote "in this discussion". Drivers, not discovery. AFAICT I'm
> already using avahi to print now. I'm not, however, sending raw PDFs
> to the discovered printer.

Unless the printer has a PDF interpreter you will be disappointed with
the result.

> > as a solution to Jarle Aase's issue. All we need is someone with an
> > AirPrint printer to test it. :).
> 
> Yes. Has noone else on this list bought one? There's a huge list of
> models. Unfortunately my model is HP Officejet Pro 85xx and one
> needs 86xx for AirPrint inclusion.

Gene Haskett has an HL-3170CDW, which he now knows does AirPrint. I
believe he is someone who is up for a challenge. Compared with flooded
basements, lightning strikes, falling trees and power cuts this is small
beer. If he is amenable he could

1. Install avahi-daemon and avahi-utils.

2. Do

avahi-browse -art > discovered

and post the file "discovered" here. Then we might progress.

Your printer cannot deal with files sent directly from an iOS device.
Through the mediation of Debian CUPS it can.



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-15 Thread deloptes
Martin Read wrote:

> On 15/03/16 07:45, deloptes wrote:
>> I see recently more python code written than real C/C++.
> 
> So what? Most programs *shouldn't* be written in C or C++, and I say
> this as someone who loves C and C++ and reaches for one of them by
> default as the language for solving computing problems. (Unless they
> involve substantial quantities of text manipulation, in which case I
> reach for Perl because neither C nor C++ have even *remotely*
> satisfactory capabilities in that regard.)
> 
> There are specific circumstances in which a low/medium-level systems
> programming language like C or C++ is the right choice for implementing
> solutions to a computing problem. I submit that *most* programs are not
> subject to those circumstances, and thus there are better languages for
> implementing most programs.
> 
> Python is probably the right language less often than people use it, but
> for most jobs people do with it, C or C++ would be just as wrong a
> choice, if not more so.

I agree with you more or less, however languages like python or perl open
doors to pretend-to-be-programmers. I've seen more often bad python/perl
code than c/c++.
My observations are also that there is always a penalty, even if you compile
the script code into binary. So if something has to be robust and fast, one
should always prefer c/c++.  But this is really out of topic here.

regards




Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-15 Thread doug


On 03/15/2016 12:22 PM, Martin Read wrote:

On 15/03/16 07:45, deloptes wrote:

I see recently more python code written than real C/C++.


So what? Most programs *shouldn't* be written in C or C++, and I say 
this as someone who loves C and C++ and reaches for one of them by 
default as the language for solving computing problems. (Unless they 
involve substantial quantities of text manipulation, in which case I 
reach for Perl because neither C nor C++ have even *remotely* 
satisfactory capabilities in that regard.)


There are specific circumstances in which a low/medium-level systems 
programming language like C or C++ is the right choice for 
implementing solutions to a computing problem. I submit that *most* 
programs are not subject to those circumstances, and thus there are 
better languages for implementing most programs.


Python is probably the right language less often than people use it, 
but for most jobs people do with it, C or C++ would be just as wrong a 
choice, if not more so.



It's too bad that the original Borland Pascal is not around anymore. Or 
even the later version of BASIC with the case statement. Simple and even

a doppus like me could write with one of them!

--doug (retired RF engineer--not a programmer!)



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-15 Thread Martin Read

On 15/03/16 07:45, deloptes wrote:

I see recently more python code written than real C/C++.


So what? Most programs *shouldn't* be written in C or C++, and I say 
this as someone who loves C and C++ and reaches for one of them by 
default as the language for solving computing problems. (Unless they 
involve substantial quantities of text manipulation, in which case I 
reach for Perl because neither C nor C++ have even *remotely* 
satisfactory capabilities in that regard.)


There are specific circumstances in which a low/medium-level systems 
programming language like C or C++ is the right choice for implementing 
solutions to a computing problem. I submit that *most* programs are not 
subject to those circumstances, and thus there are better languages for 
implementing most programs.


Python is probably the right language less often than people use it, but 
for most jobs people do with it, C or C++ would be just as wrong a 
choice, if not more so.




Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-15 Thread jdd

Le 15/03/2016 16:01, David Wright a écrit :


You write "Is Airprint free?". Is this a real question or a pointed
remark designed to create more discussion? I can't tell. Why don't
you just look it up?

You write "not from me, but from others, may be." Perhaps you
might google the following phrase. That's what I think.


I got the impression than you don't want to use the brother driver 
because it's not free. If it's not that, I'm sorry.


if It's that, I think that a driver is just an extension of the 
hardware, so why use a non free hardware an don't use the same non free 
driver.


this don't mean working on a free solution is not interesting, but 
replacing a non free solution by a non free other solution is not very 
funny.


We all work constantly with non free solutions, including RMS, whatever 
he says... the more the better, but where to stop?


jdd

https://libreboot.org/
http://www.openfirmware.info/Welcome_to_OpenBIOS
(and so on...)



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-15 Thread David Wright
On Tue 15 Mar 2016 at 08:11:12 (+0100), jdd wrote:
> Le 15/03/2016 03:30, David Wright a écrit :
> >On Mon 14 Mar 2016 at 22:43:04 (+0100), jdd wrote:
> 
> >>so we already use an apple thing, why not two?
> >
> >Writing "why not" implies disapproval.
> 
> not from me, but from others, may be. Else why not use simply the
> Brother driver? Is Airprint free? and secure?
> 
> freedom is very difficult to define when you get close to the
> hardware. After all, every BIOS/UEFI is closed source as far as I
> know, and the open source bios project is not very active...

OK, the fact that you only addressed that part of my posting means
that I'll stop here. None of your earlier suggestions has seemed
sensible to me or advanced my understanding of AirPrint. (Notice "me":
I'm not claiming to know what others think.)

You write "Is Airprint free?". Is this a real question or a pointed
remark designed to create more discussion? I can't tell. Why don't
you just look it up?

You write "not from me, but from others, may be." Perhaps you
might google the following phrase. That's what I think.

"creating an impression that a specific and/or meaningful statement has
been made, when only a vague or ambiguous claim has been communicated"

Cheers,
David.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-15 Thread David Wright
On Mon 14 Mar 2016 at 13:20:25 (+), Brian wrote:
> On Sun 13 Mar 2016 at 22:48:07 -0500, David Wright wrote:
> 
> > On Sun 13 Mar 2016 at 19:32:04 (+), Brian wrote:
> > > 
> > > I've said specifically it has a PDF converter. It must have; the printer
> > > does not understand PDF.
> > 
> > Once again, I don't understand this statement because I don't
> > understand your terminology...
> 
> "PDF filter" would be a suitable substitute for "PDF converter". But not
> "PDF interpreter".

OK. Debating what to call what happens between PDF and ink-on-paper
is "less important" (I'm learning) than my trying to tie down whether
that process takes place entirely in the printer, ie the box we bring
back from the store.

> > My question with pronouns removed: "So if a PDF arrives by AirPrint,
> > how does the MFC-J5720DW printer interpret the PDF if the MFC-J5720DW
> > printer doesn't have a PDF converter?"
> > 
> > Your response AIUI with pronouns removed: "I've said specifically the
> > MFC-J5720DW printer has a PDF converter. The MFC-J5720DW printer must
> > have; the MFC-J5720DW printer does not understand PDF."
> > 
> > Is that what you mean to say? If not, couuld you replace the
> > appropriate nouns by different nouns.
> 
> Yes. But maybe my understanding of what an onboard PS/PCL/PDF interpreter
> does (stated in an earlier mail) is different from yours.

OK. Debating... (ditto as above).

> > None of your examples (the bits -> like -> this) have "AirPrint"
> > mentioned in them. I'm trying to learn from you what AirPrint is and
> > what it does. And yet your statements about it say things like
> > "The AirPrint facility handles a PDF (it has to)." and "Substitute PS,
> > PCL, QPDL etc for BUL to see how other manufacturers might deal with
> > AirPrint." which tell me nothing specifically about AirPrint.
> 
> We seem to be both agreed that a PDF arriving at an AirPrint-compatible
> printer has to be dealt with in some way to ready it for printing. Let's
> leave it there. It is interesting to speculate how a printer processes a
> PDF sent from a driverless device but ultimately it is of no great
> consequence because it is not under our control.

It's of the greatest consequence if there's a way of getting a linux
box to send PDF files to an AirPrint printer and have them print.
It means you can walk into a store and just buy something, take it
home and it works. A bit like when I worked in a university: the
printers understood PDF files so I knew I could just send stuff to the
queue and it would print it.

Here's my old methodology for buying a printer:
-Go to the store and look and printers.
-Persuade wife to "check reviews" rather than buy straight away.
-Go home and look at linuxprinting-type websites for linux compatibility.
-Search forums for complaints/difficulties.
-List some linux-compatible models.
-Go back to store only to find that all these model numbers are out of
date and unavailable, replaced by shiny new models.
-Persuade wife that the shiniest model she wants is going to be a great
doorstop (or else she's going to have to print all my wants from a stick).
-Buy a printer.
-Find a driver that kind-of works.
-Work round the problems that the driver throws up.

> > > The part played by what is in the Bonjour broadcasts is crucial to the
> > > whole thing working. Apart from the questionable use of cp, IPP is used
> > > for printing and is what is advertised in the broadcasts.
> > 
> > OK. I can see that CUPS has some work to do to find the printer with
> > whatever it uses (dnssd/avahi/bonjour/...). That part doesn't really
> > interest me in this discussion.
> 
> It really should. Without Bonjour broadcasting by the printer AirPrint
> would not exist.

I wrote "in this discussion". Drivers, not discovery. AFAICT I'm
already using avahi to print now. I'm not, however, sending raw PDFs
to the discovered printer.

> > > The CUPS backend converts PDF to BUL.
> > 
> > Why bother? The AirPrint technology built into the MFC-J5720DW printer
> > can do that. Why can't CUPS send PDF down the wire to the printer,
> > thereby avoiding all the driver-crap? You've just said "The AirPrint
> > facility handles a PDF" (requoted above). Why not let it do so?
> 
> Why not, indeed? The Bonjour broadcasts of the printer should be picked
> up by avahi-daemon and the printer listed in the print dialogues of some
> applications (e.g Iceweasel/Firefox). These applications produce PDFs as
> a matter of course. They are sent directly to the printer and the
> printer sorts them in some way. No filtering on the machine is
> necessary so cupsd is not involved, whether or not it is on the system.
> 
> This implementation of this idea was the objective being worked towards
> in
> 
>   https://lists.debian.org/debian-user/2016/03/msg00401.html
> 
> as a solution to Jarle Aase's issue. All we need is someone with an
> AirPrint printer to test it. :).

Yes. Has noone else on this list bought one? There's a huge list of

Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-15 Thread deloptes
Adam Wilson wrote:

> On Mon, 14 Mar 2016 22:58:00 +0100 deloptes  wrote:
> 
>> Adam Wilson wrote:
>> 
>> > If you're referring to the great "should" debate, then this is a
>> > pretty inaccurate description of what happened. I inadvertently
>> > used the word "should" as opposed to "it would be better
>> > if" (insert other non-triggering alternative if it suits), and was
>> > promptly jumped by everyone for being "intolerant", or "pushy", or
>> > some shit.
>> > 
>> > People should (there it is again!) be free to advocate whatever
>> > views they want, as well as pursue whatever course of action they
>> > may wish without all this ridicule from the "open-source" gang-
>> > including avoiding blobs, or thinking that perhaps, just maybe,
>> > non-free software is a *bad thing*.
>> > 
>> > But people should also be free to tell others how to act- it may
>> > come across as rude, but I don't really care- it is an extension of
>> > freedom of speech, provided there is no direct physical coercion
>> > involved.
>> > 
>> > "Live and let live" is a touch ironic coming from the very people
>> > who launch nit-picky attacks like the ones described in the first
>> > place.
>> 
>> I like the way you put my thoughts in words. Perhaps we should
>> establish a club called "really free in open source communities" or
>> something alike. The Donald Trump way ;)
> 
> About "open-source"; I'm not really sure how to feel. On the one hand,
> they did do a good (?) job spreading free software into the
> corporate/business world and making it mainstream (ish), but on the
> other hand, their lack of a coherent ethical discourse,
> corporate-friendliness, and abandonment of the original cause- free
> software advocacy- has basically meant that free software has been
> usurped by capital rather than having the liberatory potential it once
> did.
> 
> Imagine how far we could spread the ideals of free software if only all
> those people who currently talk about "Linux" and "open-source" started
> talking about GNU/Linux and free software! That includes the OSI and
> the other big individual players in the "open-source" gang.
> 
> It'll probably never happen; the antagonism is too great. Alas.

Well. Everyone following the Open source/Free Software story would know that
the circumstances shifted to disadvantage of Open Source and Free Software.
Things are getting even worse. Windowz mentality spreading into the
communities with the yonger people. 
I see recently more python code written than real C/C++. Another example is
the shift in KDE.
Another reason is the so called "economic crisis" which is not really
economic, but never mind.

> 
>> What helped me most is the definition of similar behavior by a wise
>> man, who said, "the worst thing is, they think they are morally
>> superior to judge"
> 
> Everyone here is guilty of this.

I'm not sure you have the right to say this :)

regards



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-15 Thread jdd

Le 15/03/2016 03:30, David Wright a écrit :

On Mon 14 Mar 2016 at 22:43:04 (+0100), jdd wrote:



so we already use an apple thing, why not two?


Writing "why not" implies disapproval.


not from me, but from others, may be. Else why not use simply the 
Brother driver? Is Airprint free? and secure?


freedom is very difficult to define when you get close to the hardware. 
After all, every BIOS/UEFI is closed source as far as I know, and the 
open source bios project is not very active...


jdd



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-14 Thread Adam Wilson
On Mon, 14 Mar 2016 22:58:00 +0100 deloptes  wrote:

> Adam Wilson wrote:
> 
> > If you're referring to the great "should" debate, then this is a
> > pretty inaccurate description of what happened. I inadvertently
> > used the word "should" as opposed to "it would be better
> > if" (insert other non-triggering alternative if it suits), and was
> > promptly jumped by everyone for being "intolerant", or "pushy", or
> > some shit.
> > 
> > People should (there it is again!) be free to advocate whatever
> > views they want, as well as pursue whatever course of action they
> > may wish without all this ridicule from the "open-source" gang-
> > including avoiding blobs, or thinking that perhaps, just maybe,
> > non-free software is a *bad thing*.
> > 
> > But people should also be free to tell others how to act- it may
> > come across as rude, but I don't really care- it is an extension of
> > freedom of speech, provided there is no direct physical coercion
> > involved.
> > 
> > "Live and let live" is a touch ironic coming from the very people
> > who launch nit-picky attacks like the ones described in the first
> > place.
> 
> I like the way you put my thoughts in words. Perhaps we should
> establish a club called "really free in open source communities" or
> something alike. The Donald Trump way ;)

About "open-source"; I'm not really sure how to feel. On the one hand,
they did do a good (?) job spreading free software into the
corporate/business world and making it mainstream (ish), but on the
other hand, their lack of a coherent ethical discourse,
corporate-friendliness, and abandonment of the original cause- free
software advocacy- has basically meant that free software has been
usurped by capital rather than having the liberatory potential it once
did.

Imagine how far we could spread the ideals of free software if only all
those people who currently talk about "Linux" and "open-source" started
talking about GNU/Linux and free software! That includes the OSI and
the other big individual players in the "open-source" gang.

It'll probably never happen; the antagonism is too great. Alas.

> What helped me most is the definition of similar behavior by a wise
> man, who said, "the worst thing is, they think they are morally
> superior to judge"

Everyone here is guilty of this.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread David Wright
On Mon 14 Mar 2016 at 22:43:04 (+0100), jdd wrote:
> Le 14/03/2016 21:14, Brian a écrit :
> >On Mon 14 Mar 2016 at 21:00:01 +0100, jdd wrote:
> >
> >>Le 14/03/2016 20:31, Brian a écrit :
> >>
> >>notice that cups is apple, AFAIK
> >
> >So what?
> >
> so we already use an apple thing, why not two?

Writing "why not" implies disapproval. I'm not sure if you meant that.
Much of this long thread is about trying to find out if there's a
way of getting AirPrint to facilitate sending raw PDF files from
non-iOS devices (like linux PCs) to a printer that otherwise might
not accept this format. If they've followed the thread this far,
they're unlikely to reject it just because Apple were behind it.

Cheers,
David.



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-14 Thread deloptes
Adam Wilson wrote:

> If you're referring to the great "should" debate, then this is a pretty
> inaccurate description of what happened. I inadvertently used the word
> "should" as opposed to "it would be better if" (insert other
> non-triggering alternative if it suits), and was promptly jumped by
> everyone for being "intolerant", or "pushy", or some shit.
> 
> People should (there it is again!) be free to advocate whatever views
> they want, as well as pursue whatever course of action they may wish
> without all this ridicule from the "open-source" gang- including
> avoiding blobs, or thinking that perhaps, just maybe, non-free software
> is a *bad thing*.
> 
> But people should also be free to tell others how to act- it may come
> across as rude, but I don't really care- it is an extension of freedom
> of speech, provided there is no direct physical coercion involved.
> 
> "Live and let live" is a touch ironic coming from the very people who
> launch nit-picky attacks like the ones described in the first place.

I like the way you put my thoughts in words. Perhaps we should establish a
club called "really free in open source communities" or something alike.
The Donald Trump way ;)

What helped me most is the definition of similar behavior by a wise man, who
said, "the worst thing is, they think they are morally superior to judge"

regards



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread jdd

Le 14/03/2016 21:14, Brian a écrit :

On Mon 14 Mar 2016 at 21:00:01 +0100, jdd wrote:


Le 14/03/2016 20:31, Brian a écrit :

notice that cups is apple, AFAIK


So what?


so we already use an apple thing, why not two?

jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread Brian
On Mon 14 Mar 2016 at 21:00:01 +0100, jdd wrote:

> Le 14/03/2016 20:31, Brian a écrit :
> 
> notice that cups is apple, AFAIK

So what?



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread jdd

Le 14/03/2016 20:31, Brian a écrit :


You print and an hour later the contract is signed.


very clever



I do not know what your point is.


nowhere, I simply didn't know about airprint befor reading this thread

notice that cups is apple, AFAIK

jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread Brian
On Mon 14 Mar 2016 at 15:39:01 +0100, jdd wrote:

> Le 14/03/2016 14:10, David Wright a écrit :
> 
> >"AirPrint is built into most popular printer models, like the ones
> >listed in this article." which includes MFC-J5720DW in the list.
> 
> 
> >Both from https://support.apple.com/en-gb/HT201311
> >
> 
> may be popular in mac world, I never touched a printer with this :-(

We live in an interconnected world, not a MAC world. AirPrint uses open
standard protocols to operate.

A large, influential international company has all its printers at head
office AirPrint enabled, You visit there with a proposal for a 10M Euro
contract. You are asked to print the contract. Your laptop runs Debian
and can pick up the Bonjour broadcasts of a printer.

You print and an hour later the contract is signed.

I do not know what your point is.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread Adam Wilson
On Sat, 12 Mar 2016 12:46:08 + Lisi Reisz 
wrote:

> On Saturday 12 March 2016 07:50:49 to...@tuxteam.de wrote:
> > So. Now I'll bite off my tongue and take my ball with me. I'm off
> > this thread. I can't bear the overall animosity and poking of
> > fun at those who try to put some effort into avoiding binary
> > blobs. It reminds me of the poking at vegetarians "now are snails
> > vegetables or not?". I thought I left that behind in my teens.
> 
> And the Everything Free brigade is so pleasant to anyone who wants to
> use binary blobs??  I was nearly lynched for wanting to use something
> from the non-free repository.
> 
> Why can't we all live and let live?  And all I have seen in this
> thread is people not comprehending.  No-one being unpleasant and
> castigating.
> 
> I have a ball if anyone would like it. ;-)
> 
> Lisi
> 

And all this on a mailing list belonging to a distribution that
actually has the decency to call itself GNU/Linux. Whatever next?



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-14 Thread Adam Wilson
On Sat, 12 Mar 2016 12:46:08 + Lisi Reisz 
wrote:

> On Saturday 12 March 2016 07:50:49 to...@tuxteam.de wrote:
> > So. Now I'll bite off my tongue and take my ball with me. I'm off
> > this thread. I can't bear the overall animosity and poking of
> > fun at those who try to put some effort into avoiding binary
> > blobs. It reminds me of the poking at vegetarians "now are snails
> > vegetables or not?". I thought I left that behind in my teens.
> 
> And the Everything Free brigade is so pleasant to anyone who wants to
> use binary blobs??  I was nearly lynched for wanting to use something
> from the non-free repository.

If you're referring to the great "should" debate, then this is a pretty
inaccurate description of what happened. I inadvertently used the word
"should" as opposed to "it would be better if" (insert other
non-triggering alternative if it suits), and was promptly jumped by
everyone for being "intolerant", or "pushy", or some shit.

People should (there it is again!) be free to advocate whatever views
they want, as well as pursue whatever course of action they may wish
without all this ridicule from the "open-source" gang- including
avoiding blobs, or thinking that perhaps, just maybe, non-free software
is a *bad thing*.

But people should also be free to tell others how to act- it may come
across as rude, but I don't really care- it is an extension of freedom
of speech, provided there is no direct physical coercion involved.

"Live and let live" is a touch ironic coming from the very people who
launch nit-picky attacks like the ones described in the first place.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread jdd

Le 14/03/2016 14:10, David Wright a écrit :


"AirPrint is built into most popular printer models, like the ones
listed in this article." which includes MFC-J5720DW in the list.




Both from https://support.apple.com/en-gb/HT201311



may be popular in mac world, I never touched a printer with this :-(

jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread Brian
On Sun 13 Mar 2016 at 22:48:07 -0500, David Wright wrote:

> On Sun 13 Mar 2016 at 19:32:04 (+), Brian wrote:
> > 
> > I've said specifically it has a PDF converter. It must have; the printer
> > does not understand PDF.
> 
> Once again, I don't understand this statement because I don't
> understand your terminology...

"PDF filter" would be a suitable substitute for "PDF converter". But not
"PDF interpreter".
 
> My question with pronouns removed: "So if a PDF arrives by AirPrint,
> how does the MFC-J5720DW printer interpret the PDF if the MFC-J5720DW
> printer doesn't have a PDF converter?"
> 
> Your response AIUI with pronouns removed: "I've said specifically the
> MFC-J5720DW printer has a PDF converter. The MFC-J5720DW printer must
> have; the MFC-J5720DW printer does not understand PDF."
> 
> Is that what you mean to say? If not, couuld you replace the
> appropriate nouns by different nouns.

Yes. But maybe my understanding of what an onboard PS/PCL/PDF interpreter
does (stated in an earlier mail) is different from yours.

> None of your examples (the bits -> like -> this) have "AirPrint"
> mentioned in them. I'm trying to learn from you what AirPrint is and
> what it does. And yet your statements about it say things like
> "The AirPrint facility handles a PDF (it has to)." and "Substitute PS,
> PCL, QPDL etc for BUL to see how other manufacturers might deal with
> AirPrint." which tell me nothing specifically about AirPrint.

We seem to be both agreed that a PDF arriving at an AirPrint-compatible
printer has to be dealt with in some way to ready it for printing. Let's
leave it there. It is interesting to speculate how a printer processes a
PDF sent from a driverless device but ultimately it is of no great
consequence because it is not under our control.

> > The part played by what is in the Bonjour broadcasts is crucial to the
> > whole thing working. Apart from the questionable use of cp, IPP is used
> > for printing and is what is advertised in the broadcasts.
> 
> OK. I can see that CUPS has some work to do to find the printer with
> whatever it uses (dnssd/avahi/bonjour/...). That part doesn't really
> interest me in this discussion.

It really should. Without Bonjour broadcasting by the printer AirPrint
would not exist.

> > The CUPS backend converts PDF to BUL.
> 
> Why bother? The AirPrint technology built into the MFC-J5720DW printer
> can do that. Why can't CUPS send PDF down the wire to the printer,
> thereby avoiding all the driver-crap? You've just said "The AirPrint
> facility handles a PDF" (requoted above). Why not let it do so?

Why not, indeed? The Bonjour broadcasts of the printer should be picked
up by avahi-daemon and the printer listed in the print dialogues of some
applications (e.g Iceweasel/Firefox). These applications produce PDFs as
a matter of course. They are sent directly to the printer and the
printer sorts them in some way. No filtering on the machine is
necessary so cupsd is not involved, whether or not it is on the system.

This implementation of this idea was the objective being worked towards
in

  https://lists.debian.org/debian-user/2016/03/msg00401.html

as a solution to Jarle Aase's issue. All we need is someone with an
AirPrint printer to test it. :).

But if the printer is not AirPrint-compatible we will need cupsd and the
backend filter. (That lead to the discussion of what happens on the
printer).

> > But, as it happens, you do not
> > need cupsd to print to an AirPrint printer.
> 
> OK. What's the minimum that you _do_ need? By minimum, I'm meaning
> things like drivers; the things that linux users get tripped up by;
> the things that make "perfectly functional" printers into doorstops.

When cupsd isn't running no drivers are needed because the print job is
sent directly to the AirPrint-compatible printer. avahi-daemon is
required, of course.

When sent to a non-compatible printer the minimum number of drivers
needed is determined by the printer make and model when it is set up as
a local or remote shared printer with CUPS.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread David Wright
On Mon 14 Mar 2016 at 08:43:06 (+0100), jdd wrote:
> Le 14/03/2016 04:48, David Wright a écrit :
> 
> >Why bother? The AirPrint technology built into the MFC-J5720DW printer
> >can do that. Why can't CUPS send PDF down the wire to the printer,
> >thereby avoiding all the driver-crap? You've just said "The AirPrint
> >facility handles a PDF" (requoted above). Why not let it do so?
> 
> my guess is that airprint is a black box between the "air" (what
> ever it means) and the printer, like an ethernet card can be.

Not having such a printer, I can only quote what I see written by
people who should know:

"AirPrint is built into most popular printer models, like the ones
listed in this article." which includes MFC-J5720DW in the list.

"On your Mac, you can also connect your AirPrint printer to a USB port
or Ethernet port if you don't want to print wirelessly. Check the
documentation that came with your printer to see if it includes one
of these ports."

Both from https://support.apple.com/en-gb/HT201311

> If you send ethernet signal through usb, the printer wont understand
> it. If it's so, the printer only understand pdf if used with
> airprint.
> 
> the other solution is having in the printer a linux box (invisible
> to user) having an airprint interface, an usb interface, etc, and
> then the usb may also understand pdf.

Cheers,
David.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-14 Thread jdd

Le 14/03/2016 04:48, David Wright a écrit :


Why bother? The AirPrint technology built into the MFC-J5720DW printer
can do that. Why can't CUPS send PDF down the wire to the printer,
thereby avoiding all the driver-crap? You've just said "The AirPrint
facility handles a PDF" (requoted above). Why not let it do so?


my guess is that airprint is a black box between the "air" (what ever it 
means) and the printer, like an ethernet card can be.


If you send ethernet signal through usb, the printer wont understand it. 
If it's so, the printer only understand pdf if used with airprint.


the other solution is having in the printer a linux box (invisible to 
user) having an airprint interface, an usb interface, etc, and then the 
usb may also understand pdf.


jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-13 Thread David Wright
On Sun 13 Mar 2016 at 19:32:04 (+), Brian wrote:
> On Sat 12 Mar 2016 at 23:43:27 -0600, David Wright wrote:
> 
> > On Sat 12 Mar 2016 at 09:56:37 (+), Brian wrote:
> > 
> > > The PDL of choice for AirPrint capable devices is PDF. A PDF document
> > > sent to an Airprint capable printer is converted to BUL (the Brother
> > > Unknown Language) as it would be if it was processed on a workstation by
> > > CUPS.
> > > 
> > > Note that this is a conversion, not an interpretation. An interpreter
> > > produces a raster image and this happens later when the RIP deals with
> > > BUL.
> > 
> > So you appear to be saying that what passes through the AirPrint wire
> > or wifi link is a PDF. The printer then converts it to BUL, then raster.
> 
> The file type sent by Safari (say) from an iOS device is controlled by
> Apple. Observation shows it is PDF.

If you say so. I haven't observed anything as I don't have one
(neither iOS nor whatever is at the other end of the communication).

> > > The important word is "direct". The MFC-J5720DW doesn't have a  PDF
> > > interpreter. Hence the silence.
> > 
> > So if a PDF arrives by AirPrint, how does the MFC-J5720DW interpret it
> > if it doesn't have a PDF converter? (I am genuinely ignorant and confused.)
> 
> I've said specifically it has a PDF converter. It must have; the printer
> does not understand PDF.

Once again, I don't understand this statement because I don't
understand your terminology...

My question with pronouns removed: "So if a PDF arrives by AirPrint,
how does the MFC-J5720DW printer interpret the PDF if the MFC-J5720DW
printer doesn't have a PDF converter?"

Your response AIUI with pronouns removed: "I've said specifically the
MFC-J5720DW printer has a PDF converter. The MFC-J5720DW printer must
have; the MFC-J5720DW printer does not understand PDF."

Is that what you mean to say? If not, couuld you replace the
appropriate nouns by different nouns.

> > I'm used to this:
> > 
> > Paper -> scanner -> PDF containing image -> [...wifi...] -> computer
> > 
> > where the PDF is really just a container with an image in it.
> > And then its converse (but not its inverse):
> > 
> > Computer PDF -> CUPS -[convert]-> BUL -> [...wifi...] -> BrotherPrinter 
> > -[RIP]-> paper
> > 
> > where the Computer PDF contains some postscript-like code mixed
> > in with fonts etc which has to be "converted".
> > 
> > So now with AirPrint we have:
> > 
> > Phone PDF -[no-driver]-> [...wifi...] -> AirPrint -[convert]-> BUL -[RIP]-> 
> > paper
> > 
> > Linux computer PDF -> CUPS -> [...wifi...] -> AirPrint -[convert]-> BUL 
> > -[RIP]-> paper
> 
> That last line is not correct for using Debian CUPS with an iOS device.

That last line wasn't intended to represent my thinking on how an iOS
device would be handled. "Phone" is the iOS device, as shown in the
_previous_ line.

> The process is:
> 
> iOS device -> CUPS (BUL out) -> Printer -> Print
> 
> With CUPS the process is:
> 
> This is done by CUPS
> ++
> | Input file -> convert to PDF -> Convert to BUL | -> Printer does something
> ++
> 
> Because the sending device is driverless all I am saying (I have no
> special insight) is that with Airprint we have:
> 
>  Done on the printer
>+--+
> iOS device -> Sends PDF -> | Convert to BUL -> Printer does something |
>+--+
> 
> One filtering stage has to be moved to the printer. I do not know how it
> is done but it reasonable to guess the same method which CUPS uses is 
> also used. What I am sure about is that there is no PDF interpreter on
> the printer. Brother already have the technology to convert from PDF to
> BUL and, as a practical point, an interpreter would raise the cost of
> production of the printer.
> 
> Substitute PS, PCL, QPDL etc for BUL to see how other manufacturers 
> might deal with AirPrint.

None of your examples (the bits -> like -> this) have "AirPrint"
mentioned in them. I'm trying to learn from you what AirPrint is and
what it does. And yet your statements about it say things like
"The AirPrint facility handles a PDF (it has to)." and "Substitute PS,
PCL, QPDL etc for BUL to see how other manufacturers might deal with
AirPrint." which tell me nothing specifically about AirPrint.

> > but what does the backend of CUPS have to do? Why not just
> > cp ~/my-file.pdf dnssd://Brother%20Printer...
> > if you're not bothered about queueing/scheduling etc.
> 
> The part played by what is in the Bonjour broadcasts is crucial to the
> whole thing working. Apart from the questionable use of cp, IPP is used
> for printing and is what is advertised in the broadcasts.

OK. I can see that CUPS has some work to do to find the printer with
whatever it uses (dnssd/avahi/bonjour/...). That part 

Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-13 Thread jdd

Le 13/03/2016 20:40, Brian a écrit :


*Direct* PDF printing is usually indicated in the printer's literature.


nothing is never sure. When it's so easy to try why don't?




this airprint feature is surprising


In what way?


if it don't support pdf...

but may be there is a pdf translator in the airprint device included in 
the printer


jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-13 Thread Brian
On Sun 13 Mar 2016 at 20:21:45 +0100, jdd wrote:

> Le 13/03/2016 20:12, David Wright a écrit :
> 
> >As I said, you're in a different price bracket. Guessing by what I've
> >seen, it's partly because PDF printing tends to come with lasers
> >and ethernet, ie for office documents, not home photographs.
> >
> 
> but did you really try to send a pdf to your printer? only need to remove
> most of the paper to prevent loss if it don't fit :-)

*Direct* PDF printing is usually indicated in the printer's literature.

> this airprint feature is surprising

In what way?



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-13 Thread Brian
On Sat 12 Mar 2016 at 23:43:27 -0600, David Wright wrote:

> On Sat 12 Mar 2016 at 09:56:37 (+), Brian wrote:
> 
> > The PDL of choice for AirPrint capable devices is PDF. A PDF document
> > sent to an Airprint capable printer is converted to BUL (the Brother
> > Unknown Language) as it would be if it was processed on a workstation by
> > CUPS.
> > 
> > Note that this is a conversion, not an interpretation. An interpreter
> > produces a raster image and this happens later when the RIP deals with
> > BUL.
> 
> So you appear to be saying that what passes through the AirPrint wire
> or wifi link is a PDF. The printer then converts it to BUL, then raster.

The file type sent by Safari (say) from an iOS device is controlled by
Apple. Observation shows it is PDF.

> > The important word is "direct". The MFC-J5720DW doesn't have a  PDF
> > interpreter. Hence the silence.
> 
> So if a PDF arrives by AirPrint, how does the MFC-J5720DW interpret it
> if it doesn't have a PDF converter? (I am genuinely ignorant and confused.)

I've said specifically it has a PDF converter. It must have; the printer
does not understand PDF.

> I'm used to this:
> 
> Paper -> scanner -> PDF containing image -> [...wifi...] -> computer
> 
> where the PDF is really just a container with an image in it.
> And then its converse (but not its inverse):
> 
> Computer PDF -> CUPS -[convert]-> BUL -> [...wifi...] -> BrotherPrinter 
> -[RIP]-> paper
> 
> where the Computer PDF contains some postscript-like code mixed
> in with fonts etc which has to be "converted".
> 
> So now with AirPrint we have:
> 
> Phone PDF -[no-driver]-> [...wifi...] -> AirPrint -[convert]-> BUL -[RIP]-> 
> paper
> 
> Linux computer PDF -> CUPS -> [...wifi...] -> AirPrint -[convert]-> BUL 
> -[RIP]-> paper

That last line is not correct for using Debian CUPS with an iOS device.
The process is:

iOS device -> CUPS (BUL out) -> Printer -> Print

With CUPS the process is:

This is done by CUPS
++
| Input file -> convert to PDF -> Convert to BUL | -> Printer does something
++

Because the sending device is driverless all I am saying (I have no
special insight) is that with Airprint we have:

 Done on the printer
   +--+
iOS device -> Sends PDF -> | Convert to BUL -> Printer does something |
   +--+

One filtering stage has to be moved to the printer. I do not know how it
is done but it reasonable to guess the same method which CUPS uses is 
also used. What I am sure about is that there is no PDF interpreter on
the printer. Brother already have the technology to convert from PDF to
BUL and, as a practical point, an interpreter would raise the cost of
production of the printer.

Substitute PS, PCL, QPDL etc for BUL to see how other manufacturers 
might deal with AirPrint.

> but what does the backend of CUPS have to do? Why not just
> cp ~/my-file.pdf dnssd://Brother%20Printer...
> if you're not bothered about queueing/scheduling etc.

The part played by what is in the Bonjour broadcasts is crucial to the
whole thing working. Apart from the questionable use of cp, IPP is used
for printing and is what is advertised in the broadcasts.

The CUPS backend converts PDF to BUL. But, as it happens, you do not
need cupsd to print to an AirPrint printer.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-13 Thread jdd

Le 13/03/2016 20:12, David Wright a écrit :


As I said, you're in a different price bracket. Guessing by what I've
seen, it's partly because PDF printing tends to come with lasers
and ethernet, ie for office documents, not home photographs.



but did you really try to send a pdf to your printer? only need to 
remove most of the paper to prevent loss if it don't fit :-)


this airprint feature is surprising

jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-13 Thread David Wright
On Sun 13 Mar 2016 at 09:04:47 (+0100), jdd wrote:
> Le 13/03/2016 05:34, David Wright a écrit :
> 
> >Well, let's assume that most people buy their equipment rather than
> >being given it for free.
> 
> I also bought one for $25 (the two of them had already 200.000
> copies done :-) - but it's an obsolete machine now
> 
> of course it was trash bin machines, most companies do not keep
> machines for more than 5-7 years and you can have them second hand;
> but looks like french second hand is much cheaper than us ones.
> 
> but it was only an example
> 
> >I can see a refurbished one on the web for $340 (if that's the right
> >model) which is far more than a new AiO.
> 
> much too expensive
> 
> I found at first glance:
> 
> http://www.inmac-wstore.com/produits/p2622357/HP-LaserJet-Pro-400-M401d---imprimante---monochrome---laser.htm
> 
> I sure one can find some cheaper

Why are you suggesting monochrome models? Please let's compare like
with like. You've disputed my suggestion that having native support
for PDF printing makes a printer expensive compared with the
example in the subject line (list price $250).

> but I didn't said you have to change your Brother printer. I use
> daily Brother printers and I'm very glad about them
> 
> here the list of ps linux compatibles brother printers
> 
> http://www.openprinting.org/driver/Postscript-Brother/

which seems to confirm their expensiveness. Taking the lowest numbered
model in each category that prints colour (note, prints only) and is
available to buy:

DCP-9xxx you can buy these in India though I can't work out if they're new.
HL-2700CN $450 (refurbished)
MFC-9010CN $1100

As I said, you're in a different price bracket. Guessing by what I've
seen, it's partly because PDF printing tends to come with lasers
and ethernet, ie for office documents, not home photographs.

Cheers,
David.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-13 Thread Celejar
On Sat, 12 Mar 2016 22:34:41 -0600
David Wright  wrote:

...

> The HP5M is solely a printer which is fine as far as it goes, but now
> I need to buy a scanner, and quite possibly a fax machine, as well.
> AFAICT I'd have to use it through a parallel (or serial?) interface.
> This laptop has neither. You can network it with 10Base-T for a price,
> but no USB connection.

JFTR, it should be noted that USB - RS232 converters (which, AFAIK, all
use the same couple of chipsets which are well supported by linux) are
cheap and readily available, e.g.:

http://www.ebay.com/itm/RS232-RS-232-Serial-to-USB-2-0-PL2303-Cable-Adapter-Converter-for-Linux-System-/271217594818

 
Celejar



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-13 Thread jdd

Le 13/03/2016 05:34, David Wright a écrit :


Well, let's assume that most people buy their equipment rather than
being given it for free.


I also bought one for $25 (the two of them had already 200.000 copies 
done :-) - but it's an obsolete machine now


of course it was trash bin machines, most companies do not keep machines 
for more than 5-7 years and you can have them second hand; but looks 
like french second hand is much cheaper than us ones.


but it was only an example


I can see a refurbished one on the web for $340 (if that's the right
model) which is far more than a new AiO.


much too expensive

I found at first glance:

http://www.inmac-wstore.com/produits/p2622357/HP-LaserJet-Pro-400-M401d---imprimante---monochrome---laser.htm

I sure one can find some cheaper

but I didn't said you have to change your Brother printer. I use daily 
Brother printers and I'm very glad about them


here the list of ps linux compatibles brother printers

http://www.openprinting.org/driver/Postscript-Brother/

jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread David Wright
On Sat 12 Mar 2016 at 09:56:37 (+), Brian wrote:
> On Fri 11 Mar 2016 at 12:39:58 -0600, David Wright wrote:
> 
> > On Fri 11 Mar 2016 at 17:48:01 (+), Brian wrote:
> > > 
> > > The AirPrint facility handles a PDF (it has to).
> > 
> > I don't understand this statement. If a printer doesn't have a PS
> > interpreter (or emulation thereof), are you saying that it acquires
> > one by virtue of supporting AirPrint?
> 
> No. (I think you meant PDF).

I guess so. Using your terminology below, "PDF converter" is ok with me.

> The PDL of choice for AirPrint capable devices is PDF. A PDF document
> sent to an Airprint capable printer is converted to BUL (the Brother
> Unknown Language) as it would be if it was processed on a workstation by
> CUPS.
> 
> Note that this is a conversion, not an interpretation. An interpreter
> produces a raster image and this happens later when the RIP deals with
> BUL.

So you appear to be saying that what passes through the AirPrint wire
or wifi link is a PDF. The printer then converts it to BUL, then raster.

> > > Whether the printer
> > > handles direct PDF printing is questionable. But it's a decent idea to
> > > try.
> > 
> > It would seem odd to support PDF printing and be silent on the matter
> > in the printer's literature, eg 
> > www.printerbase.co.uk/spec/pdf/brother-mfcj5720dw.pdf
> > http://support.brother.com/g/b/spec.aspx?c=eu_ot=en=mfcj5720dw_us_eu_as
> 
> The important word is "direct". The MFC-J5720DW doesn't have a  PDF
> interpreter. Hence the silence.

So if a PDF arrives by AirPrint, how does the MFC-J5720DW interpret it
if it doesn't have a PDF converter? (I am genuinely ignorant and confused.)

I'm used to this:

Paper -> scanner -> PDF containing image -> [...wifi...] -> computer

where the PDF is really just a container with an image in it.
And then its converse (but not its inverse):

Computer PDF -> CUPS -[convert]-> BUL -> [...wifi...] -> BrotherPrinter 
-[RIP]-> paper

where the Computer PDF contains some postscript-like code mixed
in with fonts etc which has to be "converted".

So now with AirPrint we have:

Phone PDF -[no-driver]-> [...wifi...] -> AirPrint -[convert]-> BUL -[RIP]-> 
paper

Linux computer PDF -> CUPS -> [...wifi...] -> AirPrint -[convert]-> BUL 
-[RIP]-> paper

but what does the backend of CUPS have to do? Why not just
cp ~/my-file.pdf dnssd://Brother%20Printer...
if you're not bothered about queueing/scheduling etc.

Cheers,
David.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread David Wright
On Sat 12 Mar 2016 at 08:44:48 (+0100), jdd wrote:
> Le 11/03/2016 21:28, David Wright a écrit :
> 
> >You must live in a different price bracket from me.
> 
> nope. I had at least two HP5M for free ten years ago... they died
> recently. 

Well, let's assume that most people buy their equipment rather than
being given it for free.

The HP5M is solely a printer which is fine as far as it goes, but now
I need to buy a scanner, and quite possibly a fax machine, as well.
AFAICT I'd have to use it through a parallel (or serial?) interface.
This laptop has neither. You can network it with 10Base-T for a price,
but no USB connection.

I can see a refurbished one on the web for $340 (if that's the right
model) which is far more than a new AiO.

> There are ps compatible printer for cheap for years now.

So you say, but I never seem to be able to find them in the shops.
And take a typical web site. Here are the categories to refine one's
search. Are people interested in whether a printer supports PDF directly?
No:

  • NARROW BY: clear all
  • 0 Type of Printer + - clear
  □ [ ] All-in-One (23)
  □ [ ] Single-Function (14)
  □ [ ] Wide/Large Format (8)
  • 0 Output Type + - clear
  □ [ ] Black & White (12)
  □ [ ] Color (33)
  • 0 Print Technology + - clear
  □ [ ] Inkjet (5)
  □ [ ] Laser (39)
  • 0 Duplex Printing + - clear
  □ [ ] Automatic (31)
  □ [ ] Manual (13)
  • 0 Wireless Ready + - clear
  □ [ ] Wired (10)
  □ [ ] Wireless (23)
  □ [ ] Wireless Optional (5)
  • 0 Printer Connectivity + - clear
  □ [ ] USB & Network Ready (19)
  □ [ ] USB & Wireless (3)
  □ [ ] USB, Wireless, Network Ready (21)
  • 0 B PPM + - clear
[...]
  • 0 Brand + - clear
[...]
  • 0 Printer Use + - clear
  □ [ ] Home & Photo (4)
  □ [ ] Small Business (25)
  • 0 Department + - clear
  □ [ ] Printers (54)
  □ [ ] Laser Printers (8)
[...]
  • 0 Photo Capable + - clear
  □ [ ] Not Photo (23)
  □ [ ] Photo (21)
  • 0 Rating + - clear
[...]
  • 0 Deals + - clear
  □ [ ] On Promotion (21)
  • 0 Environmental + - clear
  □ [ ] Eco certified (50)
  □ [ ] Eco conscious (5)
  □ [ ] Recycled (10)
  • 0 ShopRunner + - clear
  □ [ ] ShopRunner Eligible (50)
  • 0 Printer Condition + - clear
  □ [ ] New (41)
  □ [ ] Refurbished (4)
  • 0 Supertank + - clear
  □ [ ] Not Supertank (44)
  • 0 Mobile Capability + - clear
  □ [ ] No (26)
  □ [ ] Yes (17)
  • 0 Number of Users + - clear
[...]
  • 0 Auto Restock + - clear
  □ [ ] Auto Restock Eligible (31)
  • 0 Price + - clear
[...]

So the specs of each printer have to be found and examined.
Can you give me a few current examples of the species?

> for pdf, I only have seen this on news papers, but the subject
> computer being airprint compatible must have some inside device, and
> it's not cheap.

Ditto. Brian has tried to explain, but I don't completely follow his
explanation. Not being at the cutting edge of mobile phone technology,
I don't have any experience of trying to use it, even if I had an
AirPrint-supporting printer.

> I spoke of gutenprint because I have a Canon photo thermal printer
> that prints jpeg from cards,

This is what's common. Not PDFs. And many take a variety of
stick/cards. Hardly surprising: that's what's inside the
cameras. Thank goodness one's not limited to TWAIN. Ugh.

> but not from computer (!), so need a
> driver. It was not at this time available on linux, but gutenprint
> mailing list user asked me to make some tests and could with this
> give me a solution.
> 
> the people there knows incredibly well the printers :-)

I'm sure they do. (However, they don't support my printer but luckily,
HP does.) But I don't understand the relationship between linux
printing and gutenprint. Actually I don't know much at all about
printing any more. I used to in the days of dot-matrix, having
happily written character definitions and code to rasterise and
print graphics.

Cheers,
David.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 15:27:00 -0500, Gene Heskett wrote:

> On Saturday 12 March 2016 15:01:58 Brian wrote:
> 
> > On Sat 12 Mar 2016 at 14:08:58 -0500, Gene Heskett wrote:
> > > My Brother HL3170CDW has a wireless interface, but no clue as to its
> > > usability with airprint, mainly because I have it disabled in its
> > > own menu's and have not explored that route to moving data.
> >
> > The existence of a wireless interface on a printer has no bearing on
> > whether it supports AirPrint. Many printers have wireless interfaces
> > and do not support AirPrint.
> >
> > In addition, an AirPrint printer does not need wireless capability on
> > it; it is not a requirement. The only requirement is for the printer
> > to broadcast mDNS.
> >
> > You can see what your printer does by using the novel idea of looking
> > at its manual. Guess what? :)
> >
> Never seen it, its an exra cost thing only available to servicing dealers 
> I believe.

Specifications for your printer are not avaialable online? Brother do
not tell you what the printer does? if you cannot be bothered to look,
why should I. Is there an unbelieving emoticon?

> >   https://support.apple.com/en-gb/HT201311
> >
> > You are the only person in this thread to own up to having an AirPrint
> > Brother printer. That places you in an ideal position to test the
> > ideas proposed in this thread and assist the OP.
> 
> I didn't claim AirPrint, only that it could have a wlan connection IF it 
> was enabled, which it isn't.

I understood that.

But you can claim to have an Airport printer!

> > I'm interested in what
> >
> >   avahi-browse -art > discovered
> >
> > gives.
> >
> > Would you please post the output here? A minimum of a Jessie install
> > is needed for something useful.
> 
> I'm still on wheezy, 

Nothing useful to be gained from the output then.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 15:01:58 Brian wrote:

> On Sat 12 Mar 2016 at 14:08:58 -0500, Gene Heskett wrote:
> > My Brother HL3170CDW has a wireless interface, but no clue as to its
> > usability with airprint, mainly because I have it disabled in its
> > own menu's and have not explored that route to moving data.
>
> The existence of a wireless interface on a printer has no bearing on
> whether it supports AirPrint. Many printers have wireless interfaces
> and do not support AirPrint.
>
> In addition, an AirPrint printer does not need wireless capability on
> it; it is not a requirement. The only requirement is for the printer
> to broadcast mDNS.
>
> You can see what your printer does by using the novel idea of looking
> at its manual. Guess what? :)
>
Never seen it, its an exra cost thing only available to servicing dealers 
I believe.

>   https://support.apple.com/en-gb/HT201311
>
> You are the only person in this thread to own up to having an AirPrint
> Brother printer. That places you in an ideal position to test the
> ideas proposed in this thread and assist the OP.

I didn't claim AirPrint, only that it could have a wlan connection IF it 
was enabled, which it isn't.

> I'm interested in what
>
>   avahi-browse -art > discovered
>
> gives.
>
> Would you please post the output here? A minimum of a Jessie install
> is needed for something useful.

I'm still on wheezy, but that output is likely north of 200k.  It finds 
an ipv6 address for a lot of stuff here, but ipv6 is disabled. Or is in 
the configs I use.

Probably 2 dozen stanza's of stuff on this printer, another dozen or so 
on a $110 B laser in the basement, and at least that many for an Epson 
NX515 whose printer died from clogged nozzles less than a month after I 
bought it, but its scanner works well. How avahi found it when its not 
even turned on is beyond me unless turning it off is not a full 
powerdown, or the USB cable is powering its interface.  Not to mention 
at least 50 other devices each a separate listing according to the 
protocol avahi queries I guess.  Way too big to post to a mailing list 
w/o an hours editing to trim it down to just this one printer. All the 
printers are shared to 4 other machines, and avahi finds it connected to 
them all, with every protocol in its basket. So I'm not going to inflict 
the list with that much trash data.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 17:01:36 -0300, Renaud OLGIATI wrote:

> On Sat, 12 Mar 2016 19:18:25 +
> Brian  wrote:
> 
> > A big spoon for stirring and continuing to spread this view would be
> > more suitable. :)
> > 
> > Debian is not about freedom of choice. Can this be seen in the Social
> > Contract?
> 
> You are the one stirring thing: I never mentioned Debian; only Linux...

We are both on a Debian mailing list. It takes two to tango.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Ron
On Sat, 12 Mar 2016 19:18:25 +
Brian  wrote:

> > > > And the Everything Free brigade is so pleasant to anyone who wants
> > > > to use binary blobs??  

> > > Because, it seems, for some people "Linux is about freedom of choice"
> > > means "you are free to accept MY choices, and no other".

> > Give this man a bigger nail, he hits this one very well indeed. :)  

> A big spoon for stirring and continuing to spread this view would be
> more suitable. :)
> 
> Debian is not about freedom of choice. Can this be seen in the Social
> Contract?

You are the one stirring thing: I never mentioned Debian; only Linux...
 
Cheers,
 
Ron.
-- 
 Never get into an argument with someone who buys ink by the barrel.

   -- http://www.olgiati-in-paraguay.org --
 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 14:08:58 -0500, Gene Heskett wrote:

> My Brother HL3170CDW has a wireless interface, but no clue as to its 
> usability with airprint, mainly because I have it disabled in its own 
> menu's and have not explored that route to moving data.

The existence of a wireless interface on a printer has no bearing on
whether it supports AirPrint. Many printers have wireless interfaces
and do not support AirPrint.

In addition, an AirPrint printer does not need wireless capability on
it; it is not a requirement. The only requirement is for the printer
to broadcast mDNS.

You can see what your printer does by using the novel idea of looking
at its manual. Guess what? :)

  https://support.apple.com/en-gb/HT201311

You are the only person in this thread to own up to having an AirPrint
Brother printer. That places you in an ideal position to test the ideas
proposed in this thread and assist the OP.

I'm interested in what

  avahi-browse -art > discovered

gives.

Would you please post the output here? A minimum of a Jessie install is
needed for something useful.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 14:18:25 Brian wrote:

> On Sat 12 Mar 2016 at 13:47:06 -0500, Gene Heskett wrote:
> > On Saturday 12 March 2016 08:21:14 Renaud  OLGIATI wrote:
> > > On Sat, 12 Mar 2016 12:46:08 +
> > >
> > > Lisi Reisz  wrote:
> > > > And the Everything Free brigade is so pleasant to anyone who
> > > > wants to use binary blobs??
> > >
> > > Because, it seems, for some people "Linux is about freedom of
> > > choice" means "you are free to accept MY choices, and no other".
> > >
> > > Cheers,
> > >
> > > Ron.
> >
> > Give this man a bigger nail, he hits this one very well indeed. :)
>
> A big spoon for stirring and continuing to spread this view would be
> more suitable. :)

I do believe you are correct, some aplause needed here.
>
> Debian is not about freedom of choice. Can this be seen in the Social
> Contract?

DNK :( Haven't read it recently enough.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Lisi Reisz
On Saturday 12 March 2016 19:13:20 Gene Heskett wrote:
> > On Saturday 12 March 2016 18:22:11 Brian wrote:
> > > It reminds me of the poking at vegetarians "now are snails
> > >
> > > > vegetables or not?".

Sorry, Brian.  Of course you didn't say that.  It is one of the snags of KMail 
that it sometimes misattributes the quote - and I don't always remember to 
check. :-(

Lisi



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 13:47:06 -0500, Gene Heskett wrote:

> On Saturday 12 March 2016 08:21:14 Renaud  OLGIATI wrote:
> 
> > On Sat, 12 Mar 2016 12:46:08 +
> >
> > Lisi Reisz  wrote:
> > > And the Everything Free brigade is so pleasant to anyone who wants
> > > to use binary blobs??
> >
> > Because, it seems, for some people "Linux is about freedom of choice"
> > means "you are free to accept MY choices, and no other".
> >
> > Cheers,
> >
> > Ron.
> 
> Give this man a bigger nail, he hits this one very well indeed. :)

A big spoon for stirring and continuing to spread this view would be
more suitable. :)

Debian is not about freedom of choice. Can this be seen in the Social
Contract?



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 13:30:45 Lisi Reisz wrote:

> On Saturday 12 March 2016 18:22:11 Brian wrote:
> > It reminds me of the poking at vegetarians "now are snails
> >
> > > vegetables or not?".
>
> Did anyone ever really claim that snails are vegetables???  I find
> that hard to believe!
>
> Lisi

Sounds like somebody sick of beans for their vegan diets protein.

One of the prices one pays for being a vegan I guess.  Me, I have one of 
those PETA (People Eating Tasty Animals) T Shirts.  Shrug. :)

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 13:22:11 Brian wrote:

> On Sat 12 Mar 2016 at 08:50:49 +0100, to...@tuxteam.de wrote:
> > So. Now I'll bite off my tongue and take my ball with me. I'm off
> > this thread. I can't bear the overall animosity and poking of
> > fun at those who try to put some effort into avoiding binary
> > blobs. It reminds me of the poking at vegetarians "now are snails
> > vegetables or not?". I thought I left that behind in my teens.
>
> Don't you think there has been a very positive aspect to this thread?
> Not just for Jarle Aase's immediate needs but also for present and
> future readers of it.
>
> Misconceptions have been cleared up, the OP knows now why he couldn't
> print and various byways have been explored. Even the binary blob
> issue was treated with robust respect. Of course, people are entitled
> to persue freeness and Jarl Aase did explain his position and had it
> acknowledged. Others couldn't quite accept why someone should want to
> turn down an easy route to printing with proprietary software. That's
> all part of life's rich pattern.
>
> Printing was, of course, the objective. There is a solution on the
> table which fits the desire for freeness. Jarl Aase appears to be the
> only participant in this thread who has access to an AirPrint printer.

My Brother HL3170CDW has a wireless interface, but no clue as to its 
usability with airprint, mainly because I have it disabled in its own 
menu's and have not explored that route to moving data.

And yes, my router with a DD-WRT reflash CAN do WLAN, but enabling that 
gives the whole world driveby access to my home 4 or 5 machine network 
unless I setup a different network just for the printer. So I have, 
having been attacked via that path, for security reasons, disabled ALL 
the WLAN style wireless.  Cat5E all over the place though.

One piece, swinging in the wind between the house and a small shop 
building nominally 40 feet away with 2 or 3 computers running smallish 
CNC controlled machines in it, and has been swinging in the wind for a 
decade & change now, still works fine right now.  And I've no clue why, 
it stood up to a measured 112mph wind in 2010 that cost me 4 trees and 
most of my fencing and part of the roof, siding and gutters of this 
house.  But the cat5 survived.

> Considering the interest which has been shown in his problem  some
> feedback would be useful to have. I hope we haven't lost another ball.
> :)


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 08:21:14 Renaud  OLGIATI wrote:

> On Sat, 12 Mar 2016 12:46:08 +
>
> Lisi Reisz  wrote:
> > And the Everything Free brigade is so pleasant to anyone who wants
> > to use binary blobs??
>
> Because, it seems, for some people "Linux is about freedom of choice"
> means "you are free to accept MY choices, and no other".
>
> Cheers,
>
> Ron.

Give this man a bigger nail, he hits this one very well indeed. :)


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 07:46:08 Lisi Reisz wrote:

> On Saturday 12 March 2016 07:50:49 to...@tuxteam.de wrote:
> > So. Now I'll bite off my tongue and take my ball with me. I'm off
> > this thread. I can't bear the overall animosity and poking of
> > fun at those who try to put some effort into avoiding binary
> > blobs. It reminds me of the poking at vegetarians "now are snails
> > vegetables or not?". I thought I left that behind in my teens.
>
> And the Everything Free brigade is so pleasant to anyone who wants to
> use binary blobs??  I was nearly lynched for wanting to use something
> from the non-free repository.
>
> Why can't we all live and let live?  And all I have seen in this
> thread is people not comprehending.  No-one being unpleasant and
> castigating.
>
> I have a ball if anyone would like it. ;-)
>
> Lisi

I've been in that box, watching them tie knots on ropes too.  But at the 
end of the day, I only outlaw one driver blob, the nvidia. It locks out 
the IRQ's for extended periods of time and can, because of that, do 
serious damage to parts being CNC machined.  The nouveau driver doesn't 
resort to that, and works fine, for what I want to do.  So for me, the 
nvidia driver and its being married to a specific kernel, causes way 
more problems than it solves.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Lisi Reisz
On Saturday 12 March 2016 18:22:11 Brian wrote:
> It reminds me of the poking at vegetarians "now are snails
>
> > vegetables or not?".

Did anyone ever really claim that snails are vegetables???  I find that hard 
to believe!

Lisi



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 08:50:49 +0100, to...@tuxteam.de wrote:

> So. Now I'll bite off my tongue and take my ball with me. I'm off
> this thread. I can't bear the overall animosity and poking of
> fun at those who try to put some effort into avoiding binary
> blobs. It reminds me of the poking at vegetarians "now are snails
> vegetables or not?". I thought I left that behind in my teens.

Don't you think there has been a very positive aspect to this thread?
Not just for Jarle Aase's immediate needs but also for present and
future readers of it.

Misconceptions have been cleared up, the OP knows now why he couldn't
print and various byways have been explored. Even the binary blob issue
was treated with robust respect. Of course, people are entitled to
persue freeness and Jarl Aase did explain his position and had it
acknowledged. Others couldn't quite accept why someone should want to
turn down an easy route to printing with proprietary software. That's
all part of life's rich pattern.

Printing was, of course, the objective. There is a solution on the table
which fits the desire for freeness. Jarl Aase appears to be the only
participant in this thread who has access to an AirPrint printer.
Considering the interest which has been shown in his problem  some
feedback would be useful to have. I hope we haven't lost another ball. :)



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Ron
On Sat, 12 Mar 2016 12:46:08 +
Lisi Reisz  wrote:

> And the Everything Free brigade is so pleasant to anyone who wants to use 
> binary blobs?? 

Because, it seems, for some people "Linux is about freedom of choice" means 
"you are free to accept MY choices, and no other".
 
Cheers,
 
Ron.
-- 
   Let us consider that arbitrary power has seldom
  or never been introduced into any country at once
It must be introduced by slow degrees,
 and as it were step by step,
  lest the people see its approach.
---Lord Chesterfield

   -- http://www.olgiati-in-paraguay.org --
 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 14:00:00 +0100, jdd wrote:

> Le 12/03/2016 13:22, Brian a écrit :
> 
> >on the printer. AirPrint uses exactly the same printer as CUPS but
> >the conversion done by brother_lpdwrapper_mfcj5720dw has to be on
> >the printer in firmware. Then the RIP takes over. The RIP is not
> >converting PDF to raster format. There is no PDF interpreter for
> >AirPrint to use.
> 
> I was understanding than one have to send pdf to airprint, but this article
> is all what I know of it

AirPrint supports PDF, JPEG and URF as PDLs. URF is obligatory. PDF is
the PDL of choice if the device supports it.

So, you do not *have* to send PDF to Airprint but is very common for
that to happen.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Andrew McGlashan


On 12/03/2016 11:32 PM, deloptes wrote:
> IMO it is not likely that one adds a spy software on such low cost device -
> what for? If you want to print confidentail information - there are other
> types of printers and setups you could do so.

Well, it doesn't need to have it's own /spyware/  it might be badly
setup and perhaps be taken over by something smarter.  This whole IoT is
very dangerous -- talk of putting them all on their own network is not
enough as each can attack each other and any of them can try to
compromise the /other/ network via jumping on to the network it is not
supposed to know about.

And yes, that might be extreme, but people are too trusting of junk that
is polluting this world just to make another dollar quickly; junk that
isn't secure to start with and too cheap to ever consider that to change.

A.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread jdd

Le 12/03/2016 13:22, Brian a écrit :


on the printer. AirPrint uses exactly the same printer as CUPS but
the conversion done by brother_lpdwrapper_mfcj5720dw has to be on
the printer in firmware. Then the RIP takes over. The RIP is not
converting PDF to raster format. There is no PDF interpreter for
AirPrint to use.


I was understanding than one have to send pdf to airprint, but this 
article is all what I know of it


jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Lisi Reisz
On Saturday 12 March 2016 07:50:49 to...@tuxteam.de wrote:
> So. Now I'll bite off my tongue and take my ball with me. I'm off
> this thread. I can't bear the overall animosity and poking of
> fun at those who try to put some effort into avoiding binary
> blobs. It reminds me of the poking at vegetarians "now are snails
> vegetables or not?". I thought I left that behind in my teens.

And the Everything Free brigade is so pleasant to anyone who wants to use 
binary blobs??  I was nearly lynched for wanting to use something from the 
non-free repository.

Why can't we all live and let live?  And all I have seen in this thread is 
people not comprehending.  No-one being unpleasant and castigating.

I have a ball if anyone would like it. ;-)

Lisi



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread deloptes
to...@tuxteam.de wrote:

> So. Now I'll bite off my tongue and take my ball with me. I'm off
> this thread. I can't bear the overall animosity and poking of
> fun at those who try to put some effort into avoiding binary
> blobs. It reminds me of the poking at vegetarians "now are snails
> vegetables or not?". I thought I left that behind in my teens.

And I left time wasting in my teens.

It is not clear why OP would not install the vendor deb files. If s/he wants
to gain security, he could do it in a different way and still use the
printer. Example old Raspberry costs ~30-40$ and voila you have your
dedicated printer with no network.

Never mind - I wish him/her luck and perhaps s/he will update us later on
the progress and findings.

IMO it is not likely that one adds a spy software on such low cost device -
what for? If you want to print confidentail information - there are other
types of printers and setups you could do so.

Doing some more usable things, could be more beneficial to him/her. Anyway
this is a personal choice, but the effort seems silly, so we (I think I am
not the only one) have spoken and warned him/her.

regards



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 12:15:38 +0100, jdd wrote:

> Le 12/03/2016 10:56, Brian a écrit :
> 
> >The PDL of choice for AirPrint capable devices is PDF. A PDF document
> 
> >The important word is "direct". The MFC-J5720DW doesn't have a  PDF
> >interpreter. Hence the silence.
> 
> it have one for airprint, but may be this one is only available for aiprint,
> not for usb (ridiculous, I know, but we see such thing often)

It has been said in this thread that "Printers are dark and muddy";
there is no need to muddy their operation further, as is done here.

With a CUPS installation the brother_lpdwrapper_mfcj5720dw filter
converts PDF into BUL and sends the data to a RIP (an interpreter)
on the printer. AirPrint uses exactly the same printer as CUPS but
the conversion done by brother_lpdwrapper_mfcj5720dw has to be on
the printer in firmware. Then the RIP takes over. The RIP is not
converting PDF to raster format. There is no PDF interpreter for
AirPrint to use.

> http://www.linux-magazine.com/Online/Features/AirPrint

Listing 2 on that page isn't needed with Debian CUPS.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 02:50:49 to...@tuxteam.de wrote:

> On Fri, Mar 11, 2016 at 05:02:49PM -0500, Gene Heskett wrote:
>
> [...]
>
> > Yup, that they do.  They also cost around 35,000 USD to put it on
> > YOUR
>
> Now you're exaggerating.

No I am not. We (the tv station where I spent my last 18 working year at 
as the Chief Engineer) needed another copier/printer about 15 years back 
as we were overwhelming the $17,000 model, people standing around 
waiting their turn, and the local office supply business sold us a 
Minolta that could, if you fed it the right supplies, even bind a book 
for you, and yes it was $35k at the time, plus of course an annual 
maintenance contract that was for same day service. It had everything 
but a coffee spigot on it.

> We have an (oldish) Brother "laser" networked 
> printer which was quite affordable and understands pretty well PS
> (well, officially it's "brotherscript" -- really!) but it works nicely
> either from the whole CUPS gorilla or from a more traditional lprng
> installation.
>
> No blobs, no frills. Only this stupid 99.9% compatible PS ripoff is
> sometimes annoying, I guess if they'd left the (official or
> inofficial) copy of Ghostscript just alone instead of tweaking it,
> it'd be better.
>
> It is, fwiw a Brother HL 5170DN. Would I recommend it? Well, the
> mechanical quality is what you'd expect for the price. It tends to
> "decorate" its first pages with some creases. It is very low on
> mem, and its RIP isn't really fast. But it has done its job for
> well over seven years now.

Much the same can be said for the HL3170CDW I have, its an entry level 
color laser.  Beginning to have some smudge and streak troubles, but it 
has nearly 4000 pages thru it. And I just found it needs a full, pull 
the line cord out, powerdown reset to restore normal operation, a panel 
switch reboot doesn't cut it.  It also needs a firmware update, but they 
have about 5 of them, each customised for the windows machine it takes 
to run the updater.  But to find a winderz machine to run the updater 
isn't possible here as there aren't any here. 100% linux here. I've not 
tried our dfu utilities to see if that could work, and I'm not sure I 
could strip out the actual update from their windows packages.

> So. Now I'll bite off my tongue and take my ball with me. I'm off
> this thread. I can't bear the overall animosity and poking of
> fun at those who try to put some effort into avoiding binary
> blobs. It reminds me of the poking at vegetarians "now are snails
> vegetables or not?". I thought I left that behind in my teens.

I very faintly recall my teen years, we were just finished with fighting 
WW=II then.

> -- t


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread jdd

Le 12/03/2016 10:56, Brian a écrit :


The PDL of choice for AirPrint capable devices is PDF. A PDF document



The important word is "direct". The MFC-J5720DW doesn't have a  PDF
interpreter. Hence the silence.



it have one for airprint, but may be this one is only available for 
aiprint, not for usb (ridiculous, I know, but we see such thing often)


http://www.linux-magazine.com/Online/Features/AirPrint

any printer (any hardware?) needs software to make something, be it on 
rom (eprom or flash memory) or driver (the infamous "windows printers").


What the more near to freedom?? no idea.

jdd




Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Fri 11 Mar 2016 at 12:39:58 -0600, David Wright wrote:

> On Fri 11 Mar 2016 at 17:48:01 (+), Brian wrote:
> > 
> > The AirPrint facility handles a PDF (it has to).
> 
> I don't understand this statement. If a printer doesn't have a PS
> interpreter (or emulation thereof), are you saying that it acquires
> one by virtue of supporting AirPrint?

No. (I think you meant PDF).

The PDL of choice for AirPrint capable devices is PDF. A PDF document
sent to an Airprint capable printer is converted to BUL (the Brother
Unknown Language) as it would be if it was processed on a workstation by
CUPS.

Note that this is a conversion, not an interpretation. An interpreter
produces a raster image and this happens later when the RIP deals with
BUL.

> > Whether the printer
> > handles direct PDF printing is questionable. But it's a decent idea to
> > try.
> 
> It would seem odd to support PDF printing and be silent on the matter
> in the printer's literature, eg 
> www.printerbase.co.uk/spec/pdf/brother-mfcj5720dw.pdf
> http://support.brother.com/g/b/spec.aspx?c=eu_ot=en=mfcj5720dw_us_eu_as

The important word is "direct". The MFC-J5720DW doesn't have a  PDF
interpreter. Hence the silence.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread jdd

Le 12/03/2016 08:50, to...@tuxteam.de a écrit :


So. Now I'll bite off my tongue and take my ball with me. I'm off
this thread. I can't bear the overall animosity and poking of
fun at those who try to put some effort into avoiding binary
blobs.


no, not for me.

there are two parts: having a hardware that just works, and for this 
Brother is better than many other makes, and getting free of privative 
software, which is better but harder.


By the way it's a bit of a dead way: even RMS do not ask for free 
BIOS... when he could (there is work on the subject).


I remember the time where every printer was sold with a manual stating 
what codes was giving what.


So working toward a free driver is a good idea, but this have to be done 
with knowledgeable people, probably (no offense!) not to be found here 
but in gutenprint mailing list


http://gimp-print.sourceforge.net/

they list some brother mfc printers, so may be yours is not so far from 
support, if you help


Brother MFC-6550MC  brother-mfc-6550mc  Brother-MFC-6550MC  
Brother MFC-8300brother-mfc-8300Brother-MFC-8300
Brother MFC-9500brother-mfc-9500Brother-MFC-9500
Brother MFC-9600brother-mfc-9600Brother-MFC-9600

(on the printer list, the names are not by alphabetic order)

ask them (and report here, please :-)

thanks
jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Mar 11, 2016 at 05:02:49PM -0500, Gene Heskett wrote:

[...]

> Yup, that they do.  They also cost around 35,000 USD to put it on YOUR 

Now you're exaggerating. We have an (oldish) Brother "laser" networked
printer which was quite affordable and understands pretty well PS (well,
officially it's "brotherscript" -- really!) but it works nicely either
from the whole CUPS gorilla or from a more traditional lprng installation.

No blobs, no frills. Only this stupid 99.9% compatible PS ripoff is
sometimes annoying, I guess if they'd left the (official or inofficial)
copy of Ghostscript just alone instead of tweaking it, it'd be better.

It is, fwiw a Brother HL 5170DN. Would I recommend it? Well, the
mechanical quality is what you'd expect for the price. It tends to
"decorate" its first pages with some creases. It is very low on
mem, and its RIP isn't really fast. But it has done its job for
well over seven years now.

So. Now I'll bite off my tongue and take my ball with me. I'm off
this thread. I can't bear the overall animosity and poking of
fun at those who try to put some effort into avoiding binary
blobs. It reminds me of the poking at vegetarians "now are snails
vegetables or not?". I thought I left that behind in my teens.

- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlbjylkACgkQBcgs9XrR2kaUYgCfQjJTQN2qNsPPKhE0VMC0xUXu
n5oAn2pw1i+OQV8Z1KsbPe7XnkweQ9Wh
=CQyw
-END PGP SIGNATURE-



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-11 Thread jdd

Le 11/03/2016 21:28, David Wright a écrit :


You must live in a different price bracket from me.


nope. I had at least two HP5M for free ten years ago... they died 
recently. There are ps compatible printer for cheap for years now.


for pdf, I only have seen this on news papers, but the subject computer 
being airprint compatible must have some inside device, and it's not cheap.


I spoke of gutenprint because I have a Canon photo thermal printer that 
prints jpeg from cards, but not from computer (!), so need a driver. It 
was not at this time available on linux, but gutenprint mailing list 
user asked me to make some tests and could with this give me a solution.


the people there knows incredibly well the printers :-)

and, by the way, if we use proprietary hardware, and proprietary 
BIOS/UEFI, why not proprietary drivers...


jdd



  1   2   >