KR100205753B1 - Deviding printing method of slip printer - Google Patents

Deviding printing method of slip printer Download PDF

Info

Publication number
KR100205753B1
KR100205753B1 KR1019960080897A KR19960080897A KR100205753B1 KR 100205753 B1 KR100205753 B1 KR 100205753B1 KR 1019960080897 A KR1019960080897 A KR 1019960080897A KR 19960080897 A KR19960080897 A KR 19960080897A KR 100205753 B1 KR100205753 B1 KR 100205753B1
Authority
KR
South Korea
Prior art keywords
slip
receipt
memory
counter
printed
Prior art date
Application number
KR1019960080897A
Other languages
Korean (ko)
Other versions
KR19980061526A (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 KR1019960080897A priority Critical patent/KR100205753B1/en
Publication of KR19980061526A publication Critical patent/KR19980061526A/en
Application granted granted Critical
Publication of KR100205753B1 publication Critical patent/KR100205753B1/en

Links

Classifications

    • 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/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1241Dividing a job according to job requirements, e.g. black/white and colour pages, covers and body of books, tabs
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J13/00Devices or arrangements of selective printing mechanisms, e.g. ink-jet printers or thermal printers, specially adapted for supporting or handling copy material in short lengths, e.g. sheets
    • 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/1296Printer job scheduling or printer resource handling

Abstract

본 발명은 금전 등록기의 분활 인쇄 방법에 관한 것으로, 더욱 상세하게는 슬립 영수증(Slip Receipt)에 인쇄할 데이터 양이 슬립 영수증 사이즈(Slip Receipt Size)보다 많거나 적거나 관계없이 무조건 인쇄함으로서, 슬립 영수증에 인쇄할 데이터의 양이 슬립 영수증 사이즈보다 많을 경우 슬립 영수증에 다 인쇄하지 못하고 인쇄하여야 할 데이터를 잃어버리는 문제가 발생하여 영수증을 제대로 발행하지 못하는 문제점이 있다.The present invention relates to a cash register printing method of a cash register, and more particularly, a slip receipt by unconditionally printing regardless of whether the amount of data to be printed on a slip receipt is larger or smaller than the slip receipt size. If the amount of data to be printed on the slip receipt size is larger than the size of the slip receipt, there is a problem in that it fails to print everything on the slip receipt and loses the data to be printed.

이러한 문제점을 해소하기 위해 즉, 슬립 영수증에 인쇄할 데이터의 양이 슬립 영수증 사이즈보다 클 경우에 대비하여 슬립 영수증 사이즈에 맞게 인쇄할 수 있는 라인 수를 지정하여 인쇄해야 할 데이터를 여러 장의 슬립 영수증에 나누어 인쇄할 수 있는 방법을 제공함으로서, 인쇄할 데이터의 양에 따라 분할하여 인쇄할 수 있기 때문에 데이터 안내의 손실을 줄일 수 있고, 사용자가 원하는 Slip 영수증을 발행할 수 있어 기기에 대한 신뢰도를 높이는 효과를 가진다.To solve this problem, that is, when the amount of data to be printed on the slip receipt is larger than the slip receipt size, the number of lines that can be printed to fit the slip receipt size is specified so that the data to be printed on the multiple slip receipts is printed. By providing a method of dividing and printing, it is possible to divide and print according to the amount of data to be printed, thereby reducing the loss of data guidance, and issuing a user's desired slip receipt. Has

Description

슬립 프린터에서의 분할 인쇄 방법Split printing method in slip printer

본 발명은 금전 등록기의 분할 인쇄 방법에 관한 것으로, 더욱 상세하게는 슬립(Slip) 영수증 사이즈에 인쇄할 인쇄 데이터 양에 따라 여러 장의 슬립(Slip) 영수증으로 분할하여 인쇄할 수 있는 방법을 제공하는 것에 관한 것이다.The present invention relates to a split printing method of a cash register, and more particularly, to a method of dividing and printing a plurality of slip receipts according to the amount of print data to be printed on a slip receipt size. It is about.

일반적으로, 금전 등록기는 백화점이나 편의점에서와 같이 판매액 계산 또는 세금 계산을 위하여 현금을 취급하는 공공 장소 및 장소가 협소한 매장 등에 설치되어 있다.Generally, a cash register is installed in a narrow space in public places and places where cash is handled for sales calculation or tax calculation, such as in a department store or a convenience store.

이러한 금전 등록기는 구매자에게 판매한 물품의 금액 계산 또는 물품 및 판매 관리를 위한 여러 가지 기능들이 제공되어 있다.Such a cash register is provided with various functions for calculating the amount of goods sold to a buyer or managing goods and sales.

이러한 금전 등록기의 구성 및 동작에 대하여 제시된 도면을 참조하여 더욱 상세하게 알아본다.The configuration and operation of such a cash register will be described in more detail with reference to the drawings provided.

도 1은 종래에 일반적으로 사용 중인 금전 등록기의 구성과 동작을 나타낸 회로 블럭도이다.1 is a circuit block diagram showing the configuration and operation of a cash register generally used in the related art.

도시된 바와 같이, 금전 등록기의 전반적인 동작을 제어하는 중앙 처리 장치(이하, CPU라 칭함)(100)와, 상기 CPU(100)에 각종 제어 프로그램 및 초기 데이터를 제공하는 롬(ROM)(140)과, 판매 활동을 하기 위한 품목별 단가 등의 정보나 판매 활동에서 발생한 판매 금액 등의 정보 등을 저장하는 메모리 장치인 램(RAM)(150)과, 금전 등록기로부터 발생하는 각종 정보를 문자의 형태로 표시하기 위한 표시부(110)와, 판매 내역에 대한 영수증을 발행하는 소형 프린터(120)와, 시간을 체크하여 판매된 시간과 날짜를 인식할 수 있도록 하거나 판매 시점 관리를 위한 시계칩(160)과, 모든 신호나 데이터를 일시 저장하는 통신 버퍼단(170)과, 각종 명령 및 데이터를 입력하기 위한 다수 개의 키(Key)가 구비된 키보드(130)로 구성되어, 키보드(130)에 구성된 키(Key)의 조작으로 입력되는 명령 또는 데이터는 CPU(100)의 제어에 의하여 롬(140)에 저장된 프로그램에 따라서 처리된다. 이에, 따라서, 금전 등록기는 동작을 하게 되고 동작의 필요에 따라서 메모리 장치(150)에 저장된 데이터를 입, 출력하기도 한다. 이러한 과정에 따라 처리된 결과는 프린터(120) 또는 표시부(110)로 출력된다.As shown, a central processing unit (hereinafter referred to as a CPU) 100 for controlling the overall operation of the cash register, and a ROM (ROM) 140 for providing various control programs and initial data to the CPU 100. And RAM 150, which is a memory device that stores information such as a unit price for each item for sales activities, information such as a sale amount generated in sales activities, and various information generated from a cash register in the form of letters. A display unit 110 for displaying, a small printer 120 for issuing a receipt for sales details, a clock chip 160 for checking a time to recognize a sold time and date, or for managing a point of sale; And a keyboard 130 including a communication buffer stage 170 for temporarily storing all signals or data, and a plurality of keys for inputting various commands and data. Input by operation of) Is a command or data is processed according to a program stored in the ROM 140 by the control of the CPU (100). Accordingly, the cash register operates and inputs and outputs data stored in the memory device 150 as necessary. The result processed according to this process is output to the printer 120 or the display unit 110.

상기와 같은 구성으로 동작하는 금전 등록기에서, 프린터를 통해 데이터를 출력하는 과정에서 통신 포트인 RS-232C를 이용하여 슬립 프린터(Slip Printer)로 인쇄할 때, 슬립 영수증(Slip Receipt)에 인쇄할 데이터 양이 슬립 영수증 사이즈(Slip Receipt Size)보다 많거나 적거나 관계없이 무조건 인쇄하도록 했다.In the cash register operating in the above configuration, the data to be printed on the slip receipt when printing to the slip printer using the communication port RS-232C in the process of outputting data through the printer. Regardless of whether the amount was larger or smaller than the slip receipt size, the printing was made unconditionally.

따라서, 종래의 금전 등록기에서 슬립 영수증에 인쇄할 데이터의 양이 슬립 영수증 사이즈보다 많을 경우 슬립 영수증에 다 인쇄하지 못하고 인쇄하여야 할 데이터를 잃어버리는 문제가 발생하여 영수증을 제대로 발행하지 못하는 문제점이 있다.Therefore, when the amount of data to be printed on the slip receipt in the conventional cash register is larger than the slip receipt size, there is a problem in that it fails to print everything on the slip receipt and loses data to be printed.

따라서, 상기 기술한 문제점을 해소하기 위하여 본 발명에서는 슬립 영수증에 인쇄할 데이터의 양이 슬립 영수증 사이즈보다 클 경우에 대비하여 슬립 영수증 사이즈에 맞게 인쇄할 수 있는 라인 수를 지정하여 인쇄해야 할 데이터를 여러 장의 슬립 영수증에 나누어 인쇄할 수 있는 방법을 제공하는데 그 목적이 있다.Therefore, in order to solve the above-described problems, the present invention specifies data to be printed by specifying the number of lines that can be printed in accordance with the slip receipt size in case the amount of data to be printed on the slip receipt is larger than the slip receipt size. Its purpose is to provide a way to print on multiple slip receipts.

도 1은 종래에 일반적으로 사용 중인 금전 등록기의 동작을 나타내는 회로 블록도 이고,1 is a circuit block diagram showing the operation of a cash register generally in use.

도 2는 본 발명을 구현하기 위한 방법을 흐름도로 프로그램 모드인 경우를 나타낸 것이고,2 is a flowchart illustrating a method for implementing the present invention in a program mode.

도 3은 등록 모드인 경우를 나타낸 것이고,3 shows a case of the registration mode,

도 4는 등록 중이 아닌 경우에 흐름도를 나타낸 것이다.4 shows a flowchart when not in registration.

이하, 본 발명을 구현하기 위한 방법을 첨부된 도면을 이용하여 상세히 설명하면 다음과 같다.Hereinafter, a method for implementing the present invention will be described in detail with reference to the accompanying drawings.

도 2 내지 도 3 내지 도 4 는 본 발명을 구현하기 위한 방법을 흐름도로 나타낸 것이다.2 through 3 show flowcharts of a method for implementing the present invention.

도 2는프로그램 모드인 경우를 나타낸 것으로, 도시된 바와 같이, 슬립 영수증(Slip Receipt)에 인쇄할 데이터의 양이 슬립 영수증 사이즈보다 클 경우 슬립 영수증 사이즈에 맞게 인쇄할 수 있는 방법을 구현하기 위하여 시작하는 단계(S10)와, 상기 (S10) 단계가 완료되면 프로그램 모드인가를 판단하는 단계(S11)와, 상기 (S11) 단계에서 판단 결과, 프로그램 모드이면 슬립 프린터(Slip Printer)에 인쇄 옵션(Option)을 셋팅(Setting)시키는 키(Key)인지를 판단하는 단계(S12)와, 상기 (S12) 단계에서 판단 결과, 슬립 프린터 인쇄 옵션(Option)을 셋팅(Setting)시키는 키(Key)가 입력되었으면 슬립 프린터 인쇄 옵션(Option)을 셋팅(Setting)시키는 단계(S12-1)와, 상기 (S12-1) 단계가 실행되면, 다시 프로그램 모드인가를 판단하기 위하여 리턴(Return)하는 단계(S12-2)로 구성되어 있다.FIG. 2 illustrates a case in the program mode. As shown in FIG. 2, when the amount of data to be printed on the slip receipt is larger than the slip receipt size, FIG. Step (S10), and if the step (S10) is completed, the step of determining whether the program mode (S11), and if the determination result in the step (S11), if the program mode, the print option (Slip Printer) in the slip printer (Option) In step S12 of determining whether it is a key to set, and as a result of the determination in the step S12, when a key for setting a slip printer printing option is input, Setting the slip printer printing option (S12-1), and when the step (S12-1) is executed, returning to determine whether the program mode is executed again (S12-2). It consists of).

또한, 상기 (S12) 단계에서 판단 결과, 입력된 키가 슬립 프린터 인쇄 옵션(Option)을 셋팅(Setting)시키는 키(Key)가 아니면 슬립 프린터 인쇄 옵션(Option)을 클리어(Clear)시키는 키(Key)인지를 판단하는 단계(S13)와, 상기 (S13) 단계에서 판단 결과, 슬립 프린터 인쇄 옵션(Option)을 클리어(Clear)시키는 키(Key)이면, 슬립 프린터 인쇄 옵션(Option) 기능을 클리어(Clear)시키는 단계(S13-1)와, 상기 (S13-1) 단계가 실행되면, 다시 프로그램 모드인가를 판단하기 위하여 리턴(Return)하는 단계(S13-2)로 구성되어 있다.In addition, as a result of the determination in the step S12, if the input key is not a key for setting the sleep printer printing option, the key for clearing the sleep printer printing option is cleared. ) Is a key for clearing the sleep printer printing option (S13), and the sleep printer printing option function is cleared (S13). Clear step (S13-1), and when the step (S13-1) is executed, the step (S13-2) to return to determine whether the program mode again.

또한, 상기 (S13) 단계에서 판단 결과, 클리어(Clear)시키는 키(Key)가 아니면, 슬립 영수증 라인 지정 키(Key)인가 판단하는 단계(S14)와, 상기 (S14) 단계에서 판단 결과, 라인 지정 키(Key)가 아니면 일반 프로그램을 처리하는 단계(S14-5)와, 상기 (S14-5) 단계가 실행되면 다시 프로그램 모드인가를 판단하기 위하여 리턴(Return)하는 단계(S14-6)와, 또한, 상기 (S14) 단계에서 판단 결과, 라인 지정 키(Key)이면 현재 입력된 지정 라인 수(A)를 메모리에 저장하는 단계(S14-1)와, 상기 (S14-1) 단계가 실행되면, 슬립 프린터에 인쇄한 라인 카운터(SC)를 클리어(Clear)시키는 단계(S14-2)와, 상기 (S14-2) 단계가 실행되면 슬립 영수증용 메모리에서 인쇄한 라인 카운터(SA)를 클리어(Clear)시키는 단계(S14-3)와, 상기 (S14-3) 단계가 실행되면 다시 프로그램 모드인가를 확인하기 위하여 리턴(Return)하는 단계(S14-4)로 구성되어 있다.In addition, if it is determined in the step S13 that the key is not clear, the operation determines whether the slip receipt line designation key is S14, and in the step S14, the line is determined. If it is not the designated key (S14-5), and if the step (S14-5) is executed (S14-5) is executed to return to determine whether the program mode (S14-6) and In addition, if the determination result in the step (S14), if the line designation key (Key), the step (S14-1) and the step (S14-1) of storing the currently specified number of specified lines (A) in the memory is executed When the step counter (S14-2) and (S14-2) are executed, the line counter SA printed in the slip receipt memory is cleared. (Clear) and when the (S14-3) step is executed, returns to check whether the program mode again (Retu rn) (S14-4).

도 3은 등록모드인 경우를 나타낸 것으로, 도 2의 상기 프로그램 모드인가를 판단하는 단계(S11)에서 판단 결과 프로그램 모드가 아니면, 등록 모드인가 판단하는 단계(S15)와, 상기 (S15)단계에서 판단 결과, 등록 모드이면 등록 시작인가 판단하는 단계(S16)와, 상기 (S16) 단계에서 판단 결과, 등록 시작이면, 슬립 영수증용 메모리를 클리어(Clear)시키는 단계(S17)와, 상기 (S17) 단계가 실행되면, 슬립 영수증용 메모리 저장 카운터(T)를 클리어(Clear)시키는 단계(S18)와, 상기 (S18) 단계가 실행되면, 등록 데이터를 처리하는 단계(S19)와, 상기 (S19) 단계가 실행되면, 슬립 영수증용 메모리에 등록 데이터를 저장하는 단계(S20)와, 상기 (S20) 단계가 실행되면, 슬립 영수증용 메모리 저장 카운터(T)를 점차적으로 증가시키는 단계(S21)와, 상기 (S21) 단계가 실행되면, 다시 프로그램 모드인가를 판단하기 위하여 리턴(Return)하는 단계로 구성되어 있다.3 illustrates the case of the registration mode, and in the step S11 of determining whether the program mode is the program mode, if it is not the program mode, determining whether the registration mode is the registration mode (S15) and (S15). If it is determined that the registration mode is the registration start step (S16), and if the determination result in step (S16), if the registration start, the step (Clear) to clear the slip receipt memory (S17), and (S17) When the step is executed, the step (S18) of clearing the memory storage counter T for the slip receipt (S18), if the step (S18) is executed, processing the registration data (S19), and (S19) When the step is executed, storing the registration data in the memory for slip receipt (S20), and if the step (S20) is executed, gradually increasing the memory receipt counter (S) for sleep receipt (S21), When the above step (S21) is executed, the pro again It is a step of returning to determine whether it is in gram mode.

또한, 상기 (S15) 단계에서 판단 결과, 등록 모드가 아니면, 일반 등록기 모드를 처리하는 단계(S15-1)와, 상기 (S15-1) 단계가 실행되면, 다시 프로그램 모드인가를 판단하기 위하여 리턴(Return)하는 단계(S15-2)로 구성되어 있다.In addition, if it is determined in the step (S15) that the registration mode is not, the process of processing the general register mode (S15-1) and the step (S15-1) are executed, and returns to determine whether the program mode again. It consists of the step (Return) (S15-2).

또한, 상기 (S16) 단계에서 판단 결과, 등록 시작이 아니면, 등록 중인가를 판단하는 단계(S22)와, 상기 (S22) 단계에서 판단 결과, 등록 중이면 상기 등록 데이터를 처리하기 위해 리턴(Return)하는 단계(S22-1)로 이루어져 있다.In addition, if it is determined in the step S16 that the registration is not started, it is determined whether the registration is being performed (S22), and if the result is determined in the step S22, the registration is returned to process the registration data. It consists of a step (S22-1).

도 4는 도 3의 상기 등록 중인가를 판단하는 단계(S22)에서 판단 결과, 등록 중이 아닌 경우를 나타낸 것으로, 등록 중이 아니면 등록이 끝난 것이므로, 슬립 영수증용 발행 키인가 판단하는 단계(S23)와, 상기 (S23)단계에서 판단 결과, 슬립 영수증용 발행 키가 아니면, 일반 등록기 모드를 처리하는 단계(S15-1)로 리턴(Return)하고, 상기 (S23)단계에서 판단 결과, 슬립 영수증용 발행 키이면, 슬립 영수증용 인쇄 옵션(Option)이 셋팅(Setting)되었는가 판단하는 단계(S24)와, 상기 (S24) 단계에서 판단 결과, 인쇄 옵션(Option)이 셋팅(Setting)되어 있지 않으면, 에러(ERROR)를 발생하는 단계(S24-1)와, 상기 (S24-1)단계가 실행되면 다시 프로그램 모드인가를 확인하기 위하여 리턴(Return)하고, 또한, 상기 (S23)단계에서 판단 결과, 인쇄 옵션(Option)이 셋팅(Setting)되어 있으면, T=φ인지 판단하는 단계(S25)와, 상기 (S25) 단계에서 판단 결과, T=φ이면 상기 에러(ERROR)를 발생하는 단계(S24-1)로 리턴(Return)하는 단계와, 또한, 상기 (S25) 단계에서 판단 결과, T=φ가 아니면, SA≤T인지 판단하는 단계(S26)와, 상기 (S26) 단계에서 판단 결과, SA≤T가 아니면, T=φ, SA=φ, SC=φ를 실행하는 단계(S26-1)와, 상기 (S26-1) 단계가 실행되면 종료하는 단계(S26-2)와, 상기 (S26) 단계에서 판단 결과, SA≤T이면, 슬립 영수증에 인쇄할 데이터를 슬립 영수증용 메모리로부터 읽어 와서 통신 버퍼단으로 보내는 단계(S28)와, 상기 (S28) 단계가 실행되면, 슬립 영수증으로 인쇄한 라인 카운터(SC)를 하나 증가시키는 단계(S29)와, 상기 (S29) 단계가 실행되면, 슬립 영수증용 메모리에서 인쇄한 라인 카운터(SA)를 증가시키는 단계(S30)와, 상기 (S30) 단계가 실행되면 상기 SA≤T인지 판단하기 위하여 리턴(Return)하는 단계(S31)로 구성되어 있다.4 shows a case in which the determination result in step S22 of FIG. 3 indicates that the device is not registered. If not, since registration is completed, it is determined whether a slip key is issued (S23). If the determination result in step S23 is not the issue key for slip receipt, the process returns to step S15-1 of processing the general register mode. As a result of determination in step S23, the issue key for slip receipt is determined. If it is determined in step S24 that the printing option for the slip receipt is set (S24) and the determination result in the step (S24), if the print option is not set, an error (ERROR) ) And when the step (S24-1) is executed to return to the program mode again, and returns to the program mode. Option is set, it is T = φ Returning to step S25 and returning to the step S24-1 of generating the error ERROR if T = φ as a result of the determination in step S25, and further, the step S25. If it is determined in the step that T = φ, and not T = φ (S26), and if the determination result in step (S26), if SA≤T, T = φ, SA = φ, SC = φ If the execution step (S26-1), and if the step (S26-1) is executed (S26-2), and if the determination result in step (S26), SA≤T, the data to be printed on the slip receipt Reading from the memory for slip receipt and sending it to the communication buffer stage (S28), and if the step (S28) is executed, increasing the line counter (SC) printed with the slip receipt (S29), (S29) When step (S30) is executed, increasing the line counter SA printed from the memory for slip receipt (S30), and if the step (S30) is executed, determining whether SA≤T And it is configured with a return (Return) Step (S31) to.

상기와 같이 구성된 흐름도의 동작을 설명하면 다음과 같다.Referring to the operation of the flow chart configured as described above are as follows.

먼저, 금전 등록기 사용자에 의하여 슬립 영수증에 인쇄할 데이터의 양이 슬립 영수증 사이즈보다 클 경우 슬립 영수증 사이즈에 맞게 인쇄할 수 있는 방법을 구현하기 위하여 프로그램 모드인지 등록 모드인지 판단하여 등록 모드이면 일반 등록기 모드를 처리하고, 프로그램 모드이면 슬립 프린터 인쇄 옵션(Option)을 셋팅(Setting)시키는 키(Key)인지를 확인하게 된다.First, if the amount of data to be printed on the slip receipt by the cash register user is larger than the slip receipt size, it is determined whether it is a program mode or a registration mode to implement a method that can be printed according to the slip receipt size. If the program mode is set, the printer checks whether it is a key to set the sleep printer printing option.

이와 같이 확인하여 슬립 프린터 인쇄 옵션(Option)을 셋팅(Setting)시키는 키(Key)가 입력되었으면 슬립 프린터 인쇄 옵션(Option)을 셋팅(Setting)시키고, 슬립 프린터 인쇄 옵션(Option)을 클리어(Clear)시키는 키(Key)이면 슬립 프린터 인쇄 옵션(Option)을 클리어(Clear)시킨다. 또한, 슬립 프린터 라인 지정 키(Key)가 입력되어 있으면 입력된 지정 라인 수를 메모리에 저장한 후, 슬립 프린터에 인쇄한 라인 카운터(SC)와, 슬립 영수증용 메모리에서 인쇄한 라인 카운터(SA)를 클리어(Clear)시킨다.In this way, if a key for setting the sleep printer print option is set, the sleep printer print option is set, and the slip printer print option is cleared. If a key is pressed, the slip printer print option is cleared. If the sleep printer line designation key is entered, the line counter (SC) printed on the sleep printer after storing the input number of designated lines in the memory and the line counter (SA) printed on the memory for the slip receipt are printed. Clear.

또한, 등록 모드에서 입력된 키가 등록 시작인 경우 슬립 영수증을 위한 메모리와 슬립 영수증용 메모리 저장 카운터(T)를 클리어(Clear)시키고, 등록 데이터를 일반 등록과 처리한 후, 슬립 영수증에 인쇄할 데이터들은 메모리에 저장한 후, 저장한 카운터를 증가시킨다.In addition, when the key entered in the registration mode is the start of registration, the memory for the slip receipt and the memory storage counter (T) for the slip receipt are cleared, the registration data is processed with the general registration, and then the data is printed on the slip receipt. The data is stored in memory and then the stored counter is incremented.

아울러, 등록 중일 경우에는 등록 데이터를 처리하고 슬립 영수증용 메모리에 저장하고 저장한 카운터를 증가시킨다.In addition, in the case of registering, the counter processes the registration data, and stores and stores in the memory for the slip receipt.

이와 같이, 등록이 끝나면 슬립 영수증을 발행하기 위한 키가 입력되었는지 확인하여 슬립 영수증 발행용 키(Key)이면 다시 슬립 영수증 인쇄 옵션(Option)이 셋팅(Setting)되었는지 확인하여, 슬립 영수증 인쇄 옵션(Option)이 셋팅(Setting)되었으면, 슬립 영수증용 메모리 저장 카운터가 제로인지 아닌지를 판단하여 제로가 아니면 슬립 영수증용 메모리에 데이터가 저장되어 있는 것으로 간주하여 슬립 영수증용 메모리로부터 데이터를 읽어서 인쇄한 라인 카운터(SA)와 슬립 영수증용 메모리 저장 카운터(T)를 비교해서 라인 카운터(SA)가 슬립 영수증용 메모리 저장 카운터(T)보다 작거나 같을 경우에 실제 슬립 영수증으로 인쇄한 라인 카운터(SC)와, 슬립 영수증 인쇄 지정 라인 수(A)와 비교해서 작거나 같을 경우에 슬립 영수증에 인쇄할 데이터를 슬립 영수증용 메모리로부터 읽어 와서 통신 버퍼단으로 보낸 후, 슬립 영수증으로 인쇄한 라인 카운터(SC)를 점차적으로 증가시킨다. 또한, 슬립 영수증용 메모리에서 읽어온 라인 카운터(SA)를 증가시켜서 전체 슬립 영수증에 모두 인쇄될 때까지 반복한다.As such, when registration is completed, check whether a key for issuing a slip receipt is entered, and if it is a key for issuing slip receipt, check whether the slip receipt print option is set again, and then print a slip receipt option. ) Is set, it is determined whether or not the sleep receipt memory storage counter is zero, and if it is not zero, it is regarded that data is stored in the sleep receipt memory, and a line counter (read and printed data from the sleep receipt memory) SA) and the slip receipt memory storage counter T and the line counter SC printed with the actual slip receipt when the line counter SA is less than or equal to the memory storage counter T for the slip receipt, and the slip The data to be printed on the slip receipt when the receipt is smaller than or equal to the number of designated print lines (A). After reading from the memory and sending it to the communication buffer stage, the line counter SC printed with the slip receipt is gradually increased. Also, the line counter SA read from the sleep receipt memory is incremented and repeated until all the slip receipts are printed.

이때, 슬립 영수증으로 인쇄한 라인 카운터(SC)가 슬립 영수증 인쇄 지정 라인 수보다 클 경우에는 슬립 영수증 한 장이 다 인쇄된 것으로 간주하여 인쇄한 라인 카운터(SC)를 제로로 클리어(Clear)시키고 처음으로 돌아가 다음 슬립 영수증을 발행시키는 키(Key)가 입력되기를 기다린다.At this time, if the line counter SC printed with the slip receipt is larger than the designated number of the slip receipt print lines, it is assumed that one slip receipt has been printed, and the printed line counter SC is cleared to zero. Wait for the key to be entered to go back and issue the next sleep receipt.

여기서, 만약 다음 슬립 영수증을 발행시키는 키(Key)가 입력되었을 경우에는 현재 슬립 영수증 메모리에 저장된 총 카운터(T)가 제로가 아니라면, 슬립 영수증에 인쇄할 데이터가 있다는 것으로 간주하여 슬립 영수증으로 인쇄할 카운터(SA)가 슬립 영수증 메모리 저장 카운터(T)보다 작을 경우 슬립 영수증으로 인쇄하는 과정을 반복하고, 슬립 영수증으로 인쇄할 카운터(SA)가 슬립 영수증 메모리 저장 카운터(T)보다 클 경우, 인쇄가 모두 끝났음으로, 슬립 영수증 메모리 저장 카운터(T)와 슬립 영수증 메모리로부터 읽어 와서 인쇄한 카운터(SA)와, 슬립 영수증 한 장에 인쇄한 라인 카운터(SC)를 제로로 클리어(Clear)시킨다.Here, if a key for issuing the next slip receipt is entered, if the total counter (T) currently stored in the sleep receipt memory is not zero, it is assumed that there is data to be printed on the slip receipt, and is printed as a slip receipt. If the counter SA is smaller than the slip receipt memory storage counter T, the process of printing as a slip receipt is repeated. If the counter SA to be printed as a slip receipt is larger than the slip receipt memory storage counter T, the printing is stopped. After all, the slip receipt memory storage counter T and the counter SA read and printed from the slip receipt memory and the line counter SC printed on one slip receipt are cleared to zero.

만약, 슬립 영수증 발행 키가 입력되면 슬립 프린터 인쇄 옵션(Option)이 셋팅(Setting)되어 있지 않거나, 슬립 영수증 메모리에 저장된 총 카운터(T)가 제로이면 슬립 영수증의 발행을 할 수 없음을 디스플레이(Display) 장치를 통하거나 부저(Buzzer)를 이용해 나타내게 된다.If the slip receipt issuing key is entered, the slip printer printing option is not set or if the total counter T stored in the slip receipt memory is zero, the slip receipt cannot be issued. It is displayed through the device or using a buzzer.

따라서, 본 발명의 효과는 통신 버퍼를 이용한 슬립 프린터로 인쇄시에 슬립 영수증 사이즈에 따라 슬립 영수증으로 인쇄할 데이터의 양에 따라 분할할 수 있기 때문에 데이터 안내의 손실을 줄일 수 있고, 사용자가 원하는 슬립 영수증을 발행할 수 있어 기기에 대한 신뢰도를 높이는 효과를 가진다.Therefore, the effect of the present invention can be divided according to the amount of data to be printed on the slip receipt according to the size of the slip receipt when printing to the sleep printer using the communication buffer can reduce the loss of data guidance, the user wants to sleep Receipt can be issued to increase the reliability of the device.

Claims (5)

슬립 영수증에 인쇄할 데이터의 양이 슬립 영수증 사이즈보다 클 경우에 슬립 영수증 사이즈에 맞게 인쇄할 수 있는 방법을 구현하기 위하여 프로그램 모드인가 등록 모드인지 판단하는 단계(S11)에서, 상기 (S11)단계에서 판단 결과, 프로그램 모드이면 입력된 키가 슬립 프린터 인쇄 옵션(Option)을 셋팅(Setting)시키는 키인가, 슬립 프린터 인쇄 옵션(Option)을 클리어 시키는 키(Key)인가, 슬립 영수증 라인 지정 키인가를 판단하여, 슬립 인쇄 옵션(Option)을 셋팅시키는 키이면 슬립 프린터 인쇄 옵션(Option)을 셋팅시키고, 슬립 프린터 인쇄 옵션을 클리어시키는 키이면 슬립 프린터 인쇄 옵션(Option) 기능을 클리어 시키고, 슬립 영수증 라인 지정 키이면 현재 입력된 지정 라인 수(A)를 메모리에 저장하는 단계(S14-1)와, 상기 (S14-1) 단계가 실행되면 슬립 프린터에 인쇄한 라인 카운터(SC)와 슬립 영수증용 메모리에서 인쇄한 라인 카운터(SA)를 클리어시키는 단계를 포함하는 슬립 프린터에서의 슬립 영수증 데이터 양에 따른 용지 분할 인쇄 방법.If the amount of data to be printed on the slip receipt is larger than the slip receipt size, in order to implement a method capable of printing according to the slip receipt size (S11), in step S11, in step S11, As a result of the determination, in the program mode, it is determined whether the input key is a key for setting the sleep printer print option, a key for clearing the sleep printer print option, or a slip receipt line designation key. If the key to set the slip printing option is set, the slip printer printing option is set. If the key is to clear the slip printer printing option, the slip printer printing option is cleared. If the step S14-1 of storing the currently specified number of specified lines (A) in the memory, and the step (S14-1) is executed, the sleep printer A paper division printing method according to the amount of slip receipt data in a slip printer, comprising the step of clearing a printed line counter (SC) and a line counter (SA) printed from a memory for slip receipt. 제 1 항에 있어서,The method of claim 1, 상기 프로그램 모드인가 등록 모드인가를 판단하여 판단 결과, 등록 모드이면 등록 시작인가 판단하는 단계(S16)와, 상기 (S16) 단계에서 판단 결과, 등록 시작이면, 슬립 영수증용 메모리와 슬립 영수증용 메모리 저장 카운터(T)를 클리어(Clear)시키고 현재 등록중인 데이터를 처리한 후 슬립 영수증용 메모리에 현재 등록중인 데이터를 저장하고 슬립 영수증용 메모리 저장 카운터(T)를 점차적으로 증가시키는 단계(S21)가 더 부가된 것을 특징으로 하는 슬립 프린터에서의 슬립 영수증 데이터 양에 따른 용지 분할 인쇄 방법.If it is determined whether the program mode or the registration mode, the determination result, if the registration mode (S16) and if the determination result in the step (S16), if the registration start, the memory for sleep receipt and memory for sleep receipt After clearing the counter T and processing the data currently being registered, step S21 of storing the data currently being registered in the sleep receipt memory and gradually increasing the memory receipt counter T for the sleep receipt is further performed. A paper division printing method according to slip receipt data amount in a slip printer, characterized in that it is added. 제 1 항 내지 제 2 항에 있어서,The method according to claim 1 or 2, 상기 등록 시작인가 판단하는 단계(S16)에서 판단 결과, 등록 시작이 아니면, 등록 중인지를 판단하는 단계(S22)와, 상기 (S22) 단계에서 판단 결과, 등록 중이면 현재 등록중인 데이터를 처리한 후 슬립 영수증용 메모리에 현재 등록중인 데이터를 저장하고 슬립 영수증용 메모리 저장 카운터(T)를 점차적으로 증가시키는 단계(S21)가 더 부가된 것을 특징으로 하는 슬립 프린터에서의 슬립 영수증 데이터 양에 따른 용지 분할 인쇄 방법.In step S16, if it is determined that the registration is started or not, if the registration is not started, it is determined whether it is being registered (S22); The step S21 of storing the data currently registered in the slip receipt memory and gradually increasing the memory receipt counter T for slip receipt is further added. Printing method. 제 3 항에 있어서The method of claim 3 상기 등록 중인가 판단하는 단계(S22)에서 판단 결과, 등록 중이 아니면 등록이 끝난 것이므로, 슬립 영수증용 발행 키인가 판단하는 단계(S23)와; 상기 (S23) 단계에서 판단 결과, 슬립 영수증용 발행 키이면, 슬립 영수증 인쇄 옵션(Option)이 셋팅(Setting)되었는가 판단하여 인쇄 옵션(Option)이 셋팅(Setting)되어 있으면, 메모리용 저장 카운터(T)가 제로(Zero)인지 판단하여 제로(Zero)가 아니면 라인 카운터가 메모리 저장 카운터보다 큰지 작은지를 판단하여 라인 카운터가 메모리 저장 카운터보다 크면, 슬립 영수증에 인쇄할 데이터를 슬립 영수증용 메모리로부터 읽어 와서 통신 버퍼단으로 보내는 단계(S28)와; 상기 (S28) 단계가 실행되면 슬립 영수증으로 인쇄한 라인 카운터(SC)를 하나씩 점차적으로 증가시키는 단계(S29)와, 상기 (S29) 단계가 실행되면, 슬립 영수증용 메모리에서 인쇄한 라인 카운터(SA)를 점차적으로 증가시키는 단계(S30)와, 상기 (S30) 단계가 실행되면 라인 카운터가 메모리 저장 카운터 작은지 확인하기 위하여 리턴(Return)하는 단계(S31)가 더 부가된 것을 특징으로 하는 슬립 프린터에서의 슬립 영수증 데이터 양에 따른 용지 분할 인쇄 방법.In step S22, if it is determined that registration is in progress, the registration is not completed. If it is determined in step S23 that the slip receipt issuance key is determined whether the slip receipt printing option is set, and the printing option is set, the memory storage counter T is set. ) Is zero and if it is not zero, it is determined whether the line counter is larger or smaller than the memory storage counter. If the line counter is larger than the memory storage counter, the data to be printed on the slip receipt is read from the memory for the sleep receipt. Sending to a communication buffer stage (S28); When step S28 is executed, step S29 of incrementally increasing the line counter SC printed as a slip receipt one by one, and when step S29 is executed, the line counter SA printed by the slip receipt memory is executed. Step (S30), and step (S31) is further added in order to check whether the line counter is a small memory storage counter when step (S30) is executed. To print a paper split depending on the amount of slip receipt data in the system. 제 4 항에 있어서The method of claim 4 상기 라인 카운터가 메모리 저장 카운터보다 작은지 판단하는 단계(S26)에서 판단 결과, 라인 카운터가 메모리 저장 카운터보다 작으면 메모리 저장 카운터와 라인 카운터와 메모리에서 읽어온 라인 카운터를 제로(Zero)로 설정한 후 종료하는 단계(S26-2)가 더 부가된 것을 특징으로 하는 슬립 프린터에서의 슬립 영수증 데이터 양에 따른 용지 분할 인쇄 방법.In the step S26 of determining whether the line counter is smaller than the memory storage counter, if the line counter is smaller than the memory storage counter, the memory storage counter, the line counter, and the line counter read from the memory are set to zero. And a step (S26-2) of terminating afterwards is further added.
KR1019960080897A 1996-12-31 1996-12-31 Deviding printing method of slip printer KR100205753B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960080897A KR100205753B1 (en) 1996-12-31 1996-12-31 Deviding printing method of slip printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960080897A KR100205753B1 (en) 1996-12-31 1996-12-31 Deviding printing method of slip printer

Publications (2)

Publication Number Publication Date
KR19980061526A KR19980061526A (en) 1998-10-07
KR100205753B1 true KR100205753B1 (en) 1999-07-01

Family

ID=19493751

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960080897A KR100205753B1 (en) 1996-12-31 1996-12-31 Deviding printing method of slip printer

Country Status (1)

Country Link
KR (1) KR100205753B1 (en)

Also Published As

Publication number Publication date
KR19980061526A (en) 1998-10-07

Similar Documents

Publication Publication Date Title
KR100205753B1 (en) Deviding printing method of slip printer
JPS6011991A (en) Electronic cash register
JPH07109637B2 (en) Electronic cash register
JP4627241B2 (en) Product sales data processing system, POS terminal and computer program
JP3472501B2 (en) Electronic cash register
JPS62245477A (en) Input data processor
JPH0524302A (en) Entry machine
JPH0230074B2 (en)
JP3379625B2 (en) Product sales data processing device
JP3958845B2 (en) Merchandise sales registration data processing method, processing apparatus and recording medium
KR100260915B1 (en) A method of quering and printing card data in ecr
JPH0293892A (en) Commodity selling data processor
JPS636915B2 (en)
JPH04369791A (en) System for transacting fixed money-amount
JPH0752476B2 (en) Electronic cash register
JPS63291194A (en) Commodity sales data processor
JPH0135394B2 (en)
JPH04350788A (en) Electronic cash register
KR19980073168A (en) Cash register with simultaneous registration
KR19990027559A (en) How to withhold registration of cash registers
JPH04205255A (en) Financial terminal equipment
JPH0628581A (en) Pos system
JPS62285178A (en) Card transaction processing device
JPS62229494A (en) Merchandise sales data processor
JPS63195794A (en) Transaction processor

Legal Events

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

Payment date: 20040330

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee