
Revision C 16/01/96
Chapter 3 "PJL" - 7
1.4. Variables
PJL can use alphanumeric, numeric variables and strings.
Alphanumeric variables
The first character must always be a character in any combination of letters and digits Letters
consists of the uppercase characters (ASCII 65-90) and lowercase characters (ASCII 97-122).
Digits consists of the numbers 0-9 (ASCII 48-57).
<Example>
Brother2245
Numeric variables
The number consists of some digits with one optional decimal point and an op or - sign
preceding the first digit.
<Example>
0.1234
-123.4
+123.0
<Wrong>
+.05
-.05
Strings
Strings consist of any combination of characters from ASCII 32 to 255, plus ASCII 9, except
ASCII 34 (quotation marks), which are used to define the start and end of a string.
<Example>
"Print Job KKK"
"This is a sample string"
1.5. Invalid Commands
There are two general types of invalid commands. Each type operates differently.
Syntax errors include :
•
unrecognized command and command modifier
•
strings which are missing quotation marks
•
numeric values which are missing digits before the decimal point
etc ....
Syntax errors
Commands received with Syntax errors cause the printer to ignore the entire PJL command.
Syntax warning and semantic warning
Syntax warnings and semantic warnings are issued for commands which include unsupported options,
values which are out of range, or wrong or missing commands, etc. When the printer receives
commands which would create a syntax warning or semantic warning, it operates the command as long
as possible, however, the portion of the command which would create a warning is ignored.
Содержание 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 ...