Entering content frame

Procedure documentation Adapting Bar Code Print Controls to the SAPscript Printer Drivers Locate the document in its SAP Library structure

The printer drivers provided by SAPscript format bar code data for printing in different ways. Use the following details to check that you have defined your bar code print controls correctly:

·        The PRES printer driver for Kyocera laser printers with the programming language PRESCRIBE automatically puts single quotes (') around the data string of a bar code. You should therefore not include single quotes in the SBS<nn>/SBP<nn> print control for a Kyocera printer.

Example

For a Kyocera F1200 printer, the bar code print control definitions could be as follows:

SBP01 (bar code prefix): BARC 15,N,

SBS01 (bar code suffix): ;

After print control SBP01 appears in the text, the PRES driver automatically places single quotation marks around the text that follows, as required for the BARC command in the PRESCRIBE printer language. If the bar code data is 123456789, then PRES sends the following output stream to the printer:

BARC 15,N,'0123456789';

·        The POST printer driver for PostScript printers (such as device type POST2) automatically puts the data for a bar code in parentheses. You should therefore not enter parentheses in your definitions of the bar code print controls. (The parentheses mark the data as a PostScript character string.)

·        The printer drivers STN2 and HPL2 send the bar code data to the printer unchanged. You must therefore provide for any formatting conventions required for bar code printing in your print control definitions.

 

See also:

Traditional Bar Code Printing for Smart Forms and SAPscript

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

 

 

Leaving content frame