FAQ: TBarCode/SAPwin - SAP Barcode DLL
How Can I Change the Size / Orientation of the Barcode?
How Can I Change the Size / Orientation of the Barcode?
You can change the bar code size and orientation in the Printer Barcode Printcontrol Prefix. The following parameters are available:
- B= ... controls the width of the symbol in mms
- H= ... controls the height of the symbol in mms
- M= ... controls the module width of the symbol (in 1/1000 mms)
- R= ... adjust the orientation of the barcode in degree (optional)
* If parameter M is used, omit the B parameter!
Examples
- Width: 70 mm, Height: 30 mm, Rotation=90°
bC=E128,B=70,H=30,A=1,R=90,D=
- Module Width: 0.254 mm, Height: 30 mm
bC=E128,M=254,H=30,A=1,D=
You can edit the Printcontrol Prefix in transaction SE73 (printer bar codes).
- Select your device type e.g. ZSWIN. In the edit dialog, click the prefix and then the button Maintain Printcontrol. Change the Printcontrol parameters in the Control Char Sequence input field.