KR20180107432A - Printer and method for controlling the same - Google Patents

Printer and method for controlling the same Download PDF

Info

Publication number
KR20180107432A
KR20180107432A KR1020170035255A KR20170035255A KR20180107432A KR 20180107432 A KR20180107432 A KR 20180107432A KR 1020170035255 A KR1020170035255 A KR 1020170035255A KR 20170035255 A KR20170035255 A KR 20170035255A KR 20180107432 A KR20180107432 A KR 20180107432A
Authority
KR
South Korea
Prior art keywords
print
barcode
information
printer
template
Prior art date
Application number
KR1020170035255A
Other languages
Korean (ko)
Other versions
KR101933785B1 (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 주식회사 빅솔론
Priority to KR1020170035255A priority Critical patent/KR101933785B1/en
Publication of KR20180107432A publication Critical patent/KR20180107432A/en
Application granted granted Critical
Publication of KR101933785B1 publication Critical patent/KR101933785B1/en

Links

Images

Classifications

    • 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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • 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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • B41J2029/3935Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns by means of printed test patterns

Landscapes

  • Record Information Processing For Printing (AREA)
  • Printers Characterized By Their Purpose (AREA)

Abstract

The present invention relates to a printer and a printer control method. According to the printer control method, at least a part of information to be included in a print is obtained from an output barcode, and then printing is performed. The printer control method includes a step of obtaining barcode information generated by a reader unit based on the barcode; a step of extracting at least one printing content from the barcode information; a step of applying the printing content to at least one variable block included in preset template data; a step of determining whether or not a preset printing condition is satisfied based on the barcode information; and a step of obtaining printing data based on the printing content and the template data and performing printing based on the printing data in a case where it is determined that the printing condition is satisfied.

Description

프린터 및 프린터 제어 방법{PRINTER AND METHOD FOR CONTROLLING THE SAME}PRINTER AND METHOD FOR CONTROLLING THE SAME [0002]

본 발명은 프린터 및 프린터 제어 방법에 관한 것으로 보다 상세하게는 인쇄에 필요한 정보 중 적어도 일부를 바코드로부터 획득하는 프린터 및 프린터 제어 방법에 관한 것이다.The present invention relates to a printer and a printer control method, and more particularly, to a printer and a printer control method for obtaining at least a part of information necessary for printing from a barcode.

종래의 프린터는 연결된 호스트 장치에 설치된 프린터 드라이버를 통하여 작성된 인쇄 정보를 수신하여 인쇄를 수행하였다.The conventional printer receives print information created through a printer driver installed in a connected host device, and performs printing.

이러한 종래의 호스트를 이용한 인쇄는 프린터와 적어도 하나의 호스트 장치가 연결되어야 한다는 단점이 있었다.Such conventional printing using a host has a drawback in that a printer and at least one host device must be connected.

이는 단순 반복적인 인쇄 작업에도 반드시 호스트 장치가 연결되어야 하기 때문에 시스템 구현에 필요한 비용이 증가한다는 단점이 있을 뿐만 아니라 공간적으로 제약이 생기는 단점 역시 발생한다.This is disadvantageous in that the cost required for system implementation is increased because a host device must be connected to a simple repetitive printing job as well as a disadvantage that a spatial limitation is caused.

본 발명의 일 과제는 별도 호스트 장치의 구비 없이 바코드로부터 획득한 정보를 활용하여 인쇄를 수행할 수 있는 프린터 및 프린터 제어 방법을 제공하는 것이다.An aspect of the present invention is to provide a printer and a printer control method capable of performing printing using information obtained from a bar code without a separate host device.

본 발명이 해결하고자 하는 과제가 상술한 과제로 제한되는 것은 아니며, 언급되지 아니한 과제들은 본 명세서 및 첨부된 도면으로부터 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.It is to be understood that the present invention is not limited to the above-described embodiments and that various changes and modifications may be made without departing from the spirit and scope of the present invention as defined by the following claims .

본 발명의 일 양상에 따르면, 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하여 인쇄하는 프린터의 제어 방법으로, 상기 바코드를 기초로 리더부에 의해 생성되는 바코드 정보를 획득하는 단계; 상기 바코드 정보로부터 적어도 하나의 인쇄 컨텐츠를 추출하는 단계; 미리 설정된 템플릿 데이터에 포함된 적어도 하나의 변수 블록에 상기 인쇄 컨텐츠를 적용하는 단계; 상기 바코드 정보를 기초로 미리 설정된 인쇄 조건이 만족되는지 여부를 판단하는 단계; 및 상기 인쇄 조건을 만족된 것으로 판단한 경우, 상기 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초한 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계;를 포함하는 프린터의 제어 방법이 제공될 수 있다.According to one aspect of the present invention, there is provided a printer control method for obtaining at least a part of information to be included in a printed matter from an output barcode and printing the barcode information, the method comprising: obtaining barcode information generated by the reader unit based on the barcode; Extracting at least one print content from the barcode information; Applying the print content to at least one variable block included in preset template data; Determining whether a preset print condition is satisfied based on the barcode information; And a step of obtaining print data based on the template data and the print content when the print condition is determined to be satisfied and performing a print operation based on the print data have.

본 발명의 다른 양상에 따르면 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하여 인쇄하는 프린터의 제어 방법으로, 리더부로부터 바코드 정보를 획득하는 단계; 상기 바코드 정보에 기초하여 인쇄 컨텐츠 및 템플릿 정보를 획득하는 단계; 상기 템플릿 정보에 기초하여 인쇄에 사용할 템플릿 데이터를 획득하는 단계; 상기 템플릿 데이터에 포함된 변수 블록에 상기 인쇄 컨텐츠를 설정하는 단계; 인쇄 조건을 만족하는 지 여부를 판단하는 단계; 및 상기 인쇄 조건을 만족한 것으로 판단한 경우 상기 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초한 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계;를 포함하는 프린터의 제어 방법이 제공될 수 있다.According to another aspect of the present invention, there is provided a printer control method for obtaining at least a part of information to be included in a printed matter from an output barcode and printing the barcode information, Obtaining print content and template information based on the barcode information; Obtaining template data to be used for printing based on the template information; Setting the print content in a variable block included in the template data; Determining whether a printing condition is satisfied; And acquiring print data based on the template data and the print content when it is determined that the print condition is satisfied, and performing a print operation based on the print data. .

본 발명의 또 다른 양상에 따르면 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하여 인쇄하는 프린터의 제어 방법으로, 제1 시점에 리더부로부터 바코드 정보를 획득하는 단계; 상기 바코드 정보에 포함된 제1인쇄 컨텐츠 및 제1템플릿 정보를 획득하는 단계; 상기 제1 템플릿 정보에 기초하여 인쇄에 사용할 제1 템플릿 데이터를 획득하는 단계; 상기 제1 템플릿 데이터에 포함된 변수 블록에 상기 제1 인쇄 컨텐츠를 적용하는 단계; 추가적인 바코드 정보의 획득이 필요한 지 여부를 판단하는 단계; 상기 판단 결과 추가적인 바코드 정보의 획득이 필요한 경우 상기 제1 시점보다 이후인 제2 시점에 상기 리더부로부터 추가 바코드 정보를 획득하는 단계; 상기 추가 바코드 정보에 기초하여 제2 인쇄 컨텐츠 및 제2 템플릿 데이터를 획득하는 단계; 상기 제1 인쇄 컨텐츠, 상기 제2 인쇄 컨텐츠, 상기 제1 템플릿 데이터 및 상기 제2 템플릿 데이터에 기초하여 인쇄 데이터를 획득하는 단계; 및 상기 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계;를 포함하는 프린터의 제어 방법이 제공될 수 있다.According to still another aspect of the present invention, there is provided a printer control method of acquiring and printing at least a part of information to be included in a printed matter from an output barcode, the method comprising: obtaining barcode information from a reader unit at a first time; Obtaining first print content and first template information included in the barcode information; Acquiring first template data to be used for printing based on the first template information; Applying the first print content to a variable block included in the first template data; Determining whether acquisition of additional barcode information is necessary; Obtaining additional barcode information from the reader unit at a second time point after the first time point when it is necessary to acquire additional barcode information as a result of the determination; Obtaining second print content and second template data based on the additional barcode information; Obtaining print data based on the first print content, the second print content, the first template data, and the second template data; And performing a printing operation based on the print data.

본 발명의 또 다른 양상에 따르면 전자기기를 이용하여 프린터의 인쇄에 필요한 정보를 포함하는 바코드를 제공하기 위한 전자기기 제어 방법으로, 적어도 하나의 바코드 타입을 나타내는 바코드 타입 리스트를 출력하는 단계; 상기 바코드 타입 리스트에 포함된 상기 적어도 하나의 바코드 타입 중 상기 전자기기에서 상기 바코드를 생성하는데 사용될 바코드 타입에 대한 선택을 입력 받고, 선택된 상기 바코드 타입에 대응하는 식별자를 획득하는 단계; 상기 바코드에 임베드될 바코드 정보의 타입에 대한 바코드 정보 타입을 획득하는 단계-이때, 상기 바코드 정보 타입은 인쇄 컨텐츠, 템플릿 정보, 인쇄 명령 중 적어도 하나를 포함함-; 상기 바코드에 임베드될 바코드 데이터를 획득하는 단계; 및 상기 식별자에 대응하는 바코드 타입, 상기 바코드 데이터 및 상기 바코드 정보 타입에 기초하여 상기 바코드를 시각적으로 출력하는 단계;를 포함하는 전자기기 제어 방법이 제공될 수 있다.According to another aspect of the present invention, there is provided an electronic device control method for providing a barcode including information necessary for printing a printer using an electronic device, comprising: outputting a barcode type list indicating at least one barcode type; Receiving a selection of a barcode type to be used for generating the barcode in the electronic device among the at least one barcode type included in the barcode type list, and obtaining an identifier corresponding to the selected barcode type; Obtaining a barcode information type for a type of barcode information to be embedded in the barcode, wherein the barcode information type includes at least one of print content, template information, and a print command; Obtaining barcode data to be embedded in the barcode; And visually outputting the barcode based on the barcode type corresponding to the identifier, the barcode data, and the barcode information type.

본 발명의 또 다른 양상에 따르면 바코드에 기록된 템플릿 데이터를 프린터에 신규 저장하는 템플릿 설정 방법으로, 리더부로부터 바코드 정보를 획득하는 단계; 상기 바코드 정보에 템플릿 데이터에 대한 설정 명령이 포함되어 있는지 여부를 판단하는 단계; 상기 설정 명령이 포함된 경우 상기 설정 명령의 타입을 판단하는 단계; 및 상기 설정 명령이 템플릿 추가인 경우 상기 바코드 정보에 포함된 템플릿 데이터를 미리 저장된 템플릿 데이터와 식별 가능하도록 상기 바코드 정보에 포함된 식별 정보와 매칭하여 저장하는 단계;를 포함하는 프린터의 제어 방법이 제공될 수 있다.According to still another aspect of the present invention, there is provided a template setting method for newly storing template data recorded in a barcode in a printer, comprising: obtaining barcode information from a reader unit; Determining whether the barcode information includes a setting command for template data; Determining the type of the setting command if the setting command is included; And matching the template data included in the barcode information with the identification information included in the barcode information so as to be distinguishable from the stored template data when the setting command is a template addition, .

본 발명의 또 다른 양상에 따르면 상술한 방법을 수행하기 위한 프로그램이 기록된 기록 매체가 제공될 수 있다.According to still another aspect of the present invention, a recording medium on which a program for performing the above-described method is recorded can be provided.

본 발명의 또 다른 양상에 따르면, 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하는 프린터로, 리더부와 연결되는 프린터 통신부; 상기 인쇄물을 인쇄하는 프린터 인쇄부; 및 상기 리더부가 상기 출력된 바코드를 디코딩한 바코드 정보를 획득하고, 상기 바코드 정보에 기초하여 인쇄 컨텐츠를 획득하고, 상기 인쇄 컨텐츠를 미리 저장된 기본 템플릿 데이터에 포함된 변수 블록 중 현재 입력 순서의 상기 변수 블록에 적용하고, 인쇄 조건을 만족하는 지 여부를 판단하여 상기 인쇄 조건을 만족하는 것으로 판단된 경우 상기 기본 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초한 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 상기 인쇄물을 인쇄하도록 상기 인쇄부를 제어하는 프린터 제어부;를 포함하는 프린터가 제공될 수 있다.According to another aspect of the present invention, there is provided a printer for acquiring at least a part of information to be included in a printed matter from an output barcode, the printer communicating unit connected to the reader unit; A printer printing unit printing the printed matter; And the reader unit obtains barcode information obtained by decoding the output barcode, obtains print content based on the barcode information, and outputs the print content to the variable of the current input order among the variable blocks included in the previously stored basic template data And determines whether or not the print condition is satisfied. If it is determined that the print condition is satisfied, the control unit acquires print data based on the basic template data and the print content, and, based on the print data, And a printer control unit for controlling the printing unit to print the image.

본 발명의 또 다른 양상에 따르면 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하는 프린터로, 리더부와 연결되는 프린터 통신부; 상기 인쇄물을 인쇄하는 프린터 인쇄부; 및 상기 프린터 통신부로부터 상기 리더부가 상기 출력된 코드를 디코딩한 바코드 정보를 획득하고 상기 바코드 정보에 기초하여 인쇄 컨텐츠 및 템플릿 정보를 획득하고, 상기 템플릿 정보에 기초하여 인쇄에 사용할 템플릿 데이터를 획득하고, 상기 템플릿 데이터에 포함된 변수 블록에 상기 인쇄 컨텐츠를 적용하고, 인쇄 조건을 만족하는 지 여부를 판단하여 상기 인쇄 조건을 만족하는 경우 상기 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초하여 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 상기 인쇄물을 인쇄하도록 상기 인쇄부를 제어하는 제어부;를 포함하는 프린터가 제공될 수 있다.According to another aspect of the present invention, there is provided a printer for acquiring at least a part of information to be included in a printed matter from an output barcode, the printer communicating unit connected to the reader unit; A printer printing unit printing the printed matter; And a printer communication unit that obtains barcode information obtained by decoding the output code from the reader unit, obtains print content and template information based on the barcode information, acquires template data to be used for printing based on the template information, Applying the print content to a variable block included in the template data, determining whether the print condition is satisfied, acquiring print data based on the template data and the print content when the print condition is satisfied, And a control unit for controlling the printing unit to print the print based on the print data.

본 발명의 또 다른 양상에 따르면 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하는 프린터로, 리더부와 연결되는 프린터 통신부; 상기 인쇄물을 인쇄하는 프린터 인쇄부; 및 상기 프린터 통신부로부터 상기 리더부가 상기 출력된 바코드를 디코딩한 제1 바코드 정보를 획득하고, 상기 제1 바코드 정보에 포함된 제1 인쇄 컨텐츠 및 제1템플릿 정보를 획득하고, 상기 제1 템플릿 정보에 기초하여 인쇄에 사용할 제1 템플릿 데이터를 획득하고, 상기 제1 템플릿 데이터에 포함된 변수 블록에 상기 인쇄 컨텐츠를 적용하고, 추가적인 바코드 정보의 획득이 필요한 지 여부를 판단하여 추가 바코드 정보의 획득이 필요한 경우 상기 리더부를 통하여 제2 바코드 정보를 획득하고, 상기 제2 바코드 정보에 기초하여 제2 인쇄 컨텐츠 및 제2 템플릿 데이터를 획득하고, 상기 제1 인쇄 컨텐츠, 상기 제2 인쇄 컨텐츠, 상기 제1 템플릿 데이터 및 상기 제2 템플릿 데이터에 기초하여 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 상기 인쇄물을 인쇄하도록 상기 인쇄부를 제어하는 제어부;를 포함하는 프린터가 제공될 수 있다.According to another aspect of the present invention, there is provided a printer for acquiring at least a part of information to be included in a printed matter from an output barcode, the printer communicating unit connected to the reader unit; A printer printing unit printing the printed matter; And the reader acquires first barcode information obtained by decoding the output barcode from the printer communication unit, acquires first print content and first template information included in the first barcode information, Acquiring first template data to be used for printing, applying the print content to a variable block included in the first template data, determining whether it is necessary to acquire additional barcode information, and acquiring additional barcode information Acquiring second barcode information through the reader unit, acquiring second print content and second template data based on the second barcode information, and outputting the first print content, the second print content, the first template Acquiring print data based on the first template data and the second template data, It may be a printer, including a service; control unit for controlling the printing unit to print the printout.

본 발명에 의하면, 별도 호스트 장치의 구비 없이 바코드로부터 획득한 정보를 활용하여 인쇄를 수행할 수 있다.According to the present invention, it is possible to perform printing using information obtained from a bar code without a separate host device.

본 발명에 의하면, 바코드로부터 인쇄 컨텐츠를 획득하여 인쇄를 수행할 수 있다.According to the present invention, it is possible to acquire print content from a barcode and perform printing.

본 발명에 의하면, 바코드로부터 템플릿 정보를 획득하여 인쇄를 수행할 수 있다.According to the present invention, it is possible to acquire template information from a barcode and perform printing.

본 발명의 효과가 상술한 효과들로 제한되는 것은 아니며, 언급되지 아니한 효과들은 본 명세서 및 첨부된 도면으로부터 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확히 이해될 수 있을 것이다.The effects of the present invention are not limited to the above-mentioned effects, and the effects not mentioned can be clearly understood by those skilled in the art from the present specification and the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 바코드를 이용한 인쇄를 나타내는 환경도이다.
도 2는 종래의 호스트를 이용한 인쇄를 나타내는 환경도이다.
도 3은 본 발명의 일 실시예에 따른 바코드를 나타내는 예시도이다.
도 4는 본 발명의 일 실시예에 따른 단말기의 블록도이다.
도 5는 본 발명의 일 실시예에 따른 바코드 생성 방법의 순서도이다.
도 6은 본 발명의 일 실시예에 따른 디스플레이를 이용한 바코드의 출력을 나타내는 예시도이다.
도 7은 본 발명의 일 실시예에 따른 인쇄된 바코드를 나타내는 예시도이다.
도 8은 본 발명의 일 실시예에 따른 프린터의 블록도이다.
도 9는 본 발명의 일 실시예에 따른 바코드로부터 획득한 정보를 이용한 인쇄 동작을 나타내는 순서도이다.
도 10은 본 발명의 다른 실시예에 따른 바코드 정보로부터 획득한 정보를 이용한 프린트 동작을 나타내는 순서도이다.
도 11은 본 발명의 변형예에 따른 바코드로부터 획득한 정보를 이용한 프린트 동작을 나타내는 순서도이다.
도 12는 본 발명의 변형예에 따른 인쇄물의 예시도이다.
도 13은 본 발명의 다른 변형예에 따른 템플릿의 추가를 나타내는 순서도이다.
BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is an environmental diagram showing printing using a bar code according to an embodiment of the present invention; Fig.
2 is an environmental diagram showing printing using a conventional host.
3 is an exemplary view showing a bar code according to an embodiment of the present invention.
4 is a block diagram of a terminal according to an embodiment of the present invention.
5 is a flowchart of a barcode generation method according to an embodiment of the present invention.
6 is a diagram illustrating an output of a bar code using a display according to an embodiment of the present invention.
7 is an exemplary view showing a printed bar code according to an embodiment of the present invention.
8 is a block diagram of a printer according to an embodiment of the present invention.
9 is a flowchart showing a printing operation using information obtained from a bar code according to an embodiment of the present invention.
10 is a flowchart illustrating a print operation using information obtained from barcode information according to another embodiment of the present invention.
11 is a flowchart showing a print operation using information obtained from a bar code according to a modification of the present invention.
12 is an exemplary view of a printed matter according to a modification of the present invention.
13 is a flowchart showing the addition of a template according to another modification of the present invention.

본 발명의 상술한 목적, 특징들 및 장점은 첨부된 도면과 관련된 다음의 상세한 설명을 통해 보다 분명해질 것이다. 다만, 본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예들을 가질 수 있는 바, 이하에서는 특정 실시예들을 도면에 예시하고 이를 상세히 설명하고자 한다. The above objects, features and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. It is to be understood, however, that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and similarities.

도면들에 있어서, 층 및 영역들의 두께는 명확성을 기하기 위하여 과장되어진 것이며, 또한, 구성요소(element) 또는 층이 다른 구성요소 또는 층의 "위(on)" 또는 "상(on)"으로 지칭되는 것은 다른 구성요소 또는 층의 바로 위 뿐만 아니라 중간에 다른 층 또는 다른 구성요소를 개재한 경우를 모두 포함한다. 명세서 전체에 걸쳐서 동일한 참조번호들은 원칙적으로 동일한 구성요소들을 나타낸다. 또한, 각 실시예의 도면에 나타나는 동일한 사상의 범위 내의 기능이 동일한 구성요소는 동일한 참조부호를 사용하여 설명한다.In the drawings, the thicknesses of the layers and regions are exaggerated for clarity and the element or layer is referred to as being "on" or "on" Included in the scope of the present invention is not only directly above another element or layer but also includes intervening layers or other elements in between. Like reference numerals designate like elements throughout the specification. The same reference numerals are used to designate the same components in the same reference numerals in the drawings of the embodiments.

본 발명과 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 본 명세서의 설명 과정에서 이용되는 숫자(예를 들어, 제1, 제2 등)는 하나의 구성요소를 다른 구성요소와 구분하기 위한 식별기호에 불과하다.The detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. In addition, numerals (e.g., first, second, etc.) used in the description of the present invention are merely an identifier for distinguishing one component from another.

또한, 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. In addition, the suffix "module" and " part "for constituent elements used in the following description are given or mixed in consideration of ease of specification, and do not have their own meaning or role.

본 발명의 일 양상에 따르면, 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하여 인쇄하는 프린터의 제어 방법으로, 상기 바코드를 기초로 리더부에 의해 생성되는 바코드 정보를 획득하는 단계; 상기 바코드 정보로부터 적어도 하나의 인쇄 컨텐츠를 추출하는 단계; 미리 설정된 템플릿 데이터에 포함된 적어도 하나의 변수 블록에 상기 인쇄 컨텐츠를 적용하는 단계; 상기 바코드 정보를 기초로 미리 설정된 인쇄 조건이 만족되는지 여부를 판단하는 단계; 및 상기 인쇄 조건을 만족된 것으로 판단한 경우, 상기 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초한 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계;를 포함하는 프린터의 제어 방법이 제공될 수 있다.According to one aspect of the present invention, there is provided a printer control method for obtaining at least a part of information to be included in a printed matter from an output barcode and printing the barcode information, the method comprising: obtaining barcode information generated by the reader unit based on the barcode; Extracting at least one print content from the barcode information; Applying the print content to at least one variable block included in preset template data; Determining whether a preset print condition is satisfied based on the barcode information; And a step of obtaining print data based on the template data and the print content when the print condition is determined to be satisfied and performing a print operation based on the print data have.

또 상기 인쇄 컨텐츠 및 상기 변수 블록이 복수인 경우, 상기 복수의 인쇄 컨텐츠의 순서에 따라 상기 복수의 변수 블록에 상기 인쇄 컨텐츠를 적용하는 것을 특징으로 할 수 있다.The print content may be applied to the plurality of variable blocks according to the order of the plurality of print contents when the print contents and the variable blocks are plural.

또 상기 인쇄 컨텐츠의 수가 상기 템플릿 데이터에서 미리 정해진 최대값을 초과하는 경우 상기 최대값에 대응하는 상기 인쇄 컨텐츠를 상기 변수 블록에 설정하여 제1 인쇄 데이터를 획득하고, 상기 인쇄 컨텐츠 중 상기 변수 블록에 설정되지 않은 인쇄 컨텐츠를 상기 변수 블록에 설정하여 제2 인쇄 데이터를 획득하는 단계를 더 포함할 수 있다.And when the number of print contents exceeds a predetermined maximum value in the template data, sets the print content corresponding to the maximum value in the variable block to obtain first print data, And setting the unset print content in the variable block to obtain the second print data.

또 상기 인쇄 조건을 만족하는 지 여부를 판단하는 단계는 상기 인쇄 컨텐츠의 수가 최소 인쇄 컨텐츠 수 이상인 경우 상기 인쇄 조건을 만족하는 것으로 판단하는 단계일 수 있다.The step of determining whether the printing condition is satisfied may include determining that the printing condition is satisfied when the number of the printing contents is equal to or greater than the minimum number of printing contents.

또 상기 인쇄 조건을 만족하는 지 여부를 판단하는 단계는 상기 바코드 정보에 인쇄 명령이 포함된 경우 상기 인쇄 조건을 만족하는 것으로 판단하는 단계일 수 있다.The step of determining whether or not the printing condition is satisfied may include determining that the printing condition is satisfied when the printing command is included in the barcode information.

본 발명의 다른 양상에 따르면 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하여 인쇄하는 프린터의 제어 방법으로, 리더부로부터 바코드 정보를 획득하는 단계; 상기 바코드 정보에 기초하여 인쇄 컨텐츠 및 템플릿 정보를 획득하는 단계; 상기 템플릿 정보에 기초하여 인쇄에 사용할 템플릿 데이터를 획득하는 단계; 상기 템플릿 데이터에 포함된 변수 블록에 상기 인쇄 컨텐츠를 설정하는 단계; 인쇄 조건을 만족하는 지 여부를 판단하는 단계; 및 상기 인쇄 조건을 만족한 것으로 판단한 경우 상기 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초한 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계;를 포함하는 프린터의 제어 방법이 제공될 수 있다.According to another aspect of the present invention, there is provided a printer control method for obtaining at least a part of information to be included in a printed matter from an output barcode and printing the barcode information, Obtaining print content and template information based on the barcode information; Obtaining template data to be used for printing based on the template information; Setting the print content in a variable block included in the template data; Determining whether a printing condition is satisfied; And acquiring print data based on the template data and the print content when it is determined that the print condition is satisfied, and performing a print operation based on the print data. .

또 상기 템플릿 데이터를 획득하는 단계는 상기 프린터에 미리 저장된 템플릿 데이터 중 상기 템플릿 정보에 포함된 템플릿 식별 정보에 대응하는 템플릿 데이터를 획득하는 단계일 수 있다.The acquiring of the template data may be a step of acquiring template data corresponding to the template identification information included in the template information among the template data prestored in the printer.

또 상기 템플릿 데이터를 획득하는 단계는 상기 템플릿 정보에 포함된 상기 템플릿 데이터를 상기 인쇄에 사용할 템플릿 데이터로 획득하는 단계일 수 있다.The acquiring of the template data may be a step of acquiring the template data included in the template information as template data to be used for the printing.

또 상기 인쇄 조건을 만족하는 지 여부를 판단하는 단계는 상기 바코드 정보에 인쇄 명령이 포함된 경우 상기 인쇄 조건을 만족하는 것으로 판단하는 단계일 수 있다.The step of determining whether or not the printing condition is satisfied may include determining that the printing condition is satisfied when the printing command is included in the barcode information.

본 발명의 또 다른 양상에 따르면 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하여 인쇄하는 프린터의 제어 방법으로, 제1 시점에 리더부로부터 바코드 정보를 획득하는 단계; 상기 바코드 정보에 포함된 제1인쇄 컨텐츠 및 제1템플릿 정보를 획득하는 단계; 상기 제1 템플릿 정보에 기초하여 인쇄에 사용할 제1 템플릿 데이터를 획득하는 단계; 상기 제1 템플릿 데이터에 포함된 변수 블록에 상기 제1 인쇄 컨텐츠를 적용하는 단계; 추가적인 바코드 정보의 획득이 필요한 지 여부를 판단하는 단계; 상기 판단 결과 추가적인 바코드 정보의 획득이 필요한 경우 상기 제1 시점보다 이후인 제2 시점에 상기 리더부로부터 추가 바코드 정보를 획득하는 단계; 상기 추가 바코드 정보에 기초하여 제2 인쇄 컨텐츠 및 제2 템플릿 데이터를 획득하는 단계; 상기 제1 인쇄 컨텐츠, 상기 제2 인쇄 컨텐츠, 상기 제1 템플릿 데이터 및 상기 제2 템플릿 데이터에 기초하여 인쇄 데이터를 획득하는 단계; 및 상기 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계;를 포함하는 프린터의 제어 방법이 제공될 수 있다.According to still another aspect of the present invention, there is provided a printer control method of acquiring and printing at least a part of information to be included in a printed matter from an output barcode, the method comprising: obtaining barcode information from a reader unit at a first time; Obtaining first print content and first template information included in the barcode information; Acquiring first template data to be used for printing based on the first template information; Applying the first print content to a variable block included in the first template data; Determining whether acquisition of additional barcode information is necessary; Obtaining additional barcode information from the reader unit at a second time point after the first time point when it is necessary to acquire additional barcode information as a result of the determination; Obtaining second print content and second template data based on the additional barcode information; Obtaining print data based on the first print content, the second print content, the first template data, and the second template data; And performing a printing operation based on the print data.

또 상기 추가적인 바코드 정보의 획득이 필요한 지 여부를 판단하는 단계는 바코드 정보에 인쇄 명령이 포함되어 있지 않은 경우 추가적인 바코드 정보의 획득이 필요한 것으로 판단하는 단계일 수 있다.The step of determining whether the acquisition of the additional barcode information is required may be a step of determining that it is necessary to acquire additional barcode information if the barcode information does not include a print command.

본 발명의 또 다른 양상에 따르면 전자기기를 이용하여 프린터의 인쇄에 필요한 정보를 포함하는 바코드를 제공하기 위한 전자기기 제어 방법으로, 적어도 하나의 바코드 타입을 나타내는 바코드 타입 리스트를 출력하는 단계; 상기 바코드 타입 리스트에 포함된 상기 적어도 하나의 바코드 타입 중 상기 전자기기에서 상기 바코드를 생성하는데 사용될 바코드 타입에 대한 선택을 입력 받고, 선택된 상기 바코드 타입에 대응하는 식별자를 획득하는 단계; 상기 바코드에 임베드될 바코드 정보의 타입에 대한 바코드 정보 타입을 획득하는 단계-이때, 상기 바코드 정보 타입은 인쇄 컨텐츠, 템플릿 정보, 인쇄 명령 중 적어도 하나를 포함함-; 상기 바코드에 임베드될 바코드 데이터를 획득하는 단계; 및 상기 식별자에 대응하는 바코드 타입, 상기 바코드 데이터 및 상기 바코드 정보 타입에 기초하여 상기 바코드를 시각적으로 출력하는 단계;를 포함하는 전자기기 제어 방법이 제공될 수 있다.According to another aspect of the present invention, there is provided an electronic device control method for providing a barcode including information necessary for printing a printer using an electronic device, comprising: outputting a barcode type list indicating at least one barcode type; Receiving a selection of a barcode type to be used for generating the barcode in the electronic device among the at least one barcode type included in the barcode type list, and obtaining an identifier corresponding to the selected barcode type; Obtaining a barcode information type for a type of barcode information to be embedded in the barcode, wherein the barcode information type includes at least one of print content, template information, and a print command; Obtaining barcode data to be embedded in the barcode; And visually outputting the barcode based on the barcode type corresponding to the identifier, the barcode data, and the barcode information type.

본 발명의 또 다른 양상에 따르면 바코드에 기록된 템플릿 데이터를 프린터에 신규 저장하는 템플릿 설정 방법으로, 리더부로부터 바코드 정보를 획득하는 단계; 상기 바코드 정보에 템플릿 데이터에 대한 설정 명령이 포함되어 있는지 여부를 판단하는 단계; 상기 설정 명령이 포함된 경우 상기 설정 명령의 타입을 판단하는 단계; 및 상기 설정 명령이 템플릿 추가인 경우 상기 바코드 정보에 포함된 템플릿 데이터를 미리 저장된 템플릿 데이터와 식별 가능하도록 상기 바코드 정보에 포함된 식별 정보와 매칭하여 저장하는 단계;를 포함하는 프린터의 제어 방법이 제공될 수 있다.According to still another aspect of the present invention, there is provided a template setting method for newly storing template data recorded in a barcode in a printer, comprising: obtaining barcode information from a reader unit; Determining whether the barcode information includes a setting command for template data; Determining the type of the setting command if the setting command is included; And matching the template data included in the barcode information with the identification information included in the barcode information so as to be distinguishable from the stored template data when the setting command is a template addition, .

본 발명의 또 다른 양상에 따르면 상술한 방법을 수행하기 위한 프로그램이 기록된 기록 매체가 제공될 수 있다.According to still another aspect of the present invention, a recording medium on which a program for performing the above-described method is recorded can be provided.

본 발명의 또 다른 양상에 따르면, 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하는 프린터로, 리더부와 연결되는 프린터 통신부; 상기 인쇄물을 인쇄하는 프린터 인쇄부; 및 상기 리더부가 상기 출력된 바코드를 디코딩한 바코드 정보를 획득하고, 상기 바코드 정보에 기초하여 인쇄 컨텐츠를 획득하고, 상기 인쇄 컨텐츠를 미리 저장된 기본 템플릿 데이터에 포함된 변수 블록 중 현재 입력 순서의 상기 변수 블록에 적용하고, 인쇄 조건을 만족하는 지 여부를 판단하여 상기 인쇄 조건을 만족하는 것으로 판단된 경우 상기 기본 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초한 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 상기 인쇄물을 인쇄하도록 상기 인쇄부를 제어하는 프린터 제어부;를 포함하는 프린터가 제공될 수 있다.According to another aspect of the present invention, there is provided a printer for acquiring at least a part of information to be included in a printed matter from an output barcode, the printer communicating unit connected to the reader unit; A printer printing unit printing the printed matter; And the reader unit obtains barcode information obtained by decoding the output barcode, obtains print content based on the barcode information, and outputs the print content to the variable of the current input order among the variable blocks included in the previously stored basic template data And determines whether or not the print condition is satisfied. If it is determined that the print condition is satisfied, the control unit acquires print data based on the basic template data and the print content, and, based on the print data, And a printer control unit for controlling the printing unit to print the image.

본 발명의 또 다른 양상에 따르면 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하는 프린터로, 리더부와 연결되는 프린터 통신부; 상기 인쇄물을 인쇄하는 프린터 인쇄부; 및 상기 프린터 통신부로부터 상기 리더부가 상기 출력된 코드를 디코딩한 바코드 정보를 획득하고 상기 바코드 정보에 기초하여 인쇄 컨텐츠 및 템플릿 정보를 획득하고, 상기 템플릿 정보에 기초하여 인쇄에 사용할 템플릿 데이터를 획득하고, 상기 템플릿 데이터에 포함된 변수 블록에 상기 인쇄 컨텐츠를 적용하고, 인쇄 조건을 만족하는 지 여부를 판단하여 상기 인쇄 조건을 만족하는 경우 상기 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초하여 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 상기 인쇄물을 인쇄하도록 상기 인쇄부를 제어하는 제어부;를 포함하는 프린터가 제공될 수 있다.According to another aspect of the present invention, there is provided a printer for acquiring at least a part of information to be included in a printed matter from an output barcode, the printer communicating unit connected to the reader unit; A printer printing unit printing the printed matter; And a printer communication unit that obtains barcode information obtained by decoding the output code from the reader unit, obtains print content and template information based on the barcode information, acquires template data to be used for printing based on the template information, Applying the print content to a variable block included in the template data, determining whether the print condition is satisfied, acquiring print data based on the template data and the print content when the print condition is satisfied, And a control unit for controlling the printing unit to print the print based on the print data.

본 발명의 또 다른 양상에 따르면 인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하는 프린터로, 리더부와 연결되는 프린터 통신부; 상기 인쇄물을 인쇄하는 프린터 인쇄부; 및 상기 프린터 통신부로부터 상기 리더부가 상기 출력된 바코드를 디코딩한 제1 바코드 정보를 획득하고, 상기 제1 바코드 정보에 포함된 제1 인쇄 컨텐츠 및 제1템플릿 정보를 획득하고, 상기 제1 템플릿 정보에 기초하여 인쇄에 사용할 제1 템플릿 데이터를 획득하고, 상기 제1 템플릿 데이터에 포함된 변수 블록에 상기 인쇄 컨텐츠를 적용하고, 추가적인 바코드 정보의 획득이 필요한 지 여부를 판단하여 추가 바코드 정보의 획득이 필요한 경우 상기 리더부를 통하여 제2 바코드 정보를 획득하고, 상기 제2 바코드 정보에 기초하여 제2 인쇄 컨텐츠 및 제2 템플릿 데이터를 획득하고, 상기 제1 인쇄 컨텐츠, 상기 제2 인쇄 컨텐츠, 상기 제1 템플릿 데이터 및 상기 제2 템플릿 데이터에 기초하여 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 상기 인쇄물을 인쇄하도록 상기 인쇄부를 제어하는 제어부;를 포함하는 프린터가 제공될 수 있다.According to another aspect of the present invention, there is provided a printer for acquiring at least a part of information to be included in a printed matter from an output barcode, the printer communicating unit connected to the reader unit; A printer printing unit printing the printed matter; And the reader acquires first barcode information obtained by decoding the output barcode from the printer communication unit, acquires first print content and first template information included in the first barcode information, Acquiring first template data to be used for printing, applying the print content to a variable block included in the first template data, determining whether it is necessary to acquire additional barcode information, and acquiring additional barcode information Acquiring second barcode information through the reader unit, acquiring second print content and second template data based on the second barcode information, and outputting the first print content, the second print content, the first template Acquiring print data based on the first template data and the second template data, It may be a printer, including a service; control unit for controlling the printing unit to print the printout.

도 1은 본 발명의 일 실시예에 따른 바코드를 이용한 인쇄를 나타내는 환경도이다.BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is an environmental diagram showing printing using a bar code according to an embodiment of the present invention; Fig.

도 1을 참조하면 바코드를 이용한 인쇄 환경은 바코드(1000), 리더부(2000) 및 프린터(3000)를 포함할 수 있다.Referring to FIG. 1, a printing environment using a bar code may include a bar code 1000, a reader unit 2000, and a printer 3000.

바코드(1000)에는 인쇄에 필요한 데이터가 코드화되어 기록될 수 있다.Data necessary for printing can be coded and recorded in the barcode 1000. [

바코드(1000)에는 프린터(3000)의 외부에서 프린터(3000)의 인쇄 동작에 필요한 정보를 제공할 수 있다.The barcode 1000 can provide information necessary for the printing operation of the printer 3000 from outside the printer 3000.

예를 들어 바코드(1000)에는 프린터(3000)의 인쇄 동작에 필요한 인쇄 컨텐츠, 템플릿 정보 및 인쇄 명령 중 적어도 하나가 포함될 수 있다.For example, the barcode 1000 may include at least one of print contents, template information, and a print command necessary for the printing operation of the printer 3000.

본 발명에서 인쇄 컨텐츠는 인쇄물에 인쇄되는 컨텐츠 중 하나로 사용자에 의해 가변적으로 변경되어 인쇄되는 컨텐츠일 수 있다. In the present invention, the print content may be one of contents to be printed on a printed matter, and may be a content that is variably changed and printed by a user.

본 발명에서 템플릿은 인쇄할 내용물의 형식으로 인쇄 내용물의 테두리, 인쇄 컨텐츠의 위치, 고정적으로 인쇄되는 내용물(예를 들어, 머리말, 꼬릿말, 인쇄 물에 인쇄되는 바코드, 폰트, 그래픽, 로고와 같은 이미지 등) 등이 미리 정의된 데이터일 수 있다. 예를 들어 템플릿은 인쇄물에서 변수를 이용한 인쇄 컨텐츠를 제외한 나머지 영역을 의미할 수 있다.In the present invention, a template may be a template of contents to be printed, a border of the contents of the print, a position of the print contents, contents to be fixedly printed (for example, a header, a footer, an image such as a barcode printed on a print, Etc.) may be predefined data. For example, a template may refer to a region other than printing contents using a variable in a printed matter.

또한, 템플릿은 인쇄 시 일정 영역에서 출력되는 내용에 대한 이미지, 그래픽, 폰트 및 인쇄물에 인쇄되는 바코드에 대한 정보를 포함할 수 있다. 예를 들어 템플릿은 템플릿에 포함된 변수 블록 각각에 대한 폰트 정보를 포함할 수 있다.In addition, the template may include images, graphics, fonts, and information on barcodes printed on a printout of contents output in a certain area at the time of printing. For example, the template may include font information for each of the variable blocks included in the template.

폰트 정보는 예를 들어 일정 영역에서 출력되는 인쇄 데이터에 대한 폰트, 크기, 굵기, 색상, 장평 및 행간 등 인쇄 컨텐츠의 출력 시 고려되어야 할 정보를 포함할 수 있다. 이하에서 설명되는 템플릿 데이터는 이러한 템플릿이 프린터가 읽을 수 있는 언어로 작성된 데이터일 수 있다.The font information may include information to be considered in outputting the print content, such as font, size, thickness, color, length, and line spacing of print data output from a certain area. The template data described below may be data whose templates are written in a language that can be read by the printer.

본 발명에서 인쇄 명령은 인쇄의 시작을 명령하는 데이터로 인쇄 데이터의 생성 및/또는 인쇄 동작의 시작을 명령하는 데이터일 수 있다.In the present invention, the print command may be data instructing the start of printing to generate print data and / or start the print operation.

또한, 바코드(1000)에는 템플릿의 추가 및 기타 인쇄 설정 등에 대한 데이터가 포함될 수 있다.In addition, the barcode 1000 may include data on addition of a template and other print settings.

리더부(2000) 및 프린터(3000)는 서로 연결될 수 있다. 또한 리더부(2000)는 바코드(1000)에 대응하는 전기적 신호를 획득하여 프린터(3000)에 제공할 수 있다.The reader unit 2000 and the printer 3000 may be connected to each other. The reader unit 2000 may acquire an electrical signal corresponding to the barcode 1000 and provide the electrical signal to the printer 3000.

리더부(2000)가 바코드(1000)에 대응하는 전기적 신호를 획득하는 방법은 발광 된 빛이 바코드(1000)에 반사된 빛을 검출하여 이를 전기적 신호로 변환하는 광학 방식 및 바코드(1000)를 촬영한 이미지를 분석하여 전기적 신호로 변환하는 이미지 분석 방식 등이 제공될 수 있다.A method in which the reader unit 2000 acquires an electrical signal corresponding to the barcode 1000 includes an optical system for detecting the light reflected by the barcode 1000 and converting the light into an electrical signal, An image analysis method for analyzing an image and converting it into an electrical signal can be provided.

리더부(2000)는 예를 들어 바코드 리더기, 바코드 스캐너, 광학 스캐너, 카메라 등일 수 있다.The reader unit 2000 may be, for example, a barcode reader, a barcode scanner, an optical scanner, a camera, or the like.

프린터(3000)는 리더부(2000)로부터 획득한 전기적 신호에 기초하여 인쇄 동작을 수행할 수 있다. 예를 들어 프린터(3000)는 바코드(1000)에 기록된 인쇄 정보를 리더부(2000)를 통하여 획득할 수 있으며, 획득한 인쇄 정보에 기초하여 인쇄 동작을 수행할 수 있다.The printer 3000 can perform the printing operation based on the electrical signal acquired from the reader unit 2000. [ For example, the printer 3000 can acquire print information recorded in the barcode 1000 through the reader unit 2000, and can perform a print operation based on the obtained print information.

1. 호스트 장치를 이용한 인쇄1. Printing with host device

도 2는 종래의 호스트를 이용한 인쇄를 나타내는 환경도이다.2 is an environmental diagram showing printing using a conventional host.

도 2를 참조하면 종래의 인쇄 환경은 호스트 장치(4000) 및 프린터(3000)를 포함할 수 있다.Referring to FIG. 2, a conventional printing environment may include a host apparatus 4000 and a printer 3000.

호스트 장치(4000) 및 프린터(3000)는 서로 연결될 수 있다. 또한 호스트 장치(4000) 및 프린터(3000)는 상호간에 데이터를 송신 및/또는 수신할 수 있다.The host apparatus 4000 and the printer 3000 can be connected to each other. Further, the host apparatus 4000 and the printer 3000 can transmit and / or receive data to each other.

호스트 장치(4000)는 예를 들어 데스크탑, 노트북, 테블릿, 스마트폰 및 포스기기 등일 수 있다.The host device 4000 may be, for example, a desktop, a notebook, a tablet, a smart phone, and a force appliance.

호스트 장치(4000)는 어플리케이션에서 요청한 인쇄 문서를 프린터 드라이버를 통하여 프린터(3000)가 인식하여 인쇄를 수행할 수 있도록 인쇄 정보로 변환할 수 있다. 또한 호스트 장치(4000)는 인쇄 정보를 프린터(3000)로 전송할 수 있다. 예를 들어, 호스트 장치(4000)는 어플리케이션에서 요청한 사항을 기초로 인쇄 문서를 생성하고, 프린터 드라이버를 이용하여 인쇄 문서를 프린터(3000)에서 인식/해석 가능한 형식의 인쇄 정보로 변환할 수 있다. 호스트 장치(4000)는 변환된 인쇄 정보를 프린터(3000)에 전송할 수 있고, 프린터(3000)는 수신한 인쇄 정보에 따라 인쇄를 수행할 수 있다.The host apparatus 4000 can convert the print document requested by the application into print information so that the printer 3000 can recognize and print the print document through the printer driver. The host apparatus 4000 can also transmit print information to the printer 3000. [ For example, the host apparatus 4000 can generate a print document based on the request from the application, and convert the print document into print information in a format that can be recognized / interpreted by the printer 3000 using the printer driver. The host apparatus 4000 can transmit the converted print information to the printer 3000 and the printer 3000 can perform printing in accordance with the received print information.

어플리케이션은 예를 들어 워드, 한글, 메모장, 그림판 등과 같이 문서 및 이미지 등의 작성, 편집 및 인쇄를 위한 소프트웨어뿐만 아니라 익스플로러, 사파리, 크롬, 파이어폭스와 같은 웹브라우저 및 윈도우, 리눅스, iOS, 안드로이드와 같은 OS(operating system) 등 인쇄 명령을 개시할 수 있는 소프트웨어일 수 있다.Applications include software for creating, editing, and printing documents and images, such as Word, Hangul, Notepad, and Paint, as well as web browsers such as Explorer, Safari, Chrome, Firefox, and Windows, Linux, iOS, Such as an operating system (OS).

인쇄 정보는 프린터(3000)가 인쇄 동작을 수행하는데 필요한 데이터일 수 있다. 보다 구체적으로 인쇄 정보는 프린터(3000)가 인쇄물에 인쇄할 내용물에 대한 인쇄 컨텐츠 정보, 인쇄할 내용물의 형식에 대한 템플릿 정보, 인쇄의 시작 여부를 판단하는데 필요한 인쇄 개시 명령 중 적어도 하나를 포함할 수 있다.The print information may be data necessary for the printer 3000 to perform a print operation. More specifically, the print information may include at least one of print content information about the content to be printed on the printout, template information about the format of the content to be printed, and a print start command necessary for determining whether to start printing have.

프린터(3000)는 호스트 장치(4000)로부터 인쇄 정보를 획득할 수 있다. 또한, 프린터(3000)는 호스트 장치(4000)로부터 획득한 인쇄 정보에 기초하여 인쇄 동작을 수행할 수 있다. 예를 들어 프린터(3000)는 인쇄 정보에 포함된 인쇄 개시 명령에 따라 인쇄 동작을 시작하여 템플릿 정보에서 지정하는 위치에 인쇄 컨텐츠 정보에 대응하는 내용을 인쇄할 수 있다.The printer 3000 can obtain print information from the host apparatus 4000. [ In addition, the printer 3000 can perform a printing operation based on the printing information acquired from the host apparatus 4000. [ For example, the printer 3000 can start the printing operation in accordance with the print start command included in the print information, and can print the content corresponding to the print content information at the position designated by the template information.

이러한 종래의 호스트를 이용한 인쇄는 프린터(3000)와 적어도 하나의 호스트 장치(4000)가 연결되어야 한다는 단점이 있었다. 이는 단순 반복적인 인쇄 작업에도 반드시 호스트 장치(4000)가 연결되어야 하기 때문에 비용이 시스템 구현에 필요한 비용이 증가한다는 단점이 있을 뿐만 아니라 공간적으로 제약이 생기는 단점 역시 발생할 수 있다. 또한, 프린터(3000)에서, 템플릿 정보가 수시로 변경되어야 하는 경우, 종래의 호스트를 이용한 인쇄에서는 템플릿 정보가 변경될 때 마다 프린터(3000)가 호스트 장치(4000)로부터 변경되어야 할 템플릿 정보가 포함된 인쇄 정보를 획득하여야 하였다. 이에 따라, 템플릿 정보의 변경에 시간이 오래 소요될 뿐만 아니라, 프린터(3000)가 호스트 장치(4000)와 연결되지 않을 경우, 프린터(3000)에서 템플릿 정보가 변경되지 못한다는 불편함이 있었다.This conventional printing using the host has a disadvantage that the printer 3000 and at least one host apparatus 4000 must be connected. In addition, since the host device 4000 must be connected to the simple repetitive print job, the cost of the system increases, which is a disadvantage that the cost required for implementing the system increases. In the case where the template information is to be changed at any time in the printer 3000, in the printing using the conventional host, whenever the template information is changed, the printer 3000 includes the template information to be changed from the host apparatus 4000 Print information had to be obtained. Accordingly, it takes a long time to change the template information, and when the printer 3000 is not connected to the host apparatus 4000, there is an inconvenience that the template information can not be changed in the printer 3000.

2. 바코드 및 바코드의 생성2. Generation of barcodes and barcodes

1) 바코드의 정의1) Definition of barcode

본 발명에서 설명되는 바코드(1000)는 인쇄에 필요한 데이터가 인코딩되어 기록된 기록물로, 광학적인 판독 방식 및 이미지 처리를 이용한 판독 등을 통하여 디코딩하여 원래의 데이터가 획득될 수 있다.The barcode 1000 described in the present invention can be decoded by reading an optical reading method and image processing, etc., in which the data necessary for printing is encoded and recorded, so that the original data can be obtained.

바코드(1000)는 종래의 호스트 장치(4000)를 이용한 인쇄 동작에서 호스트 장치(4000)에서 실행되는 프린트 드라이버의 역할 중 적어도 일부를 대체할 수 있다. 예를 들어 바코드(1000)는 호스트 장치(4000)를 대신하여 프린터(3000)에 인쇄 정보를 제공할 수 있다. 다른 예를 들어 바코드(1000)는 프린터(3000)의 설정에 필요한 정보를 제공할 수 있다. 보다 구체적인 예를 들어 바코드(1000)는 프린터(3000)에 저장된 템플릿의 추가 및 템플릿의 변경에 필요한 정보를 제공할 수 있다.The barcode 1000 can replace at least some of the functions of the print driver executed in the host apparatus 4000 in the printing operation using the conventional host apparatus 4000. [ For example, the barcode 1000 may provide print information to the printer 3000 on behalf of the host apparatus 4000. [ For example, the barcode 1000 may provide information necessary for setting the printer 3000. More specifically, for example, the barcode 1000 may provide information necessary for adding a template stored in the printer 3000 and for changing a template.

도 3은 본 발명의 일 실시예에 따른 바코드(1000)를 나타내는 예시도이다.3 is an exemplary view showing a barcode 1000 according to an embodiment of the present invention.

도 3 (a)에 도시된 바와 같이 1차원의 바코드(barcode) 형태로 제공될 수 있으며, 또한 도 3(b)에 도시된 바와 같이 2차원의 QR code, PDF417, DATA Matrix, MaxiCode, Cadablock, Aztec Code, Code 16k, Code One, Calula Code, BP04 State Code 및 Postnet Code 등으로 구현될 수 있다.Dimensional barcode, as shown in FIG. 3 (a), and can be provided in the form of a two-dimensional QR code, PDF417, DATA Matrix, MaxiCode, Cadablock, Aztec Code, Code 16k, Code One, Calula Code, BP04 State Code and Postnet Code.

또한, 바코드(1000)에는 대체 코드가 더 제공될 수 있다. 예를 들어 도 3(a)에 도시된 바코드와 같이 바코드의 기본 형태인 라인 형태의 바코드(1000)외에 숫자 및/또는 문자 형태의 대체 코드가 제공될 수 있다. 이러한 대체 코드는 바코드(1000)의 훼손 등에 따라 판독이 불가능한 경우 바코드(1000)를 대체하여 데이터를 획득하기 위한 수단일 수 있다.Further, the barcode 1000 may be further provided with an alternative code. For example, in place of the barcode 1000 in the form of a line, which is a basic form of a barcode, such as the barcode shown in FIG. 3A, a substitute code in the form of numerals and / or characters can be provided. The substitute code may be a means for obtaining data by replacing the bar code 1000 if the bar code 1000 can not be read due to damage or the like.

도 3에 도시된 바코드(1000)는 설명의 편의를 위한 예시일 뿐이며 사용자의 선택에 따라 도 3에 예시적으로 도시된 바코드(1000) 외에 다양한 형태의 바코드가 제공될 수 있다.The barcode 1000 shown in FIG. 3 is merely an example for convenience of explanation, and various types of barcodes may be provided in addition to the barcode 1000 exemplarily shown in FIG. 3 according to a user's selection.

2) 바코드의 생성2) Generation of barcode

이하에서 설명되는 바코드 생성 방법은 단말기(5000)에 의해 수행될 수 있다. 단말기(5000)는 예를 들어 컴퓨터, 테블릿, 노트북 및 스마트폰 등으로 제공될 수 있다. 또한 프린터(3000)에 단말기(5000)의 기능이 부가되어 구현되는 경우 바코드 생성 방법은 프린터(3000)에 의해 수행될 수 있다.The barcode generation method described below can be performed by the terminal 5000. [ The terminal 5000 may be provided as, for example, a computer, a tablet, a notebook, and a smart phone. Also, when the function of the terminal 5000 is implemented in the printer 3000, the barcode generation method can be performed by the printer 3000.

도 4는 본 발명의 일 실시예에 따른 단말기(5000)의 블록도이다.4 is a block diagram of a terminal 5000 according to an embodiment of the present invention.

도 4를 참조하면, 단말기(5000)는 단말기 통신부(5100), 단말기 디스플레이부(5200), 단말기 입력부(5300), 단말기 저장부(5400) 및 단말기 제어부(5500)를 포함할 수 있다.4, the terminal 5000 may include a terminal communication unit 5100, a terminal display unit 5200, a terminal input unit 5300, a terminal storage unit 5400, and a terminal control unit 5500.

단말기 통신부(5100)는 외부 장치와 연결될 수 있다. 예를 들어 단말기 통신부(5100)는 템플릿을 관리하는 서버 장치와 연결될 수 있다.The terminal communication unit 5100 may be connected to an external device. For example, the terminal communication unit 5100 may be connected to a server apparatus that manages a template.

단말기 통신부(5100)는 무선 및/또는 유선 통신 방식으로 외부 장치와 연결될 수 있다. 예를 들어 단말기 통신부(5100)는 와이파이(wifi), LTE, 3G, 4G, LoRa, 블루투스(Bluetooth), 지그비(Zigbee) 등과 같은 무선 통신 방식으로 외부 장치와 연결되어 데이터를 송수신할 수 있다. 다른 예를 들어 단말기 통신부(5100)는 LAN, 유에스비(USB) 방식, 시리얼 방식 및 패러럴 방식 등의 유선 통신 방식으로 외부 장치와 연결되어 데이터를 송수신할 수 있다.The terminal communication unit 5100 may be connected to an external device through a wireless and / or wire communication method. For example, the terminal communication unit 5100 may be connected to an external device via a wireless communication method such as WiFi, LTE, 3G, 4G, LoRa, Bluetooth, Zigbee, etc. to transmit and receive data. For example, the terminal communication unit 5100 may be connected to an external device via a wired communication method such as a LAN, a USB (USB) method, a serial method, or a parallel method to transmit and receive data.

단말기 통신부(5100)는 LAN 카드, wifi 모듈 및 블루투스 모듈 등과 같이 무선 및/또는 유선 통신 방식을 지원하는 통신 모듈로 구현될 수 있다.The terminal communication unit 5100 may be implemented as a communication module supporting a wireless and / or wired communication method such as a LAN card, a wifi module, and a Bluetooth module.

단말기 디스플레이부(5200)는 단말기(5000)에서 처리되는 정보를 시각적으로 출력한다. 예를 들어 단말기 디스플레이부(5200)는 사용자와 인터페이스 할 수 있는 GUI(Graphic User Interface)를 출력할 수 있다. The terminal display unit 5200 visually outputs information processed by the terminal 5000. [ For example, the terminal display unit 5200 may output a GUI (Graphic User Interface) capable of interfacing with a user.

단말기 디스플레이부(5200)는 액정 디스플레이(liquid crystal display), 박막 트랜지스터 액정 디스플레이(thin film transistor liquid crystal display), 유기 발광 다이오드(organic light emitting diode), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 등으로 구현될 수 있다. The terminal display unit 5200 may be a liquid crystal display, a thin film transistor liquid crystal display, an organic light emitting diode, a flexible display, a three-dimensional display display) or the like.

또한 단말기 디스플레이부(5200)가 터치 동작을 감지하는 터치 센서를 포함하는 터치 디스플레이로 제공되는 경우 단말기 디스플레이부(5200)는 시각적인 출력 장치뿐만 아니라 입력 장치로도 사용될 수 있다. Also, when the terminal display unit 5200 is provided as a touch display including a touch sensor for sensing a touch operation, the terminal display unit 5200 can be used as an input device as well as a visual output device.

단말기 입력부(5300)는 키보드(keyboard), 마우스(mouse), 키 패드(key pad) 돔 스위치 (dome switch), 터치 패드(정압/정전), 조그 휠 및 조그 스위치 중 적어도 하나를 포함할 수 있다.The terminal input unit 5300 may include at least one of a keyboard, a mouse, a key pad, a dome switch, a touch pad (static / static), a jog wheel, and a jog switch .

단말기 입력부(5300)는 사용자의 입력(예를 들어 터치, 선택, 드래그 및 클릭 등)에 대응하는 전기적 신호를 획득하여 단말기 제어부(5500)에 전송할 수 있다.The terminal input unit 5300 may obtain an electrical signal corresponding to a user's input (for example, touch, select, drag and click) and transmit the electrical signal to the terminal control unit 5500.

단말기 저장부(5400)는 단말기(5500)의 동작에 필요한 각종 데이터를 저장할 수 있다. 예를 들어 단말기 저장부(5400)는 이하에서 설명되는 바코드 생성 방법을 수행하기 위한 프로그램을 저장할 수 있다. 다른 예를 들어 저장부(5400)는 바코드 생성 방법에 의해 생성된 바코드 및 바코드에 관한 데이터를 저장할 수 있다.The terminal storage unit 5400 may store various data necessary for the operation of the terminal 5500. For example, the terminal storage unit 5400 may store a program for performing the barcode generation method described below. As another example, the storage unit 5400 may store barcode and barcode data generated by the barcode generation method.

단말기 제어부(5500)는 단말기(5000)의 동작을 총괄할 수 있다. 예를 들어 단말기 제어부(5500)는 단말기(5000)에 포함된 구성 중 적어도 하나의 구성에 대한 동작을 제어할 수 있다. 다른 예를 들어 단말기 제어부(5500)는 이하에서 설명되는 바코드 생성 방법을 수행하도록 제어할 수 있다.The terminal control unit 5500 can supervise the operation of the terminal 5000. For example, the terminal control unit 5500 may control the operation of at least one of the configurations included in the terminal 5000. For example, the terminal control unit 5500 may control the barcode generation method described below.

도 5는 본 발명의 일 실시예에 따른 바코드 생성 방법의 순서도이다.5 is a flowchart of a barcode generation method according to an embodiment of the present invention.

도 5를 참조하면 바코드 생성 방법은 생성될 바코드의 타입 정보를 획득하는 단계(S110), 바코드에 포함될 바코드 데이터의 종류를 획득하는 단계(S120), 바코드에 들어갈 바코드 데이터를 획득하는 단계(S130) 및 바코드를 생성하는 단계(S140)을 포함할 수 있다.Referring to FIG. 5, a barcode generating method includes obtaining a type of barcode to be generated (S110), obtaining a type of barcode data to be included in the barcode (S120), acquiring barcode data to be inserted into the barcode (S130) And generating a barcode (S140).

단말기 제어부(5500)는 생성될 바코드의 타입 정보를 획득할 수 있다(S110). The terminal control unit 5500 can obtain the type information of the barcode to be generated (S110).

단말기 제어부(5500)는 단말기 입력부(5300)를 통하여 생성될 바코드의 타입 정보를 획득할 수 있다. 바코드의 타입 정보는 예를 들어 1차원 바코드, 2차원 바코드 등의 바코드 타입에 대한 정보일 수 있다. 다른 예를 들어 바코드의 타입 정보는 바코드, QR 코드, PDF417, DATA Matrix 등과 같은 바코드의 형태에 대한 정보일 수 있다.The terminal control unit 5500 can obtain the type information of the barcode to be generated through the terminal input unit 5300. [ The type information of the barcode may be information on a barcode type such as a one-dimensional barcode or a two-dimensional barcode, for example. As another example, the type information of the bar code may be information on the type of the bar code, such as bar code, QR code, PDF417, DATA Matrix, and the like.

단말기 제어부(5500)는 지원 가능한 바코드의 타입에 대한 정보를 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다. The terminal control unit 5500 may control the terminal display unit 5200 to output information on the types of barcodes that can be supported.

예를 들어 단말기 제어부(5500)는 단말기 저장부(5400)에 미리 저장된 지원 가능한 바코드 타입에 대한 바코드 타입 리스트가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다.For example, the terminal control unit 5500 may control the terminal display unit 5200 to output a barcode type list corresponding to a supportable barcode type, which is stored in advance in the terminal storage unit 5400.

다른 예를 들어 단말기 제어부(5500)는 선택된 프린터 모델에서 지원 가능한 바코드 타입에 대한 바코드 타입 리스트가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다.For example, the terminal control unit 5500 may control the terminal display unit 5200 to display a barcode type list corresponding to a barcode type that can be supported by the selected printer model.

또 다른 예를 들어 단말기 제어부(5500)는 선택된 바코드 리더기 모델에서 지원 가능한 바코드 타입에 대한 바코드 타입 리스트가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다.For example, the terminal control unit 5500 may control the terminal display unit 5200 to display a barcode type list corresponding to a barcode type that can be supported by the selected barcode reader model.

바코드 타입 리스트에는 적어도 하나의 바코드 타입에 대한 식별 정보가 포함될 수 있다.The barcode type list may include identification information for at least one barcode type.

또한 단말기 제어부(5500)는 바코드 타입 리스트에 포함된 바코드 타입의 식별 정보 중 바코드를 생성하는 대상 바코드 타입에 대한 선택을 획득할 수 있다.In addition, the terminal control unit 5500 can obtain a selection of a target barcode type for generating a barcode among identification information of the barcode type included in the barcode type list.

단말기 제어부(5500)는 바코드(1000)에 포함될 데이터 정보의 종류를 획득할 수 있다(S120). The terminal control unit 5500 can acquire the type of data information to be included in the barcode 1000 (S120).

단말기 제어부(5500)는 데이터 정보의 종류 리스트가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다.The terminal control unit 5500 can control the type of data information to be output to the terminal display unit 5200. [

데이터 정보의 종류는 예를 들어 인쇄 컨텐츠, 템플릿 정보, 인쇄 명령, 템플릿 추가 및 설정 변경 중 적어도 하나일 수 있다.The type of the data information may be at least one of, for example, print contents, template information, a print command, a template addition, and a setting change.

단말기 제어부(5500)는 적어도 하나의 데이터 정보 종류에 대한 선택을 획득할 수 있다. 예를 들어 단말기 제어부(5500)는 사용자가 선택한 '인쇄 컨텐츠'라는 하나의 데이터 정보 종류를 획득할 수 있다. 다른 예를 들어 단말기 제어부(5500)는 사용자가 선택한 '인쇄 컨텐츠' 및 '템플릿'의 두 가지 데이터 정보 종류를 획득할 수 있다.The terminal control unit 5500 may obtain a selection for at least one data information type. For example, the terminal control unit 5500 can obtain one type of data information called 'print content' selected by the user. In another example, the terminal control unit 5500 can obtain two types of data information, i.e., 'print content' and 'template', selected by the user.

단말기 제어부(5500)는 바코드(1000)에 포함될 바코드 데이터를 획득할 수 있다(S130).The terminal control unit 5500 can obtain barcode data to be included in the barcode 1000 (S130).

단말기 제어부(5500)는 데이터 정보 종류에 따라 바코드 데이터를 획득할 수 있다. 예를 들어 단말기 제어부(5500)는 데이터 정보 종류가 인쇄 컨텐츠 하나인 경우 인쇄 컨텐츠에 대한 바코드 데이터를 획득할 수 있다. The terminal control unit 5500 can acquire barcode data according to the type of data information. For example, the terminal control unit 5500 can obtain barcode data for the print content when the data information type is one print content.

또한, 단말기 제어부(5500)는 데이터 정보 종류가 복수인 경우에는 복수의 데이터 정보 종류 각각에 대한 바코드 데이터를 획득할 수 있다. 예를 들어 단말기 제어부(5500)는 데이터 정보 종류가 '인쇄 컨텐츠' 및 '템플릿'인 경우, 인쇄 컨텐츠에 대한 바코드 데이터와 템플릿에 대한 바코드 데이터를 획득할 수 있다. 보다 구체적인 예를 들어 단말기 제어부(5500)는 '인쇄 컨텐츠'에 대한 바코드 데이터로 '청과'라는 문자 데이터를 획득할 수 있다. In addition, the terminal control unit 5500 can acquire barcode data for each of a plurality of data information types when there are a plurality of data information types. For example, when the data information type is 'print content' and 'template', the terminal control unit 5500 can obtain the barcode data for the print content and the barcode data for the template. More specifically, the terminal control unit 5500 may obtain character data of " blue " as barcode data for 'print content'.

또한 데이터 정보 종류가 템플릿인 경우 단말기 제어부(5500)는 템플릿 식별 정보 및/또는 템플릿 데이터를 테플릿에 대한 바코드 데이터로 회득할 수 있다. Also, when the data information type is a template, the terminal control unit 5500 can obtain the template identification information and / or the template data as barcode data for the tablet.

이러한 바코드 데이터는 프린터(3000)에서 인식 가능한 프로그램 언어로 작성될 수 있다. 예를 들어 단말기 제어부(5500)는 바코드 데이터를 PCL(Printer Control Language), PC(PostScript) 및 프린터 제조사의 프린터 언어(Printer Language)로 변환할 수 있다.Such barcode data can be written in a program language recognizable by the printer 3000. [ For example, the terminal control unit 5500 can convert barcode data into PCL (Printer Control Language), PC (PostScript), and a printer language of a printer manufacturer.

단말기 제어부(5500)는 바코드(1000)를 생성할 수 있다(S140).The terminal control unit 5500 can generate the barcode 1000 (S140).

단말기 제어부(5500)는 바코드 타입, 데이터 종류 및 바코드 데이터 중 적어도 하나에 기초하여 코드(1000)를 생성할 수 있다.The terminal control unit 5500 can generate the code 1000 based on at least one of the barcode type, the data type, and the barcode data.

예를 들어 단말기 제어부(5500)는 바코드 타입에 따른 형태로 데이터 종류를 식별할 수 있는 식별 정보와 바코드 데이터를 인코딩하여 바코드(1000)를 생성할 수 있다.For example, the terminal control unit 5500 can generate the barcode 1000 by encoding the identification information and the barcode data, which can identify the data type, according to the barcode type.

도 6은 본 발명의 일 실시예에 따른 디스플레이를 이용한 바코드의 출력을 나타내는 예시도이다.6 is a diagram illustrating an output of a bar code using a display according to an embodiment of the present invention.

도 6에 도시된 바와 같이 단말기 제어부(5500)는 바코드(1000)가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다.As shown in FIG. 6, the terminal control unit 5500 can control the barcode 1000 to be output to the terminal display unit 5200.

단말기 제어부(5500)는 생성된 바코드(1000)가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다. 또한, 단말기 제어부(5500)는 미리 저장된 바코드(1000) 중 선택된 바코드(1000)가 디스플레이부(5200)에 출력되도록 제어할 수 있다.The terminal control unit 5500 can control the generated barcode 1000 to be output to the terminal display unit 5200. [ In addition, the terminal control unit 5500 can control the selected barcode 1000 of the stored barcode 1000 to be output to the display unit 5200.

단말기 제어부(5500)는 외부 프린터에서 인쇄되어 출력되도록 제어할 수 있다.The terminal control unit 5500 can control printing to be output from an external printer.

단말기 제어부(5500)는 인코딩된 바코드(1000)를 인쇄 데이터로 변환할 수 있다. 이를 위해서 단말기 저장부(5400)에는 상기 인코딩된 바코드(1000)를 인쇄 데이터로 변환하기 위한 프린트 드라이버가 미리 저장될 수 있다.The terminal control unit 5500 can convert the encoded barcode 1000 into print data. For this purpose, a print driver for converting the encoded barcode 1000 into print data may be stored in the terminal storage unit 5400 in advance.

단말기 제어부(5500)는 바코드(1000)의 인쇄 데이터를 연결된 프린터로 전송하도록 단말기 통신부(5100)를 제어할 수 있다. 따라서, 단말기 제어부(5500)는 바코드(1000)를 인쇄 하여 출력할 것을 프린터에 요청할 수 있다.The terminal control unit 5500 may control the terminal communication unit 5100 to transmit the print data of the barcode 1000 to the connected printer. Accordingly, the terminal control unit 5500 can request the printer to print the bar code 1000 and output it.

프린터는 단말기(5000)로부터 획득한 인쇄 데이터에 기초하여 바코드(1000)를 인쇄하여 출력할 수 있다.The printer can print the barcode 1000 based on the print data acquired from the terminal 5000 and output it.

도 7은 본 발명의 일 실시예에 따른 인쇄된 바코드(1000)를 나타내는 예시도이다.7 is an exemplary view showing a printed bar code 1000 according to an embodiment of the present invention.

도 7에 도시된 바와 같이 바코드(1000)는 인쇄지 상에 인쇄되어 출력될 수 있다.As shown in Fig. 7, the barcode 1000 can be printed on a printing paper and output.

3. 프린터의 동작3. Printer Operation

3-1) 프린터의 구성3-1) Configuration of printer

도 8은 본 발명의 일 실시예에 따른 프린터의 블록도이다.8 is a block diagram of a printer according to an embodiment of the present invention.

프린터(3000)는 프린터 통신부(3100), 프린터 디스플레이부(3200), 프린터 입력부(3300), 프린터 저장부(3400), 프린터 인쇄부(3500) 및 프린터 제어부(3600)를 포함할 수 있다.The printer 3000 may include a printer communication unit 3100, a printer display unit 3200, a printer input unit 3300, a printer storage unit 3400, a printer printing unit 3500, and a printer control unit 3600.

프린터 통신부(3100)는 외부 장치와 연결될 수 있다. 예를 들어 프린터 통신부(3100)는 템플릿을 관리하는 서버 장치 및 프린터(3000)의 펌웨어를 제공하는 외부 장치와 연결될 수 있다.The printer communication unit 3100 can be connected to an external device. For example, the printer communication unit 3100 may be connected to a server device that manages the template and an external device that provides the firmware of the printer 3000.

프린터 통신부(3100)는 무선 및/또는 유선 통신 방식으로 외부 장치와 연결될 수 있다. 예를 들어 단말기 통신부(5100)는 와이파이(wifi), LTE, 3G, 4G, LoRa, 블루투스(Bluetooth), 지그비(Zigbee) 등과 같은 무선 통신 방식으로 외부 장치와 연결되어 데이터를 송수신할 수 있다. 다른 예를 들어 단말기 통신부(5100)는 LAN, 유에스비(USB) 방식, 시리얼 방식 및 패러럴 방식 등의 유선 통신 방식으로 외부 장치와 연결되어 데이터를 송수신할 수 있다.The printer communication unit 3100 may be connected to an external device through a wireless and / or a wire communication method. For example, the terminal communication unit 5100 may be connected to an external device via a wireless communication method such as WiFi, LTE, 3G, 4G, LoRa, Bluetooth, Zigbee, etc. to transmit and receive data. For example, the terminal communication unit 5100 may be connected to an external device via a wired communication method such as a LAN, a USB (USB) method, a serial method, or a parallel method to transmit and receive data.

프린터 통신부(3100)는 LAN 카드, wifi 모듈 및 블루투스 모듈 등과 같이 무선 및/또는 유선 통신 방식을 지원하는 통신 모듈로 구현될 수 있다.The printer communication unit 3100 may be implemented as a communication module supporting a wireless and / or wired communication method such as a LAN card, a wifi module, and a Bluetooth module.

프린터 디스플레이부(3200)는 액정 디스플레이(liquid crystal display), 박막 트랜지스터 액정 디스플레이(thin film transistor liquid crystal display), 유기 발광 다이오드(organic light emitting diode), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 등으로 구현될 수 있다.The printer display unit 3200 may be a liquid crystal display, a thin film transistor liquid crystal display, an organic light emitting diode, a flexible display, a three-dimensional display display) or the like.

프린터 디스플레이부(3200)는 터치 동작을 감지하는 터치 센서를 포함하는 터치 디스플레이로 제공되는 경우 단말기 디스플레이부(5200)는 시각적인 출력 장치뿐만 아니라 입력 장치로도 사용될 수 있다.When the printer display unit 3200 is provided as a touch display including a touch sensor for sensing a touch operation, the terminal display unit 5200 can be used as an input device as well as a visual output device.

프린터 입력부(3300)는 키보드(keyboard), 마우스(mouse), 키 패드(key pad) 돔 스위치 (dome switch), 터치 패드(정압/정전), 조그 휠 및 조그 스위치 중 적어도 하나를 포함할 수 있다.The printer input unit 3300 may include at least one of a keyboard, a mouse, a key pad, a dome switch, a touch pad (static / static), a jog wheel, and a jog switch .

프린터 입력부(3300)는 사용자의 입력(예를 들어 터치, 선택, 드래그 및 클릭 등)에 대응하는 전기적 신호를 획득하여 단말기 제어부(5500)에 제공할 수 있다.The printer input unit 3300 may obtain an electrical signal corresponding to a user's input (e.g., touch, selection, drag, click, etc.) and provide the obtained electrical signal to the terminal control unit 5500.

프린터 저장부(3400)는 프린터(3000)의 동작에 필요한 각종 데이터를 저장할 수 있다. 예를 들어 프린터 저장부(3400)는 이하에서 설명되는 인쇄 방법을 수행하기 위한 프로그램을 저장할 수 있다. 다른 예를 들어 프린터 저장부(3400)는 인쇄에 사용될 템플릿 데이터를 미리 저장할 수 있다.The printer storage unit 3400 may store various data necessary for the operation of the printer 3000. [ For example, the printer storage unit 3400 may store a program for performing the printing method described below. In another example, the printer storage unit 3400 may store template data to be used for printing in advance.

프린터 인쇄부(3500)는 프린터 제어부(3600)의 제어에 따라 인쇄물을 인쇄할 수 있다. The printer printing unit 3500 can print the printed material under the control of the printer control unit 3600. [

프린터 인쇄부(3500)는 도트 방식, 잉크젯 방식, 레이저 방식, 잉크 리본 방식 및 열전사 방식 등으로 인쇄물을 인쇄할 수 있다.The printer printing unit 3500 can print a printed material by a dot method, an ink jet method, a laser method, an ink ribbon method, or a thermal transfer method.

프린터 인쇄부(3500)는 인쇄물을 인쇄하기 위한 프린터 헤드로 구현될 수 있다. The printer printing section 3500 can be implemented as a printer head for printing a printed matter.

프린터 제어부(3600)는 프린터(3000)의 동작을 총괄할 수 있다. 예를 들어 프린터 제어부(3600)는 프린터(3000)에 포함된 구성 중 적어도 하나의 구성에 대한 동작을 제어할 수 있다. 다른 예를 들어 프린터 제어부(3600)는 이하에서 설명되는 인쇄 방법을 수행하도록 제어할 수 있다.The printer control unit 3600 can collectively control the operation of the printer 3000. [ For example, the printer control unit 3600 can control the operation of at least one of the configurations included in the printer 3000. [ As another example, the printer control unit 3600 can control to perform the printing method described below.

3-2) 인쇄 3-2) Printing 컨텐츠를Content 이용한 인쇄 동작 Printing operation using

도 9는 본 발명의 일 실시예에 따른 바코드(1000)로부터 획득한 정보를 이용한 인쇄 동작을 나타내는 순서도이다.9 is a flowchart showing a printing operation using information obtained from the barcode 1000 according to an embodiment of the present invention.

일 실시예에 따른 바코드(1000)로부터 획득한 정보를 이용한 인쇄 동작은 리더부(2000)로부터 바코드 정보를 획득하는 단계(S210), 바코드 정보에 기초하여 인쇄 컨텐츠를 획득하는 단계(S220), 인쇄 조건을 만족하는 지 여부를 판단하는 단계(S230), 인쇄 컨텐츠 및 기본 템플릿 데이터에 기초하여 인쇄 데이터를 획득하는 단계(S240) 및 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계(S250)를 포함할 수 있다.The printing operation using the information obtained from the barcode 1000 according to an exemplary embodiment may include a step S210 of obtaining barcode information from the reader unit 2000, a step S220 of obtaining printing content based on barcode information, A step S230 of obtaining print data based on the print content and the basic template data, and a step S250 of performing a print operation based on the print data .

프린터 제어부(3600)는 리더부(2000)로부터 바코드 정보를 획득할 수 있다 (S210).The printer control unit 3600 can obtain the barcode information from the reader unit 2000 (S210).

프린터 제어부(3600)는 프린터 통신부(3100)로부터 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 획득할 수 있다.The printer control unit 3600 can obtain the barcode information obtained by reading the barcode 1000 from the printer communication unit 3100 by the reader unit 2000. [

프린터 제어부(3600)는 리더부(2000)로부터 획득한 신호를 변환할 수 있다. 예를 들어 프린터 제어부(3600)는 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 프린터(3000)에서 인식 가능한 프린터 언어로 변환할 수 있다. 이때, 프린터 제어부(3600)는 바코드 정보가 프린터 언어로 작성된 경우 바코드 정보의 프린터 언어로의 변환을 생략할 수 있다.The printer control unit 3600 can convert the signal acquired from the reader unit 2000. [ For example, the printer control unit 3600 can convert the barcode information obtained by reading the barcode 1000 by the reader unit 2000 into a printer language recognizable by the printer 3000. [ At this time, when the bar code information is written in the printer language, the printer control unit 3600 can omit conversion of the bar code information into the printer language.

프린터 제어부(3600)는 바코드 정보에 기초하여 인쇄 컨텐츠를 획득할 수 있다(S220).The printer control unit 3600 can acquire the print content based on the barcode information (S220).

프린터 제어부(3600)는 바코드 정보에는 적어도 하나의 인쇄 컨텐츠가 포함될 수 있다. 따라서 프린터 제어부(3600)는 바코드 정보에 기초하여 적어도 하나의 인쇄 컨텐츠를 획득할 수 있다. 예를 들어 프린터 제어부(3600)는 '청과', '생필품', '가전' 등과 같이 인쇄물에서 템플릿에 의해 정해진 위치에 인쇄될 문자, 기호 및 그래픽 등과 같은 인쇄 컨텐츠를 획득할 수 있다.The printer control unit 3600 may include at least one print content in the barcode information. Accordingly, the printer control unit 3600 can obtain at least one print content based on the barcode information. For example, the printer control unit 3600 can acquire print contents such as characters, symbols and graphics to be printed at a position determined by the template in the printed matter such as 'fruit and vegetables', 'necessities', 'household appliances'

바코드 정보에 복수의 인쇄 컨텐츠가 포함된 경우 프린터 제어부(3600)는 바코드 정보에 포함된 인쇄 컨텐츠 식별자에 기초하여 복수의 인쇄 컨텐츠 각각을 구별할 수 있다. 이러한 인쇄 컨텐츠 식별자는 다양한 형태로 제공될 수 있다. 예를 들어 바코드 정보에서 '청과/가전'과 같이 하나의 인쇄 컨텐츠와 다른 인쇄 컨텐츠를 구별할 수 있는 인쇄 컨텐츠 식별자 '/'에 기초하여 프린터 제어부(3600)는 '청과'를 제1 인쇄 컨텐츠로 획득할 수 있으며, '가전'을 제2 인쇄 컨텐츠로 획득할 수 있다. 다른 예를 들어 바코드 정보에서 하나의 인쇄 컨텐츠에 대한 영역을 구분하는 인쇄 컨텐츠 식별자가 사용될 수 있는데 '<청과><가전>'과 같이 하나의 인쇄 컨텐츠의 시작과 끝을 나타내는 인쇄 컨텐츠 식별자에 기초하여 각 인쇄 컨텐츠를 구별할 수 있다.When the barcode information includes a plurality of print contents, the printer control unit 3600 can distinguish each of the plurality of print contents based on the print content identifier included in the barcode information. Such print content identifiers may be provided in various forms. For example, based on the print content identifier '/' that can distinguish one print content from another print content such as' blue / white 'in the bar code information, the printer control unit 3600 sets the' And obtain 'household appliances' as second print contents. As another example, a print content identifier that distinguishes a region for one print content from the barcode information may be used. Based on the print content identifier indicating the start and end of one print content, such as &quot; It is possible to distinguish each print content.

이러한 인쇄 컨텐츠가 복수인 경우 각각의 인쇄 컨텐츠는 순서에 따라 순차적으로 제공될 수 있다.If there are a plurality of such print contents, the respective print contents may be sequentially provided in order.

또한 이러한 인쇄 컨텐츠는 반드시 순차적으로 제공 되어야 하는 것은 아니며, 선택에 따라 복수의 인쇄 컨텐츠 각각에 순번이 부여되어 제공될 수 있다.In addition, the print contents are not necessarily sequentially provided, and the plurality of print contents may be given sequential numbers according to the selection.

예를 들어 인쇄 컨텐츠가 복수인 경우 바코드 정보에는 복수의 인쇄 컨텐츠간의 우선순위에 한 순번 정보가 포함될 수 있다. 보다 구체적인 예를 들어 바코드 정보에 <청과>,<음료>,<가전>의 인쇄 컨텐츠가 포함된 경우, 바코드 정보는 제1 순번 가전, 제2 순번 청과, 제3 순번 가전과 같이 각 인쇄 컨텐츠에 대한 순번이 정의된 순번 정보를 포함할 수 있다. 이러한 순번 정보는 모든 인쇄 컨텐츠에 대해서 하나의 데이터 열로 작성되어 포함될 수 있으며, 선택에 따라 각 인쇄 컨텐츠가 자신의 순번에 대한 정보를 포함하도록 구현될 수 있다.For example, when there are a plurality of print contents, the bar code information may include one order information in the priority order among a plurality of print contents. More specifically, for example, when the barcode information includes print contents of <fruit and vegetables>, <beverage>, and <household appliances>, the barcode information may be printed on each printing content such as first order household appliances, second order household appliances, May include the defined sequence number information. Such sequence information may be created and included in one data stream for all print contents, and may be implemented such that each print content includes information on its sequence number.

프린터 제어부(3600)는 인쇄 조건을 만족하는 지 여부를 판단할 수 있다(S230).The printer control unit 3600 can determine whether or not the printing condition is satisfied (S230).

템플릿에는 다양한 인쇄 조건이 미리 설정될 수 있다. 예를 들어 템플릿에는 인쇄 개시에 필요한 최소 인쇄 컨텐츠가 인쇄 조건으로 미리 설정될 수 있다.Various printing conditions can be preset in the template. For example, the minimum print content necessary for starting printing may be preset in the template as a printing condition.

예를 들어 템플릿에 설정된 인쇄 조건이 최소 인쇄 컨텐츠가 1개인 일 때 프린터 제어부(3600)는 바코드 정보로부터 1개 이상의 인쇄 컨텐츠를 획득한 경우 인쇄 조건을 만족한 것으로 판단할 수 있다.For example, when the minimum print content is one print condition set in the template, the printer control unit 3600 can determine that the print condition is satisfied when one or more print contents are obtained from the bar code information.

다른 예를 들어 프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함된 경우 인쇄 조건을 만족하는 것으로 판단할 수 있다.In another example, the printer control unit 3600 can determine that the print condition is satisfied when the print command is included in the barcode information.

이를 위하여 프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 바코드 정보에 인쇄 명령을 식별할 수 있는 인쇄 명령 식별자에 기초하여 바코드 정보에 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 인쇄 명령의 시작을 식별하기 위한 인쇄 명령 식별자, 예를 들어'/'의 존재 여부를 판단할 수 있다. 또한 프린터 제어부(3600)는 인쇄 명령 식별자 뒤에 인쇄 명령이 존재하는지 여부를 더 고려할 수 있다. 예를 들어 '/start'와 같이 인쇄 명령 식별자 '/'뒤에 실제 인쇄 명령어인 'start'가 존재 하는 지 여부를 더 고려하여 인쇄 명령의 존재 여부를 판단할 수 있다. 다른 보다 구체적인 예를 들어 프린터 제어부(3600)는 바코드 정보에 미리 정해진 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 'start'와 같은 미리 정해진 인쇄 명령이 바코드 정보에 포함되어 있는지 여부를 판단할 수 있다.For this purpose, the printer control unit 3600 can determine whether or not a print command is included in the barcode information. More specifically, for example, the printer control unit 3600 can determine whether or not the print command is included in the barcode information based on the print command identifier capable of identifying the print command in the barcode information. More specifically, for example, the printer control unit 3600 can determine whether there is a print command identifier, for example, '/', for identifying the start of a print command. The printer control unit 3600 may further consider whether or not a print command exists after the print command identifier. For example, it is possible to determine whether or not a print command exists by further considering whether or not an actual print command 'start' exists after the print command identifier '/' as in '/ start'. In another more specific example, the printer control unit 3600 can determine whether or not a predetermined print command is included in the barcode information. More specifically, for example, the printer control unit 3600 can determine whether a predetermined print command such as 'start' is included in the barcode information.

프린터 제어부(3600)는 인쇄 조건을 만족하지 않는 경우 미리 정해진 설정에 따라 동작할 수 있다The printer control unit 3600 can operate according to a predetermined setting when the printing condition is not satisfied

예를 들어 프린터 제어부(3600)는 인쇄 조건이 최소 인쇄 컨텐츠 수를 만족하는 것일 때, 최소 인쇄 컨텐츠 수를 충족하지 못한 경우 추가적인 인쇄 컨텐츠의 획득을 위하여 바코드 정보를 입력할 것을 요청할 수 있다.For example, when the print condition satisfies the minimum print content count, the printer control unit 3600 can request to input barcode information for acquiring additional print content if the minimum print content count is not satisfied.

다른 예를 들어 프린터 제어부(3600)는 인쇄 조건이 인쇄 명령의 포함 여부일 때, 획득한 바코드 정보에 인쇄 명령이 포함되지 않은 경우, 인쇄 명령을 포함하는 바코드 정보의 입력을 요청할 수 있다.For example, when the print condition includes the print command, the printer control unit 3600 can request the input of the bar code information including the print command if the acquired bar code information does not include the print command.

또 다른 예를 들어 프린터 제어부(3600)는 인쇄 조건을 만족하지 않는 경우 미리 정해진 대기 시간 동안 추가적인 바코드 정보의 입력을 기다릴 수 있으며, 미리 정해진 대기 시간 이후에는 강제적으로 인쇄 조건을 만족하는 것으로 판단하여 인쇄를 수행하도록 제어할 수 있다.For example, if the printing condition is not satisfied, the printer control unit 3600 may wait for the input of additional barcode information for a predetermined waiting time. After the predetermined waiting time, the printer control unit 3600 determines that the printing condition is forcibly satisfied, As shown in Fig.

또 다른 예를 들어 프린터 제어부(3600)는 인쇄 조건을 만족하지 않는 경우 미리 정해진 대기 시간 동안 추가적인 바코드 정보의 입력을 기다릴 수 있으며, 미리 정해진 대기 시간이 경과하는 동안 추가 적인 바코드 정보의 입력이 없는 경우 현재까지 획득한 인쇄 컨텐츠에 기초하여 인쇄 동작을 진행할 수 있다.For example, if the print condition is not satisfied, the printer control unit 3600 may wait for input of additional barcode information during a predetermined wait time. When there is no input of additional barcode information during a predetermined waiting time, The printing operation can be performed based on the printing contents obtained up to now.

또 다른 예를 들어 프린터 제어부(3600)는 인쇄 조건을 만족하지 않는 경우 미리 정해진 대기 시간 동안 추가적인 바코드 정보의 입력을 기다릴 수 있으며, 미리 정해진 대기 시간이 경과하는 동안 추가 적인 바코드 정보의 입력이 없는 경우 인쇄 동작을 종료하고 초기화 시킬 수 있다. 여기서 초기화는 최초 바코드 정보를 획득하기 전 대기 상태로의 회귀를 의미할 수 있다.For example, if the print condition is not satisfied, the printer control unit 3600 may wait for input of additional barcode information during a predetermined wait time. When there is no input of additional barcode information during a predetermined waiting time, The printing operation can be ended and initialized. Herein, the initialization may mean a return to the standby state before acquiring the initial barcode information.

프린터 제어부(3600)는 인쇄 컨텐츠 및 미리 정해진 템플릿에 기초하여 인쇄 데이터를 획득할 수 있다(S240). The printer control unit 3600 can obtain print data based on the print content and a predetermined template (S240).

프린터 제어부(3600)는 인쇄 조건을 만족하는 경우 인쇄 데이터를 획득할 수 있다.The printer control unit 3600 can acquire print data when the print condition is satisfied.

프린터 제어부(3600)는 인쇄 컨텐츠 및 미리 정해진 기본 템플릿에 기초하여 인쇄 데이터를 획득하는데 있어서 몇몇 사항을 고려하여 인쇄 데이터를 획득할 수 있다.The printer control unit 3600 can acquire print data in consideration of some matters in obtaining print data based on the print content and a predetermined basic template.

예를 들어 프린터 제어부(3600)는 획득한 인쇄 컨텐츠가 미리 정해진 기본 템플릿에 미리 설정된 최대 인쇄 컨텐츠를 초과하는 지 여부를 판단할 수 있다. For example, the printer control unit 3600 can determine whether the acquired print content exceeds a preset maximum print content preset in a predetermined basic template.

프린터 제어부(3600)는 인쇄 컨텐츠가 기본 템플릿에 미리 설정된 최대 인쇄 컨텐츠를 초과하는 지 여부에 대한 판단 결과에 따라 다양한 동작을 수행할 수 있다.The printer control unit 3600 can perform various operations according to the determination result as to whether or not the print content exceeds the maximum print content preset in the basic template.

인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 이하인 경우 프린터 제어부(3600)는 템플릿의 인쇄 컨텐츠를 설정하도록 미리 정해진 변수 블록에 인쇄 컨텐츠를 적용하여 인쇄 데이터를 획득할 수 있다. 예를 들어 획득한 인쇄 컨텐츠가 1개 이고, 템플릿에 미리 설정된 변수 블록이 1개인 경우 프린터 제어부(3600)는 인쇄 컨텐츠를 변수 블록에 적용하여 인쇄 데이터를 획득할 수 있다. 또한, 인쇄 컨텐츠 및 미리 정해진 변수 블록이 복수인 경우 프린터 제어부(3600)는 획득한 복수의 인쇄 컨텐츠를 변수 블록에 순차적으로 적용하여 인쇄 데이터를 획득할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 바코드 정보에 기록된 순서대로 제1 인쇄 컨텐츠를 제1 변수 블록에 적용하고, 제2 인쇄 컨텐츠는 제2 변수 블록에 적용할 수 있다. 다른 보다 구체적인 예를 들어 프린터 제어부(3600)는 인쇄 컨텐츠에 순번이 부여된 경우 인쇄 컨텐츠에 부여된 순번에 기초하여 인쇄 컨텐츠를 변수 블록에 적용할 수 있다. 예를 들어 프린터 제어부(3600)는 제1 변수 블록에 1순위의 인쇄 컨텐츠를 적용할 수 있으며, 제2 변수 블록에는 제2 순위의 인쇄 컨텐츠를 적용할 수 있다.When the print content is equal to or less than the maximum print content preset in the template, the printer control unit 3600 can obtain print data by applying the print content to the predetermined variable block to set the print content of the template. For example, when there is one acquired print content and one variable block is preset in the template, the printer control unit 3600 can apply the print content to the variable block to obtain print data. In addition, when there are a plurality of print contents and predetermined variable blocks, the printer control unit 3600 can sequentially obtain the print data by sequentially applying the acquired print contents to the variable blocks. More specifically, for example, the printer control unit 3600 can apply the first print content to the first variable block and the second print content to the second variable block in the order recorded in the barcode information. In another more specific example, the printer control unit 3600 can apply the print content to the variable block based on the sequence number assigned to the print content when the sequence number is assigned to the print content. For example, the printer control unit 3600 can apply the first order print content to the first variable block and the second order print content to the second variable block.

인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 초과인 경우 프린터 제어부(3600)는 미리 정해진 설정에 기초하여 인쇄 데이터를 획득할 수 있다.When the print content exceeds the preset maximum print content in the template, the printer control unit 3600 can obtain print data based on a predetermined setting.

예를 들어 프린터 제어부(3600)는 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 수를 초과한 경우 인쇄 컨텐츠 중 최대 인쇄 컨텐츠 수만큼의 인쇄 켄텐츠를 변수 블록에 설정하여 인쇄 데이터를 획득할 수 있다. 보다 구체적인 예를 들어 최대 인쇄 컨텐츠의 수가 2개이고, 획득한 인쇄 컨텐츠가 제1 인쇄 컨텐츠, 제2 인쇄 컨텐츠 및 제3 인쇄 컨텐츠로 총 3개인 경우, 제1 인쇄 컨텐츠는 제1 변수 블록에 설정하고, 제2 인쇄 컨텐츠는 제2 변수 블록에 설정하여 2개의 인쇄 컨텐츠 만을 변수 블록에 설정하여 인쇄 데이터를 획득할 수 있다. 이 때, 제3 인쇄 컨텐츠는 변수 블록에 설정하지 않을 수 있다. 따라서, 프린터 제어부(3600)는 전체 인쇄 컨텐츠 중 최대 인쇄 컨텐츠 수에 대응하는 수의 인쇄 컨텐츠 만이 변수 블록에 설정되어 인쇄될 수 있도록 인쇄 데이터를 획득할 수 있다.For example, when the print content exceeds the maximum number of print content preset in the template, the printer control unit 3600 can set the print content for the maximum number of print content in the variable block to obtain print data. More specifically, for example, when the maximum number of print contents is two and the acquired print contents are three print contents, the first print contents, the second print contents and the third print contents, the first print contents are set in the first variable block , The second print content may be set in the second variable block and only two print contents may be set in the variable block to obtain print data. At this time, the third print content may not be set in the variable block. Accordingly, the printer control unit 3600 can acquire print data so that only the print content corresponding to the maximum number of print contents of all print contents can be set in the variable block and printed.

다른 예를 들어 프린터 제어부(3600)는 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 수를 초과한 경우 초과한 인쇄 컨텐츠에 대해서는 추가적으로 인쇄 데이터를 획득할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 최대 인쇄 컨텐츠의 수가 2개이고, 획득한 인쇄 컨텐츠가 제1 인쇄 컨텐츠, 제2 인쇄 컨텐츠 및 제3 인쇄 컨텐츠로 총 3개인 경우, 제1 인쇄 데이터의 제1 변수 블록에 제1 인쇄 컨텐츠를 설정하고, 제1 인쇄 데이터의 제2 변수 블록에는 제2 인쇄 컨텐츠를 설정하여 제1 인쇄 데이터를 획득할 수 있으며, 제3 인쇄 컨텐츠를 제2 인쇄 데이터의 제1 변수 블록에 설정하여 제2 인쇄 데이터를 획득할 수 있다. In another example, the printer control unit 3600 can additionally obtain print data for the exceeded print content when the print content exceeds the preset maximum print content number in the template. More specifically, for example, when the maximum number of print contents is two and the acquired print contents are three print contents, the second print contents, and the third print contents in total, The first print content can be set in the one variable block and the second print content can be set in the second variable block of the first print data to obtain the first print data, 1 &lt; / RTI &gt; variable block to obtain the second print data.

제1 인쇄 데이터 및 제2 인쇄 데이터의 분리에 따라 동일한 템플릿으로 제1 인쇄 컨텐츠 및 제2 인쇄 컨텐츠가 인쇄되는 제1 페이지 및 제3 인쇄 컨텐츠가 인쇄되는 제2 페이지가 출력될 수 있다The first page on which the first print content and the second print content are printed and the second page on which the third print content is printed can be output by the same template according to the separation of the first print data and the second print data

다른 예를 들어 프린터 제어부(3600)는 인쇄 컨텐츠의 글자 수가 변수 블록에 미리 설정된 최대 글자수를 초과하는 경우 인쇄 컨텐츠의 전체 글자 중 미리 설정된 최대 글자수에 대응하는 수의 글자만이 출력되고 그 외의 글자는 생략되었을 음을 알리는 대체 식별자가 출력되도록 인쇄 데이터를 획득할 수 있다.For example, when the number of characters in the print content exceeds the maximum number of characters preset in the variable block, the printer control unit 3600 outputs only the number of characters corresponding to the maximum number of characters set in advance among all the characters in the print content, The print data can be obtained so that the substitute identifier indicating that the character is omitted is output.

다른 예를 들어 프린터 제어부(3600)는 인쇄 컨텐츠의 글자 수의 길이가 변수 블록에 미리 설정된 최대 길이를 초과하는 경우 인쇄 컨텐츠의 글자 수의 길이가 변수 블록에 미리 설정된 최대 길이 이내로 줄어들도록 인쇄 컨텐츠의 글자 사이즈를 줄여 인쇄 데이터를 획득할 수 있다.For example, when the length of the number of characters in the print content exceeds the maximum length preset in the variable block, the printer controller 3600 controls the length of the number of characters in the print content to be within the maximum length preset in the variable block. The print data can be obtained by reducing the letter size.

프린터 제어부(3600)는 인쇄 데이터에 기초하여 인쇄 동작을 수행할 수 있다 (S250).The printer control unit 3600 can perform a printing operation based on the print data (S250).

프린터 제어부(3600)는 인쇄 데이터에 기초하여 인쇄 동작을 수행하도록 프린터 인쇄부(3500)를 제어할 수 있다.The printer control unit 3600 can control the printer printing unit 3500 to perform the printing operation based on the printing data.

3-3) 인쇄 3-3) Printing 컨텐츠와Content and 템플릿 정보를 이용한 인쇄 방법 How to print using template information

이하에서는 도 10을 참조하여 본 발명의 다른 실시예에 따른 인쇄 방법을 설명하도록 한다. 본 발명의 다른 실시예에 따른 인쇄 방법은 바코드 정보로부터 인쇄 컨텐츠 및 템플릿 정보를 획득하여 인쇄 동작을 수행하는 인쇄 방법일 수 있다.Hereinafter, a printing method according to another embodiment of the present invention will be described with reference to FIG. A printing method according to another embodiment of the present invention may be a printing method for obtaining printing contents and template information from bar code information and performing a printing operation.

이하에서 본 발명의 다른 실시예를 설명함에 있어서, 본 발명의 일 실시예에서와 동일한 단계 및 구성에 대해서는 동일한 부호를 사용하여 설명하도록 하며, 본 발명의 일실시예와 동일한 단계에 대한 구체적인 설명 중 일부 중복되는 사항에 대해서는 생략하여 설명하도록 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, Some overlapping items will be omitted.

도 10은 본 발명의 다른 실시예에 따른 바코드 정보로부터 획득한 정보를 이용한 프린트 동작을 나타내는 순서도이다.10 is a flowchart illustrating a print operation using information obtained from barcode information according to another embodiment of the present invention.

도 10을 참조하면, 다른 실시예에 따른 바코드(1000)로부터 획득한 정보를 이용한 프린트 동작은 리더부(2000)로부터 바코드 정보를 획득하는 단계(S210), 인쇄 컨텐츠 및 템플릿 정보를 획득하는 단계(S310), 템플릿 정보에 기초하여 인쇄에 사용할 템플릿 데이터를 획득하는 단계(S320), 인쇄 조건을 만족하는 지 여부를 판단하는 단계(S230), 인쇄 컨텐츠 및 템플릿 데이터에 기초하여 인쇄 데이터를 획득하는 단계(S340) 및 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계(S250)를 포함할 수 있다.10, a printing operation using information obtained from the barcode 1000 according to another embodiment may include a step S210 of obtaining barcode information from the reader unit 2000, a step of obtaining print content and template information (S310); acquiring template data to be used for printing based on the template information (S320); determining whether the printing condition is satisfied (S230); acquiring print data based on the print content and the template data (S340) and performing a printing operation based on the print data (S250).

프린터 제어부(3600)는 리더부(2000)로부터 바코드 정보를 획득할 수 있다 (S210).The printer control unit 3600 can obtain the barcode information from the reader unit 2000 (S210).

프린터 제어부(3600)는 프린터 통신부(3100)를 통하여 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 획득할 수 있다.The printer control unit 3600 can acquire the barcode information acquired by reading the barcode 1000 by the reader unit 2000 through the printer communication unit 3100. [

프린터 제어부(3600)는 리더부(2000)로부터 획득한 신호를 변환할 수 있다. 예를 들어 프린터 제어부(3600)는 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 프린터(3000)에서 인식 가능한 프린터 언어로 변환할 수 있다. 이때, 프린터 제어부(3600)는 바코드 정보가 프린터 언어로 작성된 경우 바코드 정보의 프린터 언어로의 변환을 생략할 수 있다.The printer control unit 3600 can convert the signal acquired from the reader unit 2000. [ For example, the printer control unit 3600 can convert the barcode information obtained by reading the barcode 1000 by the reader unit 2000 into a printer language recognizable by the printer 3000. [ At this time, when the bar code information is written in the printer language, the printer control unit 3600 can omit conversion of the bar code information into the printer language.

프린터 제어부(3600)는 바코드 정보에 기초하여 인쇄 컨텐츠 및 템플릿 정보를 획득할 수 있다(S310).The printer control unit 3600 can acquire the print content and the template information based on the barcode information (S310).

프린터 제어부(3600)는 인쇄 컨텐츠를 획득할 수 있다.The printer control unit 3600 can acquire the print content.

프린터 제어부(3600)는 바코드 정보에는 적어도 하나의 인쇄 컨텐츠가 포함될 수 있다. 따라서 프린터 제어부(3600)는 바코드 정보에 기초하여 적어도 하나의 인쇄 컨텐츠를 획득할 수 있다. 예를 들어 프린터 제어부(3600)는 '청과', '생필품', '가전' 등과 같이 인쇄물에서 템플릿에 의해 정해진 위치에 인쇄될 문자, 기호 및 그래픽 등과 같은 인쇄 컨텐츠를 획득할 수 있다.The printer control unit 3600 may include at least one print content in the barcode information. Accordingly, the printer control unit 3600 can obtain at least one print content based on the barcode information. For example, the printer control unit 3600 can acquire print contents such as characters, symbols and graphics to be printed at a position determined by the template in the printed matter such as 'fruit and vegetables', 'necessities', 'household appliances'

프린터 제어부(3600)는 바코드 정보에 포함된 템플릿 정보를 획득할 수 있다.The printer control unit 3600 can acquire the template information included in the barcode information.

프린터 제어부(3600)는 템플릿 정보를 식별할 수 있는 템플릿 정보 식별자에 기초하여 바코드 정보로부터 템플릿 정보를 획득할 수 있다. 템플릿 정보 식별자는 템플릿 정보의 시작 및 종료 중 적어도 하나를 식별하기 위하여 미리 정해진 정보를 나타내는 것으로, 시작 및 종료 모두를 식별할 경우에는 시작을 식별하기 위한 식별자 및 종료를 식별하기 위한 식별자로 서로 동일한 식별자가 사용될 수 있으나, 이에 한정되지 않고 선택에 따라 서로 다른 식별자가 사용될 수 있다.The printer control unit 3600 can obtain the template information from the barcode information based on the template information identifier capable of identifying the template information. The template information identifier indicates predetermined information for identifying at least one of the start and end of the template information. When both the start and the end are identified, an identifier for identifying the start and an end for identifying the end are identified with the same identifier However, the present invention is not limited thereto, and different identifiers may be used depending on the selection.

프린터 제어부(3600)는 인쇄에 사용할 템플릿 데이터를 획득할 수 있다(S320).The printer control unit 3600 can acquire template data to be used for printing (S320).

프린터 제어부(3600)는 템플릿 정보에 기초하여 인쇄에 사용할 템플릿 데이터를 획득할 수 있다The printer control section 3600 can acquire the template data to be used for printing based on the template information

프린터 제어부(3600)는 템플릿 정보에 포함된 데이터에 따라 다양한 방법으로 템플릿 데이터를 획득할 수 있다.The printer control unit 3600 can acquire the template data in various ways according to the data included in the template information.

예를 들어, 템플릿 정보에 포함된 데이터가 템플릿 식별 정보인 경우 프린터 제어부(3600)는 프린터 저장부(3400)에 미리 저장된 템플릿 데이터 중 템플릿 식별 정보에 대응하는 템플릿 데이터가 존재하는 지 여부를 판단할 수 있다. 프린터 제어부(3600)는 템플릿 식별 정보에 대응하는 템플릿 데이터가 존재하는 경우 템플릿 데이터에 대응하는 템플릿 데이터를 인쇄에 사용할 템플릿 데이터로 획득할 수 있다.For example, when the data included in the template information is the template identification information, the printer control unit 3600 determines whether template data corresponding to the template identification information exists among the template data prestored in the printer storage unit 3400 . The printer control unit 3600 can obtain the template data corresponding to the template data as the template data to be used for printing when the template data corresponding to the template identification information exists.

다른 예를 들어 템플릿 정보가 템플릿 데이터로 구성된 경우 프린터 제어부(3600)는 템플릿 정보를 인쇄에 사용할 템플릿 테이터로 획득할 수 있다.For example, when the template information is composed of template data, the printer control unit 3600 can obtain the template information by using the template data to be used for printing.

프린터 제어부(3600)가 템플릿 정보에 포함된 데이터가 템플릿 식별 정보인 지 또는 템플릿 데이터인지 여부를 판단하는 방법은 다양한 방법으로 이루어질 수 있다. 예를 들어 프린터 제어부(3600)는 템플릿 식별 정보 및 템플릿 데이터를 식별할 수 있는 식별자에 기초하여 템플릿 정보에 포함된 데이터가 템플릿 식별 정보인지 또는 템플릿 데이터 인지 여부를 판단할 수 있다. The method of determining whether the data included in the template information is template identification information or template data may be performed by various methods. For example, the printer control unit 3600 can determine whether the data included in the template information is template identification information or template data, based on the template identification information and the identifier capable of identifying the template data.

예외적인 상황으로, 템플릿 정보에 포함된 데이터가 템플릿 식별 정보인 경우, 프린터 저장부(3400)에 템플릿 식별 정보에 대응하는 템플릿 데이터가 존재하지 않는 경우가 발생할 수 있다. 프린터 저장부(3400)에 템플릿 식별 정보에 대응하는 템플릿 데이터가 존재하지 않는 경우, 프린터 제어부(3600)는 미리 저장된 설정에 따라 동작할 수 있다. 예를 들어 프린터 제어부(3600)는 템플릿 식별 정보에 대응하는 템플릿 데이터가 존재하지 않음을 사용자에게 알림하고 새로운 바코드를 제공할 것을 요청할 수 있다. 여기서, 알림은 프린터 디스플레이부(3200)를 통한 시각적 메시지 출력, 별도의 음향 출력부를 통한 음성 메시지 출력 등일 수 있다. 다른 예를 들어 프린터 제어부(3600)는 템플릿 식별 정보에 대응하는 템플릿 데이터가 존재하지 않는 경우 기본 템플릿으로 설정된 템플릿 데이터를 획득할 수 있다. 또 다른 예를 들어 프린터 제어부(3600)는 템플릿 식별 정보에 대응하는 템플릿 데이터가 존재하지 않는 경우 네트워크로 연결된 외부 서버(미도시)로 식별 정보에 대응하는 템플릿 데이터를 요청하여 외부 서버로부터 식별 정보에 대응하는 템플릿 데이터를 획득할 수 있다. In an exceptional situation, when the data included in the template information is the template identification information, it may happen that the template data corresponding to the template identification information does not exist in the printer storage unit 3400. [ When template data corresponding to the template identification information does not exist in the printer storage unit 3400, the printer control unit 3600 can operate according to the previously stored settings. For example, the printer control unit 3600 may notify the user that there is no template data corresponding to the template identification information and request to provide a new barcode. Here, the notification may be a visual message output through the printer display unit 3200, a voice message output through a separate sound output unit, and the like. For example, if the template data corresponding to the template identification information does not exist, the printer control unit 3600 can acquire the template data set as the basic template. For example, if the template data corresponding to the template identification information does not exist, the printer control unit 3600 requests the template data corresponding to the identification information from an external server (not shown) connected to the network, The corresponding template data can be obtained.

프린터 제어부(3600)는 인쇄 조건을 만족하는 지 여부를 판단할 수 있다(S230).The printer control unit 3600 can determine whether or not the printing condition is satisfied (S230).

템플릿 데이터에는 다양한 인쇄 조건이 미리 설정될 수 있다. 예를 들어 템플릿 데이터에는 인쇄 개시에 필요한 최소 인쇄 컨텐츠가 인쇄 조건으로 미리 설정될 수 있다.Various printing conditions can be preset in the template data. For example, the minimum print content necessary for starting printing may be preset in the template data as the printing condition.

예를 들어 템플릿에 설정된 인쇄 조건이 최소 인쇄 컨텐츠가 1개인 일 때 프린터 제어부(3600)는 바코드 정보로부터 1개 이상의 인쇄 컨텐츠를 획득한 경우 인쇄 조건을 만족한 것으로 판단할 수 있다.For example, when the minimum print content is one print condition set in the template, the printer control unit 3600 can determine that the print condition is satisfied when one or more print contents are obtained from the bar code information.

프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함된 경우 인쇄 조건을 만족하는 것으로 판단할 수 있다.The printer control unit 3600 can determine that the print condition is satisfied when the print command is included in the barcode information.

이를 위하여 프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다.For this purpose, the printer control unit 3600 can determine whether or not a print command is included in the barcode information.

예를 들어 프린터 제어부(3600)는 바코드 정보에 인쇄 명령을 식별할 수 있는 인쇄 명령 식별자에 기초하여 바코드 정보에 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 인쇄 명령의 시작을 식별하기 위한 인쇄 명령 식별자'/'의 존재 여부를 판단할 수 있다. 또한 프린터 제어부(3600)는 인쇄 명령 식별자 뒤에 인쇄 명령이 존재하는지 여부를 더 고려할 수 있다. 즉 '/start'와 같이 인쇄 명령 식별자 '/'뒤에 실제 인쇄 명령어인 'start'가 존재 하는 지 여부를 더 고려하여 인쇄 명령의 존재 여부를 판단할 수 있다.For example, the printer control unit 3600 can determine whether or not the print command is included in the barcode information based on the print command identifier capable of identifying the print command in the barcode information. More specifically, for example, the printer control unit 3600 can determine whether a print command identifier '/' for identifying the start of a print command exists. The printer control unit 3600 may further consider whether or not a print command exists after the print command identifier. That is, it is possible to determine whether or not a print command exists by further considering whether an actual print command 'start' exists after the print command identifier '/' as in '/ start'.

다른 예를 들어 프린터 제어부(3600)는 바코드 정보에 미리 정해진 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 'start'와 같은 미리 정해진 인쇄 명령이 바코드 정보에 포함되어 있는지 여부를 판단할 수 있다.In another example, the printer control unit 3600 can determine whether or not a predetermined print command is included in the barcode information. More specifically, for example, the printer control unit 3600 can determine whether a predetermined print command such as 'start' is included in the barcode information.

프린터 제어부(3600)는 인쇄 컨텐츠 및 템플릿 데이터에 기초하여 인쇄 데이터를 획득할 수 있다(S340).The printer control unit 3600 can acquire print data based on the print content and the template data (S340).

프린터 제어부(3600)는 인쇄 컨텐츠 및 미리 정해진 템플릿에 기초하여 인쇄 데이터를 획득하는데 있어서 몇몇 사항을 고려하여 인쇄 데이터를 획득할 수 있다.The printer control unit 3600 can obtain print data in consideration of some matters in obtaining print data based on the print content and the predetermined template.

예를 들어 프린터 제어부(3600)는 획득한 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠를 초과하는 지 여부를 판단할 수 있다.For example, the printer control unit 3600 can determine whether the acquired print content exceeds the preset maximum print content in the template.

프린터 제어부(3600)는 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠를 초과하는 지 여부에 대한 판단 결과에 따라 다양한 동작을 수행할 수 있다.The printer control unit 3600 can perform various operations according to the determination result as to whether or not the print content exceeds the preset maximum print content in the template.

인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 이하인 경우 프린터 제어부(3600)는 템플릿에서 인쇄 컨텐츠를 설정하도록 미리 정해진 변수 블록에 인쇄 컨텐츠를 설정하고, 인쇄 컨텐츠 및 템플릿 데이터를 인쇄에 사용되는 언어로 변환하여 인쇄 데이터를 획득할 수 있다. 예를 들어 획득한 인쇄 컨텐츠가 1개 이고, 템플릿에 미리 설정된 변수 블록이 1개인 경우 프린터 제어부(3600)는 인쇄 컨텐츠를 변수 블록에 설정하여 인쇄 데이터를 획득할 수 있다. 또한 인쇄 컨텐츠 및 미리 정해진 컨텐츠가 복수인 경우 프린터 제어부(3600)는 획득한 복수의 인쇄 컨텐츠를 변수 블록에 순차적으로 설정할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 제1 인쇄 컨텐츠를 제1 변수 블록에 설정하고, 제2 인쇄 컨텐츠는 제2 변수 블록에 설정할 수 있다.When the print content is equal to or less than the maximum print content set in advance in the template, the printer control unit 3600 sets the print content in a variable block predetermined to set the print content in the template, converts the print content and template data into a language used for printing The print data can be obtained. For example, when the number of obtained print contents is one and the number of variable blocks preset in the template is one, the printer control unit 3600 can set the print contents in variable blocks to obtain print data. In addition, when there are a plurality of print contents and a predetermined content, the printer control unit 3600 can sequentially set the plurality of acquired print contents in variable blocks. More specifically, for example, the printer control unit 3600 may set the first print content in the first variable block and the second print content in the second variable block.

인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 초과인 경우 프린터 제어부(3600)는 미리 정해진 설정에 따라 인쇄 데이터를 획득할 수 있다.When the print content exceeds the preset maximum print content in the template, the printer control unit 3600 can obtain print data according to a predetermined setting.

예를 들어 프린터 제어부(3600)는 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 수를 초과한 경우 인쇄 컨텐츠 중 최대 인쇄 컨텐츠 수만큼의 인쇄 켄텐츠를 가지고 인쇄 데이터를 획득할 수 있다. 보다 구체적인 예를 들어 최대 인쇄 컨텐츠의 수가 2개이고, 획득한 인쇄 컨텐츠가 제1 인쇄 컨텐츠, 제2 인쇄 컨텐츠 및 제3 인쇄 컨텐츠로 총 3개인 경우, 제1 인쇄 컨텐츠는 제1 변수 블록에 설정하고, 제2 인쇄 컨텐츠는 제2 변수 블록에 설정하여 2개의 인쇄 컨텐츠 만을 변수 블록에 설정하여 인쇄 데이터를 획득할 수 있다. 따라서, 프린터 제어부(3600)는 전체 인쇄 컨텐츠 중 최대 인쇄 컨텐츠 수에 대응하는 수의 인쇄 컨텐츠 만이 인쇄될 수 있도록 인쇄 데이터를 획득할 수 있다.For example, when the print content exceeds the maximum number of print contents preset in the template, the printer control unit 3600 can obtain the print data with the print contents corresponding to the maximum number of print contents among the print contents. More specifically, for example, when the maximum number of print contents is two and the acquired print contents are three print contents, the first print contents, the second print contents and the third print contents, the first print contents are set in the first variable block , The second print content may be set in the second variable block and only two print contents may be set in the variable block to obtain print data. Accordingly, the printer control unit 3600 can acquire print data so that only the print content corresponding to the maximum number of print contents among the entire print contents can be printed.

다른 예를 들어 프린터 제어부(3600)는 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 수를 초과한 경우 초과한 인쇄 컨텐츠에 대해서는 추가적으로 인쇄 데이터를 획득할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 최대 인쇄 컨텐츠의 수가 2개이고, 획득한 인쇄 컨텐츠가 제1 인쇄 컨텐츠, 제2 인쇄 컨텐츠 및 제3 인쇄 컨텐츠로 총 3개인 경우, 제1 인쇄 데이터의 제1 변수 블록에 제1 인쇄 컨텐츠를 설정하고, 제1 인쇄 데이터의 제2 변수 블록에는 제2 인쇄 컨텐츠를 설정하여 제1 인쇄 데이터를 획득할 수 있으며, 제3 인쇄 컨텐츠를 제2 인쇄 데이터의 제1 변수 블록에 설정하여 제2 인쇄 데이터를 획득할 수 있다. In another example, the printer control unit 3600 can additionally obtain print data for the exceeded print content when the print content exceeds the preset maximum print content number in the template. More specifically, for example, when the maximum number of print contents is two and the acquired print contents are three print contents, the second print contents, and the third print contents in total, The first print content can be set in the one variable block and the second print content can be set in the second variable block of the first print data to obtain the first print data, 1 &lt; / RTI &gt; variable block to obtain the second print data.

제1 인쇄 데이터 및 제2 인쇄 데이터의 분리에 따라 동일한 템플릿으로 제1 인쇄 컨텐츠 및 제2 인쇄 컨텐츠가 인쇄되는 제1 페이지 및 제3 인쇄 컨텐츠가 인쇄되는 제2 페이지가 출력될 수 있다.The first page on which the first print content and the second print content are printed and the second page on which the third print content is printed may be output with the same template according to the separation of the first print data and the second print data.

프린터 제어부(3600)는 인쇄 데이터에 기초하여 인쇄 동작을 수행할 수 있다 (S250).The printer control unit 3600 can perform a printing operation based on the print data (S250).

프린터 제어부(3600)는 인쇄 데이터에 기초하여 인쇄 동작을 수행하도록 프린터 인쇄부(3500)를 제어할 수 있다.The printer control unit 3600 can control the printer printing unit 3500 to perform the printing operation based on the printing data.

3-4) 복수의 3-4) 템플릿에 대한 인쇄 동작Printing behavior for templates

도 11은 본 발명의 변형예에 따른 바코드(1000)로부터 획득한 정보를 이용한 프린트 동작을 나타내는 순서도이다.11 is a flowchart showing a printing operation using information obtained from the barcode 1000 according to a modification of the present invention.

리더부(2000)로부터 바코드 정보를 획득하는 단계(S210), 인쇄 컨텐츠 및 템플릿 데이터를 획득하는 단계(S310), 추가 템플릿이 존재하는지 여부를 판단하는 단계(S410), 추가 템플릿이 존재하는 경우 추가 템플릿에 대한 인쇄 컨텐츠를 획득하는 단계(S420), 인쇄 컨텐츠 및 템플릿 데이터에 기초하여 인쇄 데이터를 획득하는 단계(S340) 및 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계(S250)를 포함할 수 있다.A step S210 of obtaining barcode information from the reader unit 2000, a step S310 of obtaining print content and template data, a step S410 of determining whether an additional template exists, (S440) acquiring print content for the template, acquiring print data (S340) based on the print content and the template data, and performing a print operation based on the print data (S250) .

프린터 제어부(3600)는 리더부(2000)로부터 바코드 정보를 획득할 수 있다 (S210). The printer control unit 3600 can obtain the barcode information from the reader unit 2000 (S210).

프린터 제어부(3600)는 프린터 통신부(3100)로부터 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 획득할 수 있다. 이때 획득한 바코드 정보는 제1 시점에 획득한 제1 바코드 정보일 수 있다.The printer control unit 3600 can obtain the barcode information obtained by reading the barcode 1000 from the printer communication unit 3100 by the reader unit 2000. [ The obtained barcode information may be the first barcode information acquired at the first time point.

프린터 제어부(3600)는 리더부(2000)로부터 획득한 신호를 변환할 수 있다. 예를 들어 프린터 제어부(3600)는 리더부(2000)가 바코드를 판독하여 획득한 바코드 정보를 프린터(3000)에서 인식 가능한 프린터 언어로 변환할 수 있다. 이때, 프린터 제어부(3600)는 바코드 정보가 프린터 언어로 작성된 경우 바코드 정보의 프린터 언어로의 변환을 생략할 수 있다.The printer control unit 3600 can convert the signal acquired from the reader unit 2000. [ For example, the printer control unit 3600 can convert the barcode information obtained by reading the barcode by the reader unit 2000 into a printer language recognizable by the printer 3000. [ At this time, when the bar code information is written in the printer language, the printer control unit 3600 can omit conversion of the bar code information into the printer language.

프린터 제어부(3600)는 인쇄 컨텐츠 및 템플릿 데이터를 획득할 수 있다 (S310). The printer control unit 3600 can acquire print content and template data (S310).

프린터 제어부(3600)는 인쇄 컨텐츠를 획득할 수 있다.The printer control unit 3600 can acquire the print content.

프린터 제어부(3600)는 바코드 정보에는 적어도 하나의 인쇄 컨텐츠가 포함될 수 있다. 따라서 프린터 제어부(3600)는 바코드 정보에 기초하여 적어도 하나의 인쇄 컨텐츠를 획득할 수 있다. 예를 들어 프린터 제어부(3600)는 '청과', '생필품', '가전' 등과 같이 인쇄물에서 템플릿에 의해 정해진 위치에 인쇄될 문자, 기호 및 그래픽 등과 같은 인쇄 컨텐츠를 획득할 수 있다.The printer control unit 3600 may include at least one print content in the barcode information. Accordingly, the printer control unit 3600 can obtain at least one print content based on the barcode information. For example, the printer control unit 3600 can acquire print contents such as characters, symbols and graphics to be printed at a position determined by the template in the printed matter such as 'fruit and vegetables', 'necessities', 'household appliances'

프린터 제어부(3600)는 바코드 정보에 포함된 템플릿 정보를 획득할 수 있다.The printer control unit 3600 can acquire the template information included in the barcode information.

프린터 제어부(3600)는 템플릿 정보를 식별할 수 있는 템플릿 정보 식별자에 기초하여 바코드 정보로부터 템플릿 정보를 획득할 수 있다. 템플릿 정보 식별자는 템플릿 정보의 시작 및 종료 중 적어도 하나를 식별하기 위한 미리 정해진 식별자로 시작 및 종료 모두를 식별할 때는 시작을 식별하기 위한 식별자와 종료를 식별하기 위한 식별자는 서로 같은 식별자가 사용될 수 있으나, 이에 한정되지 않고 선택에 따라 서로 다른 식별자로 사용될 수 있다.The printer control unit 3600 can obtain the template information from the barcode information based on the template information identifier capable of identifying the template information. The template information identifier is a predetermined identifier for identifying at least one of the start and the end of the template information. When both the start and the end are identified, the same identifier may be used for identifying the start and the end for identifying the end However, the present invention is not limited to this and can be used as a different identifier depending on the selection.

프린터 제어부(3600)는 추가 템플릿이 존재하는지 여부를 판단할 수 있다(S410).The printer control unit 3600 can determine whether there is an additional template (S410).

프린터 제어부(3600)는 현재까지 획득한 인쇄 컨텐츠 및 템플릿 데이터 외에 추가 되어야 할 인쇄 컨텐츠 및/또는 템플릿 데이터가 존재하는 지 여부를 판단할 수 있다.The printer control unit 3600 can determine whether there is print content and / or template data to be added in addition to the print content and template data acquired so far.

프린터 제어부(3600)는 바코드 정보, 사용자 입력 및 기타 설정 등에 기초하여 추가 적인 인쇄 컨텐츠 및/또는 템플릿 데이터가 존재하는 지 여부를 판단할 수 있다.The printer control unit 3600 can determine whether there is additional print content and / or template data based on barcode information, user input, and other settings.

예를 들어 프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함되어 있지 않은 경우 추가 되어야 할 인쇄 컨텐츠 및/또는 템플릿 데이터가 존재하는 것으로 판단할 수 있다.For example, the printer control unit 3600 can determine that print content and / or template data to be added exists if the barcode information does not include a print command.

다른 예를 들어 프린터 제어부(3600)는 프린터 입력부(3300)는 프린터 입력부(3300)를 통하여 인쇄 개시 명령이 입력되지 않으면 추가 되어야 할 인쇄 컨텐츠 및/또는 템플릿 데이터가 존재하는 것으로 판단할 수 있다.In another example, the printer control unit 3600 can determine that there is print content and / or template data to be added if a print start command is not input through the printer input unit 3300.

또 다른 예를 들어 프린터 제어부(3600)는 미리 설정된 템플릿 수에 기초하여 추가 템플릿 데이터가 존재하는 지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 인쇄물에 포함될 템플릿 3개로 설정되어 있는 상태에서 1개 템플릿에 대한 템플릿 데이터 획득 및 인쇄 컨텐츠의 적용이 완료된 경우 남아 있는 2개의 템플릿에 대한 추가적인 템플릿 데이터의 획득이 필요한 것으로 판단할 수 있다.For example, the printer control unit 3600 can determine whether additional template data exists based on the preset number of templates. More specifically, for example, when the printer control unit 3600 is set to three templates to be included in the printed matter, the template data for one template and acquisition of additional template data for the remaining two templates when the application of the printing content is completed Can be judged to be necessary.

프린터 제어부(3600)는 추가 템플릿이 존재하는 경우 추가 템플릿에 대한 인쇄 컨텐츠 및/또는 템플릿 데이터를 획득할 수 있다(S420).The printer control unit 3600 may acquire the print content and / or the template data for the additional template when the additional template exists (S420).

프린터 제어부(3600)는 리더부(2000)로부터 추가 템플릿에 대한 바코드 정보를 획득할 수 있다. 이때 획득한 바코드 정보는 제1 시점보다 이후 시점인 제2 시점에 획득한 제2 바코드 정보일 수 있다. 또한 제1 시점에 획득한 제1 바코드 정보와 제2 시점에 획득한 제2 바코드 정보는 서로 상이할 있으며, 선택에 따라 제1 코드 정보와 제2 바코드 정보는 동일할 있다.The printer control unit 3600 can obtain the barcode information for the additional template from the reader unit 2000. [ At this time, the acquired barcode information may be the second barcode information obtained at the second time point after the first time point. Also, the first barcode information acquired at the first time point is different from the second barcode information acquired at the second time point, and the first code information and the second barcode information may be the same according to the selection.

또한 프린터 제어부(3600)는 추가 템플릿에 대한 바코드 정보에 기초하여 추가 템플릿에 대한 인쇄 컨텐츠 및/또는 템플릿 데이터를 획득할 수 있다.Further, the printer control unit 3600 can obtain print content and / or template data for the additional template based on the barcode information for the additional template.

프린터 제어부(3600)는 추가 템플릿에 대한 인쇄 컨텐츠 및/또는 템플릿 데이터를 획득한 후 다시 추가적인 템플릿 데이터의 획득 필요한 지 여부를 판단할 수 있으며, 다시 추가적인 템플릿 데이터의 획득이 필요한 것으로 판단된 경우 리더부(2000)로부터 다시 추가 템플릿에 대한 바코드 정보를 획득할 수 있다.The printer control unit 3600 can determine whether it is necessary to acquire additional template data again after acquiring the print content and / or the template data for the additional template. If it is determined that the acquisition of additional template data is necessary again, The barcode information for the additional template can be obtained again from the template 2000.

프린터 제어부(3600)는 인쇄 컨텐츠 및 템플릿 데이터에 기초하여 인쇄 데이터를 획득할 수 있다(S340).The printer control unit 3600 can acquire print data based on the print content and the template data (S340).

프린터 제어부(3600)는 인쇄 데이터에 기초하여 인쇄 동작을 수행할 수 있다 (S250).The printer control unit 3600 can perform a printing operation based on the print data (S250).

도 12는 본 발명의 변형예에 따른 인쇄물의 예시도이다.12 is an exemplary view of a printed matter according to a modification of the present invention.

도 12에 도시된 바와 같이 인쇄지의 제1 영역(A')에는 제1 템플릿 데이터(T')에 제1 인쇄 컨텐츠(V')가 인쇄될 수 있다. 또한 인쇄지의 제2 영역(A'')에는 제2 템플릿 데이터에 제2 인쇄 컨텐츠(V'')가 인쇄될 수 있다.The first print content V 'may be printed on the first template data T' in the first area A 'of the print paper, as shown in FIG. Further, the second print content V '' may be printed on the second template data in the second area A '' of the print paper.

도 13에서 분리선(L)은 설명의 편의상 제1 영역(A') 및 제2 영역(A'') 구분하기 위한 것으로 인쇄물에 출력될 수 있으나, 선택에 따라 출력되지 않을 수 있다.In FIG. 13, the separating line L is for separating the first area A 'and the second area A' 'for convenience of explanation, and may be output to the printed matter but may not be output depending on the selection.

따라서, 프린터 제어부(3600)는 도 13에 도시된 바와 같이 복수의 템플릿이 출력되도록 제어할 수 있다.Accordingly, the printer control unit 3600 can control to output a plurality of templates as shown in FIG.

구체적인 일 실시예에서, 프린터(3000)를 이용하여 영수증을 출력하는 경우, 매일 특정시간에 다른 템플릿으로 인쇄를 수행해야 하는 경우가 있을 수 있다. 예를 들어, 평상시에는 제1 템플릿 데이터에 따라 인쇄를 수행하고, 매일 특정 시간대에만 제2 템플릿 데이터에 따라 인쇄를 수행해야 할 수 있다. 이 경우, 종래에는 도 2에서 설명한 바와 같이, 매일 특정 시간대에 프린터(3000)에 제2 템플릿 데이터를 입력시키기 위해서는 상기 특정 시간대에 매번 호스트를 이용하여 제2 템플릿 데이터를 전송해야만 했다. 그러나, 본 발명에 의하면, 프린터(3000)는 매번 상기 특정 시간대에 호스트로부터 제2 템플릿 데이터를 획득하는 것이 아니라, 리더부(2000)로부터 제2 템플릿 데이터를 획득할 수 있다. 이에 따라, 프린터(3000)에서, 제1 템플릿 데이터에서 제2 템플릿 데이터로 변경하는 시간이 단축될 수 있으며, 호스트를 조작하지 않는다는 점에서 사용자의 편의성이 증가될 수 있다.In a specific embodiment, when the receipt is output using the printer 3000, it may be necessary to perform printing with a different template at a specific time every day. For example, it may be necessary to perform printing according to the first template data at normal times and to perform printing according to the second template data only at specific time periods every day. In this case, as described in FIG. 2, in order to input the second template data to the printer 3000 at a specific time every day, conventionally, the second template data has to be transmitted using the host every predetermined time period. However, according to the present invention, the printer 3000 can acquire the second template data from the reader unit 2000, rather than acquiring the second template data from the host every time the predetermined time period is reached. Accordingly, in the printer 3000, the time for changing from the first template data to the second template data can be shortened, and convenience of the user can be increased in that the host does not operate.

3-5) 템플릿 추가3-5) Adding a template

도 13은 본 발명의 다른 변형예에 따른 템플릿의 추가 방법을 나타내는 순서도이다.13 is a flowchart showing a method of adding a template according to another modification of the present invention.

도 13을 참조하면 본 발명의 다른 변형예에 따른 템플릿 추가 방법은 리더부(2000)로부터 바코드 정보를 획득하는 단계(S210), 바코드 정보에 템플릿 데이터에 대한 설정 명령이 포함되어 있는지 여부를 판단하는 단계(S510), 설정 명령이 포함된 경우 설정 명령의 타입을 판단하는 단계(S520), 설정 명령이 템플릿 추가인 경우 바코드 정보에 포함된 템플릿 데이터를 미리 저장된 템플릿 데이터와 식별 가능하도록 바코드 정보에 포함된 식별 정보와 매칭하여 저장하는 단계(S530)를 포함할 수 있다.Referring to FIG. 13, a method for adding a template according to another modification of the present invention includes the steps of acquiring barcode information from the reader unit 2000 (S210), determining whether the barcode information includes a setting command for template data (S520). If the setting command is a template addition, the template data included in the barcode information is included in the barcode information so as to be distinguishable from the stored template data (S510) And storing (S530) matching with the identified identification information.

프린터 제어부(3600)는 리더부(2000)로부터 바코드 정보를 획득할 수 있다(S210).The printer control unit 3600 can obtain the barcode information from the reader unit 2000 (S210).

프린터 제어부(3600)는 프린터 통신부(3100)로부터 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 획득할 수 있다.The printer control unit 3600 can obtain the barcode information obtained by reading the barcode 1000 from the printer communication unit 3100 by the reader unit 2000. [

프린터 제어부(3600)는 바코드 정보에 템플릿 데이터에 대한 설정 명령이 포함되어 있는지 여부를 판단할 수 있다(S510). The printer control unit 3600 can determine whether the barcode information includes a setting command for the template data (S510).

프린터 제어부(3600)는 바코드 정보에 설정 명령이 포함되었음을 알리는 식별자의 존재 여부에 기초하여 바코드 정보에 설정 명령이 포함되어 있는 지 여부를 판단할 수 있다.The printer control unit 3600 can determine whether or not the bar code information includes a setting command based on whether or not an identifier indicating that the setting command is included in the bar code information is present.

프린터 제어부(3600)는 설정 명령이 포함된 경우 설정 명령의 타입을 판단할 수 있다(S520). The printer control unit 3600 can determine the type of the setting command if the setting command is included (S520).

설정 명령의 타입은 예를 들어 신규 템플릿 데이터 추가, 기본 템플릿 데이터 변경 및 인쇄 설정 변경 등일 수 있다.The type of the setting command may be, for example, adding new template data, changing basic template data, changing print settings, and the like.

프린터 제어부(3600)는 설정 명령에 대한 식별자 및 설정 명령의 매칭 등에 기초하여 설정 명령의 타입을 판단할 수 있다.The printer control unit 3600 can determine the type of the setting command based on the identifier of the setting command and the matching of the setting command.

예를 들어 프린터 제어부(3600)는 설정 명령에 대한 식별자에 기초하여 바코드 정보에서 설정 명령 데이터를 식별할 수 있으며, 식별된 설정 명령 데이터 대응하는 설정 명령을 판단할 수 있다.For example, the printer control unit 3600 can identify the setting command data in the barcode information based on the identifier for the setting command, and can determine the setting command corresponding to the identified setting command data.

다른 예를 들어 프린터 제어부(3600)는 바코드 정보에 포함된 데이터 중 설정 명령에 대응하는 설정 명령 데이터의 존재 여부에 기초하여 설정 명령의 타입을 판단할 수 있다.In another example, the printer control unit 3600 can determine the type of the setting command based on the presence or absence of the setting command data corresponding to the setting command among the data included in the barcode information.

프린터 제어부(3600)는 설정 명령이 템플릿 추가인 경우 바코드 정보에 포함된 템플릿 데이터를 미리 저장된 템플릿 데이터와 식별 가능하도록 바코드 정보에 포함된 식별 정보와 매칭하여 저장할 수 있다(S530).If the setting command is a template addition, the printer control unit 3600 may match the template data included in the barcode information with the identification information included in the barcode information so as to be distinguishable from the stored template data (S530).

프린터 제어부(3600)는 프린터 저장부(3400)에 바코드 정보에 포함된 식별 정보가 미리 저장되어 있지 않는 경우 바코드 정보에 포함된 템플릿 데이터를 식별 정보와 매칭하여 신규 템플릿 데이터로 추가할 수 있다.If the identification information included in the barcode information is not stored in the printer storage unit 3400 in advance, the printer control unit 3600 may match the template data included in the barcode information with the identification information to add the new template data.

프린터 제어부(3600)는 프린터 저장부(3400)에 바코드 정보에 포함된 식별 정보와 동일한 식별 정보가 미리 저장된 경우 식별 정보와 매칭되어 저장된 템플릿 데이터를 바코드 정보에 포함된 템플릿 데이터로 갱신할 수 있다.The printer control unit 3600 may update the template data stored in the printer storage unit 3400 with the template information included in the barcode information if the same identification information as the identification information included in the barcode information is stored in advance.

프린터 제어부(3600)는 프린터 저장부(3400)에 바코드 정보에 포함된 식별 정보와 동일한 식별 정보가 미리 저장된 경우 바코드 정보에 포함된 식별 정보의 명칭을 변경하여 템플릿 데이터와 변경된 식별 정보를 매칭하여 저장할 수 있다.The printer control unit 3600 changes the name of the identification information included in the barcode information when the same identification information as the identification information included in the barcode information is stored in the printer storage unit 3400 in advance and stores the matching information in the template data and the changed identification information .

또한, 프린터 제어부(3600)는 설정 명령이 기본 템플릿 데이터 변경인 경우 프린터(3000)에 미리 설정된 기본 템플릿을 바코드 정보에 포함된 템플릿 데이터로 갱신할 수 있다.Further, the printer control unit 3600 can update the basic template preset in the printer 3000 with the template data included in the barcode information when the setting command is the basic template data change.

또한, 프린터 제어부(3600)는 설정 명령이 기본 템플릿 데이터 변경인 경우 프린터(3000)에 미리 설정된 기본 템플릿을 프린터 저장부(3400)에 저장된 템플릿 데이터 중 바코드 정보에 포함된 템플릿 식별 정보에 대응하는 템플릿 데이터로 갱신할 수 있다.If the setting command is the basic template data change, the printer control unit 3600 sets a basic template preset in the printer 3000 to the template corresponding to the template identification information included in the barcode information stored in the printer storage unit 3400 Data can be updated.

상기에서는 본 발명에 따른 실시예를 기준으로 본 발명의 구성과 특징을 설명하였으나 본 발명은 이에 한정되지 않으며, 본 발명의 사상과 범위 내에서 다양하게 변경 또는 변형할 수 있음은 본 발명이 속하는 기술분야의 당업자에게 명백한 것이며, 따라서 이와 같은 변경 또는 변형은 첨부된 특허청구범위에 속함을 밝혀둔다.While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be apparent to those skilled in the art that changes or modifications may fall within the scope of the appended claims.

1000 바코드 2000 리더부
3000 프린터 3100 프린터 통신부
3200 프린터 디스플레이부 3300 프린터 입력부
3400 프린터 저장부 3500 프린터 인쇄부
3600 프린터 제어부 4000 호스트 장치
5000 단말기 5100 단말기 통신부
5200 단말기 디스플레이부 5300 단말기 입력부
5400 단말기 저장부 5500 단말기 제어부
1000 Barcode 2000 Reader Unit
3000 printer 3100 printer communication section
3200 printer display part 3300 printer input part
3400 printer storage unit 3500 printer printing unit
3600 printer control unit 4000 host device
5000 terminal 5100 terminal communication part
5200 Terminal Display Unit 5300 Terminal Input Unit
5400 Terminal storage unit 5500 Terminal control unit

Claims (17)

인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하여 인쇄하는 프린터의 제어 방법으로,
상기 바코드를 기초로 리더부에 의해 생성되는 바코드 정보를 획득하는 단계;
상기 바코드 정보로부터 적어도 하나의 인쇄 컨텐츠를 추출하는 단계;
미리 설정된 템플릿 데이터에 포함된 적어도 하나의 변수 블록에 상기 인쇄 컨텐츠를 적용하는 단계;
상기 바코드 정보를 기초로 미리 설정된 인쇄 조건이 만족되는지 여부를 판단하는 단계; 및
상기 인쇄 조건을 만족된 것으로 판단한 경우, 상기 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초한 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계;를 포함하는
프린터의 제어 방법.
There is provided a control method of a printer which obtains at least a part of information to be included in a printed matter from an output barcode and prints,
Obtaining barcode information generated by the reader unit based on the barcode;
Extracting at least one print content from the barcode information;
Applying the print content to at least one variable block included in preset template data;
Determining whether a preset print condition is satisfied based on the barcode information; And
Acquiring the template data and the print data based on the print content when the print condition is determined to be satisfied and performing a print operation based on the print data
Control method of printer.
제1 항에 있어서,
상기 인쇄 컨텐츠 및 상기 변수 블록이 복수인 경우, 상기 복수의 인쇄 컨텐츠의 순서에 따라 상기 복수의 변수 블록에 상기 인쇄 컨텐츠를 적용하는 것을 특징으로 하는
프린터의 제어 방법.
The method according to claim 1,
Wherein the print content is applied to the plurality of variable blocks according to the order of the plurality of print contents when the print contents and the variable blocks are plural
Control method of printer.
제2 항에 있어서,
상기 인쇄 컨텐츠의 수가 상기 템플릿 데이터에서 미리 정해진 최대값을 초과하는 경우 상기 최대값에 대응하는 상기 인쇄 컨텐츠를 상기 변수 블록에 설정하여 제1 인쇄 데이터를 획득하고,
상기 인쇄 컨텐츠 중 상기 변수 블록에 설정되지 않은 인쇄 컨텐츠를 상기 변수 블록에 설정하여 제2 인쇄 데이터를 획득하는 단계를 더 포함하는
프린터의 제어 방법.
3. The method of claim 2,
If the number of print contents exceeds a predetermined maximum value in the template data, sets the print content corresponding to the maximum value in the variable block to obtain first print data,
And setting the print content not set in the variable block in the variable block to obtain the second print data
Control method of printer.
제1항에 있어서,
상기 인쇄 조건을 만족하는 지 여부를 판단하는 단계는
상기 인쇄 컨텐츠의 수가 최소 인쇄 컨텐츠 수 이상인 경우 상기 인쇄 조건을 만족하는 것으로 판단하는 단계인
프린터의 제어 방법.
The method according to claim 1,
The step of determining whether or not the printing condition is satisfied
Determining that the print condition is satisfied when the number of print contents is equal to or greater than the minimum print content number
Control method of printer.
제1항에 있어서,
상기 인쇄 조건을 만족하는 지 여부를 판단하는 단계는
상기 바코드 정보에 인쇄 명령이 포함된 경우 상기 인쇄 조건을 만족하는 것으로 판단하는 단계인
프린터의 제어 방법.
The method according to claim 1,
The step of determining whether or not the printing condition is satisfied
When the print command is included in the bar code information, determining that the print condition is satisfied
Control method of printer.
인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하여 인쇄하는 프린터의 제어 방법으로,
리더부로부터 바코드 정보를 획득하는 단계;
상기 바코드 정보에 기초하여 인쇄 컨텐츠 및 템플릿 정보를 획득하는 단계;
상기 템플릿 정보에 기초하여 인쇄에 사용할 템플릿 데이터를 획득하는 단계;
상기 템플릿 데이터에 포함된 변수 블록에 상기 인쇄 컨텐츠를 적용하는 단계;
인쇄 조건을 만족하는 지 여부를 판단하는 단계; 및
상기 인쇄 조건을 만족한 것으로 판단한 경우 상기 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초한 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계;를 포함하는
프린터의 제어 방법.
There is provided a control method of a printer which obtains at least a part of information to be included in a printed matter from an output barcode and prints,
Obtaining barcode information from the reader unit;
Obtaining print content and template information based on the barcode information;
Obtaining template data to be used for printing based on the template information;
Applying the print content to a variable block included in the template data;
Determining whether a printing condition is satisfied; And
Acquiring print data based on the template data and the print content when it is determined that the print condition is satisfied, and performing a print operation based on the print data
Control method of printer.
제6 항에 있어서,
상기 템플릿 데이터를 획득하는 단계는
상기 프린터에 미리 저장된 템플릿 데이터 중 상기 템플릿 정보에 포함된 템플릿 식별 정보에 대응하는 템플릿 데이터를 획득하는 단계인
프린터의 제어 방법.
The method according to claim 6,
The step of obtaining the template data
Acquiring template data corresponding to template identification information included in the template information among template data stored in advance in the printer
Control method of printer.
제6 항에 있어서,
상기 템플릿 데이터를 획득하는 단계는
상기 템플릿 정보에 포함된 상기 템플릿 데이터를 상기 인쇄에 사용할 템플릿 데이터로 획득하는 단계인
프린터의 제어 방법.
The method according to claim 6,
The step of obtaining the template data
And acquiring the template data included in the template information as template data to be used for the printing
Control method of printer.
제6 항에 있어서,
상기 인쇄 조건을 만족하는 지 여부를 판단하는 단계는
상기 바코드 정보에 인쇄 명령이 포함된 경우 상기 인쇄 조건을 만족하는 것으로 판단하는 단계인
프린터의 제어 방법.
The method according to claim 6,
The step of determining whether or not the printing condition is satisfied
When the print command is included in the bar code information, determining that the print condition is satisfied
Control method of printer.
인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하여 인쇄하는 프린터의 제어 방법으로,
제1 시점에 리더부로부터 바코드 정보를 획득하는 단계;
상기 바코드 정보에 포함된 제1인쇄 컨텐츠 및 제1템플릿 정보를 획득하는 단계;
상기 제1 템플릿 정보에 기초하여 인쇄에 사용할 제1 템플릿 데이터를 획득하는 단계;
상기 제1 템플릿 데이터에 포함된 변수 블록에 상기 제1 인쇄 컨텐츠를 적용하는 단계;
추가적인 바코드 정보의 획득이 필요한 지 여부를 판단하는 단계;
상기 판단 결과 추가적인 바코드 정보의 획득이 필요한 경우 상기 제1 시점보다 이후인 제2 시점에 상기 리더부로부터 추가 바코드 정보를 획득하는 단계;
상기 추가 바코드 정보에 기초하여 제2 인쇄 컨텐츠 및 제2 템플릿 데이터를 획득하는 단계;
상기 제1 인쇄 컨텐츠, 상기 제2 인쇄 컨텐츠, 상기 제1 템플릿 데이터 및 상기 제2 템플릿 데이터에 기초하여 인쇄 데이터를 획득하는 단계; 및
상기 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계;를 포함하는
프린터의 제어 방법.
There is provided a control method of a printer which obtains at least a part of information to be included in a printed matter from an output barcode and prints,
Obtaining barcode information from the reader unit at a first time point;
Obtaining first print content and first template information included in the barcode information;
Acquiring first template data to be used for printing based on the first template information;
Applying the first print content to a variable block included in the first template data;
Determining whether acquisition of additional barcode information is necessary;
Obtaining additional barcode information from the reader unit at a second time point after the first time point when it is necessary to acquire additional barcode information as a result of the determination;
Obtaining second print content and second template data based on the additional barcode information;
Obtaining print data based on the first print content, the second print content, the first template data, and the second template data; And
And performing a printing operation based on the print data
Control method of printer.
제10 항에 있어서,
상기 추가적인 바코드 정보의 획득이 필요한 지 여부를 판단하는 단계는
바코드 정보에 인쇄 명령이 포함되어 있지 않은 경우 추가적인 바코드 정보의 획득이 필요한 것으로 판단하는 단계인
프린터의 제어 방법.
11. The method of claim 10,
Wherein the step of determining whether the acquisition of the additional barcode information is necessary
If the print command is not included in the bar code information, it is determined that it is necessary to acquire additional bar code information
Control method of printer.
전자기기를 이용하여 프린터의 인쇄에 필요한 정보를 포함하는 바코드를 제공하기 위한 전자기기 제어 방법으로,
적어도 하나의 바코드 타입을 나타내는 바코드 타입 리스트를 출력하는 단계;
상기 바코드 타입 리스트에 포함된 상기 적어도 하나의 바코드 타입 중 상기 전자기기에서 상기 바코드를 생성하는데 사용될 바코드 타입에 대한 선택을 입력 받고, 선택된 상기 바코드 타입에 대응하는 식별자를 획득하는 단계;
상기 바코드에 임베드될 바코드 정보의 타입에 대한 바코드 정보 타입을 획득하는 단계-이때, 상기 바코드 정보 타입은 인쇄 컨텐츠, 템플릿 정보, 인쇄 명령 중 적어도 하나를 포함함-;
상기 바코드에 임베드될 바코드 데이터를 획득하는 단계; 및
상기 식별자에 대응하는 바코드 타입, 상기 바코드 데이터 및 상기 바코드 정보 타입에 기초하여 상기 바코드를 시각적으로 출력하는 단계;를 포함하는
전자기기 제어 방법.
An electronic device control method for providing a barcode containing information necessary for printing by a printer using an electronic device,
Outputting a barcode type list indicating at least one barcode type;
Receiving a selection of a bar code type to be used for generating the bar code in the electronic device among the at least one bar code type included in the bar code type list and obtaining an identifier corresponding to the selected bar code type;
Obtaining a barcode information type for a type of barcode information to be embedded in the barcode, wherein the barcode information type includes at least one of print content, template information, and a print command;
Obtaining barcode data to be embedded in the barcode; And
And visually outputting the barcode based on the barcode type corresponding to the identifier, the barcode data and the barcode information type
Electronic device control method.
바코드에 기록된 템플릿 데이터를 프린터에 신규 저장하는 템플릿 설정 방법으로,
리더부로부터 바코드 정보를 획득하는 단계;
상기 바코드 정보에 템플릿 데이터에 대한 설정 명령이 포함되어 있는지 여부를 판단하는 단계;
상기 설정 명령이 포함된 경우 상기 설정 명령의 타입을 판단하는 단계; 및
상기 설정 명령이 템플릿 추가인 경우 상기 바코드 정보에 포함된 템플릿 데이터를 미리 저장된 템플릿 데이터와 식별 가능하도록 상기 바코드 정보에 포함된 식별 정보와 매칭하여 저장하는 단계;를 포함하는
프린터의 제어 방법.
A template setting method for newly storing template data recorded in a barcode in a printer,
Obtaining barcode information from the reader unit;
Determining whether the barcode information includes a setting command for template data;
Determining the type of the setting command if the setting command is included; And
And matching the template data included in the barcode information with the identification information included in the barcode information so as to be distinguishable from the stored template data when the setting command is a template addition,
Control method of printer.
제1 내지 13 항 중 어느 한 항의 방법을 수행하기 위한 프로그램이 기록된 기록매체.
A recording medium on which a program for performing the method according to any one of claims 1 to 13 is recorded.
인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하는 프린터로,
리더부와 연결되는 프린터 통신부;
상기 인쇄물을 인쇄하는 프린터 인쇄부; 및
상기 리더부가 상기 출력된 바코드를 디코딩한 바코드 정보를 획득하고, 상기 바코드 정보에 기초하여 인쇄 컨텐츠를 획득하고, 상기 인쇄 컨텐츠를 미리 저장된 기본 템플릿 데이터에 포함된 변수 블록 중 현재 입력 순서의 상기 변수 블록에 적용하고, 인쇄 조건을 만족하는 지 여부를 판단하여 상기 인쇄 조건을 만족하는 것으로 판단된 경우 상기 기본 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초한 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 상기 인쇄물을 인쇄하도록 상기 인쇄부를 제어하는 프린터 제어부;를 포함하는
프린터.
A printer for acquiring at least a part of information to be included in a printed matter from an output bar code,
A printer communication unit connected to the reader unit;
A printer printing unit printing the printed matter; And
Wherein the reader unit obtains barcode information obtained by decoding the output barcode, obtains print content based on the barcode information, and supplies the print content to the variable block of the current input sequence among the variable blocks included in the pre- Determines whether or not the printing condition is satisfied, and when it is determined that the printing condition is satisfied, acquires the printing data based on the basic template data and the printing contents, and prints the printed matter on the basis of the printing data And a printer control unit for controlling the printing unit
printer.
인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하는 프린터로,
리더부와 연결되는 프린터 통신부;
상기 인쇄물을 인쇄하는 프린터 인쇄부; 및
상기 프린터 통신부로부터 상기 리더부가 상기 출력된 바코드를 디코딩한 바코드 정보를 획득하고 상기 바코드 정보에 기초하여 인쇄 컨텐츠 및 템플릿 정보를 획득하고, 상기 템플릿 정보에 기초하여 인쇄에 사용할 템플릿 데이터를 획득하고, 상기 템플릿 데이터에 포함된 변수 블록에 상기 인쇄 컨텐츠를 적용하고, 인쇄 조건을 만족하는 지 여부를 판단하여 상기 인쇄 조건을 만족하는 경우 상기 템플릿 데이터 및 상기 인쇄 컨텐츠에 기초하여 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 상기 인쇄물을 인쇄하도록 상기 인쇄부를 제어하는 제어부;를 포함하는
프린터.
A printer for acquiring at least a part of information to be included in a printed matter from an output bar code,
A printer communication unit connected to the reader unit;
A printer printing unit printing the printed matter; And
The reader unit obtains barcode information obtained by decoding the barcode outputted from the printer communication unit, obtains print content and template information based on the barcode information, acquires template data to be used for printing based on the template information, Wherein the control unit applies the print content to a variable block included in the template data and determines whether or not the print condition is satisfied and acquires print data based on the template data and the print content when the print condition is satisfied, And a control unit for controlling the printing unit to print the print based on the data
printer.
인쇄물에 포함될 정보 중 적어도 일부를 출력된 바코드로부터 획득하는 프린터로,
리더부와 연결되는 프린터 통신부;
상기 인쇄물을 인쇄하는 프린터 인쇄부; 및
상기 프린터 통신부로부터 상기 리더부가 상기 출력된 바코드를 디코딩한 제1 바코드 정보를 획득하고, 상기 제1 바코드 정보에 포함된 제1 인쇄 컨텐츠 및 제1 템플릿 정보를 획득하고, 상기 제1 템플릿 정보에 기초하여 인쇄에 사용할 제1 템플릿 데이터를 획득하고, 상기 제1 템플릿 데이터에 포함된 변수 블록에 상기 인쇄 컨텐츠를 적용하고, 추가적인 바코드 정보의 획득이 필요한 지 여부를 판단하여 추가 바코드 정보의 획득이 필요한 경우 상기 리더부를 통하여 제2 바코드 정보를 획득하고, 상기 제2 바코드 정보에 기초하여 제2 인쇄 컨텐츠 및 제2 템플릿 데이터를 획득하고, 상기 제1 인쇄 컨텐츠, 상기 제2 인쇄 컨텐츠, 상기 제1 템플릿 데이터 및 상기 제2 템플릿 데이터에 기초하여 인쇄 데이터를 획득하고, 상기 인쇄 데이터에 기초하여 상기 인쇄물을 인쇄하도록 상기 인쇄부를 제어하는 제어부;를 포함하는
프린터.
A printer for acquiring at least a part of information to be included in a printed matter from an output bar code,
A printer communication unit connected to the reader unit;
A printer printing unit printing the printed matter; And
Wherein the reader acquires first barcode information obtained by decoding the barcode outputted from the printer communication unit, acquires first print content and first template information included in the first barcode information, The first template data to be used for printing is obtained, the print content is applied to a variable block included in the first template data, and it is determined whether or not the acquisition of additional barcode information is necessary, Acquiring second barcode information through the reader unit, acquiring second print content and second template data based on the second barcode information, and outputting the first print content, the second print content, the first template data And acquiring print data based on the second template data, and based on the print data, Containing; a control unit for controlling the printing unit to print the water
printer.
KR1020170035255A 2017-03-21 2017-03-21 Printer and method for controlling the same KR101933785B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170035255A KR101933785B1 (en) 2017-03-21 2017-03-21 Printer and method for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170035255A KR101933785B1 (en) 2017-03-21 2017-03-21 Printer and method for controlling the same

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020180167387A Division KR20190000352A (en) 2018-12-21 2018-12-21 Printer and method for controlling the same

Publications (2)

Publication Number Publication Date
KR20180107432A true KR20180107432A (en) 2018-10-02
KR101933785B1 KR101933785B1 (en) 2018-12-31

Family

ID=63863825

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170035255A KR101933785B1 (en) 2017-03-21 2017-03-21 Printer and method for controlling the same

Country Status (1)

Country Link
KR (1) KR101933785B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113946300A (en) * 2021-10-12 2022-01-18 速聚(福建)科技有限公司 Printing method, device and system
CN114035755A (en) * 2021-11-16 2022-02-11 上海中通吉网络技术有限公司 Picture processing method and printing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001142949A (en) * 1999-11-11 2001-05-25 Dainippon Printing Co Ltd Bar code information processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113946300A (en) * 2021-10-12 2022-01-18 速聚(福建)科技有限公司 Printing method, device and system
CN114035755A (en) * 2021-11-16 2022-02-11 上海中通吉网络技术有限公司 Picture processing method and printing method

Also Published As

Publication number Publication date
KR101933785B1 (en) 2018-12-31

Similar Documents

Publication Publication Date Title
JP5955041B2 (en) Printing system and method
CN104508622B (en) Epos printing
US8325368B2 (en) Print information conversion apparatus, printing apparatus, printing system, and computer readable medium
KR100772408B1 (en) Method and system for printing a contents by printing capability using a device
JP2015009476A (en) Print control apparatus, print control method and program
KR101933785B1 (en) Printer and method for controlling the same
US9998616B2 (en) Image forming apparatus, non-transitory computer readable recording medium, and information processing system
US9036170B2 (en) Relaying device, image processing device, and system comprising image processing device and relaying device
JP2018160897A (en) Image processing device
US8804170B2 (en) Printing system, print data generating device, multi-function device, and non-transitory recording medium
US9111198B2 (en) Print control method, print control device, and storage medium
JP2022095398A (en) Image forming device and image forming system
KR20190000352A (en) Printer and method for controlling the same
US8804204B2 (en) Password generating system and method, and non-transitory computer readable medium
JP2016221806A (en) Image formation apparatus
JP2020021190A (en) Printer driver
US11281408B2 (en) Control method
JP4881171B2 (en) Host output processing system, host output processing method, host output processing program, and recording medium
JP2017083996A (en) Information processing device, control method and program thereof
US9444968B2 (en) Image forming apparatus that continues without halt to perform print job including sign where glyph is invalid data, and recording medium
US20100060932A1 (en) Image processing apparatus, information processing method, and computer program product
JP2019128637A (en) Information processing apparatus, print processing method, and computer program
US10884684B1 (en) Image forming apparatus, image forming method, and non-transitory computer readable recording medium
US20160210089A1 (en) Print instruction device, printing system, non-transitory computer readable medium, and print instruction method
JP2009071807A (en) Image forming device having customizable user interface

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right