Professional Documents
Culture Documents
Bueno para Copiar Impresora Epson Smartforms SBPL Include Method
Bueno para Copiar Impresora Epson Smartforms SBPL Include Method
Include Method
Overview of Procedures
Version 070228-01
1. Introduction ................................................................................... 3
2. Overview ........................................................................................ 4
2.1. Key components ............................................................................. 4
2.2. Overview 4
3. Procedure....................................................................................... 5
3.1. Creating Text Elements................................................................... 5
3.1.1. ZHeader Text Element ....................................... 6
3.1.2. ZFooter Text Element......................................... 6
3.1.3. ZText Text Element ............................................ 7
3.1.4. ZBarcode Text Element...................................... 7
3.2. Creating the SmartForms................................................................ 8
It is assumed that the readers have the basic understanding of how the SAP®’s
SmartForms works.
2.2. Overview
Windows Platform
Print
SmartForms ZLB_SAT
Device
Type
Include
SATO
Printer
Driver SATO
Text Element Text Element Text Element Printer
with SBPL with SBPL with SBPL
ABAP
program
For better understanding of the SBPL commands, SAP developers are expected to
use the Label Gallery to generate SBPL commands for the necessary print items, or to
work with the SATO support staff.
Text element can be created using Transaction code: so10. In this example, 4 text elements
will be created:
- ZHeader (to include the SBPL commands for header information)
- ZFooter (to include the SBPL commands for footer information)
- ZText (to include the SBPL commands for text)
- ZBarcode (to include the SBPL commands for barcode)
This text element contains the Page opening command (^A), the rotation command (^%) and
the border command (^FW).
This text element contains the page count command (^Q) and the end page command (^Z).
This text element contains the SBPL command to print text with CG Time fonts (^RD), and
the commands to position the text (^V and ^H).
This text element contains the SBPL commands to print an EAN13 barcode (^D) and the
commands to position the barcode (^V and ^H)
Last element
After all the text elements have been included in the SmartForms, it has to be made sure
that the HEADER and the FOOTER text elements should be placed as the first and the last
element.
The SmartForms will then be printed as usual using the device type. The device
type will point to the designated SATO printer.
* In this example, the content of the text elements are static. ABAP program is
required to control the content of the text elements during runtime. For example,
it might require the value of the barcode to be read from database based on
certain criteria. The ABAP program is responsible to manipulate the SBPL
commands in the text element.