NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Use network printer from NetBSD



On lug 04  2:18, Greg A. Woods wrote:

> So, earlier in the thread you said:
> 
> 	"Printer is in my case Brother MFC L2750DN."
> 
> However the link for a manual you pointed at was for the MFC-L2750DW.

I managed to do the same typo twice. Model is MFC L2710DN. So, the `DN'
part was always correct; I erroneously replaced `1' with `5'.
In fact, the formats found by Johnny Billquist, `PCL6, BR-Script3 and
PDF' are supported by models `DCP-L2550DN/MFC-L2730DW/MFC-L2750DW', but
not by my printer.

> I think the only difference between the DN and the DW is that the former
> may have the ability to use a larger toner cartridge?

It is no more important, but no, I think it's the WiFi interface
(present in DW, absent in DN).

> In any case the following command (where you replace my printer's
> address with yours) should tell you what language emulations your
> printer supports:
> 
> 	{ printf '\033%%-12345X@PJL\n'; printf "@PJL INFO ID\n@PJL INFO CONFIG\n"; printf '\033%%-12345X'; sleep 5; } | telnet 10.0.1.19 9100

Thanks for this! I paste the relevant part of the output (WARNING: paste
is several lines long):

@PJL INFO ID
"Brother MFC-L2710DN series:8C5-K6G:Ver.Q"

@PJL INFO CONFIG
IN TRAYS [1 TABLES]
        INTRAY2 PC
OUT TRAYS [1 ENUMERATED]
        NORMAL FACEDOWN
PAPERS [21 ENUMERATED]
        LETTER
        LEGAL
        A4
        EXECUTIVE
        COM10
        DL
        B5
        A5
        A6
        MONARCH
        C5
        FOLIO
        P3X5
        POSTCARD
        ENVCHOU3
        A5L
        SIXTEENK195X270
        MEXICANLEGAL
        A4SHORT
        INDIALEGAL
USTATUS [4 ENUMERATED]
        DEVICE
        JOB
        PAGE
        TIMED
MEMORY=67108864
DISPLAY LINES=2
DISPLAY CHARACTER SIZE=16
LOCAL=ENGLISH

> lp|basic PJL printer using JetDirect protocol:\
>         :sh:\
>         :mx#0:\
>         :lp=9100@10.0.1.19:\
>         :sd=/var/spool/output/lpd-pjl:\
>         :if=/usr/libexec/lpr/pjlfilter:\
>         :lf=/var/log/lpd-errs:

I used this exact configuration (without modifying the
/usr/libexec/lpr/pjlfilter). Only blank pages were generated by the
printer.

> These printers also implement an LPD protocol spooler, though there may
> be an issue with knowing which remote queue name to use (in theory any
> random name will work, but some may have special meaning).

I really would not be able to know if my printer has a specific name for
this queue (unless another telnet "conversation" can reveal it).

> BTW, the term "BR-Script 3" refers to an emulated version of the Adobe
> PostScript 3 printer language from Brother.  It's just a trademark
> issue, just like GhostScript vs. PostScript.
> 
> I've got an HL-3045CN, and it's one of the "dumb" ones requiring a
> driver to send "binary" data to it, however it does claim to support the
> XL2HB emulation, which is apparently a modified version of HP PCL XL (an
> imaging "protocol" entirely unlike HP PCL).  For now since we've got
> several macOS machines here I just drive it from them using the easily
> installed CUPS driver for macOS.

In fact CUPS is the possible solution, if no other one is available, for
me too.
Thanks for your help!

Rocky



Home | Main Index | Thread Index | Old Index