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:
- A suitable printer with MICR fonts installed.
- A compatible device type.
- The MICR_E or MICR_C font with correct size must be assigned to the MICR characters in the form.
- The correct characters must be entered in the form for the special MICR characters as described above.
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
se73-> Printer Fonts -> HPLJMI -> MICR_C -> SF451 -> Displ Print Control
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:
- Printer does not contain correct MICR fonts.
- An incorrect device type is used.
- 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:
- Wrong font assigned to the MICR characters.
- Correct font but wrong font size assigned to the MICR characters.
- The form was not activated after making the changes to add the MICR fonts.
Example code from our system:
in transaction SO10 with SAPSCRIPT-MICRTEST.(mandt : 000)
We have the following text :
When we print (HP JetDIrect : J7949E : device ZHP5MI)
it displays the sam character
how to test with
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
is there just o and t as character to print character MICR ?
thanks for your help