
Printing Labels With SATO CL408
Use
This topic tells you how to use the method described under
Printing Labels to create and print labels with SATO CL408.According to the manufacturer, you can use this procedure also for the printer models CL412, CL608, CL 612, M8400RV, M5900 RV, M8485S, M8460S, M8490S, M8459S, XL400, XL410 by SATO.
Procedure
Create the label: To design the label layout, use the design program Dynamic Publisher, version 2.5 of the manufacturer SATO. This program is part of the program package Dynamic Aviator and runs under Windows95/98 and Windows NT.
As printer, select the desired SATO printer in Dynamic Publisher; in this example, it is CL408.
Define the R/3 form fields: In Dynamic Publisher define all those fields as variable fields that will later be filled with variable data from the R/3 system. Dynamic Publisher allows you to assign variable names for this purpose. You can choose variable names that ressemble the "real" R/3 field namens, for example MATNR.
However, the field names in Dynamic Publisher cannot be very long. Therefore, you won't be able to use the complete R/3 field names directly in most cases.
Select fonts for the text fields: You can use printer-internal as well as TrueType fonts. Since you cannot download any TrueType font definitions from R/3 to the printer, you must use the program Dynamic Memory Card Compiler (included in the software package Dynamic Aviator) beforehand to load any TrueType fonts you may want to use onto a memory card that must be built into the printer.
Insert bitmap graphics: You must also load any required bitmap graphics beforehand onto the printer memory card, using the Dynamic Memory Card Compiler.
Download the label definition into the print file: Choose File ® Export
® Export to SAP. Enter the variable name used in R/3 (that is, the genuine R/3 field name, for example,
VBAK-KUNNR)
for each variable field used in the label. Do not include the ampersands ("&") used by SAPscript to identify variables;
Dynamic Publisher automatically includes them during the export.
Dynamic Publisher creates a file in the Spscript ITF format in the subdirectory Labels of the Dynamic Aviator. The file name is the same as the name of your label in Dynamic Publisher, however, the file extension is "ITF".
Upload the print file to SAPscript and insert the variables: Start the SAPscript standard text editor (transaction SO10). Create a new standard text. Use Text ® Upload to load the label file; choose
ITF
as format. 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 that 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 label file. The name of the text element depends on the R/3 application program you use. Insert the label file into this text element by copying the entire text from SO10 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 graphics are included.
- Create an output device
: Define the SATO 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_SAT.