The following information is provided as is, and the authors take no responsibility for the correctness.

HBP - Brother Host Based Printing

Reference

Introduction

HBP commands are composed of ‘@’, an uppercase command specifier character and possible parameters.

Syntax Conventions

The conventions listed in the table bellow are used to describe the EJL commands in this document:

Convention Description
[ ] Brackets indicate optional parameters. Do not include the barackets themselves.
< > Idicates control characters like <LF> for the line feed character
~ The tilde character indicates that the current line continues in the next line.
“This example belongs on ~
the same line”
/ A slash indicates there are more then one optional parameters

The following control codes and special identifiers are used in this document:

Code Description
<NUL> Null character (ASCII 0)
<SOH> Start Of Heading character (ASCII 1)
<HT> Horizontal Tab character (ASCII 9).
<LF> Line Feed character (ASCII 10).
<FF> Form Feed character (ASCII 12).
<CR> Carriage Return character (ASCII 13).
<ESC> Escape character (ASCII 27).
<SP> Space character (ASCII 32).
<WS> White Space, a result of one or more <SP> or <HT> characters.

Commands

Command Param Function
@A ? Undocumented
@B ? Undocumented
@C ? Undocumented
@D ? Set Centronics Port Speed
@E ? Set Economy Mode
@F ? Form Feed
@G ? Send Rasta Data
@H ? Undocumented
@I ? Request Information (Undocumented)
@J ? Set Engine settings
@K ? Execute Engine command
@L ? Set Resolution
@M ? Set Error Mode
@N ? Undocumented
@O ? Set Duplex Mode
@P ? Undocumented
@Q ? Undocumented
@R ? Undocumented
@S ? Set Media Tray
@T ? Set Sleep Time
@U ? Set Password
@V ? Undocumented
@W ? Undocumented
@X ? Exit HBP
@Y ? Undocumented
@Z ? Undocumented

Enter HBP

HBP Mode is entered by sending the following PJL string:

<ESC>%-12345X@PJL<LF> 
@PJL<SP>ENTER<SP>LANGUAGE<SP>=<SP>HBP<LF>

Set Centronics Port Speed

@D

Set Economy Mode

Syntax:

@E[mode]
Parameter Size Description
[mode] 1 byte 0×00: economy mode = off
0×01: toner density = dark
0×02: toner density = medium
0×03: toner density = light

Form Feed

@F

Send Rasta Data

@G

Request Information

This command is undocumented.

Set Engine settings

@J

Execute Engine command

@K

Set Resolution

@L

Set Error Mode

Determinate how the printer handles errors. When not used, the printer will use default settings.

@M[mode]

Set Duplex Mode

Syntax:

@O<mode>
Parameter Size Description
<mode> 1 char “0”: simplex
“1”: landscape
“2”: portrait

Set Media Tray

Syntax:

@S<tray>
Parameter Size Description
<tray> 1 char “1”: tray 1
“2”: tray 2
“M”: manual
“O”: multipurpose
“o”: auto

Set Sleep Time

@T

Set User Password

@U

Exit HBP

With this command, the printer leaves HBP mode. Must be send the the end of each print job.

@X

Aditional Info

 
formats/page_description_languages/brother_hbp.txt · Last modified: 2007/04/17 13:10 by christoph
 

All text is available under the terms of the GNU Free Documentation License (see Copyrights for details). Disclaimers

Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki