>How to print codes
>
>E27H, D18H, F28G, J16H, E19G, G29F, I19F, K09F, L18F
>
>as barcodes from Visual FoxPro application.
>I tried code below with Code 128 font but barcodes for those codes are created incorrectly:
>
Andrus,
As an alternative to Tore's suggestion, you can use the ZintBarcode library at
https://github.com/atlopes/zintbarcode/.
A demo to create a report with a different barcode for each row from the products in Northwind database can be found at
https://github.com/atlopes/zintbarcode/blob/master/demo/northwindCatalog.prg. To try with Code128, change the specification of the symbology to
m.ZB.SetSymbology(m.ZE.BARCODE_CODE128)
There is also a demo form to represent Code 128 barcodes in the demo folder (
https://github.com/atlopes/zintbarcode/tree/master/demo). One of your codes is represented as attached.
----------------------------------
António Tavares Lopes