JP2007320162A - Thermal printer and method for controlling the same - Google Patents

Thermal printer and method for controlling the same Download PDF

Info

Publication number
JP2007320162A
JP2007320162A JP2006152577A JP2006152577A JP2007320162A JP 2007320162 A JP2007320162 A JP 2007320162A JP 2006152577 A JP2006152577 A JP 2006152577A JP 2006152577 A JP2006152577 A JP 2006152577A JP 2007320162 A JP2007320162 A JP 2007320162A
Authority
JP
Japan
Prior art keywords
thermal
print data
paper
thermal head
head
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.)
Pending
Application number
JP2006152577A
Other languages
Japanese (ja)
Inventor
Masashi Yamada
誠志 山田
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 JP2006152577A priority Critical patent/JP2007320162A/en
Priority to US11/681,922 priority patent/US7782349B2/en
Priority to EP07109057.5A priority patent/EP1862317B1/en
Priority to CN2007101067085A priority patent/CN101081575B/en
Publication of JP2007320162A publication Critical patent/JP2007320162A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a thermal printer capable of rapidly printing print data on both sides of thermal paper and printing important data for a user on a viewable portion in the thermal paper when the important data is included in the print data, and a method for controlling the same. <P>SOLUTION: Thermal heads 2, 4 to be respectively in contact with a front face 1a and a rear face 1b of thermal paper 1 are provided. Print data D0 input from an external device is divided into first print data D1 and second print data D2. The driving of the thermal heads 2, 4 is controlled according to the print data D1, D2. Print data Dm corresponding to a keyword is retrieved, and then the first print data D1 including the print data Dm is printed on the front face 1a of the thermal paper 1. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、両面に感熱層を有するサーマル用紙を用いるサーマルプリンタおよびその制御方法に関する。   The present invention relates to a thermal printer using thermal paper having a heat-sensitive layer on both sides and a control method thereof.

サーマルプリンタで用いられるサーマル用紙は、片面に感熱層を有している。これに伴い、サーマルプリンタは、外部から入力されるプリント用データを1つのサーマルヘッドによりサーマル用紙の片面にプリントする。プリントされたサーマル用紙は、カッタによりカットされて利用者に提供される。   Thermal paper used in thermal printers has a heat sensitive layer on one side. Accordingly, the thermal printer prints print data input from the outside on one side of the thermal paper with one thermal head. The printed thermal paper is cut by a cutter and provided to the user.

入力されるプリント用データのデータ量が多い場合、プリントされるサーマル用紙が長くなり、利用者にとって扱い難いものとなる。   When the amount of input print data is large, the thermal paper to be printed becomes long and is difficult for the user to handle.

一方、最近、両面に感熱層を有するサーマル用紙が開発され、実用化されつつある。このサーマル用紙に対する両面プリントを行うためには、例えば複写機の両面コピーのように、感光体ドラムや現像ユニットなどの像形成部に用紙を送り込んで用紙の一方の面に像を形成し、その形成が済んだ用紙を反転しながら像形成部に戻し、その像形成部で用紙の他方の面に像を形成するなどの処置が必要となる(例えば特許文献1,2)。
特開平9−233256号公報 特開平6−24082号公報
On the other hand, recently, thermal paper having a heat-sensitive layer on both sides has been developed and put into practical use. In order to perform double-sided printing on this thermal paper, for example, as with double-sided copying in a copying machine, the paper is fed into an image forming unit such as a photosensitive drum or a developing unit to form an image on one side of the paper. It is necessary to take measures such as returning the formed paper to the image forming unit while inverting it and forming an image on the other side of the paper at the image forming unit (for example, Patent Documents 1 and 2).
Japanese Patent Laid-Open No. 9-233256 JP-A-6-24882

しかしながら、上記の複写機のような処置には時間がかかり、商店などで顧客への販売レシート発行などに使用されるサーマルプリンタには適用が不可能である。
仮に、両面プリントの販売レシートを発行したとしても、顧客にとって重要な合計額、預かり金額、おつりなどのデータはプリント用データの最下部に存するため、その重要なデータがサーマル用紙の裏面にプリントされてしまう。そうなると、せっかくプリントした販売レシートも、ユーザにとって非常に扱い難いものとなる。
However, it takes time to take measures such as the above-mentioned copying machine and cannot be applied to a thermal printer used for issuing a sales receipt to a customer at a store or the like.
Even if you issue a sales receipt for double-sided printing, the total amount, deposit amount, and change data that are important to the customer are at the bottom of the print data. End up. In this case, the sales receipt printed with great effort is very difficult for the user to handle.

この発明は、上記の事情を考慮したもので、プリント用データをサーマル用紙の両面に迅速にプリントできるとともに、そのプリント用データにユーザにとって重要なデータが含まれている場合はその重要なデータをサーマル用紙の見易いところにプリントすることが可能なサーマルプリンタおよびその制御方法を提供することを目的とする。   In consideration of the above circumstances, the present invention can quickly print the printing data on both sides of the thermal paper, and if the printing data includes data important to the user, the important data is It is an object of the present invention to provide a thermal printer capable of printing on an easily viewable thermal paper and a control method thereof.

請求項1に係る発明のサーマルプリンタは、両面に感熱層を有し所定方向に給紙されるサーマル用紙と、このサーマル用紙の一方の面に接する第1サーマルヘッドと、上記サーマル用紙の他方の面に接する第2サーマルヘッドと、外部から入力されるプリント用データから、予め登録されているキーワードに対応するプリント用データを検索する検索手段と、上記入力されたプリント用データを、上記検索されたプリント用データを含む第1プリント用データと、同検索されたプリント用データを含まない第2プリント用データとに分ける第1制御手段と、上記第1プリント用データに応じて上記第1サーマルヘッドの駆動を制御し、上記第2プリント用データに応じて上記第2サーマルヘッドの駆動を制御する第2制御手段と、を備える。   According to a first aspect of the present invention, there is provided a thermal printer having a thermal layer on both sides and fed in a predetermined direction, a first thermal head in contact with one side of the thermal paper, and the other thermal paper. A second thermal head in contact with the surface; search means for searching print data corresponding to a keyword registered in advance from print data input from outside; and the input print data is searched for. First control means for dividing the first print data including the print data and the second print data not including the searched print data, and the first thermal according to the first print data. And second control means for controlling driving of the head and controlling driving of the second thermal head in accordance with the second print data.

この発明のサーマルプリンタおよびその制御方法によれば、プリント用データをサーマル用紙の両面に迅速にプリントできるとともに、そのプリント用データにユーザにとって重要なデータが含まれている場合はその重要なデータをサーマル用紙の見易いところにプリントすることが可能なサーマルプリンタおよびその制御方法を提供できる。   According to the thermal printer and the control method of the present invention, the printing data can be printed quickly on both sides of the thermal paper, and if the printing data includes data important for the user, the important data is displayed. It is possible to provide a thermal printer capable of printing on an easily viewable thermal paper and a control method thereof.

以下、本発明の一実施形態のサーマルヘッドについて、図面を参照して説明する。まず、要部の構成を図1に示している。
1はサーマル用紙で、一方の面(表面という)1aおよび他方の面(裏面という)1bにそれぞれ感熱層を有し、表面1aが内側となる状態にロール状に巻かれ、後述の給紙機構22により図示矢印の方向に給紙される。上記感熱層は、所定の温度以上に加熱されたときに、例えば黒色あるいは赤色に発色する材料によって形成されている。
このサーマル用紙1の給紙方向に沿って、サーマル用紙1の表面1aに接する第1サーマルヘッド2、裏面1bに接する第2サーマルヘッド4が設けられている。これら第1および第2サーマルヘッド2,4は、サーマル用紙1の給紙方向と直交する方向に配列された多数の発熱素子を有し、サーマル用紙1の給紙方向に沿って互いに離れた位置に配設されている。第1サーマルヘッド2の方が、第2サーマルヘッド4よりも給紙方向の下流側に存している。
Hereinafter, a thermal head according to an embodiment of the present invention will be described with reference to the drawings. First, the structure of the main part is shown in FIG.
Reference numeral 1 denotes thermal paper, which has a heat-sensitive layer on one surface (referred to as the front surface) 1a and the other surface (referred to as the back surface) 1b, and is wound in a roll shape so that the front surface 1a is on the inside. 22 is fed in the direction of the arrow shown. The heat-sensitive layer is formed of a material that, for example, black or red color when heated to a predetermined temperature or higher.
A first thermal head 2 in contact with the front surface 1a of the thermal paper 1 and a second thermal head 4 in contact with the back surface 1b are provided along the feeding direction of the thermal paper 1. These first and second thermal heads 2, 4 have a large number of heating elements arranged in a direction orthogonal to the paper feeding direction of the thermal paper 1, and positions separated from each other along the paper feeding direction of the thermal paper 1. It is arranged. The first thermal head 2 is located downstream of the second thermal head 4 in the paper feeding direction.

そして、サーマル用紙1を挟んで第1サーマルヘッド2と対向する位置に第1プラテンローラ3が配設され、サーマル用紙2を挟んで第2サーマルヘッド4と対向する位置に第2プラテンローラ5が配設されている。さらに、第1サーマルヘッド2よりも給紙方向の下流側に、サーマル用紙1をそのプリント領域よりも後側でカットするカッタ6が配設されている。上流側の第2サーマルヘッド4と下流側の第1サーマルヘッド2との間の距離はX、第1サーマルヘッド2とカッタ6との間の距離はYである。   A first platen roller 3 is disposed at a position facing the first thermal head 2 across the thermal paper 1, and a second platen roller 5 is located at a position facing the second thermal head 4 across the thermal paper 2. It is arranged. Further, a cutter 6 is provided on the downstream side of the first thermal head 2 in the paper feeding direction to cut the thermal paper 1 behind the print area. The distance between the upstream second thermal head 4 and the downstream first thermal head 2 is X, and the distance between the first thermal head 2 and the cutter 6 is Y.

図2に、図1の構成を含むサーマルプリンタ本体10の制御回路を示している。
主制御部であるCPU11に、制御プログラム記憶用のROM12、データ記憶用のRAM13、ホスト装置30とのデータ送受信を行う通信インタフェース14、動作条件設定用の操作部15、サーマル用紙1の給紙機構16を駆動する給紙駆動回路21、カッタ6を駆動するカッタ駆動回路22、後述の第1プリント用データD1に応じて第1サーマルヘッド2を駆動する第1ヘッド駆動回路23、後述の第2プリント用データD2に応じて第2サーマルヘッド4を駆動する第2ヘッド駆動回路24などが接続されている。
FIG. 2 shows a control circuit of the thermal printer main body 10 including the configuration of FIG.
A control program storage ROM 12, a data storage RAM 13, a communication interface 14 for transmitting / receiving data to / from the host device 30, an operation condition setting operation unit 15, and a thermal paper feeding mechanism A paper feed drive circuit 21 for driving 16, a cutter drive circuit 22 for driving the cutter 6, a first head drive circuit 23 for driving the first thermal head 2 in accordance with first print data D <b> 1 to be described later, and a second to be described later. A second head drive circuit 24 for driving the second thermal head 4 in accordance with the print data D2 is connected.

一方、CPU11は、主要な機能として次の(1)〜(5)の手段を備えている。
(1)外部のホスト装置30から入力されるプリント用データD0から、予め登録されているキーワードに対応するプリント用データDmを検索する検索手段。キーワードは、サーマル用紙1の一方の面にプリントすべきプリント用データに含まれる少なくとも1つの項目である。
On the other hand, the CPU 11 includes the following means (1) to (5) as main functions.
(1) Retrieval means for retrieving print data Dm corresponding to a keyword registered in advance from print data D0 input from the external host device 30. The keyword is at least one item included in the print data to be printed on one side of the thermal paper 1.

(2)上記入力されたプリント用データD0を、上記検索されたプリント用データDmを含む第1プリント用データD1と、同検索されたプリント用データDmを含まない第2プリント用データD2とに分ける第1制御手段。   (2) The input print data D0 is changed into the first print data D1 including the searched print data Dm and the second print data D2 not including the searched print data Dm. First control means for dividing.

(3)上記第1プリント用データD1に応じて第1サーマルヘッド2の駆動を制御し、上記第2プリント用データD2に応じて第2サーマルヘッド4の駆動を制御する第2制御手段。   (3) Second control means for controlling the driving of the first thermal head 2 in accordance with the first printing data D1 and for controlling the driving of the second thermal head 4 in accordance with the second printing data D2.

(4)上記操作部15の操作に応じて、上記キーワードを登録するための登録手段。   (4) Registration means for registering the keyword according to the operation of the operation unit 15.

(5)サーマル用紙1を給紙しながら、第2プリント用データD2に応じた第2サーマルヘッド4の駆動を先ず開始し、その駆動に基づくプリント開始位置が第1サーマルヘッド2に対応したところで第1プリント用データD1に応じた第1サーマルヘッド2の駆動を開始する第3制御手段。   (5) While feeding the thermal paper 1, the driving of the second thermal head 4 corresponding to the second print data D2 is started first, and the print start position based on the driving corresponds to the first thermal head 2. Third control means for starting driving of the first thermal head 2 according to the first print data D1.

なお、上記第1サーマルヘッド2は、図3に示すように、ラッチ回路41、通電制御回路42、およびエッジヘッド43により構成されている。エッジヘッド43は、ライン状に配列された熱転写用の多数の発熱素子43a,43b,…43nを有している。ラッチ回路41は、ヘッド駆動回路23から供給される第1プリント用データD1を、同ヘッド駆動回路23からストローブ信号STBに応じて1ライン毎にラッチする。通電制御回路42は、エッジヘッド43の発熱素子43a,43b,…43nに対する通電を、ラッチ回路41内のデータに応じて、かつヘッド駆動回路23から供給されるイネーブル信号ENBがアクティブとなるタイミングで、制御する。第2サーマルヘッド4の構成も、第1サーマルヘッド2と同じある。よって、その説明は省略する。   The first thermal head 2 includes a latch circuit 41, an energization control circuit 42, and an edge head 43 as shown in FIG. The edge head 43 has a large number of heat transfer elements 43a, 43b,... 43n for thermal transfer arranged in a line. The latch circuit 41 latches the first print data D1 supplied from the head drive circuit 23 for each line according to the strobe signal STB from the head drive circuit 23. The energization control circuit 42 energizes the heating elements 43a, 43b,... 43n of the edge head 43 according to the data in the latch circuit 41 and at the timing when the enable signal ENB supplied from the head drive circuit 23 becomes active. ,Control. The configuration of the second thermal head 4 is the same as that of the first thermal head 2. Therefore, the description is omitted.

つぎに、図4のフローチャートを参照しながら作用について説明する。
操作部15でキーワードの登録モードが設定されると(ステップ101のYES)、操作部15の操作により、サーマル用紙1の一方の面にプリントすべき主要なプリント用データに含まれる項目たとえば“合計額”“預かり金額”“おつり”などをキーワードとしてRAM13に登録(記憶)することができる(ステップ102)。
Next, the operation will be described with reference to the flowchart of FIG.
When the keyword registration mode is set on the operation unit 15 (YES in step 101), items included in the main print data to be printed on one surface of the thermal paper 1 by the operation of the operation unit 15, for example, “total” It is possible to register (store) the “amount”, “cash amount”, “change”, etc. in the RAM 13 as keywords (step 102).

外部のホスト装置30から送信されたプリント用データD0が当該サーマルプリンタで受信されると(ステップ103のYES)、そのプリント用データD0がRAM13に記憶される。このとき、プリント用データD0から、予め登録されているキーワードに対応するプリント用データDmが検索される(ステップ104)。   When the print data D0 transmitted from the external host device 30 is received by the thermal printer (YES in step 103), the print data D0 is stored in the RAM 13. At this time, the print data Dm corresponding to the keyword registered in advance is searched from the print data D0 (step 104).

プリント用データD0の例を図5に示している。このプリント用データD0は、第1行目から第100行目の印字データからなる。とくに、最下部の第98行目から第100行目が、“合計額”の印字データ、“お預かり額”の印字データ、“おつり”の印字データとなっている。この3つの印字データは、すなわち上記キーワードに対応するプリント用データDmである。   An example of the print data D0 is shown in FIG. The print data D0 includes print data from the first line to the 100th line. In particular, the 98th to 100th lines at the bottom are print data for “total amount”, print data for “custody amount”, and print data for “change”. These three print data are print data Dm corresponding to the keyword.

検索によってプリント用データDmが見つかると(ステップ105のYES)、プリント用データD0が、プリント用データDmを含む第1プリント用データD1と、プリント用データDmを含まない第2プリント用データD2とに、振り分けられる(ステップ106)。
すなわち、図6に示すように、第1行目から第47行目の印字データに続いて第98行目から第100行目の印字データであるプリント用データDmを付け加えた形の第1プリント用データD1が生成される。さらに、図7に示すように、残りの第48行目から第97行目の印字データからなる第2プリント用データD1が生成される。生成された第1プリント用データD1および第2プリント用データD2は、RAM13に記憶される。
When the print data Dm is found by the search (YES in step 105), the print data D0 includes the first print data D1 including the print data Dm, and the second print data D2 not including the print data Dm. (Step 106).
That is, as shown in FIG. 6, the first print in the form in which the print data Dm which is the print data from the 98th line to the 100th line is added to the print data from the 1st line to the 47th line. Data D1 is generated. Further, as shown in FIG. 7, second print data D1 including print data of the remaining 48th to 97th lines is generated. The generated first print data D1 and second print data D2 are stored in the RAM 13.

この振り分け後、サーマル用紙1の給紙が開始されて、第2プリント用データD2に応じた第2サーマルヘッド4の駆動が先ず開始され、サーマル用紙1の裏面1bに第48行目から第97行目までの印字データがプリントされる。サーマル用紙1の給紙が進んで、第2サーマルヘッド4の駆動に基づく裏面1b側のプリント開始位置が第1サーマルヘッド2に対応する状態になったとき、第1プリント用データD1に応じた第1サーマルヘッド2の駆動が開始され、サーマル用紙1の表面1aに第1行目から第47行目の印字データおよび第98行目から第100行目の印字データがプリントされる(ステップ108)。   After this sorting, the feeding of the thermal paper 1 is started, and the driving of the second thermal head 4 according to the second print data D2 is started first, and the 48th line to the 97th line on the back surface 1b of the thermal paper 1 is started. The print data up to the line is printed. When the feeding of the thermal paper 1 proceeds and the print start position on the back surface 1b side based on the driving of the second thermal head 4 is in a state corresponding to the first thermal head 2, the first print data D1 is used. The driving of the first thermal head 2 is started, and the print data from the first line to the 47th line and the print data from the 98th line to the 100th line are printed on the surface 1a of the thermal paper 1 (step 108). ).

こうして、図8に示すように、プリント用データDmを最下部に有する第1プリント用データD1の印字データがサーマル用紙1の表面1aにプリントされ、第2プリント用データD2の印字データがサーマル用紙1の裏面1bにプリントされる。   Thus, as shown in FIG. 8, the print data of the first print data D1 having the print data Dm at the bottom is printed on the surface 1a of the thermal paper 1, and the print data of the second print data D2 is printed on the thermal paper. 1 is printed on the back surface 1b.

この場合、サーマル用紙1の表面1aにおいて、プリントされる各文字行の開始位置と幅方向一端Q1との間に、幅SP1の空白領域が確保される。サーマル用紙1の裏面1bでは、プリントされる各文字行の開始位置と幅方向他端Q2との間に、幅SP2の空白領域が確保される。また、表面1aおよび裏面1bの先端側に、カッタ6から第1サーマルヘッド2までの距離Yに対応する空白領域Lyが生じるとともに、第1サーマルヘッド2から第2サーマルヘッド4までの距離Xに対応する空白領域Lxが生じる。   In this case, on the surface 1a of the thermal paper 1, a blank area having a width SP1 is secured between the start position of each printed character line and one end Q1 in the width direction. On the back surface 1b of the thermal paper 1, a blank area having a width SP2 is secured between the start position of each character line to be printed and the other end Q2 in the width direction. Further, a blank area Ly corresponding to the distance Y from the cutter 6 to the first thermal head 2 is generated at the front end side of the front surface 1a and the back surface 1b, and the distance X from the first thermal head 2 to the second thermal head 4 is set. A corresponding blank area Lx is generated.

プリントが済んだサーマル用紙1は、カッタ6でカットされ、販売レシートとして顧客に提供される。この販売レシートには、すぐに目に付く表面1a側の見易いところに、重要なデータである“合計額”“預かり金額”“おつり”がプリントされている。   The printed thermal paper 1 is cut by a cutter 6 and provided to a customer as a sales receipt. This sales receipt is printed with important data “total amount”, “deposit amount”, and “change” in an easily visible location on the surface 1a side.

上記検索によってプリント用データDmが見つからない場合は(ステップ105のNO)、プリント用データD0が、第1プリント用データD1と、第2プリント用データD2とに、二分される(ステップ107)。そして、第1プリント用データD1の印字データがサーマル用紙1の表面1aにプリントされ、第2プリント用データD2の印字データがサーマル用紙1の裏面1bにプリントされる。   If the print data Dm is not found by the above search (NO in step 105), the print data D0 is divided into the first print data D1 and the second print data D2 (step 107). Then, the print data of the first print data D1 is printed on the front surface 1a of the thermal paper 1, and the print data of the second print data D2 is printed on the back surface 1b of the thermal paper 1.

以上のように、両面に感熱層を有するサーマル用紙1を用意し、そのサーマル用紙1の表面1aに接する第1サーマルヘッド2および裏面1bに接する第2サーマルヘッド4を設けるとともに、ホスト装置30から入力されるプリント用データD0を第1プリント用データD1と第2プリント用データD2とに分け、これらプリント用データD1,D2に応じてサーマルヘッド2,4の駆動を制御することにより、プリント用データD0をサーマル用紙1の表面1aと裏面1bに分けて迅速にプリントすることができる。   As described above, the thermal paper 1 having the heat-sensitive layers on both sides is prepared, the first thermal head 2 in contact with the front surface 1a of the thermal paper 1 and the second thermal head 4 in contact with the back surface 1b are provided. Input print data D0 is divided into first print data D1 and second print data D2, and printing is performed by controlling the driving of thermal heads 2 and 4 according to these print data D1 and D2. The data D0 can be printed quickly by dividing it into the front surface 1a and the back surface 1b of the thermal paper 1.

したがって、プリント用データD0のデータ量が多い場合でも、プリントされるサーマル用紙1の長さを短くすることができる。サーマル用紙1が店舗などの販売用レシートとして使用される場合には、多数の商品購入データを短いレシートに納めることができ、利用者にとって扱い易いものとなる。サーマル用紙1の節約にもなる。   Therefore, even when the amount of print data D0 is large, the length of the thermal paper 1 to be printed can be shortened. When the thermal paper 1 is used as a sales receipt at a store or the like, a large number of product purchase data can be stored in a short receipt, which is easy for the user to handle. This also saves thermal paper 1.

とくに、“合計額”“預かり金額”“おつり”の印字データからなるプリント用データDmを予め登録されているキーワードに基づいて検索し、そのプリント用データDmが見つかった場合は、同プリント用データDmを含む第1プリント用データD1をサーマル用紙1の表面1aにプリントするので、たとえプリント用データD0の量が多くてプリントされるサーマル用紙1が長くなっても、顧客にとって重要なデータを顧客に見易い形で適切に提示することができる。   In particular, print data Dm consisting of print data of “total amount”, “deposit amount”, and “change” is searched based on a pre-registered keyword, and if the print data Dm is found, the print data Since the first printing data D1 including Dm is printed on the surface 1a of the thermal paper 1, even if the amount of the printing data D0 is large and the thermal paper 1 to be printed becomes long, the data important for the customer is stored. Can be presented in an easy-to-read form.

ホスト装置30に従来の片面プリント型のサーマルプリンタが接続されていた場合には、その従来のサーマルプリンタと本実施形態のサーマルプリンタとを交換するだけで、ホスト装置30側にはハード面およびソフト面に何の変更も加えることなく、簡単に、プリント用データDmのキーワード検索、そのプリント用データDmの組込みを含むプリント用データD0の振り分け処理、および両面プリント処理を実行することができる。サーマルプリンタを交換するだけなので、ユーザ側のコストアップを最小限に抑えながら、機能アップを図ることができる。   When a conventional single-sided print type thermal printer is connected to the host device 30, only the conventional thermal printer and the thermal printer of the present embodiment are replaced, and the hardware and software are provided on the host device 30 side. It is possible to easily execute keyword search of the print data Dm, distribution processing of the print data D0 including incorporation of the print data Dm, and double-sided print processing without making any changes to the surface. Since only the thermal printer is replaced, the function can be improved while minimizing the cost increase on the user side.

なお、上記実施形態では、プリント用データDmを第1プリント用データD1の最下部に組込むようにしたが、その組込み位置について限定はなく、たとえば最上部に組込んでもよい。また、キーワードとしては、“合計額”“預かり金額”“おつり”の項目に限らず、種々にわたる登録変更が可能である。   In the above-described embodiment, the print data Dm is incorporated at the bottom of the first print data D1, but there is no limitation on the assembly position, and for example, the print data Dm may be incorporated at the top. The keyword is not limited to the items of “total amount”, “deposit amount”, and “change”, and various registration changes are possible.

その他、この発明は上記実施形態に限定されるものではなく、要旨を変えない範囲で種々変形実施可能である。   In addition, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention.

一実施形態の要部の構成を示す図。The figure which shows the structure of the principal part of one Embodiment. 一実施形態の制御回路のブロック図。The block diagram of the control circuit of one Embodiment. 一実施形態におけるサーマルヘッドの具体的な構成を示すブロック図。FIG. 3 is a block diagram showing a specific configuration of a thermal head in one embodiment. 一実施形態の作用を説明するためのフローチャート。The flowchart for demonstrating the effect | action of one Embodiment. 一実施形態におけるプリント用データD0のフォーマットを示す図。The figure which shows the format of the data for printing D0 in one Embodiment. 一実施形態におけるプリント用データD1(Dm含む)のフォーマットを示す図。The figure which shows the format of the printing data D1 (Dm is included) in one Embodiment. 一実施形態におけるプリント用データD2のフォーマットを示す図。The figure which shows the format of the data D2 for printing in one Embodiment. 一実施形態におけるプリント結果を示す図。The figure which shows the printing result in one Embodiment.

符号の説明Explanation of symbols

1…サーマル用紙、1a…表面(一方の面)、1b…裏面(他方の面)、2…第1サーマルヘッド、3…第1プラテンローラ、4…第2サーマルヘッド、5…第2プラテンローラ、6…カッタ、11…CPU、13…RAM、15…操作部、16…給紙機構、17…用紙検知器、23…第1ヘッド駆動回路、24…第2ヘッド駆動回路、41…ラッチ回路、42…通電制御回路、43…エッジヘッド、43a,43b,…43n……発熱素子   DESCRIPTION OF SYMBOLS 1 ... Thermal paper, 1a ... Front surface (one surface), 1b ... Back surface (the other surface), 2 ... 1st thermal head, 3 ... 1st platen roller, 4 ... 2nd thermal head, 5 ... 2nd platen roller , 6 ... cutter, 11 ... CPU, 13 ... RAM, 15 ... operation unit, 16 ... paper feed mechanism, 17 ... paper detector, 23 ... first head drive circuit, 24 ... second head drive circuit, 41 ... latch circuit , 42 ... energization control circuit, 43 ... edge head, 43a, 43b, ... 43n ... heating element

Claims (8)

両面に感熱層を有し所定方向に給紙されるサーマル用紙と、
前記サーマル用紙の一方の面に接する第1サーマルヘッドと、
前記サーマル用紙の他方の面に接する第2サーマルヘッドと、
外部から入力されるプリント用データから、予め登録されているキーワードに対応するプリント用データを検索する検索手段と、
前記入力されたプリント用データを、前記検索されたプリント用データを含む第1プリント用データと、同検索されたプリント用データを含まない第2プリント用データとに分ける第1制御手段と、
前記第1プリント用データに応じて前記第1サーマルヘッドの駆動を制御し、前記第2プリント用データに応じて前記第2サーマルヘッドの駆動を制御する第2制御手段と、
を備えていることを特徴とするサーマルプリンタ。
Thermal paper having a heat-sensitive layer on both sides and fed in a predetermined direction;
A first thermal head in contact with one surface of the thermal paper;
A second thermal head in contact with the other surface of the thermal paper;
Search means for searching print data corresponding to a keyword registered in advance from print data input from outside;
First control means for dividing the input print data into first print data including the searched print data and second print data not including the searched print data;
Second control means for controlling driving of the first thermal head in accordance with the first print data and controlling driving of the second thermal head in accordance with the second print data;
A thermal printer characterized by comprising:
前記キーワードは、前記サーマル用紙の一方の面にプリントすべき主要なプリント用データに含まれる少なくとも1つの項目であることを特徴とする請求項1に記載のサーマルプリンタ。 The thermal printer according to claim 1, wherein the keyword is at least one item included in main print data to be printed on one side of the thermal paper. 前記キーワードを登録するための登録手段、をさらに備えたことを特徴とする請求項1または請求項2に記載のサーマルプリンタ。 The thermal printer according to claim 1, further comprising registration means for registering the keyword. 前記各サーマルヘッドは、前記サーマル用紙の給紙方向と直行する方向に沿ってライン状に配列された複数の発熱素子を有することを特徴とする請求項1ないし請求項3のいずれかに記載のサーマルプリンタ。 4. The thermal head according to claim 1, wherein each of the thermal heads includes a plurality of heating elements arranged in a line along a direction perpendicular to a feeding direction of the thermal paper. Thermal printer. 前記第1サーマルヘッドおよび前記第2サーマルヘッドは、前記サーマル用紙の給紙方向に沿って互いに離れた位置に設けられていることを特徴とする請求項1ないし請求項3のいずれかに記載のサーマルプリンタ。 The said 1st thermal head and the said 2nd thermal head are provided in the position mutually separated along the paper feeding direction of the said thermal paper, The Claim 1 thru | or 3 characterized by the above-mentioned. Thermal printer. 前記第1サーマルヘッドは、前記第2サーマルヘッドよりも、前記給紙方向の下流側に存することを特徴とする請求項5に記載のサーマルプリンタ。 The thermal printer according to claim 5, wherein the first thermal head is located downstream of the second thermal head in the paper feeding direction. 前記サーマル用紙を給紙しながら、前記第2プリント用データに応じた前記第2サーマルヘッドの駆動を開始し、その駆動に基づくプリント開始位置が前記第1サーマルヘッドに対応したところで前記第1プリント用データに応じた前記第1サーマルヘッドの駆動を開始する第3制御手段、をさらに備えていることを特徴とする請求項6に記載のサーマルプリンタ。 While feeding the thermal paper, the driving of the second thermal head according to the second printing data is started, and when the print start position based on the driving corresponds to the first thermal head, the first printing is performed. The thermal printer according to claim 6, further comprising third control means for starting driving of the first thermal head according to business data. 両面に感熱層を有し所定方向に給紙されるサーマル用紙と、このサーマル用紙の一方の面に接する第1サーマルヘッドと、前記サーマル用紙の他方の面に接する第2サーマルヘッドと、これらサーマルヘッドを制御する制御部とを備えたサーマルプリンタにおいて、
前記制御部は、
外部から入力されるプリント用データから、予め登録されているキーワードに対応するプリント用データを検索するステップと、
前記入力されたプリント用データを、前記検索されたプリント用データを含む第1プリント用データと、同検索されたプリント用データを含まない第2プリント用データとに分けるステップと、
前記第1プリント用データに応じて前記第1サーマルヘッドの駆動を制御し、前記第2プリント用データに応じて前記第2サーマルヘッドの駆動を制御するステップと、
を備えていることを特徴とするサーマルプリンタの制御方法。
Thermal paper having a heat sensitive layer on both sides and fed in a predetermined direction, a first thermal head in contact with one surface of the thermal paper, a second thermal head in contact with the other surface of the thermal paper, and the thermal In a thermal printer having a control unit for controlling the head,
The controller is
Searching print data corresponding to a keyword registered in advance from print data input from outside;
Dividing the input print data into first print data including the searched print data and second print data not including the searched print data;
Controlling the driving of the first thermal head according to the first printing data, and controlling the driving of the second thermal head according to the second printing data;
A method for controlling a thermal printer.
JP2006152577A 2006-05-31 2006-05-31 Thermal printer and method for controlling the same Pending JP2007320162A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2006152577A JP2007320162A (en) 2006-05-31 2006-05-31 Thermal printer and method for controlling the same
US11/681,922 US7782349B2 (en) 2006-05-31 2007-03-05 Thermal printer and method of controlling the same
EP07109057.5A EP1862317B1 (en) 2006-05-31 2007-05-29 Thermal printer and method of controlling the same
CN2007101067085A CN101081575B (en) 2006-05-31 2007-05-30 Thermal printer and method of controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006152577A JP2007320162A (en) 2006-05-31 2006-05-31 Thermal printer and method for controlling the same

Publications (1)

Publication Number Publication Date
JP2007320162A true JP2007320162A (en) 2007-12-13

Family

ID=38853359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006152577A Pending JP2007320162A (en) 2006-05-31 2006-05-31 Thermal printer and method for controlling the same

Country Status (1)

Country Link
JP (1) JP2007320162A (en)

Similar Documents

Publication Publication Date Title
US7623145B2 (en) Duplex printer
EP1862318B1 (en) Double-side printer system and control method thereof
JP5279091B2 (en) Double-sided direct thermal printer
JP2007313848A (en) Thermal printer and its controlling method
JP6460715B2 (en) Control device, control method and program
JP2010064269A (en) Thermal printer and control method thereof
US7782349B2 (en) Thermal printer and method of controlling the same
JP2015114908A (en) Control device, control method, and program
CN101081575B (en) Thermal printer and method of controlling the same
JP2010530816A (en) Double-sided thermal printer control
JP2000289259A (en) Method for perfecting printing and system
JPH07256944A (en) Printer
JP2007320188A (en) Thermal printer and its controlling method
US7679632B2 (en) Thermal printer and method of controlling the same
JP4299318B2 (en) Thermal printer and control method thereof
JP2007320162A (en) Thermal printer and method for controlling the same
JP3689666B2 (en) Printing control apparatus and method, thermal transfer recording medium
JP2005066948A (en) Image forming apparatus
JPH09109425A (en) Printer and recording paper used therein
JP2005148840A (en) Server device and network system
JP2007320161A (en) Thermal printer and its controlling method
US20090110462A1 (en) Method and apparatus for stabilizing printable media in a printer
JP4201953B2 (en) Serial printer
JP2007320122A (en) Thermal printer and its controlling method
JP2010046909A (en) Recorder and computer program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080422

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080819

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081017

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090106

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20090220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090306

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090330

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20090424