Bar code printing method and printer

Abstract: A bar code printer is used for the printing of symbol guards (25) to be printed on both sides of a bar code pattern (23) leaving fixed margins (24), simultaneously with printing of the bar code pattern (23) formed with the combination of wide lines and narrow lines having been standardized previously. Even if wrinkles on a thermal transcription ink ribbon occur in the vicinity of symbol guards (25) provided on both sides of the bar code pattern (23), the wrinkles do not occur in the bar code printing region; it is therefore possible to perform high quality bar code printing with the bar code printer.

Description: The present invention relates to a printing method and a printer for bar codes in which a variety of codes are formed by the combination of narrow lines and wide lines. Generally in the case of bar codes, many kinds of codes formed with the combination of narrow lines and wide lines are set and they are printed on sheets of printing paper by thermal printers. As for printing methods there are two methods; one is a thermosensible method in which thermosensible paper is used for a printing medium and the other is an ink transcription method in which ink is transcribed through a printing ribbon on a printing medium of ordinary paper. In an ink transcription method a thermal transfer ink ribbon is used. Some printers are provided with stretching mechanisms for ribbons not to slacken. Even if any printing method is adopted, there are a plurality of standards in bar codes and in each standard the number of characters per unit dimension, the size of a narrow bar and the ratio between the sizes of a narrow bar and a wide bar are different. There are standard specifications and optional specifications in the kinds of bar codes. Standard specifications include (a) JAN, UPC, EAN (b) NW-7 (c) CODE 39 (d) ITF etc., and optional specifications include (e) CODE 128 (f) CODE 93 (g) MSI (h) others etc. Fig. 12 (a), (b) and (c) show a printed example of a bar code 1 wherein a line thermal head of 7.6/mm dot density is used and narrow bars (NARROW) are 1 dot, 2 dots and 3 dots, and the ratio between the sizes of a narrow bar and a wide bar (WIDE) is 3 : 1. Usually on both ends of a bar code 1, guard bars 2 are disposed and there are margins 3 outside the guard bars 2. When a bar code is printed by ink transcription method using an ink ribbon, the ink ribbon can be locally shrunken by the influence of heat generated by a thermal head. In such a case wrinkles occur in the ribbon and the ink once stuck on a sheet of printing paper re-adheres to the ribbon, a phenomenon so called removableness, which degrades the printing quality of the bar code 1. Insufficient inking is apt to occur in both end parts of the bar code 1. It is caused by the fact that wrinkles are most likely to occur on the border between a printed region and a non-printed region. IBM Technical Disclosure Bulletin Vol. 17 No. 5 October 1974 against which claim 1 is delimited shows a bar code pattern with left-hand guard patterns and right-hand guard patterns enclosing the normal bar codes. These guard bar patterns are located close to the bar codes and therefore in relation to the problem of avoiding print degradation arising from the wrinkles, would have no significant effect. An object of the present invention is to improve the print quality of bar code patterns by arranging not to produce wrinkles on an ink ribbon in the printing region of bar code patterns. The invention is as defined in claim 1. In the present invention, the symbol guards are printed with a selected margin spacing between the symbol guards and the bar code pattern which spacing is such that the region of wrinkling in the vicinity of the symbol guards does not extend to the region of the bar code pattern lying on the inner side of said symbol guards, thereby enabling transcription of ink to be performed normally in said bar code pattern region. Owing to the arrangement as described in the above, even if wrinkles on the thermal transcription ink ribbon occur in the vicinity of the symbol guards provided on both sides of the bar code pattern, the occurrence of wrinkles is prevented in the bar code print region. It is therefore possible to perform high quality bar code printing. The above-mentioned function is made all the more certain by starting the print of a symbol guard before that of the print of the bar code pattern. Brief Description of the Drawings Fig. 1 is a plan view showing a bar code image in a first embodiment of the present invention. Fig. 2 is a block diagram of a bar code printer according to the present invention. Fig. 3 is a flow chart. Fig. 4 is a plan view showing a bar code image corresponding to each part in Fig. 3. Fig. 5 is a flow chart showing a second embodiment of the present invention. Fig. 6 is a plan view showing a bar code image corresponding to each part in Fig. 5. Fig. 7 to Fig, 11 are plan views showing the examples of pattern variations of symbol guards. Fig. 12 are plan views showing the forms of conventional bar codes. Detailed Description of Preferred Embodiments A first embodiment according to the present invention will be explained referring to Fig. 1 to Fig. 4. A thermal printer is provided with a CPU 4 to which a ROM 5 as a program memory and a RAM 6 having a built-in image buffer are connected. A SRAM 8 connected to a backup circuit 7 and a RAM card I/F 10 to which a RAM card 9 is connected are also connected to the CPU 4. A thermal print head 11, a step-motor 12, a DC motor 13, etc. are provided in the printer. These step-motor 12 and DC motor 13 are connected to the CPU 4 through a driving circuit 14 to be used for printing data, a step-motor driver 15 and a ribbon motor driver 16. A sensor 18 is connected to the CPU 4 through a sensor I/F 17 and a keyboard 20, which works as a bar code designating means, is also connected to it through a communication I/F 19. The CPU 4 is also connected to a host computer. In the ROM 5 various kinds of bar codes are set, and the ROM 5 works as a bar code storing means. A bar code 22 comprises a usual bar code pattern 23 and symbol guards 25 provided on both sides of the bar code pattern 23, leaving margins 24 of fixed width outside the pattern 23. The width of a symbol guard coincides with that of a wide bar. When bar code printing is performed in the configuration as mentioned in the above, the bar code 22 is designated by a command of the keyboard 20 or the host computer 21; therefore the keyboard 20 or the host computer 21 works as a bar code designating means. In the designation of a bar code, at first the kind, magnifications, data and others are input. The bar code pattern 23 in the ROM 5 is pulled out by the input data and based on the designating data the bar code pattern 23 to be printed is developed in the image buffer in the RAM 6 [Fig. 3 (a)]. The minimum necessary margins on both sides are calculated based on the kind and magnifications of the bar code pattern 23 [Fig. 3 (b)]. The calculation of the margin width is automatically performed by a margin automatic setting means when the kind and the magnifications of the bar code pattern 23 are set. Next, the coordinates of the starting point of the left symbol guard is calculated based on the coordinates of the left, upper corner of the bar code pattern 23 and the calculated margin width [Fig. 3 (c)]. A symbol guard 25 shall be extended downwards to be about the same height as that of the bar code pattern 23 [Fig. 3 (d)]. The coordinates of the starting point of the right symbol guard is calculated based on the coordinates of the right, upper corner of the bar code pattern 23 and the calculated margin width [Fig. 3 (e)]. The symbol guard 25 shall be extended downwards to be about the same height as that of the bar code pattern 23 [Fig. 3 (f)]. The bar code image data thus manufactured are stored in an image buffer in the RAM 6. After that, by the thermal print head 11 which operates in synchronization with the drive of the step-motor 12 and the DC motor 13, the ink from a thermal transcription ink ribbon is transcribed onto a label or a sheet of recording paper, and the bar code 22 is printed. When the bar code 22 is printed, local shrinkage of the thermal transcription ink ribbon is caused by the heat generated in the thermal print head 11, but a printing region and a non-printing region is separated by symbol guards 25 placed on both sides of the bar code pattern. Therefore, as for the printing of symbol guards the transcription of ink from the thermal transcription ink ribbon can be insufficient but in the part of the bar code pattern 23 print quality is high and a correct print can be obtained. In other words, there is a probability that wrinkles on a thermal transcription ink ribbon occur in the vicinity of symbol guards 25 but in region of the bar code pattern 22 situated inner side of the symbol guards 25 the transcription of ink is performed normally. A second embodiment of the present invention will be explained referring to Fig. 5 to Fig. 11. For the similar parts to those of the former embodiment same symbols are used and the explanation of them is omitted. In the present embodiment, the height of a symbol guard 25 is formed to be higher than that of a bar code pattern 23. When a bar code printing is performed, the bar code 22 is designated with the command from the keyboard 20 or the host computer 21. In the designation of a bar code, the kind, magnifications, data and others for the bar code pattern 23 are input. With the input of data a bar code pattern 23 in the ROM 5 is pulled out and based on the designating data a bar code pattern 23 to be printed is developed in the image buffer in the RAM 6 [Fig. 5 (a)]. And then, the minimum necessary width of left and right margins are calculated based on the kind and the magnifications of the bar code pattern 23 [Fig. 5 (b)]. Next, the coordinates of the starting point of the left symbol guard are calculated based on the coordinates of the left, upper corner of the bar code pattern 23 and the calculated margin width [Fig. 5 (c)]. The height of the symbol guard 25 is set to be higher than that of the bar code pattern, so that the starting point coordinates precede in position those of left, upper corner of the bar code pattern 23. A symbol guard 25 is extended downwards from the starting point by the length of its height [Fig. 5 (d)]. The coordinates of the starting point of the right symbol guard is calculated based on the coordinates of the right, upper corner of the bar code pattern 23 and the calculated margin width [Fig. 5 (e)]. The coordinates of the starting point precede in position the coordinates of the right, upper corner of the bar code pattern 23. A symbol guard 25 is extended downwards from the starting point by the length of its height [Fig. 5 (f)]. A bar code image formed in this way is stored in an image buffer in RAM 6. After that, the ink on a thermal transcription ink ribbon is transcribed onto a label or a sheet of recording paper with the thermal print head 11 which operates in synchronization with the drive of the step-motor 12 and the DC motor 13; thus a bar code 22 is printed. When the bar code 22 is printed, local shrinkage of a thermal transcription ink ribbon is caused by the heat generated in a thermal print head 11. A printed region and a non-printed region are separated by symbol guards 25 placed along both sides of the bar code pattern; therefore as for the printing of the symbol guard 25 the transcription of ink from a thermal transcription ink ribbon can be insufficient. Even if the ink transcription in this part is insufficient, the print quality in the part of the bar code pattern 23 is high and secure printing is performed. In other words, there is a high probability that wrinkles on a thermal transcription ink ribbon occur in the vicinity of the symbol guards 25 but in the part of the bar code 23 placed inner side of the symbol guards, ink transcription is performed in a normal condition under which no wrinkle occurs on a thermal transcription ink ribbon. Fig. 7 to Fig. 11 show the examples of variations of symbol guards 25. Fig. 7 shows a symbol guard 25 formed with a broken line. Fig. 8 shows a symbol guard 25 formed with a continuation of rhombic patterns. Fig. 9 shows a symbol guard 25 formed with a continuation of circular patterns. Fig. 10 shows a symbol guard 25 formed with a full line which surrounds the whole of the bar code pattern 23. Fig. 11 shows a symbol guard 25 formed with a bracket-shaped pattern, part of a frame surrounding both sides of the bar code pattern 23. Each of these variations of symbol guards 25 has a height higher than that of a bar code pattern 23; a symbol guard 25 is therefore printed prior to the printing of the bar code pattern 23. The symbol guards according to the present invention are not limited to the examples shown in above-mentioned embodiments; their heights or print sizes can be arbitrarily set and many kinds of variations can be executed as far as they do not deviate from the point of the present invention.

Claims: A bar code printing method in which symbol guards (25) are printed on both sides of a bar code pattern (12) formed by a combination of wide lines and narrow lines according to a predetermined standard layout, said bar code pattern (12) and said symbol guards (25) being printed by use of a thermal print head using a thermal transcription ribbon, characterised in that the symbol guards are printed with a selected margin spacing between the symbol guards and the bar code pattern which spacing is such that the region of wrinkling in the vicinity of the symbol guards (25) does not extend to the region of the bar code pattern (22) lying on the inner side of said symbol guards (25), thereby enabling transcription of ink to be performed normally in said bar code pattern region. A bar code printing method according to claim 1 characterised in that the start of printing of said symbol guards (25) is prior to the start of printing of said bar code pattern (12). A bar code printing method according to claim 1 or claim 2, characterised in that the symbol guards are printed to a greater height than the height of the bar code lines. A bar code printing method according to any preceding claim characterised in that said symbol guards are printed as a frame surrounding the whole or part of the bar code pattern.

Inventors: HIROSAKI YUKIHIRO, HIROSAKI, YUKIHIRO
Applicants: TOKYO ELECTRIC CO LTD, TOKYO ELECTRIC CO., LTD.
Application year: 1989
Main classification: G06K1
IPC codes: G06K1