KR930011866B1 - Barcode printer - Google Patents

Barcode printer Download PDF

Info

Publication number
KR930011866B1
KR930011866B1 KR1019900000637A KR900000637A KR930011866B1 KR 930011866 B1 KR930011866 B1 KR 930011866B1 KR 1019900000637 A KR1019900000637 A KR 1019900000637A KR 900000637 A KR900000637 A KR 900000637A KR 930011866 B1 KR930011866 B1 KR 930011866B1
Authority
KR
South Korea
Prior art keywords
barcode
bar
width
pattern
dots
Prior art date
Application number
KR1019900000637A
Other languages
Korean (ko)
Other versions
KR900011587A (en
Inventor
유끼히로 히로사끼
Original Assignee
도꾜덴기 가부시끼가이샤
고바야시 쥰
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 도꾜덴기 가부시끼가이샤, 고바야시 쥰 filed Critical 도꾜덴기 가부시끼가이샤
Publication of KR900011587A publication Critical patent/KR900011587A/en
Application granted granted Critical
Publication of KR930011866B1 publication Critical patent/KR930011866B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • G06K1/121Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by printing code marks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/01Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for special character, e.g. for Chinese characters or barcodes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Printers Characterized By Their Purpose (AREA)

Abstract

내용 없음.No content.

Description

바코드 프린터Barcode printer

제1도는 종래의 바코드 프린터의 동작을 개략적으로 표시하는 플로우차트.1 is a flowchart schematically showing the operation of a conventional barcode printer.

제2도는 제1도에 표시하는 바코드 프린터에 설치되는 모듈테이블의 1예를 표시하는 도면.FIG. 2 is a diagram showing an example of a module table installed in the barcode printer shown in FIG. 1. FIG.

제3도는 본 발명의 1실시예에 관한 바코드 프린터의 회로구성을 표시하는 블럭도.3 is a block diagram showing a circuit configuration of a barcode printer according to one embodiment of the present invention.

제4도 및 제5도는 제3도에 표시하는 바코드 프린터의 동작을 표시하는 플로우차트.4 and 5 are flowcharts showing the operation of the bar code printer shown in FIG.

본 발명은 각종 바코드를 인자할 수 있는 바코드 프린터에 관한 것이다.The present invention relates to a barcode printer capable of printing various barcodes.

최근에는 바코드가 세계적으로 보급되어가고 있다. 이 바아코드는 예를들면, 식료품, 잡화등 상품의 레이블용지에 인쇄되어 이 바코드로부터 상품정보를 자동적으로 얻음으로서 상품의 판매등록작업을 간략화하기위하여 사용된다. 이와같은 바코드로서는 예를들면, JAN, NW-7, 1TF, CODE 39, UPC, EAN이 종래 부터 알려져 있다. 예를들면, 소오스마킹으로서 제조단계에서 인쇄될 경우, 이와같은 바코드는 예를들면 생산국명코드, 상품메이커코드, 상품아이템코드 및 체크디지트 등의 항목데이타를 포함하나, 이들 항목데이타를 구성하기 위하여 사용되는 바코드패턴의 종류 및 자릿수등은 서로 상이하다.In recent years, barcodes have been spreading worldwide. This bar code is printed on a label sheet of a product such as a food product or a miscellaneous goods, and is used to simplify the sales registration of the product by automatically obtaining the product information from the bar code. As such a barcode, for example, JAN, NW-7, 1TF, CODE 39, UPC, and EAN are conventionally known. For example, when printed at the manufacturing stage as a source marking, such a barcode may include item data such as, for example, a country name code, a product maker code, a product item code, and a check digit, but to constitute these item data. The type and number of barcode patterns used are different from each other.

종래의 바코드 프린터는 통상, 상술한 바와같은 각종 바코드를 선택적으로 인자하기 위하여 복수의 패턴 제네레이터, 인자버퍼, 인자헤드 및 모듈테이블을 구비한다. 각 패턴 제네레이터는 1열의 캐럭터코드를 순차로 바코드패턴으로 변환하고 인자버퍼는 이들 바코드패턴을 소망하는 사이즈로 전개하여 얻어지는 바코드의 인자패턴을 저장하고, 인자헤드는 인자버퍼에 저장된 바코드의 인자패턴을 용지에 인자하고 모듈테이블 은 각각 바코드패턴의 전개에 필요한 바코드 엘리멘트의 폭, 즉 내토우바(또는 스페이스) 및 와이드바(또는 스페이스)의 폭을 도트수로 지정하는 복수의 모듈을 저장한다.Conventional bar code printers usually include a plurality of pattern generators, a print buffer, a print head, and a module table for selectively printing various bar codes as described above. Each pattern generator sequentially converts the character codes of one column into barcode patterns, and the printing buffer stores the printing patterns of barcodes obtained by developing these barcode patterns in a desired size, and the printing head stores the printing patterns of barcodes stored in the printing buffer. Printed on a sheet of paper, the module table stores a plurality of modules, each of which specifies the width of the bar code element required for the development of the bar code pattern, that is, the width of the inner bar (or space) and the wide bar (or space) in dots.

제1도는 이 바코드 프린터의 동작을 개략적으로 표시한다. 이 동작에서는 바코드의 타입 및 바코드의 사이즈가 각각 스텝 s1, s2에서 입력된다. 그리하면, 모듈테이블에 저장된 모듈이 스텝 S3에서 이들 바코드타입 및 바코드사이즈에 따라서 선택되고 스텝 S4에서 바코드 인자패턴의 작성 및 그 인자처리가 행하여진다. 인자패턴의 작성에서는 1열의 캐럭터코드가 순차로 입력바코드타입에 대응하는 패턴 제네레이터에 의하여 바코드패턴으로 변환되고 이들 바코드패턴이 입력바코드타입 및 바코드사이즈에 따라서 선택된 모듈에 의거하여 전개되고 인자버퍼에 인자패턴으로 저장된다. 인자처리에서는 이 인자패턴이 인자버퍼에서 리드되어 인자헤드에 공급된다.1 schematically shows the operation of this barcode printer. In this operation, the bar code type and bar code size are input in steps s1 and s2, respectively. Then, the module stored in the module table is selected in accordance with these barcode types and barcode sizes in step S3, and the barcode printing pattern is created and processing thereof in step S4. In the creation of the printing pattern, the character codes of one column are sequentially converted into barcode patterns by the pattern generator corresponding to the input barcode type, and these barcode patterns are developed based on the module selected according to the input barcode type and barcode size and printed in the printing buffer. Saved as a pattern. In the printing process, this printing pattern is read from the printing buffer and supplied to the printing head.

그런데, 바코드의 종류는 그 보급에 수반하여 증대되는 경향이 있다. 또 인자헤드의 인자밀도는 각양의 바코드에 대응할 수 있도록 높여져있다. 인자헤드의 인자밀도가 낮으면, 바코드 엘리멘트폭의 최소치가 제한됨과 동시에 각종 바코드의 규격을 만족시키는 내로우바폭과 와이드바폭의 비율을 임의로 설정할 수 없는 염려가 있다. 현재로는 예를들면 10.5dots/mm, 11.4dots/mm 15.2dots/mm라는 인자밀도의 인자헤드가 사용되도록 되었다. 제2도는 인자헤드가11.4dots/mm의 인자밀도를 갖는 경우에 설정되는 모듈테이블의 1예이다. 인자헤드의 인자밀도가 장래에 있어 상승하면 이것이 더욱 바코드종류의 증대를 촉진시킨다. 이때문에, 보다많은 모듈을 모듈테이블에 설정한 필요가 생기고 이에 수반되는 메모리용량의 증대를 무시할수 없게 되리라고 예상된다.By the way, the type of barcode tends to increase with its spread. In addition, the printing density of the printing head is increased to cope with various barcodes. When the print head has a low print density, there is a concern that the minimum value of the bar code element width is limited and the ratio of narrow bar width and wide bar width that satisfies various bar code standards cannot be arbitrarily set. Currently, print heads with a print density of 10.5 dots / mm, 11.4 dots / mm and 15.2 dots / mm are used. 2 is an example of a module table set when the print head has a print density of 11.4 dots / mm. If the print density of the print head rises in the future, this further promotes an increase in the barcode type. Because of this, it is expected that there will be a need to set more modules in the module table, and the increase in memory capacity that follows will not be negligible.

본 발명의 목적은 바코드종류의 증대 혹은 인자밀도의 상승에 수반하는 메모리용량의 증대를 억제할수 있는 바코드 프린터를 제공하는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a barcode printer capable of suppressing an increase in memory capacity accompanying an increase in barcode type or increase in print density.

이 목적은 인자부와, 각콩 바코드패턴을 각각 발생하는 복수의 패턴 제네레이터로서 작용하는 기억영역 및 인자버퍼로서 작용하는 기억영역을 갖는 메모리부와, 바코드의 종류 및 적어도 1개의 바코드 엘리멘트폭을 입력하는 입력부와, 입력부에 의하여 입력된 바코드종류에 대응하여 패턴 제네레이터중의 1개를 선택하여 선택된 패턴 제네레이터에 소망하는 캐럭터의 바코드패턴을 순차로 발생시키고, 각 바코드패턴에 포함되는 바코드 엘리멘트의 폭을 입력부에 의하여 입력된 폭에 따라서 변경시킴으로서 이 패턴 제네레이터에서 발생되는 바코드패턴을 바코드의 인자패턴으로서 인자버퍼에 전개하고 이 인자버퍼에 저장된 바코드의 인자 패턴을 인자부에 인자시키는 제어회로를 구비하는 바코드 프린터에 의하여 달성된다.The object is to input a memory section having a print section, a memory section serving as a plurality of pattern generators for generating each bean barcode pattern, and a memory section serving as a print buffer, and a type of barcode and at least one barcode element width. Select one of the pattern generators according to the input unit and the barcode type inputted by the input unit, and sequentially generate the desired barcode pattern of the desired character in the selected pattern generator, and input the width of the barcode element included in each barcode pattern. Bar code printer having a control circuit which expands the bar code pattern generated by this pattern generator into the print buffer as a print pattern of the barcode by changing it according to the width inputted by the print pattern and prints the print pattern of the barcode stored in the print buffer to the print section. Is achieved.

이 바코드 프린터에서는 제어회로가 입력부에 의하여 입력된 바코드의 종류에 대응하여 패턴 제네레이터 중의 1개를 선택하고 선택된 패턴 제네레이터에 소망하는 캐럭터의 바코드패턴을 순차로 발생시키고, 각 바코드패턴에 포함하는 전 바코드 엘리멘트의 폭을 입력에 의하여 입력된 폭에 따라서 변경시킴으로서 이 패턴 제네레이터에서 발생되는 이들 바코드패턴을 바코드의 인자패턴으로서 인자버퍼에 전개시킨다. 즉, 이 바코드 프린터는 바코드의 인자패턴을 종래와 같은 모듈테이블을 사용하지 아니하고 작성하기 때문에 바코드종류의 증대 혹은 인자밀도의 상승에 수반되는 메모리용량의 증대를 억제할 수가 있다.In this barcode printer, the control circuit selects one of the pattern generators corresponding to the type of barcode input by the input unit, sequentially generates barcode patterns of desired characters in the selected pattern generator, and includes all barcodes included in each barcode pattern. By changing the width of the element according to the width inputted by the input, these barcode patterns generated in this pattern generator are developed in the printing buffer as the printing pattern of the barcode. In other words, the bar code printer produces the bar code printing pattern without using the module table as in the related art, and thus it is possible to suppress the increase in the memory capacity accompanying the increase in the bar code type or the increase in the print density.

이하, 본 발명의 1실시예에 관한 바코드 프린터를 제3도를 참조하여 설명한다.Hereinafter, a bar code printer according to an embodiment of the present invention will be described with reference to FIG.

제3도는 이 바코드 프린터의 회로구성을 표시한다. 이 바코드 프린터는 CPU(1), ROM(2), RMA(3), 키보드 인터페이스(4), 키보드(5), 헤드 드라이버(6), 서멀혜드(7), 모타드라이버(8), 용지이송모타(9), 모타드라이버(10), 리본이송모타(11), 통신 인터페이스(12)를 갖는다. CPU(1), ROM(2), RAM(3), 키보드 인터페이스(4), 헤드 드라이버(6), 서멀헤드(7), 모타드라이버(10), 통신 인터페이스(12)는 버스라인에 의하여 상호 접속되고 키보드(5), 서멀헤드(7), 용지이송모타(9), 리본이송모타(11)는 각각 키보드 인터페이스(4), 헤드드라이버(6), 모타드라이버 (8), 모타드라이버(10)에 접속된다.3 shows the circuit configuration of this barcode printer. This barcode printer includes CPU (1), ROM (2), RMA (3), keyboard interface (4), keyboard (5), head driver (6), thermal hydride (7), motor driver (8), paper feed. A motor 9, a motor driver 10, a ribbon feed motor 11, and a communication interface 12 are provided. CPU 1, ROM 2, RAM 3, keyboard interface 4, head driver 6, thermal head 7, motor driver 10, communication interface 12 are mutually connected by bus lines. The keyboard (5), the thermal head (7), the paper feed motor (9), and the ribbon feed motor (11) are respectively connected to the keyboard interface (4), the head driver (6), the motor driver (8), and the motor driver (10). ) Is connected.

CPU(1)는 바코드의 인자패턴을 작성하고 인자하기 위해 필요한 데이타처리 및 회로소자의 제어에 사용된다. ROM(2)은 이 CPU(1)의 제어프로그램, 그밖의 고정데이타를 미리 저장하기 위하여 사용된다. ROM(2)은 JAN, NW-7, ITF, CODE 39라는 바코드타입에 대응하여 설치되고 각종 바코드패턴을 각각 저장하고 캐럭터 코드에 의하여 지정되는 바코드패턴을 발생하는 바코드패턴 제네레이터(2A-2D)로서 작용하는 기억영역을 포함한다. RAM(3)은 CPU(1)에서 처리될 데이타 및 처리된 데이타를 일시적으로 저장 하기 위하여 사용된다. RAM(3)은 바코드의 인자패턴을 작성하기 위하여 사용되는 각종 프리세트 데이타를 저장하는 프리세트 데이타 레지스터(3A)로서 작용하는 기억영역을 포함한다. 이들 프리세트 데이타는 바코드패턴을 구성하는 복수의 엘리멘트(즉, 내로우바, 내로우스페이스, 와이드바, 와이드스페이스)의 폭을 각각 특정하는 데이타, 인자패턴에 있어서 인접하는 2개의 캐럭터의 패턴간에 설치되는 스페이스의 폭을 특정하는 데이타 및 인자할 바코드타입을 특정하는 데이타를 포함한다. 프리세트 데이타에 있어서, 내로우바 및 와이드바의 폭은 서멀헤드(7)에 의하여 마크되는 도트수로 포시되고 내로우스페이스 및 와이드스페이스의 폭은 서멀헤드(7)에 의하여 마크되지 않는 도트수로 표시된다.The CPU 1 is used for data processing and circuit element control necessary for creating and printing a barcode printing pattern. The ROM 2 is used for storing in advance the control program of the CPU 1 and other fixed data. The ROM 2 is a bar code pattern generator (2A-2D) installed corresponding to a bar code type of JAN, NW-7, ITF, CODE 39 and storing various bar code patterns, respectively, and generating a bar code pattern designated by the character code. It contains a working memory area. The RAM 3 is used for temporarily storing the data to be processed in the CPU 1 and the processed data. The RAM 3 includes a storage area that acts as a preset data register 3A for storing various preset data used for creating barcode printing patterns. These preset data are provided between the data specifying the widths of a plurality of elements (i.e. narrow bar, narrow space, wide bar, wide space) constituting the barcode pattern, and the pattern of two adjacent characters in the printing pattern. Data specifying the width of the space to be printed, and data specifying the barcode type to be printed. In the preset data, the widths of the narrow bar and the wide bar are indicated by the number of dots marked by the thermal head 7 and the widths of the narrow space and the wide space are represented by the number of dots not marked by the thermal head 7. Is displayed.

RAM(3)은 또한 복수의 캐럭터코드를 저장하는 캐럭터 코드버퍼(3B)로서 작용하는 기억영역 및 복수의 바코드패턴을 전개하여서 얻어지는 바코드의 인자패턴을 저장하는 인자버퍼(3C)로서 작용하는 기억영역을 포함한다. 인자버퍼(3C)에 있어서, 바코드의 인자패턴은 도트데이타("1" 또는 "0")의 매트릭스로서 표시된다. 프리세트 테이타, 캐럭터코드 및 각종 명령은 키보드(5)로부터 키보드 인터페이스(4)를 통하여 혹은 외부컴퓨터로부터 통신 인터페이스(12)를 통하여 CPU(1)에 공급된다. 헤드 드라이버(6), 모타드라이버(8), 모파드라이버(10)는 CPU(1)의 제어로 인자버퍼(3C)에 저장된 바코드의 인자패턴을 용지에 인자하기 위하여 각각 서멀헤드(7), 용지이송모타(9), 리본이송모타(10)를 구동시킨다. 서멀헤드(7)는 1열로 늘어세워지는 복수의 발열체를 인자 엘리멘트로서 갖고 인자버퍼(3C)에서 행단위로 리드되는 1라인의 도트데이타에 따라서 이들 인자 엘리멘트를 선택적으로 구동시킨다. 각 인자 엘리멘트는 대응하는 도트데이타가 "1"인때에 도트를 마크하고 대응하는 도트데이타가 "0"인때에는 도트를 마크하지 않는다. 용지이송모타(9) 및 용지이송모타(10)는 스텝핑모타로 구성되고 각각 서멀헤드(7)가 밀어 대어지는 용지와 이 인자헤드 및 용지간에 설정되는 열용융성 잉크리본을 인자 앨리멘트의 늘어세운곳에 직각인 방향으로 이송하기 위하여 사용된다. 용지 및 이 열용융성 잉크리본은 1라인의 인자동작이 행하여 질때마다 일정량이 이송된다. 용지이송량은 마크된 도트가 중단되지 않고 라인(즉, 바)을 형성하도록 발열체의 크기 및 발열량에 따라서 정해진다.The RAM 3 also functions as a storage area serving as a character code buffer 3B for storing a plurality of character codes and a storage area serving as a printing buffer 3C for storing a printing pattern of barcodes obtained by developing a plurality of barcode patterns. It includes. In the printing buffer 3C, the printing pattern of the barcode is displayed as a matrix of dot data (# 1 'or # 0'). Preset data, character codes, and various commands are supplied from the keyboard 5 to the CPU 1 through the keyboard interface 4 or from an external computer through the communication interface 12. The head driver 6, the motor driver 8, and the morph driver 10 respectively control the thermal head 7 and the paper to print the printing pattern of the barcode stored in the printing buffer 3C to the paper under the control of the CPU 1. The transfer motor 9 and the ribbon transfer motor 10 are driven. The thermal head 7 has a plurality of heat generators arranged in one row as print elements, and selectively drives these print elements according to one line of dot data read in units of rows from the print buffer 3C. Each print element marks a dot when the corresponding dot data is # 1 and does not mark a dot when the corresponding dot data is # 0. The paper feed motor 9 and the paper feed motor 10 are each composed of a stepping motor, each of which has a heat-melting ink ribbon set between the print head and the paper to which the thermal head 7 is pushed, and the printing element is stretched. It is used to feed in the direction perpendicular to the upright position. The paper and this heat-melt ink ribbon are conveyed in a constant amount each time a printing operation of one line is performed. The paper feed amount is determined according to the size of the heating element and the amount of heat generated so that the marked dots are not interrupted to form a line (i.e., a bar).

다음으로, 제4도 및 제5도를 참조하여 이 바코드 프린터의 동작을 설명한다. 이 바코드 프린터에 전원이 투입되면, CPU(1)가 ROM(2)에 저장된 제어프로그램을 실행하고 바코드 프린터를 동작시킨다.Next, the operation of this barcode printer will be described with reference to FIGS. 4 and 5. FIG. When power is supplied to the barcode printer, the CPU 1 executes a control program stored in the ROM 2 to operate the barcode printer.

제4도는 예를들면, 키보드(5)조작으로 바코드테이블의 발행이 명하여 졌을때에 행하여지는 바코드 프린터의 동작을 표시한다. 이 동작이 개시되면, 먼자 RAM(2) 등의 회로소자가 스탭 S10에서 초기와 된다. 이때, 일자버퍼(3C)의 내용은 모드 "0"으로 클리어된다. 이런후, 각종 프리세트 데이타가 키보드(5) 혹은 외부콤퓨터로부터 스탭 S11 부터 S16에서 입력되고 프리세트 데이타 레지스터(3A)에 저장된다. 스텝 S11-S14에서는 내로우바의 폭을 특정하는 도트수, 내로우스페이스의 폭을 특정하는 도트수, 와이드바의 폭을 특정하는 도트수 및 와이드스페이스의 폭을 특정하는 도트수가 입력된다. 스텝 S15에서는 바코드패턴 (즉, 캐럭터)간에 설치되는 스페이스의 폭을 특정하는 도트수가 입력된다. 스텝 S16에서는 바코드의 타입이 입력된다. 이들 프리세트 데이타가 프리세트 테이타 레지스터(3A)에 저장되면, 인자패턴의 작성처리가 S17에서 행하여지고 작성된 인자패턴의 서멀헤드(7)에 의하여 스텝 S18에서 인자된다.4 shows, for example, the operation of the barcode printer to be performed when the issuance of the barcode table is commanded by the keyboard 5 operation. When this operation is started, circuit elements such as the remote RAM 2 are initialized at step S10. At this time, the contents of the date buffer 3C are cleared in the mode '0'. Thereafter, various preset data are input from the steps S11 to S16 from the keyboard 5 or an external computer and stored in the preset data register 3A. In steps S11-S14, the number of dots specifying the width of the narrow bar, the number of dots specifying the width of the narrow space, the number of dots specifying the width of the wide bar, and the number of dots specifying the width of the wide space are input. In step S15, the number of dots specifying the width of the space provided between the barcode patterns (that is, the characters) is input. In step S16, the barcode type is input. When these preset data are stored in the preset data register 3A, the process of creating the print pattern is performed in S17 and is printed in step S18 by the thermal head 7 of the created print pattern.

제5도는 제4도의 스텝 S17에서 표시하는 인자패턴 작성처리의 상세한 것을 표시한다. 이 인자패턴의 작성처리가 개시되면, 스텝 S20에서 1옅의 캐럭터코드가 키보드(5) 혹은 외부컴퓨터에서 입력되고 순차로 캐럭터코드버퍼에 저장된다. 이들 캐럭터코드는 스텝 S21의 실행이 반복됨으로서 순차 그 배열에 따라서 리드된다. 1개의 캐럭터로드가 스텝 S21에서 리드되면 스텝 S22가 실행된다. 이 스텝 S22에서는 프리세트 데이타 레지스터(3A)에 저장된 바코드의 타입에 대응하는 패턴 제네레이터가 선택되고 바코드패턴이 이 캐럭터코드에 대응하여 선택된 패턴 제네레이터로부터 이 캐럭터코드에 대응하여 리드되어 RAM(3)의 일부에 저장된다. 이 바코드패턴은 내로우바, 내로우스페이스, 와이드바, 와이드스페이스등을 표시하는 엘리멘트를 조합시켜 구성되어 있다. 이 바코드패턴에 포함되는 엘리멘트는 스텝 S23의 실행이 반복됨으로서 순차로 그 배열에 따라서 리드된다. 1개의 엘리멘트가 스텝 S23에서 리드되면, 이 엘리멘트가 바인가 아닌가가 스텝 S24에서 체크된다. 이 엘리멘트가 바인것이 검출되면 스텝 S25에서 내로우바인가 아닌가가 체크된다. 이 엘리멘트가 내로우바인것이 검출되면 스텝 S26에서 도트데이타 "1"이 프리세트 데이타 레지스터(3A)에 저장된 내로우바용의 도트수에 대응하는 칼럼수만큼 인자버퍼(3C)에 늘어세워진다. 다른한편, 이 엘리멘트가 와이드바이면 스텝 S27에서 도트데이타 "1"이 프리세트 데이타 레지스터(3A)에 저장된 와이드바용의 도트수에 대응하는 컬럼수만큼 인자버퍼(3C)에 늘어세워진다.FIG. 5 shows the details of the print pattern creation process displayed in step S17 of FIG. When the process of creating this print pattern is started, in step S20, one character of character code is input from the keyboard 5 or an external computer and sequentially stored in the character code buffer. These character codes are read sequentially according to the arrangement by repeating the execution of step S21. If one character rod is read in step S21, step S22 is executed. In this step S22, the pattern generator corresponding to the type of barcode stored in the preset data register 3A is selected, and the barcode pattern is read out corresponding to this character code from the selected pattern generator corresponding to this character code, and the Some are stored. This barcode pattern is constructed by combining elements that display narrow bars, narrow spaces, wide bars, wide spaces, and the like. Elements included in this barcode pattern are sequentially read according to the arrangement by repeating the execution of step S23. If one element is read in step S23, it is checked in step S24 whether this element is bar or not. If it is detected that the element is a bar, it is checked in step S25 whether or not it is a narrow bar. When it is detected that the element is a narrow bar, the dot data # 1 'is stretched in the printing buffer 3C by the number of columns corresponding to the number of dots for the narrow bar stored in the preset data register 3A in step S26. On the other hand, if this element is wide-by, in step S27, the dot data # 1 is stretched in the printing buffer 3C by the number of columns corresponding to the number of dots for the wide bar stored in the preset data register 3A.

또 이 엘리멘트가 스텝 S24에서 체크되어 스페이스인것이 검출되면, 스텝 S28에서 내로우 스페이스인가 아닌가가 체크된다. 이 엘리멘트가 내로우스페이스이면, 스텝 S29에서 도트데이타 "0"이 프리세트 데이타 레지스터(3A)에 저장된 내로우스페이스용의 도트수에 대응하는 칼럼수만큼 인자버퍼(3C)에 늘어세워진다. 또한편, 이 엘리멘트가 와이드스페이스이면, 스텝 S30에서 도트데이타 "0"이 프리세트 데이타 레지스터(3A)에 저장된 와이드스페이스용의 도트수에 대응하는 칼럼수만큼 인자버퍼(3C)에 늘어세워진다.If this element is checked in step S24 and detected to be space, it is checked in step S28 whether it is a narrow space. If this element is a narrow space, in step S29, the dot data # 0 is stretched in the printing buffer 3C by the number of columns corresponding to the number of dots for the narrow space stored in the preset data register 3A. On the other hand, if this element is a wide space, in step S30 the dot data # 0 is stretched in the printing buffer 3C by the number of columns corresponding to the number of dots for the wide space stored in the preset data register 3A.

스텝 S26, S27, S29 및 S30에 이어지는 스텝 S31에서는 바코드 엘리멘트의 전개가 1캐럭터 분이 끝났는가 아닌가가 체크된다. 이 전개가 끝나지 않았으면 스텝 S23이 재차 실행된다. 다른 한편, 이 전개가 끝났으면 스텝 S32에서 모든 캐럭터의 전개가 끝났는가 아닌가가 체크된다. 아직 남아있으면 스텝 S33에서 도트데이타 "0"이 프리세트 데이타 레지스터(3A)에 저장된 캐럭터간의 스페이스용의 도트수에 대응하는 칼럼수만큼 인자버퍼(3C)에 늘어세워지고 스텝 S21이 재차 실행된다.In step S31 following step S26, S27, S29, and S30, it is checked whether the development of a barcode element has finished one character. If this expansion has not been completed, step S23 is executed again. On the other hand, if this development is completed, it is checked in step S32 whether all the characters have been developed. If it still remains, in step S33 the dot data # 0 is stretched in the printing buffer 3C by the number of columns corresponding to the number of dots for space between the characters stored in the preset data register 3A, and step S21 is executed again.

모든 캐럭터의 전개가 끝나있으면, 스텝 S34에서 인자버퍼(3C)에 저장된 바코드의 인자패턴이 소정의 길이로 설정된다. 즉, 캐럭터의 전개후에 있어서 인자버퍼(3C)는 로우방향으로 줄지어진 1열의 도트데이타를 저장하고 있다. 이때문에 스텝 S34에서 이 1열의 도트데이타가 필요한 바의 길이에 대응한 로우수만큼 칼럼방향으로 늘어세워진다.When all the characters have been developed, the printing pattern of the barcode stored in the printing buffer 3C is set to a predetermined length in step S34. In other words, after the deployment of the character, the printing buffer 3C stores one row of dot data that is lined up in the row direction. For this reason, in step S34, this single row of dot data is stretched in the column direction by the number of rows corresponding to the length of the bar required.

이 처리가 완료되면 제4도에 표시하는 스텝 S18이 실행된다.When this processing is completed, step S18 shown in FIG. 4 is executed.

본 바코드 프린터에서는 상술한 동작 플로우를 변경하지 아니하고 서멀헤드(7)의 인자밀도를 변경하는 것이 허용된다.In this barcode printer, it is allowed to change the print density of the thermal head 7 without changing the above-described operation flow.

예를들면, 10.5dots/mm의 인자밀도를 갖는 서멀헤드(7)가 사용될 경우, 내로우바 및 와이드바는 프리세트 데이타로서 입력되는 도트수에 대응하여 다음과 같은 폭으로 설정된다. "2" 및 "6"이 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.190mm, 0.57/mm로 설정된다. "3" 및 "9"가 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.286mm, 0.857mm로 설정된다. "4" 및 "12"가 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면 내로우바의 폭 및 와이드바의 폭은 0.381mm, 1,143mm로 설정된다. "5" 및 "15"가 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면 내로우바의 폭 및 와이드바의 폭은 0.476mm, 1.429mm로 설정된다. "6" 및 "18"이 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면 내로우바의 폭 및 와이드바의 폭은 0.571mm, 1.714mm로 설정된다.For example, when the thermal head 7 having a print density of 10.5 dots / mm is used, the narrow bar and the wide bar are set to the following widths corresponding to the number of dots input as preset data. When # 2 'and # 6' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.190 mm and 0.57 / mm. When # 3 'and # 9' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.286 mm and 0.857 mm. When # 4 'and # 12' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.381 mm and 1,143 mm. When # 5 'and # 15' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.476 mm and 1.429 mm. When # 6 'and # 18' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.571 mm and 1.714 mm.

또, 11.4dots/mm의 인자밀도를 갖는 서멀헤드(7)가 사용될 경우, 내로우바 및 와이드바는 프리세트 데이타로서 입력되는 도트수에 대응하여 다음과 같은 폭으로 설정된다. "2" 및 "6"이 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.175mm, 0.526mm로 설정된다. "3" 및 "9"가 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.263mm, 0.789mm로 설정된다. "4" 및 "12"가 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.35/mm, 1.053mm로 설정된다. "5" 및 "15"가 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.439mm, 1.439mm로 설정된다. "6" 및 "18"이 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.526mm, 1.579mm로 설정된다.In addition, when the thermal head 7 having a print density of 11.4 dots / mm is used, the narrow bar and the wide bar are set to the following widths corresponding to the number of dots input as preset data. When # 2 'and # 6' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.175 mm and 0.526 mm. When # 3 'and # 9' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.263 mm and 0.789 mm. When # 4 'and # 12' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.35 / mm and 1.053 mm. When # 5 'and # 15' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.439 mm and 1.439 mm. When # 6 'and # 18' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.526 mm and 1.579 mm.

또, 15.2dots/mm의 인자밀도를 갖는 서멀헤드(7)가 사용될 경우, 내로우바 및 와이드바는 프리세트 데이타로서 입력되는 도트수에 대응하여 다음과 같은 폭으로 설정된다. "2" 및 "6"이 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.132mm, 0.395mm로 설정된다. '3" 및 "9"가 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.197mm, 0.592mm로 설정된다. "4" 및 "12"가 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.263mm, 0.789mm로 설정된다. "5" 및 '15"가 각각 내로우바용의 도트수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.329mm, 0.987mm로 설정된다. "6" 및 "18"이 각각 내로우바용의 도투수, 와이드바용의 도트수로서 입력되면, 내로우바의 폭 및 와이드바의 폭은 0.395mm, 1.184mm로 설정된다.In addition, when the thermal head 7 having a print density of 15.2 dots / mm is used, the narrow bar and the wide bar are set to the following widths corresponding to the number of dots input as the preset data. When # 2 'and # 6' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.132 mm and 0.395 mm. When '3' and '9' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.197 mm and 0.592 mm. When # 4 'and # 12' are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.263 mm and 0.789 mm. When # 5 'and' 15 'are input as the number of dots for the narrow bar and the number of dots for the wide bar, respectively, the width of the narrow bar and the width of the wide bar are set to 0.329 mm and 0.987 mm. When # 6 'and # 18' are input as the number of dots for narrow bars and the number of dots for wide bars, respectively, the width of the narrow bar and the width of the wide bar are set to 0.395 mm and 1.184 mm.

상술한 실시예에 의하면, 서멀헤드의 인자밀도가 고밀도와 되더라도 내로우바, 와이드바등의 바코드 엘리멘트의 폭을 특정하는 도트수 및 바코드 타입을 입력함으로서 소망하는 엘리멘트폭의 비율로 바코드를 인자 할수가 있다. 또, 바코드 타입의 증대에는 바코드 패턴 제네레이터를 이타입에 따라서 설치함으로서 대처할수 있다. 즉, 이 실시예의 바코드 프린터는 바코드의 인자패턴을 종래와 같은 모듈테이블을 사용치 아니하고 작성하기 때문에 바코드종류의 증대 혹은 인자밀도의 상승에 수반되는 메모리 용량의 증대를 억제할수가 있다.According to the embodiment described above, even when the thermal head print density is high, the barcode can be printed at a desired element width ratio by inputting the number of dots and barcode type that specify the width of the bar code element such as narrow bar and wide bar. have. In addition, an increase in the barcode type can be coped with by providing a barcode pattern generator in accordance with this type. In other words, the barcode printer of this embodiment produces the printing pattern of the barcode without using the module table as in the prior art, so that it is possible to suppress the increase in the memory capacity accompanying the increase in the barcode type or the increase in the printing density.

그리고, 본 발명은 상술한 실시예에 한정되지 아니하고 그 요지를 일탈하지 않는 범위에서 여러가지로 변경할수 있다.Incidentally, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

상술한 실시예의 서멀헤드(7)는 예를들면 잉크제트방식의 헤드로 바꾸어 놓아도 된다.The thermal head 7 of the above-described embodiment may be replaced with, for example, an ink jet head.

또한, 상술한 실시예에서는 내로우바, 내로우스페이스, 와이드바, 와이드스페이스 등의 바코드 엘리멘트의 폭이 개별적으로 입력되었으나, JAN과 같이, 내로우 엘리멘트와 와이드 엘리멘트의 폭의 비율이 1 : 3이란 규격으로 정해져 있는 바와같은 바코드 타입에 대해서는 예를들면, 내로우 엘리멘트의 폭을 입력하고 이 엘리멘트 폭에 소정수를 곱해서 와이드 엘리멘트의 폭을 얻도록 하여도 된다.Further, in the above-described embodiment, the widths of the bar code elements such as narrow bar, narrow space, wide bar, and wide space are individually input. However, as in JAN, the ratio of the width of the narrow element to the wide element is 1: 3. For the bar code type as defined in the standard, for example, the width of the narrow element may be input by multiplying the width of the narrow element by a predetermined number to obtain the width of the wide element.

상술한 실시예에서는 바코드 엘리멘트의 폭이 도트수로 표시되었으나, 거리치(mm)가 바코드 엘리멘트의 폭을 표시하기 위하여 사용되어도 좋다. 이 경우, 이 거리치가 입력된후, 이것을 헤드(7)의 인자밀도에 의거하여 도트수로 변환시키는 처리가 추가된다.In the above-described embodiment, the width of the barcode element is indicated by the number of dots, but the distance value mm may be used to indicate the width of the barcode element. In this case, after this distance value is input, the process of converting it into the number of dots based on the printing density of the head 7 is added.

상술한 바와같은 본 발명에 의하면, 바코드종류의 증대 혹은 인자밀도의 상승에 수반되는 메모리용량의 증대를 억제할수가 있다.According to the present invention as described above, it is possible to suppress the increase in the memory capacity accompanying the increase in the barcode type or the increase in the print density.

Claims (1)

인자부와, 각종 바코드패턴을 각각 발생하는 복수의 패턴 제네레이터로서 작용하는 기억영역 및 인자 버퍼로서 작용하는 기억영역을 갖는 메모리수단과, 바코드의 종류 및 적어도 1개의 바코드 엘리멘트의 폭을 입력하는 입력수단과, 입력수단에 의하여 입력된 바코드의 종류에 대응하여 패턴 제네레이터중의 1개를 선택하여 선택된 패턴 제네레이터에 소망하는 캐릭터의 바코드패턴을 순차로 발생시키고 각 바코드 패턴에 포함되는 전 바코드 엘리멘트의 폭을 입력수단에 의하여 입력된 폭에 따라서 변경시킴으로서 이 패턴 제네레이터에서 발생되는 이들 바코드패턴을 바코드의 인자패턴으로서 인자버퍼에 전개하고 이 인자버퍼에 저장된 바코드의 인자패턴을 인자부에 인자시키는 제어수단을 구비하는 것을 특징으로 하는 바코드 프린터.Memory means having a print portion, a storage area serving as a plurality of pattern generators for generating various barcode patterns, and a storage area serving as a print buffer, and input means for inputting a type of barcode and a width of at least one barcode element Select one of the pattern generators according to the type of barcode inputted by the input means, and sequentially generate barcode patterns of desired characters in the selected pattern generator, and determine the width of all barcode elements included in each barcode pattern. And controlling means for distributing these barcode patterns generated in this pattern generator into the printing buffer as a printing pattern of the barcode and changing the printing pattern of the barcode stored in the printing buffer to the printing unit by changing them according to the width inputted by the input means. Bar code printer, characterized in that.
KR1019900000637A 1989-01-20 1990-01-19 Barcode printer KR930011866B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP89-11632 1989-01-20
JP1011632A JPH02192968A (en) 1989-01-20 1989-01-20 Bar code printer

Publications (2)

Publication Number Publication Date
KR900011587A KR900011587A (en) 1990-08-01
KR930011866B1 true KR930011866B1 (en) 1993-12-21

Family

ID=11783318

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900000637A KR930011866B1 (en) 1989-01-20 1990-01-19 Barcode printer

Country Status (3)

Country Link
JP (1) JPH02192968A (en)
KR (1) KR930011866B1 (en)
GB (1) GB2228811B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4206266A1 (en) * 1991-02-28 1992-09-03 Kanzaki Paper Mfg Co Ltd BAR CODE PRINTER
JP2974038B2 (en) * 1991-12-28 1999-11-08 ブラザー工業株式会社 Barcode recording device
JP2979535B2 (en) * 1992-06-05 1999-11-15 ブラザー工業株式会社 Barcode printing device
EP0654747B2 (en) * 1993-11-24 2003-11-05 Brother Kogyo Kabushiki Kaisha Tape printer
US20080304891A1 (en) * 2007-06-07 2008-12-11 Canon Finetech Inc. Barcode generation system, barcode generation program, and printing device
JP2009075701A (en) * 2007-09-19 2009-04-09 Canon Finetech Inc Bar-code generation system, bar-code generation program, printer and test chart

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0753458B2 (en) * 1987-06-30 1995-06-07 株式会社テック Label printer

Also Published As

Publication number Publication date
GB9000912D0 (en) 1990-03-14
JPH02192968A (en) 1990-07-30
KR900011587A (en) 1990-08-01
GB2228811A (en) 1990-09-05
GB2228811B (en) 1992-10-28

Similar Documents

Publication Publication Date Title
US5395181A (en) Method and apparatus for printing a circular or bullseye bar code with a thermal printer
JPH05177898A (en) Bar code printer
KR930011866B1 (en) Barcode printer
JP2979536B2 (en) Barcode printing device
EP0397200B1 (en) Printer apparatus
JPS6335431B2 (en)
EP0351870B1 (en) Information processing device having a function of designating a printing-start position
US5383730A (en) Document processing apparatus that magnifies only black portions of characters
KR100646621B1 (en) System, method, and recording medium recording program for producing barcode data
JP3274751B2 (en) Label producing apparatus and label producing method
US5579041A (en) Printing device bordering function and a method thereof
JP2976416B2 (en) Barcode printing device
JP3013512B2 (en) Barcode printer
JPS626520B2 (en)
JP3203986B2 (en) Tape printer
JP2001347702A (en) Tape printer
JP2974095B2 (en) Barcode printing device
JP2565052B2 (en) Tape printer
JPS6376087A (en) Bar code pattern generating system
JPH05307626A (en) Bar code printer
JP3312527B2 (en) Barcode printing device
JP3771318B2 (en) Barcode generator, output device, and data processing method for output device
JPH085224B2 (en) Thermal printer
GB2253293A (en) Bar code printer
JPH0679927A (en) Scale printer

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20091127

Year of fee payment: 17

EXPY Expiration of term