MICR Commands and Parsing
11–6 3255 4073–002
ESC w p 018 A <CR>
• Always 18 characters in the account number (high order zero-filled if
necessary)
• Final Carriage Return
ESC w p 018 X A <CR>
• Always 18 characters in the account number with spaces and dashes
removed
• Final Carriage Return
ESC w p 018 x A <CR>
• Always 18 characters in the account number with spaces and dashes
replaced with 0
• Final Carriage Return
ESC w p T 18 X A 04C <CR>
• All characters in the transit number
• All characters in the account number (up to 18) with spaces and dashes
removed
• Always four characters in the check number (zero-filled if check number is
only three characters long)
• Final Carriage Return
ESC w p K9 X T 18 X A 04C <CR>
• check: all nine characters in the transit number (because there are no
dashess)
• Canadian check: dash in transit number removed; “9” inserted at beginning,
resulting in a fully numeric nine character transit number
• All characters in the account number (up to 18) with spaces and dashes
removed
• Always four characters in the check number (zero-filled if check number is
only three characters long)