
Revision C 16/01/96
Chapter 3 "PJL" - 6
1.3. PJL Syntax and Format
Syntax :
<For Example>
@PJL ENTER LANGUAGE = emulation [<CR>]<LF>
@PJL
PJL Prefix
ENTER
Command name
LANGUAGE
Option name
@PJL ENTER LANGUAGE
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
<LF>
Required line feed
< HT >
Horizontal tab character (ASCII 9)
< LF >
Line feed character ( ASCII 10 )
< CR >
Carriage Return ( ASCII 13 )
< SP >
Space ( ASCII 32 )
< ESC >
Escape ( ASCII 27 )
< FF >
Form Feed ( ASCII 12 )
< WS >
White space which consists of some < SP >
and < HT >
< words >
Printable characters
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 [<words>] [<CR>] <LF>
This format is used only for the COMMENT and ECHO commands.
Format 4 @PJL command [command modifier : value]
option=value[<CR>]<LF>
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.
Содержание HL- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...