Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
25,666

This document provides a procedure on how to Print a QR Code in Zebra Printer through SAP Script.


Procedures


1. Install Zebra Printer Device Type

2. Install Generic Printer on Client Computer

3. Design the QR Code using Zebra Designer

4. Coding SAP Script with Zebra ZPL code

5. Sample Output


Step by Step Procedures


1. Installing Zebra Printer Device Type


To install SAP Zebra printer device type, initiate the transaction command line SPAD.

Click on configuration from the menu and select output devices.


Click on change icon.

Click on create icon.

Enter the required parameters, Select LB_ZEB2 for the Device Type.

Use Front End Printing for the Access Method and save the configuration.

2. Install Generic Printer on Client Computer


Generic printer will be use in the client terminal to print the QR Code since we will use the Zebra ZPL code in our SAP Script.


Click on Add printer

Select Local Printer

Select Generic Printer.

3. Design the QR Code using Zebra Designer

Use the Zebra Designer to design the QR Code Labels.

From the Zebra Designer select the QR Code.

Enter the required parameters.

Generate the ZPL code by printing the code to a file as shown in the below figure.

Click on File->Print

Select print to file and click on print.

Enter the File Name of your file to save.

Copy the generated file and import to your SAP Script.

4.Coding SAP script with Zebra ZPL Code


Import the ZPL code in your SAP Scripts and put the required variable data.

5.Sample Output

Execute the Program.


Below is the output of the program when printed in the Zebra Printer using the Generic Printer as your windows printer driver

it will print the QR Code.

2 Comments
Labels in this area