Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You're not my type. For that matter, you're not even my species!!!


comp / comp.unix.bsd.freebsd.misc / Re: unsuccessfully install of printer brother hl-l2360dw

SubjectAuthor
* unsuccessfully install of printer brother hl-l2360dwSalvador Mirzo
+* Re: unsuccessfully install of printer brother hl-l2360dw<bp
|`* Re: unsuccessfully install of printer brother hl-l2360dwJohn D Groenveld
| `* Re: unsuccessfully install of printer brother hl-l2360dwSalvador Mirzo
|  `* Re: unsuccessfully install of printer brother hl-l2360dwJohn D Groenveld
|   `* Re: unsuccessfully install of printer brother hl-l2360dwSalvador Mirzo
|    `* Re: unsuccessfully install of printer brother hl-l2360dwJohn D Groenveld
|     `- Re: unsuccessfully install of printer brother hl-l2360dwSalvador Mirzo
`* Re: unsuccessfully install of printer brother hl-l2360dwMatthias Meyser
 `* Re: unsuccessfully install of printer brother hl-l2360dwMatthias Meyser
  `* Re: unsuccessfully install of printer brother hl-l2360dwSalvador Mirzo
   +- Re: unsuccessfully install of printer brother hl-l2360dwMatthias Meyser
   `* Re: unsuccessfully install of printer brother hl-l2360dwSalvador Mirzo
    `* Re: unsuccessfully install of printer brother hl-l2360dwWinston
     `- Re: unsuccessfully install of printer brother hl-l2360dwSalvador Mirzo

1
Subject: unsuccessfully install of printer brother hl-l2360dw
From: Salvador Mirzo
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Thu, 26 Dec 2024 18:47 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: smirzo@example.com (Salvador Mirzo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: unsuccessfully install of printer brother hl-l2360dw
Date: Thu, 26 Dec 2024 15:47:06 -0300
Organization: A noiseless patient Spider
Lines: 89
Message-ID: <86ldw2gu39.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 26 Dec 2024 19:47:10 +0100 (CET)
Injection-Info: dont-email.me; posting-host="8368523f32db3fe49f3f15abb940ae81";
logging-data="3268089"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18gA7bqOknjUYOi2AjxMzcRAvkiiy51XuY="
Cancel-Lock: sha1:lieZQNcJiHyM3haHwxpa+sRlBtQ=
sha1:092cwbcioylFnk17MxBDKInX0To=
View all headers

I've been trying to install a Brother HL-L2360DW. I managed to install
it at /etc/printcap and use it just fine with lpd. I installed as:

lp:Brother HL-L2360DW:\
:lp=9100@BRWB052162167A6:\
:if=/usr/local/libexec/lf2crlf:\
:sh:sd=/var/spool/output/brother:\
:lf=/var/log/lpd-errs:

The name BRWB052162167A6 is the hostname of the printer:

# ping BRWB052162167A6
PING BRWB052162167A6 (192.168.15.16): 56 data bytes
64 bytes from 192.168.15.16: icmp_seq=0 ttl=255 time=3.197 ms
64 bytes from 192.168.15.16: icmp_seq=1 ttl=255 time=2.978 ms
^C
--- BRWB052162167A6 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 2.978/3.087/3.197/0.110 ms

This way I can print ASCII documents. Even UTF-8 text documents won't
print out correctly. Apparently the printer is not a PostScript
printer, so we can't send PostScript to it. When I tried, I got
PostScript code out on paper. So I figured /etc/printcap wouldn't
suffice. I then tried CUPS.

The experience with CUPS was nice, but again I had to set the printer's
driver to a raw thing and then I was able to get ASCII plain text out.
So I convinced myself that I needed a driver really. Looking at the
spec of the printer (URL and PDF below), I see it has PCL emulation. So
I tried CUPS' generic PCL driver. Testing, I got a print out saying

--8<-------------------------------------------------------->8---
%!
userdict dup(\004)cvn{}put (\004\004)cvn{}put

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% If you can read this, you are using the wrong driver for your printer. %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--8<-------------------------------------------------------->8---

So then I convinced myself that I really need some kind of Brother
driver. Then I found drivers at

https://support.brother.com/g/b/downloadlist.aspx?c=us_ot&lang=en&prod=hll2360dw_us&os=128

But these are not for FreeBSD, so the hopes were not high. Looking at
the debian packages, I see some Perl scripts and a file with extension
PPD. I tried both

CUPSwrapper printer driver (deb package)
Generic CUPSwrapper printer driver (deb package)

Adding the PPD file which I found in data.tar.gz inside the debian
package, I end up getting the error of a missing file in

/usr/local/libexec/cups/filter

The missing file appears to be a Perl script, which I also found in the
debian package, so I added the file to this directory, with permissions
0755 (as all others in the directory). I changed the Perl path in the
script from /usr/bin/perl to /usr/local/bin/perl to match the Perl I
have installed. Once again, I get

--8<-------------------------------------------------------->8---
%!
userdict dup(\004)cvn{}put (\004\004)cvn{}put

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% If you can read this, you are using the wrong driver for your printer. %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--8<-------------------------------------------------------->8---

when I ask for a printer self test from the CUPS web interface.

Is there any hope of using a Brother HL-L2360DW with FreeBSD? My father
has a laptop running Windows 10 or 11. Perhaps I could somehow connect
the printer to his computer and then use CUPS to connect my FreeBSD to
his new shared printer? Any ideas? Thanks very much.

(*) Specs

The specifications for the printer can be found at

https://www.brother-usa.com/products/hll2360dw#specification

There's a PDF at

https://www.brother-usa.com/-/media/brother/product-catalog-media/documents/2020/04/28/14/44/hll2360dw_brochure_compact-laser-printer.pdf

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: <bp@www.zefox.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Thu, 26 Dec 2024 20:39 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: <bp@www.zefox.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Thu, 26 Dec 2024 20:39:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 106
Message-ID: <vkketk$34iqu$1@dont-email.me>
References: <86ldw2gu39.fsf@example.com>
Injection-Date: Thu, 26 Dec 2024 21:39:17 +0100 (CET)
Injection-Info: dont-email.me; posting-host="3302b6df2c7bf3b699b5f02bfe7803b3";
logging-data="3296094"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++rga2Xv8FDLTJCBda4HAlO0xr7I52RUo="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.1-RELEASE-p5 (arm64))
Cancel-Lock: sha1:7VEAR43YpVNen1PQ6qae/JJ6tfs=
View all headers

Salvador Mirzo <smirzo@example.com> wrote:
> I've been trying to install a Brother HL-L2360DW. I managed to install
> it at /etc/printcap and use it just fine with lpd. I installed as:
>
> lp:Brother HL-L2360DW:\
> :lp=9100@BRWB052162167A6:\
> :if=/usr/local/libexec/lf2crlf:\
> :sh:sd=/var/spool/output/brother:\
> :lf=/var/log/lpd-errs:
>
> The name BRWB052162167A6 is the hostname of the printer:
>
> # ping BRWB052162167A6
> PING BRWB052162167A6 (192.168.15.16): 56 data bytes
> 64 bytes from 192.168.15.16: icmp_seq=0 ttl=255 time=3.197 ms
> 64 bytes from 192.168.15.16: icmp_seq=1 ttl=255 time=2.978 ms
> ^C
> --- BRWB052162167A6 ping statistics ---
> 2 packets transmitted, 2 packets received, 0.0% packet loss
> round-trip min/avg/max/stddev = 2.978/3.087/3.197/0.110 ms
>
> This way I can print ASCII documents. Even UTF-8 text documents won't
> print out correctly. Apparently the printer is not a PostScript
> printer, so we can't send PostScript to it. When I tried, I got
> PostScript code out on paper. So I figured /etc/printcap wouldn't
> suffice. I then tried CUPS.
>
> The experience with CUPS was nice, but again I had to set the printer's
> driver to a raw thing and then I was able to get ASCII plain text out.
> So I convinced myself that I needed a driver really. Looking at the
> spec of the printer (URL and PDF below), I see it has PCL emulation. So
> I tried CUPS' generic PCL driver. Testing, I got a print out saying
>
> --8<-------------------------------------------------------->8---
> %!
> userdict dup(\004)cvn{}put (\004\004)cvn{}put
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%% If you can read this, you are using the wrong driver for your printer. %%
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> --8<-------------------------------------------------------->8---
>
> So then I convinced myself that I really need some kind of Brother
> driver. Then I found drivers at
>
> https://support.brother.com/g/b/downloadlist.aspx?c=us_ot&lang=en&prod=hll2360dw_us&os=128
>
> But these are not for FreeBSD, so the hopes were not high. Looking at
> the debian packages, I see some Perl scripts and a file with extension
> PPD. I tried both
>
> CUPSwrapper printer driver (deb package)
> Generic CUPSwrapper printer driver (deb package)
>
> Adding the PPD file which I found in data.tar.gz inside the debian
> package, I end up getting the error of a missing file in
>
> /usr/local/libexec/cups/filter
>
> The missing file appears to be a Perl script, which I also found in the
> debian package, so I added the file to this directory, with permissions
> 0755 (as all others in the directory). I changed the Perl path in the
> script from /usr/bin/perl to /usr/local/bin/perl to match the Perl I
> have installed. Once again, I get
>
> --8<-------------------------------------------------------->8---
> %!
> userdict dup(\004)cvn{}put (\004\004)cvn{}put
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%% If you can read this, you are using the wrong driver for your printer. %%
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> --8<-------------------------------------------------------->8---
>
> when I ask for a printer self test from the CUPS web interface.
>
> Is there any hope of using a Brother HL-L2360DW with FreeBSD? My father
> has a laptop running Windows 10 or 11. Perhaps I could somehow connect
> the printer to his computer and then use CUPS to connect my FreeBSD to
> his new shared printer? Any ideas? Thanks very much.
>
> (*) Specs
>
> The specifications for the printer can be found at
>
> https://www.brother-usa.com/products/hll2360dw#specification
>
> There's a PDF at
>
> 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.

hth,

bob prohaska

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: John D Groenveld
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: Groenveld.US
Date: Fri, 27 Dec 2024 00:01 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: 27 Dec 2024 00:01:37 GMT
Organization: Groenveld.US
Lines: 29
Message-ID: <lt6931F1iqtU1@mid.individual.net>
References: <86ldw2gu39.fsf@example.com> <vkketk$34iqu$1@dont-email.me>
X-Trace: individual.net Rd6k4weAO+PiSb+D9EPbWg3IS24nXBc+8feMp/9/lZBUdWP6x9
Cancel-Lock: sha1:Y81kgBsL4uDr7KB1MAxWeEP1oWE= sha256:uDCuJrOR74PlS6SG0oQA75P8gmWN/nrmLnJxltLYKKE=
View all headers

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/>

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

John
groenveld@acm.org

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Salvador Mirzo
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Fri, 27 Dec 2024 13:14 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: smirzo@example.com (Salvador Mirzo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Fri, 27 Dec 2024 10:14:28 -0300
Organization: A noiseless patient Spider
Lines: 62
Message-ID: <867c7lfetn.fsf@example.com>
References: <86ldw2gu39.fsf@example.com> <vkketk$34iqu$1@dont-email.me>
<lt6931F1iqtU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 27 Dec 2024 14:14:35 +0100 (CET)
Injection-Info: dont-email.me; posting-host="cf64688add5fe741457eb81b2418e7ac";
logging-data="3814822"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ZuqIR+1JfNPoIB7XV6pwZdb0pnV4uypE="
Cancel-Lock: sha1:M2veilpyjhGM32vrWJ8prbOk9Eo=
sha1:Ku0O9zq1xZHgG4wiyDe+9+5CoDE=
View all headers

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

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Matthias Meyser
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: XeNET GmbH, 38678 Clausthal-Zellerfeld
Date: Fri, 27 Dec 2024 14:55 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.nntp4.net!nntp.xenet.de!.POSTED.xenet.gate.xenet.de!not-for-mail
From: Meyser@xenet.de (Matthias Meyser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Fri, 27 Dec 2024 15:55:28 +0100
Organization: XeNET GmbH, 38678 Clausthal-Zellerfeld
Message-ID: <vkmf49$199t$1@nntp.serx01.xenet.de>
References: <86ldw2gu39.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 27 Dec 2024 14:55:05 -0000 (UTC)
Injection-Info: nntp.serx01.xenet.de; posting-host="xenet.gate.xenet.de:213.221.94.32";
logging-data="42301"; mail-complaints-to="usenet@nntp.xenet.de"
User-Agent: Mozilla Thunderbird
Content-Language: de-DE
In-Reply-To: <86ldw2gu39.fsf@example.com>
View all headers

Am 26.12.2024 um 19:47 schrieb Salvador Mirzo:
> I've been trying to install a Brother HL-L2360DW. I managed to install
> it at /etc/printcap and use it just fine with lpd. I installed as:
>
> lp:Brother HL-L2360DW:\
> :lp=9100@BRWB052162167A6:\
> :if=/usr/local/libexec/lf2crlf:\
> :sh:sd=/var/spool/output/brother:\
> :lf=/var/log/lpd-errs:
>
> The name BRWB052162167A6 is the hostname of the printer:
>
> # ping BRWB052162167A6
> PING BRWB052162167A6 (192.168.15.16): 56 data bytes
> 64 bytes from 192.168.15.16: icmp_seq=0 ttl=255 time=3.197 ms
> 64 bytes from 192.168.15.16: icmp_seq=1 ttl=255 time=2.978 ms
> ^C
> --- BRWB052162167A6 ping statistics ---
> 2 packets transmitted, 2 packets received, 0.0% packet loss
> round-trip min/avg/max/stddev = 2.978/3.087/3.197/0.110 ms
>
> This way I can print ASCII documents. Even UTF-8 text documents won't
> print out correctly. Apparently the printer is not a PostScript
> printer, so we can't send PostScript to it. When I tried, I got
> PostScript code out on paper. So I figured /etc/printcap wouldn't
> suffice. I then tried CUPS.

This ist a PCL Printer.

see https://docs.freebsd.org/de/books/handbook/printing/#printing-lpd-filters-ps2pcl

With best regards
Matthias

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Matthias Meyser
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: XeNET GmbH, 38678 Clausthal-Zellerfeld
Date: Fri, 27 Dec 2024 14:57 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.nntp4.net!nntp.xenet.de!.POSTED.xenet.gate.xenet.de!not-for-mail
From: Meyser@xenet.de (Matthias Meyser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Fri, 27 Dec 2024 15:57:39 +0100
Organization: XeNET GmbH, 38678 Clausthal-Zellerfeld
Message-ID: <vkmf8c$199t$2@nntp.serx01.xenet.de>
References: <86ldw2gu39.fsf@example.com> <vkmf49$199t$1@nntp.serx01.xenet.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 27 Dec 2024 14:57:16 -0000 (UTC)
Injection-Info: nntp.serx01.xenet.de; posting-host="xenet.gate.xenet.de:213.221.94.32";
logging-data="42301"; mail-complaints-to="usenet@nntp.xenet.de"
User-Agent: Mozilla Thunderbird
Content-Language: de-DE
In-Reply-To: <vkmf49$199t$1@nntp.serx01.xenet.de>
View all headers

Am 27.12.2024 um 15:55 schrieb Matthias Meyser:
> This ist a PCL Printer.
>
> see https://docs.freebsd.org/de/books/handbook/printing/#printing-lpd-filters-ps2pcl
>

in english :)

https://docs.freebsd.org/en/books/handbook/printing/#printing-lpd-filters-ps2pcl

With best regards
Matthias

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Salvador Mirzo
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Fri, 27 Dec 2024 19:44 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: smirzo@example.com (Salvador Mirzo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Fri, 27 Dec 2024 16:44:51 -0300
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <86ldw0di6k.fsf@example.com>
References: <86ldw2gu39.fsf@example.com> <vkmf49$199t$1@nntp.serx01.xenet.de>
<vkmf8c$199t$2@nntp.serx01.xenet.de>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 27 Dec 2024 20:44:58 +0100 (CET)
Injection-Info: dont-email.me; posting-host="cf64688add5fe741457eb81b2418e7ac";
logging-data="3987167"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18o/JbkvOTbhhXMs9FkOILFTAnS9r9iPKQ="
Cancel-Lock: sha1:2DFmBGA5SP+sIYdfkeQmmqf5Ptg=
sha1:gOn0JaDa/ORHk1M5eHe0ZC7NvmA=
View all headers

Matthias Meyser <Meyser@xenet.de> writes:

> Am 27.12.2024 um 15:55 schrieb Matthias Meyser:
>> This ist a PCL Printer.
>> see
>> https://docs.freebsd.org/de/books/handbook/printing/#printing-lpd-filters-ps2pcl
>>
>
> in english :)
>
> https://docs.freebsd.org/en/books/handbook/printing/#printing-lpd-filters-ps2pcl

Thank you so much. That allows me to use lpd and it's working. The
handbook test was successful and I just asked Firefox to print a text
document using /usr/bin/lpr (using my /etc/printcap entry). It worked!

I would still like to understand what's going on with CUPS, so I will
continue the troubleshooting but I'm very happy that I can print just
fine with lpd.

The printcap entry so far:

--8<-------------------------------------------------------->8---
lp|remote|brother|Brother HL-L2360DW:\
:lp=9100@BRWB052162167A6:\
:if=/usr/local/libexec/ps2pcl:\
:sh:sd=/var/spool/output/brother:\
:lf=/var/log/lpd-errs:
--8<-------------------------------------------------------->8---

The filter:

--8<-------------------------------------------------------->8---
#!/bin/sh
/usr/local/bin/gs -dSAFER -dNOPAUSE -dBATCH -q -sDEVICE=pcl3 -sOutputFile=- -
--8<-------------------------------------------------------->8---

I believe the driver pcl3 works better than the ljet4 given in the
handbook as per a couple of experiments here. I probably should try
other drivers to see if there's any difference.

One program also metioned by the handbook is enscript. It converts text
files to PostScript, so I can print text files. But my text files are
usually UTF-8 and it seems enscript doesn't support UTF-8 as far as the
manual says. So what I am now doing is using iconv to convert to latin1
before invoking enscript. If you'd like to share how you do it, I'd
appreciate hearing about.

# iconv -f UTF-8 -t LATIN1 sample.txt | enscript -X latin1 -Premote
[ 1 page * 1 copy ] sent to remote

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Matthias Meyser
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: XeNET GmbH, 38678 Clausthal-Zellerfeld
Date: Fri, 27 Dec 2024 21:52 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!.POSTED.tubercel.gate.xenet.de!not-for-mail
From: matthias+usenet@meyser.org (Matthias Meyser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Fri, 27 Dec 2024 22:52:52 +0100
Organization: XeNET GmbH, 38678 Clausthal-Zellerfeld
Message-ID: <vkn7jo$eus$1@nntp.serx01.xenet.de>
References: <86ldw2gu39.fsf@example.com> <vkmf49$199t$1@nntp.serx01.xenet.de>
<vkmf8c$199t$2@nntp.serx01.xenet.de> <86ldw0di6k.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 27 Dec 2024 21:52:56 -0000 (UTC)
Injection-Info: nntp.serx01.xenet.de; posting-host="tubercel.gate.xenet.de:213.221.94.37";
logging-data="15324"; mail-complaints-to="usenet@nntp.xenet.de"
User-Agent: Mozilla Thunderbird
Content-Language: de-DE
In-Reply-To: <86ldw0di6k.fsf@example.com>
View all headers

Am 27.12.2024 um 20:44 schrieb Salvador Mirzo:
> One program also metioned by the handbook is enscript. It converts text
> files to PostScript, so I can print text files. But my text files are
> usually UTF-8 and it seems enscript doesn't support UTF-8 as far as the
> manual says. So what I am now doing is using iconv to convert to latin1
> before invoking enscript. If you'd like to share how you do it, I'd
> appreciate hearing about.

you could replace enscript by paps (ports collection) for that.

With best regards
Matthias

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: John D Groenveld
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: Groenveld.US
Date: Tue, 31 Dec 2024 15:41 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: 31 Dec 2024 15:41:35 GMT
Organization: Groenveld.US
Lines: 19
Message-ID: <ltihleFnsqU1@mid.individual.net>
References: <86ldw2gu39.fsf@example.com> <vkketk$34iqu$1@dont-email.me> <lt6931F1iqtU1@mid.individual.net> <867c7lfetn.fsf@example.com>
X-Trace: individual.net YrWwuKMc3sMb1WCZ+YJY9gjoAjRKJPRo1UR10ESEXN1c/jAeoK
Cancel-Lock: sha1:xY/UK/KpBPJfFULoiZQ1rgwycKM= sha256:rD0feqfTbuORLNJLqXLzL+L9GO8Wl22Ie/0m/y7S1aw=
View all headers

In article <867c7lfetn.fsf@example.com>,
Salvador Mirzo <smirzo@example.com> wrote:
>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---

Looks to me like a bug in FreeBSD's CUPS port.
Rebuild CUPS with ipptool(1) on.
$ ipptool -tv ipp://BRWB052162167A6/ipp/print get-printer-attributes.test

Assuming Get-Printer-Attributes passes, what is document-format-supported?
John
groenveld@acm.org

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Salvador Mirzo
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Wed, 1 Jan 2025 02:20 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: smirzo@example.com (Salvador Mirzo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Tue, 31 Dec 2024 23:20:35 -0300
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <865xmz46mk.fsf@antartida.xyz>
References: <86ldw2gu39.fsf@example.com> <vkketk$34iqu$1@dont-email.me>
<lt6931F1iqtU1@mid.individual.net> <867c7lfetn.fsf@example.com>
<ltihleFnsqU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 01 Jan 2025 03:20:47 +0100 (CET)
Injection-Info: dont-email.me; posting-host="de0e49f224a05347dbc528568667835a";
logging-data="2630236"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3ilZ0r4MG+2OPuBvbzUd6cR5iv/gjoeE="
Cancel-Lock: sha1:74i1x1augfQkhjZepT0OoRD7S5o=
sha1:aU4Vz1z9vZ/3DAha6xc8PEO91MQ=
View all headers

groenveld@acm.org (John D Groenveld) writes:

> In article <867c7lfetn.fsf@example.com>,
> Salvador Mirzo <smirzo@example.com> wrote:
>>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---
>
> Looks to me like a bug in FreeBSD's CUPS port.
> Rebuild CUPS with ipptool(1) on.
> $ ipptool -tv ipp://BRWB052162167A6/ipp/print get-printer-attributes.test

Hi, John! I was missing the package cups-filters-1.28.17_6. After I
installed it, that error vanished and I've been able to print with CUPS
just fine, minus an issue with two-sided print outs (they're all coming
out with the flip long edge option, no matter what I choose).

> Assuming Get-Printer-Attributes passes, what is document-format-supported?

I have not installed CUPS from the Ports Collection. I pkg-installed
it. To try the ipptool, I think I'd need to compile it and reset up
everything. Maybe I will. Maybe I should be using IPP, but it's not
clear what I'd be gaining exactly.

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Salvador Mirzo
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Wed, 1 Jan 2025 02:21 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: smirzo@example.com (Salvador Mirzo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Tue, 31 Dec 2024 23:21:13 -0300
Organization: A noiseless patient Spider
Lines: 342
Message-ID: <86y0zv2s12.fsf@antartida.xyz>
References: <86ldw2gu39.fsf@example.com> <vkmf49$199t$1@nntp.serx01.xenet.de>
<vkmf8c$199t$2@nntp.serx01.xenet.de> <86ldw0di6k.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 01 Jan 2025 03:21:26 +0100 (CET)
Injection-Info: dont-email.me; posting-host="de0e49f224a05347dbc528568667835a";
logging-data="2630236"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xH717i2PAJ9PoOQNiu0TfPYuG59o8Ltc="
Cancel-Lock: sha1:0y+mLqciYovcWkhSa30HqtwjLWk=
sha1:6PZuJifZr3PTR9M9eh5Kl7ZihGw=
View all headers

Salvador Mirzo <smirzo@example.com> writes:

> Matthias Meyser <Meyser@xenet.de> writes:
>
>> Am 27.12.2024 um 15:55 schrieb Matthias Meyser:
>>> This ist a PCL Printer.
>>> see
>>> https://docs.freebsd.org/de/books/handbook/printing/#printing-lpd-filters-ps2pcl
>>>
>>
>> in english :)
>>
>> https://docs.freebsd.org/en/books/handbook/printing/#printing-lpd-filters-ps2pcl
>
> Thank you so much. That allows me to use lpd and it's working. The
> handbook test was successful and I just asked Firefox to print a text
> document using /usr/bin/lpr (using my /etc/printcap entry). It worked!
>
> I would still like to understand what's going on with CUPS, so I will
> continue the troubleshooting but I'm very happy that I can print just
> fine with lpd.

I found the FreeBSD package called print/brlaser. It gives a driver to
CUPS that matches the printer Brother HL-L2360DW exactly. Now I can
print with CUPS as well. But there's still one thing that I cannot do
that is to print on two sides of the paper using the flip on long edge
option. I'm printing on both sides just fine, but no matter what I do
it always comes out with flip on short edge. I wonder if anyone knows
anything I could do. My desire nearly 100% of the times is to print
two-sided with flip-on-long-edge, so if I could somehow set the printer
to always do this, that'd be right nearly 100%.

I found a file at

/usr/local/etc/cups/ppd/Brother_HL-L2360D_series.ppd

that has the content below. I don't know how to change this file, but
perhaps it could be of some hope. (I'm also showing my CUPS
configuration below, but I suppose it's not relevant.)

--8<-------------------------------------------------------->8---
*PPD-Adobe: "4.3"
*%%%% PPD file for HL-L2360D series with CUPS.
*%%%% Created by the CUPS PPD Compiler CUPS v2.4.11.
*FormatVersion: "4.3"
*FileVersion: "6"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName: "brl2360d.ppd"
*Product: "(HL-L2360D series)"
*Manufacturer: "Brother"
*ModelName: "Brother HL-L2360D series"
*ShortNickName: "Brother HL-L2360D series"
*NickName: "Brother HL-L2360D series, using brlaser v6"
*PSVersion: "(3010.000) 0"
*LanguageLevel: "3"
*ColorDevice: False
*DefaultColorSpace: Gray
*FileSystem: False
*Throughput: "1"
*LandscapeOrientation: Plus90
*TTRasterizer: Type42
*% Driver-defined attributes...
*1284DeviceID: "MFG:Brother;CMD:PJL,PCL,PCLXL,URF;MDL:HL-L2360D series;CLS:PRINTER;CID:Brother Laser Type1;URF:W8,CP1,IS4-1,MT1-3-4-5-8,OB10,PQ4,RS300-600,V1.3,DM1;"
*cupsBackSide: "Rotated"
*cupsVersion: 2.4
*cupsModelNumber: 0
*cupsManualCopies: False
*cupsFilter: "application/vnd.cups-raster 33 rastertobrlaser"
*cupsLanguages: "en"
*OpenUI *PageSize/Media Size: PickOne
*OrderDependency: 10 AnySetup *PageSize
*DefaultPageSize: A4
*PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize A5/A5: "<</PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageSize A6/A6: "<</PageSize[297 420]/ImagingBBox null>>setpagedevice"
*PageSize B5/JIS B5: "<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageSize B6/JIS B6: "<</PageSize[363 516]/ImagingBBox null>>setpagedevice"
*PageSize EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
*PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
*PageSize EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageSize Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
*PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageSize Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize
*OpenUI *PageRegion/Media Size: PickOne
*OrderDependency: 10 AnySetup *PageRegion
*DefaultPageRegion: A4
*PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion A5/A5: "<</PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageRegion A6/A6: "<</PageSize[297 420]/ImagingBBox null>>setpagedevice"
*PageRegion B5/JIS B5: "<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageRegion B6/JIS B6: "<</PageSize[363 516]/ImagingBBox null>>setpagedevice"
*PageRegion EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
*PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
*PageRegion EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
*PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageRegion Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion
*DefaultImageableArea: A4
*ImageableArea A4/A4: "8 8 587 826"
*ImageableArea A5/A5: "8 8 412 579"
*ImageableArea A6/A6: "8 8 289 404"
*ImageableArea B5/JIS B5: "8 8 508 713"
*ImageableArea B6/JIS B6: "8 8 355 500"
*ImageableArea EnvC5/Envelope C5: "8 8 451 633"
*ImageableArea EnvMonarch/Envelope Monarch: "8 8 271 524"
*ImageableArea EnvDL/Envelope DL: "8 8 304 608"
*ImageableArea Executive/Executive: "8 8 514 740"
*ImageableArea Legal/US Legal: "8 8 604 992"
*ImageableArea Letter/US Letter: "8 8 604 776"
*DefaultPaperDimension: A4
*PaperDimension A4/A4: "595 842"
*PaperDimension A5/A5: "420 595"
*PaperDimension A6/A6: "297 420"
*PaperDimension B5/JIS B5: "516 729"
*PaperDimension B6/JIS B6: "363 516"
*PaperDimension EnvC5/Envelope C5: "459 649"
*PaperDimension EnvMonarch/Envelope Monarch: "279 540"
*PaperDimension EnvDL/Envelope DL: "312 624"
*PaperDimension Executive/Executive: "522 756"
*PaperDimension Legal/US Legal: "612 1008"
*PaperDimension Letter/US Letter: "612 792"
*OpenUI *Resolution/Resolution: PickOne
*OrderDependency: 10 AnySetup *Resolution
*DefaultResolution: 600dpi
*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]/cupsBitsPerColor 1/cupsRowCount 0/cupsRowFeed 0/cupsRowStep 0/cupsColorSpace 3>>setpagedevice"
*Resolution 1200dpi/1200HQ: "<</HWResolution[1200 1200]/cupsBitsPerColor 1/cupsRowCount 0/cupsRowFeed 0/cupsRowStep 0/cupsColorSpace 3>>setpagedevice"
*CloseUI: *Resolution
*OpenUI *InputSlot/Media Source: PickOne
*OrderDependency: 10 AnySetup *InputSlot
*DefaultInputSlot: Auto
*InputSlot Auto/Auto-select: "<</MediaPosition 0>>setpagedevice"
*InputSlot Tray1/Tray 1: "<</MediaPosition 1>>setpagedevice"
*InputSlot Tray2/Tray 2: "<</MediaPosition 2>>setpagedevice"
*InputSlot Tray3/Tray 3: "<</MediaPosition 3>>setpagedevice"
*InputSlot MPTray/MP Tray: "<</MediaPosition 4>>setpagedevice"
*InputSlot Manual/Manual: "<</MediaPosition 5>>setpagedevice"
*CloseUI: *InputSlot
*OpenUI *MediaType/Media Type: PickOne
*OrderDependency: 10 AnySetup *MediaType
*DefaultMediaType: PLAIN
*MediaType PLAIN/Plain paper: "<</MediaType(PLAIN)/cupsMediaType 0>>setpagedevice"
*MediaType THIN/Thin paper: "<</MediaType(THIN)/cupsMediaType 1>>setpagedevice"
*MediaType THICK/Thick paper: "<</MediaType(THICK)/cupsMediaType 2>>setpagedevice"
*MediaType THICKER/Thicker paper: "<</MediaType(THICKER)/cupsMediaType 3>>setpagedevice"
*MediaType BOND/Bond paper: "<</MediaType(BOND)/cupsMediaType 4>>setpagedevice"
*MediaType TRANS/Transparencies: "<</MediaType(TRANS)/cupsMediaType 5>>setpagedevice"
*MediaType ENV/Envelopes: "<</MediaType(ENV)/cupsMediaType 6>>setpagedevice"
*MediaType ENV-THICK/Thick envelopes: "<</MediaType(ENV-THICK)/cupsMediaType 7>>setpagedevice"
*MediaType ENV-THIN/Thin envelopes: "<</MediaType(ENV-THIN)/cupsMediaType 8>>setpagedevice"
*CloseUI: *MediaType
*OpenUI *brlaserEconomode/Toner save mode: Boolean
*OrderDependency: 10 AnySetup *brlaserEconomode
*DefaultbrlaserEconomode: False
*brlaserEconomode False/Off: "<</cupsInteger10 0>>setpagedevice"
*brlaserEconomode True/On: "<</cupsInteger10 1>>setpagedevice"
*CloseUI: *brlaserEconomode
*OpenUI *Duplex/2-Sided Printing: PickOne
*OrderDependency: 10 AnySetup *Duplex
*DefaultDuplex: None
*Duplex None/Off (1-Sided): "<</Duplex false>>setpagedevice"
*Duplex DuplexNoTumble/Long-Edge (Portrait): "<</Duplex true/Tumble false>>setpagedevice"
*Duplex DuplexTumble/Short-Edge (Landscape): "<</Duplex true/Tumble true>>setpagedevice"
*CloseUI: *Duplex
*DefaultFont: Courier
*Font AvantGarde-Book: Standard "(1.05)" Standard ROM
*Font AvantGarde-BookOblique: Standard "(1.05)" Standard ROM
*Font AvantGarde-Demi: Standard "(1.05)" Standard ROM
*Font AvantGarde-DemiOblique: Standard "(1.05)" Standard ROM
*Font Bookman-Demi: Standard "(1.05)" Standard ROM
*Font Bookman-DemiItalic: Standard "(1.05)" Standard ROM
*Font Bookman-Light: Standard "(1.05)" Standard ROM
*Font Bookman-LightItalic: Standard "(1.05)" Standard ROM
*Font Courier: Standard "(1.05)" Standard ROM
*Font Courier-Bold: Standard "(1.05)" Standard ROM
*Font Courier-BoldOblique: Standard "(1.05)" Standard ROM
*Font Courier-Oblique: Standard "(1.05)" Standard ROM
*Font Helvetica: Standard "(1.05)" Standard ROM
*Font Helvetica-Bold: Standard "(1.05)" Standard ROM
*Font Helvetica-BoldOblique: Standard "(1.05)" Standard ROM
*Font Helvetica-Narrow: Standard "(1.05)" Standard ROM
*Font Helvetica-Narrow-Bold: Standard "(1.05)" Standard ROM
*Font Helvetica-Narrow-BoldOblique: Standard "(1.05)" Standard ROM
*Font Helvetica-Narrow-Oblique: Standard "(1.05)" Standard ROM
*Font Helvetica-Oblique: Standard "(1.05)" Standard ROM
*Font NewCenturySchlbk-Bold: Standard "(1.05)" Standard ROM
*Font NewCenturySchlbk-BoldItalic: Standard "(1.05)" Standard ROM
*Font NewCenturySchlbk-Italic: Standard "(1.05)" Standard ROM
*Font NewCenturySchlbk-Roman: Standard "(1.05)" Standard ROM
*Font Palatino-Bold: Standard "(1.05)" Standard ROM
*Font Palatino-BoldItalic: Standard "(1.05)" Standard ROM
*Font Palatino-Italic: Standard "(1.05)" Standard ROM
*Font Palatino-Roman: Standard "(1.05)" Standard ROM
*Font Symbol: Special "(001.005)" Special ROM
*Font Times-Bold: Standard "(1.05)" Standard ROM
*Font Times-BoldItalic: Standard "(1.05)" Standard ROM
*Font Times-Italic: Standard "(1.05)" Standard ROM
*Font Times-Roman: Standard "(1.05)" Standard ROM
*Font ZapfChancery-MediumItalic: Standard "(1.05)" Standard ROM
*Font ZapfDingbats: Special "(001.005)" Special ROM
*% End of brl2360d.ppd, 08482 bytes.
--8<-------------------------------------------------------->8---


Click here to read the complete article
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Winston
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Wed, 1 Jan 2025 03:17 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: wbe@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Tue, 31 Dec 2024 22:17:09 -0500
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <ydy0zvgr4a.fsf@UBEblock.psr.com>
References: <86ldw2gu39.fsf@example.com> <vkmf49$199t$1@nntp.serx01.xenet.de>
<vkmf8c$199t$2@nntp.serx01.xenet.de> <86ldw0di6k.fsf@example.com>
<86y0zv2s12.fsf@antartida.xyz>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 01 Jan 2025 04:17:06 +0100 (CET)
Injection-Info: dont-email.me; posting-host="42652e8c0c6e891e45e068a8bf41fdd0";
logging-data="2640853"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pVapStiNjdSqhcQ/gxS/q"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:NQxbU0f1LVwWMpOUFE0DHif5HGc=
sha1:aCIP+SnzKPLK2opvkfZmR+Qhfmc=
Mail-Copies-To: never
View all headers

Salvador Mirzo <smirzo@example.com> writes:
> But there's still one thing that I cannot do
> that is to print on two sides of the paper using the flip on long edge
> option. I'm printing on both sides just fine, but no matter what I do
> it always comes out with flip on short edge. I wonder if anyone knows
> anything I could do. My desire nearly 100% of the times is to print
> two-sided with flip-on-long-edge, so if I could somehow set the printer
> to always do this, that'd be right nearly 100%.

I'm mostly a spectator to this thread with no actual knowledge about the
issue, but in perusing your previous article, these stood out:

> *cupsBackSide: "Rotated"

> *OpenUI *Duplex/2-Sided Printing: PickOne
> *OrderDependency: 10 AnySetup *Duplex
> *DefaultDuplex: None
> *Duplex None/Off (1-Sided): "<</Duplex false>>setpagedevice"
> *Duplex DuplexNoTumble/Long-Edge (Portrait): "<</Duplex true/Tumble false>>setpagedevice"
> *Duplex DuplexTumble/Short-Edge (Landscape): "<</Duplex true/Tumble true>>setpagedevice"
> *CloseUI: *Duplex

Some full-duplex printers print on both sides of the page, same paper
edge "up" for both sides (i.e., like pages in a book), when simply sent
consecutive pages of text as if they were individual pages.
-WBE

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: John D Groenveld
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: Groenveld.US
Date: Wed, 1 Jan 2025 16:16 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: 1 Jan 2025 16:16:34 GMT
Organization: Groenveld.US
Lines: 29
Message-ID: <ltl831Fdu1pU1@mid.individual.net>
References: <86ldw2gu39.fsf@example.com> <vkketk$34iqu$1@dont-email.me> <lt6931F1iqtU1@mid.individual.net> <867c7lfetn.fsf@example.com> <ltihleFnsqU1@mid.individual.net> <865xmz46mk.fsf@antartida.xyz>
X-Trace: individual.net fz5UbR17p3+I7C1hxMfQEQweut9ZvHx+rOBhsryvc7ATqIeeyu
Cancel-Lock: sha1:ey8SMrCvRzArsese6ipINgRV+J0= sha256:0I5P0jvvfAKCazpUQfQXGO1Ie+7/cHEVOxZfr1Yz/jw=
View all headers

In article <865xmz46mk.fsf@antartida.xyz>,
Salvador Mirzo <smirzo@example.com> wrote:
>Hi, John! I was missing the package cups-filters-1.28.17_6. After I
>installed it, that error vanished and I've been able to print with CUPS
>just fine, minus an issue with two-sided print outs (they're all coming
>out with the flip long edge option, no matter what I choose).

I'm fairly certain your printer should not require the CUPS filters and
you should be able to spew PostScript and PDF directly:
$ nc BRWB052162167A6 9100 < example.pdf

>I have not installed CUPS from the Ports Collection. I pkg-installed
>it. To try the ipptool, I think I'd need to compile it and reset up
>everything. Maybe I will. Maybe I should be using IPP, but it's not
>clear what I'd be gaining exactly.

The promise of modern CUPS and modern printers, is to automagically
interrogate the printers capabilities and controls without loads of
dependencies to create and spew vendor specific print control languages.

I'm curious what ipptool(1) returns for your Brother printer so if you
have bandwidth to download ports and rebuild print/cups package with
ipptool enabled, I would like to see where things have gone sideways.

The handbook walks you thru fetching the ports tree and configuring
and building port package:
<URL:https://docs.freebsd.org/en/books/handbook/ports/#ports-using>
John
groenveld@acm.org

Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Salvador Mirzo
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Sat, 4 Jan 2025 00:07 UTC
References: 1 2 3 4 5 6 7
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: smirzo@example.com (Salvador Mirzo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Fri, 03 Jan 2025 21:07:34 -0300
Organization: A noiseless patient Spider
Lines: 366
Message-ID: <87jzbbsapl.fsf@example.com>
References: <86ldw2gu39.fsf@example.com> <vkketk$34iqu$1@dont-email.me>
<lt6931F1iqtU1@mid.individual.net> <867c7lfetn.fsf@example.com>
<ltihleFnsqU1@mid.individual.net> <865xmz46mk.fsf@antartida.xyz>
<ltl831Fdu1pU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Injection-Date: Sat, 04 Jan 2025 01:07:36 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1443563f7876e6467f80474a28794092";
logging-data="146290"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hcO/W1aSPPaNwHnPU8dmPp6lmVonBmVA="
Cancel-Lock: sha1:uyNWSVvOAc3HS9cGg+KtdLddzEY=
sha1:aC3w15Tj5QAVJY1EmIGjxTLO/CM=
View all headers

groenveld@acm.org (John D Groenveld) writes:

> In article <865xmz46mk.fsf@antartida.xyz>,
> Salvador Mirzo <smirzo@example.com> wrote:
>>Hi, John! I was missing the package cups-filters-1.28.17_6. After I
>>installed it, that error vanished and I've been able to print with CUPS
>>just fine, minus an issue with two-sided print outs (they're all coming
>>out with the flip long edge option, no matter what I choose).
>
> I'm fairly certain your printer should not require the CUPS filters and
> you should be able to spew PostScript and PDF directly:
> $ nc BRWB052162167A6 9100 < example.pdf

I tried this today and I got the same result. It prints the PDF content
as text. First line was something like %PDF.

But hang on---I must explain that my lab has been destroyed. I was
running FreeBSD and getting to know the system. It turns out FreeBSD
doesn't suspend to disk yet, so I gave OpenBSD a try and I lost my
ability to boot into FreeBSD. The test above I did today was actually
on OpenBSD.

Since you're curious, I can try to dual boot and continue our tests.
I'll reinstall FreeBSD if necessary. My experience so far with respect
to the printer is that all the behavior I saw in FreeBSD is present here
in OpenBSD too. But I'll let you guide the investigation. If we should
get back to FreeBSD, I will.

By the way, right now the printer is installed with the lpadmin command
line that you recommended first. CUPS sees the printer. When I try to
print a couple of pages from a PDF opened in Firefox, I see the printer
available in the printing dialog. However, the printer doesn't do
anything. I see no errors. Both CUPS logs---access_log and
error_log---display no entry relative to this attempt at print.

(I did remove in CUPS the printer that was there before.)

This situation is also the same thing I saw in FreeBSD when I first
tried to use IPP.

By the way, here's the output of that command you suggested in a
previous follow-up. (Some very long lines will be included.) From the
output, I found the URL http://BRWB052162167A6/net/net/airprint.html and
there's a lot of detailed information about the printer there.

> Looks to me like a bug in FreeBSD's CUPS port.
> Rebuild CUPS with ipptool(1) on.
> $ ipptool -tv ipp://BRWB052162167A6/ipp/print get-printer-attributes.test

> Assuming Get-Printer-Attributes passes, what is document-format-supported?

# ipptool -tv ipp://BRWB052162167A6/ipp/print get-printer-attributes.test
"/usr/local/share/cups/ipptool/get-printer-attributes.test":
Get-Printer-Attributes:
attributes-charset (charset) = utf-8
attributes-natural-language (naturalLanguage) = en
printer-uri (uri) = ipp://BRWB052162167A6:631/ipp/print
requested-attributes (1setOf keyword) = all,media-col-database
Get printer attributes using get-printer-attributes [PASS]
RECEIVED: 20968 bytes in response
status-code = successful-ok (successful-ok)
attributes-charset (charset) = utf-8
attributes-natural-language (naturalLanguage) = en
copies-default (integer) = 1
finishings-default (enum) = none
media-default (keyword) = iso_a4_210x297mm
media-col-default (collection) = {media-type=stationery media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=auto media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}}
orientation-requested-default (enum) = portrait
output-bin-default (keyword) = face-down
output-mode-default (keyword) = monochrome
print-quality-default (enum) = normal
printer-resolution-default (resolution) = 600dpi
sides-default (keyword) = two-sided-long-edge
print-color-mode-default (keyword) = monochrome
print-content-optimize-default (keyword) = auto
print-scaling-default (keyword) = auto
copies-supported (rangeOfInteger) = 1-99
finishings-supported (enum) = none
media-supported (1setOf keyword) = iso_a4_210x297mm,na_letter_8.5x11in,na_legal_8.5x14in,na_executive_7.25x10.5in,iso_a5_148x210mm,iso_a6_105x148mm,iso_b5_176x250mm,na_number-10_4.125x9.5in,iso_dl_110x220mm,iso_c5_162x229mm,na_monarch_3.875x7.5in,na_index-3x5_3x5in,na_foolscap_8.5x13in,custom_min_76.2x127mm,custom_max_215.9x355.6mm
media-col-supported (1setOf keyword) = media-type,media-size,media-top-margin,media-left-margin,media-right-margin,media-bottom-margin,media-source
orientation-requested-supported (1setOf enum) = portrait,landscape
output-bin-supported (keyword) = face-down
output-mode-supported (1setOf keyword) = monochrome,auto
print-quality-supported (enum) = normal
printer-resolution-supported (1setOf resolution) = 600dpi,2400x600dpi,300dpi
sides-supported (1setOf keyword) = one-sided,two-sided-long-edge,two-sided-short-edge
print-color-mode-supported (1setOf keyword) = monochrome,auto
print-content-optimize-supported (keyword) = auto
print-scaling-supported (1setOf keyword) = auto,auto-fit,fill,fit,none
generated-natural-language-supported (1setOf naturalLanguage) = en,fr,de,it,es,sv,da,no,nl,fi,pt,tr,pl,ru,cs,hu,bg,ro,sk,pt,hr,sl
printer-uri-supported (uri) = ipp://BRWB052162167A6/ipp/print
uri-security-supported (keyword) = none
uri-authentication-supported (keyword) = none
printer-name (nameWithoutLanguage) = BRWB052162167A6
printer-location (textWithoutLanguage) =
printer-info (textWithoutLanguage) = Brother HL-L2360D series
printer-make-and-model (textWithoutLanguage) = Brother HL-L2360D series
printer-state (enum) = idle
printer-state-reasons (1setOf keyword) = opc-life-over-warning,toner-low-warning
ipp-versions-supported (1setOf keyword) = 1.0,1.1,2.0
operations-supported (1setOf enum) = Print-Job,Validate-Job,Create-Job,Send-Document,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Identify-Printer
multiple-document-jobs-supported (boolean) = false
multiple-operation-time-out (integer) = 150
natural-language-configured (naturalLanguage) = en
charset-configured (charset) = utf-8
charset-supported (charset) = utf-8
document-format-supported (1setOf mimeMediaType) = application/octet-stream,image/urf,image/pwg-raster
document-format-default (mimeMediaType) = application/octet-stream
printer-is-accepting-jobs (boolean) = true
queued-job-count (integer) = 0
pdl-override-supported (keyword) = attempted
printer-up-time (integer) = 175
compression-supported (keyword) = none
color-supported (boolean) = false
job-creation-attributes-supported (1setOf keyword) = copies,finishings,ipp-attribute-fidelity,job-name,media,media-col,orientation-requested,output-bin,output-mode,print-quality,printer-resolution,requesting-user-name,sides,print-color-mode
landscape-orientation-requested-preferred (enum) = 5
marker-colors (nameWithoutLanguage) = #000000
marker-high-levels (integer) = 100
marker-levels (integer) = 10
marker-low-levels (integer) = 10
marker-names (nameWithoutLanguage) = BK
marker-types (keyword) = toner
media-bottom-margin-supported (integer) = 432
media-left-margin-supported (integer) = 432
media-right-margin-supported (integer) = 432
media-source-supported (1setOf keyword) = auto,manual,tray-1
media-top-margin-supported (integer) = 432
media-type-supported (1setOf keyword) = stationery,stationery-lightweight,stationery-heavyweight,stationery-cover,envelope,envelope-heavyweight,envelope-lightweight,stationery-recycled,labels,stationery-bond
media-size-supported (1setOf collection) = {x-dimension=21000 y-dimension=29700},{x-dimension=21590 y-dimension=27940},{x-dimension=21590 y-dimension=35560},{x-dimension=18415 y-dimension=26670},{x-dimension=14800 y-dimension=21000},{x-dimension=10500 y-dimension=14800},{x-dimension=17600 y-dimension=25000},{x-dimension=10477 y-dimension=24130},{x-dimension=11000 y-dimension=22000},{x-dimension=16200 y-dimension=22900},{x-dimension=9842 y-dimension=19050},{x-dimension=7620 y-dimension=12700},{x-dimension=21590 y-dimension=33020},{x-dimension=7620-21590 y-dimension=12700-35560}
pages-per-minute (integer) = 30
pdf-versions-supported (keyword) = none
printer-device-id (textWithoutLanguage) = MFG:Brother;CMD:PJL,PCL,PCLXL,URF;MDL:HL-L2360D series;CLS:PRINTER;CID:Brother Laser Type1;URF:W8,CP1,IS4-1,MT1-3-4-5-8,OB10,PQ4,RS300-600,V1.3,DM1;
printer-icons (1setOf uri) = http://BRWB052162167A6/ipp/printer-icons-128.png,http://BRWB052162167A6/ipp/printer-icons-512.png
printer-more-info (uri) = http://BRWB052162167A6/net/net/airprint..html
printer-uuid (uri) = urn:uuid:e3248000-80ce-11db-8000-3c2af43f4d7c
urf-supported (1setOf keyword) = W8,CP1,IS4-1,MT1-3-4-5-8,OB10,PQ4,RS300-600,V1.3,DM1
job-impressions-supported (rangeOfInteger) = 1-999
printer-geo-location (unknown) = unknown
printer-dns-sd-name (nameWithoutLanguage) = Brother HL-L2360D series
printer-supply-info-uri (uri) = http://BRWB052162167A6/general/status.html
media-ready (keyword) = iso_a4_210x297mm
media-col-ready (collection) = {media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}}
printer-kind (1setOf keyword) = document,envelope,label
identify-actions-default (keyword) = flash
identify-actions-supported (keyword) = flash
ipp-features-supported (1setOf keyword) = airprint-1.3,wfds-print-1.0
pwg-raster-document-resolution-supported (resolution) = 600dpi
pwg-raster-document-sheet-back (keyword) = rotated
pwg-raster-document-type-supported (1setOf keyword) = srgb_8,sgray_8
media-col-database (1setOf collection) = {media-type=stationery media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=21590 y-dimension=27940} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=21590 y-dimension=35560} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=18415 y-dimension=26670} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=14800 y-dimension=21000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=10500 y-dimension=14800} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=7620 y-dimension=12700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery media-size={x-dimension=21590 y-dimension=33020} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=21590 y-dimension=27940} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=21590 y-dimension=35560} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=18415 y-dimension=26670} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=14800 y-dimension=21000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=10500 y-dimension=14800} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=7620 y-dimension=12700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=stationery-recycled media-size={x-dimension=21590 y-dimension=33020} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=21590 y-dimension=27940} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=21590 y-dimension=35560} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=18415 y-dimension=26670} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=14800 y-dimension=21000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=10500 y-dimension=14800} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=7620 y-dimension=12700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-type=labels media-size={x-dimension=21590 y-dimension=33020} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=tray-1 media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=21000 y-dimension=29700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=21590 y-dimension=27940} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=21590 y-dimension=35560} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=18415 y-dimension=26670} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=14800 y-dimension=21000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=10500 y-dimension=14800} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=17600 y-dimension=25000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=10477 y-dimension=24130} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=11000 y-dimension=22000} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=16200 y-dimension=22900} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=9842 y-dimension=19050} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=7620 y-dimension=12700} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}},{media-size={x-dimension=21590 y-dimension=33020} media-bottom-margin=432 media-left-margin=432 media-right-margin=432 media-top-margin=432 media-source=manual media-source-properties={media-source-feed-direction=short-edge-first media-source-feed-orientation=3}}


Click here to read the complete article
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
From: Salvador Mirzo
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Sat, 4 Jan 2025 00:16 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: smirzo@example.com (Salvador Mirzo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: unsuccessfully install of printer brother hl-l2360dw
Date: Fri, 03 Jan 2025 21:16:17 -0300
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <87a5c7sab2.fsf@example.com>
References: <86ldw2gu39.fsf@example.com> <vkmf49$199t$1@nntp.serx01.xenet.de>
<vkmf8c$199t$2@nntp.serx01.xenet.de> <86ldw0di6k.fsf@example.com>
<86y0zv2s12.fsf@antartida.xyz> <ydy0zvgr4a.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Sat, 04 Jan 2025 01:16:18 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1443563f7876e6467f80474a28794092";
logging-data="146290"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3ad1Nuh9odV/w0T9BsxdT9Mk+0U23z0c="
Cancel-Lock: sha1:gvdKlVZjq+N6nOXQuMgs+/MtScQ=
sha1:+YaGm6hM/KQV4rSk4iZ2S3U1LHs=
View all headers

Winston <wbe@UBEBLOCK.psr.com.invalid> writes:

> Salvador Mirzo <smirzo@example.com> writes:
>> But there's still one thing that I cannot do
>> that is to print on two sides of the paper using the flip on long edge
>> option. I'm printing on both sides just fine, but no matter what I do
>> it always comes out with flip on short edge. I wonder if anyone knows
>> anything I could do. My desire nearly 100% of the times is to print
>> two-sided with flip-on-long-edge, so if I could somehow set the printer
>> to always do this, that'd be right nearly 100%.
>
> I'm mostly a spectator to this thread with no actual knowledge about the
> issue, but in perusing your previous article, these stood out:
>
>> *cupsBackSide: "Rotated"
>
>> *OpenUI *Duplex/2-Sided Printing: PickOne
>> *OrderDependency: 10 AnySetup *Duplex
>> *DefaultDuplex: None
>> *Duplex None/Off (1-Sided): "<</Duplex false>>setpagedevice"
>> *Duplex DuplexNoTumble/Long-Edge (Portrait): "<</Duplex true/Tumble false>>setpagedevice"
>> *Duplex DuplexTumble/Short-Edge (Landscape): "<</Duplex true/Tumble true>>setpagedevice"
>> *CloseUI: *Duplex

I don't really know what these lines are saying. It looks to me like a
key-value table, but that's an assumption I'm making. I have no idea
what values are available---I have no made sense of this syntax.

> Some full-duplex printers print on both sides of the page, same paper
> edge "up" for both sides (i.e., like pages in a book), when simply sent
> consecutive pages of text as if they were individual pages.

Over here so far this printer is printing two-side-short-edge on any two
pages I send to the printer. (Except for the printer settings I just
printed out after learning about the web interface of the printer---a
URL that appeared in the ipptool(1) that John Groenveld mentioned. It
did print 3 pages of settings and it was two-sided-long-edge.) Either I
tell it to do one-sided or it does long-edge. So even if I had the
patience to always print two and two pages---if I understood you
correctly---, I don't think I'd get the same effect.

I've been living with two-sided-short-edge; it's not the end of the
world. I print mostly to read away from my desk. Once upon a time I
printed my master's and doctorate dissertation, but I have no other
dissertation planned to be printed any time soon.

1

rocksolid light 0.9.8
clearnet tor