<< Click to Display Table of Contents >> Navigation: Reports > User-Defined Reports > Example - Creating a Barcoded ID CardProfessional Version Only |
There are two primary things to know about using barcodes:
•A barcode is just a True Type font like any other Windows font. You can pick any text in any report and set the font to your barcode font, and it will print as a barcode. Barcode fonts are not free. Most of the "free" barcode fonts you find are either poor designs that may not scan well, or are stolen. Do the right thing and license a font for your use. There are excellent, inexpensive font packages available at ID Automation. They deal exclusively with barcodes and barcode scanners, and we've recommended their products for a long time.
•When you scan a barcode, it simply dumps the contents of the code into whatever field your cursor is currently in. If the barcode contains the member ID, then the cursor should be sitting in a search field labeled, "Member ID".
1.Buy a barcode font if you don't have one.
We recommend the Code 39 (also known as "3 of 9") barcode font. A of this writing, one is available through ID Automation (https://www.idautomation.com) in a package that contains the font in various sizes, and with or without the text below the code that displays what the barcode means. This font is recommended for normal alphanumeric data that doesn't need a checksum.
2.Install the font(s) you want to use. This is as normally as simple as dropping the font into your c:\program files\windows\fonts directory, but follow any instructions that come with the font.
1.Create a new user-report. See this example for an overview of creating a report from scratch.
Note that the plain business card format or photo card is the most common.
Note: We use a dot at the start of the Report Name so our user-reports sort to the top of the list.
2.Add the fields you want to show on the card normally, and as the last field at the bottom, choose Member ID.
In our example, we used:
- A smart field to combine the first and last name
- The status, with a pretext label, "Status:"
- The Member ID, with a pretext label, "ID:"
- A freeform text field with the "<br>" pretext to cause a blank line
- A second copy of the Member ID, using our barcode font.
Note: the pre/posttext characters used for the barcode field are the Start and Stop characters recommended for the barcode font. Without these characters, the codes will print in varying widths and may not read correctly. Refer to the documentation for your font for the appropriate start and stop characters.
3.When adding the Member ID field, click Font and set the font to be your new barcode font, and the size to be 12 (for easier scanning).
4.Preview the report and adjust the column widths appropriately. You'll probably want to make the Member ID field the full width of the card, and then center the text so it looks the best.
5.Save the card.
Note: Depending on which font you use, you may need to add a start and stop character to the barcode. If so, use the Pretext and Posttext settings for the Member ID field. i.e., if the start/stop character is a "!", then when you add the column ID that uses the barcode font, enter a "!" for the pre- and post text values.
6.Now the report will be available to open normally.
There are lots of scanners available. Once again, we like the ones at ID Automation, because they're ergonomic, and several models come with a stand that makes it easy to use unattended check-in mode. Be sure to get one that functions as a "wedge" or "keyboard wedge." i.e., the value scanned appears on screen as if you typed it on the keyboard. This will ensure that the scanned number appears in the active field in MemberTies.