Printing Lables With Intermec Easycoder 501 XP
This topic tells you how to use the method described under
Printing Labels to create and print labels with the printer EasyCoder 501 XP of Intermec.
Procedure
Create the label: To create the label layout, use the design program Label 98 of the manufacturer Intermec GmbH. This program runs under Windows 95/98 and under Windows NT. As printer in Label 98 select Intermec Easycoder 501XP.
Define the R/3 form fields: Define in Label 98 all fields that will be filled later in R/3 with variable data as database fields. As field names use the R/3 field names. To do this, select the Database tab of the field parameters: Into the field takes data from enter the R/3 field name as it will later be used in the SAPscript form, but without the the "&" characters used in SAPscript at beginning an end and without formatting options. In the field Format enter the usual SAPscript outptu options for symbols, for example fixed output length. In the field Output, the variable then appears in the way it will be used in the SAPscript form, that is, including output options and "&" characters.
You want to print the field
VBAK-KUNNR
from the print program of the R/3 application in a
Label 98 text field with a fixed length of 8. To do this, fill in the fields of the Database tab of Label 98 as follows:
Database |
Field name |
VBAK-KUNNR |
Takes data from |
VBAK-KUNNR |
SAP R/3 |
Format |
8 |
Output (the contents of field "Output" is generated by Label 98 itself) |
&VBAK-KUNNR(8)& |
To display the field contents of such database fields in the graphical display of Label 98 enter sample data or the field name into the field "Variable text" of the Contents tab.
Select fonts for the text fields: For text fields, automatically only printer-internal fonts of the Intermec printer are displayed (Fonts tab).
Insert bitmap graphics: You can include bitmap graphics (for example, company logos) into the label definition. During download, they are included into the print file.
Download the label definition to a file: In Label 98 choose Labels ® Layout and enter the path and file names for the file you want to create. In the specified path Label 98 then creates two files with identical names but different extentions:
[Dateiname].cod
[Dateiname].itf
: You can upload this file in the SAP
script ITF format into the R/3 system.
- Upload the label file into SAPscript
: Start the SAPscript standard text editor (Utilities ® SAPscript
® Standard text). Create a new standard text with any name. Upload the ITF file using function Text ® Upload. As format select
ITF
. Save the file.
Adapt the SAPscript form: To print the label, adapt the SAPscript form you want to use for printing. Choose Utilities ® SAPscript
® Form:
- The MAIN window must cover the entire page format (for example, DINA4), which means taht there may not be an upper or left margin between MAIN and the page margin.
- Delete all windows except MAIN. If you keep any windows, they must not contain any data you want to print (you may mark texts as comments).
- The MAIN window should contain only one text element which contains the newly created RPL file. The name of the text element depends on the R/3 application program you use. Insert the ITF file into this text element by copying the entire text from the standard text editor into the form window.
- If there are any other text elements defined in MAIN that are called from within the print program, mark their contents as comments.
- The first page of the form should point to itself as next page, since the label file in the MAIN window may be very large, especially if it contains graphics.
- Create an output device
: Define the Intermec printer as
Output Device in the SAP System.
The easiest way is to connect the printer to a Windows PC, install any Windows printer driver there, and start the output program SAPlpd. Then define the printer in the spool administration (transaction SPAD) using coupling type "S" or "U".
As device type select
LB_UBI.