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.

I think I remember seeing (in the manual for your printer series)
an alternative way of selecting postscript. I don't think it was
in the emulation settings though.

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

I get :
$ { printf 'test \014%%'; sleep 5; } | telnet brother5250 9100
Trying 192.168.1.229...
Connected to brother5250.
Escape character is '^]'.
%%[ Error: undefined; OffendingCommand: test ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
Connection closed by foreign host.

and the printer issues one page with:
 ERROR NAME
    undefined
 COMMAND;
    test
 OPERAND STACK;

But my printer is set for BR_Script3 as the default emulation.

I really suspect the printer is defaulting to some printer language
emulation other than a variant of postscript.  How to change that ??

There has to be a way to preceed the print job with a way to select
the printer emulation as windows printer drivers can somehow change
that. Maybe check into that if there isn't a way to select the
default emulation? You could then add that command sequence to the
job pipe.




Home | Main Index | Thread Index | Old Index