Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Intelligent Mail Barcode Parsing Incorrectly in Blazor

$
0
0

I have a Blazor project to produce USPS Intelligent Mail Barcodes.

I am using the NeoDynamic.Blazor.BarcodeProfessional component to generate the barcode from the required parameters. The component is parsing the completed code in the wrong place.

The required inputs are below (I've replaced personal ID values with substitutes).

string barcodeId    = "00";        // Default / No OELstring serviceType  = "702";       // Standard Mailstring mailerId     = "123456789"; // Mailer IDstring serialNumber = "000001";    // Parcel tracking numberstring zipCode      = "980035555"; // Real ZIP+4+2 from address

To build a complete code of 00702123456789000001980035555

mailerID can be 6 digits, with a corresponding serialNumber being 9.

mailerID can also be 9 digits, with a corresponding serialNumber being 6.

Our mailerID is 9 digits, but is being parsed as 6, with the last 3 digits being read as part of the serial number.

Correct code

"00 702 123456789 000001 980035555"

Being read

"00 702 123456 789000001 980035555"

Does anyone have any experience with this Nuget package, and the solution to parsing this correctly?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>