Pjl Syntax And Format - Brother PCL Technical Reference Manual

Brother technical reference manual laser printer
Table of Contents

Advertisement

2006/05/31
1.3.

PJL Syntax and Format

Syntax
<For Example>
@PJL ENTER LANGUAGE = emulation [<CR>]<LF>
@PJL
ENTER
LANGUAGE
@PJL ENTER LANGUAGE
[ ]
< .. >
<LF>
< HT >
< LF >
< CR >
< SP >
< ESC >
< FF >
< WS >
< words >
Format
PJL commands have 4 types of formats as shown below.
Format 1
This format is only used for the Universal Exit Language(UEL) command.
Format 2
This format allows a PJL line without a command, and is used to break several PJL command lines visually,
to make it easier to see the PJL command lines.
Format 3
This format is used only for the COMMENT and ECHO commands.
Format 4
This format is used for all other PJL commands.
PJL Syntax Rules:
PJL Syntax should be written according to the following rules.
• "@PJL" must be uppercase. The other words of a PJL command are not case-sensitive.
Spacing between characters consists of one or more of either the space character (ASCII 32) or the
horizontal tab character(ASCII 9).
• White space should be placed as follows, depending on the location within the command.
White space must be placed between @PJL and the PJL command name and between the PJL command
and command modifiers.
If a white space is placed in any other place in a command, it is optional.
If a white space is not placed between two portions of a command, the command is not valid.
PJL Prefix
Command name
Option name
Enter this portion verbatim
The words in brackets [ ... ] indicates optional parameters. You should not
type the brackets themselves in the command.
The words in < .. > indicates a control code character
Required line feed
Horizontal tab character (ASCII 9)
Line feed character ( ASCII 10 )
Carriage Return ( ASCII 13 )
Space ( ASCII 32 )
Escape ( ASCII 27 )
Form Feed ( ASCII 12 )
White space which consists of some < SP >
and < HT >
Printable characters
<ESC>%-12345X
@PJL[<CR>]<LF>
@PJL command
[<words>] [<CR>] <LF>
@PJL command [command modifier : value]
option=value[<CR>]<LF>
CHAPTER 5 PJL- 6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents