KR100269781B1 - Printer controll command changing method for ecr - Google Patents

Printer controll command changing method for ecr Download PDF

Info

Publication number
KR100269781B1
KR100269781B1 KR1019970039744A KR19970039744A KR100269781B1 KR 100269781 B1 KR100269781 B1 KR 100269781B1 KR 1019970039744 A KR1019970039744 A KR 1019970039744A KR 19970039744 A KR19970039744 A KR 19970039744A KR 100269781 B1 KR100269781 B1 KR 100269781B1
Authority
KR
South Korea
Prior art keywords
printer
control command
cash register
code
command code
Prior art date
Application number
KR1019970039744A
Other languages
Korean (ko)
Other versions
KR19990017009A (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 KR1019970039744A priority Critical patent/KR100269781B1/en
Publication of KR19990017009A publication Critical patent/KR19990017009A/en
Application granted granted Critical
Publication of KR100269781B1 publication Critical patent/KR100269781B1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0018Constructional details, e.g. of drawer, printing means, input means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1297Printer code translation, conversion, emulation, compression; Configuration of printer parameters
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE: A method for changing printer control command of a cash register is provided to control a printer smoothly also in case that another printer is installed in the cash register newly and is used. CONSTITUTION: In the method for changing printer control command of the cash register, a few stages are included. In the stage of 2, changing of the printer control command code is requested. In the stage of 4, the newly edited print control command code is received. In the stage of 6, the changed end code is carried out. In the stage of 10, the control command changing flag is set. In the stage of 8, the received code is stored. If the changing of the printer control command code is not requested in the stage of 2, the printer control command is received in the stage of 12. In the stage of 14, the control command changing flag is set. In the stage of 16, the newly edited print control command code is referred. If the control command changing flag is not set in the stage of 14, the original printer control command code is referred in the stage of 18. In the stage of 20, the appropriate control is carried out.

Description

금전 등록기의 프린터 제어명령 수정방법(PRINTER CONTROL COMMAND CHANGING METHOD FOR ECR)PRINTER CONTROL COMMAND CHANGING METHOD FOR ECR

본 발명은 금전 등록기의 프린터 제어명령 수정방법에 관한 것으로서, 더욱 상세하게는 새로 편집된 제어명령 코드를 프린터의 램에 기록함으로써 명령이 체계가 상이한 프린터가 금전 등록기에 새로 장착되거나 접속되어 사용될 때에도 상기 프린터의 제어가 무리없이 이루어질 수 있도록 하는 금전 등록기의 프린터 제어명령 수정방법에 관한 것이다.The present invention relates to a method for modifying a printer control command of a cash register, and more particularly, by recording a newly edited control command code in a RAM of a printer, even when a printer having a different command system is newly installed or connected to a cash register. The present invention relates to a method of modifying a printer control command of a cash register, so that the printer can be controlled without difficulty.

일반적으로 금전 등록기는 상품 판매에 수반하는 각종 데이타를 처리하여 사용자에게 결과를 일러줌으로써 정보 관리를 원활하게 하기 위해 사용되는 기기를 일컫는 바, 간단한 판매의 사무 처리만을 할 수 있는 것에서부터 시장 조사, 재고 조사 등의 유통 경제를 종합적으로 관리할 수 있는 POS(Point Of Sales) 시스템까지 그 범위가 다양하다. 이하, 본 명세서에서는 마이크로 프로세서에 의해 제어되는 전자식 금전 등록기라는 용어를 저급의 금전 등록기에서 POS 단말기까지를 포함하는 광의적인 개념으로 사용한다.In general, a cash register refers to a device used to facilitate information management by processing various data accompanying product sales and telling a result to a user. It ranges from point of sales system to comprehensively manage the distribution economy such as research. Hereinafter, in this specification, the term electronic cash register controlled by a microprocessor is used as a broad concept including a low-end cash register to a POS terminal.

전술한 바와 같은 금전 등록기를 이용한 데이터 처리결과는 금전 등록기에 내장 또는 외장된 프린터를 통해 인쇄되어 고객용 영수지로서 발행됨으로써 고객으로 하여금 상품 구입시 이루어진 금전 거래를 신뢰할 수 있게 한다. 또한, 상기 프린터 상에 별도로 더 구비된 인쇄용지에 일정기간 동안의 거래 내용이 연속적으로 인쇄되어 발행되는 감시지는 금전 등록기를 사용하고자 하는 자가 일정 기간의 상품판매에 관해 세무감사를 받아야하거나 그 판매 내용을 확인할 필요가 있을 때 이용된다.The data processing result using the cash register as described above is printed through a printer built in or external to the cash register and issued as a resin for the customer so that the customer can trust the money transaction made when purchasing the product. In addition, the monitoring paper that is continuously printed on the printing paper provided on the printer for a certain period of time is issued continuously, the person who intends to use the cash register should be tax audited for the sale of goods for a certain period or the sales content It is used when it is necessary to check.

한편, 상기와 같은 프린터를 이용한 각종 인쇄작업은 금전 등록기의 전반적인 동작을 제어하는 중앙 처리부 및 프린터에 독립적으로 장착된 마이크로 컴퓨터(이하 본 명세서 및 특허청구범위의 란에서 "마이콤"으로 표기함)의 제어하에 수행된다. 상기 수행과정을 상세히 설명하면, 우선 상품 판매에 따른 데이터가 금전 등록기로 입력됨에 따라 금전 등록기의 중앙 처리부는 상기 입력된 데이터를 인쇄하도록 요구하는 신호를 프린터로 전송한다. 이에 따라 프린터에 상기 요구신호가 수신되면 프린터는 인쇄하여야 할 데이터를 금전 등록기로부터 전송받아 상기 인쇄작업을 수행하게 되는데, 상기한 바대로 프린터 상에서 이루어지는 일련의 작업들은 프린터에 장착된 상기 마이콤의 제어하에 수행된다.On the other hand, the various printing jobs using the printer as described above of the microprocessor (hereinafter referred to as "mycom" in the column of the present specification and claims) that is independently attached to the central processing unit and the printer to control the overall operation of the cash register. Under control. In detail, the data processing according to the merchandise sales is first input to the cash register, so that the central processing unit of the cash register transmits a signal to the printer requesting to print the input data. Accordingly, when the printer receives the request signal, the printer receives data to be printed from the cash register to perform the print job. As described above, a series of jobs performed on the printer are controlled under the control of the microcomputer installed in the printer. Is performed.

그리고 전술한 바와 같은 인쇄작업 중 각종 동작의 지시 및 제어는 금전 등록기와 프린터 사이를 오가며 각종 동작의 지시 및 제어를 수행하는 코드, 소위 제어명령 코드에 의해 이루어지는데, 상기 코드는 프린터 제조회사별로 그 체계가 서로 다르게 설정되는 것이 일반적이다.And the instruction and control of the various operations during the printing operation as described above is made by a code for performing the instruction and control of the various operations between the cash register and the printer, the so-called control command code, the code for each printer manufacturer It is common for systems to be set up differently.

따라서 기존에 사용되던 프린터를 다른 제조회사의 프린터로 바꾼다든지, 또는 대형 매장에서 금전 등록기나 프린터의 설치위치를 바꿈에 따라 기존에 접속되었던 프린터 이외의 프린터가 금전 등록기 상에 접속되는 경우에 있어서, 이전에 프린터 제어를 위해 프린터로 송신하던 제어명령 코드가 새로운 프린터 상에서는 제기능을 수행하지 못하는 경우가 발생되는 문제점이 있다.Therefore, in the case of changing a printer used in another manufacturing company, or changing a cash register or a printer installation location in a large store, when a printer other than the printer connected to the existing printer is connected to the cash register, There is a problem that a control command code previously transmitted to a printer for printer control fails to perform a function on a new printer.

본 발명은 전술한 문제점을 해결하기 위하여 안출된 것으로서, 새로 편집된 제어명령 코드를 프린터의 램에 기록함으로써 명령어 체계가 상이한 프린터가 금전 등록기에 새로 장착되거나 접속되어 사용될 때에도 상기 프린터의 제어가 무리없이 이루어질 수 있도록 하는 금전 등록기의 프린터 제어명령 수정방법을 제공함에 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and by recording the newly edited control command code into the printer's RAM, the control of the printer is unreasonable even when a printer having a different command system is newly installed or connected to a cash register. It is an object of the present invention to provide a method for modifying a printer control command of a cash register that can be made.

본 발명의 금전 등록기의 프린터 제어명령 수정방법은, 금전 등록기부터 전송된 제반 데이터가 일시 저장되는 램이 마련되며 상기 금전 등록기를 통한 데이타 처리 결과의 프린트를 제어하는 마이콤을 구비한 프린터에 있어서, 상기 램에 저장된 프린터 제어 명령 코드를 수정하고자 하는 신호가 전송되는지 여부를 판단하는 단계, 상기 판단 단계에서의 판단 결과, 상기 수정 요구 신호가 수신된 경우 새로 편집된 프린터 제어 명령 코드를 상기 금전 등록기로부터 받는 단계, 상기 새로 편집된 프린터 제어 명령 코드를 받는 단계를 수행한 후에, 수정 종료 코드의 수신 여부를 판별하는 단계, 상기 판별 단계에서 수정 종료 코드가 수신된 경우. 이 수신된 코드를 상기 램에 저장하고 상기 마이콤으로 플래그인 제어 명령 수정 플래그를 세트시키는 단계, 상기 판단 단계에서 판단 결과, 상기 수정 요구 신호가 수신되지 않은 경우에 상기 램에 저장되어 있는 프린터 제어 명령 코드의 전송 여부를 판별하여, 이 프린터 제어 명령 코드가 전송되지 않은 경우 대기 상태에 있는 단계, 상기 프린터 제어 명령 코드를 판별하는 단계에서, 이 프린터 제어 명령 코드가 전송되는 경우에 상기 마이콤이 제어 명령 수정플래그의 세트 여부를 판별는 단계, 상기 제어 명령 수정플래그가 세트된 경우에 상기 램에 저장되어 있는 새로 편집된 제어 명령 코드를 참조한 후 상기 프린터의 제어를 수행하는 단계, 및 상기 제어 명령 수정플래그의 세트 여부를 판별하는 단계에서 제어 명령 수정 플래그가 클리어된 경우에 상기 램에 저장된 기존의 제어 명령 코드를 참조한 후 상기 프린터의 제어를 수행하는 단계를 포함하는 것을 특징으로 한다.In the method of modifying a printer control command of a cash register of the present invention, a RAM is provided in which all data transmitted from a cash register is temporarily stored, and a printer having a microcomputer for controlling printing of data processing results through the cash register, wherein Determining whether a signal for modifying the printer control command code stored in the RAM is transmitted; if the correction request signal is received as a result of the determination in the determining step, receiving a newly edited printer control command code from the cash register; And after the step of receiving the newly edited printer control command code, determining whether or not to receive a modification termination code, when the modification termination code is received in the determination step. Storing the received code in the RAM and setting a control command correction flag flagged to the micom; and a printer control command stored in the RAM when the correction request signal is not received as a result of the determination in the determination step. Determining whether or not to transmit the code, and if the printer control command code is not transmitted, in the waiting state; and in the determining of the printer control command code, when the printer control command code is transmitted, the micom controls the command. Determining whether the correction flag is set, performing control of the printer after referring to the newly edited control command code stored in the RAM when the control command correction flag is set, and performing the control command correction flag. When the modify control command flag is cleared in the step of determining whether it is set. After the reference to the existing control command code stored in the RAM is characterized in that it comprises the step of performing the control of the printer.

제1도는 일반적인 금전 등록기의 시스템 블록도.1 is a system block diagram of a general cash register.

제2도는 본 발명이 적용되는 금전 등록기에 구비된 프린터의 시스템 블록도.2 is a system block diagram of a printer provided in a cash register to which the present invention is applied.

제3도는 기존의 제어명령 코드와 새로 편집된 제어명령 코드를 비교하여 보인 표.3 is a table comparing existing control command codes with newly edited control command codes.

제4도는 본 발명의 금전 등록기의 프린터 제어명령 수정방법을 설명하기 위한 순서도이다.4 is a flowchart illustrating a method of modifying a printer control command of the cash register of the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : 중앙처리부 20 : 프린터10: central processing unit 20: printer

21 : 마이콤 22 : 인자부21: micom 22: printing part

23, 40 : 롬 24, 50 : 램23, 40: Romans 24, 50: Ram

25, 70 : 전원부 26, 80 : 백업 회로부25, 70: power supply unit 26, 80: backup circuit unit

30 : 키입력부 60 : 표시부30: key input unit 60: display unit

이하에서는 첨부 도면을 참조하여 본 발명의 금전 등록기의 프린터 제어명령 수정방법의 바람직한 실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the printer control command modification method of the cash register of the present invention.

도 1은 일반적인 금전 등록기의 시스템 블록도이다. 이 도면에서 도시된 바와 같이 일반적인 금전 등록기는 금전 등록기의 전반적인 동작을 제어하는 중앙 처리부(10), 중앙 처리부(10)의 제어하에 고객용 영수증, 감사지 및 각종 데이터 처리 결과를 문서로 발행하는 프린터(20), 모든 지정 신호 및 금전 등록을 위한 각종 키코드를 발생하는 키 입력부(30), 시스템 동작용 프로그램 내장되어 있는 롬(40), 금전 등록 작업 도중 발생한 각종 데이터가 일시 저장되는 램(50), 중앙 처리부(10)의 제어하에 금전 거래 등에 관련된 각종 정보를 표시기를 통해 표시하는 표시부(60), 금전 등록기 전체에 전원을 공급하는 전원부(70), 및 정전 시에도 금전 등록기의 작업 도중 발생되어 램(50)에 일시 저장된 제반 데이터를 보존할 수 있도록 전원을 공급하는 백업 회로부(80)를 구비하여 이루어진다.1 is a system block diagram of a general cash register. As shown in this figure, a general cash register is a printer for issuing documents for customer receipts, audit papers and various data processing results under the control of the central processing unit 10, the central processing unit 10 that controls the overall operation of the cash register. 20, a key input unit 30 for generating all the specified signals and various key codes for money registration, a ROM 40 incorporating a system operation program, and a RAM 50 for temporarily storing various data generated during the money registration operation. ), The display unit 60 for displaying various information related to money transactions and the like under the control of the central processing unit 10, the power supply unit 70 for supplying power to the entire cash register, and the operation of the cash register even during a power failure. And a backup circuit 80 for supplying power so as to preserve all data temporarily stored in the RAM 50.

그리고, 도 2는 본 발명이 적용되는 금전 등록기에 구비된 프린터(20)의 시스템 블록도이다. 이 도면에 도시된 바와 같이 상기 프린터(20)는 프린터(20)의 전반적인 동작 및 금전 등록기와의 신호 입출력을 제어하는 마이콤(21), 마이콤(10)의 제어하에 각종 인쇄작업을 수행하는 인자부(22), 프린터의 시스템 동작용 프로그램 및 본 발명의 금전 등록기의 프린터 제어명령 수정방법을 구현하는 프로그램이 내장되어 있는 롬(23), 상품 판매시 금전 등록기로 입력되어 처리된 후 인쇄를 위해 프린터로 전송된 각종 데이터가 일시 저장되며 각종 프린터 제어명령 코드가 저장되는 램(24), 프린터 전체에 전원을 공급하는 전원부(25), 및 정전 시에도 램(24)에 일시 저장된 제반 데이터를 보존할 수 있도록 전원을 공급하는 백업회로부(26)를 구비하여 이루어진다.2 is a system block diagram of the printer 20 provided in the cash register to which the present invention is applied. As shown in this figure, the printer 20 includes a printing unit for performing various printing operations under the control of the microcomputer 21 and the microcomputer 10 that control the overall operation of the printer 20 and signal input / output with the cash register. (22), a ROM (23) having a program for operating the system of the printer and a program for implementing the printer control command modification method of the cash register of the present invention, a printer for printing after being input to the cash register when the product is sold and processed. The RAM 24 stores various data transferred to the system temporarily and stores various printer control command codes, the power supply unit 25 for supplying power to the entire printer, and all data temporarily stored in the RAM 24 even during a power failure. It is provided with a backup circuit unit 26 for supplying power.

한편, 도 3 은 기존의 제어명령 코드와 새로 편집된 제어명령 코드를 비교하여 보인 표로서, 이는 본 발명의 금전 등록기의 프린터 제어 명령 수정방법이 적용됨에 따라 새로 편집되어 프린터의 램(24)에 저장된 제어 명령 코드의 일예를 보이고자 한 것이다.Meanwhile, FIG. 3 is a table comparing the existing control command code with the newly edited control command code, which is newly edited and applied to the RAM 24 of the printer according to the method of modifying the printer control command of the cash register of the present invention. It is intended to show an example of the stored control command code.

마지막으로 도 4 는 본 발명의 금전 등록기의 프린터 제어 명령 수정방법을 설명하기 위한 순서도이다. 이하에서는 이 순서도 및 상기 도면들을 참조하여 본 발명의 금전 등록기의 프린터 제어 명령 수정방법을 상세히 설명한다.Finally, Figure 4 is a flow chart for explaining a printer control command modification method of the cash register of the present invention. Hereinafter, a method of modifying a printer control command of a cash register of the present invention will be described in detail with reference to this flowchart and the drawings.

상기 순서도에서 보인 바와 같이 단계(S2)에서는 금전 등록기로부터 프린터(20) 상으로 상기 프린터의 램(24)에 저장된 프린터 제어 명령 코드를 수정하고자 요구하는 신호가 전송되는 지의 여부가 판별된다. 상기 수정요구신호는 금전 등록기로부터 발생되는 특정한 코드로써 사전 설정될 수 있는데, 금전 등록기의 키 입력부(30)에 마련된 특정한 키 또는 특정하에 조합된 일련의 키들의 조작을 통해 발생될 수 있다.As shown in the flowchart, in step S2, it is determined whether or not a signal for requesting to correct the printer control command code stored in the RAM 24 of the printer is transmitted from the cash register to the printer 20. The correction request signal may be preset as a specific code generated from the cash register, and may be generated through manipulation of a specific key provided in the key input unit 30 of the cash register or a series of keys combined under the specific.

단계(S2)에서의 판별결과, 프린터(20)에 상기 수정요구 신호가 수신된 경우, 본 발명을 수행하는 프로그램은 단계(S4)로 진행되어 새로 편집되어 금전 등록기로 부터 송신되는 프린터 제어명령 코드를 수신받는다.As a result of the determination in step S2, when the correction request signal is received in the printer 20, the program for carrying out the present invention proceeds to step S4, where the printer control command code is newly edited and sent from the cash register. Receive.

단계(S4)의 수행 후에는 단계(S6)로 진행되어 상기 프린터 제어명령 코드 중 하나로서, 상기 수신 중인 제어명령 코드의 마지막임을 뜻하는 코드, 이른바 수정 종료 코드의 수신여부가 판별된다. 단계(S6)에서의 판별결과 상기 수정종료 코드 이외의 코드가 수신된 경우, 이어지는 단계(S8)에서는 단계(S4)에서 수신된 코드가 프린터의 램(24)에 저장된다. 단계(S8)의 수행 후에는 단계(S4)로 진행되어 금전 등록기로부터 전송되는 제어명령 코드의 수신작업이 계속된다. 그러나, 단계(S6)에서의 판별결과 상기 수정종료 코드가 수신된 경우에는 단계(S10)로 진행되어 프린터의 램(24)에 마련되며 상기 수정종료 코드의 수신여부에 근거하여 세트 또는 클리어되는 플래인 제어명령 수정플래그가 세트된다.After performing step S4, the process proceeds to step S6, where one of the printer control command codes is received, and it is determined whether a code indicating the end of the control command code being received, a so-called modification end code, is received. When a code other than the correction finish code is received as a result of the determination in step S6, in the following step S8, the code received in step S4 is stored in the RAM 24 of the printer. After performing step S8, the process proceeds to step S4 and the reception operation of the control command code transmitted from the cash register is continued. However, when the correction end code is received as a result of the determination in step S6, the process proceeds to step S10 and is provided in the RAM 24 of the printer and is set or cleared based on whether or not the correction end code is received. Control instruction modification flag is set.

한편, 단계(S2)에서의 판별결과 금전 등록기로부터 프린터(20)로 전송된 신호가 프린터 제어명령 코드의 수정요구신호가 아닌 경우, 본 발명을 수행하는 프로그램은 단계(S12)로 진행되어 현재 전송된 신호가 프린터(20)를 제어하는 신호 즉, 프린터 제어명령 코드인 지의 여부가 판별된다. 단계(21)에서의 판별결과 프린터 제어명령 코드가 전송되지 않은 경우에는 계속 프린터 제어명령 코드의 전송이 대기된다. 그러나 단계(S12)에서의 판별결과, 프린터 제어 명령 코드가 전송된 경우에는 단계(S14)로 진행되어 제어 명령 수정플래그의 세트여부가 판별된다.On the other hand, if the signal transmitted from the cash register to the printer 20 is not a correction request signal of the printer control command code in step S2, the program for performing the present invention proceeds to step S12 and is currently transmitted. It is determined whether or not the received signal is a signal for controlling the printer 20, that is, a printer control command code. If the printer control command code has not been sent as a result of the discrimination in step 21, transmission of the printer control command code continues to be waited for. However, when the printer control command code is transmitted as a result of the determination in step S12, the flow advances to step S14 to determine whether or not the control command correction flag is set.

단계(S14)에서와 판별결과, 제어 명령 수정플래그가 세트된 경우에는 단계(S16)로 진행되어 프린터의 램(24)에 저장된 새로 편집된 제어 명령 코드가 참조된 후 단계(S20)에서 상기 프린터(20)의 제어가 이루어진다. 그러나 단계(S14)에서의 판별결과, 제어 명령 수정플래그가 클리어된 경우에는 단계(S18)로 진행되어 프린터의 램(24)에 저장된어 있던 기존의 제어명령 코드가 참조된 후 단계(S20)에서 상기 프린터(20)의 제어가 이루어진다.As a result of the determination in step S14 and when the control command correction flag is set, the process proceeds to step S16 where the newly edited control command code stored in the RAM 24 of the printer is referred to and then the printer in step S20. Control of 20 is made. However, when the determination result in step S14 indicates that the control command correction flag is cleared, the process proceeds to step S18 where the existing control command code stored in the RAM 24 of the printer is referred to in step S20. The printer 20 is controlled.

전술한 바와 같이 수정된 프린터의 제어명령 코드에 의해 프린터(20)가 제어되는 예를 앞서 설명한 도 3 을 보기로 하여 설명하면, 우선 좌측의 기존의 제어명령 코드란에 도시된 코드들이 각각 프린터 초기화, 글자 모양 및 인쇄형태 설정, 인쇄 및 소정의 줄 수 만큼 용지이송, 인터내셔널 코드(일부 아스키코드를 국가별 고유문자로 대치하여 만든 코드)선택 등의 작업 수행을 지시하기 위해 종래에 금전 등록기로부터 프린터(20)로 전송되던 제어 명령 코드이다. 그리고 우측의 수정된 제어 명령 코드란에 도시된 코드들은 프린터(20)에 기존에 접속되었던 금전 등록기와 다른 종류의 금전 등록기가 접속됨에 따라(금전 등록기 상에 기존에 사용되던 것과 다른 종류의 프린터가 접속되는 것과 동일한 경우임.) 상기된 바와 동일한 기능을 수행하기 위해 금전 등록기로부터 발생되어 프린터(20)로 전송되는 제어 명령 코드가 변경됨으로써 본 발명의 금전 등록기의 프린터 제어명령 수정방법에 의해 새로 편집되어 프린터의 램(24)의 저장된 제어명령 코드이다.Referring to FIG. 3, an example in which the printer 20 is controlled by the control command code of the printer modified as described above will be described. First, codes shown in the existing control command code column on the left are respectively initialized. Printers from the cash register to instruct operations such as setting the text, printing and printing, printing and paper transfer by a certain number of lines, and selecting an international code (a code created by replacing some ASCII codes with country-specific characters). Control command code transmitted to (20). Codes shown in the modified control command code column on the right are connected to a cash register different from a cash register previously connected to the printer 20 (a printer of a different type from the one previously used on the cash register is connected). It is the same as the one connected.) The control command code generated from the cash register and transmitted to the printer 20 is changed to perform the same function as described above, thereby newly editing by the method of modifying the printer control command of the cash register of the present invention. Control code stored in the RAM 24 of the printer.

따라서 금전 등록기로부터 소정의 프린터 제어명령 코드, 예를 들어 "ESE-dn"과 같은 코드가 전송되면 프린터의 마이클(21)은 제어명령 수정플래그의 세트여부를 판별하여, 상기 플래그가 세트된 경우에는 수정된 제어명령 코드를 참조하여 인터내셔널 코드를 선택하는 작업을 수행하고, 상기 플래그가 클리어된 경우에는 기존의 제어명령 코드를 참조하여 인쇄 및 소정의 줄 수 만큼 용지를 이송하는 작업을 수행한다.Therefore, when a predetermined printer control command code, for example, a code such as "ESE-dn" is transmitted from the cash register, the Michael 21 of the printer determines whether or not the control command correction flag is set, and when the flag is set. An operation of selecting an international code is performed by referring to the modified control command code, and when the flag is cleared, an operation of printing and conveying paper by a predetermined number of lines is performed by referring to an existing control command code.

한편, 전술한 바와 같은 본 발명의 일 실시예는 프린터(20)가 금전 등록기에 접속되어 상기 금전 등록기의 데이터 처리결과를 인쇄하도록 된 경우에 국한하여 본 발명의 수행과정을 설명한 것이나, 본 발명은 금전 등록기 이외에도 그에 상응하여 데이터 처리결과를 인쇄하는 수단을 필요로 하며 상기 수단과의 접속 및 접속해제가 용이한 데이타장치에도 적용되어 실시될 수 있다.On the other hand, one embodiment of the present invention as described above describes the implementation process of the present invention only when the printer 20 is connected to the cash register to print the data processing result of the cash register, but the present invention In addition to the cash register, a means for printing a data processing result corresponding thereto is required and can be applied to a data device that can be easily connected and disconnected from the means.

이상에서와 같이 본 발명의 금전 등록기의 프린터 제어명령 수정방법에 따르면, 기존에 사용하던 프린터와 제어 명령 코드의 체계가 상이한 프린터가 금전 등록기에 새로 장착되거나 접속되어 사용될 때에도 상기 프린터의 제어가 무리없이 이루어질 수 있는 효과가 있다.As described above, according to the method of modifying the printer control command of the cash register of the present invention, even when a printer having a different system of a control command code from a conventional printer is newly installed or connected to the cash register, the control of the printer is unreasonable. There is an effect that can be achieved.

Claims (1)

금전 등록기로부터 전송된 제반 데이타가 일시 저장되는 램이 마련되며 상기 금전 등록기를 통한 데이터 처리 결과의 프린터를 제어하는 마이콤을 구비한 프린터에 있어서, 상기 램에 저장된 프린터 제어 명령 코드를 수정하고자 요구하는 신호가 전송되는지 여부를 판단하는 단계, 상기 판단 단계에서의 판단 결과, 상기 수정 요구 신호가 수신된 경우 새로 편집된 프린터 제어 명령 코드를 상기 금전 등록기로부터 받는 단계, 상기 새로 편집된 프린터 제어 명령 코드를 받는 단계를 수행한 후에, 수정 종료 코드의 수신 여부를 판별하는 단계, 상기 판별 단계에서 수정 종료 코드가 수신된 경우, 이 수신된 코드를 상기 램에 저장하고 상기 마이콤으로 플래그인 제어 명령 수정 플래그를 세트시키는 단계, 상기 판단 단계에서 판단 결과, 상기 수정 요구 신호가 수신되지 않은 경우에 상기 램에 저장되어 있는 프린터 제어 명령 코드의 전송 여부를 판별하여, 이 프린터 제어 명령 코드가 전송되지 않은 경우 대기 상태에 있는 단계, 상기 프린터 제어 명령 코드를 판별하는 단계에서, 이 프린터 제어 명령 코드가 전송되는 경우에 상기 마이콤이 제어 명령 수정플래그의 세트 여부를 판별하는 단계, 상기 제어 명령 수정플래그가 세트된 경우에 상기 램에 저장되어 있는 새로 편집된 제어 명령 코드를 참조한 후 상기 프린터의 제어를 수행하는 단계, 및 상기 제어 명령 수정플래그의 세트 여부를 판별하는 단계에서 제어 명령 수정플래그가 클리어될 경우에 상기 프린터의 램에 저장된 기존의 제어 명령 코드를 참조한 후 상기 프린터의 제어를 수행하는 단계를 포함하는 것을 특징으로 하는 금전 등록기의 프린터 제어 명령 수정 방법.In a printer having a RAM for temporarily storing all data transmitted from a cash register and controlling a printer of a data processing result through the cash register, a signal for requesting to modify a printer control command code stored in the RAM is provided. Receiving the newly edited printer control command code from the cash register, if the correction request signal is received, and receiving the newly edited printer control command code. After performing the step, determining whether or not to receive a modification termination code; if a modification termination code is received in the determination step, storing the received code in the RAM and setting a control instruction modification flag flagged by the micom; In the determining step, the correction request Determining whether the printer control command code stored in the RAM is transmitted when a call is not received, and in the standby state when the printer control command code is not transmitted, determining the printer control command code; When the printer control command code is transmitted, the microcomputer determines whether the control command correction flag is set, and when the control command correction flag is set, referring to the newly edited control command code stored in the RAM. Controlling the printer after referring to the existing control command codes stored in the RAM of the printer when the control command modification flag is cleared in the step of performing the control of the printer and determining whether the control command correction flag is set. The cash register of the cash register, characterized in that it comprises the step of performing a Motor control commands modify it.
KR1019970039744A 1997-08-20 1997-08-20 Printer controll command changing method for ecr KR100269781B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970039744A KR100269781B1 (en) 1997-08-20 1997-08-20 Printer controll command changing method for ecr

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970039744A KR100269781B1 (en) 1997-08-20 1997-08-20 Printer controll command changing method for ecr

Publications (2)

Publication Number Publication Date
KR19990017009A KR19990017009A (en) 1999-03-15
KR100269781B1 true KR100269781B1 (en) 2000-10-16

Family

ID=19517970

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970039744A KR100269781B1 (en) 1997-08-20 1997-08-20 Printer controll command changing method for ecr

Country Status (1)

Country Link
KR (1) KR100269781B1 (en)

Also Published As

Publication number Publication date
KR19990017009A (en) 1999-03-15

Similar Documents

Publication Publication Date Title
US4638435A (en) Electronic cash register having direct price look-up function
KR100269781B1 (en) Printer controll command changing method for ecr
KR19990011615U (en) Cash register with braille receipt
KR100446949B1 (en) A eceipt reissuing method in a electronic cash register
KR100250877B1 (en) Printing method of program processing paper for ecr
KR19990024374A (en) How to Operate Electronic Journal by Electronic Cash Register
KR100205753B1 (en) Deviding printing method of slip printer
JP2943529B2 (en) Certificate issuing machine
JPH057662Y2 (en)
KR920008144B1 (en) Printing method for receipt of cash register
JPS5847469Y2 (en) Slip issuing device
JPH0896252A (en) Commodity sales registering data processor
KR100285566B1 (en) Method for managing practice mode of electronic cash register
JPH05205161A (en) Cash register with braille output function
JPH064776A (en) Electronic cash register
JPS6228869A (en) Processing system for pos system
KR19990030677A (en) How to Upload Fax Data Using Mini Printer
KR19990027560A (en) How to issue a receipt for a cash register
KR19990004317A (en) How to issue a receipt for a cash register
KR19990016112A (en) How to issue an A / S receipt from a cash register
KR20000034629A (en) Method for issuing information article by using electronic cash register
KR19990053945A (en) Receipt Printing Using Bill Printer
KR20010009423A (en) Paper selection printing method of ecr
KR19990000329A (en) How to operate an electronic journal in an electronic cash register
KR20000067672A (en) program record methode with devided screen of ECR

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
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20030627

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee