Comments (6)
Hello again,
In order to replicate this issue you need to use this sizes (120,55):
var image = b.Encode(BarcodeLib.TYPE.EAN13, barcodeNumber, Color.Black, Color.White, 120, 55);
Thanks
from barcodelib.
The default is to put the exact data you encoded into the label ... now if you wanted to put the encoded value you are able to do that or you can put whatever you want in the label. The check digit by default isnt put in the label. The label functionality is pretty generic and applies to all symbologies but Id be open to pull requests that include specific labeling for symbology types.
from barcodelib.
@andrenpt there is new functionality as of tonight to print EAN-13 labels in a more standard format. Im going to close this since that is in now.
from barcodelib.
from barcodelib.
Hey @barnhill,
First of all, you're awesome!! I found your library and I was soooo relieved i did.
I have version 2.2.2 of the library, but this is how my Barcode EAN-13 shows:
Also, here is my code for it:
`BarcodeLib.Barcode b = new BarcodeLib.Barcode("6132502917419", BarcodeLib.TYPE.EAN13);
b.IncludeLabel = true;
System.Drawing.Image img = b.Encode(BarcodeLib.TYPE.EAN13, "6132502917419", Color.Black, Color.White, 1160, 480);`
Can you please tell me what am i doing wrong? cuz i'm trying to get the first digit on the left of the first two lines.
Thank you very much!
from barcodelib.
Im pretty sure I moved this below the starting lines. You would need to modify the label method for EAN13 if you want to move it back on the left side of the lines. Its going to require calculation of the width of the text since you have to start drawing the barcode on the right side of that.
from barcodelib.
Related Issues (20)
- Standard2of5, wide to narrow ratio differs between data and start and stop patterns HOT 1
- MSI check digit(s) calculation HOT 1
- FIM has an E HOT 1
- POSTNET, height of "half" bars HOT 2
- Vb showing image in picturebox HOT 1
- .NET Framework 4.8 HOT 5
- Barcode type: IATA 2 of 5 HOT 2
- Code 93 encoding bug HOT 5
- GS1-128 FNC1 special char throws exception
- Problem with EAN-8 code HOT 5
- Barcode Appearing Black HOT 1
- .NET 8 support HOT 1
- Label text fuzzy HOT 3
- Code 128 encoding is broken for some payloads containing "99" HOT 6
- How to generate 2D barcode HOT 1
- .NET8 support HOT 2
- Compilation error (Latest version visual Studio) HOT 3
- EAN13 label format compatiblity issue with upgarde from 2.4.0 to 3.0.3 HOT 2
- After updating 2.4.0 to 3.0.3 I faced this issue while the backColor is transparent for the barcode HOT 1
- After updating 2.4.0 to 3.0.4 I faced this issue while the backColor is transparent for the barcode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barcodelib.