Enter command, Comment command – Brother HL-2170W User Manual

Page 215

Advertising
background image

CHAPTER 5 PJL - 11

Example

<ESC>%-12345X@PJL<CR><LF>
@PJL EXECUTE DEMOPAGE <CR><LF>
<ESC>%-12345X

4.4.

ENTER Command

The ENTER command specifies which emulation the printer uses to print data.

Syntax

@PJL ENTER LANGUAGE = emulation [<CR>]<LF>

Parameters

emulation

The variables depend on the printer model.

The ENTER command must be placed immediately before print data.

The specified emulation will be used immediately after the terminating <LF> of the ENTER command.

If the printer does not receive the ENTER command, it uses the default printer language which is set by the

control panel or the printer language which is set by the SET PERSONALITY command.

When a printer emulation is selected by the ENTER command, the printer must switch to the defined printer

language.

If this command specifies an emulation which is not supported, data after this command is ignored until the

next UEL command.

Example

<ESC>%-12345X@PJL<CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E.......PCL JOB........<ESC>E
<ESC>%-12345X
@PJL COMMENT Start of Postscript job <CR><LF>
@PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>
%!PS-ADOBE......Postscript JOB.....^D
<ESC>%-12345X
@PJL COMMENT End of Postscript job <CR><LF>
<ESC>%-12345X

4.5.

COMMENT Command

The COMMENT command is used to add an information line, such as an explanation for the PJL command.

Syntax

@PJL COMMENT remarks [<CR>]<LF>

Parameters

remarks

Printable characters (ASCII 33-255) and White space which contains <HT> and <SP>)

The COMMENT command is helpful for placing an explanation of a PJL command.

The COMMENT command can be placed on the PJL line anywhere between the UEL command and the

ENTER

command.

The COMMENT command is terminated by <LF>.

Comments can only be one line long. If you wish to add more text, start a new comment line.

Advertising