Re: Bug in Brother HL4040 driver?

2017-08-07 Thread Gene Heskett
On Monday 07 August 2017 16:12:57 Andrew W wrote:

> /var/log/cups# lpinfo -l -v
> Device: uri = socket
>  class = network
>  info = AppSocket/HP JetDirect
>  make-and-model = Unknown
>  device-id =
>  location =
> Device: uri = beh
>  class = network
>  info = Backend Error Handler
>  make-and-model = Unknown
>  device-id =
>  location =
> Device: uri = ipp14
>  class = network
>  info = Internet Printing Protocol (ipp14)
>  make-and-model = Unknown
>  device-id =
>  location =
> Device: uri = http
>  class = network
>  info = Internet Printing Protocol (http)
>  make-and-model = Unknown
>  device-id =
>  location =
> Device: uri = ipp
>  class = network
>  info = Internet Printing Protocol (ipp)
>  make-and-model = Unknown
>  device-id =
>  location =
> Device: uri = ipps
>  class = network
>  info = Internet Printing Protocol (ipps)
>  make-and-model = Unknown
>  device-id =
>  location =
> Device: uri = https
>  class = network
>  info = Internet Printing Protocol (https)
>  make-and-model = Unknown
>  device-id =
>  location =
> Device: uri = lpd
>  class = network
>  info = LPD/LPR Host or Printer
>  make-and-model = Unknown
>  device-id =
>  location =
> Device: uri =
> dnssd://Brother%20HL-4040CN%20series._pdl-datastream._tcp.local/
>  class = network
>  info = Brother HL-4040CN series
>  make-and-model = Brother HL-4040CN series
>  device-id = MFG:Brother;MDL:HL-4040CN series;CMD:PCL;
>  location =
> Device: uri = lpd://BRNF35C1B/BINARY_P1
>  class = network
>  info = Brother HL-4040CN series
>  make-and-model = Brother HL-4040CN series
>  device-id = MFG:Brother;CMD:PJL,PCL,PCLXL;MDL:HL-4040CN
> series;CLS:PRINTER;
>  location =
> Device: uri =
> dnssd://Brother%20HL-4040CN%20series._printer._tcp.local/ class =
> network
>  info = Brother HL-4040CN series
>  make-and-model = Brother HL-4040CN series
>  device-id = MFG:Brother;MDL:HL-4040CN series;CMD:PCL;
>  location =
>
> systemctl status cups (as per Brians idea) gives
> systemctl status cups
> ● cups.service - CUPS Scheduler
> Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor
> preset: enabled)
> Active: active (running) since Mon 2017-08-07 00:06:46 BST; 21h
> ago Docs: man:cupsd(8)
>   Main PID: 31045 (cupsd)
>  Tasks: 1 (limit: 4915)
> CGroup: /system.slice/cups.service
> └─31045 /usr/sbin/cupsd -l
>
> On 06/08/17 21:09, Gene Heskett wrote:
> > Humm.  Do you have lpinfo? lpinfo -l -v gets me a list of all usable
> > protocols and printers,

So it is running, and I assume the brother printer is attached to that 
machine. Yet you cannot see anything at http://localhost:631/ ? Thats 
why I recommended to take this to the cups mailing list.

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: Bug in Brother HL4040 driver?

2017-08-07 Thread Andrew W

/var/log/cups# lpinfo -l -v
Device: uri = socket
class = network
info = AppSocket/HP JetDirect
make-and-model = Unknown
device-id =
location =
Device: uri = beh
class = network
info = Backend Error Handler
make-and-model = Unknown
device-id =
location =
Device: uri = ipp14
class = network
info = Internet Printing Protocol (ipp14)
make-and-model = Unknown
device-id =
location =
Device: uri = http
class = network
info = Internet Printing Protocol (http)
make-and-model = Unknown
device-id =
location =
Device: uri = ipp
class = network
info = Internet Printing Protocol (ipp)
make-and-model = Unknown
device-id =
location =
Device: uri = ipps
class = network
info = Internet Printing Protocol (ipps)
make-and-model = Unknown
device-id =
location =
Device: uri = https
class = network
info = Internet Printing Protocol (https)
make-and-model = Unknown
device-id =
location =
Device: uri = lpd
class = network
info = LPD/LPR Host or Printer
make-and-model = Unknown
device-id =
location =
Device: uri = 
dnssd://Brother%20HL-4040CN%20series._pdl-datastream._tcp.local/

class = network
info = Brother HL-4040CN series
make-and-model = Brother HL-4040CN series
device-id = MFG:Brother;MDL:HL-4040CN series;CMD:PCL;
location =
Device: uri = lpd://BRNF35C1B/BINARY_P1
class = network
info = Brother HL-4040CN series
make-and-model = Brother HL-4040CN series
device-id = MFG:Brother;CMD:PJL,PCL,PCLXL;MDL:HL-4040CN 
series;CLS:PRINTER;

location =
Device: uri = dnssd://Brother%20HL-4040CN%20series._printer._tcp.local/
class = network
info = Brother HL-4040CN series
make-and-model = Brother HL-4040CN series
device-id = MFG:Brother;MDL:HL-4040CN series;CMD:PCL;
location =

systemctl status cups (as per Brians idea) gives
systemctl status cups
● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor 
preset: enabled)

   Active: active (running) since Mon 2017-08-07 00:06:46 BST; 21h ago
 Docs: man:cupsd(8)
 Main PID: 31045 (cupsd)
Tasks: 1 (limit: 4915)
   CGroup: /system.slice/cups.service
   └─31045 /usr/sbin/cupsd -l


On 06/08/17 21:09, Gene Heskett wrote:


Humm.  Do you have lpinfo? lpinfo -l -v gets me a list of all usable
protocols and printers,






Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Gene Heskett
On Sunday 06 August 2017 18:12:49 Brian wrote:

> On Sun 06 Aug 2017 at 16:09:22 -0400, Gene Heskett wrote:
> > On Sunday 06 August 2017 15:32:46 Andrew W wrote:
> > > On 06/08/17 19:33, Gene Heskett wrote:
> > > > That rather sounds as if the cups daemon isn't running. Look
> > > > for /var/log/cupsd error files, which might illuminate the real
> > > > error, since no printer is going to work on a modern linux
> > > > install without its running and waiting for a print request.
> > > >
> > > > Cheers, Gene Heskett
> > >
> > > Only entries in /var/log/cups/error_log are:
> > >
> > > Duplicate listen address "/var/run/cups/cups.sock" ignored.
> > > E [06/Aug/2017:00:05:22 +0100] Unknown directive JobPrivateAccess
> > > on line 83 of /etc/cups/cupsd.conf.
> > > E [06/Aug/2017:00:05:22 +0100] Unknown directive JobPrivateValues
> > > on line 84 of /etc/cups/cupsd.conf.
> > > E [06/Aug/2017:00:05:22 +0100] Unknown directive
> > > SubscriptionPrivateAccess on line 85 of /etc/cups/cupsd.conf.
> > > E [06/Aug/2017:00:05:22 +0100] Unknown directive
> > > SubscriptionPrivateValues on line 86 of /etc/cups/cupsd.conf.
> > >
> > > I've never touched cupsd.conf directly so Im not sure whats messed
> > > it up.
> > >
> > > Ive just printed something sucessfully from GIMP and LibreOffice
> > > and both a JPEG & PDF from Vivaldi and cupsd is listed in the
> > > output from ps yet the web interface is not listening on port 631.
> > >
> > > Printing issue is intermittent, but without being able to get into
> > > the CUPS interface Im not sure which driver it is currently
> > > configured to use.
> >
> > Humm.  Do you have lpinfo? lpinfo -l -v gets me a list of all usable
> > protocols and printers, too long to post though. For my b laser:
>
> ~5K is large?
>
> > Device: uri = usb://Brother/HL-2140%20series?serial=L7J156867
> > class = direct
> > info = Brother HL-2140 series
> > make-and-model = Brother HL-2140 series
> > device-id = MFG:Brother;CMD:PJL,HBP;MDL:HL-2140
> > series;CLS:PRINTER;~
> >
> > For my large format inkjet:
> > Device: uri = dnssd://Brother%20MFC-J6920DW._printer._tcp.local/
> > class = network
> > info = Brother MFC-J6920DW
> > make-and-model = Brother MFC-J6920DW
> > device-id = MFG:Brother;MDL:MFC-J6920DW;CMD:HBP,BRPJL,URF;
> >
> > There are several of those because I have them preconfigured for
> > this job or that job.
> >
> > You should get something similar. You might also install htop, and
> > see if cups is running.
>
> What is wrong with 'systemctl status cups'?

Nothing, if the script has a status report ability.  10 years ago it was 
always there and could be trusted.  Now its missing half the time 
because it runs on the authors machine so it must be useless code.

Its one of those things you never need, until you do.  As for the 
systemctl status cups, the only machine I have here new enough for 
systemctl is a jessie install on a raspi thats running 3/4 ton of metal 
lathe, and it says:

pi@picncsheldon:~ $ systemctl status cups
● cups.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
pi@picncsheldon:~ $ systemctl status cupsd
● cupsd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

Despite that, geany can print to either of the two brother printers here 
in this room, anything I want it to print that I have tried so far.  And 
a web page firefox was looking at, printed better on the inkjet here 
than it looked on the raspi's hdmi monitor.

However, htop says cups-browsed is running, so:
pi@picncsheldon:~/linuxcnc/configs/sheldon-lathe $ systemctl status 
cups-browsed

● cups-browsed.service - Make remote CUPS printers available locally
   Loaded: loaded (/lib/systemd/system/cups-browsed.service; enabled)
   Active: active (running) since Wed 2017-07-26 22:26:23 EDT; 1 weeks 4 
days ago
 Main PID: 641 (cups-browsed)
   CGroup: /system.slice/cups-browsed.service
   └─641 /usr/sbin/cups-browsed

So that explains that.

And, if I fire up firefox on that raspi and send it to 
localhost:631/printers it lists everything connected to this computer, 
180 feet of cat 5 or 6 away.  And it can print a web page just fine.

But this does not help Brian.

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: Bug in Brother HL4040 driver?

2017-08-06 Thread Gene Heskett
On Sunday 06 August 2017 18:03:31 Brian wrote:

> On Sun 06 Aug 2017 at 15:53:42 -0400, Gene Heskett wrote:
> > On Sunday 06 August 2017 14:45:01 Brian wrote:
> > > On Sun 06 Aug 2017 at 14:21:36 -0400, Gene Heskett wrote:
> > > > On Sunday 06 August 2017 11:28:25 Brian wrote:
> > > > > On Sun 06 Aug 2017 at 16:18:37 +0100, Andrew W wrote:
> > > > > > On 06/08/17 15:05, Curt wrote:
> > > > > > >>The Brother HL404CN does not exist.
> > > > > > >
> > > > > > >So this is all a figment of the OP's imagination, I take
> > > > > > > it.
> > > > > > >
> > > > > > >Maybe he left out a trailing digit by inadvertence:
> > > > > > >
> > > > > > >https://www.brother-usa.com/Printer/ModelDetail/1/HL4040CN/
> > > > > > >Over view
> > > > > > >
> > > > > > >B
> > > > > >
> > > > > > Sorry yes 4040CN
> > > > >
> > > > > Brother doesn't provide a driver for the 4040CN. Perhaps you
> > > > > would explain what you mean by "driver(s) for the Brother
> > > > > HL404CN" and "I've tried several of the drivers listed...".
> > > > > Driver names would be useful.
> > > >
> > > > You will also note that it handles both .pdf's and jpeg's
> > > > natively, so
> > >
> > > Citation for the 4040CN please. As far as I can see its language
> > > emulation is PCL 6 only.
> >
> > From the web link above.
>
> There is nothing on that page which says the 4040CN  will accept a
> PDF or JPEG sent *directly* to it and print it correctly. In other
> words, the printer does not handle both ".pdf's and jpeg's natively".
> Whatever "natively" means.
>
> > > > all the OP needs to do is pick a driver that makes a pdf out of
> > > > whatever knocks on the drivers door?  We have several of those
> > > > critters if the fine print can be believed.
> > >
> > > Which "fine print"?
> >
> > PPD description, you can read it at localhost:631/printers, click on
> > modify after highliting the printer?
>
> I still do not understand what you mean by "makes a pdf out of
> whatever knocks on the drivers door". Sending a PDF to the printer is
> doomed to failure.

It has become obvious to me that you have an unusual situation, that I 
have attempted to ask questions that might lead to discovering the 
problem.  I have failed, and since it seems Mikes cups software is in 
the middle of it, that is why I recommended you take your .conf file, 
and the logs to Mike on his list. You will probably get an answer from 
Mike or one of his staff at Apple.  I've known Mike since the Delphi 
days when we were working on TRS-80 Color Computers, running os9, a unix 
like os for a 64k computer, 30 years ago.  He is ok IMNSHO, and he wrote 
cups.

You likely will not solve it by chasing every bit of the advice offered 
here, so take it to the source, Michael Sweet.

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: Bug in Brother HL4040 driver?

2017-08-06 Thread Brian
On Sun 06 Aug 2017 at 16:09:22 -0400, Gene Heskett wrote:

> On Sunday 06 August 2017 15:32:46 Andrew W wrote:
> 
> > On 06/08/17 19:33, Gene Heskett wrote:
> > > That rather sounds as if the cups daemon isn't running. Look
> > > for /var/log/cupsd error files, which might illuminate the real
> > > error, since no printer is going to work on a modern linux install
> > > without its running and waiting for a print request.
> > >
> > > Cheers, Gene Heskett
> >
> > Only entries in /var/log/cups/error_log are:
> >
> > Duplicate listen address "/var/run/cups/cups.sock" ignored.
> > E [06/Aug/2017:00:05:22 +0100] Unknown directive JobPrivateAccess on
> > line 83 of /etc/cups/cupsd.conf.
> > E [06/Aug/2017:00:05:22 +0100] Unknown directive JobPrivateValues on
> > line 84 of /etc/cups/cupsd.conf.
> > E [06/Aug/2017:00:05:22 +0100] Unknown directive
> > SubscriptionPrivateAccess on line 85 of /etc/cups/cupsd.conf.
> > E [06/Aug/2017:00:05:22 +0100] Unknown directive
> > SubscriptionPrivateValues on line 86 of /etc/cups/cupsd.conf.
> >
> > I've never touched cupsd.conf directly so Im not sure whats messed it
> > up.
> >
> > Ive just printed something sucessfully from GIMP and LibreOffice and
> > both a JPEG & PDF from Vivaldi and cupsd is listed in the output from
> > ps yet the web interface is not listening on port 631.
> >
> > Printing issue is intermittent, but without being able to get into the
> > CUPS interface Im not sure which driver it is currently configured to
> > use.
> Humm.  Do you have lpinfo? lpinfo -l -v gets me a list of all usable 
> protocols and printers, too long to post though. For my b laser:

~5K is large?

> Device: uri = usb://Brother/HL-2140%20series?serial=L7J156867
> class = direct
> info = Brother HL-2140 series
> make-and-model = Brother HL-2140 series
> device-id = MFG:Brother;CMD:PJL,HBP;MDL:HL-2140 
> series;CLS:PRINTER;~
> 
> For my large format inkjet:
> Device: uri = dnssd://Brother%20MFC-J6920DW._printer._tcp.local/
> class = network
> info = Brother MFC-J6920DW
> make-and-model = Brother MFC-J6920DW
> device-id = MFG:Brother;MDL:MFC-J6920DW;CMD:HBP,BRPJL,URF;
> 
> There are several of those because I have them preconfigured for this job 
> or that job.
> 
> You should get something similar. You might also install htop, and see if 
> cups is running.

What is wrong with 'systemctl status cups'?

-- 
Brian.



Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Brian
On Sun 06 Aug 2017 at 15:53:42 -0400, Gene Heskett wrote:

> On Sunday 06 August 2017 14:45:01 Brian wrote:
> 
> > On Sun 06 Aug 2017 at 14:21:36 -0400, Gene Heskett wrote:
> > > On Sunday 06 August 2017 11:28:25 Brian wrote:
> > > > On Sun 06 Aug 2017 at 16:18:37 +0100, Andrew W wrote:
> > > > > On 06/08/17 15:05, Curt wrote:
> > > > > >>The Brother HL404CN does not exist.
> > > > > >
> > > > > >So this is all a figment of the OP's imagination, I take it.
> > > > > >
> > > > > >Maybe he left out a trailing digit by inadvertence:
> > > > > >
> > > > > >https://www.brother-usa.com/Printer/ModelDetail/1/HL4040CN/Over
> > > > > >view
> > > > > >
> > > > > >B
> > > > >
> > > > > Sorry yes 4040CN
> > > >
> > > > Brother doesn't provide a driver for the 4040CN. Perhaps you would
> > > > explain what you mean by "driver(s) for the Brother HL404CN" and
> > > > "I've tried several of the drivers listed...". Driver names would
> > > > be useful.
> > >
> > > You will also note that it handles both .pdf's and jpeg's natively,
> > > so
> >
> > Citation for the 4040CN please. As far as I can see its language
> > emulation is PCL 6 only.
> >
> From the web link above.

There is nothing on that page which says the 4040CN  will accept a
PDF or JPEG sent *directly* to it and print it correctly. In other
words, the printer does not handle both ".pdf's and jpeg's natively".
Whatever "natively" means.

> > > all the OP needs to do is pick a driver that makes a pdf out of
> > > whatever knocks on the drivers door?  We have several of those
> > > critters if the fine print can be believed.
> >
> > Which "fine print"?
> PPD description, you can read it at localhost:631/printers, click on 
> modify after highliting the printer?

I still do not understand what you mean by "makes a pdf out of whatever
knocks on the drivers door". Sending a PDF to the printer is doomed to
failure.

-- 
Brian



Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Gene Heskett
On Sunday 06 August 2017 16:02:58 Andrew W wrote:

> On 06/08/17 20:53, Gene Heskett wrote:
> > PPD description, you can read it at localhost:631/printers, click on
> > modify after highliting the printer?
> >
> >
> > Cheers, Gene Heskett
>
> All web browsers give unable to establish a connection to
> localhost:631. There doesn't appear to be anything on port 631 even
> though cupsd is running.

Post your /etc/cups/cupsd.conf please, but do it on the cups mailing list 
where Michael Sweet will see it.

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: Bug in Brother HL4040 driver?

2017-08-06 Thread Gene Heskett
On Sunday 06 August 2017 15:32:46 Andrew W wrote:

> On 06/08/17 19:33, Gene Heskett wrote:
> > That rather sounds as if the cups daemon isn't running. Look
> > for /var/log/cupsd error files, which might illuminate the real
> > error, since no printer is going to work on a modern linux install
> > without its running and waiting for a print request.
> >
> > Cheers, Gene Heskett
>
> Only entries in /var/log/cups/error_log are:
>
> Duplicate listen address "/var/run/cups/cups.sock" ignored.
> E [06/Aug/2017:00:05:22 +0100] Unknown directive JobPrivateAccess on
> line 83 of /etc/cups/cupsd.conf.
> E [06/Aug/2017:00:05:22 +0100] Unknown directive JobPrivateValues on
> line 84 of /etc/cups/cupsd.conf.
> E [06/Aug/2017:00:05:22 +0100] Unknown directive
> SubscriptionPrivateAccess on line 85 of /etc/cups/cupsd.conf.
> E [06/Aug/2017:00:05:22 +0100] Unknown directive
> SubscriptionPrivateValues on line 86 of /etc/cups/cupsd.conf.
>
> I've never touched cupsd.conf directly so Im not sure whats messed it
> up.
>
> Ive just printed something sucessfully from GIMP and LibreOffice and
> both a JPEG & PDF from Vivaldi and cupsd is listed in the output from
> ps yet the web interface is not listening on port 631.
>
> Printing issue is intermittent, but without being able to get into the
> CUPS interface Im not sure which driver it is currently configured to
> use.
Humm.  Do you have lpinfo? lpinfo -l -v gets me a list of all usable 
protocols and printers, too long to post though. For my b laser:

Device: uri = usb://Brother/HL-2140%20series?serial=L7J156867
class = direct
info = Brother HL-2140 series
make-and-model = Brother HL-2140 series
device-id = MFG:Brother;CMD:PJL,HBP;MDL:HL-2140 
series;CLS:PRINTER;~

For my large format inkjet:
Device: uri = dnssd://Brother%20MFC-J6920DW._printer._tcp.local/
class = network
info = Brother MFC-J6920DW
make-and-model = Brother MFC-J6920DW
device-id = MFG:Brother;MDL:MFC-J6920DW;CMD:HBP,BRPJL,URF;

There are several of those because I have them preconfigured for this job 
or that job.

You should get something similar. You might also install htop, and see if 
cups is running.

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: Bug in Brother HL4040 driver?

2017-08-06 Thread Andrew W



On 06/08/17 20:53, Gene Heskett wrote:

PPD description, you can read it at localhost:631/printers, click on
modify after highliting the printer?


Cheers, Gene Heskett
All web browsers give unable to establish a connection to localhost:631. 
There doesn't appear to be anything on port 631 even though cupsd is 
running.




Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Gene Heskett
On Sunday 06 August 2017 14:45:01 Brian wrote:

> On Sun 06 Aug 2017 at 14:21:36 -0400, Gene Heskett wrote:
> > On Sunday 06 August 2017 11:28:25 Brian wrote:
> > > On Sun 06 Aug 2017 at 16:18:37 +0100, Andrew W wrote:
> > > > On 06/08/17 15:05, Curt wrote:
> > > > >>The Brother HL404CN does not exist.
> > > > >
> > > > >So this is all a figment of the OP's imagination, I take it.
> > > > >
> > > > >Maybe he left out a trailing digit by inadvertence:
> > > > >
> > > > >https://www.brother-usa.com/Printer/ModelDetail/1/HL4040CN/Over
> > > > >view
> > > > >
> > > > >B
> > > >
> > > > Sorry yes 4040CN
> > >
> > > Brother doesn't provide a driver for the 4040CN. Perhaps you would
> > > explain what you mean by "driver(s) for the Brother HL404CN" and
> > > "I've tried several of the drivers listed...". Driver names would
> > > be useful.
> >
> > You will also note that it handles both .pdf's and jpeg's natively,
> > so
>
> Citation for the 4040CN please. As far as I can see its language
> emulation is PCL 6 only.
>
From the web link above.

> > all the OP needs to do is pick a driver that makes a pdf out of
> > whatever knocks on the drivers door?  We have several of those
> > critters if the fine print can be believed.
>
> Which "fine print"?
PPD description, you can read it at localhost:631/printers, click on 
modify after highliting the printer?


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: Bug in Brother HL4040 driver?

2017-08-06 Thread Andrew W



On 06/08/17 19:33, Gene Heskett wrote:

That rather sounds as if the cups daemon isn't running. Look
for /var/log/cupsd error files, which might illuminate the real error,
since no printer is going to work on a modern linux install without its
running and waiting for a print request.

Cheers, Gene Heskett

Only entries in /var/log/cups/error_log are:

Duplicate listen address "/var/run/cups/cups.sock" ignored.
E [06/Aug/2017:00:05:22 +0100] Unknown directive JobPrivateAccess on 
line 83 of /etc/cups/cupsd.conf.
E [06/Aug/2017:00:05:22 +0100] Unknown directive JobPrivateValues on 
line 84 of /etc/cups/cupsd.conf.
E [06/Aug/2017:00:05:22 +0100] Unknown directive 
SubscriptionPrivateAccess on line 85 of /etc/cups/cupsd.conf.
E [06/Aug/2017:00:05:22 +0100] Unknown directive 
SubscriptionPrivateValues on line 86 of /etc/cups/cupsd.conf.


I've never touched cupsd.conf directly so Im not sure whats messed it up.

Ive just printed something sucessfully from GIMP and LibreOffice and 
both a JPEG & PDF from Vivaldi and cupsd is listed in the output from ps 
yet the web interface is not listening on port 631.


Printing issue is intermittent, but without being able to get into the 
CUPS interface Im not sure which driver it is currently configured to use.




Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Brian
On Sun 06 Aug 2017 at 19:43:20 +0200, deloptes wrote:

> Andrew W wrote:
> 
> > Can anyone help me determine the location of an annoying bug which seems
> > to persist in the driver(s) for the Brother HL404CN laser printer
> > please? It has existed since Wheezy and is still present in Stretch.
> > 
> > Printing from most apps (but interestingly not GIMP) will often fail
> > with the printers firmware locking up and showing Error E1 on its
> > display - the only way out of this is to turn the printer off and back on.
> > 
> > I've tried several of the drivers listed and all seem to have the same
> > issue. Further more in Stretch the web interface for CUPS doesnt seem to
> > work on localhost:631 and the Gnome system settings GUI for print queue
> > management doesnt do anything. Its as if the buttons have no event
> > handlers behind them to actually do anything!
> > 
> > 
> > Thanks
> 
> Have you done firmware upgrade?
> https://help.brother-usa.com/app/answers/detail/a_id/80507/~/print-unable-e1-or-machine-error-e1-message

You'll have read the recent thread (a couple of days ago) about doing
printer firmware updates on Debian. No? We will let you find it and then
come back with a revised opinion or sound advice.
 
> also here it suggests that it might be the poppler lib causing issues
> 
> https://bugs.chromium.org/p/chromium/issues/detail?id=89122
> 
> the printer uses PCL6 so make sure you get the proper conversion from any
> type to PCL in cups. Look there for solution.

Thanks. Looks interesting and bears examination when time permits.

-- 
Brian.



Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Brian
On Sun 06 Aug 2017 at 14:21:36 -0400, Gene Heskett wrote:

> On Sunday 06 August 2017 11:28:25 Brian wrote:
> 
> > On Sun 06 Aug 2017 at 16:18:37 +0100, Andrew W wrote:
> > > On 06/08/17 15:05, Curt wrote:
> > > >>The Brother HL404CN does not exist.
> > > >
> > > >So this is all a figment of the OP's imagination, I take it.
> > > >
> > > >Maybe he left out a trailing digit by inadvertence:
> > > >
> > > >https://www.brother-usa.com/Printer/ModelDetail/1/HL4040CN/Overview
> > > >
> > > >B
> > >
> > > Sorry yes 4040CN
> >
> > Brother doesn't provide a driver for the 4040CN. Perhaps you would
> > explain what you mean by "driver(s) for the Brother HL404CN" and
> > "I've tried several of the drivers listed...". Driver names would
> > be useful.
> 
> You will also note that it handles both .pdf's and jpeg's natively, so

Citation for the 4040CN please. As far as I can see its language
emulation is PCL 6 only.

> all the OP needs to do is pick a driver that makes a pdf out of whatever 
> knocks on the drivers door?  We have several of those critters if the 
> fine print can be believed.

Which "fine print"?

-- 
Brian.



Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Gene Heskett
On Sunday 06 August 2017 13:43:20 deloptes wrote:

> Andrew W wrote:
> > Can anyone help me determine the location of an annoying bug which
> > seems to persist in the driver(s) for the Brother HL404CN laser
> > printer please? It has existed since Wheezy and is still present in
> > Stretch.
> >
> > Printing from most apps (but interestingly not GIMP) will often fail
> > with the printers firmware locking up and showing Error E1 on its
> > display - the only way out of this is to turn the printer off and
> > back on.
> >
> > I've tried several of the drivers listed and all seem to have the
> > same issue. Further more in Stretch the web interface for CUPS
> > doesnt seem to work on localhost:631 and the Gnome system settings
> > GUI for print queue management doesnt do anything. Its as if the
> > buttons have no event handlers behind them to actually do anything!

That rather sounds as if the cups daemon isn't running. Look 
for /var/log/cupsd error files, which might illuminate the real error, 
since no printer is going to work on a modern linux install without its 
running and waiting for a print request.
> >
> > Thanks
>
> Have you done firmware upgrade?
> https://help.brother-usa.com/app/answers/detail/a_id/80507/~/print-una
>ble-e1-or-machine-error-e1-message
>
> also here it suggests that it might be the poppler lib causing issues
>
> https://bugs.chromium.org/p/chromium/issues/detail?id=89122
>
> the printer uses PCL6 so make sure you get the proper conversion from
> any type to PCL in cups. Look there for solution.
>
> regards


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: Bug in Brother HL4040 driver?

2017-08-06 Thread Gene Heskett
On Sunday 06 August 2017 13:43:20 deloptes wrote:

> Andrew W wrote:
> > Can anyone help me determine the location of an annoying bug which
> > seems to persist in the driver(s) for the Brother HL404CN laser
> > printer please? It has existed since Wheezy and is still present in
> > Stretch.
> >
> > Printing from most apps (but interestingly not GIMP) will often fail
> > with the printers firmware locking up and showing Error E1 on its
> > display - the only way out of this is to turn the printer off and
> > back on.
> >
> > I've tried several of the drivers listed and all seem to have the
> > same issue. Further more in Stretch the web interface for CUPS
> > doesnt seem to work on localhost:631 and the Gnome system settings
> > GUI for print queue management doesnt do anything. Its as if the
> > buttons have no event handlers behind them to actually do anything!
> >
> >
> > Thanks
>
> Have you done firmware upgrade?
> https://help.brother-usa.com/app/answers/detail/a_id/80507/~/print-una
>ble-e1-or-machine-error-e1-message

This is a wild goose chase, and the goose is winning.  At the bottom of 
that faq, is a link to a list of the models that proceedure applies to.  
His printer is not in that list, as its only for:
   Color Laser LED Printer
   HL3140CW
   HL4150CDN
   HL4570CDW
   HL4570CDWT
[...]

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: Bug in Brother HL4040 driver?

2017-08-06 Thread Gene Heskett
On Sunday 06 August 2017 11:28:25 Brian wrote:

> On Sun 06 Aug 2017 at 16:18:37 +0100, Andrew W wrote:
> > On 06/08/17 15:05, Curt wrote:
> > >>The Brother HL404CN does not exist.
> > >
> > >So this is all a figment of the OP's imagination, I take it.
> > >
> > >Maybe he left out a trailing digit by inadvertence:
> > >
> > >https://www.brother-usa.com/Printer/ModelDetail/1/HL4040CN/Overview
> > >
> > >B
> >
> > Sorry yes 4040CN
>
> Brother doesn't provide a driver for the 4040CN. Perhaps you would
> explain what you mean by "driver(s) for the Brother HL404CN" and
> "I've tried several of the drivers listed...". Driver names would
> be useful.

You will also note that it handles both .pdf's and jpeg's natively, so 
all the OP needs to do is pick a driver that makes a pdf out of whatever 
knocks on the drivers door?  We have several of those critters if the 
fine print can be believed.

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: Bug in Brother HL4040 driver?

2017-08-06 Thread deloptes
Andrew W wrote:

> Can anyone help me determine the location of an annoying bug which seems
> to persist in the driver(s) for the Brother HL404CN laser printer
> please? It has existed since Wheezy and is still present in Stretch.
> 
> Printing from most apps (but interestingly not GIMP) will often fail
> with the printers firmware locking up and showing Error E1 on its
> display - the only way out of this is to turn the printer off and back on.
> 
> I've tried several of the drivers listed and all seem to have the same
> issue. Further more in Stretch the web interface for CUPS doesnt seem to
> work on localhost:631 and the Gnome system settings GUI for print queue
> management doesnt do anything. Its as if the buttons have no event
> handlers behind them to actually do anything!
> 
> 
> Thanks

Have you done firmware upgrade?
https://help.brother-usa.com/app/answers/detail/a_id/80507/~/print-unable-e1-or-machine-error-e1-message

also here it suggests that it might be the poppler lib causing issues

https://bugs.chromium.org/p/chromium/issues/detail?id=89122

the printer uses PCL6 so make sure you get the proper conversion from any
type to PCL in cups. Look there for solution.

regards



Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Brian
On Sun 06 Aug 2017 at 16:18:37 +0100, Andrew W wrote:

> 
> 
> On 06/08/17 15:05, Curt wrote:
> >
> >>The Brother HL404CN does not exist.
> >>
> >So this is all a figment of the OP's imagination, I take it.
> >
> >Maybe he left out a trailing digit by inadvertence:
> >
> >https://www.brother-usa.com/Printer/ModelDetail/1/HL4040CN/Overview
> >
> >B
> Sorry yes 4040CN

Brother doesn't provide a driver for the 4040CN. Perhaps you would
explain what you mean by "driver(s) for the Brother HL404CN" and
"I've tried several of the drivers listed...". Driver names would
be useful.

-- 
Brian.



Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Andrew W



On 06/08/17 15:05, Curt wrote:



The Brother HL404CN does not exist.


So this is all a figment of the OP's imagination, I take it.

Maybe he left out a trailing digit by inadvertence:

https://www.brother-usa.com/Printer/ModelDetail/1/HL4040CN/Overview

B

Sorry yes 4040CN



Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Curt
On 2017-08-06, Brian  wrote:
> On Sat 05 Aug 2017 at 23:16:15 +0100, Andrew W wrote:
>
>> Can anyone help me determine the location of an annoying bug which seems to
>> persist in the driver(s) for the Brother HL404CN laser printer please? It
>> has existed since Wheezy and is still present in Stretch.
>> 
>> Printing from most apps (but interestingly not GIMP) will often fail with
>> the printers firmware locking up and showing Error E1 on its display - the
>> only way out of this is to turn the printer off and back on.
>> 
>> I've tried several of the drivers listed and all seem to have the same
>> issue. Further more in Stretch the web interface for CUPS doesnt seem to
>> work on localhost:631 and the Gnome system settings GUI for print queue
>> management doesnt do anything. Its as if the buttons have no event handlers
>> behind them to actually do anything!
>
> The Brother HL404CN does not exist.
>

So this is all a figment of the OP's imagination, I take it.

Maybe he left out a trailing digit by inadvertence:

https://www.brother-usa.com/Printer/ModelDetail/1/HL4040CN/Overview

But, as Olivier Vandal Homes III said the other day at lunch: "Guessing
is the curse of the presumptive class." He paused, gazing at me over our
third *digestif* of the afternoon. "And it's all so tiresome in the end,
isn't it old man, when people can't say what they mean and vice versa?"
he added in his typically jaded tone.

-- 
“Certitude is not the test of certainty.”
--Oliver Wendell Holmes, Jr.



Re: Bug in Brother HL4040 driver?

2017-08-06 Thread Brian
On Sat 05 Aug 2017 at 23:16:15 +0100, Andrew W wrote:

> Can anyone help me determine the location of an annoying bug which seems to
> persist in the driver(s) for the Brother HL404CN laser printer please? It
> has existed since Wheezy and is still present in Stretch.
> 
> Printing from most apps (but interestingly not GIMP) will often fail with
> the printers firmware locking up and showing Error E1 on its display - the
> only way out of this is to turn the printer off and back on.
> 
> I've tried several of the drivers listed and all seem to have the same
> issue. Further more in Stretch the web interface for CUPS doesnt seem to
> work on localhost:631 and the Gnome system settings GUI for print queue
> management doesnt do anything. Its as if the buttons have no event handlers
> behind them to actually do anything!

The Brother HL404CN does not exist.

-- 
Brian.



Bug in Brother HL4040 driver?

2017-08-05 Thread Andrew W
Can anyone help me determine the location of an annoying bug which seems 
to persist in the driver(s) for the Brother HL404CN laser printer 
please? It has existed since Wheezy and is still present in Stretch.


Printing from most apps (but interestingly not GIMP) will often fail 
with the printers firmware locking up and showing Error E1 on its 
display - the only way out of this is to turn the printer off and back on.


I've tried several of the drivers listed and all seem to have the same 
issue. Further more in Stretch the web interface for CUPS doesnt seem to 
work on localhost:631 and the Gnome system settings GUI for print queue 
management doesnt do anything. Its as if the buttons have no event 
handlers behind them to actually do anything!



Thanks