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

Re: Can't print: /var/spool/lpd



On Sat 19 Dec 2020 at 07:05:24 -0300, riveravaldez wrote:

> On 12/12/20, Brian <ad44@cityscape.co.uk> wrote:
> > On Fri 11 Dec 2020 at 21:33:42 -0300, riveravaldez wrote:
> >
> >> Hi, I'm having an issue with a Brother HL-3150CDN printer on Debian
> >> Testing.
> >
> > You do not say, so we will assume there is a USB connection. The device
> > probably does IPP-over-USB; you will want to read
> >
> >   https://wiki.debian.org/CUPSDriverlessPrinting
> 
> Thanks for your answer, Brian, certainly I'd forget to specify it:
> The connection is not USB, it's a network connection (Ethernet), the printer
> is connected to the router and through the router I have access to it from
> various computers in the house.

Ok. That rules out one avenue of exploration.
 
> In the 'Add Printer' page/step, CUPS offers me three options:
> 1. Brother HL-3150CDN series - IPP Everywhere
> 2. Brother HL-3150CDN seriesm fully driverless, cups-filters 1.28.6 (en)
> 3. Brother HL-3150CDN series CUPS (en)
> The first and second work fine.

Good. This illustrates that a user with a modern Brother printer does
not need a non-free Brother driver.

>                                 The third one appears twice, and seems to be
> generated by the installation of the official drivers from Brother (I tried both
> options with similar result: the printer doesn't seems to receive the
> job/printing order).

The entries in the "Add Printer" display will have nothing to do with
whether the Brother drivers are installed. They will be to do with the
URIs discovered and given on the second page of the CUPS web interface.

The job not getting to the printer is probably a URI issue. Please give
the output of 'lpinfo -v'.

> http://localhost:631/jobs/ once said:
> 
> processing since
> Sat Dec 19 06:47:26 2020
> "No se ha podido localizar la impresora "BRN30055CA838C7"."
> 
> Which means: "Couldn't find the printer "BR..."

A URI or network issue.

> But almost always just show the job as "completed".

The job is regarded as completed if the filters complete successfully.
Looks like they have.

[...]

> > The installation of this package goes smoothly on my i386 machine.
> 
> Well, here I have those errors. I've tried creating manually the folder:
> /var/spool/lpd/hl3150cdn
> Which I had to do as root.
> Once the folder is created, I reinstalled the packages, and the errors didn't
> appeared no more:

Jobs will be correctly processed whether or not /var/spool/lpd/hl3150cdn
exists. All you have to do is 'mkdir /var/spool/lpd/' because it is this
directory the lpr package is looking for. But it is not needed anyway.

Brother is at least twenty years behind the times with the packages it
distributes. I ask you - lpd in ths day and age?

> $ sudo apt-get install --reinstall ./hl3150cdnlpr-1.1.2-1.i386.deb
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Note, selecting 'hl3150cdnlpr:i386' instead of './hl3150cdnlpr-1.1.2-1.i386.deb'
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 11 not upgraded.
> After this operation, 0 B of additional disk space will be used.
> Get:1 /(...)/hl3150cdnlpr-1.1.2-1.i386.deb hl3150cdnlpr i386 1.1.2-1 [695 kB]
> (Reading database ... 152529 files and directories currently installed.)
> Preparing to unpack .../hl3150cdnlpr-1.1.2-1.i386.deb ...
> Unpacking hl3150cdnlpr:i386 (1.1.2-1) over (1.1.2-1) ...
> Setting up hl3150cdnlpr:i386 (1.1.2-1) ...
> 
> So, no errors. But:
> 
> $ sudo ls -a /var/spool/lpd/hl3150cdn/
> .  ..
> 
> So, maybe the installation can't put anything there because the folder
> was created
> by root?

No. It's a bit of Brother nonsense to want /var/spool/lpd/ created.

[...]

> But no matter the jobs appearing as "completed", the printer doesn't
> activates and it doesn't print, so, any idea?

Let's also have what you get for 'lpstat -t' and 'lpstat -l -e'.

-- 
Brian.


Reply to: