KR20180107432A - Printer and method for controlling the same - Google Patents
Printer and method for controlling the same Download PDFInfo
- 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
- barcode
- information
- printer
- template
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
- B41J29/393—Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
- B41J29/393—Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
- B41J2029/3935—Devices 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
Description
본 발명은 프린터 및 프린터 제어 방법에 관한 것으로 보다 상세하게는 인쇄에 필요한 정보 중 적어도 일부를 바코드로부터 획득하는 프린터 및 프린터 제어 방법에 관한 것이다.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
바코드(1000)에는 인쇄에 필요한 데이터가 코드화되어 기록될 수 있다.Data necessary for printing can be coded and recorded in the
바코드(1000)에는 프린터(3000)의 외부에서 프린터(3000)의 인쇄 동작에 필요한 정보를 제공할 수 있다.The
예를 들어 바코드(1000)에는 프린터(3000)의 인쇄 동작에 필요한 인쇄 컨텐츠, 템플릿 정보 및 인쇄 명령 중 적어도 하나가 포함될 수 있다.For example, the
본 발명에서 인쇄 컨텐츠는 인쇄물에 인쇄되는 컨텐츠 중 하나로 사용자에 의해 가변적으로 변경되어 인쇄되는 컨텐츠일 수 있다. 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
리더부(2000) 및 프린터(3000)는 서로 연결될 수 있다. 또한 리더부(2000)는 바코드(1000)에 대응하는 전기적 신호를 획득하여 프린터(3000)에 제공할 수 있다.The
리더부(2000)가 바코드(1000)에 대응하는 전기적 신호를 획득하는 방법은 발광 된 빛이 바코드(1000)에 반사된 빛을 검출하여 이를 전기적 신호로 변환하는 광학 방식 및 바코드(1000)를 촬영한 이미지를 분석하여 전기적 신호로 변환하는 이미지 분석 방식 등이 제공될 수 있다.A method in which the
리더부(2000)는 예를 들어 바코드 리더기, 바코드 스캐너, 광학 스캐너, 카메라 등일 수 있다.The
프린터(3000)는 리더부(2000)로부터 획득한 전기적 신호에 기초하여 인쇄 동작을 수행할 수 있다. 예를 들어 프린터(3000)는 바코드(1000)에 기록된 인쇄 정보를 리더부(2000)를 통하여 획득할 수 있으며, 획득한 인쇄 정보에 기초하여 인쇄 동작을 수행할 수 있다.The
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
호스트 장치(4000) 및 프린터(3000)는 서로 연결될 수 있다. 또한 호스트 장치(4000) 및 프린터(3000)는 상호간에 데이터를 송신 및/또는 수신할 수 있다.The
호스트 장치(4000)는 예를 들어 데스크탑, 노트북, 테블릿, 스마트폰 및 포스기기 등일 수 있다.The
호스트 장치(4000)는 어플리케이션에서 요청한 인쇄 문서를 프린터 드라이버를 통하여 프린터(3000)가 인식하여 인쇄를 수행할 수 있도록 인쇄 정보로 변환할 수 있다. 또한 호스트 장치(4000)는 인쇄 정보를 프린터(3000)로 전송할 수 있다. 예를 들어, 호스트 장치(4000)는 어플리케이션에서 요청한 사항을 기초로 인쇄 문서를 생성하고, 프린터 드라이버를 이용하여 인쇄 문서를 프린터(3000)에서 인식/해석 가능한 형식의 인쇄 정보로 변환할 수 있다. 호스트 장치(4000)는 변환된 인쇄 정보를 프린터(3000)에 전송할 수 있고, 프린터(3000)는 수신한 인쇄 정보에 따라 인쇄를 수행할 수 있다.The
어플리케이션은 예를 들어 워드, 한글, 메모장, 그림판 등과 같이 문서 및 이미지 등의 작성, 편집 및 인쇄를 위한 소프트웨어뿐만 아니라 익스플로러, 사파리, 크롬, 파이어폭스와 같은 웹브라우저 및 윈도우, 리눅스, 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
프린터(3000)는 호스트 장치(4000)로부터 인쇄 정보를 획득할 수 있다. 또한, 프린터(3000)는 호스트 장치(4000)로부터 획득한 인쇄 정보에 기초하여 인쇄 동작을 수행할 수 있다. 예를 들어 프린터(3000)는 인쇄 정보에 포함된 인쇄 개시 명령에 따라 인쇄 동작을 시작하여 템플릿 정보에서 지정하는 위치에 인쇄 컨텐츠 정보에 대응하는 내용을 인쇄할 수 있다.The
이러한 종래의 호스트를 이용한 인쇄는 프린터(3000)와 적어도 하나의 호스트 장치(4000)가 연결되어야 한다는 단점이 있었다. 이는 단순 반복적인 인쇄 작업에도 반드시 호스트 장치(4000)가 연결되어야 하기 때문에 비용이 시스템 구현에 필요한 비용이 증가한다는 단점이 있을 뿐만 아니라 공간적으로 제약이 생기는 단점 역시 발생할 수 있다. 또한, 프린터(3000)에서, 템플릿 정보가 수시로 변경되어야 하는 경우, 종래의 호스트를 이용한 인쇄에서는 템플릿 정보가 변경될 때 마다 프린터(3000)가 호스트 장치(4000)로부터 변경되어야 할 템플릿 정보가 포함된 인쇄 정보를 획득하여야 하였다. 이에 따라, 템플릿 정보의 변경에 시간이 오래 소요될 뿐만 아니라, 프린터(3000)가 호스트 장치(4000)와 연결되지 않을 경우, 프린터(3000)에서 템플릿 정보가 변경되지 못한다는 불편함이 있었다.This conventional printing using the host has a disadvantage that the
2. 바코드 및 바코드의 생성2. Generation of barcodes and barcodes
1) 바코드의 정의1) Definition of barcode
본 발명에서 설명되는 바코드(1000)는 인쇄에 필요한 데이터가 인코딩되어 기록된 기록물로, 광학적인 판독 방식 및 이미지 처리를 이용한 판독 등을 통하여 디코딩하여 원래의 데이터가 획득될 수 있다.The
바코드(1000)는 종래의 호스트 장치(4000)를 이용한 인쇄 동작에서 호스트 장치(4000)에서 실행되는 프린트 드라이버의 역할 중 적어도 일부를 대체할 수 있다. 예를 들어 바코드(1000)는 호스트 장치(4000)를 대신하여 프린터(3000)에 인쇄 정보를 제공할 수 있다. 다른 예를 들어 바코드(1000)는 프린터(3000)의 설정에 필요한 정보를 제공할 수 있다. 보다 구체적인 예를 들어 바코드(1000)는 프린터(3000)에 저장된 템플릿의 추가 및 템플릿의 변경에 필요한 정보를 제공할 수 있다.The
도 3은 본 발명의 일 실시예에 따른 바코드(1000)를 나타내는 예시도이다.3 is an exemplary view showing a
도 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
도 3에 도시된 바코드(1000)는 설명의 편의를 위한 예시일 뿐이며 사용자의 선택에 따라 도 3에 예시적으로 도시된 바코드(1000) 외에 다양한 형태의 바코드가 제공될 수 있다.The
2) 바코드의 생성2) Generation of barcode
이하에서 설명되는 바코드 생성 방법은 단말기(5000)에 의해 수행될 수 있다. 단말기(5000)는 예를 들어 컴퓨터, 테블릿, 노트북 및 스마트폰 등으로 제공될 수 있다. 또한 프린터(3000)에 단말기(5000)의 기능이 부가되어 구현되는 경우 바코드 생성 방법은 프린터(3000)에 의해 수행될 수 있다.The barcode generation method described below can be performed by the
도 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
단말기 통신부(5100)는 외부 장치와 연결될 수 있다. 예를 들어 단말기 통신부(5100)는 템플릿을 관리하는 서버 장치와 연결될 수 있다.The
단말기 통신부(5100)는 무선 및/또는 유선 통신 방식으로 외부 장치와 연결될 수 있다. 예를 들어 단말기 통신부(5100)는 와이파이(wifi), LTE, 3G, 4G, LoRa, 블루투스(Bluetooth), 지그비(Zigbee) 등과 같은 무선 통신 방식으로 외부 장치와 연결되어 데이터를 송수신할 수 있다. 다른 예를 들어 단말기 통신부(5100)는 LAN, 유에스비(USB) 방식, 시리얼 방식 및 패러럴 방식 등의 유선 통신 방식으로 외부 장치와 연결되어 데이터를 송수신할 수 있다.The
단말기 통신부(5100)는 LAN 카드, wifi 모듈 및 블루투스 모듈 등과 같이 무선 및/또는 유선 통신 방식을 지원하는 통신 모듈로 구현될 수 있다.The
단말기 디스플레이부(5200)는 단말기(5000)에서 처리되는 정보를 시각적으로 출력한다. 예를 들어 단말기 디스플레이부(5200)는 사용자와 인터페이스 할 수 있는 GUI(Graphic User Interface)를 출력할 수 있다. The
단말기 디스플레이부(5200)는 액정 디스플레이(liquid crystal display), 박막 트랜지스터 액정 디스플레이(thin film transistor liquid crystal display), 유기 발광 다이오드(organic light emitting diode), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 등으로 구현될 수 있다. The
또한 단말기 디스플레이부(5200)가 터치 동작을 감지하는 터치 센서를 포함하는 터치 디스플레이로 제공되는 경우 단말기 디스플레이부(5200)는 시각적인 출력 장치뿐만 아니라 입력 장치로도 사용될 수 있다. Also, when the
단말기 입력부(5300)는 키보드(keyboard), 마우스(mouse), 키 패드(key pad) 돔 스위치 (dome switch), 터치 패드(정압/정전), 조그 휠 및 조그 스위치 중 적어도 하나를 포함할 수 있다.The
단말기 입력부(5300)는 사용자의 입력(예를 들어 터치, 선택, 드래그 및 클릭 등)에 대응하는 전기적 신호를 획득하여 단말기 제어부(5500)에 전송할 수 있다.The
단말기 저장부(5400)는 단말기(5500)의 동작에 필요한 각종 데이터를 저장할 수 있다. 예를 들어 단말기 저장부(5400)는 이하에서 설명되는 바코드 생성 방법을 수행하기 위한 프로그램을 저장할 수 있다. 다른 예를 들어 저장부(5400)는 바코드 생성 방법에 의해 생성된 바코드 및 바코드에 관한 데이터를 저장할 수 있다.The
단말기 제어부(5500)는 단말기(5000)의 동작을 총괄할 수 있다. 예를 들어 단말기 제어부(5500)는 단말기(5000)에 포함된 구성 중 적어도 하나의 구성에 대한 동작을 제어할 수 있다. 다른 예를 들어 단말기 제어부(5500)는 이하에서 설명되는 바코드 생성 방법을 수행하도록 제어할 수 있다.The
도 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
단말기 제어부(5500)는 단말기 입력부(5300)를 통하여 생성될 바코드의 타입 정보를 획득할 수 있다. 바코드의 타입 정보는 예를 들어 1차원 바코드, 2차원 바코드 등의 바코드 타입에 대한 정보일 수 있다. 다른 예를 들어 바코드의 타입 정보는 바코드, QR 코드, PDF417, DATA Matrix 등과 같은 바코드의 형태에 대한 정보일 수 있다.The
단말기 제어부(5500)는 지원 가능한 바코드의 타입에 대한 정보를 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다. The
예를 들어 단말기 제어부(5500)는 단말기 저장부(5400)에 미리 저장된 지원 가능한 바코드 타입에 대한 바코드 타입 리스트가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다.For example, the
다른 예를 들어 단말기 제어부(5500)는 선택된 프린터 모델에서 지원 가능한 바코드 타입에 대한 바코드 타입 리스트가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다.For example, the
또 다른 예를 들어 단말기 제어부(5500)는 선택된 바코드 리더기 모델에서 지원 가능한 바코드 타입에 대한 바코드 타입 리스트가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다.For example, the
바코드 타입 리스트에는 적어도 하나의 바코드 타입에 대한 식별 정보가 포함될 수 있다.The barcode type list may include identification information for at least one barcode type.
또한 단말기 제어부(5500)는 바코드 타입 리스트에 포함된 바코드 타입의 식별 정보 중 바코드를 생성하는 대상 바코드 타입에 대한 선택을 획득할 수 있다.In addition, the
단말기 제어부(5500)는 바코드(1000)에 포함될 데이터 정보의 종류를 획득할 수 있다(S120). The
단말기 제어부(5500)는 데이터 정보의 종류 리스트가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다.The
데이터 정보의 종류는 예를 들어 인쇄 컨텐츠, 템플릿 정보, 인쇄 명령, 템플릿 추가 및 설정 변경 중 적어도 하나일 수 있다.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
단말기 제어부(5500)는 바코드(1000)에 포함될 바코드 데이터를 획득할 수 있다(S130).The
단말기 제어부(5500)는 데이터 정보 종류에 따라 바코드 데이터를 획득할 수 있다. 예를 들어 단말기 제어부(5500)는 데이터 정보 종류가 인쇄 컨텐츠 하나인 경우 인쇄 컨텐츠에 대한 바코드 데이터를 획득할 수 있다. The
또한, 단말기 제어부(5500)는 데이터 정보 종류가 복수인 경우에는 복수의 데이터 정보 종류 각각에 대한 바코드 데이터를 획득할 수 있다. 예를 들어 단말기 제어부(5500)는 데이터 정보 종류가 '인쇄 컨텐츠' 및 '템플릿'인 경우, 인쇄 컨텐츠에 대한 바코드 데이터와 템플릿에 대한 바코드 데이터를 획득할 수 있다. 보다 구체적인 예를 들어 단말기 제어부(5500)는 '인쇄 컨텐츠'에 대한 바코드 데이터로 '청과'라는 문자 데이터를 획득할 수 있다. In addition, the
또한 데이터 정보 종류가 템플릿인 경우 단말기 제어부(5500)는 템플릿 식별 정보 및/또는 템플릿 데이터를 테플릿에 대한 바코드 데이터로 회득할 수 있다. Also, when the data information type is a template, the
이러한 바코드 데이터는 프린터(3000)에서 인식 가능한 프로그램 언어로 작성될 수 있다. 예를 들어 단말기 제어부(5500)는 바코드 데이터를 PCL(Printer Control Language), PC(PostScript) 및 프린터 제조사의 프린터 언어(Printer Language)로 변환할 수 있다.Such barcode data can be written in a program language recognizable by the
단말기 제어부(5500)는 바코드(1000)를 생성할 수 있다(S140).The
단말기 제어부(5500)는 바코드 타입, 데이터 종류 및 바코드 데이터 중 적어도 하나에 기초하여 코드(1000)를 생성할 수 있다.The
예를 들어 단말기 제어부(5500)는 바코드 타입에 따른 형태로 데이터 종류를 식별할 수 있는 식별 정보와 바코드 데이터를 인코딩하여 바코드(1000)를 생성할 수 있다.For example, the
도 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
단말기 제어부(5500)는 생성된 바코드(1000)가 단말기 디스플레이부(5200)에 출력되도록 제어할 수 있다. 또한, 단말기 제어부(5500)는 미리 저장된 바코드(1000) 중 선택된 바코드(1000)가 디스플레이부(5200)에 출력되도록 제어할 수 있다.The
단말기 제어부(5500)는 외부 프린터에서 인쇄되어 출력되도록 제어할 수 있다.The
단말기 제어부(5500)는 인코딩된 바코드(1000)를 인쇄 데이터로 변환할 수 있다. 이를 위해서 단말기 저장부(5400)에는 상기 인코딩된 바코드(1000)를 인쇄 데이터로 변환하기 위한 프린트 드라이버가 미리 저장될 수 있다.The
단말기 제어부(5500)는 바코드(1000)의 인쇄 데이터를 연결된 프린터로 전송하도록 단말기 통신부(5100)를 제어할 수 있다. 따라서, 단말기 제어부(5500)는 바코드(1000)를 인쇄 하여 출력할 것을 프린터에 요청할 수 있다.The
프린터는 단말기(5000)로부터 획득한 인쇄 데이터에 기초하여 바코드(1000)를 인쇄하여 출력할 수 있다.The printer can print the
도 7은 본 발명의 일 실시예에 따른 인쇄된 바코드(1000)를 나타내는 예시도이다.7 is an exemplary view showing a printed
도 7에 도시된 바와 같이 바코드(1000)는 인쇄지 상에 인쇄되어 출력될 수 있다.As shown in Fig. 7, the
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
프린터 통신부(3100)는 외부 장치와 연결될 수 있다. 예를 들어 프린터 통신부(3100)는 템플릿을 관리하는 서버 장치 및 프린터(3000)의 펌웨어를 제공하는 외부 장치와 연결될 수 있다.The
프린터 통신부(3100)는 무선 및/또는 유선 통신 방식으로 외부 장치와 연결될 수 있다. 예를 들어 단말기 통신부(5100)는 와이파이(wifi), LTE, 3G, 4G, LoRa, 블루투스(Bluetooth), 지그비(Zigbee) 등과 같은 무선 통신 방식으로 외부 장치와 연결되어 데이터를 송수신할 수 있다. 다른 예를 들어 단말기 통신부(5100)는 LAN, 유에스비(USB) 방식, 시리얼 방식 및 패러럴 방식 등의 유선 통신 방식으로 외부 장치와 연결되어 데이터를 송수신할 수 있다.The
프린터 통신부(3100)는 LAN 카드, wifi 모듈 및 블루투스 모듈 등과 같이 무선 및/또는 유선 통신 방식을 지원하는 통신 모듈로 구현될 수 있다.The
프린터 디스플레이부(3200)는 액정 디스플레이(liquid crystal display), 박막 트랜지스터 액정 디스플레이(thin film transistor liquid crystal display), 유기 발광 다이오드(organic light emitting diode), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 등으로 구현될 수 있다.The
프린터 디스플레이부(3200)는 터치 동작을 감지하는 터치 센서를 포함하는 터치 디스플레이로 제공되는 경우 단말기 디스플레이부(5200)는 시각적인 출력 장치뿐만 아니라 입력 장치로도 사용될 수 있다.When the
프린터 입력부(3300)는 키보드(keyboard), 마우스(mouse), 키 패드(key pad) 돔 스위치 (dome switch), 터치 패드(정압/정전), 조그 휠 및 조그 스위치 중 적어도 하나를 포함할 수 있다.The
프린터 입력부(3300)는 사용자의 입력(예를 들어 터치, 선택, 드래그 및 클릭 등)에 대응하는 전기적 신호를 획득하여 단말기 제어부(5500)에 제공할 수 있다.The
프린터 저장부(3400)는 프린터(3000)의 동작에 필요한 각종 데이터를 저장할 수 있다. 예를 들어 프린터 저장부(3400)는 이하에서 설명되는 인쇄 방법을 수행하기 위한 프로그램을 저장할 수 있다. 다른 예를 들어 프린터 저장부(3400)는 인쇄에 사용될 템플릿 데이터를 미리 저장할 수 있다.The
프린터 인쇄부(3500)는 프린터 제어부(3600)의 제어에 따라 인쇄물을 인쇄할 수 있다. The
프린터 인쇄부(3500)는 도트 방식, 잉크젯 방식, 레이저 방식, 잉크 리본 방식 및 열전사 방식 등으로 인쇄물을 인쇄할 수 있다.The
프린터 인쇄부(3500)는 인쇄물을 인쇄하기 위한 프린터 헤드로 구현될 수 있다. The
프린터 제어부(3600)는 프린터(3000)의 동작을 총괄할 수 있다. 예를 들어 프린터 제어부(3600)는 프린터(3000)에 포함된 구성 중 적어도 하나의 구성에 대한 동작을 제어할 수 있다. 다른 예를 들어 프린터 제어부(3600)는 이하에서 설명되는 인쇄 방법을 수행하도록 제어할 수 있다.The
3-2) 인쇄 3-2) Printing 컨텐츠를Content 이용한 인쇄 동작 Printing operation using
도 9는 본 발명의 일 실시예에 따른 바코드(1000)로부터 획득한 정보를 이용한 인쇄 동작을 나타내는 순서도이다.9 is a flowchart showing a printing operation using information obtained from the
일 실시예에 따른 바코드(1000)로부터 획득한 정보를 이용한 인쇄 동작은 리더부(2000)로부터 바코드 정보를 획득하는 단계(S210), 바코드 정보에 기초하여 인쇄 컨텐츠를 획득하는 단계(S220), 인쇄 조건을 만족하는 지 여부를 판단하는 단계(S230), 인쇄 컨텐츠 및 기본 템플릿 데이터에 기초하여 인쇄 데이터를 획득하는 단계(S240) 및 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계(S250)를 포함할 수 있다.The printing operation using the information obtained from the
프린터 제어부(3600)는 리더부(2000)로부터 바코드 정보를 획득할 수 있다 (S210).The
프린터 제어부(3600)는 프린터 통신부(3100)로부터 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 획득할 수 있다.The
프린터 제어부(3600)는 리더부(2000)로부터 획득한 신호를 변환할 수 있다. 예를 들어 프린터 제어부(3600)는 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 프린터(3000)에서 인식 가능한 프린터 언어로 변환할 수 있다. 이때, 프린터 제어부(3600)는 바코드 정보가 프린터 언어로 작성된 경우 바코드 정보의 프린터 언어로의 변환을 생략할 수 있다.The
프린터 제어부(3600)는 바코드 정보에 기초하여 인쇄 컨텐츠를 획득할 수 있다(S220).The
프린터 제어부(3600)는 바코드 정보에는 적어도 하나의 인쇄 컨텐츠가 포함될 수 있다. 따라서 프린터 제어부(3600)는 바코드 정보에 기초하여 적어도 하나의 인쇄 컨텐츠를 획득할 수 있다. 예를 들어 프린터 제어부(3600)는 '청과', '생필품', '가전' 등과 같이 인쇄물에서 템플릿에 의해 정해진 위치에 인쇄될 문자, 기호 및 그래픽 등과 같은 인쇄 컨텐츠를 획득할 수 있다.The
바코드 정보에 복수의 인쇄 컨텐츠가 포함된 경우 프린터 제어부(3600)는 바코드 정보에 포함된 인쇄 컨텐츠 식별자에 기초하여 복수의 인쇄 컨텐츠 각각을 구별할 수 있다. 이러한 인쇄 컨텐츠 식별자는 다양한 형태로 제공될 수 있다. 예를 들어 바코드 정보에서 '청과/가전'과 같이 하나의 인쇄 컨텐츠와 다른 인쇄 컨텐츠를 구별할 수 있는 인쇄 컨텐츠 식별자 '/'에 기초하여 프린터 제어부(3600)는 '청과'를 제1 인쇄 컨텐츠로 획득할 수 있으며, '가전'을 제2 인쇄 컨텐츠로 획득할 수 있다. 다른 예를 들어 바코드 정보에서 하나의 인쇄 컨텐츠에 대한 영역을 구분하는 인쇄 컨텐츠 식별자가 사용될 수 있는데 '<청과><가전>'과 같이 하나의 인쇄 컨텐츠의 시작과 끝을 나타내는 인쇄 컨텐츠 식별자에 기초하여 각 인쇄 컨텐츠를 구별할 수 있다.When the barcode information includes a plurality of print contents, the
이러한 인쇄 컨텐츠가 복수인 경우 각각의 인쇄 컨텐츠는 순서에 따라 순차적으로 제공될 수 있다.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
템플릿에는 다양한 인쇄 조건이 미리 설정될 수 있다. 예를 들어 템플릿에는 인쇄 개시에 필요한 최소 인쇄 컨텐츠가 인쇄 조건으로 미리 설정될 수 있다.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
다른 예를 들어 프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함된 경우 인쇄 조건을 만족하는 것으로 판단할 수 있다.In another example, the
이를 위하여 프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 바코드 정보에 인쇄 명령을 식별할 수 있는 인쇄 명령 식별자에 기초하여 바코드 정보에 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 인쇄 명령의 시작을 식별하기 위한 인쇄 명령 식별자, 예를 들어'/'의 존재 여부를 판단할 수 있다. 또한 프린터 제어부(3600)는 인쇄 명령 식별자 뒤에 인쇄 명령이 존재하는지 여부를 더 고려할 수 있다. 예를 들어 '/start'와 같이 인쇄 명령 식별자 '/'뒤에 실제 인쇄 명령어인 'start'가 존재 하는 지 여부를 더 고려하여 인쇄 명령의 존재 여부를 판단할 수 있다. 다른 보다 구체적인 예를 들어 프린터 제어부(3600)는 바코드 정보에 미리 정해진 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 'start'와 같은 미리 정해진 인쇄 명령이 바코드 정보에 포함되어 있는지 여부를 판단할 수 있다.For this purpose, the
프린터 제어부(3600)는 인쇄 조건을 만족하지 않는 경우 미리 정해진 설정에 따라 동작할 수 있다The
예를 들어 프린터 제어부(3600)는 인쇄 조건이 최소 인쇄 컨텐츠 수를 만족하는 것일 때, 최소 인쇄 컨텐츠 수를 충족하지 못한 경우 추가적인 인쇄 컨텐츠의 획득을 위하여 바코드 정보를 입력할 것을 요청할 수 있다.For example, when the print condition satisfies the minimum print content count, the
다른 예를 들어 프린터 제어부(3600)는 인쇄 조건이 인쇄 명령의 포함 여부일 때, 획득한 바코드 정보에 인쇄 명령이 포함되지 않은 경우, 인쇄 명령을 포함하는 바코드 정보의 입력을 요청할 수 있다.For example, when the print condition includes the print command, the
또 다른 예를 들어 프린터 제어부(3600)는 인쇄 조건을 만족하지 않는 경우 미리 정해진 대기 시간 동안 추가적인 바코드 정보의 입력을 기다릴 수 있으며, 미리 정해진 대기 시간 이후에는 강제적으로 인쇄 조건을 만족하는 것으로 판단하여 인쇄를 수행하도록 제어할 수 있다.For example, if the printing condition is not satisfied, the
또 다른 예를 들어 프린터 제어부(3600)는 인쇄 조건을 만족하지 않는 경우 미리 정해진 대기 시간 동안 추가적인 바코드 정보의 입력을 기다릴 수 있으며, 미리 정해진 대기 시간이 경과하는 동안 추가 적인 바코드 정보의 입력이 없는 경우 현재까지 획득한 인쇄 컨텐츠에 기초하여 인쇄 동작을 진행할 수 있다.For example, if the print condition is not satisfied, the
또 다른 예를 들어 프린터 제어부(3600)는 인쇄 조건을 만족하지 않는 경우 미리 정해진 대기 시간 동안 추가적인 바코드 정보의 입력을 기다릴 수 있으며, 미리 정해진 대기 시간이 경과하는 동안 추가 적인 바코드 정보의 입력이 없는 경우 인쇄 동작을 종료하고 초기화 시킬 수 있다. 여기서 초기화는 최초 바코드 정보를 획득하기 전 대기 상태로의 회귀를 의미할 수 있다.For example, if the print condition is not satisfied, the
프린터 제어부(3600)는 인쇄 컨텐츠 및 미리 정해진 템플릿에 기초하여 인쇄 데이터를 획득할 수 있다(S240). The
프린터 제어부(3600)는 인쇄 조건을 만족하는 경우 인쇄 데이터를 획득할 수 있다.The
프린터 제어부(3600)는 인쇄 컨텐츠 및 미리 정해진 기본 템플릿에 기초하여 인쇄 데이터를 획득하는데 있어서 몇몇 사항을 고려하여 인쇄 데이터를 획득할 수 있다.The
예를 들어 프린터 제어부(3600)는 획득한 인쇄 컨텐츠가 미리 정해진 기본 템플릿에 미리 설정된 최대 인쇄 컨텐츠를 초과하는 지 여부를 판단할 수 있다. For example, the
프린터 제어부(3600)는 인쇄 컨텐츠가 기본 템플릿에 미리 설정된 최대 인쇄 컨텐츠를 초과하는 지 여부에 대한 판단 결과에 따라 다양한 동작을 수행할 수 있다.The
인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 이하인 경우 프린터 제어부(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
인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 초과인 경우 프린터 제어부(3600)는 미리 정해진 설정에 기초하여 인쇄 데이터를 획득할 수 있다.When the print content exceeds the preset maximum print content in the template, the
예를 들어 프린터 제어부(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
다른 예를 들어 프린터 제어부(3600)는 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 수를 초과한 경우 초과한 인쇄 컨텐츠에 대해서는 추가적으로 인쇄 데이터를 획득할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 최대 인쇄 컨텐츠의 수가 2개이고, 획득한 인쇄 컨텐츠가 제1 인쇄 컨텐츠, 제2 인쇄 컨텐츠 및 제3 인쇄 컨텐츠로 총 3개인 경우, 제1 인쇄 데이터의 제1 변수 블록에 제1 인쇄 컨텐츠를 설정하고, 제1 인쇄 데이터의 제2 변수 블록에는 제2 인쇄 컨텐츠를 설정하여 제1 인쇄 데이터를 획득할 수 있으며, 제3 인쇄 컨텐츠를 제2 인쇄 데이터의 제1 변수 블록에 설정하여 제2 인쇄 데이터를 획득할 수 있다. In another example, the
제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
다른 예를 들어 프린터 제어부(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
프린터 제어부(3600)는 인쇄 데이터에 기초하여 인쇄 동작을 수행할 수 있다 (S250).The
프린터 제어부(3600)는 인쇄 데이터에 기초하여 인쇄 동작을 수행하도록 프린터 인쇄부(3500)를 제어할 수 있다.The
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
프린터 제어부(3600)는 리더부(2000)로부터 바코드 정보를 획득할 수 있다 (S210).The
프린터 제어부(3600)는 프린터 통신부(3100)를 통하여 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 획득할 수 있다.The
프린터 제어부(3600)는 리더부(2000)로부터 획득한 신호를 변환할 수 있다. 예를 들어 프린터 제어부(3600)는 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 프린터(3000)에서 인식 가능한 프린터 언어로 변환할 수 있다. 이때, 프린터 제어부(3600)는 바코드 정보가 프린터 언어로 작성된 경우 바코드 정보의 프린터 언어로의 변환을 생략할 수 있다.The
프린터 제어부(3600)는 바코드 정보에 기초하여 인쇄 컨텐츠 및 템플릿 정보를 획득할 수 있다(S310).The
프린터 제어부(3600)는 인쇄 컨텐츠를 획득할 수 있다.The
프린터 제어부(3600)는 바코드 정보에는 적어도 하나의 인쇄 컨텐츠가 포함될 수 있다. 따라서 프린터 제어부(3600)는 바코드 정보에 기초하여 적어도 하나의 인쇄 컨텐츠를 획득할 수 있다. 예를 들어 프린터 제어부(3600)는 '청과', '생필품', '가전' 등과 같이 인쇄물에서 템플릿에 의해 정해진 위치에 인쇄될 문자, 기호 및 그래픽 등과 같은 인쇄 컨텐츠를 획득할 수 있다.The
프린터 제어부(3600)는 바코드 정보에 포함된 템플릿 정보를 획득할 수 있다.The
프린터 제어부(3600)는 템플릿 정보를 식별할 수 있는 템플릿 정보 식별자에 기초하여 바코드 정보로부터 템플릿 정보를 획득할 수 있다. 템플릿 정보 식별자는 템플릿 정보의 시작 및 종료 중 적어도 하나를 식별하기 위하여 미리 정해진 정보를 나타내는 것으로, 시작 및 종료 모두를 식별할 경우에는 시작을 식별하기 위한 식별자 및 종료를 식별하기 위한 식별자로 서로 동일한 식별자가 사용될 수 있으나, 이에 한정되지 않고 선택에 따라 서로 다른 식별자가 사용될 수 있다.The
프린터 제어부(3600)는 인쇄에 사용할 템플릿 데이터를 획득할 수 있다(S320).The
프린터 제어부(3600)는 템플릿 정보에 기초하여 인쇄에 사용할 템플릿 데이터를 획득할 수 있다The
프린터 제어부(3600)는 템플릿 정보에 포함된 데이터에 따라 다양한 방법으로 템플릿 데이터를 획득할 수 있다.The
예를 들어, 템플릿 정보에 포함된 데이터가 템플릿 식별 정보인 경우 프린터 제어부(3600)는 프린터 저장부(3400)에 미리 저장된 템플릿 데이터 중 템플릿 식별 정보에 대응하는 템플릿 데이터가 존재하는 지 여부를 판단할 수 있다. 프린터 제어부(3600)는 템플릿 식별 정보에 대응하는 템플릿 데이터가 존재하는 경우 템플릿 데이터에 대응하는 템플릿 데이터를 인쇄에 사용할 템플릿 데이터로 획득할 수 있다.For example, when the data included in the template information is the template identification information, the
다른 예를 들어 템플릿 정보가 템플릿 데이터로 구성된 경우 프린터 제어부(3600)는 템플릿 정보를 인쇄에 사용할 템플릿 테이터로 획득할 수 있다.For example, when the template information is composed of template data, the
프린터 제어부(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
예외적인 상황으로, 템플릿 정보에 포함된 데이터가 템플릿 식별 정보인 경우, 프린터 저장부(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
프린터 제어부(3600)는 인쇄 조건을 만족하는 지 여부를 판단할 수 있다(S230).The
템플릿 데이터에는 다양한 인쇄 조건이 미리 설정될 수 있다. 예를 들어 템플릿 데이터에는 인쇄 개시에 필요한 최소 인쇄 컨텐츠가 인쇄 조건으로 미리 설정될 수 있다.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
프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함된 경우 인쇄 조건을 만족하는 것으로 판단할 수 있다.The
이를 위하여 프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다.For this purpose, the
예를 들어 프린터 제어부(3600)는 바코드 정보에 인쇄 명령을 식별할 수 있는 인쇄 명령 식별자에 기초하여 바코드 정보에 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 인쇄 명령의 시작을 식별하기 위한 인쇄 명령 식별자'/'의 존재 여부를 판단할 수 있다. 또한 프린터 제어부(3600)는 인쇄 명령 식별자 뒤에 인쇄 명령이 존재하는지 여부를 더 고려할 수 있다. 즉 '/start'와 같이 인쇄 명령 식별자 '/'뒤에 실제 인쇄 명령어인 'start'가 존재 하는 지 여부를 더 고려하여 인쇄 명령의 존재 여부를 판단할 수 있다.For example, the
다른 예를 들어 프린터 제어부(3600)는 바코드 정보에 미리 정해진 인쇄 명령이 포함되어 있는지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 'start'와 같은 미리 정해진 인쇄 명령이 바코드 정보에 포함되어 있는지 여부를 판단할 수 있다.In another example, the
프린터 제어부(3600)는 인쇄 컨텐츠 및 템플릿 데이터에 기초하여 인쇄 데이터를 획득할 수 있다(S340).The
프린터 제어부(3600)는 인쇄 컨텐츠 및 미리 정해진 템플릿에 기초하여 인쇄 데이터를 획득하는데 있어서 몇몇 사항을 고려하여 인쇄 데이터를 획득할 수 있다.The
예를 들어 프린터 제어부(3600)는 획득한 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠를 초과하는 지 여부를 판단할 수 있다.For example, the
프린터 제어부(3600)는 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠를 초과하는 지 여부에 대한 판단 결과에 따라 다양한 동작을 수행할 수 있다.The
인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 이하인 경우 프린터 제어부(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
인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 초과인 경우 프린터 제어부(3600)는 미리 정해진 설정에 따라 인쇄 데이터를 획득할 수 있다.When the print content exceeds the preset maximum print content in the template, the
예를 들어 프린터 제어부(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
다른 예를 들어 프린터 제어부(3600)는 인쇄 컨텐츠가 템플릿에 미리 설정된 최대 인쇄 컨텐츠 수를 초과한 경우 초과한 인쇄 컨텐츠에 대해서는 추가적으로 인쇄 데이터를 획득할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 최대 인쇄 컨텐츠의 수가 2개이고, 획득한 인쇄 컨텐츠가 제1 인쇄 컨텐츠, 제2 인쇄 컨텐츠 및 제3 인쇄 컨텐츠로 총 3개인 경우, 제1 인쇄 데이터의 제1 변수 블록에 제1 인쇄 컨텐츠를 설정하고, 제1 인쇄 데이터의 제2 변수 블록에는 제2 인쇄 컨텐츠를 설정하여 제1 인쇄 데이터를 획득할 수 있으며, 제3 인쇄 컨텐츠를 제2 인쇄 데이터의 제1 변수 블록에 설정하여 제2 인쇄 데이터를 획득할 수 있다. In another example, the
제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
프린터 제어부(3600)는 인쇄 데이터에 기초하여 인쇄 동작을 수행하도록 프린터 인쇄부(3500)를 제어할 수 있다.The
3-4) 복수의 3-4) 템플릿에 대한 인쇄 동작Printing behavior for templates
도 11은 본 발명의 변형예에 따른 바코드(1000)로부터 획득한 정보를 이용한 프린트 동작을 나타내는 순서도이다.11 is a flowchart showing a printing operation using information obtained from the
리더부(2000)로부터 바코드 정보를 획득하는 단계(S210), 인쇄 컨텐츠 및 템플릿 데이터를 획득하는 단계(S310), 추가 템플릿이 존재하는지 여부를 판단하는 단계(S410), 추가 템플릿이 존재하는 경우 추가 템플릿에 대한 인쇄 컨텐츠를 획득하는 단계(S420), 인쇄 컨텐츠 및 템플릿 데이터에 기초하여 인쇄 데이터를 획득하는 단계(S340) 및 인쇄 데이터에 기초하여 인쇄 동작을 수행하는 단계(S250)를 포함할 수 있다.A step S210 of obtaining barcode information from the
프린터 제어부(3600)는 리더부(2000)로부터 바코드 정보를 획득할 수 있다 (S210). The
프린터 제어부(3600)는 프린터 통신부(3100)로부터 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 획득할 수 있다. 이때 획득한 바코드 정보는 제1 시점에 획득한 제1 바코드 정보일 수 있다.The
프린터 제어부(3600)는 리더부(2000)로부터 획득한 신호를 변환할 수 있다. 예를 들어 프린터 제어부(3600)는 리더부(2000)가 바코드를 판독하여 획득한 바코드 정보를 프린터(3000)에서 인식 가능한 프린터 언어로 변환할 수 있다. 이때, 프린터 제어부(3600)는 바코드 정보가 프린터 언어로 작성된 경우 바코드 정보의 프린터 언어로의 변환을 생략할 수 있다.The
프린터 제어부(3600)는 인쇄 컨텐츠 및 템플릿 데이터를 획득할 수 있다 (S310). The
프린터 제어부(3600)는 인쇄 컨텐츠를 획득할 수 있다.The
프린터 제어부(3600)는 바코드 정보에는 적어도 하나의 인쇄 컨텐츠가 포함될 수 있다. 따라서 프린터 제어부(3600)는 바코드 정보에 기초하여 적어도 하나의 인쇄 컨텐츠를 획득할 수 있다. 예를 들어 프린터 제어부(3600)는 '청과', '생필품', '가전' 등과 같이 인쇄물에서 템플릿에 의해 정해진 위치에 인쇄될 문자, 기호 및 그래픽 등과 같은 인쇄 컨텐츠를 획득할 수 있다.The
프린터 제어부(3600)는 바코드 정보에 포함된 템플릿 정보를 획득할 수 있다.The
프린터 제어부(3600)는 템플릿 정보를 식별할 수 있는 템플릿 정보 식별자에 기초하여 바코드 정보로부터 템플릿 정보를 획득할 수 있다. 템플릿 정보 식별자는 템플릿 정보의 시작 및 종료 중 적어도 하나를 식별하기 위한 미리 정해진 식별자로 시작 및 종료 모두를 식별할 때는 시작을 식별하기 위한 식별자와 종료를 식별하기 위한 식별자는 서로 같은 식별자가 사용될 수 있으나, 이에 한정되지 않고 선택에 따라 서로 다른 식별자로 사용될 수 있다.The
프린터 제어부(3600)는 추가 템플릿이 존재하는지 여부를 판단할 수 있다(S410).The
프린터 제어부(3600)는 현재까지 획득한 인쇄 컨텐츠 및 템플릿 데이터 외에 추가 되어야 할 인쇄 컨텐츠 및/또는 템플릿 데이터가 존재하는 지 여부를 판단할 수 있다.The
프린터 제어부(3600)는 바코드 정보, 사용자 입력 및 기타 설정 등에 기초하여 추가 적인 인쇄 컨텐츠 및/또는 템플릿 데이터가 존재하는 지 여부를 판단할 수 있다.The
예를 들어 프린터 제어부(3600)는 바코드 정보에 인쇄 명령이 포함되어 있지 않은 경우 추가 되어야 할 인쇄 컨텐츠 및/또는 템플릿 데이터가 존재하는 것으로 판단할 수 있다.For example, the
다른 예를 들어 프린터 제어부(3600)는 프린터 입력부(3300)는 프린터 입력부(3300)를 통하여 인쇄 개시 명령이 입력되지 않으면 추가 되어야 할 인쇄 컨텐츠 및/또는 템플릿 데이터가 존재하는 것으로 판단할 수 있다.In another example, the
또 다른 예를 들어 프린터 제어부(3600)는 미리 설정된 템플릿 수에 기초하여 추가 템플릿 데이터가 존재하는 지 여부를 판단할 수 있다. 보다 구체적인 예를 들어 프린터 제어부(3600)는 인쇄물에 포함될 템플릿 3개로 설정되어 있는 상태에서 1개 템플릿에 대한 템플릿 데이터 획득 및 인쇄 컨텐츠의 적용이 완료된 경우 남아 있는 2개의 템플릿에 대한 추가적인 템플릿 데이터의 획득이 필요한 것으로 판단할 수 있다.For example, the
프린터 제어부(3600)는 추가 템플릿이 존재하는 경우 추가 템플릿에 대한 인쇄 컨텐츠 및/또는 템플릿 데이터를 획득할 수 있다(S420).The
프린터 제어부(3600)는 리더부(2000)로부터 추가 템플릿에 대한 바코드 정보를 획득할 수 있다. 이때 획득한 바코드 정보는 제1 시점보다 이후 시점인 제2 시점에 획득한 제2 바코드 정보일 수 있다. 또한 제1 시점에 획득한 제1 바코드 정보와 제2 시점에 획득한 제2 바코드 정보는 서로 상이할 있으며, 선택에 따라 제1 코드 정보와 제2 바코드 정보는 동일할 있다.The
또한 프린터 제어부(3600)는 추가 템플릿에 대한 바코드 정보에 기초하여 추가 템플릿에 대한 인쇄 컨텐츠 및/또는 템플릿 데이터를 획득할 수 있다.Further, the
프린터 제어부(3600)는 추가 템플릿에 대한 인쇄 컨텐츠 및/또는 템플릿 데이터를 획득한 후 다시 추가적인 템플릿 데이터의 획득 필요한 지 여부를 판단할 수 있으며, 다시 추가적인 템플릿 데이터의 획득이 필요한 것으로 판단된 경우 리더부(2000)로부터 다시 추가 템플릿에 대한 바코드 정보를 획득할 수 있다.The
프린터 제어부(3600)는 인쇄 컨텐츠 및 템플릿 데이터에 기초하여 인쇄 데이터를 획득할 수 있다(S340).The
프린터 제어부(3600)는 인쇄 데이터에 기초하여 인쇄 동작을 수행할 수 있다 (S250).The
도 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
구체적인 일 실시예에서, 프린터(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
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
프린터 제어부(3600)는 프린터 통신부(3100)로부터 리더부(2000)가 바코드(1000)를 판독하여 획득한 바코드 정보를 획득할 수 있다.The
프린터 제어부(3600)는 바코드 정보에 템플릿 데이터에 대한 설정 명령이 포함되어 있는지 여부를 판단할 수 있다(S510). The
프린터 제어부(3600)는 바코드 정보에 설정 명령이 포함되었음을 알리는 식별자의 존재 여부에 기초하여 바코드 정보에 설정 명령이 포함되어 있는 지 여부를 판단할 수 있다.The
프린터 제어부(3600)는 설정 명령이 포함된 경우 설정 명령의 타입을 판단할 수 있다(S520). The
설정 명령의 타입은 예를 들어 신규 템플릿 데이터 추가, 기본 템플릿 데이터 변경 및 인쇄 설정 변경 등일 수 있다.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
예를 들어 프린터 제어부(3600)는 설정 명령에 대한 식별자에 기초하여 바코드 정보에서 설정 명령 데이터를 식별할 수 있으며, 식별된 설정 명령 데이터 대응하는 설정 명령을 판단할 수 있다.For example, the
다른 예를 들어 프린터 제어부(3600)는 바코드 정보에 포함된 데이터 중 설정 명령에 대응하는 설정 명령 데이터의 존재 여부에 기초하여 설정 명령의 타입을 판단할 수 있다.In another example, the
프린터 제어부(3600)는 설정 명령이 템플릿 추가인 경우 바코드 정보에 포함된 템플릿 데이터를 미리 저장된 템플릿 데이터와 식별 가능하도록 바코드 정보에 포함된 식별 정보와 매칭하여 저장할 수 있다(S530).If the setting command is a template addition, the
프린터 제어부(3600)는 프린터 저장부(3400)에 바코드 정보에 포함된 식별 정보가 미리 저장되어 있지 않는 경우 바코드 정보에 포함된 템플릿 데이터를 식별 정보와 매칭하여 신규 템플릿 데이터로 추가할 수 있다.If the identification information included in the barcode information is not stored in the
프린터 제어부(3600)는 프린터 저장부(3400)에 바코드 정보에 포함된 식별 정보와 동일한 식별 정보가 미리 저장된 경우 식별 정보와 매칭되어 저장된 템플릿 데이터를 바코드 정보에 포함된 템플릿 데이터로 갱신할 수 있다.The
프린터 제어부(3600)는 프린터 저장부(3400)에 바코드 정보에 포함된 식별 정보와 동일한 식별 정보가 미리 저장된 경우 바코드 정보에 포함된 식별 정보의 명칭을 변경하여 템플릿 데이터와 변경된 식별 정보를 매칭하여 저장할 수 있다.The
또한, 프린터 제어부(3600)는 설정 명령이 기본 템플릿 데이터 변경인 경우 프린터(3000)에 미리 설정된 기본 템플릿을 바코드 정보에 포함된 템플릿 데이터로 갱신할 수 있다.Further, the
또한, 프린터 제어부(3600)는 설정 명령이 기본 템플릿 데이터 변경인 경우 프린터(3000)에 미리 설정된 기본 템플릿을 프린터 저장부(3400)에 저장된 템플릿 데이터 중 바코드 정보에 포함된 템플릿 식별 정보에 대응하는 템플릿 데이터로 갱신할 수 있다.If the setting command is the basic template data change, the
상기에서는 본 발명에 따른 실시예를 기준으로 본 발명의 구성과 특징을 설명하였으나 본 발명은 이에 한정되지 않으며, 본 발명의 사상과 범위 내에서 다양하게 변경 또는 변형할 수 있음은 본 발명이 속하는 기술분야의 당업자에게 명백한 것이며, 따라서 이와 같은 변경 또는 변형은 첨부된 특허청구범위에 속함을 밝혀둔다.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
3000
3200
3400
3600
5000 terminal 5100 terminal communication part
5200
5400
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.
상기 인쇄 컨텐츠 및 상기 변수 블록이 복수인 경우, 상기 복수의 인쇄 컨텐츠의 순서에 따라 상기 복수의 변수 블록에 상기 인쇄 컨텐츠를 적용하는 것을 특징으로 하는
프린터의 제어 방법.
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.
상기 인쇄 컨텐츠의 수가 상기 템플릿 데이터에서 미리 정해진 최대값을 초과하는 경우 상기 최대값에 대응하는 상기 인쇄 컨텐츠를 상기 변수 블록에 설정하여 제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.
상기 인쇄 조건을 만족하는 지 여부를 판단하는 단계는
상기 인쇄 컨텐츠의 수가 최소 인쇄 컨텐츠 수 이상인 경우 상기 인쇄 조건을 만족하는 것으로 판단하는 단계인
프린터의 제어 방법.
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.
상기 인쇄 조건을 만족하는 지 여부를 판단하는 단계는
상기 바코드 정보에 인쇄 명령이 포함된 경우 상기 인쇄 조건을 만족하는 것으로 판단하는 단계인
프린터의 제어 방법.
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.
상기 템플릿 데이터를 획득하는 단계는
상기 프린터에 미리 저장된 템플릿 데이터 중 상기 템플릿 정보에 포함된 템플릿 식별 정보에 대응하는 템플릿 데이터를 획득하는 단계인
프린터의 제어 방법.
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.
상기 템플릿 데이터를 획득하는 단계는
상기 템플릿 정보에 포함된 상기 템플릿 데이터를 상기 인쇄에 사용할 템플릿 데이터로 획득하는 단계인
프린터의 제어 방법.
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.
상기 인쇄 조건을 만족하는 지 여부를 판단하는 단계는
상기 바코드 정보에 인쇄 명령이 포함된 경우 상기 인쇄 조건을 만족하는 것으로 판단하는 단계인
프린터의 제어 방법.
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.
상기 추가적인 바코드 정보의 획득이 필요한 지 여부를 판단하는 단계는
바코드 정보에 인쇄 명령이 포함되어 있지 않은 경우 추가적인 바코드 정보의 획득이 필요한 것으로 판단하는 단계인
프린터의 제어 방법.
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.
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.
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)
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)
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 |
-
2017
- 2017-03-21 KR KR1020170035255A patent/KR101933785B1/en active IP Right Grant
Cited By (2)
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 |