cancel
Showing results for 
Search instead for 
Did you mean: 

How to Print 2D Barcode of Type " QR Code " from SAP ?

Former Member
0 Kudos

Hi ,

The requirement is to print 2D Barcode of type "QR Code " from VL02N transaction.

In SE73 transaction "QR Code" is not supported Bar Code Symbologies ( ECC 6.0 ) .

When tried to create Label using " Zebra Designer" containing Variable field BarCode of above type, getting error as "Variable value requires use of printers internal barcode", we are using printer "ZDesigner 105SL 203DPI " .

Please provide information on method to print QR Code Bar Code from SAP using Script / Smartforms, Which type of printer is suitable, type of driver need to install on printer side etc...

Thanks for help.

Accepted Solutions (0)

Answers (4)

Answers (4)

PatrickDean
Participant
0 Kudos

My favourite!

jigarcia22
Explorer
0 Kudos

Hello Patrick,

The link is broken or the page is no longer available. I'm facing the same issue, but on S4/LINUX.

aidan_black
Active Contributor
0 Kudos

Hi,

SAP note 179534 describes the procedure to design labels in Zebra program and upload into SAP via sapscript form. The device type LB_ZEB should be used.

Regards,

Aidan

Former Member
0 Kudos

SAP Document Presentment does QR barcodes (and many more) natively and in a device independent way (define layout once and output to PDF, print, HTML etc). For just one single use case it would be overkill, but if your company is looking at document process automation from a broader perspective it makes sense.

[http://www.sap.com/solutions/solutionextensions/document-presentment/]

SergioFerrari
Active Contributor
0 Kudos

Hi Sujit,

I'll blog in SDN about my research that I presented at TechEd during session CD119 ([blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/21314] [original link is broken] [original link is broken] [original link is broken]😉 but I'll begin share with you some ideas.

Basically, without relay on any printer specific driver I would propose to follow the following steps:

1.Generate the QR Code image file (.PNG) with one of the methods presented in the following pages

2.Upload the image into the SAP system

2.1 Convert the generated file (file.png) to TIFF using SAP IGS class CL_IGS_IMAGE_CONVERTER (see GRAPHICS_IGS_IMGCONV_DEMO)

2.2.Upload. Use report RSTXLDMC to upload the image into SE78

3.Include the image into the Form:

3.1.SAPScript/:INCLUDE ZHEX-MARCO-name OBJECT TEXT ID ST

If everything is clear, the missing point should now be the first one. To generate the PNG from ABAP I found some options if you like, the better I think is presented in my open source project called abap2qrcode published here [http://code.google.com/p/abap2qrcode/|http://code.google.com/p/abap2qrcode/].

I know it's not trivial and I'm curious to know what do you think about it.

Sergio

Former Member
0 Kudos

Hi,

Zebra printers are very good usable for printing your kind of barcode.

You can use the barcode designer of Zebra.

Below a example of ZPL code tp print your QR barcode (with explanation behind).

^XA "start statement

^FO100,100 "x,y position

^BQN,2,10 " set barcode

FDMM,AAC-42FS "data to be printed as barcode

^XZ "sluit statement

syntax ^BQa,b,c,

a: fiedl position

b: model

c: magnification

Look in the ZPLII manual for more details

suc6

Gr., Frank

Former Member
0 Kudos

Hi Frank,

Thanks for your reply .

We are using 'Zebra Designer' to design Labels. Zebra allows to create QR Code Label with Fixed Bar Code data. However when tried to create Bar code with Variable Data, getting error as " Variable Values require use of printer's internal Barcode" so not able to create ITF file.

The printer we have installed is 'ZDesigner 105SL 203DPI " ..what do we need to add on Printer side to avoid this error ..also which driver is suitable to incorporate QR Code Barcode symbology in SAP..

Thanks.

Former Member
0 Kudos

Hi ,

I need help,

Please provide information on method to print QR Code Bar Code from SAP using Script / Smartforms, Which type of printer is suitable, type of driver need to install on printer side etc... for EPL2 in printer TLP2844

Thanks for help.