Entering content frame

Function documentation Printing Labels Locate the document in its SAP Library structure

Use

You want to print labels (such as shipping or bar code labels) on a special printer. You can create a label using an external design program and then print it from a SAPscript form.

 

Prerequisites

Most special label printers available on the market use their own control languages for which there is no printer driver in the standard SAP system. To be able to address these label printers nevertheless from the SAP System, you can define the complete layout with an external program.

 

Activities

...

       1.      Create the Label with a Design Program: Define the complete layout of the label, including the fields that are later filled from the SAP System.

       2.      Download the Print File: Export the file with the print command from the design program. The printer commands must be in ASCII format; that is only printable characters and CARRIAGE RETURN, LINEFEED, and possibly FORMFEED can be contained. The file must also not have more than 80 characters per line, as otherwise undesired line breaks could occur during the upload. Binary control characters (such as ESCAPE) must not be included. (For more information about the download, see the sections listed below for the relevant label printers).

       3.      Upload the Print File to the SAPscript Form: Upload the print file to a SAPscript standard text. However, this standard is only used as a temporary store. Copy the text to a SAPscript form. In the form, enter variables of the print program (program symbols) in the places where data should appear in the label. These variables are filled with the current field values from the application program during runtime. (For more information about the upload, see the sections listed below for the relevant label printers).

       4.      Adjust the form: You now need to adjust the label for most label printers, for example, you must increase the MAIN window to the full page size and close all other windows. The MAIN window should also only contain a single text element; that is, the imported print file.

       5.      Create an Output Device: Define an output device for label printing. You can use either ASCIIPRI or a special device type for label printers as the device type.

This graphic is explained in the accompanying text

For important information about label printing and links to descriptions of supported label printers, see SAP Note 135894 in the SAP Service Marketplace.

 

 

See also:

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