Adding OCR Support 

If you want to enable OCR printing:

You must add OCR support to the printer definition in the SAP spool system and SAPscript. Do the following:

To add OCR printing support, do the following:

  1. Copy the device type definition of the printer with which you are working. You can skip this step if you are adding a new type of printer to the SAP System.
  2. Use the new device type in all the printer definitions you set up for OCR printing.

  3. Copy the R/3 character set used by the printer. You can skip this step if you are defining a new character set for the printer.
  4. To determine which character set a printer uses, check the device type definition. Choose Tools ® Spool ® Spool administration and then Full administration and then Device types. Double-click a device type. The first character set in the definition is the standard character set.

    To copy the character set, start by selecting Tools ® CCMS ® Spool ® Spool administration, Full administration and then Character sets on the Char. sets tab page.

    Find the R/3 character set identified in the device type definition with which you are working. Mark the character set with the cursor, choose Change and then Create with reference.

    On the following screen, enter a new ID number for the new character set. The number must begin with the number 9. This naming convention protects your character set from conflicting with the standard R/3 character set. You can leave the other specifications on the screen unchanged.

  5. Check whether your new character set uses the correct hexadecimal values for OCR-A printing on your printer. In particular, check the hexadecimal values for the following OCR-A separation characters (for information about how to do this, see Defining Character Sets)
  6. Hook

    R/3 character ID 7.

    Fork

    R/3 character ID 8.

    Chair

    R/3 character ID 9.

     

    To maintain these special characters, choose Edit character set on the character set maintenance screen. Using the information in your printer manual, enter the correct hexadecimal codes. SAPscript requires these characters for OCR-A printing.

    Note: The character set must be suitable for all printing that you want to do with printers of this type:

    It must contain the required OCR-A special characters.

    The hexadecimal codes for other characters must be compatible with both the standard and OCR printer fonts.

    In general, printer OCR character sets are identical to normal character sets except for the special OCR characters.

  7. Maintain the SAPscript Printer font specification for the SAPscript OCR–A or OCR–B font family, as appropriate. The printer font identifies the print control SAPscript is to use to switch the printer to the OCR character set.

On the Spool Administration: Initial Screen, choose Environment ® Font administration and then Printer fonts. Find the device type for your printer and then define entries for Family OCRA and, if required, for OCRB.

  1. Specify values for the OCR print controls you have just selected. The print controls activate the OCR character set. Choose Tools ® Spool ® Spool administration and then Full administration and then Device types. Select a device type, choose Display and then Print controls.

In the SF<nnn> print control, enter the printer command required to switch to the OCR character set or activate OCR printing. You can find these commands in your printer's OCR guide.

You must also maintain:

  First Page of SAP Printing Guide