NetBSD-Users archive

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

Re: Use network printer from NetBSD



Rocky Hotas wrote:
> On lug 04  7:41, MLH wrote:
> > From the multiple empty page output, it really looks to me like
> > the default emulation is HP LaserJet. I just can't see a way from
> > the manual to change to BR-Script3 yet.
> 
> Yes, exactly, me neither. It seems that some models (mentioned in a
> previous message in this thread, CP-L2550DN/MFC-L2730DW/MFC-L2750DW) support
> the emulation selection, but mine doesn't.
> 
> As regards the `TEXT_P1' of my previous message, I also tried something
> extremely simple:
> 
> { printf 'test \014%%'; sleep 5; } | telnet <printer_IP> 9100 
> 
> Because it seemed that no introductory character was needed, and than
> the ending character should be hex 0c, that is octal 014. But again
> blank pages are generated.

Your manual says it supports two emulation modes:
 HP LaserJet
 BR-Script3

Mine supports those two plus two more (not important here).
HPLaserJet is *not* postscript. It is their internal language.

I set my printer default to HPLaserJet and :
$ { printf 'test \014%%' ; sleep 5 ; } | telnet brother5250 9100
Trying 192.168.1.229...
Connected to brother5250.
Escape character is '^]'.
Connection closed by foreign host.

which started dumping empty pages, which is what yours is doing,
so it appears to me your printer is expecting HPLaserJet.

I am looking to see how to order it to change to BR-Script3...


Home | Main Index | Thread Index | Old Index