Dot Net C#中的DevExpress的XbarCode报告存在问题

问题描述

我正在通过Zebra打印机打印在Label 4x2上创建XBarCode报告。我正在使用代码创建条形码设置属性,“条形码成功生成”,但无法扫描。当我增加宽度并在A4尺寸页面上打印时,它是可扫描的,但在斑马打印机上的4x2(英寸)标签上却不可扫描。任何帮助将不胜感激!

        this.barcodeSerial.Alignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.barcodeSerial.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
        this.barcodeSerial.AutoModule = true;
        this.barcodeSerial.BarCodeOrientation = 
        DevExpress.XtraPrinting.BarCode.BarCodeOrientation.RotateLeft;
        this.barcodeSerial.Borders = DevExpress.XtraPrinting.BorderSide.None;
        this.barcodeSerial.Dpi = 100F;
        this.barcodeSerial.Font = new System.Drawing.Font("Tahoma",4F,System.Drawing.FontStyle.Regular,System.Drawing.GraphicsUnit.Point,((byte)(0)));
        this.barcodeSerial.LocationFloat = new DevExpress.Utils.PointFloat(162F,7.494577F);
        this.barcodeSerial.Module = 0.5F;
        this.barcodeSerial.Name = "barcodeSerial";
        this.barcodeSerial.Padding = new DevExpress.XtraPrinting.PaddingInfo(0,100F);
        this.barcodeSerial.ShowText = false;
        this.barcodeSerial.SizeF = new System.Drawing.SizeF(19F,180.3369F);
        this.barcodeSerial.StylePriority.UseBorders = false;
        this.barcodeSerial.StylePriority.UseFont = false;
        this.barcodeSerial.StylePriority.UsePadding = false;
        this.barcodeSerial.StylePriority.UseTextAlignment = false;
        code128Generator1.CharacterSet = DevExpress.XtraPrinting.BarCode.Code128Charset.CharsetAuto;
        this.barcodeSerial.Symbology = code128Generator1;
        this.barcodeSerial.Text = "LGLS9988BDD34E3L";
        this.barcodeSerial.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;

任何帮助将不胜感激。谢谢 一些条形码的屏幕截图,并将自动模块也更改为false。

Barcode Image

Properties

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...