Spire.Barcode is a professional barcode library specially designed for .NET developers (C#, VB.NET, ASP.NET, .NET Core) and Java developers (J2SE and J2EE) to generate, read and scan 1D & 2D barcodes.

Sun Nov 12, 2017 1:46 pm

Hello

I try to use barcodeControl to print it on label.
I use DpiX and DpiY both 305 for high quality.
The output label in the printer is excellent! But the form size does not match to the barcode itself.
If I use DpiX and DpiY 96 it seems OK on the form but with low quality when I print

There is an option to force the size of it?
X and Y and Height and Width does not help me very much..

I attached :
* My sample code
* My output when I run the program
* My control before I compiled

Code: Select all
            barCodeControl1.Data = "MC0511L4";
            barCodeControl1.Data2D = "MC0511L4";
            barCodeControl1.Type = BarCodeType.Code39;
            barCodeControl1.TextFont = new System.Drawing.Font("Arial", 10, System.Drawing.FontStyle.Regular);
            barCodeControl1.BarHeight = 10;
            barCodeControl1.DpiX = 305;
            barCodeControl1.DpiY = 305;
            barCodeControl1.ShowText = true;
            barCodeControl1.ShowCheckSumChar = false;
            barCodeControl1.ForeColor = System.Drawing.Color.FromName("Black");
            barCodeControl1.ShowTextOnBottom = true;


Thanks

Orh1989
 
Posts: 6
Joined: Thu Nov 09, 2017 1:50 pm

Mon Nov 13, 2017 2:42 am

Hi,

Thanks for your inquiry.
In fact, the setting of high DPI is not recommended in the barcode control. Anyway, I have noticed the issue and referred it to our dev team for a further investigation. Once there's any update, I will let you know.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Mon Nov 13, 2017 6:03 am

Actually if I set low DPI then when I print it (Zebra and Sato printers) it is very pixelate, because that I set it to 305dpi.

Let me know about any update
Thanks alot Jane

Orh1989
 
Posts: 6
Joined: Thu Nov 09, 2017 1:50 pm

Mon Nov 13, 2017 9:10 am

Hi Orh1989,

Thanks for your reply.
Yes, I already know your situation.
Please spare us more time, and I'll let you know our findings.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.BarCode