Most scanners can be set to trim either leading or trailing characters.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Nirvan Chakravarthi Alagumalai
Sent: Friday, June 23, 2023 10:52 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Technical Question
________________________________
CAUTION: This email originated from outside of the PENCOR network. Do not click on any links or open attachments unless the sender is known, and the content is verified as safe.
________________________________
Hello All,
I have a program that accepts a 16 digit scan. But I have barcodes that
are greater than 16 digits being scanned. Do you know of a way to ignore
the trailing characters after the 16 digits?. I am finding that the program has no control over the trailing characters and the screen stays in
a lock state until it is cleared. (like there is an error). I am
wondering how a 16 byte field can carry more than its actual length. Any help and suggestions would be appreciated - thanks in advance.
[image: image.png]
Scan the barcode
[image: image.png]
Screen after the scan, causing the user to clear the message.
[image: image.png]
Regards by
*Nirvan Chakravarthi | Software Engineer*
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.