Skip to Content
Author's profile photo Aidan Black

Printing MICR characters from SAP


MICR stands for ‘Magnetic Ink Character Recognition’. See the URL:

Usually the printer needs a special magnetic ink or toner. Mainly it is used to facilitate the reading of cheques.

To print MICR characters from SAP, usually it is necessary that the printer contains these fonts internally.

SAP Supported Printers:

Traditionally, the supported printers were HP LaserJet printers with the Jetmobile MicrDIMM font DIMM installed or TROY printers which are are modified HP LaserJet printers with a TROY MICR font.

See the following URLs for more information about these products:

Special MICR Characters:

The special MICR characters need to be entered with the values below in the form for JetMobile and Troy MICR:

  • SAP Font MICR_C (MICR CMC-7):
    Character “transit” – enter the letter “D” in the form.
    Character “amount” – enter the letter “A” in the form.
    Character “on-us” – enter the letter “B” in the form.
    Character “dash” – enter the letter “C” in the form.
    Character “arrow” – enter the letter “E” in the form.
  • SAP Font MICR_E (MICR E-13B):
    Character “transit” – enter the letter “A” in the form.
    Character “amount” – enter the letter “B” in the form.
    Character “on-us” – enter the letter “C” in the form.
    Character “dash” – enter the letter “D” in the form.


Device Types for SAP printing:

The device types HPLJMI or HP5MI are used for JetMobile.
The device type TROYMICR is used for TROY MICR printers.

Step to print MICR from SAP:

  1. A suitable printer with MICR fonts installed.
  2. A compatible device type.
  3. The MICR_E or MICR_C font with correct size must be assigned to the MICR characters in the form.
  4. The correct characters must be entered in the form for the special MICR characters as described above.


Technical Description:

The fonts are stored in the printer itself. So from SAP, a command sequence is sent to the printer to switch the printer to using this font.

This command sequence is stored in a print control of the device type. You can see the command sequence via transaction SE73. e.g.

se73-> Printer Fonts -> HPLJMI -> MICR_E -> SF450 -> Displ Print Control
SF450: 1B28384D1B28733070382E30306831302E30763073306231303054

se73-> Printer Fonts -> HPLJMI -> MICR_C -> SF451 -> Displ Print Control
SF451: 1B28384D1B28733070382E30306831302E30763073306231303154

If you have a different printer model, then a possible solution is modify these command sequences to match those of your MICR printer model. In this case you need to find the required command sequences from the printer vendor or the user guide. Then you need to make a copy of the standard device type and add the required command sequences to the print controls.


A very useful tool is to print the standard text SAPSCRIPT-MICRTEST via transaction SO10. This will check that the device type and printer model are capable to print MICR characters. If this doesn’t work then the follow reasons are possible:

  1. Printer does not contain correct MICR fonts.
  2. An incorrect device type is used.
  3. Printer has MICR fonts but they are not the standard ones supported by JetMobile or Troy. Then the correct commands needed to be added to the device type as described above.

If the standard text SAPSCRIPT-MICRTESTprints the MICR characters correctly then the problem is with the sapscript form or smartform. Some possible reasons are:

  1. Wrong font assigned to the MICR characters.
  2. Correct font but wrong font size assigned to the MICR characters.
  3. The form was not activated after making the changes to add the MICR fonts.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Juwin Pallipat Thomas
      Juwin Pallipat Thomas
      We did the same by installing a TTF in our SAP system. By doing so, we can now print MICR font on any laserjet printer. This helps in testing the forms, in dev environments, which would otherwise require the help of DIMM installed printers. MICR TTF is available for free in the internet. Special characters in MICR font can be printed using characters o and t.

      Example code from our system:
      o&REGUD-CHECT&o t&REGUD-OBNKL+7(5)&-&REGUD-OBNKL+12(3)&t

      Author's profile photo Former Member
      Former Member


      in transaction SO10 with SAPSCRIPT-MICRTEST.(mandt : 000)

      We have the following text :


      1. Text: SAPSCRIPT-MICRTEST System: &SY-SYSID&
      2. Font MICR_C 10 point (MICR CMC-7)

      D transit
      A amount
      B on-us
      C dash
      E arrow


      1. Font MICR_E 10 point (MICR E-13B)

      A transit
      B amount
      C on-us
      D dash


      When we print (HP JetDIrect :  J7949E :  device ZHP5MI)

      it displays the sam character

      how to test with


      Author's profile photo Aidan Black
      Aidan Black
      Blog Post Author


      The MICR characters will only work if the printer has a JetMobile MICR font module installed in the printer. This standard text and a device type HPMI or HPLJMI will send cmmand sequences to the printer to switch to the installed MICR font. This will only work if the MICR font module is




      Author's profile photo Former Member
      Former Member

      Hi Juwin,

      is there just o and t as character to print character MICR ?

      thanks for your help

      Best regards

      Thomas Bailleul