New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions

How do you suppress popup boxes from the command line?

I am calling Image Generator.exe from the command line.
When using Symbology 2 (CODE128), I am getting the popup box "NOTE: The Use Check Digit Setting has no effect for Code 128 because Code 128 requires a MOD 103 check digit that cannot usually be entered manually."

Is there a way to suppress this message from the command prompt? My application will be generating barcodes automatically, and there will not be a user who can press the "OK" button on the popup.

Command line:
"C:IDAImage Generator.exe" Loadvalues+C:IDAlinear_setup.xml+42084056+C:IDAoutput.bmp

Contents of the XML:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xmlfile>
<ApplyTilde>False</ApplyTilde>
<BarColor>-16777216</BarColor>
<BackColor>-1</BackColor>
<CaptionAbove />
<CaptionBelow />
<CaptionBottomAlignment />
<CaptionBottomColor>-16777216</CaptionBottomColor>
<CaptionBottomSpace>0</CaptionBottomSpace>
<CaptionTopAlignment>Center</CaptionTopAlignment>
<CaptionTopColor>-16777216</CaptionTopColor>
<CaptionTopSpace>0</CaptionTopSpace>
<DataToEncode />
<ImageResolution>96</ImageResolution>
<LastSaveDirectory />
<LastSaveExtension>3</LastSaveExtension>
<Orientation>0 Degrees</Orientation>
<SetUnitInches>True</SetUnitInches>
<SetUnitMetric>False</SetUnitMetric>
<Width>116</Width>
<Top>376</Top>
<Left>192</Left>
<Height>68</Height>
<Bitmap>False</Bitmap>
<X>18</X>
<LeftMargin>0</LeftMargin>
<TopMargin>0</TopMargin>
<BarHeight>0.4</BarHeight>
<Code128Set>0</Code128Set>
<HRTextColor>-16777216</HRTextColor>
<ShowHRText>False</ShowHRText>
<Symbology>2</Symbology>
<TextAbove>False</TextAbove>
<TextMargin>0</TextMargin>
<UPCESystem>0</UPCESystem>
<BearerBarHorizontal>0</BearerBarHorizontal>
<BearerBarVertical>0</BearerBarVertical>
<CharacterGrouping>0</CharacterGrouping>
<ShowCheckDigit>False</ShowCheckDigit>
<UseCheckDigit>False</UseCheckDigit>
<USPSShortBar>.05</USPSShortBar>
<WhiteBarIncrease>0</WhiteBarIncrease>
<Wide2Narrow>3</Wide2Narrow>
</xmlfile>


06-07-13     11.3 year(s) ago    

  Report Abuse

 

Ben

Best Answer

Code 128 will always produce a MOD103 check digit. Therefore, enabling or disabling the Use Check Digit will have no effect. Setting UseCheckDigit to True will work sometimes. If you do not have any other symbologies to encode, removing the options should also work.

Posted 11.3 year(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.
Other Answers (2)
I am getting the pop-up box while using both True and False.

I was able to get around the problem by removing the tag <UseCheckDigit> from the xml file.

Based on the Note in the pop-up box, will Image Generator.exe always return a 128 barcode without the check digit?

Posted 11.3 year(s) ago

(0)
(0)
   Report Abuse
In the XML file, set UseCheckDigit to True it should prevent the check digit pop-up warning.

Posted 11.3 year(s) ago

(0)
(0)
   Report Abuse
Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2021 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook