Git Product home page Git Product logo

Comments (12)

primo-ppcg avatar primo-ppcg commented on August 11, 2024

The only way I can recreate this error is by explicitly forcing Type C on non-numeric data:

^XA
^FO10,10^BY2^BCN,40^FD>;4030401100+67000000^FS
^XZ

However, this produces a slightly different message. If you could provide the relevant ^BC command, it would help to determine if/what the issue is.

from binarykits.zpl.

samilalgul avatar samilalgul commented on August 11, 2024

Type C data could not includes char or special chars?

from binarykits.zpl.

sibit avatar sibit commented on August 11, 2024

I have the same issue, I just detected right now. Did you get the solution?

thanks!

from binarykits.zpl.

primo-ppcg avatar primo-ppcg commented on August 11, 2024

I have the same issue, I just detected right now. Did you get the solution?

Excellent. Could you provide the ZPL that produces the error?

from binarykits.zpl.

sibit avatar sibit commented on August 11, 2024

Hi! this is the sentence ZPL that I'm using into this software.
When I remove this part >890>6C1 is working properly (that part contains C1 into the barcode).
How I can add C1 or other text (Batch number sometimes contains text 'ABC123) into the Code128 or GS1-128?

Thanks a lot!

                    string pzpl = @"^XA^FO197,495^BY5^BCN,150,N,N^FD>;>89181752625>8103181450701>890>6C1^FS^FT239,691^CI0^A0N,50,68^FD(91) 81752625 (10) 3181450701 (90) C1^FS^PQ1,0,1,Y^XZ";

from binarykits.zpl.

primo-ppcg avatar primo-ppcg commented on August 11, 2024

Not all escapes are supported in hand-rolled GS1, the relevant code is here:

// support hand-rolled GS1
content = content.Replace(">8", FNC1);
interpretation = interpretation.Replace(">8", "");
// TODO: support remaining escapes within a barcode

I'm currently working on a new Barcode rendering (#171), I'll add support for more escapes to GS1.

from binarykits.zpl.

sibit avatar sibit commented on August 11, 2024

Thanks primo-ppcg.
I really don't undestand why is not working with all scapes. This scape 90 or 91 is normal, or not?

from binarykits.zpl.

primo-ppcg avatar primo-ppcg commented on August 11, 2024

The part that can't be parsed is >6C1, which switches to codeset B for the final two characters.

from binarykits.zpl.

sibit avatar sibit commented on August 11, 2024

thanks for your answer. That is something that I can solve into the zpl barcode code, or is this issue into the c# project?

anyway, why I cannot add a breakpoint into Encode function?
using var image = barcodeElement.Encode(barcodeType, content);

I'm trying to help with this issue but I cannot access and check it! :(

from binarykits.zpl.

primo-ppcg avatar primo-ppcg commented on August 11, 2024

The Encode method belongs to an external library. This error (and several others) will be resolved in the next release.

from binarykits.zpl.

sibit avatar sibit commented on August 11, 2024

Hey dude!
how is going with your development?! :P

from binarykits.zpl.

primo-ppcg avatar primo-ppcg commented on August 11, 2024

I was holding out for the next release of ZXing.Net, although I suppose that might not be any time soon. If I wanted to accelerate the release, I could possibly makes PRs for all of the upstream commits.

from binarykits.zpl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.