Sujet : Re: unsuccessfully install of printer brother hl-l2360dw
De : smirzo (at) *nospam* example.com (Salvador Mirzo)
Groupes : comp.unix.bsd.freebsd.miscDate : 27. Dec 2024, 14:14:28
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <867c7lfetn.fsf@example.com>
References : 1 2 3
groenveld@acm.org (John D Groenveld) writes:
In article <vkketk$34iqu$1@dont-email.me>, <bp@www.zefox.net> wrote:
Salvador Mirzo <smirzo@example.com> wrote:
I've been trying to install a Brother HL-L2360DW. I managed to install
>
<URL:https://openprinting.github.io/printers/>
Nice! Thanks!
The name BRWB052162167A6 is the hostname of the printer:
https://www.brother-usa.com/-/media/brother/product-catalog-media/documents/2020/04/28/14/44/hll2360dw_brochure_compact-laser-printer.pdf
>
No direct help, but IIRC part of the cups install process should have
forced you to specify what kind of printer you have. If that didn't
happen, I'd suggest de-installing all the print-related ports or
packages and simply starting over. Cups relies on Ghostscript, I
think, and ghostscript is responsible for generating the correct
printer control langauge. A web search for ghostscript and the
printer model might reveal something useful.
>
I've not tried to configure a printer on FreeBSD for a long time,
so don't take anything I say very seriously.
>
Possibly significantly easier than you remember, modulo bugs with
Brother's firmware and FreeBSD's CUPS:
<URL:https://man.freebsd.org/cgi/man.cgi?query=lpadmin&apropos=0&sektion=0&manpath=FreeBSD+14.2-RELEASE+and+Ports&arch=default&format=html>
>
# lpadmin -x BRWB052162167A6
# lpadmin -p BRWB052162167A6 -E -v ipp://BRWB052162167A6/ipp/print -m everywhere
This installed the printer just fine in CUPS. However, when I try to
print something with it, it seems CUPS won't even send the job to the
printer and annonates an error message in /var/log/cups/access_log:
--8<-------------------------------------------------------->8---
localhost - - [27/Dec/2024:09:31:48 -0300] "POST
/printers/BRWB052162167A6 HTTP/1.1" 200 20810 Print-Job
client-error-document-format-not-supported
--8<-------------------------------------------------------->8---
This is due to I trying to print a text file from firefox. When I try
to print the same file using CUPS's lpr, I get:
--8<-------------------------------------------------------->8---
$ lpr -PBRWB052162167A6 sample.txt
lpr: Unsupported document-format "text/plain".
--8<-------------------------------------------------------->8---
And the access_log says:
--8<-------------------------------------------------------->8---
localhost - - [27/Dec/2024:09:41:14 -0300] "POST
/printers/BRWB052162167A6 HTTP/1.1" 200 334 Create-Job successful-ok
localhost - - [27/Dec/2024:09:41:14 -0300] "POST
/printers/BRWB052162167A6 HTTP/1.1" 200 1773 Send-Document
client-error-document-format-not-supported
localhost - - [27/Dec/2024:09:41:14 -0300] "POST /jobs/ HTTP/1.1" 200
174 Cancel-Job successful-ok
--8<-------------------------------------------------------->8---