You are not logged in.

#1 2023-09-03 22:43:39

jmarcelofn
Member
From: Brazil
Registered: 2019-12-26
Posts: 8

[SOLVED] Brother DCP-T420W not printing

Hello everyone,

I wonder if anyone can help me solve this problem. I have a printer Brother DCP-T420W. I tested in two other systems from friends, Ubuntu Mate, works without any configuration and Linux Mint, had to install drivers downloaded from Brother's website.
Here at Arch Linux, i use the aur driver "brother-dcpt420w 3.5.0-1".

This is the result after i press makepgk -si:

lpadmin -p DCPT420W -E -v usb://Brother/DCP-T420W?serial=U66854H2H406626 -P /usr/share/cups/model/Brother/brother_dcpt420w_printer_en.ppd
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
Failed to restart org.cups.cups.service: Unit org.cups.cups.service not found.
erro: comando não executado corretamente
Dependências opcionais para brother-dcpt420w
    sane: scanning support
    brscan4: making dcpt420w available to sane
    brscan-skey: scankey support if connected via usb
:: Executando hooks pós-transação...
(1/1) Arming ConditionNeedsUpdate...

After that, using system printers manager i have DCTP420W available but, when i press print test page, says tha the test page was sent and printed, but nothing comes out of the printer.

Cups service is enabled and active.

Thanks in advance

Fontenele

Last edited by jmarcelofn (2023-09-04 23:06:59)

Offline

#2 2023-09-04 04:18:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED] Brother DCP-T420W not printing

The driver likely relies on https://archlinux.org/packages/extra/x8 … ostscript/
If not, https://wiki.archlinux.org/title/CUPS/Troubleshooting
Raise the debug level, restart cups, try to print and post the log.

Offline

#3 2023-09-04 22:20:37

jmarcelofn
Member
From: Brazil
Registered: 2019-12-26
Posts: 8

Re: [SOLVED] Brother DCP-T420W not printing

Hello there, sorry for the delay in the response, i'm at home at night in working days.

seth wrote:

The driver likely relies on https://archlinux.org/packages/extra/x8 … ostscript/

Indeed Ghoscript is installed:

which ghostscript
/usr/bin/ghostscript

If not, https://wiki.archlinux.org/title/CUPS/Troubleshooting
Raise the debug level, restart cups, try to print and post the log.

E [03/Sep/2023:18:36:06 -0300] [CGI] ippfind (PID 17104) stopped with status 2!
E [03/Sep/2023:18:36:06 -0300] [cups-deviced] PID 17103 (driverless) stopped with status 2!
E [03/Sep/2023:18:44:42 -0300] [CGI] ippfind (PID 35961) stopped with status 2!
E [03/Sep/2023:18:44:42 -0300] [cups-deviced] PID 35958 (driverless) stopped with status 2!
E [03/Sep/2023:18:50:27 -0300] [CGI] ippfind (PID 39425) stopped with status 2!
E [03/Sep/2023:18:50:27 -0300] [cups-deviced] PID 39424 (driverless) stopped with status 2!
E [03/Sep/2023:18:50:33 -0300] [CGI] ippfind (PID 39431) stopped with status 2!
E [03/Sep/2023:18:51:12 -0300] [CGI] ippfind (PID 39545) stopped with status 2!
E [03/Sep/2023:18:51:12 -0300] [cups-deviced] PID 39544 (driverless) stopped with status 2!
W [03/Sep/2023:18:52:15 -0300] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
E [03/Sep/2023:18:53:31 -0300] [CGI] ippfind (PID 2236) stopped with status 2!
E [03/Sep/2023:18:53:31 -0300] [cups-deviced] PID 2235 (driverless) stopped with status 2!
E [03/Sep/2023:18:53:55 -0300] [CGI] ippfind (PID 2362) stopped with status 2!
E [03/Sep/2023:18:53:55 -0300] [cups-deviced] PID 2361 (driverless) stopped with status 2!
E [03/Sep/2023:18:53:58 -0300] [CGI] ippfind (PID 2400) stopped with status 2!
W [03/Sep/2023:18:54:33 -0300] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother-DCP-T420W-Gray..\' already exists
W [03/Sep/2023:18:54:33 -0300] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother-DCP-T420W-RGB..\' already exists
E [03/Sep/2023:18:54:54 -0300] [CGI] ippfind (PID 2591) stopped with status 2!
E [03/Sep/2023:18:54:54 -0300] [cups-deviced] PID 2590 (driverless) stopped with status 2!
W [03/Sep/2023:18:56:30 -0300] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
E [03/Sep/2023:19:08:13 -0300] [CGI] ippfind (PID 4485) stopped with status 2!
E [03/Sep/2023:19:08:13 -0300] [cups-deviced] PID 4484 (driverless) stopped with status 2!
E [03/Sep/2023:19:08:18 -0300] [CGI] ippfind (PID 4515) stopped with status 2!
W [03/Sep/2023:19:08:37 -0300] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother-DCP-T420W-Gray..\' already exists
E [03/Sep/2023:19:08:40 -0300] [Client 57] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost/printers/Brother-DCP-T420W) from localhost.
E [03/Sep/2023:19:14:49 -0300] [CGI] ippfind (PID 10501) stopped with status 2!
E [03/Sep/2023:19:14:49 -0300] [cups-deviced] PID 10496 (driverless) stopped with status 2!
W [03/Sep/2023:19:23:32 -0300] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
E [03/Sep/2023:19:28:49 -0300] [CGI] ippfind (PID 10099) stopped with status 2!
E [03/Sep/2023:19:28:49 -0300] [cups-deviced] PID 10098 (driverless) stopped with status 2!
E [03/Sep/2023:19:28:56 -0300] [CGI] ippfind (PID 10105) stopped with status 2!
E [03/Sep/2023:19:29:41 -0300] [CGI] ippfind (PID 10256) stopped with status 2!
E [03/Sep/2023:19:29:41 -0300] [cups-deviced] PID 10255 (driverless) stopped with status 2!
E [03/Sep/2023:19:29:44 -0300] [CGI] ippfind (PID 10294) stopped with status 2!
E [03/Sep/2023:19:39:25 -0300] [CGI] ippfind (PID 13790) stopped with status 2!
E [03/Sep/2023:19:39:25 -0300] [cups-deviced] PID 13786 (driverless) stopped with status 2!
W [03/Sep/2023:19:39:27 -0300] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'DCPT420W-Gray..\' already exists
W [03/Sep/2023:19:39:27 -0300] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'DCPT420W-RGB..\' already exists
W [04/Sep/2023:19:00:04 -0300] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [04/Sep/2023:19:01:00 -0300] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103

In time, thanks for the help in advance, i really wanna use Arch Linux, in conjunction with my printer, it is a fantastic distro.

Fontenele

Offline

#4 2023-09-04 23:06:19

jmarcelofn
Member
From: Brazil
Registered: 2019-12-26
Posts: 8

Re: [SOLVED] Brother DCP-T420W not printing

Glad to say that is working now smile

After some research i found the solution in a another forum (i don't know if i can post the link over here). So i'll reproduce here the steps:

1-) Uninstalled the drivers from yay;
2-) Downloaded the deb driver from Brother support page ;
3-) Installed debtap from aur;
4-) Set the default editor for vim: export EDITOR=vim;
5-) At the driver download place, run the command: debtap dcpt420wpdrv-3.5.0-1.i386.deb;
6-) When asked if need to edit the files to be created, choose option 4, the wrote vim;
7-) Edit the architecture to i686 to x86_64 in the .PKGINFO;
8-) Delete these lines in .INSTALL file: if [ “$(which semanage 2> /dev/null)” != ‘’ ];then;
9-) Then execute sudo pacman -U dcpt420wpdrv-3.5.0-1-x86_64.pkg.tar.zst.

After that the printer is working fine. Now i'll look for the scanner, but it is another thing to solve.

The beauty of Arch Linux, here we have a more comprehensive idea how Linux works.

I'll mark this post as solved.

Thanks Seth for trying to help me.

Fontenele

Offline

#5 2023-09-05 05:43:40

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED] Brother DCP-T420W not printing

https://aur.archlinux.org/packages/brother-dcpt420w actually packages https://download.brother.com/welcome/dl … 1.i386.deb

Not sure what the impact .PKGINFO and .INSTALL have there, but
1. semanage is part o SELinux, so you apaprently activated some SELinux specific code?
2. *only* deleting " if [ “$(which semanage 2> /dev/null)” != ‘’ ];then;" would get you a syntax error.

The AUR applies https://aur.archlinux.org/cgit/aur.git/ … r-dcpt420w and since frankly your actions seem otherwise inert, this would be the most likely cause of trouble.
Or the result is purely co-incidental, because

E [03/Sep/2023:19:08:40 -0300] [Client 57] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost/printers/Brother-DCP-T420W) from localhost.

your error log doesn't look like you had used the driver from the AUR package at all hmm

Offline

#6 2023-09-05 22:12:11

jmarcelofn
Member
From: Brazil
Registered: 2019-12-26
Posts: 8

Re: [SOLVED] Brother DCP-T420W not printing

Hello,

I bought this printer some months ago, because of Linux support. This ins't the first time and installation that i tried to make it work. You're right, very strange the way i did to configure, but installing only with the provided AUR package never worked and there several reports like mine across the Internet with similar issue. But, for me, matters that it is functional and i can return to use Arch Linux. Thanks for your support and shared knowledge Seth. Have a nice day!

Fontenele

Offline

#7 2023-09-06 06:15:28

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED] Brother DCP-T420W not printing

But, for me, matters that it is functional and i can return to use Arch Linux.

I understand that, but poking around until it works without understanding why bears the risk that you'll end up in that situation again.
Also it would probably good to raise this w/ the AUR package maintainer to get that fixed.

Did the debtap-created package install more dependencies?
If you sill have any of the packages, feel free to upload them somewhere - maybe there's some obvious difference.

Offline

Board footer

Powered by FluxBB