Entering content frame

 Procedure documentation Setting Up OCR Support Yourself Locate the document in its SAP Library structure

Druckertypen mit vordefinierter OCR-Unterstützung

Use

In the following cases, you must set up OCR printing yourself:

·        For a new printer type

·        For a printer for which SAP has not predefined OCR support (for the list of printers with OCR support, see Printer Types with Predefined OCR Supportsapurl_link_0013_0001_0006).

Procedure

To set up OCR printing yourself, you must add OCR support to the printer definition in the SAP spool system and SAPscript. Proceed as follows:

·        Check whether the character set specified for the printer contains the correct hexadecimal codes for OCR special characters. This step is only required for OCR-A printing as only the OCR-A character set contains special characters.

·        Define the print controls that switch OCR printing on and off at the printer.

Set up the OCR printing support as follows:

...

       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 printer type to the SAP system.

Use the new device type in all the printer definitions you set up for OCR printing.

       2.      Copy the SAP character set used by the printer. You can skip this step if you are defining a new character set for the printer.

To determine which character set a printer uses, check the device type definition. Choose Tools ® CCMS ® Spool ® Spool Administration and then Full Administration and Device Types. Double-click the device type. The first character set in the definition is the standard character set.

Copy the character set using transaction SPAD (Spool Administration) ® Full Administration button ® Character Sets tab page and choose the Character Sets button.

Find the SAP character set identified in the device type definition with which you are working. Select 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. This number must begin with the number 9. This naming convention protects your character set from conflicting with the standard SAP character set. You can leave the other specifications on the screen unchanged.

3.       Maintain the SAPscript Printer font specification for the SAPscript OCRA or OCRB 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 initial screen of Spool Administration, choose Environment ® Font Administration and then the Printer Fonts pushbutton. Find the device type for your printer and then define entries for Family OCRA and, if required, for OCRB.

ˇ        For both OCRA and OCRB, specify a Size of 120 and a CPI of 10.

ˇ        In PrtCtl.1. and PrtCtl.2. enter the print control names you want to use to activate OCR printing in portrait and landscape mode, respectively. The print control name must be of the form SF<nnn>. <nnn> can be any ID number you choose. Each print control name must be unique among the controls defined for the device type.

4.       Specify values for the OCR print controls you have just selected. The print controls switch to the OCR character set. Choose Administration ® CCMS ® Print ® Spool Administration and then Full Administration and 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 documentation.

You must also maintain:

ˇ        All other SF<nnn> print controls for the device type. These print controls are issued when OCR printing comes to an end and additional text is to be printed. Check each print control to ensure that it contains the correct printer command to reset the character set and font at the printer. Use the SAPscript functions for printer font maintenance functions to determine which font is associated with which "SF" print control. The character set specification in the "SF" print controls must match the default character set in the device-type definition.

ˇ        Print Controls S4001, S4004, and S0000. Save each of these print controls with an empty Replacement Text field. (These print controls provide an alternate way to switch OCR printing on and off.)

 

See also:

Printing OCR Characters

Special Printing Functions

Output Devices in the SAP Spool System

This graphic is explained in the accompanying text SAP Printing Guide Start Page

 

 

 

Leaving content frame