Professional Documents
Culture Documents
Version 20051003-01
2005 SATO International Pte Ltd. All rights reserved. http://www.satoworldwide.com softwaresupport@sato-int.com
SATO Label Gallery is registered trademark of SATO International Pte Ltd Company. All other trademarks are the property of their respective owners.
Table of Contents
1 Introduction.............................................................................................. 3 1.1 SAP R/3 ..................................................................................... 3 1.2 Label Gallery Software ............................................................ 3 1.3 GalleryDrivers........................................................................... 4 1.4 GalleryMemMaster ................................................................... 4 1.5 GalleryWatch ............................................................................ 4 1.6 GalleryCommands ................................................................... 5 2 Printing methods ..................................................................................... 6 2.1 Introduction .............................................................................. 6 2.1.1 Upload Method................................................................. 6 2.1.2 Automated Printing .......................................................... 8 2.1.3 Batch printing - JOB command files ................................ 9 2.1.4 ActiveX integration (SAP Business One)....................... 10 2.1.5 SAPWin.......................................................................... 11 2.1.6 Direct printing from SAP (SAP Smart Forms)................ 11 2.2 Upload method explained step by step ............................... 12 2.2.1 Requirements for the Upload method............................ 12 2.2.2 Step 1: Designing label with Label Gallery .................... 13 2.2.3 Step 2: Downloading label definition into the ITF file..... 14 2.2.4 Step 3: Uploading label file to SAPscript ....................... 14 2.2.5 Step 4: Adjusting SAPscript form................................... 14 2.2.6 Step 5: Creating a suitable R/3 device type................... 15 2.2.7 Step 6: Defining output device....................................... 15 2.2.8 Special notes for SATO printers .................................... 15 3 Frequently Asked Questions................................................................ 16 3.1 How can I change label design if I use upload method? ..................................................................... 16 3.2 Does Upload method support EAN.UCC 128 bar code? ................................................................................ 16 4 Appendix ................................................................................................ 18 Label Gallery Product Overview............................................... 18
1 Introduction
SAP R/3 is an ERP (Enterprise Resource Planning) software that contains many applications used for warehousing, shipping, goods tracking, as well as in the automotive and chemical industry. In short, SAP R/3 is used everywhere where labeling printing demand exists. Label Gallery offers very user-friendly support for SAP R/3 applications. One of the most important things with Label Gallery support for SAP R/3 is that you do not need to understand a printers programming language to create and print a label. This White Paper contains all necessary information how to print labels in SAP R/3 environment with Label Gallery software.
Explained later in the document. Refer to the chapter Upload Method on page 6
1.3 GalleryDrivers
GalleryDrivers present full-featured Windows drivers developed for all major thermal printer brands. GalleryDrivers can be used with any Windows application in Windows 95/98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP and Windows Server 2003. However, the optimal printing results can only be achieved in the combination with Label Gallery software. Label Gallery software can communicate with GalleryDrivers using the direct method to ensure fast label processing and printing. The major benefit using GalleryDrivers is their knowledge about the printers internal commands and functionality. GalleryDrivers enable you to use all internal printer elements, such as internal fonts, bar codes, lines, rectangles, serialization counters, and memory cards. GalleryDrivers forward all this knowledge about printer functionality to the Label Gallery software. GalleryDrivers are in constant development and new versions are released frequently. They can be used free of charge and are available for download from the Label Gallery website. For more information and latest updates visit the Label Gallery website at http://www.satoworldwide.com.
1.4 GalleryMemMaster
GalleryMemMaster is the utility used to download TrueType/Type 1 and similar fonts and graphics to the printer's internal memory, FLASH memory, external memory cards, etc. GalleryMemMaster is also very useful when your label contains variable text elements formatted in True Type fonts, or when you want to use variable graphics on the label. Such True Type fonts and images behave like resident elements and can be downloaded to the printer's memory. When you print labels from SAP R/3 using the Upload method some limitations apply to the label design. Because Label Gallery in this printing mode is not available at print time, all variable elements on the label need to be installed on the printer. Usually, this means using only internal printer fonts. But with GalleryMemMaster you can break this barrier. You can download True Type fonts to the memory card that can be used as internal fonts. For more information about GalleryMemMaster please refer to the Label Gallery TruePro documentation.
2
1.5 GalleryWatch
GalleryWatch is an integration middle-ware. It is an event-driven application monitoring and detecting many different formats of incoming data that can trigger a start of label production. GalleryWatch also makes the label production from non-windows applications possible. In most cases, data is exported from external or non-windows applications and saved to a text file that is intercepted and parsed by GalleryWatch. However, the text file is only one possibility for data exchange. Other trigger methods are also available. Label printing with data from SAP R/3 is possible with GalleryWatch. SAP R/3 prepares all necessary data to be used on the label. GalleryWatch detects the data, uses it on the label and triggers the label production. For more information about GalleryWatch please refer to the Label Gallery TruePro documentation.
Explained later in the document. Refer to the chapter Upload Method on page 6
1.6 GalleryCommands
GalleryCommands represent commands that can be used for automated label production. GalleryCommands must be written one per line in the batch file (JOB file). Label production can be started from Label Gallery, GalleryWatch or directly from a command line. For more information about GalleryCommands please see the Label Gallery User Guide.
2 Printing methods
2.1 Introduction
This white paper presents the options for bar code label printing from SAP R/3. It describes the fundamentals of different printing methods and provides the pros and cons for each method. The available output methods for label printing from SAP R/3 are: Upload Method (SAPscript) The labels are created in Label Gallery software and uploaded into R3 through SAPscript programming. This easy method is commonly used but lacks some functionality that is available with the other methods. The label can be printed only to the printer for which the export was made. Automated Printing (Middleware) The labels are created and printed in Label Gallery software that acts as a middle-ware on some PC computer. The data for the label coming from SAP system is processed by Label Gallery software, which produces the appropriate printer command file and sends it to the printer. The same label design can be printed to multiple printers, not just one. Batch printing JOB command files (Middleware) Similar to Automated Printing, only the incoming file with data from SAP is formatted differently.
SAP recommends Upload Method, but with the PC-based labeling software (middleware) Label Gallery you can also use the Automated Printing or Batch Printing options that will give you more versatility and freedom for your label layouts. There are some other methods to print labels from SAP R/3 that are not connected to the Label Gallery software. Those two methods will be mentioned briefly in the document. SAPWin Direct printing from SAP (SAP Smart Forms)
Advantages Advanced label design with Label Gallery Completely integrated within SAP R/3 Fast printing
Description It is possible to use almost all Label Gallery features. No PC needed for label production. Usage of GalleryDrivers speed up label production because of the optimized printer stream. Label can be changed easily and fast with Label Gallery software. There is no need to change the ITF file by hand. The label is designed in graphic environment and then exported to ITF file. There is no need to be familiar with the printer's programming language. Label Gallery will prepare the proper printer command file.
Disadvantages More work for setting up printing of bitmap graphics and text elements formatted in True Type fonts
Description Not all thermal printers can print such elements when using Upload method. Workaround with separate download of such elements can be used with some printer models but not all of them. When using such workaround, all graphics have to be downloaded to printer's internal memory before they can be used on the printer. The application GalleryMemMaster (part of Label Gallery TruePro edition) must be used. Printer has to be able to receive nonbinary escape codes. SAP system has a strict data format for SAPscript ITF text file. Printer commands cannot include characters below ASCII code 32. Not all thermal printers support this and in such case the command Export to SAP in Label Gallery software cannot be selected. Binary files cannot be uploaded, which prevents the use of Asian characters. Not all Label Gallery functionalities and objects are available for the exported label. For example, limitations apply to text wrapping, best fit and justification options.
No Unicode support
Thermal printers usually cannot handle printing of EAN.UCC 128 bar codes by themselves. The syntax of the bar code requires some processing before bar code can be printed (check digits, Application Identifiers with variable lengths, nonprintable characters).
Because Label Gallery software is processing and printing the labels, all advanced label design functionality is available for you: use of variable images on the label, printing of variable True Type text elements, including Paragraph and RTF objects, text justification and scaling etc. The labels are processed and printed on-demand on the fly. You can create the label layout once and use it for printing to many printers. A set of wizards and intuitive approach to the workflow help you set up and test the label printing system in minutes. Label Gallery processes the label data. Because Label Gallery supports EAN.UCC 128 bar code generation, every possible combination of Application Identifiers is supported. There is a true Unicode support available in Label Gallery software, so you can create labels with Easter European, Middle-Eastern and Asian languages easily.
Unicode support
Description Additional PC is needed for automatic data detection and label production. Label Gallery software (Label Gallery Pro and GalleryWatch) is installed on this computer. This adds up to the overall costs (installation, maintenance etc). The connection is not as tightly integrated with SAP R/3 as with upload method. There might be a slight delay in label print because of the external data processing and printing.
GalleryWatch detects the appearance or change of the JOB file and starts the label production. GalleryWatch does not have to do anything except for following the GalleryCommands in the JOB file. With batch printing method there is another new possibility to skip GalleryWatch entirely. SAP R/3 can start Label Gallery Plus and provide the file name of the created batch JOB file in the command-line options. When JOB file appears in the Label Gallery Plus command-line, the commands in the JOB file will be executed. In such cases, you do not need the Label Gallery TruePro edition but only the Label Gallery Plus edition. For more information about JOB files, GalleryCommands and automatic printing using GalleryWatch please refer to the Integration and Connectivity White Paper which you can download from the Label Gallery website at www.satoworldwide.com.
Description The printing principle is the same as for 'Automated printing' because Label Gallery software is processing and printing the labels. The third-party solution (interface between SAP and Label Gallery) needs to be developed or purchased.
10
2.1.5 SAPWin
SAP R/3 also supports printing with Windows drivers using the SAPWin device type and SAPlpd. Advantages Support for all printers Description All printers that have windows driver can be used for printing via SAPWin device type.
Description Additional PC is needed for printing. No printing optimization is available (internal elements, downloaded graphics, etc.). Bar codes are not supported as with other methods of printing. You need to have some programming knowledge because you need to create the file with printer commands yourself. There is no Label Gallery software to generate the ITF file or print labels automatically.
Description Printing commands are manually programmed. You have to know printer commands and their syntax. Label design environment is not as powerful as the one of the Label
11
Gallery Plus application. Not so many different label elements and formatting features are available. Poor support for thermal printers Poor support for bar codes Does not support label printing to all thermal printers.3 Does not support any bar codes.4
Printer with support for alternate escape codes (above ASCII code 32)
3 4
Support for ZPL (Zebra Programming Language) was recently added. Support for bar codes on Zebra printers was recently added thru support for ZPL.
12
13
Apply different printer settings If you need to modify the printer settings, now is the time to do so. You can change standard settings like print speed, darkness and label media but also advanced settings like enabling the cutter or specifying different sensor type. These options can be set using the command Printer Settings in the File menu. The printer settings will be saved into the label file and recalled every time you open the label with Label Gallery software.
14
The MAIN window should only contain a text element that includes the label file that you just created. To reduce the line breaks to a minimum, the font in the layout set header can be set to COURIER 6 point. The name of this text element depends on the application program used by R/3. You can add the label file into this text element by copying the entire text from SO10 into the form window. If you need to define additional text elements in the MAIN that are called from the print program, you can leave these essentially unchanged because the printer ignores commands it does not recognize. Because of the easier maintenance, it is recommended that you deactivate unused texts in additional text elements of the MAIN window. The first page of the form should refer to itself as the next page because the label file in the MAIN window may be quite large particularly if graphics have been included.
It would be easiest to connect the printer to a Windows PC and install GalleryDriver Windows printer driver. Then start the output program SAPlpd. You can then define the printer with access method P or U in the spool administration (Transaction SPAD).
15
16
resulting ITF file will link the bar code on the label with one variable from SAP R/3 system. You have to be aware that SAP R/3 must provide the formatted contents for the bar code element. That means you have to include on the label the data for the Application Identifier, the leading <FNC1> character, and the mark for the Application Identifier (420 in the example above).
17
4 Appendix
Label Gallery Product Overview
Label Gallery is the most advanced professional labeling software for desktop and enterprise users. Label Gallery offers an easy-to-use interface and meets any label design and printing requirement for efficient label printing solutions to users in retail, logistics, health care, chemical, automotive and other industries. Label Gallery TruePro: Complete software solution for any kind of label design and print requirement. Multiple connectivity options allow users to perform stand-alone printing or integrate label printing into any network environment. Label Gallery TruePro provides you with interactive label printing capabilities such as integrating label printing to existing applications (ActiveX) or non-programming embedding of label printing to existing systems (GalleryWatch). Label Gallery Plus: Full-featured software designed for professional label design and printing, including complete database support and ActiveX integration possibilities. A wide range of features and options makes Label Gallery Plus a perfect and easy-to-use tool for any labeling requirement. Label Gallery Easy: Wizard-based software meeting basic barcode labeling needs. The entrylevel software includes many design elements of the Plus edition with the emphasis on simplified user interaction. Label Gallery Plus Print Only: Label Gallery Plus Print Only offers printing of pre-designed labels but cannot be used to design and alter existing labels. Advanced settings for changing the labels are not available. Label Gallery TruePro Print Only: Label Gallery TruePro Print Only offers printing of predesigned labels, using pre-designed forms and automatic printing from pre-designed trigger actions. Label Gallery TruePro Print Only cannot be used to design and alter existing labels, forms and trigger configuration. Advanced settings for changing the labels are not available. Pocket Label Gallery: Pocket Label Gallery is a program package for Windows CE that brings the power of label printing to portable Windows CE computers (Windows Mobile Device). Pocket Label Gallery is part of the editions Label Gallery TruePro or Label Gallery Pocket PC Designer. Label Gallery Engine: Label Gallery Engine is an ActiveX integrator edition of Label Gallery software developed for software publishers who need label printing capabilities in their software. Label Gallery Engine can be embedded in existing information systems or existing applications to provide support for label printing. Label Gallery Engine provides all label printing functionality of the Label Gallery software.
18