{"id":928,"date":"2019-08-07T07:53:43","date_gmt":"2019-08-07T14:53:43","guid":{"rendered":"https:\/\/portal.staylinked.com\/sl\/kb\/?post_type=ht_kb&#038;p=928"},"modified":"2023-12-18T10:27:50","modified_gmt":"2023-12-18T18:27:50","slug":"making-adjustments-to-scan-input","status":"publish","type":"ht_kb","link":"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/making-adjustments-to-scan-input\/","title":{"rendered":"Making Adjustments to Scan Input"},"content":{"rendered":"\n<p>Each layer involved in the input of data can be configured\nto adjust that data. For example, devices with integrated scanners often have\ncontrol panel applets that allow you to create rules. Devices running programs\nlike DataWedge are typically not hardware-specific, but can likewise include\nrules or adjustments to barcode data. Data passed from the device to StayLinked\ncan then have StayLinked make adjustments to the data before submitting it to\nthe telnet host. The telnet host may include its own adjustment to incoming\ndata such as standardizing formats or data length.<\/p>\n\n\n\n<p>The following notes and considerations may be important when\ndeciding where barcode adjustments should be made in your environment:<\/p>\n\n\n\n<p><strong>On the device (DataWedge\n\/ Scan Engine) \u2013<\/strong> Making adjustments at this level often require touching or\nconfiguring every device. Some third-party tools may help standardize the configuration,\nbut different device manufacturers offer different tools and utilities for\nmanipulating barcode data. Some manufacturers do not provide simple scan engine\nconfiguration, instead relying on third-party vendors to configure the hardware\nas required for their application.<\/p>\n\n\n\n<p>In some cases, a scan beam may shine over a barcode as\nthough it was a blank paper. When the scan beam does not acknowledge a barcode,\none of two things is usually the issue:<\/p>\n\n\n\n<ol><li>The\nscan engine is not configured to decode the barcode type, or the barcode length\nis outside the minimum or maximum length specific for that barcode type, or<\/li><li>The barcode itself may be defective. Using\nanother type of device to try and read the barcode is usually the best way to\nsee if a barcode is valid. Most modern smart phones can download a free\napplication to recognize barcodes and decode their contents.<\/li><\/ol>\n\n\n\n<p><strong>Within StayLinked \u2013<\/strong>\nMaking adjustments to data can be configured for all devices, or groups of\ndevices with one or more rules. StayLinked supports adjustments to barcode data\nin three different places. In areas 1 and 2 below, the adjustments are specific\nto a barcode symbology. You can confirm what StayLinked receives as the\nbarcode type by using the StayLinked Client Scan Test as mentioned above. The\nthree areas for barcode adjustments in StayLinked include:<\/p>\n\n\n\n<ol><li>Telnet\nHost Entry \u2013 When you configure the rules for communicating with a telnet host,\nyou can select the Manage pulldown menu from the top of the screen to set\nbarcode rules that apply only to that telnet host.<\/li><li>Device Groups \u2013 Rules added to the device group\nhave priority over settings in the telnet host. This allows you to create\nglobal rules in the host entry, and then exceptions in the individual groups\nthat require special adjustments.<\/li><li>Screen Recognition \u2013 These features can be used\nto apply \u2018Input Modifiers\u2019 to specific screens or fields. More information on\nInput Modifiers can be found in the SmartTE and Screen Recognition User\u2019s\nGuide. <\/li><\/ol>\n\n\n\n<p>All three of these locations support the use of regular\nexpressions. Several common configuration options, such as trimming spaces,\nreplacing certain characters and prefix\/suffix additions can be made in the\nbasic configuration dialogues. More complicated adjustments may require the use\nof regular expressions. More information on regular expressions can be found in\nthe Regular Expression Guide, or using online materials. These expressions make\nup a simplified syntax for identifying patterns and returning the desired\nresults.<\/p>\n\n\n\n<p><strong>At the Hosted Application \u2013 <\/strong>Some hosted applications may track data or restrict input based on barcode data. One example would be the use of a prefix character on barcodes that cannot be typed. When this character appears at the beginning of a barcode, the host application can strip the character off and then proceed with the transaction with the confirmation that the data has been scanned. Special prefixes may also be used to identify the type of barcode scanned, helping to eliminate the entry of incorrect barcodes into the hosted application.<\/p>\n\n\n\n<h3>Special Characters in Barcodes<\/h3>\n\n\n\n<p>Some symbologies such as GS1 can display a bracket character at the beginning of each barcode. Bracket characters are processed by StayLinked as part of a mnemonic. These mnemonics, like [enter] and [tab] perform a function instead of simply typing the word into the application. These mnemonic examples would perform [enter] as a Carriage Return and Line Feed (0x0A0D) or a tab key (0x09). <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img loading=\"lazy\" width=\"404\" height=\"510\" src=\"https:\/\/portal.staylinked.com\/sl\/kb\/wp-content\/uploads\/2019\/08\/Add-new-Barcode.jpg\" alt=\"\" class=\"wp-image-929\" srcset=\"https:\/\/portal.staylinked.com\/sl\/kb\/wp-content\/uploads\/2019\/08\/Add-new-Barcode.jpg 404w, https:\/\/portal.staylinked.com\/sl\/kb\/wp-content\/uploads\/2019\/08\/Add-new-Barcode-238x300.jpg 238w, https:\/\/portal.staylinked.com\/sl\/kb\/wp-content\/uploads\/2019\/08\/Add-new-Barcode-40x50.jpg 40w, https:\/\/portal.staylinked.com\/sl\/kb\/wp-content\/uploads\/2019\/08\/Add-new-Barcode-48x60.jpg 48w, https:\/\/portal.staylinked.com\/sl\/kb\/wp-content\/uploads\/2019\/08\/Add-new-Barcode-79x100.jpg 79w\" sizes=\"(max-width: 404px) 100vw, 404px\" \/><\/figure><\/div>\n\n\n\n<p>Single brackets are treated as a\nfailed mnemonic, preventing the barcode data from being submitted to the hosted\napplication by the StayLinked Server. The barcodes would appear in the\nStayLinked Client Scan Test, but the server-side test would show the issue in\nthe Translation. Double brackets are translated as a single. The adjustment can\nbe made in the scan engine, or at the StayLinked Server as mentioned above. The\nmost common setting to allow the bracket character to the host application\nwould be a substitution of the single bracket to a double bracket as shown here\nto the right.<\/p>\n\n\n\n<p>Tab Characters can sometimes be\nentered in concatenated barcodes to split one barcode across multiple fields of\ndata. This may work in 5250 because of the block-mode nature of the emulation.\nVT emulation does not contain actual fields, and involves some amount of\nprocessing between changes in displayed input location. This means VT can only\nparse the data across input entries if the host can process each input fast\nenough to keep up, or can store the data as it is entered for the forthcoming\ninput prompts.<\/p>\n\n\n\n<p>Some barcodes can include embedded control codes. These codes are passed on to the host application as part of the input string, but may cause the host issues if it is not prepared to handle the events. These control codes can be globally replaced in the barcode rules above by setting the replacement character. The replacement can be a standard printable character or a simple NULL value 0x00. Control codes adjusted by this setting are any value in hexadecimal below 0x20. 0x20 and codes above will not be affected by this option.<\/p>\n\n\n\n<h3>Symbology Identifiers and scanner.ini<\/h3>\n\n\n\n<p>Devices that require scanner\nconfiguration may provide an option for a symbology identifier. This value\ntells the program what type of barcode has been scanned. Without this option,\nall barcodes may be reported as a barcode type of Unknown\/Unsupported. It is\nalways important to make sure any barcode rules are applied to the correct\nsymbology type and will not adversely affect barcodes used on other screens, of\ndifferent lengths, or barcode that contain different types of data.<\/p>\n\n\n\n<p>Devices that require customization of these symbology identifiers can use a custom configuration file called scanner.ini. More information on this configuration file can be found in the StayLinked Client User Guide for the correct version of your StayLinked Client.<\/p>\n\n\n\n<h2>Beep on Bad Scan Inputs<\/h2>\n\n\n\n<p>Only the host application knows what a correct or invalid barcode might look like. Everything in the communication chain prior to the host application simply acts as a transport. You can 'teach' StayLinked when to look for specific screen contents, but it's not a simple option and would need to be done for every desired screen.<\/p>\n\n\n\n<p>This means you can use <a href=\"https:\/\/portal.staylinked.com\/sl\/kb\/article-categories\/screen-recognition\/\" rel=\"noreferrer noopener\" target=\"_blank\">Screen Recognition <\/a>features that trigger a beep when an error message is painted to the screen.<\/p>\n\n\n\n<p>There's a video at the bottom of <a href=\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/identifying-users\/\" rel=\"noreferrer noopener\" target=\"_blank\">this page<\/a> that will give you an idea of how the steps might work. Instead of using the Screen Designer tab, you would use the Host APIs tab to set the beep commands.<\/p>\n\n\n\n<p>Support can help with an example or if you run into issues with this configuration. Your StayLinked reseller may also offer services options if you would like the work to be completed for you.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Each layer involved in the input of data can be configured to adjust that data. For example, devices with integrated scanners often have control panel applets that allow you to create rules. Devices running programs like DataWedge are typically not hardware-specific, but can likewise include rules or adjustments to barcode&#8230;<\/p>\n","protected":false},"author":7,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[52],"ht-kb-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Making Adjustments to Scan Input &ndash; StayLinked<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.staylinked.com\/knowledge-base\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Making Adjustments to Scan Input &ndash; StayLinked\" \/>\n<meta property=\"og:description\" content=\"Each layer involved in the input of data can be configured to adjust that data. For example, devices with integrated scanners often have control panel applets that allow you to create rules. Devices running programs like DataWedge are typically not hardware-specific, but can likewise include rules or adjustments to barcode...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/making-adjustments-to-scan-input\/\" \/>\n<meta property=\"og:site_name\" content=\"StayLinked\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-18T18:27:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/portal.staylinked.com\/sl\/kb\/wp-content\/uploads\/2019\/08\/Add-new-Barcode.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/#website\",\"url\":\"https:\/\/portal.staylinked.com\/sl\/kb\/\",\"name\":\"StayLinked Knowledge Base\",\"description\":\"Partner Portal Resources and Support\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/portal.staylinked.com\/sl\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/making-adjustments-to-scan-input\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/portal.staylinked.com\/sl\/kb\/wp-content\/uploads\/2019\/08\/Add-new-Barcode.jpg\",\"contentUrl\":\"https:\/\/portal.staylinked.com\/sl\/kb\/wp-content\/uploads\/2019\/08\/Add-new-Barcode.jpg\",\"width\":404,\"height\":510},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/making-adjustments-to-scan-input\/#webpage\",\"url\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/making-adjustments-to-scan-input\/\",\"name\":\"Making Adjustments to Scan Input &ndash; StayLinked\",\"isPartOf\":{\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/making-adjustments-to-scan-input\/#primaryimage\"},\"datePublished\":\"2019-08-07T14:53:43+00:00\",\"dateModified\":\"2023-12-18T18:27:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/making-adjustments-to-scan-input\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/making-adjustments-to-scan-input\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/making-adjustments-to-scan-input\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/portal.staylinked.com\/sl\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Making Adjustments to Scan Input\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb\/928"}],"collection":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/comments?post=928"}],"version-history":[{"count":1,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb\/928\/revisions"}],"predecessor-version":[{"id":4775,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb\/928\/revisions\/4775"}],"wp:attachment":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/media?parent=928"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=928"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}