Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP Script : Control Commands for printing Label (barcode) by Zebra Printer

Hello,

I would like to know the control commands in sap script for Zebra Printer. The purpose of task is to print a field in barcode format in Right Bottom of the label.

The sample code is placed below. Kindly have a look at it. The problem now i am facing is, the barcode for Customer PO is printing on the wrong place (Left Bottom, the text & barcode are overwriting). Can anyone suggest a possible way or can any one send the document for Barcode commands in SAP Script for Zebra Printer.

Sample script code:

-


Initialization and reset Barcode

XAMCY^XZ

-


Start

^XA

-


Barcode setup

^BY3,2.7,2.2

-


Set label home position

^LH

^FWN

FO385,025A0R,40,50FDPN: &VBAP-MATNR&FS

FO385,725A0R,40,50FD&VBAP-ARKTX&FS

FO385,1710A0R,40,50FDRtns: &zsntsc-contr&FS

FO345,025A0R,40,50FDService Order# &AUFK-AUFNR&FS

FO345,725A0R,40,50FDSerial# &EQUI-SERNR&FS

FO345,1710A0R,40,50FDRepair Order# &VBAP-VBELN&FS

FO245,025B3R,N,90,N,NFD&AUFK-AUFNR&FS

FO245,725B3R,N,90,N,NFD&EQUI-SERNR&FS

FO245,1710B3R,N,90,N,NFD&VBAP-VBELN&FS

FO138,1710A0R,40,35FDCustomer PO# &VBKD-BSTKD&FS

FO98,025A0R,40,50FDWrnty: &W_WARRANTY&FS

FO98,605A0R,40,50FDRoute: &W_ROUTE&FS

FO58,025A0R,40,35FDShip-to-name: &W_NAME1&FS

FO58,1325A0R,40,35FDMinor Group/Nr: &TVM5T-BEZEI&FS

FO58,1325A0R,40,35FDMinor Group/Nr: &TVM5T-BEZEI&FS

FO18,885A0R,40,35FDReported By: &QMEL-QMNAM&FS

FO18,1710B3R,N,90,N,NFD&VBKD-BSTKD&FS

^XZ

Thanks in Advance,

Ramasamy

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question