Pjl Syntax And Format - Brother HL-Series Technical Reference Manual

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96

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 format as shown below.
Format 1 <ESC>%-12345X
This format is only used for Universal Exit Language(UEL) command.
Format 2 @PJL[<CR>]<LF>
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 @PJL command
This format is used only for the COMMENT and ECHO commands.
Format 4 @PJL command [command modifier : value]
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 should 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
Chapter 3 "PJL" - 6
[<words>] [<CR>] <LF>
option=value[<CR>]<LF>

Advertisement

Table of Contents
loading

Table of Contents