On 12/12/20, Brian <a...@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.

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. 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).

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..."
But almost always just show the job as "completed".

>> The printer functions with the drivers CUPS offers by default, but the
>> official Brother's drivers has some options that I need to work with
>> the equipment.
>
> An interesting comment. Debian will have set uo a print queue for the
> printer. Please give the output of
>
>   lpoptions -p PRINT_Q_NAME -l

$ lpoptions -p Brother_HL-3150CDN_series -l
PageSize/Media Size: *A4 Letter Legal Executive A5 A6 B5 JISB5 JISB6
EnvDL EnvC5 Env10 EnvMonarch Br3x5 FanFoldGermanLegal EnvPRC5Rotated
Postcard EnvYou4 EnvChou3 210x270mm 195x270mm 184x260mm 197x273mm
Duplex/Two-Sided: DuplexTumble DuplexNoTumble *None
BRInputSlot/Paper Source: *AutoSelect Tray1 Manual
BRResolution/Print Quality: *600dpi 600x2400dpi
BRMonoColor/Color / Mono: *Auto FullColor Mono
BRMediaType/Media Type: *Plain Thin Thick Thicker BOND Env EnvThick
EnvThin Recycled Label Glossy PostCard
BRColorMatching/Color Mode: *Normal Vivid None
BRGray/Improve Gray Color: *OFF ON
BREnhanceBlkPrt/Enhance Black Printing: *OFF ON
BRTonerSaveMode/Toner Save Mode: OFF *ON
BRImproveOutput/Improve Print Output: *OFF BRLessPaperCurl BRFixIntensity
BRSkipBlank/Skip Blank Page: *OFF ON
BRBrightness/Brightness: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10
-9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20
BRContrast/Contrast: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8
-7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
19 20
BRRed/Red: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5
-4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRGreen/Green: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6
-5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRBlue/Blue: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6
-5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRSaturation/Saturation: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10
-9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20

>> I was able to install these drivers some time ago, but now they didn't
>> seem to work.
>>
>> The two file to install are:
>> hl3150cdnlpr-1.1.2-1.i386.deb
>> hl3150cdncupswrapper-1.1.4-0.i386.deb
>>
>> Both for 32-bits, so, I did the:
>> $ sudo dpkg --add-architecture i386
>> $ sudo apt-get update
>>
>> And then used apt-get to install them.
>> The packages get installed but didn't seem to send the data to the
>> printer at printing time.
>> Any idea how to diagnose this?
>>
>> The only error I'd saw until now is when I install the lpr package:
>>
>> $ sudo apt-get install ./hl3150cdnlpr-1.1.2-1.i386.deb
>> (...)
>> mkdir: no se puede crear el directorio «/var/spool/lpd/hl3150cdn»: No
>> existe el fichero o el directorio
>> chown: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el
>> fichero o el directorio
>> chgrp: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el
>> fichero o el directorio
>> chmod: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el
>> fichero o el directorio
>
> 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:

$ 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?

The other package (CUPS wrapper) shows no errors:

$ sudo apt-get install --reinstall ./hl3150cdncupswrapper-1.1.4-0.i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'hl3150cdncupswrapper:i386' instead of
'./hl3150cdncupswrapper-1.1.4-0.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 /(...)/hl3150cdncupswrapper-1.1.4-0.i386.deb
hl3150cdncupswrapper i386 1.1.4-0 [13.6 kB]
(Reading database ... 152529 files and directories currently installed.)
Preparing to unpack .../hl3150cdncupswrapper-1.1.4-0.i386.deb ...
Restarting cups (via systemctl): cups.service.
Unpacking hl3150cdncupswrapper:i386 (1.1.4-0) over (1.1.4-0) ...
Setting up hl3150cdncupswrapper:i386 (1.1.4-0) ...
Restarting cups (via systemctl): cups.service.
lpadmin -p HL3150CDN -E -v
dnssd://Brother%20HL-3150CDN%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-30055ca838c7
-P /usr/share/cups/model/Brother/brother_hl3150cdn_printer_en.ppd
lpadmin: Printer drivers are deprecated and will stop working in a
future version of CUPS.

And this is the output after both reinstallations and the printer re-added
(apparently without problems) in CUPS:

$ lpoptions -p Brother_HL-3150CDN_series -l
PageSize/Media Size: *A4 Letter Legal Executive A5 A6 B5 JISB5 JISB6
EnvDL EnvC5 Env10 EnvMonarch Br3x5 FanFoldGermanLegal EnvPRC5Rotated
Postcard EnvYou4 EnvChou3 210x270mm 195x270mm 184x260mm 197x273mm
Duplex/Two-Sided: DuplexTumble DuplexNoTumble *None
BRInputSlot/Paper Source: *AutoSelect Tray1 Manual
BRResolution/Print Quality: *600dpi 600x2400dpi
BRMonoColor/Color / Mono: *Auto FullColor Mono
BRMediaType/Media Type: *Plain Thin Thick Thicker BOND Env EnvThick
EnvThin Recycled Label Glossy PostCard
BRColorMatching/Color Mode: *Normal Vivid None
BRGray/Improve Gray Color: *OFF ON
BREnhanceBlkPrt/Enhance Black Printing: *OFF ON
BRTonerSaveMode/Toner Save Mode: OFF *ON
BRImproveOutput/Improve Print Output: *OFF BRLessPaperCurl BRFixIntensity
BRSkipBlank/Skip Blank Page: *OFF ON
BRBrightness/Brightness: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10
-9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20
BRContrast/Contrast: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8
-7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
19 20
BRRed/Red: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5
-4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRGreen/Green: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6
-5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRBlue/Blue: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6
-5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRSaturation/Saturation: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10
-9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20

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

Thanks a lot, I'm still trying to figure this out...

Reply via email to