IronBarcode 문제 해결 GS1-128 GS1-128 커티스 차우 업데이트됨:6월 1, 2025 다운로드 IronBarcode NuGet 다운로드 DLL 다운로드 무료 체험 시작하기 LLM용 사본 LLM용 사본 LLM용 마크다운 형식으로 페이지를 복사하세요 ChatGPT에서 열기 ChatGPT에 이 페이지에 대해 문의하세요 제미니에서 열기 제미니에게 이 페이지에 대해 문의하세요 Grok에서 열기 Grok에게 이 페이지에 대해 문의하세요 혼란 속에서 열기 Perplexity에게 이 페이지에 대해 문의하세요 공유하다 페이스북에 공유하기 트위터에 공유하기 LinkedIn에 공유하기 URL 복사 이메일로 기사 보내기 This article was translated from English: Does it need improvement? Translated View the article in English IronBarcode는 GS1 UCC/EAN-128 심볼로지를 지원하나요? GS1이 포함된 바코드는 정확하게 인식되고 디코딩됩니다. 그러나 현재 표시되는 바코드 값에 괄호가 없다는 점이 문제입니다. GS1-128을 사용할 때, IronBarcode는 현재 01950123456789033103000123로 출력됩니다 (이는 GS1 서명이 있는 Code 128 바코드로 인식됩니다). 이미지 출력에 표시할 원하는 값은 01950123456789033103000123입니다. 그러나 바코드 스캐너는 바코드 유형을 Code128로 감지하여 (01)95012345678903(3103)000123를 출력합니다. GS1-128 바코드를 생성하려면 다음 코드를 사용하세요: using IronBarCode; class BarcodeExample { static void Main() { // Create a GS1-128 barcode using the specified value GeneratedBarcode barcode = BarcodeWriter.CreateBarcode("01950123456789033103000123", BarcodeWriterEncoding.Code128GS1); // Add the barcode value text below the barcode on the generated image barcode.AddBarcodeValueTextBelowBarcode(); // Save the barcode image as a PNG file barcode.SaveAsPng("gs1code128.png"); } } using IronBarCode; class BarcodeExample { static void Main() { // Create a GS1-128 barcode using the specified value GeneratedBarcode barcode = BarcodeWriter.CreateBarcode("01950123456789033103000123", BarcodeWriterEncoding.Code128GS1); // Add the barcode value text below the barcode on the generated image barcode.AddBarcodeValueTextBelowBarcode(); // Save the barcode image as a PNG file barcode.SaveAsPng("gs1code128.png"); } } $vbLabelText $csharpLabel 출력 바코드 위의 코드는 기본 구분 기호가 있는 GS1-128 바코드를 생성합니다. 추가 구분자를 추가하려면 유니코드 구분자인 \u00f1을 삽입할 수 있습니다. 하지만 AddBarcodeValueTextBelowBarcode 메서드를 사용할 때 유니코드 문자 ñ (코드 0x00F1)가 표시됨을 주의하세요. 이 제한을 극복하기 위해 문자열을 조작하고 수정된 값을 AddAnnotationTextBelowBarcode 메서드에 전달하는 대체 방법이 있습니다. 이 방법으로, ñ 문자가 없는 바코드 값을 원하는 대로 표시할 수 있습니다. using IronBarCode; class BarcodeExampleWithAnnotation { static void Main() { // Original barcode value string barcodeValue = "0195012345678903310300012300\u00f10000000123300000\u00f10000012312300000"; // Remove unwanted unicode characters for display purposes string trimmedString = barcodeValue.Replace("\u00f1", ""); // Create a GS1-128 barcode using the original value GeneratedBarcode barcode = BarcodeWriter.CreateBarcode(barcodeValue, BarcodeWriterEncoding.Code128GS1); // Add a custom annotation text below the barcode with the trimmed value barcode.AddAnnotationTextBelowBarcode(trimmedString); // Save the barcode image as a PNG file barcode.SaveAsPng("gs1code128.png"); } } using IronBarCode; class BarcodeExampleWithAnnotation { static void Main() { // Original barcode value string barcodeValue = "0195012345678903310300012300\u00f10000000123300000\u00f10000012312300000"; // Remove unwanted unicode characters for display purposes string trimmedString = barcodeValue.Replace("\u00f1", ""); // Create a GS1-128 barcode using the original value GeneratedBarcode barcode = BarcodeWriter.CreateBarcode(barcodeValue, BarcodeWriterEncoding.Code128GS1); // Add a custom annotation text below the barcode with the trimmed value barcode.AddAnnotationTextBelowBarcode(trimmedString); // Save the barcode image as a PNG file barcode.SaveAsPng("gs1code128.png"); } } $vbLabelText $csharpLabel 출력 바코드 바코드를 스캔할 때 출력은 (01)95012345678903(3103)000123(00)0000000123300000(00)00012312300000이며, 바코드 유형은 GS1Code128로 감지됩니다. 커티스 차우 지금 바로 엔지니어링 팀과 채팅하세요 기술 문서 작성자 커티스 차우는 칼턴 대학교에서 컴퓨터 과학 학사 학위를 취득했으며, Node.js, TypeScript, JavaScript, React를 전문으로 하는 프론트엔드 개발자입니다. 직관적이고 미적으로 뛰어난 사용자 인터페이스를 만드는 데 열정을 가진 그는 최신 프레임워크를 활용하고, 잘 구성되고 시각적으로 매력적인 매뉴얼을 제작하는 것을 즐깁니다. 커티스는 개발 분야 외에도 사물 인터넷(IoT)에 깊은 관심을 가지고 있으며, 하드웨어와 소프트웨어를 통합하는 혁신적인 방법을 연구합니다. 여가 시간에는 게임을 즐기거나 디스코드 봇을 만들면서 기술에 대한 애정과 창의성을 결합합니다. 시작할 준비 되셨나요? Nuget 다운로드 2,108,094 | 버전: 2026.3 방금 출시되었습니다 무료 체험 시작하기 NuGet 무료 다운로드 총 다운로드 수: 2,108,094 라이선스 보기 아직도 스크롤하고 계신가요? 빠른 증거를 원하시나요? PM > Install-Package BarCode 샘플을 실행하세요 실이 바코드로 변하는 모습을 지켜보세요. NuGet 무료 다운로드 총 다운로드 수: 2,108,094 라이선스 보기