KR19980034179A - How to adjust printing width of electronic cash register - Google Patents

How to adjust printing width of electronic cash register Download PDF

Info

Publication number
KR19980034179A
KR19980034179A KR1019960052142A KR19960052142A KR19980034179A KR 19980034179 A KR19980034179 A KR 19980034179A KR 1019960052142 A KR1019960052142 A KR 1019960052142A KR 19960052142 A KR19960052142 A KR 19960052142A KR 19980034179 A KR19980034179 A KR 19980034179A
Authority
KR
South Korea
Prior art keywords
width
printing
font
electronic cash
cash register
Prior art date
Application number
KR1019960052142A
Other languages
Korean (ko)
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 KR1019960052142A priority Critical patent/KR19980034179A/en
Publication of KR19980034179A publication Critical patent/KR19980034179A/en

Links

Abstract

가. 청구범위에 기재된 발명이 속하는 기술분야end. The technical field to which the invention described in the claims belongs

본 발명은 전자식 금전등록기의 인자폭 조절방법에 관한 것이다.The present invention relates to a method for adjusting the width of an electronic cash register.

나. 발명이 해결하고자 하는 기술적 과제I. The technical problem to be solved by the invention

전자식 금전등록기에서 다양한 크기의 영수증용 용지를 사용한다.Electronic cash registers use receipt paper of various sizes.

다. 발명의 해결방법의 요지All. Summary of Solution of the Invention

영수증용 용지의 크기에 따라 설정된 자간으로 인자할 폰트를 구성하여 인자폭을 조절하는 것을 특징으로 한다.It is characterized in that the printing width is adjusted by configuring a font to print with the kerning set according to the size of the receipt paper.

라. 발명의 중요한 용도la. Important uses of the invention

전자식 금전등록기에 사용된다.Used for electronic cash registers.

Description

전자식 금전등록기의 인자폭 조절방법How to adjust printing width of electronic cash register

본 발명은 전자식 금전등록기에 관한 것으로, 특히 전자식 금전등록기의 인자방법에 관한 것이다.The present invention relates to an electronic cash register, and more particularly to a printing method of the electronic cash register.

통상적으로 잡화나 다수의 품목들을 취급하는 영업소는 현금의 입금 및 출금, 현금의 보관, 영수증의 발행등의 용도를 위하여 전자식 금전등록기를 사용한다. 상기 전자식 금전등록기에서 사용되는 영수증용 용지의 폭은 설계시 전자식 금전등록기의 프린터의 인자폭과 인자크기, 자간 등에 따라 결정된다. 상기와 같이 영수증용 용지의 폭이 설계시 결정되면, 전자식 금전등록기는 결정된 영수증용 용지에 등록정보를 인자한 영수증을 발행한다.Typically, a business that handles miscellaneous goods or a large number of items uses an electronic cash register for the purpose of depositing and withdrawing cash, storing cash, issuing receipts, etc. The width of the receipt paper used in the electronic cash register is determined according to the printing width, printing size, tracking, etc. of the printer of the electronic cash register during design. When the width of the receipt paper is determined at design time as described above, the electronic cash register issues a receipt which prints registration information on the determined receipt paper.

상기 전자식 금전등록기의 프린터의 인자폭과 인자크기, 자간 등을 고려하여 가로폭이 44mm인 영수증용 용지를 삽입한 경우에 발행한 영수증을 살펴본다. 상기 전자식 금전등록기에 가로폭이 44mm인 영수증용 용지에 인자를 수행하여 발행한 영수증을 도시한 것이 도 1이다. 상기 도 1에 도시한 영수증은 등록정보가 인자된 양쪽에 여백이 존재하며, 인자폭에 비하여 용지폭이 크므로, 모든 문자가 정상적으로 인자되었다.Considering the printing width, printing size, tracking, etc. of the printer of the electronic cash register, a receipt issued when a receipt paper having a width of 44 mm is inserted will be described. 1 shows a receipt issued by performing printing on a receipt paper having a width of 44 mm in the electronic cash register. In the receipt shown in FIG. 1, there is a margin on both sides of which the registration information is printed, and since the paper width is larger than the print width, all characters have been normally printed.

이와달리 상기 전자식 금전등록기에 가로폭이 41mm인 영수증용 용지에 인자를 수행하면, 도 1에 점선으로 도시한 바와 같이 인자폭에 비하여 용지의 가로폭이 작으므로, 인자되는 문자중 용지에 정상적으로 인자되지 않는 문자가 생긴다. 이것이 도 1에 도시한 점선의 우측에 있는 문자들이 된다.On the other hand, when printing is performed on the receipt paper having a width of 41 mm in the electronic cash register, the width of the paper is smaller than that of the printing width as shown by the dotted line in FIG. I get characters that don't work. This becomes the characters to the right of the dotted line shown in FIG.

즉, 종래의 전자식 금전등록기는 미리 결정된 영수증용 용지의 폭 이하의 용지를 사용할 경우에는 정상적인 영수증을 발행하지 못했다.That is, the conventional electronic cash register could not issue a normal receipt when using a paper less than the width of the predetermined receipt paper.

상술한 바와 같이 종래의 금전등록기는 미리 결정된 영수증용 용지의 폭 이하의 용지를 사용할 수 없는 단점이 있었다.As described above, the conventional cash register has a disadvantage in that paper less than the width of the predetermined receipt paper cannot be used.

따라서 본 발명의 목적은 전자식 금전등록기에서 다양한 크기의 영수증용 용지를 사용할 수 있도록 인자폭을 조절하는 전자식 금전등록기의 인자폭 조절방법을 제공함에 있다.Accordingly, it is an object of the present invention to provide a method for controlling the width of an electronic cash register for controlling the width of a width so that a receipt paper of various sizes can be used in the electronic cash register.

도 1은 종래의 영수증을 도시한 것이다.1 illustrates a conventional receipt.

도 2는 통상의 금전등록기의 블럭도이다.2 is a block diagram of a general cash register.

도 3은 자간을 3으로 구성한 폰트구성도이다.3 is a font configuration diagram in which kerning is composed of three.

도 4는 자간을 2로 구성한 폰트구성도이다.4 is a font configuration diagram in which kerning is composed of two.

도 5는 자간을 1로 구성한 폰트구성도이다.5 is a font configuration diagram in which kerning is composed of one.

도 6은 자간을 3으로 구성하여 인자한 영수증을 도시한 것이다.FIG. 6 shows receipts printed with three kerning.

도 7은 자간을 2로 구성하여 인자한 영수증을 도시한 것이다.FIG. 7 shows receipts printed with two mojikumi.

도 8은 자간을 1로 구성하여 인자한 영수증을 도시한 것이다.8 shows a receipt printed by forming a tracking of 1;

도 9와 도 10은 본 발명의 바람직한 실시예에 따른 전자식 금전등록기의 인자폭 조절방법의 흐름도이다.9 and 10 are flowcharts illustrating a method for adjusting the width of an electronic cash register according to a preferred embodiment of the present invention.

상술한 목적을 달성하기 위한 본 발명은 영수증용 용지의 크기에 따라 설정된 자간으로 인자할 폰트를 구성하여 인자폭을 조절하는 것을 특징으로 한다.The present invention for achieving the above object is characterized by adjusting the printing width by configuring a font to be printed in the kerning set according to the size of the receipt paper.

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부도면에서 많은 특정 상세들이 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있다. 이들 특정 상세들 없이 본 발명이 실시될 수 있다는 것은 이 기술분야에서 통상의 지식을 가진자에게 자명할 것이다. 그리고 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and the annexed drawings, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. It will be apparent to those skilled in the art that the present invention may be practiced without these specific details. And a detailed description of known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

도 2는 통상의 전자식 금전등록기의 블럭도를 도시한 것이다. 상기 전자식 금전등록기는 판매활동의 제반 데이타를 소정 프로그램에 의해 프로세싱하여 시스템의 동작을 수행시키는 제어부(10)와, 상기 제어부(10)의 제어하에 판매내역에 대한 영수증을 발행하는 프린터(12)와, 상기 제어부(10)의 동작을 수행시키기 위한 각종 명령 및 키데이타를 입력시키기 위한 다수의 키를 구비하고 있는 키보드(14)와, 상기 제어부(10)에 연결되어 각종 제어 프로그램 및 초기 데이터와 폰트를 저장하는 롬(ROM)(16)과, 판매활동을 위한 품목별 단가등의 정보나 판매활동에서 발생한 판매금액등의 정보를 저장하는 램(RAM)(18)과, 상기 제어부(10)의 제어하에 판매활동시 발생하는 각종 금액정보나 에러등의 판매정보를 디스플레이하는 디스플레이(20)를 구비한다.Figure 2 shows a block diagram of a conventional electronic cash register. The electronic cash register is a control unit 10 for processing the overall data of the sales activity by a predetermined program to perform the operation of the system, a printer 12 for issuing a receipt for the sales details under the control of the control unit 10 and And a keyboard 14 having a plurality of keys for inputting various commands and key data for performing the operation of the controller 10, and various control programs, initial data and fonts connected to the controller 10. ROM 16 for storing the information, a RAM 18 for storing information such as a unit price for each item for sales activities, and a sale price generated from the sales activities, and the control of the controller 10. A display 20 for displaying sales information such as various amounts of money information or errors generated during sales activities is provided.

상기와 같은 전자식 금전등록기로 영수증을 발행하기 위하여 인자할 폰트를 구성하는 과정은 다음과 같다. 우선 전자식 금전등록기의 제어부(10)는 영수증을 발행하거나, 다른 정보를 인자하기 위하여 미리 저장된 인자데이타를 램(18)으로부터 리드한다. 상기 리드한 인자데이타에 대응하는 문자 폰트를 롬(16)으로부터 리드한다. 그리고 상기 문자 폰트 뒤에 자간을 띠운 다음 다시 다른 인자데이타에 대응하는 문자폰트를 롬(16)으로부터 리드한다. 상기 문자와 문자사이에 자간을 띠우는 것은 통상적으로 인자를 수행하지 않는 소정 수의 도트를 문자사이에 삽입함으로서 수행한다.The process of configuring a font to print in order to issue a receipt with the electronic cash register as described above is as follows. First, the control unit 10 of the electronic cash register reads the prestored printing data from the RAM 18 to issue a receipt or print other information. The character font corresponding to the above-described printed data is read from the ROM 16. After the character font is interleaved, character fonts corresponding to other printing data are read again from the ROM 16. Spacing letters between the characters is usually performed by inserting a predetermined number of dots between characters that do not perform printing.

상기와 같이 인자를 수행하지 않는 도트를 3으로 하여 인자할 폰트를 구성한 것을 도시한 것이 도 3이다. 이하 인자를 수행하지 않느 도트 1를 자간 1이라 한다. 이에따라 도 3에 도시한 문자 폰트 A,B간에는 인자를 수행하지 않는 3개의 도트가 삽입되었다. 이에따라 상기 A와 B의 인자시 인자폭은 A를 인자하기 위하여 소요되는 7개의 도트와, B를 인자하기 위하여 소요되는 7개의 도트와, A와 B사이에 인자하지 않는 3개의 도트를 합하여 모두 17도트이다.As shown in FIG. 3, the font to be printed is configured by setting the dot that does not perform printing as 3 as described above. The dot 1 which does not perform the following argument is called tracking 1. As a result, three dots which do not perform a factor are inserted between the character fonts A and B shown in FIG. Accordingly, the printing width at the time of printing A and B is 17 by adding 7 dots required to print A, 7 dots required to print B, and 3 dots not printing between A and B. It is a dot.

상기 자간이 3일 경우에 인자폭은 17도트이고, 이에따라 상기와 같은 문자 폰트를 인자하기 위해서는 17도트이상의 가로폭을 구비하는 용지를 요구된다.When the tracking is 3, the printing width is 17 dots, and accordingly, a sheet having a width of 17 dots or more is required to print the character font as described above.

한편 이와 달리 자간을 2로 하여 인자할 폰트를 구성한 것을 도시한 것이 도 4이다. 즉 도 4에 도시한 문자 폰트 A,B간에는 인자를 수행하지 않는 2개의 도트가 삽입되었다. 이에따라 A와 B의 인자시 인자폭은 A를 인자하기 위하여 소요되는 7개의 도트와, B를 인자하기 위하여 소요되는 7개의 도트와, A와 B사이에 인자하지 않는 2개의 도트를 합하여 모두 16도트이다.On the other hand, Fig. 4 shows the configuration of the font to be printed with tracking 2 as the other. That is, two dots which do not perform a factor are inserted between the character fonts A and B shown in FIG. Accordingly, when printing A and B, the printing width is 16 dots in total by adding seven dots required to print A, seven dots used to print B, and two dots not printed between A and B. to be.

상기 자간이 2일 경우에 인자폭은 16도트이고, 이에따라 상기와 같은 문자폰트를 인자하기 위해서는 16도트이상의 가로폭을 구비하는 용지가 요구된다.In the case where the tracking is 2, the printing width is 16 dots, and accordingly, in order to print the character font as described above, a sheet having a width of 16 dots or more is required.

그리고, 자간을 1로 하여 인자할 폰트를 구성한 것을 도시한 것이 도 5이다. 즉 도 5에는 문자 폰트 A,B간에 인자를 수행하지 않는 1개의 도트를 삽입되었다. 이에따라 A와 B의 인자시 인자폭은 A를 인자하기 위하여 소요되는 7개의 도트와, B를 인자하기 위하여 소요되는 7개의 도트와, A와 B사이에 인자하지 않는 1개의 도트를 합하여 모두 15도트이다.5 shows the configuration of a font to be printed with kerning as 1. That is, one dot which does not perform an argument is inserted between character fonts A and B. In FIG. Accordingly, when printing A and B, the width of printing is 15 dots in total, including seven dots required to print A, seven dots used to print B, and one dot not printed between A and B. to be.

상기 자간이 1일 경우에 인자폭은 15도트이고, 이에따라 상기와 같은 문자폰트를 인자하기 위해서는 15도트이상의 가로폭을 구비하는 용지가 요구된다.When the tracking is 1, the printing width is 15 dots, and accordingly, a sheet having a width of 15 dots or more is required to print the character font as described above.

이와 같이 문자 사이에 문자를 구별하기 위하여 사용되는 자간의 크기를 조절함으로서 인자폭을 조절할 수 있다.In this way, the width of the factor can be controlled by adjusting the size of the space used to distinguish between the characters.

이에따라 본 발명은 영주증용 용지폭에 대응하여 인자폭을 조절하여 다양한 용지폭을 구비하는 영수증용 용지를 사용하여도 정상적으로 영수증을 발행할 수 있도록 한다.Accordingly, the present invention adjusts the printing width corresponding to the paper width for permanent residence so that a receipt can be normally issued even using a receipt paper having various paper widths.

상기 자간을 조절함에 따라 인자폭이 조절되는 예를 도시한 것이 도 6 내지 도 8이다. 즉 상기 도 6은 자간을 3으로 하여 폰트를 구성한 다음 인자를 수행한 것이고, 도 7은 자간을 2로 하여 폰트를 구성한 다음 인자를 수행한 것이고, 도 8은 자간을 1로 하여 폰트를 구성한 다음 인자를 수행한 것이다. 도 6 내지 도8을 보아 알 수 있듯이 인자폭은 도 6의 영수증이 가장 넓고, 도 5의 영수증은 중간정도이고, 도 8의 영수증이 가장 좁다.6 to 8 illustrate examples in which the printing width is adjusted by adjusting the tracking. That is, FIG. 6 shows the font after the font is set to 3, and the factor is performed. FIG. 7 shows the font after the font is set to 2, and the factor is performed. It's an argument. As can be seen from Figures 6 to 8, the print width of the receipt of Figure 6 is the widest, the receipt of Figure 5 is medium, the receipt of Figure 8 is the narrowest.

즉 전자식 금전등록기에 삽입되는 용지의 폭이 넓으면 도 6과 같이 인자폭을 넓게 하여 인자하고, 용지폭이 좁으면 도 8과 같이 인자폭을 좁게 하여 인자하고, 용지폭이 보통이면 도 7과 같이 인자폭을 보통으로 하여 인자를 수행한다.That is, if the width of the paper inserted into the electronic cash register is wide, the printing width is widened as shown in FIG. 6, and if the paper width is narrow, the printing width is narrowed as shown in FIG. Similarly, the argument width is normal.

상기와 같이 자간조절을 위하여 사용자는 영수증의 발행전에 전자식 금전등록기의 프로그램 모드에서 자간설정을 수행하여야 한다. 상기 프로그램 모드에서 자간을 설정하기 위한 전자식 금전등록기의 인자폭 조절방법의 흐름도를 도시한 것이 도 9이다. 상기 도 9에 도시한 흐름도는 사용자가 모드키입력을 수행할 때마다 수행된다. 즉 사용자가 모드키를 입력하면 제어부(10)는 (24)단계를 수행한다. 상기 (24)단계에서 제어부(10)는 모드키 입력이 프로그램 모드에 대응한 것인지를 검색한다. 이때 제어부(10)는 상기 모드키 입력이 프로그램 모드에 대응한 것이면 (28)단계를 수행하고, 상기 모드키 입력이 프로그램 모드에 대응하는 것이 아니면 해당 모드를 수행하는 (26)단계를 수행한다. 상기 (28)단계에서 제어부(10)는 프로그램 모드에서 수행할 수 있는 다수의 기능을 디스플레이하기 위한 디스플레이 데이타를 롬(16)으로부터 리드하여 디스플레이(20)에 제공한다. 상기 디스플레이(20)는 상기 데이터를 제공받아 다수의 기능을 디스플레이한다. 이때 사용자는 상기와 같이 디스플레이되어 있는 다수의 기능중 특정 기능을 키보드(14)를 통하여 선택한다. 제어부(10)는 사용자가 선택한 기능이 자간설정에 대응한 것이면 (32)단계를 수행하고, 자간설정에 대응하는 것이 아니면 해당 동작을 수행한다. 상기 (32)단계에서 제어부(10)는 자간을 선택하라는 문구와 선택 가능한 자간을 디스플레이하기 위한 디스플레이 데이터를 롬(16)으로부터 리드하여 디스플레이(20)에 제공한다. 상기 디스플레이(20)는 상기 디스플레이 데이터에 따라 자간을 선택하라는 문구와 선택 가능한 자간을 디스플레이한다. 상기 디스플레이가 종료되면 제어부(10)는 (34)단계를 수행한다. 사용자는 키보드(14)를 통하여 선택 가능한 자간 중 어느 하나를 선택하여 입력한다. 여기서 선택가능한 자간을 1,2,3으로 한다. 상기 입력된 자간은 제어부(10)에 입력된다. 상기 자간의 입력이 종료되면 제어부(10)는 (36)단계를 수행한다. 상기 (36)단계에서 제어부(10)는 입력된 자간을 램(18)에 저장한다.As described above, in order to adjust the tracking, the user must perform the tracking setting in the program mode of the electronic cash register before issuing a receipt. FIG. 9 is a flowchart illustrating a method for adjusting the width of an electronic cash register for setting tracking in the program mode. 9 is performed whenever the user performs a mode key input. That is, when the user inputs the mode key, the controller 10 performs step 24. In step (24), the controller 10 searches whether the mode key input corresponds to the program mode. At this time, the controller 10 performs step 28 if the mode key input corresponds to the program mode, and performs step 26 if the mode key input does not correspond to the program mode. In step (28), the controller 10 reads display data for displaying a plurality of functions that can be performed in the program mode from the ROM 16 and provides it to the display 20. The display 20 receives the data and displays a plurality of functions. In this case, the user selects a specific function from the plurality of functions displayed as described above through the keyboard 14. If the function selected by the user corresponds to the kerning setting, the controller 10 performs step 32, and if the function selected by the user does not correspond to the kerning setting, the controller 10 performs the corresponding operation. In step (32), the controller 10 reads from the ROM 16 the display to display the phrase to select kerning and selectable kerning and provides it to the display 20. The display 20 displays a phrase to select kerning and selectable kerning according to the display data. When the display ends, the controller 10 performs step 34. The user selects and inputs any one of the selectable kerning through the keyboard 14. Here, the selectable mojikumi is 1,2,3. The entered tracking is input to the controller 10. When the input between the ends is completed, the controller 10 performs step 36. In step (36), the controller 10 stores the input kerning in the RAM 18.

상기와 같이 자간이 저장된 후 인자를 수행하는 과정을 도시한 것이 도 10이다. 도 10에 도시한 흐름도는 전자식 금전등록기에서 인자명령이 발생될 경우마다 수행된다. (38)단계에서 제어부(10)는 인자명령이 있는지를 검색한다. 이때 제어부(10)는 상기 인자명령이 있는 경우에 (42)단계를 수행하고, 인자명령이 없는 경우에는 (40)단계를 수행한다. 상기 (40)단계에서 제어부(10)는 해당동작을 수행한다.As shown in FIG. 10, a process of performing printing after storing kerning is as described above. The flowchart shown in FIG. 10 is performed whenever a print command is generated in the electronic cash register. In step 38, the controller 10 searches for a print command. At this time, the control unit 10 performs step (42) when the argument command is present, and performs step (40) when there is no argument command. In step 40, the controller 10 performs a corresponding operation.

상기 (42)단계에서 제어부(10)는 램(18)에 미리 저장되어 있는 인자데이타를 리드한다. 상기 리드가 종료되면 제어부(10)는 (44)단계를 수행한다. 상기 (44)단계에서 제어부(10)는 리드한 인자데이타에 대응한 폰트를 롬(16)에서 리드한다. 이때 상기 인자데이타는 한 문자에 대한 인자데이타이다.In step (42), the controller 10 reads the print data stored in the RAM 18 in advance. When the read ends, the controller 10 performs step 44. In step 44, the controller 10 reads the font corresponding to the read data from the ROM 16. In this case, the print data is print data for one character.

상기 폰트의 리드가 종료되면 제어부(10)는 (46)단계를 수행한다. 상기 (46)단계에서 제어부(10)는 램(16)에 저장된 자간을 리드한다. 상기 자간의 리드가 종료되면 제어부(10)는 (48)단계를 수행한다. 상기 (48)단계에서 제어부(10)는 리드한 자간이 3인지를 검색한다. 이때 상기 자간이 3이면 (50)단계를 수행하고, 자간이 3이 아니면 (56)단계를 수행한다.When the reading of the font is finished, the controller 10 performs step 46. In step 46, the controller 10 reads the tracking stored in the RAM 16. When the reading between the terminals is completed, the controller 10 performs step 48. In step (48), the controller 10 searches whether the leading period is three. In this case, if the tracking is 3, step 50 is performed. If the tracking is not 3, step 56 is performed.

상기 (50)단계에서 제어부(10)는 상기 리드한 폰트 다음에 인자하지 않는 1개의 도트를 삽입한다. 상기 삽입이 종료되면 제어부(10)는 (52)단계를 수행한다. 상기 (52)단계에서 제어부(10)는 다시 인자하지 않는 1개의 도트를 삽입한다. 상기 삽입이 종료되면 제어부(10)는 (54)단계를 수행한다. 상기 (54)단계에서 제어부(10)는 다시 인자하지 않는 1개의 도트를 삽입한다. 상기 삽입이 종료되면 제어부(10)는 상기 (42)단계를 수행하여 다음 인자데이타에 대응하는 폰트를 구성하도록 한다.In step 50, the controller 10 inserts one dot not printed after the read font. When the insertion is completed, the controller 10 performs step 52. In step 52, the controller 10 inserts one dot that is not printed again. When the insertion is completed, the controller 10 performs step 54. In step 54, the controller 10 inserts one dot that is not printed again. When the insertion is completed, the controller 10 performs step (42) to configure a font corresponding to the next printing data.

상기와 같이 자간이 3일 경우에는 (50) 내지 (54)단계를 수행하여 인자하지 않는 3개의 도트를 리드한 폰트 다음에 삽입하여 인자할 폰트를 구성한다.When the tracking is 3 as described above, steps (50) to (54) are performed to insert the non-printing three dots after the font to be inserted to form a font to be printed.

상기 (56)단계에서 제어부(10)는 자간이 2인지를 검색한다. 이때 제어부(10)는 자간이 2이면 (52) 내지 (54)단계를 수행하여 리드한 폰트 다음에 인자하지 않는 2개의 도트를 삽입한다.In step 56, the controller 10 searches whether tracking is two. At this time, if the tracking is 2, the control unit 10 performs steps 52 to 54 to insert two non-printed dots after the read font.

상기와 같이 자간이 2일 경우에는 (52) 내지 (54)단계를 수행하여 인자하지 않는 2개의 도트를 리드한 폰트 다음에 삽입하여 인자할 폰트를 구성한다.When the tracking is 2 as described above, steps (52) to (54) are performed to insert the non-printing two dots after the font that is read to form a font to be printed.

그리고, 제어부(10)는 (56)단계에서 자간에 2가 아니면 (58)단계를 수행한다. 상기 (58)단계에서 제어부(10)는 자간이 1인지를 검색한다. 이때 제어부(10)는 자간이 1이면 (54)단계를 수행하여, 리드한 폰트 다음에 인자하지 않는 1개의 도트를 삽입한다.In addition, in step 56, the control unit 10 performs step 58 if it is not two. In step 58, the controller 10 searches whether tracking is one. At this time, if the tracking is 1, the controller 10 performs step 54 to insert one dot not printed after the read font.

상기와 같이 자간이 1일 경우에는 (54)단계를 수행하여 인자하지 않는 1개의 도트를 리드한 폰트 다음에 삽입하여 인자할 폰트를 구성한다.If the tracking is 1 as described above, step (54) is performed to insert a non-printing dot after the font to be inserted to form a font to be printed.

그리고, 제어부(10)는 (58)단계에서 자간이 1이 아니면 (60)단계를 수행한다. 상기 (60)단계에서 제어부(10)는 에러를 디스플레이하기 위한 데이터를 롬(16)에서 리드하여 디스플레이(20)에 제공한다. 디스플레이(20)는 상기 에러를 디스플레이하기 위한 데이터에 따라 에러를 디스플레이한다.In addition, in step 58, if the tracking is not 1, the control unit 10 performs step 60. In step 60, the controller 10 reads data for displaying an error from the ROM 16 and provides the data to the display 20. Display 20 displays the error in accordance with the data for displaying the error.

상기 제어부(10)는 (54)단계의 수행이 종료되면 (62)단계를 수행한다. 상기 (62)단계에서 제어부(10)는 상기 폰트를 구성한 문자의 인자데이타가 마지막 인자데이타에 대응한 것인지를 검색한다. 이때 제어부(10)는 상기 인자데이타가 마지막 인자데이타이면 (64)단계를 수행하고, 마지막 인자데이타가 아니면 상기 (42)단계를 수행한다.The controller 10 performs step 62 when the execution of step 54 ends. In step 62, the controller 10 searches whether the print data of the characters constituting the font corresponds to the last print data. At this time, the controller 10 performs step (64) when the print data is the last print data, and performs step (42) when the print data is not the last print data.

상기 (64)단계에서 제어부(10)는 구성된 폰트에 대응한 화상을 인자한 후 종료한다.In step (64), the controller 10 finishes printing the image corresponding to the configured font.

상술한 바와 같이 본 발명은 자간을 조절함으로서 인자폭을 조절할 수 있다. 이에따라 영수증용 용지의 용지폭에 따라 인자폭을 조절하여 다양한 용지폭의 영수증용 용지를 사용하여도 정상적으로 인자할 수 있다.As described above, the present invention can adjust the printing width by adjusting the tracking. Accordingly, the printing width can be adjusted normally according to the paper width of the receipt paper by using the receipt paper of various paper widths.

상술한 바와 같이 본 발명은 인자폭의 조절을 가능하게 함으로서, 영수증용 용지의 선택의 폭을 넓혔다. 또한 폭이 좁은 영수증용 용지에 인자를 수행할 수 있으므로, 경비 절감을 가져오는 이점이 있다.As described above, the present invention makes it possible to adjust the printing width, thereby widening the selection of the receipt paper. In addition, since printing can be performed on a narrow receipt paper, there is an advantage of reducing the cost.

Claims (3)

전자식 금전등록기의 인자폭 조절방법에 있어서,In the printing method of controlling the width of the electronic cash register, 영수증용 용지의 크기에 따라 설정된 자간으로 인자할 폰트를 구성하여 인자폭을 조절하는 것을 특징으로 하는 전자식 금전등록기의 인자폭 조절방법.A printing method for controlling the printing width of an electronic cash register, characterized in that for controlling the printing width by configuring a font to be printed according to the size of the receipt paper. 전자식 금전등록기의 인자폭 조절방법에 있어서,In the printing method of controlling the width of the electronic cash register, 자간설정데이타를 입력받아 저장하는 자간저장단계와,An kerning storage step of receiving and storing kerning setting data; 한 문자에 대응하는 인자데이타의 폰트를 리드하는 폰트리드단계와,A font reading step of reading a font of print data corresponding to one character; 상기 리드한 폰트 뒤에 상기 자간설정데이타에 따른 소정의 자간을 삽입하는 자간삽입단계와,An kerning insertion step of inserting a predetermined kerning according to the kerning set data after the read font; 상기 리드한 폰트와 소정의 자간으로 구성된 폰트를 인자하는 인자단계를 구비하는 것을 특징으로 하는 전자식 금전등록기의 인자폭 조절방법.And a printing step of printing the read font and a font composed of predetermined kerning. 제2항에 있어서, 상기 자간설정데이타가,The method of claim 2, wherein the mojikumi setting data, 사용자의 선택에 따라 자간을 설정하기 위한 것을 특징으로 하는 전자식 금전등록기의 인자폭 조절방법How to adjust the printing width of the electronic cash register, characterized in that for setting the tracking according to the user's selection
KR1019960052142A 1996-11-05 1996-11-05 How to adjust printing width of electronic cash register KR19980034179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960052142A KR19980034179A (en) 1996-11-05 1996-11-05 How to adjust printing width of electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960052142A KR19980034179A (en) 1996-11-05 1996-11-05 How to adjust printing width of electronic cash register

Publications (1)

Publication Number Publication Date
KR19980034179A true KR19980034179A (en) 1998-08-05

Family

ID=66519864

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960052142A KR19980034179A (en) 1996-11-05 1996-11-05 How to adjust printing width of electronic cash register

Country Status (1)

Country Link
KR (1) KR19980034179A (en)

Similar Documents

Publication Publication Date Title
CA1235819A (en) Label printer
US4996539A (en) Label printer
US5047956A (en) Information processing device having a function of designating a printing-start position
KR19980034179A (en) How to adjust printing width of electronic cash register
EP0152839B1 (en) Electronic cash register
KR100263337B1 (en) Control method of ecr printer head
JP6977810B2 (en) Sales data processing device, receipt issuance method and program
JP7231003B1 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD AND PROGRAM
JPS55164964A (en) Electronic cash register
JP2945880B2 (en) Electronic cash register
JPH05135280A (en) Electronic cash register
JP3198037B2 (en) Product sales registration data processing device
JP2019067458A (en) Sales data processing device and program
KR920008144B1 (en) Printing method for receipt of cash register
JP2998466B2 (en) Distribution terminal device with switching mechanism for each use of roll paper
KR20010009423A (en) Paper selection printing method of ecr
KR19990030678A (en) How to print any text on the electronic cash register
KR19990017009A (en) How to modify printer control command of cash register
JPH05229175A (en) Label printer
JPH05225450A (en) Electronic cash register
JPH0636140A (en) Merchandise sales date processor
JPH04270669A (en) Label printer
KR19990024374A (en) How to Operate Electronic Journal by Electronic Cash Register
JPH10326372A (en) Device and method for providing information, and automatic teller machine
JPH04350788A (en) Electronic cash register

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination