When trying to gather information to print GS-1 / EAN 128 barcodes on smartforms I could not find a source with all the info. Sources on the internet only contained parts of the information needed, many weren't conclusive (SCN threads with status 'Unanswered' or at best 'Assumed answered').
It took some trial and error to get a good result. To prevent others from having to invent the wheel again I want to share my gathered knowledge in this document.
To print GS-1 EAN128 barcodes in Smartforms we need to do the following;
If a system barcode font as shown above is not available it needs to be created (SE73).
In this example the system barcode named 'ZEAN128N' will be created;
With the linear height settings the output height of the printed barcode is set. 765 corresponds to 32 mm.
The code is in the attached file. I found it in a thread on SAPFANS.COM , thanks for that!
( For preparing the content of the barcode: GS-1 / EAN128 content string for the barcode consist of an application indicator (AI) followed by the relevant application content, or a series of the two. So "<AI1><Content AI1>…..<AIn><Content AIn>" )
At position A the variable gv_barcode_product_details-bc has the value:
02871734435015037000000101518062810BATCH
At position B the variable gv_barcode_product_details-bc has the value:
>;>80287173443501503700000010151806281>60BATCH
By following these steps a proper GS-1 / EAN128 barcode should be created in the smartform.
Tip 1: To check the barcode you can install a GS-1 app on your smartphone, for example the 'iGepir' app for IOS and android.
Tip 2: You can scan the barcode from a print preview on the screen which saves you a lot of printing during testing. To do so go to the PDF preview of the print.
Tip 3: For zebra label printer users with European languages: Only use the HELVE font for text since it is stored in the printer memory, others fonts will result in much larger print files with all the disadvantages that come with it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
6 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 | |
3 | |
2 |