unable to parse barcode
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
The report concerns GS1-128 output from the CODE_128 writer when the GS1_FORMAT hint is set and two application identifiers are concatenated with FNC1 separators. Start with the writer's GS1 handling for Code 128 and check the generated string for FNC1 placement between AI (15) and AI (10). Done means a barcode with two AIs decodes correctly. The issue never states the expected output or a failing test, so confirm the intended behaviour with the maintainer first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
i have the problem that my scanner can't parse a barcode that contains two application identifiers. The barcode i generated for a sscc works fine, but it only contains one application identifier.
here is a snippet from my code. maybe i am using the library wrong?
private static char _fnc1 = (char)29;
public static Bitmap GenerateBestBeforeBatchId128EAN(string bestBeforeDate, string batchId)
{
string debug = $"{_fnc1}(15){bestBeforeDate}{_fnc1}(10){batchId}";
Logger.WriteDebugLog(debug);
BarcodeWriter barcodeWriter = new BarcodeWriter
{
Format = BarcodeFormat.CODE_128,
Options = new EncodingOptions
{
Width = _barcodeWidth,
Height = _barcodeHeight,
Margin = _margin,
// controls if the content string appears in the output img
PureBarcode = false
}
};
barcodeWriter.Options.Hints[EncodeHintType.GS1_FORMAT] = true;
return barcodeWriter.Write(data);BarcodeWriter barcodeWriter = new BarcodeWriter
{
Format = BarcodeFormat.CODE_128,
Options = new EncodingOptions
{
Width = _barcodeWidth,
Height = _barcodeHeight,
Margin = _margin,
// controls if the content string appears in the output img
PureBarcode = false
}
};
barcodeWriter.Options.Hints[EncodeHintType.GS1_FORMAT] = true;
return barcodeWriter.Write($"{_fnc1}(15){bestBeforeDate}(10){batchId}");
}
- Lingua principale
- C#
- Stelle
- 3.1k
- Fork
- 704
- Merge medio
- 13g 17h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di micjahn/ZXing.Net
-
crop() overrides document "0 <= top <= Height"; should be top < Height like left < WidthForse già presa @hidingmyname l’ha presa 2 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 22/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 12/100
Tutte le issue di micjahn/ZXing.Net
Issue simili
-
请让 FPS 叠加层的字号大小可单独设置Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
MahdiyarGHD/GheychiApp#39 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug effort:S P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
nightscout/nocturne#3136 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100