In the process of automated management of a library, the problem of bar code printing, such as printing a book registration number bar code or reader bar code, is often encountered. Some libraries use magnetic cards or IC cards as readers' borrowing cards, but the cost of processing magnetic cards or IC cards is relatively high. Generally, they only apply to public libraries to handle long-term and fixed loan cards for readers. University library readers have strong mobility. If they can use the existing computer and printing equipment in the library to handle cheaper readership for readers, they will certainly be welcomed by readers.
Ordinary bar code printing software, such as LW2 software, can be used to continuously print a bar code, but cannot insert and print descriptive text, so it is only suitable for printing a book registration number, and not for printing a reader borrowing certificate. Recently, the author found a font file named "V100001.TTF" on the software market, which is 11 9KB in length. Install it under Windows 95, you can use common word processing software or database development software to define common characters as barcode fonts to quickly and accurately generate a barcode. Simple steps to print reader loan cards using font software:
(1) Install the font. The installation of the "V10001.TTF" font is the same as a normal TrueType font. There are two ways to do this: 1 Open the "Start" menu and select "Set Control Panel Fonts" to open the "Font" window. Open the "File" menu in this window, select "Install New Font" and the "Add Font" dialog box appears. Browse through the drive or directory until you find the font name "C39HrP24DhTt(TrueType)" in the "Font List" window. Click "Select" and click "OK" to complete the installation. 2 Open Explorer, select the "V10001.TTF" font file directly on the CD-ROM or floppy disk, and copy it from the source directory to the FONT subdirectory of the Windows 95 system directory to complete the installation. After the installation is complete, select the font in the Fonts window or Explorer window and select the menu "File Open" to view the font sample.
(2) Enter the contents of the certificate. Open the Word software and input the contents as usual in the input editing window, such as the certificate name, name, student number, and unit. Enter the number of the certificate at the position where you want to print the barcode, such as "S96313001", and note that before and after the certificate number, "" No. Because only such a barcode reader can recognize it.
(3) Define the font and convert the barcode. Then define the font and font size for each item. For example, the "reader certificate" is defined as the black body and the third. For the certificate number that needs to be converted into a bar code, first drag the mouse to set it black (including the front and rear ""), and then select "C39HrP24DhTt" from the font drop-down box, you can see the character is converted into a bar code.
(4) ID card printing. After the computer is connected to the printing device—preferably a laser printer, press the Print button to print out a reader card with a clear texture and scanned by the barcode reader. As can be seen from the above example, printing barcodes using the V10001.TTF font file is the same as using a generic font file. And Foxpro and other database languages ​​for the existing readers to write software to print readers of the certificate, just use the @...SAY certificate number FONT “C39HrP24DhTt†statement can easily print out readers' barcodes barcodes.
Source: Zhiwei barcode online