ST Secure MICR Printer User’s Guide 20 2006, Source Technologies
March 2006 All Rights Reserved
7. MICR Commands
The following are the key PJL and PCL commands required to access MICR resources in
the printer. For the complete source of information on PJL and PCL languages, consult the
Lexmark Technical Reference documentation.
PJL MICRJOB
Each MICR printing job should include in the initial string of PJL commands, the MICRJOB
command. The command forces copy count = 1, and Jam Recovery = off. The format is
@PJL MICRJOB(0D)(0A)
Fonts and Secured Resources
The ST Secure MICR printer has four fonts password protected in FLASH memory. The
printer requires PJL commands with the correct password value to unlock the font
resources, followed by PCL to print the fonts. They are then re-locked by PJL commands or
by a printer power cycle.
The PJL commands to unlock the fonts must precede all PCL commands. The re-lock PJL
commands must follow the PCL commands and final form feed command. The PCL
commands could print an unlimited number of pages between the unlock and re-lock
sequences. We will use <ESC> in the following examples to indicate the Escape character,
ASCII 27. Values shown in parentheses () are hexadecimal.
PJL Unlock Sequence
<ESC>%-12345X@PJL LDECLARE LRESOURCE:”flash:” LRWLOCK=”PASSWORD”
0D)(0A)@PJL ENTER LANGUAGE=PCL(0A)
The sequence contains a UEL (Universal Exit Language) command followed by the unlock
and enter language commands. The commands are case sensitive. PASSWORD is the
initial ship default password value. The command delimiter is a Line Feed (hex 0A) with
Carriage Return (hex 0D) being optional. Spaces are required as shown. The ENTER
LANGUAGE command is optional but recommended. The command should also end with a
LF (hex 0A). At this time all secured resources including any resources that are customer
unique in FLASH are unlocked and available to PCL.
The password value is limited to no more than 8 alphanumeric case sensitive characters.
PJL Re-Lock Sequence
<ESC>%-12345X@PJL LDELETEPASSWORD LRESOURCE:flash:”(0D)(0A)
<ESC>%-12345X
Sent after PCL, this sequence re-locks the resources with no change in the password value.
The PJL syntax of LDELETEPASSWORD is not
the password. The command sequence
terminates with the UEL command (Universal Exit Language). This is optional but
recommended.