Lexmark MC2640 Printer Languages and Interfaces Technical Reference - Page 41

Printer job language, PJL command notation, Kernel commands, Universal Exit Language UEL command

Page 41 highlights

Printer job language 41 Printer job language PJL command notation The following character codes are used to illustrate the syntax of each PJL command. Character code Description Escape character Line Feed character Carriage Return character Form Feed character Horizontal Tab character Universal Exit Language Hex code 0x1B 0x0A 0x0D 0x0C 0x09 0x1B 0x25 0x2D 0x31 0x32 0x33 0x34 0x35 0x58 Kernel commands Universal Exit Language (UEL) command This command terminates the current printer language and allows dynamic switching into PJL. Syntax: %‑12345X Notes: • If the printer receives this command after a PJL job and before PJL End‑of‑Job (EOJ), then perform a Printer Language Reset. • If the printer receives this command outside a PJL job/EOJ pair, then reset to user defaults. Enter Language command This command causes the printer to enter the specified language, such as PCL emulation, PostScript emulation, or PPDS. Syntax: @PJL ENTER LANGUAGE = language[] Notes: • The language is PCL, PCLXL, PostScript, or PPDS. • Write @PJL in upper case. All others can be mixed or lowercase. Comment command This command lets the user add a comment or explanation to the PJL commands.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148

Printer job language
PJL command notation
The following character codes are used to illustrate the syntax of each PJL command.
Character code
Description
Hex code
<ESC>
Escape character
0x1B
<LF>
Line Feed character
0x0A
<CR>
Carriage Return character
0x0D
<FF>
Form Feed character
0x0C
<HT>
Horizontal Tab character
0x09
<UEL>
Universal Exit Language
0x1B 0x25 0x2D 0x31 0x32 0x33
0x34 0x35 0x58
Kernel commands
Universal Exit Language (UEL) command
This command terminates the current printer language and allows dynamic switching into PJL.
Syntax:
<ESC>%
12345X
Notes:
If the printer receives this command after a PJL job and before PJL End
of
Job (EOJ), then perform a
Printer Language Reset.
If the printer receives this command outside a PJL job/EOJ pair, then reset to user defaults.
Enter Language command
This command causes the printer to enter the specified language, such as PCL emulation, PostScript emulation,
or PPDS.
Syntax:
@PJL ENTER LANGUAGE = language[<CR>]<LF>
Notes:
The
language
is PCL, PCLXL, PostScript, or PPDS.
Write
@PJL
in upper case. All others can be mixed or lowercase.
Comment command
This command lets the user add a comment or explanation to the PJL commands.
Printer job language
41