JP6158763B2 - Registration processing apparatus and control program thereof - Google Patents

Registration processing apparatus and control program thereof Download PDF

Info

Publication number
JP6158763B2
JP6158763B2 JP2014140875A JP2014140875A JP6158763B2 JP 6158763 B2 JP6158763 B2 JP 6158763B2 JP 2014140875 A JP2014140875 A JP 2014140875A JP 2014140875 A JP2014140875 A JP 2014140875A JP 6158763 B2 JP6158763 B2 JP 6158763B2
Authority
JP
Japan
Prior art keywords
mode
roll paper
image
unit
print
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
JP2014140875A
Other languages
Japanese (ja)
Other versions
JP2016018401A (en
Inventor
山本 雅也
雅也 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2014140875A priority Critical patent/JP6158763B2/en
Publication of JP2016018401A publication Critical patent/JP2016018401A/en
Application granted granted Critical
Publication of JP6158763B2 publication Critical patent/JP6158763B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の実施形態は、登録処理装置およびその制御プログラムに関する。   Embodiments described herein relate generally to a registration processing apparatus and a control program thereof.

電子キャッシュレジスタなどのような、商取引の登録処理を行う登録処理装置では、閉店後の精算作業のために必要な情報をロール紙にプリントする機能を備える。諸設定を点検するために必要な情報をロール紙にプリントする機能を備える場合もある。   A registration processing apparatus such as an electronic cash register that performs registration processing for commercial transactions has a function of printing information necessary for a checkout operation after closing a store on a roll paper. There may be a function of printing information necessary for checking various settings on a roll paper.

そして、このような各種の情報のプリントにおいては、プリントの対象となる情報が大量である場合も少なからずあり、多くのロール紙を消費することになっていた。   In the printing of such various information, there are not a few cases where there is a large amount of information to be printed, and many roll papers are consumed.

このような事情から、使用状況によっては、ロール紙の消費を抑えることが望まれる場合があった。   Under such circumstances, there is a case where it is desired to suppress the consumption of the roll paper depending on the use situation.

特開平3−294991号公報Japanese Patent Laid-Open No. 3-294911

本発明が解決しようとする課題は、必要に応じてロール紙の消費を抑えることを可能とする登録処理装置およびその制御プログラムを提供することである。   The problem to be solved by the present invention is to provide a registration processing apparatus and a control program therefor that can suppress consumption of roll paper as required.

実施形態の登録処理装置は、プリンタ、生成部、選択部、縮小部および制御部を備える。プリンタは、ロール紙に対して任意の画像をプリント。生成部は、ロール紙にプリントするのに適するように予め定めたフォームでプリント対象となる情報を配列してプリント用画像を生成する。選択部は、第1のモードを含んだ複数のプリントモードのうちの1つをユーザの指示に応じて選択する。縮小部は、選択部により第1のモード以外のプリントモードが選択された場合に、当該選択されたプリントモードに対して予め定められた倍率で、生成部により生成された画像をロール紙の幅方向に相当する方向に縮小する。制御部は、選択部により第1のモードが選択された場合には、生成部により生成された画像をプリントし、選択部により第1のモード以外のプリントモードが選択された場合には、縮小部により縮小された画像を、選択部により選択されたプリントモードに対して予め定められた分割数でロール紙の巻き取り方向に相当する方向に分割した画像がロール紙の幅方向に並べてプリントされるようにプリンタを制御する。   The registration processing apparatus according to the embodiment includes a printer, a generation unit, a selection unit, a reduction unit, and a control unit. The printer prints any image on the roll paper. The generation unit generates information for printing by arranging information to be printed in a predetermined form suitable for printing on roll paper. The selection unit selects one of a plurality of print modes including the first mode according to a user instruction. The reduction unit, when a print mode other than the first mode is selected by the selection unit, displays the image generated by the generation unit at a predetermined magnification with respect to the selected print mode. Reduce in the direction corresponding to the direction. The control unit prints the image generated by the generation unit when the selection unit selects the first mode, and reduces the image when the selection unit selects a print mode other than the first mode. An image obtained by dividing the image reduced by the copy unit in the direction corresponding to the winding direction of the roll paper with a predetermined number of divisions for the print mode selected by the selection unit is arranged and printed in the width direction of the roll paper. To control the printer.

一実施形態に係る電子キャッシュレジスタ(レジスタ)のブロック図。The block diagram of the electronic cash register (register) concerning one embodiment. 図1中のCPUの制御処理におけるフローチャート。The flowchart in the control processing of CPU in FIG. 縮小後のプリント用画像の一例を示す図。The figure which shows an example of the image for printing after reduction. 再生成されるプリント用画像の一例を示す図。The figure which shows an example of the image for printing regenerated.

以下、実施の形態の一例を、図面を用いて説明する。なお、本実施の形態では、本願の登録処理装置として電子キャッシュレジスタ(以降においては、レジスタと略記する)を例に説明する。   Hereinafter, an exemplary embodiment will be described with reference to the drawings. In this embodiment, an electronic cash register (hereinafter abbreviated as a register) will be described as an example of the registration processing apparatus of the present application.

図1は本実施形態に係るレジスタ100のブロック図である。   FIG. 1 is a block diagram of a register 100 according to the present embodiment.

レジスタ100は、CPU(central processing unit)1、ROM(read-only memory)2、RAM(random-access memory)3、補助記憶ユニット4、時計ユニット5、入出力ポート(I/O)6、通信インタフェース(通信I/F)7,8,9,10,11、キーボード12、メイン表示器13、サブ表示器14、レシートプリンタ15、ジャーナルプリンタ16およびバスライン17を含む。そして、CPU1、ROM2、RAM3、補助記憶ユニット4、時計ユニット5、入出力ポート6および通信インタフェース7〜11は、バスライン17にそれぞれ接続されている。   The register 100 includes a central processing unit (CPU) 1, a read-only memory (ROM) 2, a random-access memory (RAM) 3, an auxiliary storage unit 4, a clock unit 5, an input / output port (I / O) 6, and communication Interfaces (communication I / F) 7, 8, 9, 10, 11, a keyboard 12, a main display 13, a sub display 14, a receipt printer 15, a journal printer 16, and a bus line 17 are included. The CPU 1, ROM 2, RAM 3, auxiliary storage unit 4, clock unit 5, input / output port 6 and communication interfaces 7 to 11 are connected to the bus line 17.

CPU1、ROM2、RAM3および補助記憶ユニット4は、バスライン17により接続されてコンピュータを構成する。   The CPU 1, ROM 2, RAM 3 and auxiliary storage unit 4 are connected by a bus line 17 to constitute a computer.

CPU1は、上記コンピュータの中枢部分である。CPU1は、オペレーティングシステムやアプリケーションプログラムに従って、レジスタ100としての所期の機能を実現するべく各部を制御する。上記の所期の機能のうちの1つは、後述する制御処理により実現される機能である。   The CPU 1 is a central part of the computer. The CPU 1 controls each unit so as to realize an intended function as the register 100 in accordance with an operating system or an application program. One of the expected functions is a function realized by a control process described later.

ROM2は、上記コンピュータの主記憶部分である。ROM2は、上記のオペレーティングシステムやアプリケーションプログラムを記憶する。ROM2は、CPU1が各種の処理を実行する上で必要なデータを記憶する場合もある。   The ROM 2 is a main storage part of the computer. The ROM 2 stores the above operating system and application programs. The ROM 2 may store data necessary for the CPU 1 to execute various processes.

RAM3は、上記コンピュータの主記憶部分である。RAM3は、CPU1が各種の処理を実行する上で必要なデータを必要に応じて記憶する。またRAM3は、CPU1が各種の処理を行う際のワークエリアとしても利用される。   The RAM 3 is a main storage part of the computer. The RAM 3 stores data necessary for the CPU 1 to execute various processes as necessary. The RAM 3 is also used as a work area when the CPU 1 performs various processes.

補助記憶ユニット4は、上記コンピュータの補助記憶部分である。補助記憶ユニット4は、例えばEEPROM(electric erasable programmable read-only memory)、ハードディスクドライブ、あるいはSSD(solid state drive)などである。補助記憶ユニット4は、CPU1が各種の処理を行う上で使用するデータや、CPU1での処理によって生成されたデータを保存する。補助記憶ユニット4は、上記のアプリケーションプログラムを記憶する場合もある。   The auxiliary storage unit 4 is an auxiliary storage part of the computer. The auxiliary storage unit 4 is, for example, an EEPROM (electrically erasable programmable read-only memory), a hard disk drive, or an SSD (solid state drive). The auxiliary storage unit 4 stores data used when the CPU 1 performs various processes and data generated by the processes in the CPU 1. The auxiliary storage unit 4 may store the above application program.

ROM2または補助記憶ユニット4が保存するアプリケーションプログラムには、後述する制御処理について記述した制御プログラムが含まれる。このレジスタ100の譲渡は一般に、この制御プログラムがROM2または補助記憶ユニット4に記憶された状態にて行われる。しかし、レジスタ100の譲渡が、制御プログラムがROM2または補助記憶ユニット4に記憶されない状態にて行われ、レジスタ100とは個別に譲渡された制御プログラムがユーザなどの操作に応じて補助記憶ユニット4に書き込まれても良い。制御プログラムの譲渡は、リムーバブルな記録媒体に記録して、あるいはネットワークを介した通信により行うことができる。上記の記憶媒体は、上記のコンピュータ装置に内蔵または接続された読取装置によって読み取り可能であれば、磁気ディスク、光磁気ディスク、光ディスク、半導体メモリなど、その形態は問わない。なお、制御プログラムを補助記憶ユニット4が保存する場合、後述する制御処理を実行する必要がある期間において一時的に制御プログラムが補助記憶ユニット4に保存されても良い。   The application program stored in the ROM 2 or the auxiliary storage unit 4 includes a control program describing control processing to be described later. The transfer of the register 100 is generally performed in a state where the control program is stored in the ROM 2 or the auxiliary storage unit 4. However, the transfer of the register 100 is performed in a state where the control program is not stored in the ROM 2 or the auxiliary storage unit 4, and the control program transferred separately from the register 100 is transferred to the auxiliary storage unit 4 according to the operation of the user or the like. May be written. The control program can be transferred by recording on a removable recording medium or by communication via a network. The storage medium may be in any form, such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory, as long as it can be read by a reading device built in or connected to the computer device. When the auxiliary storage unit 4 stores the control program, the control program may be temporarily stored in the auxiliary storage unit 4 during a period in which a control process described later needs to be executed.

時計ユニット5は、定常的に計時動作を行い、日付および時刻を表した日時情報を生成する。時計ユニット5としては、例えばTOD(time of day)時計が利用できる。   The clock unit 5 constantly performs a timekeeping operation, and generates date / time information representing the date and time. For example, a TOD (time of day) clock can be used as the clock unit 5.

入出力ポート6は、CPU1からドロワ開放が指示されたことに応じてドロワ200を駆動するための駆動信号をドロワ200に対して出力する。ドロワ200は、紙幣や硬貨を収容する。ドロワ200は、駆動信号を受けて自動的に開放する。   The input / output port 6 outputs a drive signal for driving the drawer 200 to the drawer 200 in response to an instruction to open the drawer from the CPU 1. The drawer 200 accommodates banknotes and coins. The drawer 200 automatically opens upon receiving a drive signal.

通信インタフェース7〜11には、キーボード12、メイン表示器13、サブ表示器14、レシートプリンタ15およびジャーナルプリンタ16がそれぞれ接続される。通信インタフェース7〜11は、これら接続されたデバイスとCPU1との通信をインタフェースする。通信インタフェースとしては、例えばRS(recommended standard)−232C、PS/2、USB(universal serial bus)、LVDS(low voltage differential signaling)、IEEE(institute of electrical and electronic engineers)1284(いわゆるセントロニクス仕様)などの周知の規格に準拠したデバイスを適宜に利用できる。典型的には、通信インタフェース7にはPS/2またはUSBが、通信インタフェース8,9にはLVDS、RS−232CまたはUSBが、通信インタフェース10,11にはIEEE1284またはUSBが適用される。   A keyboard 12, a main display 13, a sub display 14, a receipt printer 15 and a journal printer 16 are connected to the communication interfaces 7 to 11, respectively. The communication interfaces 7 to 11 interface communication between these connected devices and the CPU 1. As communication interfaces, for example, RS (recommended standard) -232C, PS / 2, USB (universal serial bus), LVDS (low voltage differential signaling), IEEE (institute of electrical and electronic engineers) 1284 (so-called Centronics specification), etc. Devices conforming to known standards can be used as appropriate. Typically, PS / 2 or USB is applied to the communication interface 7, LVDS, RS-232C or USB is applied to the communication interfaces 8 and 9, and IEEE1284 or USB is applied to the communication interfaces 10 and 11.

キーボード12は、オペレータによる操作の内容を表したコマンドを出力する。   The keyboard 12 outputs a command representing the content of the operation by the operator.

メイン表示器13は、CPU1の制御の下に任意の画像を表示可能である。メイン表示器13は、通常は、オペレータに対して提示するべき各種の情報を表した画像を表示するために利用される。   The main display 13 can display an arbitrary image under the control of the CPU 1. The main display 13 is normally used to display an image representing various information to be presented to the operator.

サブ表示器14は、例えばLCDまたは蛍光管表示器であり、CPU1の制御の下に任意の画像を表示可能である。サブ表示器14は、通常は、顧客に対して提示するべき各種の情報を表した画像を表示するために利用される。   The sub display 14 is an LCD or a fluorescent tube display, for example, and can display an arbitrary image under the control of the CPU 1. The sub-display 14 is normally used to display an image representing various information to be presented to the customer.

レシートプリンタ15は、例えばサーマルプリンタやドットインパクトプリンタなどであり、レシートなどの伝票をロール紙に対して印刷する。   The receipt printer 15 is, for example, a thermal printer or a dot impact printer, and prints a slip such as a receipt on roll paper.

ジャーナルプリンタ16は、例えばサーマルプリンタやドットインパクトプリンタなどであり、レジスタ100での登録処理に関する履歴情報をロール紙に対して印字する。これによりジャーナルプリンタ16は、多数の登録処理に関する履歴情報が印字されたロール紙としてのジャーナルを作成する。   The journal printer 16 is, for example, a thermal printer or a dot impact printer, and prints history information related to registration processing in the register 100 on roll paper. As a result, the journal printer 16 creates a journal as roll paper on which history information relating to a large number of registration processes is printed.

レシートプリンタ15やジャーナルプリンタ16で用いるロール紙は、その幅が、例えばA4版などのような一般的なサイズの用紙に比べて狭い。これらのロール紙の幅は、例えば58mmである。これらのロール紙の幅は、それぞれ異なっていても良い。   The roll paper used in the receipt printer 15 and the journal printer 16 is narrower than a general size paper such as A4 size. The width of these roll papers is 58 mm, for example. These roll papers may have different widths.

次に以上のように構成されたレジスタ100の動作について説明する。   Next, the operation of the register 100 configured as described above will be described.

CPU1は、オペレータによるキーボード12の操作に応じて、予め用意された複数の動作モードのうちの任意の1つを起動する。このように起動できる動作モードの1つに、閉店後の精算作業のために必要な情報や、諸設定を点検するために必要な情報などのような諸情報をレシートプリンタ15にてプリントする動作モードがある。この動作モードの起動がオペレータにより指示されるとCPU1は、ROM2または補助記憶ユニット4に記憶された制御プログラムに従って次の様な制御処理を実行する。   The CPU 1 activates any one of a plurality of operation modes prepared in advance according to the operation of the keyboard 12 by the operator. One of the operation modes that can be activated in this way is an operation for printing various information such as information necessary for the checkout after closing the store, information necessary for checking various settings, and the like on the receipt printer 15. There is a mode. When the activation of this operation mode is instructed by the operator, the CPU 1 executes the following control process according to the control program stored in the ROM 2 or the auxiliary storage unit 4.

図2はCPU1の制御処理におけるフローチャートである。なお、以下に説明する処理の内容は一例であって、同様な結果を得ることが可能な様々な処理を適宜に利用できる。   FIG. 2 is a flowchart in the control process of the CPU 1. Note that the content of the processing described below is an example, and various processing that can obtain the same result can be used as appropriate.

Act1においてCPU1は、プリント対象とする情報をオペレータによるキーボード12の操作に応じて決定する。   In Act1, the CPU 1 determines information to be printed according to the operation of the keyboard 12 by the operator.

Act2においてCPU1は、プリント対象とする情報を例えばRAM3および補助記憶ユニット4などから取得して、これら情報を予め定められたフォームに従って配列してプリント用画像を生成する。ここで使用するフォームは、通常はロール紙の幅を有効利用して情報のプリントが行えるように定められる。つまり典型的には、プリント用画像の横方向の長さは、ロール紙の幅よりも若干小さく定められる。かくして制御プログラムに基づいて上記の制御処理をCPU1が実行することによって、CPU1を中枢部分とするコンピュータは生成部として機能する。   In Act 2, the CPU 1 acquires information to be printed from, for example, the RAM 3 and the auxiliary storage unit 4 and arranges the information according to a predetermined form to generate a print image. The form used here is usually determined so that information can be printed by effectively using the width of the roll paper. That is, typically, the horizontal length of the print image is set slightly smaller than the width of the roll paper. Thus, when the CPU 1 executes the above control processing based on the control program, the computer having the CPU 1 as a central part functions as a generation unit.

Act3においてCPU1は、プリントモードの選択をオペレータに対して要求する。具体的には例えば、プリントモードを第1および第2のモードのいずれとするかを指示するようにオペレータに要求する内容を表した画面をメイン表示器13の表示画面とする。   In Act 3, the CPU 1 requests the operator to select a print mode. Specifically, for example, a screen representing the content requested to the operator to instruct whether the print mode is the first mode or the second mode is used as the display screen of the main display 13.

Act4においてCPU1は、プリントモードとして第1のモードが指定されたか否かを確認する。そしてCPU1は、第2のモードが指定されたためにNOと判定したならば、プリントモードとして第2のモードを選択し、Act5へと進む。   In Act 4, the CPU 1 confirms whether or not the first mode is designated as the print mode. If the CPU 1 determines NO because the second mode is designated, the CPU 1 selects the second mode as the print mode, and proceeds to Act 5.

Act5においてCPU1は、Act2にて生成したプリント用画像を予め定めた倍率で縮小する。ここでの縮小の倍率は、少なくとも横方向の長さが1/2以下となるように、レジスタ100の設計者または管理者により任意に設定されて良い。あるいは、縮小の処理を開始するのに先立って、オペレータの指示に応じて決定しても良い。ここでは、倍率は、横方向および縦方向のいずれも50%とする。つまりCPU1は、ここでの縮小により、Act2にて生成したプリント用画像を横方向、縦方向共に1/2に、つまり面積比で1/4に縮小する。かくして制御プログラムに基づいて上記の制御処理をCPU1が実行することによって、CPU1を中枢部分とするコンピュータは縮小部として機能する。   In Act 5, the CPU 1 reduces the print image generated in Act 2 at a predetermined magnification. The reduction magnification here may be arbitrarily set by the designer or manager of the register 100 so that at least the horizontal length is ½ or less. Alternatively, it may be determined in accordance with an instruction from the operator prior to starting the reduction process. Here, the magnification is 50% in both the horizontal direction and the vertical direction. That is, the CPU 1 reduces the print image generated in Act 2 to 1/2 in both the horizontal direction and the vertical direction, that is, to reduce the area ratio to 1/4 by this reduction. Thus, when the CPU 1 executes the above-described control processing based on the control program, the computer having the CPU 1 as a central part functions as a reduction unit.

図3は縮小後のプリント用画像51の一例を示す図である。   FIG. 3 is a view showing an example of the print image 51 after reduction.

図3において、プリント用画像51の横方向および縦方向の長さは、Act2にて生成されたプリント用画像の横方向および縦方向の長さのそれぞれ1/2である。プリント用画像51の縦方向の長さは、ここではL1と表す。   In FIG. 3, the horizontal and vertical lengths of the print image 51 are each ½ of the horizontal and vertical lengths of the print image generated in Act2. Here, the length of the print image 51 in the vertical direction is represented as L1.

Act6においてCPU1は、Act5にて縮小済みのプリント用画像を、縦方向に複数に分割する。ここでの分割数は、Act6での縮小における横方向の倍率を1/nと表す場合の分母nの値から小数点以下を切り捨てて得られる整数以下の整数となるように、レジスタ100の設計者または管理者により任意に設定されて良い。なお望ましくは、分割数は、上記分母nの値の小数点以下を切り捨てて得られる整数と同じ数とする。つまり、前述の様に横方向の倍率が1/2であるならば、分割数は「2」とする。   In Act 6, the CPU 1 divides the print image reduced in Act 5 into a plurality of parts in the vertical direction. The number of divisions here is the designer of the register 100 so that it becomes an integer equal to or less than an integer obtained by rounding down the decimal point from the value of the denominator n when the horizontal magnification in Act 6 is expressed as 1 / n. Or it may be arbitrarily set by the administrator. Desirably, the number of divisions is the same as an integer obtained by rounding down the decimal point of the value of the denominator n. In other words, if the horizontal magnification is ½ as described above, the number of divisions is “2”.

プリント用画像51は、レジスタ100で行った登録処理の履歴を表したものである。プリント用画像51は、複数件の登録処理に関する情報を縦方向に並べて表している。例えば「2014年 7月 1日(土)NO()」のような年月日を表す行を先頭とし、「0001 10時 6分」のような通番および時刻を表す行までが、1件の登録処理に関する情報を表す。   The print image 51 represents a history of registration processing performed in the register 100. The print image 51 represents information related to a plurality of registration processes arranged in the vertical direction. For example, “July 1, 2014 (Saturday) NO ()” is the beginning of the line that represents the date, up to the line that represents the serial number and time, such as “0001 10: 6”. Represents information related to registration processing.

分割数が2である場合、プリント用画像51の先端からL1/2だけ離れた位置P1でプリント用画像51を2つに分割すれば良く、CPU1はそのように処理しても良い。しかしながら、この場合、1件の登録処理に関する情報が2分されてしまう可能性が高い。そこでCPU1は、プリント用画像51内で隣接する2件の登録処理に関するそれぞれの情報の境界のうちの位置P1に最も近いものの位置P2でプリント用画像51を2つに分割する。   When the number of divisions is 2, the print image 51 may be divided into two at the position P1 separated from the front end of the print image 51 by L1 / 2, and the CPU 1 may perform such processing. However, in this case, there is a high possibility that information related to one registration process will be divided into two. Therefore, the CPU 1 divides the print image 51 into two at the position P2 that is closest to the position P1 among the boundaries of the information related to the two adjacent registration processes in the print image 51.

このため、図3の例においては、プリント用画像51の先端側の分割部分の長さL11と、プリント用画像51の末端側の分割部分の長さL12とは、位置P1と位置P2とのズレ量の2倍に相当する長さだけ異なる。   For this reason, in the example of FIG. 3, the length L11 of the divided portion on the leading end side of the print image 51 and the length L12 of the divided portion on the distal end side of the print image 51 are the positions P1 and P2. It differs by a length corresponding to twice the amount of deviation.

Act7においてCPU1は、Act6でプリント用画像51を分割して得た複数の画像を横方向に並べて新たなプリント用画像を再生成する。   In Act 7, the CPU 1 regenerates a new print image by arranging a plurality of images obtained by dividing the print image 51 in Act 6 in the horizontal direction.

図4はAct7で再生成されるプリント用画像61の一例を示す図である。   FIG. 4 is a diagram showing an example of the print image 61 regenerated by Act7.

CPU1は、Act7においてプリント用画像を再生成し終えたならば、Act8へと進む。なお、CPU1は、プリントモードとして第1のモードが指定されたためにAct4にてYESと判定したならば、プリントモードとして第1のモードを選択し、第Act5〜7をパスしてAct8へと進む。かくして制御プログラムに基づいて上記の制御処理をCPU1が実行することによって、CPU1を中枢部分とするコンピュータは選択部として機能する。   When the CPU 1 finishes regenerating the print image in Act 7, the process proceeds to Act 8. If the first mode is designated as the print mode and the CPU 1 determines YES in Act 4, the CPU 1 selects the first mode as the print mode, passes the fifth to seventh Acts, and proceeds to Act 8. . Thus, when the CPU 1 executes the above control processing based on the control program, the computer having the CPU 1 as a central part functions as a selection unit.

Act8においてCPU1は、Act7を実行した場合にはこのAct7にて再生成したプリント用画像を、またAct5〜7をパスした場合にはAct2で生成したプリント用画像を、ロール紙にプリントするようにレシートプリンタ15を制御する。レシートプリンタ15は、プリント用画像を、その横方向および縦方向をロール紙の幅方向および巻き取り方向に合わせた状態にてロール紙にプリントする。そしてCPU1は、このプリント用画像のプリントが完了したことをもって、図2に示す制御処理を終了する。   In Act 8, the CPU 1 prints the print image regenerated in Act 7 when Act 7 is executed, and the print image generated in Act 2 on Act roll when Act 5 is passed. The receipt printer 15 is controlled. The receipt printer 15 prints the print image on the roll paper in a state where the horizontal direction and the vertical direction are matched with the width direction and the winding direction of the roll paper. The CPU 1 ends the control process shown in FIG. 2 when the printing of the print image is completed.

かくしてレジスタ100は、プリントモードとして第1のモードをCPU1がオペレータの指示に応じて選択した場合には、ロール紙の幅一杯を利用して、L1×2の長さのロール紙を使用して、図3に示すように縮小される前のプリント用画像をプリントする。   Thus, when the CPU 1 selects the first mode as the print mode in accordance with an instruction from the operator, the register 100 uses the roll paper of L1 × 2 length by using the full width of the roll paper. As shown in FIG. 3, the print image before being reduced is printed.

これに対してレジスタ100は、プリントモードとして第2のモードをCPU1がオペレータの指示に応じて選択した場合には、ロール紙の幅一杯を利用して、L11の長さのロール紙を使用して、図4に示すように再生成したプリント用画像51をプリントする。かくして制御プログラムに基づいて上記の制御処理をCPU1が実行することによって、CPU1を中枢部分とするコンピュータは制御部として機能する。   On the other hand, when the CPU 1 selects the second mode as the print mode according to the operator's instruction, the register 100 uses the roll paper having the length of L11 using the full width of the roll paper. Then, the regenerated print image 51 is printed as shown in FIG. Thus, when the CPU 1 executes the above-described control processing based on the control program, the computer having the CPU 1 as a central part functions as a control unit.

長さL11は、長さL1のほぼ1/2であるから、第2のモードにおいては、第1のモードに比べてロール紙の使用量をおよそ1/4に抑えることができる。そしてオペレータは、必要に応じて第2のモードを指定することによって、ロール紙の使用量を抑制することができる。   Since the length L11 is approximately ½ of the length L1, the amount of roll paper used in the second mode can be reduced to approximately ¼ compared to the first mode. Then, the operator can suppress the amount of roll paper used by specifying the second mode as necessary.

この実施形態は、次のような種々の変形実施が可能である。   This embodiment can be variously modified as follows.

Act3を省略するとともに、Act4において、Act2で生成したプリント用画像が予め定めた条件を満たさないか否かを確認しても良い。上記の条件としては、例えばAct2で生成したプリント用画像の縦方向についての長さが予め定めた長さを超えないこととすることが想定される。   Act3 may be omitted, and in Act4, it may be confirmed whether the print image generated in Act2 does not satisfy a predetermined condition. As the above condition, for example, it is assumed that the length in the vertical direction of the print image generated in Act2 does not exceed a predetermined length.

制御処理においては、レシートプリンタ15にてプリントするのと同じ画像をジャーナルプリンタ16においてもプリントしても良い。この場合、ジャーナルプリンタ16においてもレシートプリンタ15にてプリントするのと全く同じ画像をプリントしても良い。しかしながら、ジャーナルプリンタ16においては定常的にAct3で生成されるプリント用画像をプリントしても良い。または、定常的にAct7で再生成されるプリント用画像をプリントしても良い。あるいは、前述したプリントモードとは無関係にもう1つのプリントモードを定めておき、このもう1つのプリントモードに応じたプリント用画像をジャーナルプリンタ16においてプリントしても良い。   In the control process, the same image as that printed by the receipt printer 15 may be printed by the journal printer 16. In this case, the journal printer 16 may print the same image as that printed by the receipt printer 15. However, the journal printer 16 may regularly print a print image generated by Act3. Alternatively, a print image that is regularly regenerated by Act 7 may be printed. Alternatively, another print mode may be determined regardless of the above-described print mode, and a print image corresponding to the other print mode may be printed by the journal printer 16.

第1のモードの他に、それぞれAct5でのプリント用画像の縮小の際に適用する倍率およびAct6での分割数のいずれかが相違する複数のプリントモードを選択可能としても良い。   In addition to the first mode, a plurality of print modes in which either the magnification applied when the print image is reduced at Act 5 or the number of divisions at Act 6 are different may be selected.

CPU1は、レシートプリンタ15におけるプリント用画像のプリントを行わせながら、プリント用画像を1ライン分または数ライン分ずつ順次に生成しても良い。この場合、CPU1は第2のモードにおいては、プリント用画像に含めるべき情報の情報量から図4に示すような配置を推定し、図4に示すような画像の1ライン分または数ライン分ずつを順次に展開して行けば良い。   The CPU 1 may sequentially generate the print image for one line or several lines while printing the print image in the receipt printer 15. In this case, in the second mode, the CPU 1 estimates the arrangement as shown in FIG. 4 from the amount of information to be included in the print image, and one line or several lines of the image as shown in FIG. Should be expanded sequentially.

ジャーナルプリンタ16でのプリントに際して、上記の実施形態を適用しても良い。   The above-described embodiment may be applied when printing with the journal printer 16.

商取引を管理するための情報の登録処理を実行するものであり、レシートプリンタ15に相当するプリンタを搭載するものであれば、POS(point-of-sale)端末装置のような、電子キャッシュレジスタ以外の登録処理装置にも本願を上記実施形態と同様に適用することが可能である。   If the information registration process for managing the business transaction is executed and a printer corresponding to the receipt printer 15 is installed, other than an electronic cash register such as a POS (point-of-sale) terminal device The present application can be applied to the registration processing apparatus as in the above embodiment.

制御処理の実行主体はCPU1には限らず、制御プログラムに基づいた情報処理を実行する機能を備えた如何なるハードウェアであっても良い。   The execution subject of the control process is not limited to the CPU 1 and may be any hardware having a function of executing information processing based on the control program.

制御処理によりCPU1が実現する各機能は、その一部または全てをロジック回路などのようなプログラムに基づかない情報処理を実行するハードウェアにより実現することも可能である。また上記の各機能のそれぞれは、上記のロジック回路などのハードウェアにソフトウェア制御を組み合わせて実現することも可能である。   Each function realized by the CPU 1 by the control processing can be realized by hardware that executes information processing that is not based on a program such as a logic circuit. Each of the above functions can also be realized by combining software control with hardware such as the above logic circuit.

制御処理によりCPU11が実現する各機能を得るための処理の一部または全てを、コンピュータ上で稼働しているOS(オペレーティングシステム)や、MW(ミドルウェア)等が実行しても良い。   An OS (operating system), MW (middleware), or the like running on the computer may execute part or all of the processing for obtaining each function realized by the CPU 11 by the control processing.

制御プログラムを記憶する記憶媒体は1つに限らず、制御プログラムが複数のプログラムモジュールに分割され、これら複数のプログラムモジュールが複数の記憶媒体に分散して記憶されていても良い。   The storage medium for storing the control program is not limited to one, and the control program may be divided into a plurality of program modules, and the plurality of program modules may be distributed and stored in a plurality of storage media.

制御処理は、複数のCPUによる分散処理により実現されても良い。この場合、複数のCPUは、単一の装置に搭載されていても良いし、異なる複数の装置に搭載されていても良い。   The control processing may be realized by distributed processing by a plurality of CPUs. In this case, the plurality of CPUs may be mounted on a single device or may be mounted on a plurality of different devices.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1…CPU、2…ROM、3…RAM、4…補助記憶ユニット、5…時計ユニット、6…入出力ポート、7〜11…通信インタフェース、12…キーボード、13…メイン表示器、14…サブ表示器、15…レシートプリンタ、16…ジャーナルプリンタ、17…バスライン、100…レジスタ。   1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... auxiliary storage unit, 5 ... clock unit, 6 ... input / output port, 7-11 ... communication interface, 12 ... keyboard, 13 ... main display, 14 ... sub display 15 ... Receipt printer, 16 ... Journal printer, 17 ... Bus line, 100 ... Register.

Claims (6)

ロール紙に対して任意の画像をプリントするプリンタと、
前記ロール紙にプリントするのに適するように予め定めたフォームでプリント対象となる情報を配列してプリント用画像を生成する生成部と、
第1のモードを含んだ複数のプリントモードのうちの1つをユーザの指示に応じて選択する選択部と、
前記選択部により前記第1のモード以外のプリントモードが選択された場合に、当該選択されたプリントモードに対して予め定められた倍率で、前記生成部により生成された画像を前記ロール紙の幅方向に相当する方向に縮小する縮小部と、
前記選択部により前記第1のモードが選択された場合には、前記生成部により生成された画像をプリントし、前記選択部により前記第1のモード以外のプリントモードが選択された場合には、前記縮小部により縮小された画像を、前記選択部により選択されたプリントモードに対して予め定められた分割数で前記ロール紙の巻き取り方向に相当する方向に分割した画像が前記ロール紙の幅方向に並べてプリントされるように前記プリンタを制御する制御部とを具備したことを特徴とする登録処理装置。
A printer that prints any image on roll paper;
A generator that generates print images by arranging information to be printed in a predetermined form suitable for printing on the roll paper;
A selection unit that selects one of a plurality of print modes including the first mode in response to a user instruction;
When a print mode other than the first mode is selected by the selection unit, the image generated by the generation unit is displayed at a predetermined magnification with respect to the selected print mode. A reduction section that reduces in a direction corresponding to the direction;
When the first mode is selected by the selection unit, the image generated by the generation unit is printed, and when a print mode other than the first mode is selected by the selection unit, An image obtained by dividing the image reduced by the reduction unit in a direction corresponding to the winding direction of the roll paper with a predetermined number of divisions for the print mode selected by the selection unit is the width of the roll paper. A registration processing apparatus, comprising: a control unit that controls the printer so that the printers are printed side by side in a direction.
前記第1のモード以外のプリントモードに対して予め定められた倍率および分割数がそれぞれ、1/n(nは2以上の整数)およびnであることを特徴とする請求項1に記載の登録処理装置。   2. The registration according to claim 1, wherein a predetermined magnification and division number for a print mode other than the first mode are 1 / n (n is an integer of 2 or more) and n, respectively. Processing equipment. ロール紙に対して任意の画像をプリントするプリンタと、
前記ロール紙にプリントするのに適するように予め定めたフォームでプリント対象となる情報を配列してプリント用画像を生成する生成部と、
前記生成部により生成された前記プリント用画像が、予め定められた条件を満たす場合に、その満たされた条件に対して予め定められた倍率で、前記生成部により生成された画像を前記ロール紙の幅方向に相当する方向に縮小する縮小部と、
前記条件が満たされなかった場合には、前記生成部により生成された画像をプリントし、前記条件が満たされた場合には、前記縮小部により縮小された画像を、前記条件に対して予め定められた分割数で前記ロール紙の巻き取り方向に相当する方向に分割した画像が前記ロール紙の幅方向に並べてプリントされるように前記プリンタを制御する制御部とを具備したことを特徴とする登録処理装置。
A printer that prints any image on roll paper;
A generator that generates print images by arranging information to be printed in a predetermined form suitable for printing on the roll paper;
When the image for printing generated by the generation unit satisfies a predetermined condition, the image generated by the generation unit is set to the roll paper at a predetermined magnification with respect to the satisfied condition. A reduction portion that reduces in a direction corresponding to the width direction of
When the condition is not satisfied, the image generated by the generation unit is printed. When the condition is satisfied, the image reduced by the reduction unit is determined in advance with respect to the condition. And a control unit that controls the printer so that images divided in the direction corresponding to the winding direction of the roll paper are printed side by side in the width direction of the roll paper. Registration processing device.
前記縮小部は、前記生成部により生成された画像を前記巻き取り方向に相当する方向にも縮小することを特徴とする請求項1−3のいずれか一項に記載の登録処理装置。   The registration processing apparatus according to claim 1, wherein the reduction unit reduces the image generated by the generation unit in a direction corresponding to the winding direction. 前記縮小部は、前記巻き取り方向に相当する方向についての縮小の倍率を前記幅方向に相当する方向についての倍率と同一とすることを特徴とする請求項4に記載の登録処理装置。   The registration processing apparatus according to claim 4, wherein the reduction unit makes a reduction magnification in a direction corresponding to the winding direction the same as a magnification in a direction corresponding to the width direction. ロール紙に対して任意の画像をプリントするプリンタを備えた登録処理装置を制御するコンピュータを、
前記ロール紙にプリントするのに適するように予め定めたフォームでプリント対象となる情報を配列してプリント用画像を生成する生成部と、
第1のモードを含んだ複数のプリントモードのうちの1つをユーザの指示に応じて選択する選択部と、
前記選択部により前記第1のモード以外のプリントモードが選択された場合に、当該選択されたプリントモードに対して予め定められた倍率で、前記生成部により生成された画像を前記ロール紙の幅方向に相当する方向に縮小する縮小部と、
前記選択部により前記第1のモードが選択された場合には、前記生成部により生成された画像をプリントし、前記選択部により前記第1のモード以外のプリントモードが選択された場合には、前記縮小部により縮小された画像を、前記選択部により選択されたプリントモードに対して予め定められた分割数で前記ロール紙の巻き取り方向に相当する方向に分割した画像が前記ロール紙の幅方向に並べてプリントされるように前記プリンタを制御する制御部として機能させるための制御プログラム。
A computer that controls a registration processing apparatus including a printer that prints an arbitrary image on roll paper;
A generator that generates print images by arranging information to be printed in a predetermined form suitable for printing on the roll paper;
A selection unit that selects one of a plurality of print modes including the first mode in response to a user instruction;
When a print mode other than the first mode is selected by the selection unit, the image generated by the generation unit is displayed at a predetermined magnification with respect to the selected print mode. A reduction section that reduces in a direction corresponding to the direction;
When the first mode is selected by the selection unit, the image generated by the generation unit is printed, and when a print mode other than the first mode is selected by the selection unit, An image obtained by dividing the image reduced by the reduction unit in a direction corresponding to the winding direction of the roll paper with a predetermined number of divisions for the print mode selected by the selection unit is the width of the roll paper. A control program for causing a printer to function as a control unit that controls the printer so that the printers are arranged in a direction.
JP2014140875A 2014-07-08 2014-07-08 Registration processing apparatus and control program thereof Expired - Fee Related JP6158763B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014140875A JP6158763B2 (en) 2014-07-08 2014-07-08 Registration processing apparatus and control program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014140875A JP6158763B2 (en) 2014-07-08 2014-07-08 Registration processing apparatus and control program thereof

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017113494A Division JP6393371B2 (en) 2017-06-08 2017-06-08 Registration processing device

Publications (2)

Publication Number Publication Date
JP2016018401A JP2016018401A (en) 2016-02-01
JP6158763B2 true JP6158763B2 (en) 2017-07-05

Family

ID=55233578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014140875A Expired - Fee Related JP6158763B2 (en) 2014-07-08 2014-07-08 Registration processing apparatus and control program thereof

Country Status (1)

Country Link
JP (1) JP6158763B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2908679B2 (en) * 1993-11-30 1999-06-21 東芝テック株式会社 Receipt journal printer
JPH11345368A (en) * 1998-06-02 1999-12-14 Nec Corp Pos terminal equipment
JP2003058949A (en) * 2001-08-10 2003-02-28 Toshiba Tec Corp Merchandise sale data processor and thermal printer
JP2003089251A (en) * 2001-09-19 2003-03-25 Ricoh Co Ltd Printer driver
JP5202481B2 (en) * 2009-09-04 2013-06-05 東芝テック株式会社 Merchandise sales data processing apparatus and control program thereof
JP2011107774A (en) * 2009-11-12 2011-06-02 Toshiba Tec Corp Commodity sales data processor and control program therefor

Also Published As

Publication number Publication date
JP2016018401A (en) 2016-02-01

Similar Documents

Publication Publication Date Title
US8953214B2 (en) Print control method, information processing apparatus, and recording medium
JP5810609B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
US7990566B2 (en) Image forming device
US10062018B2 (en) Print control system, print control apparatus, print control method, and storage medium that determine whether printing can be performed based on paper information
JP7463778B2 (en) Print management device and print management program
KR20050053323A (en) Information processing system, print control method and program
JP5770580B2 (en) Printing order determination apparatus, printing order determination method and program
US8467086B2 (en) Method of controlling scaled-down printing for host device and the hose device using the method
EP3588261A1 (en) Information processing apparatus, control method, program, and computer-readable storage medium
US9098779B2 (en) Recording control device, control method, and program
JP6111183B2 (en) Sales registration device and control program thereof
JP6393371B2 (en) Registration processing device
US8928933B2 (en) Information processing apparatus for generating printing data by different methods, computer readable recording medium and method of controlling the information processing apparatus
JP6158763B2 (en) Registration processing apparatus and control program thereof
JP5919783B2 (en) Print control program, print control apparatus, print control method, and printing system
US9058133B2 (en) Control device, control method for a control device, and recording medium
EP3702901B1 (en) Program, printing control apparatus, and control method
JP2015153087A (en) Image processing device and program
JP6088990B2 (en) Label printer and its control program
JP5816656B2 (en) Printing apparatus, registration processing apparatus, and printing apparatus control program
JP6313887B2 (en) Registration processing apparatus and control program thereof
US11899997B1 (en) Image arrangement apparatus and image forming apparatus, image arrangement method, and computer readable storage medium
EP3667657B1 (en) Display control device and display control method
JP6155233B2 (en) Registration processing apparatus and control program thereof
JP6318275B2 (en) Label printer and its control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160719

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170428

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170516

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170608

R150 Certificate of patent or registration of utility model

Ref document number: 6158763

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees