Re: Trouble with lpr and Brother wireless printer

2022-08-05 Thread Ben Hancock
On Fri, 5 Aug 2022 00:05:29 -0700 Ryan Freeman wrote: > Did you happen to try CUPS with the brlaser package installed? > I have a Brother HL-L2390DW, and once I found brlaser it just worked. You, sir, are a saint. It works!! I can't believe I didn't manage to find that package (((facepalm))).

Re: Trouble with lpr and Brother wireless printer

2022-08-05 Thread B. Atticus Grobe
I'm sorry the filter didn't work for you. I'm not using OpenBSD as a desktop right now, but I abused my router a bit to test, and can confirm that with an HL-L2370DW, the following printcap entry works, along with the filter. I know you've basically already moved on, but if you feel like giving it

Re: Trouble with lpr and Brother wireless printer

2022-08-05 Thread Stuart Henderson
On 2022-08-05, Sean Kamath wrote: > What I still believe: Get a printer that does one thing: Print. No > gizmofrobs or wingdings. And get a laser printer. Ink is a nightmare. OTOH I'm very happy with my Brother MFC-J4335DW inkjet. I haven't got scanning to work from OpenBSD but that works

Re: Trouble with lpr and Brother wireless printer

2022-08-05 Thread Ryan Freeman
On Thu, Aug 04, 2022 at 09:27:09PM -0700, Ben Hancock wrote: > Boy, I went down the rabbit hole on this one. I'll spare the list > all the gory details, but for the sake of posterity I figured I'll > try to close the loop on this thread. > > To make a long story short: After failing to get the

Re: Trouble with lpr and Brother wireless printer

2022-08-05 Thread Sean Kamath
> On Aug 4, 2022, at 21:27, Ben Hancock wrote: > > So, to wrap up: I do not recommend the Brother HLL2350DW for your > OpenBSD printing needs. I may end up heeding the suggestions to > simply buy a printer that speaks PostScript. Recommendations welcome. HP used to make freakin’ tanks, and I

Re: Trouble with lpr and Brother wireless printer

2022-08-05 Thread Jan Stary
On Aug 04 21:27:09, b...@benghancock.com wrote: > So, to wrap up: I do not recommend the Brother HLL2350DW for your > OpenBSD printing needs. I may end up heeding the suggestions to > simply buy a printer that speaks PostScript. Recommendations welcome. I bought an HP LaserJet M608 for peanuts,

Re: Trouble with lpr and Brother wireless printer

2022-08-04 Thread Ben Hancock
Boy, I went down the rabbit hole on this one. I'll spare the list all the gory details, but for the sake of posterity I figured I'll try to close the loop on this thread. To make a long story short: After failing to get the printer working with just regular lpr, I tried CUPS to no avail. Along

Re: Trouble with lpr and Brother wireless printer

2022-08-02 Thread Sean Kamath
The shortest postscript I know to test a printer: %! newpath clippath stroke showpage It will draw a line around the page clipping path (i.e., the outer most edge the printer can print at). Sean PS That’s also short enough to type at a printer if you connect to it with ’nc’. :-) > On Aug 2,

Re: Trouble with lpr and Brother wireless printer

2022-08-02 Thread Ben Hancock
On Tue, 2 Aug 2022 02:09:37 -0400 gwes wrote: > Are you sure that you're feeding the printer a valid postscript file? > If there isn't something like > (TimesRoman) findfont 48 scalefont setfont 200 300 moveto (text) show > showpage > nothing happens. I believe so. The two samples I've tried

Re: Trouble with lpr and Brother wireless printer

2022-08-02 Thread Stuart Henderson
On 2022-08-02, Ben Hancock wrote: > FWIW, I do know that the printer _works_, as I can print from machines > running other OS'es via the usual ways. One thing you could try is doing a packet capture on a working OS (e.g. with wireshark) and compare with what you're sending from lpr. > I'm on

Re: Trouble with lpr and Brother wireless printer

2022-08-02 Thread gwes
On 8/2/22 00:16, Ben Hancock wrote: On Mon, 1 Aug 2022 07:50:19 - (UTC) Stuart Henderson wrote: On 2022-07-31, John Mettraux wrote: Brother MFC-L3770CDW wireless here. My /etc/printcap goes: lp:\ sd=/var/spool/lpd:lp=:rm=192.168.xxx.xxx:rp=BINARY_P1 Maybe it will help. Also try

Re: Trouble with lpr and Brother wireless printer

2022-08-01 Thread Ben Hancock
On Mon, 1 Aug 2022 07:50:19 - (UTC) Stuart Henderson wrote: > On 2022-07-31, John Mettraux wrote: > > Brother MFC-L3770CDW wireless here. > > > > My /etc/printcap goes: > > > > lp:\ > > sd=/var/spool/lpd:lp=:rm=192.168.xxx.xxx:rp=BINARY_P1 > > > > Maybe it will help. > > Also try

Re: Trouble with lpr and Brother wireless printer

2022-08-01 Thread Stuart Henderson
On 2022-07-31, John Mettraux wrote: > > On Sat, Jul 30, 2022 at 08:40:59PM -0700, Ben Hancock wrote: >> >> Here's my /etc/printcap: >> >> lp|brother:\ >> :rm=192.168.xxx.xxx:\ >> :rp=brother:\ >> :sd=/var/spool/output/lpd:\ >> :lf=/var/log/lpd-errs: > > Hello, > > Brother

Re: Trouble with lpr and Brother wireless printer

2022-07-31 Thread Jan Stary
Seriously, get a printer that speaks PostScript and PDF. These exist, and are not too expensive. The just say lp::lp=:rm=aa.bb.cc.dd:rp=lp:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:sh: On Jul 31 13:34:18, grobe...@gmail.com wrote: > I use an HL-L2370DW which only accepts PCL on BINARY_P1. >

Trouble with lpr and Brother wireless printer

2022-07-31 Thread B. Atticus Grobe
I use an HL-L2370DW which only accepts PCL on BINARY_P1. I think it likely that yours acts the same. You'll have to tell lp to send the output through a filter, using (iirc) the vf= option in printcap. This is what i used for a filter: #!/bin/sh gs -sPAPERSIZE=letter -sDEVICE=pxlmono

Re: Trouble with lpr and Brother wireless printer

2022-07-31 Thread Ben Hancock
On Sun, 31 Jul 2022 19:10:08 +0900 John Mettraux wrote: > Brother MFC-L3770CDW wireless here. > > My /etc/printcap goes: > > lp:\ > sd=/var/spool/lpd:lp=:rm=192.168.xxx.xxx:rp=BINARY_P1 > > Maybe it will help. Thanks very much John. I wasn't aware of the BINARY_P1 service option, which I

Re: Trouble with lpr and Brother wireless printer

2022-07-31 Thread John Mettraux
On Sat, Jul 30, 2022 at 08:40:59PM -0700, Ben Hancock wrote: > > Here's my /etc/printcap: > > lp|brother:\ > :rm=192.168.xxx.xxx:\ > :rp=brother:\ > :sd=/var/spool/output/lpd:\ > :lf=/var/log/lpd-errs: Hello, Brother MFC-L3770CDW wireless here. My /etc/printcap goes: lp:\

Trouble with lpr and Brother wireless printer

2022-07-30 Thread Ben Hancock
Hi all, I'm having trouble getting printing to work using lpr(1) and a Brother wireless printer[1] that should support it. This seems to be a perennial topic on the list, but despite trying what I've found in the archives, I'm stumped. Here's my /etc/printcap: lp|brother:\