Barcode Scanners
From NewHaven Software Wiki
Contents |
Overview of scanning methods
There are two modes of communication for a scanner to communicate: serial or keystrokes. If the scanner is configured/connected as a serial scanner, it transmits all of the scanned data to the software and lets the software determine what to do with the data. If the scanner is operating in a keyboard emulation (aka keyboard-wedge), the software is out of the loop for any interpretation of the scan and just processes the keystrokes as if you had typed them in.
Keyboard emulation is great in a lot of ways because there are no drivers for Windows or settings for the software. Very little to go wrong. Its strength is also its weakness though. While operating in keyboard mode, the software does not know when you are scanning and thus cannot do anything to help. This is the reason we've elected to use scanners in the serial mode for CMS's POS module and also the shipping manifest. With serial scans CMS can know when you are scanning and can do more for you.
The benefits of operating in serial mode currently include:
You can scan a barcode from anywhere on the Item screen. Say, for example, your cursor is in the qty or price field. CMS will recognize your scan as an 'Add new item' operation and will add the item you've scanned. (In keyboard mode you would have to make sure your cursor is always in the Product field, again, the same as if you were typing it in.)
Other such "smart" solutions are available to us in the shipping manifest as CMS can add a package when you scan, regardless of where you are on the manifest screen. It can also automatically bring in the weight from the scale as part of the scan. In keyboard wedge mode, you would have to be sure your cursor was in the Add A Single Package field.
With the way the serial-mode scans work in POS now, you merely scan the barcode and the cursor jumps to the qty field with a qty of 1. From there you can change the qty if it is other than 1 or, if 1 is correct, you can just move on to scanning the next product and not have to press Enter or click + to be ready for the next item. In other words, you can just scan products with no keyboard interaction unless the qty > 1. We saw this as a very efficient means of scanning while not making the qty field required since most items will be qty = 1.
If you prefer, you can reprogram the scanner to use keyboard emulation instead. As stated above though, it comes at the cost of operator having to make sure they are in the Product field when scanning. In the hectic POS/Retail environment, we did not think this was acceptable. Much the same holds true for shipping stations and the use of serial scanners there.
Scanners
As described above, scanners can work in a serial (or serial emulation for USB) mode or keyboard emulation. Most any scanner can be programmed to work with either method. Changing between them is typically just a matter of scanning barcodes in the scanner's manual to program the options you want to use. Some scanners, however, will require specific cables for different communication types and, to facilitate these, most scanners' cables can be replaced.
Not sure what mode your scanner is in? Open Notepad and scan any barcode (coke can, candybar, tracking number, etc.) and if the text shows up in Notepad, the scanner is in keyboard emulation mode. If you see nothing, chances are it is in serial emulation mode.
Presently CMS will work with serial scanners (again this includes USB scanners operating in serial emulation mode) in the following places:
- POS Module (v5.0+)
- Manifest (v5.2+)
Models Supported
Please see our CMS System Requirements for a current list of supported brands/models.
Serial Scanner Programming
While NewHaven Software offers support and programming instructions for a select number of scanner models (available from Support Downloads), chances are most any scanner can be programmed to work with CMS. If you'd like NewHaven Software to certify your preferred scanner model, we can do so for a small fee. In return we will provide step by step setup instructions and ongoing support for your use of that scanner model. Contact your account rep or technical support for more details.
If instead you'd like to take a crack at it on your own, here are the elements we look for when programming a scanner:
- Get the manual - If you don't have it handy, download a copy from the manufacture's website. Most are available in a .pdf format.
- Get the Windows driver - Here again, download from the manufacture's website if you do not have a driver disk or know the location of the driver file
- Reset Product Defaults - scan the code that resets the scanner back to factory defaults
- USB Com Port Emulation - If the scanner is connected by USB (recommended), scan the code to enable USB Com Port Emulation. When programming a scanner to operate in serial mode, Windows will immediately recognize it, assign a COM port, and prompt you to install new hardware. Be prepared for this and have the driver handy, ideally in a subdirectory of NewHaven Software on the network for easy access to all workstations (each workstation using a serial scanner will need its own driver). Drivers for supported scanners are included on CMS CD's that we ship and are available on request along with the scanner's PDF manuals used for programming the scanners.
- Add a Carraige Return (CR) suffix - scan the code in the programming guide that appends a carraige return after every scan
- Remove the Line Feed (LF) suffix - Not all scanners default to include this but if yours does, you want to disable it
- Configure CMS to work with your scanner - In CMS the setup for serial scanners is in Workstation Specific under the Serial Dev tab. There you can click test to confirm it is working properly (you will see the contents of your scan in the box next to Test.) Refer to Device Manager in Windows if you are unsure of the com port assigned to the scanner. Default baud is typically 9600.
Where scanners are used
There are several places in CMS where scanning barcodes is supported and even encouraged. If you consider barcodes in keyboard emulation mode though, your imagination is your limit on what could be done to help automate anything you might do repeatedly in CMS that can be keyboard navigated.
- Order Entry/POS - In CMS's optional POS module we support serial scans. In other words, CMS knows that a scan in Order Entry means
- Add new product
- product code
- Enter
and you'll be sitting in the qty field where the operator can enter a qty or just scan the next item. Note that with the POS module, CMS will recognize either product codes or UPC codes. UPC codes can even be typed in.
- Shipping - UPS Worldship and FedEx Ship Manager will work only with keyboard emulation and this works nicely with the barcoded package number CMS can print on your fulfillment forms. This also works well in CMS's Manifest screen for use with Endicia or general USPS manifesting. As of version 5.2 CMS can also support serial scanners in the manifest. Here again this means you do not have to be in the 'add new package' field and the weight can automatically be brought in from a connected scale.
Printing Barcodes
CMS can print barcoded package numbers on CMS forms and can also be done with Crystal as described in our Release Notes
We do not yet print product barcodes. In the mean time, if you'd like to print barcodes we're recommending Bartender. The Professional version allows you to connect to CMS via ODBC and can print anything from our database. You may opt for Basic at the sacrifice of ODBC connectivity. Either way, this is great software that lets you design your own label formats and contents.