We have been using Code128 to create USPS certified barcode containing one Action Identifier. Now we are trying to create USPS Package barcode (priority) which requires two Action Identifiers in the barcode. Can you let us know how we can achieve that? See below for the spec and we need to insert two FNC1 codes in the barcode.
https://www.barcodefaq.com/usps-postal/usps-impb-gs1-128/
USPS Intelligent Mail Package Barcodes
Re: USPS Intelligent Mail Package Barcodes
Support · Jan 22, 2020Hello,
You can achieve your requirement using DynamicPDF Generator for .NET. You will need to use "~1" in the barcode input text to add FNC1. The "~" (tilde) alone has no value. You can add multiple FNC1 characters without any problem.
Setting IsUCCEAN128 property to true will add a FNC1 character at the beginning of the barcode indicating that the barcode is GS1(EAN128).
Here is sample code:
Document doc = new Document();
Page page = new Page();
Code128 code = new Code128("42035283~19205596900873000000029", 10, 10, 50);
code.ProcessTilde = true;
code.IsUCCEAN128 = true;
page.Elements.Add(code);
doc.Pages.Add(page);
doc.Draw("code-gs1-128.pdf");
Also, we do not validate any AI numbers (Application Identifiers), you will need to make sure to provide the correct values.
Thanks,
ceTe Software Support Team