BarcodeSetting barcodeSettings = new BarcodeSettings(); barcodeSettings.Data = myString; barcodeSettings.Data2D = myString; barcodeSettings.Type = BarCodeType.Code128; // (or Code39 - same issue); barcodeSettings.TextFont = new Font("Arial", 10, FontStyle.Regular); barcodeSettings.BarHeight ...