Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

AX-4 adds or deletes the last character in a string
Started by Gabe-Forum@LEADTOOLS.com at 05-26-2006 10:16. Topic has 0 replies.

Print Search « Previous Thread Next Thread »
  05-26-2006, 10:16
Gabe-Forum@LEADTOOLS.com is not online. Last active: 12/30/2008 3:55:49 PM Gabe-Forum@LEADTOOLS.com



Top 25 Posts
Joined on 04-27-2005
Posts 236
AX-4 adds or deletes the last character in a string

Barcode standard committees have defined whether presence of a check character is optional or mandatory.

Symbol Type

Check Word

EAN 13

Mandatory

EAN 8

Mandatory

UPCA

Mandatory

UPCE

Mandatory

CODE 39

Optional

CODE 128

Mandatory

Interleaved 2of5

Optional

CODABAR

Optional

The ErrorCheck control effects only symbols that have optional Check Characters. The ErrorCheck control has no effect on symbols where the Check Character is mandatory.

The ErrorCheck directs the engine to verify the Check Character. If correct the engine will return a status of 0 and the Check Character is removed from the string. If incorrect the engine returns a 42 and appends the Check Character to the string.

Barcode symbols where the Check Word is mandatory behave as if the Error Check is always enabled.

Starting with version 4.52 of AX-4 a new control bit called AX_BAR_RETURNCHECK was introduced. If enabled this control forces the engine to always append the Check Character to the return string, regardless of barcode type. This is conditioned on the assumption that the printed symbol does contain a check character. The following two tables illustrate engine behavior as explained above.

Symbol types with Optional Check Characters:

 

Return status OK (0) 

Return status not OK (42)

Check Character enabled

Returns string

Returns string +
check-character.*

Check Character disabled

Returns string +
check-character.*

N/A

AX_BAR_RETURNCHECK enabled

Returns string +
check-character.*

Returns string +
check-character.*

* Provided the barcode symbol was printed with a check-character.


Symbol types with Mandatory Check Characters:

 

Return status OK (0) 

Return status not OK (42)

Check Character enabled

Returns string

Returns string +
check-character.*

Check Character disabled

Returns string

Returns string +
check-character.*

AX_BAR_RETURNCHECK enabled

Returns string +
check-character.*

Returns string +
check-character.*

* Provided the barcode symbol was printed with a check-character.

 


   Report 
Post
LEAD Support Fo... » LEAD/Axtel Barc... » LEAD/Axtel FAQ » AX-4 adds or deletes the last character in a string

Powered by Community Server, by Telligent Systems