2001/10/02
CHAPTER 5 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 formats as shown below.
Format 1 <ESC>%-12345X
This format is only used for the 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.
w
White space must be placed between
@PJL
and the PJL command name and between the PJL command
and command modifiers.
w
If a white space is placed in any other place in a command, it is optional.
w
If a white space is not placed between two portions of a command, the command is not valid.
Summary of Contents for HL-1250
Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...