JP2002160408A - Printer and controlling method therefor - Google Patents

Printer and controlling method therefor

Info

Publication number
JP2002160408A
JP2002160408A JP2000355942A JP2000355942A JP2002160408A JP 2002160408 A JP2002160408 A JP 2002160408A JP 2000355942 A JP2000355942 A JP 2000355942A JP 2000355942 A JP2000355942 A JP 2000355942A JP 2002160408 A JP2002160408 A JP 2002160408A
Authority
JP
Japan
Prior art keywords
sheet
print
initial
printing
fixed
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.)
Withdrawn
Application number
JP2000355942A
Other languages
Japanese (ja)
Inventor
Hiroaki Hosomi
浩昭 細見
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2000355942A priority Critical patent/JP2002160408A/en
Publication of JP2002160408A publication Critical patent/JP2002160408A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Handling Of Continuous Sheets Of Paper (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem of wasting the first regular shape sheet at the time of newly setting a continuous sheet in a printer for executing a printing operation by detecting a reference position for a continuous sheet having a plurality of regular shape sheets continuously. SOLUTION: An initial printing controlling means for printing on the first ticket 19 while positioning the printing position based on a paper conveyance distance from the initial position in the initial state with a roll paper P set with the first ticket 19 positioned at a preset initial position, is provided.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】複数枚分の定形シートを連続
状に有する連続状シートに対して印字を行うプリンタ及
びその制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer for printing on a continuous sheet having a plurality of fixed sheets in a continuous manner, and a control method therefor.

【0002】[0002]

【従来の技術】複数枚分の定形シートを連続状に有する
連続状シートをセットし、該連続状シートを搬送しなが
ら前記定形シート部分に印字を行うプリンタが知られて
おり、この種のプリンタは、定形シートであるチケット
やラベルの発行用として既に普及している。
2. Description of the Related Art There is known a printer which sets a continuous sheet having a plurality of fixed sheets in a continuous form and prints the fixed sheet portion while conveying the continuous sheet. Is already widely used for issuing tickets and labels, which are fixed sheets.

【0003】例えばチケットを発行する場合は、チケッ
ト用の定形フォーマット(表側)および位置決め用のブ
ラックマーク(裏側)を予め印刷した連続状シートが使
用され、該連続状シートがセットされたプリンタにおい
ては、ブラックマーク印刷部と非印刷部とで光の反射率
に差が生じることを利用し、反射式の光学センサでブラ
ックマーク位置を検出すると共に、該検出位置を基準と
して印字位置の位置決めを行っている。
For example, when a ticket is issued, a continuous sheet in which a fixed format for ticket (front side) and a black mark for positioning (back side) are printed in advance is used, and a printer in which the continuous sheet is set is used. Utilizing the fact that a difference in light reflectance occurs between a black mark printed portion and a non-printed portion, a black mark position is detected by a reflection type optical sensor, and a printing position is positioned based on the detected position. ing.

【0004】また、ラベルを発行する場合は、長尺な台
紙に所定間隔を存して複数のラベルを貼着した連続状シ
ートが使用され、該連続状シートがセットされたプリン
タにおいては、台紙のみの部分とラベルが貼着された部
分とで光の透過率に差が生じることを利用し、透過式の
光学センサでラベルの先端位置を検出すると共に、該検
出位置を基準として印字位置の位置決めを行っている。
[0004] When a label is issued, a continuous sheet in which a plurality of labels are attached to a long backing sheet at predetermined intervals is used. In a printer in which the continuous sheet is set, the backing sheet is used. Utilizing the fact that the difference in light transmittance occurs between the portion where only the label is attached and the portion where the label is attached, the leading end position of the label is detected by a transmission type optical sensor, and the printing position is determined based on the detected position. Positioning is being performed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来のプリンタにおいては、新規の連続状シートがセット
されると、図8に示す如く、センサが基準位置を検出
(802)するまで連続状シートを搬送(801)した
後、検出位置を基準として連続状シートを所定の初期位
置に位置合せ(803)するイニシャライズ動作(初期
印字制御)を行うため、センサ、印字ヘッド、ブラック
マーク等の位置関係により、一枚目の定形シート部分が
印字ヘッド位置を通過して印字不能となる可能性があ
り、この場合には一枚目の定形シートが無駄になる不都
合がある。特に連続状シートの各定形シート部分に通し
番号を予め印刷すると共に、該通し番号に対応する認証
用データ(暗号ナンバー)を各定形シート部分に印字す
ることにより、チケットの偽造、不正発行等を防止する
場合においては、一枚目の定形シートを無駄にすると、
ホストコンピュータ側で認識している通し番号にズレが
生じるため、ホストコンピュータ側のデータ修正が必要
になる不都合があった。
However, in the above-mentioned conventional printer, when a new continuous sheet is set, the continuous sheet is set until the sensor detects the reference position (802) as shown in FIG. After the conveyance (801), an initialization operation (initial printing control) for aligning (803) the continuous sheet to a predetermined initial position based on the detection position is performed. However, there is a possibility that the first fixed sheet may pass through the print head position and become unprintable, in which case the first fixed sheet may be wasted. In particular, a serial number is printed in advance on each fixed sheet portion of the continuous sheet, and authentication data (encryption number) corresponding to the serial number is printed on each fixed sheet portion, thereby preventing counterfeiting, improper issuance of tickets, and the like. In some cases, if you waste the first fixed sheet,
Since the serial numbers recognized by the host computer are shifted, there is a problem that the host computer needs to correct the data.

【0006】本発明の目的は、センサや印字ヘッドの配
置を変更したり、センサを追加することなく、一枚目の
定形シートに印字を行うことができ、また、通し番号に
対応する認証用データを定形シートに印字する場合に、
通し番号のズレを防止してホストコンピュータ側のデー
タ修正を不要にすることができるプリンタ及びその制御
方法を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to perform printing on a first fixed sheet without changing the arrangement of sensors and print heads and without adding sensors, and to provide authentication data corresponding to a serial number. When printing on a fixed sheet,
It is an object of the present invention to provide a printer and a control method thereof, which can prevent a serial number from being shifted and eliminate the need for data correction on the host computer side.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
本発明は、複数枚分の定形シートを連続状に有する連続
状シートをセットし、該連続状シートを搬送しながら前
記定形シート部分に印字を行うプリンタにおいて、前記
定形シートの基準位置を検出する基準位置検出手段と、
前記基準位置を検出した後のシート搬送距離に基づいて
印字位置を位置決めしつつ、前記定形シートに印字を行
う通常印字制御手段と、前記連続状シートがセットされ
た初期状態である場合に、一枚目の定形シートが予め設
定される初期位置に位置合せされているものとし、該初
期位置からのシート搬送距離に基づいて印字位置を位置
決めしつつ、前記一枚目の定形シートに印字を行う初期
印字制御手段とを備えて構成される。
In order to achieve the above object, the present invention sets a continuous sheet having a plurality of fixed sheets in a continuous form, and conveys the continuous sheet to the fixed sheet portion while conveying the continuous sheet. In a printer that performs printing, a reference position detection unit that detects a reference position of the fixed sheet,
A normal printing control unit for performing printing on the fixed-size sheet while positioning a printing position based on the sheet conveyance distance after the detection of the reference position, and one in an initial state where the continuous sheet is set. It is assumed that the first fixed sheet is aligned with a preset initial position, and printing is performed on the first fixed sheet while positioning the printing position based on the sheet conveyance distance from the initial position. And initial print control means.

【0008】また、前記初期位置は、前記一枚目の定形
シート先端が排紙口に略一致する位置であることが好ま
しい。この場合においては、プリンタに位置合せ用の目
印を設けなくても、一枚目の定形シートを初期位置に位
置合せすることが可能になる。
It is preferable that the initial position is a position where the leading end of the first fixed sheet substantially coincides with a paper discharge port. In this case, the first fixed sheet can be positioned at the initial position without providing a positioning mark in the printer.

【0009】また、前記初期位置は、前記一枚目の定形
シート先端が印字ヘッドに略一致する位置であることが
好ましい。この場合においては、プリンタに位置合せ用
の目印を設けなくても、一枚目の定形シートを初期位置
に位置合せすることが可能になり、しかも、一枚目の定
形シートに対して先端位置から印字を開始することがで
きるので、一枚目の定形シートにおいて印字範囲が制限
される不都合を回避することができる。
It is preferable that the initial position is a position where the leading end of the first fixed sheet substantially coincides with the print head. In this case, it is possible to align the first fixed sheet at the initial position without providing a positioning mark in the printer, and furthermore, the leading end position with respect to the first fixed sheet. Since printing can be started from the first fixed sheet, it is possible to avoid the disadvantage that the printing range is limited in the first fixed sheet.

【0010】また、前記初期印字制御手段は、前記初期
位置に位置合せされた前記一枚目の定形シートを所定の
戻し位置まで戻し搬送した後、前記一枚目の定形シート
に印字を行うことが好ましい。この場合においては、一
枚目の定形シートの初期位置を任意に設定することがで
き、しかも、一枚目の定形シートに対して任意の位置か
ら印字を開始することができるので、一枚目の定形シー
トにおいて印字範囲が制限される不都合を回避すること
ができる。
[0010] The initial print control means may print the first fixed sheet after returning the first fixed sheet aligned with the initial position to a predetermined return position. Is preferred. In this case, the initial position of the first fixed sheet can be set arbitrarily, and printing can be started from an arbitrary position on the first fixed sheet. The disadvantage that the printing range is limited in the fixed-size sheet can be avoided.

【0011】また、前記戻し位置は、前記一枚目の定形
シート先端が印字ヘッドに略一致する位置であることが
好ましい。この場合においては、一枚目の定形シートに
対して先端位置から印字を開始することができるので、
一枚目の定形シートにおいて印字範囲が制限される不都
合を回避することができる。
Preferably, the return position is a position where the leading end of the first fixed sheet substantially coincides with the print head. In this case, since printing can be started from the leading end position on the first fixed sheet,
The inconvenience of limiting the printing range in the first fixed sheet can be avoided.

【0012】更に、前記プリンタにおける制御方法であ
って、前記連続状シートがセットされた後、最初の印字
指令を受信した場合に、一枚目の定形シートが予め設定
される初期位置に位置合せされているものとし、該初期
位置からのシート搬送距離に基づいて印字位置を位置決
めしつつ、前記一枚目の定形シートに印字を行う工程
と、その後に印字指令を受信した場合に、前記基準位置
検出手段が基準位置を検出した後のシート搬送距離に基
づいて印字位置を位置決めしつつ、二枚目以降の定形シ
ートに印字を行う工程とを備えて構成される。
Further, in the control method in the printer, when a first print command is received after the continuous sheet is set, the first fixed sheet is aligned with a preset initial position. The step of printing on the first fixed sheet while positioning the printing position based on the sheet conveyance distance from the initial position, and after receiving a print command, the reference A step of performing printing on the second and subsequent fixed-size sheets while positioning the printing position based on the sheet conveyance distance after the position detection means has detected the reference position.

【0013】[0013]

【発明の実施の形態】以下、本発明の一実施形態を図面
に沿って説明する。図1は本発明の一実施形態に係るプ
リンタの内部を示す概略側面図である。プリンタ10
は、上部が開口した筐体11と、該筐体11の上部開口
を開閉自在に覆蓋する蓋体12とを備えており、蓋体1
2を開放することによって、ロール紙Pの交換及びプリ
ンタ内部の保守、点検が可能となる。ロール紙Pは、プ
リンタ内部に回転自在に収納され、その先端側は、搬送
路13を経由して排紙口14から筐体外へ導かれる。搬
送路13上には、印字ヘッド15、プラテンローラ16
及びカッタ機構17が配置されている。ホストコンピュ
ータからの印字指令を受信した場合、搬送ローラを兼ね
るプラテンローラ16が適宜駆動され、排紙口14に向
けてロール紙Pが搬送される。プラテンローラ16によ
るロール紙Pの搬送と共に印字ヘッド15が走査され、
所望の文字や記号がロール紙P上に印字される。ロール
紙Pの印字された領域は、排紙口14に向けてさらに搬
送され、その後端位置がカッタ機構17の切断位置に達
したとき、カッタ機構17により切断分離されて排紙口
14から単票シートとして利用者に提供される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic side view showing the inside of a printer according to an embodiment of the present invention. Printer 10
Comprises a housing 11 having an open top, and a lid 12 for opening and closing the upper opening of the housing 11.
By opening 2, the replacement of the roll paper P and the maintenance and inspection of the inside of the printer become possible. The roll paper P is rotatably stored inside the printer, and the leading end side is guided to the outside of the housing from the paper discharge port 14 via the transport path 13. A print head 15, a platen roller 16
And a cutter mechanism 17. When a print command is received from the host computer, the platen roller 16 also serving as a transport roller is appropriately driven, and the roll paper P is transported toward the paper exit 14. The print head 15 is scanned together with the transport of the roll paper P by the platen roller 16,
Desired characters and symbols are printed on the roll paper P. The printed area of the roll paper P is further conveyed toward the paper ejection port 14, and when the rear end position reaches the cutting position of the cutter mechanism 17, the area is cut and separated by the cutter mechanism 17 and the paper is simply discharged from the paper ejection port 14. Provided to the user as a vote sheet.

【0014】前記搬送路13における印字ヘッド15の
上流側には、ロール紙Pの基準位置を検出する基準位置
検出センサ18が設けられている。基準位置検出センサ
18としては、ロール紙Pの種類に応じて反射式光学セ
ンサや透過式光学センサが用いられる。例えば本実施形
態の様に、プリンタ10でチケット19を発行する場合
は、表面に複数枚分のチケット用定形フォーマット(チ
ケット枠)が連続状に印刷され、且つ、裏面に複数のブ
ラックマーク20が所定間隔を存して印刷されたロール
紙Pを使用し、反射式光学センサからなる基準位置検出
センサ18でブラックマーク20を検出する。また、図
7に示す様に、プリンタ10でラベル21を発行する場
合は、長尺な台紙22に所定間隔を存して複数のラベル
21が貼着されたロール紙Pを使用し、透過式光学セン
サからなる基準位置検出センサ18でラベル21の先端
位置または後端位置を検出する。
A reference position detection sensor 18 for detecting the reference position of the roll paper P is provided on the transport path 13 upstream of the print head 15. As the reference position detection sensor 18, a reflection type optical sensor or a transmission type optical sensor is used depending on the type of the roll paper P. For example, when a ticket 19 is issued by the printer 10 as in the present embodiment, a plurality of ticket fixed formats (ticket frames) are continuously printed on the front surface and a plurality of black marks 20 are printed on the back surface. A black mark 20 is detected by a reference position detection sensor 18 including a reflection type optical sensor using a roll paper P printed at a predetermined interval. As shown in FIG. 7, when the printer 21 issues a label 21, a roll paper P on which a plurality of labels 21 are adhered at a predetermined interval on a long backing sheet 22 is used. A reference position detection sensor 18 composed of an optical sensor detects a leading end position or a trailing end position of the label 21.

【0015】図2は、本発明の一実施形態に係るプリン
タの制御を実現するための構成を示すブロック図であ
る。図に示す様に、プリンタ10は、その制御に関し、
CPU23と、該CPU23の出力信号に応じて前記印
字ヘッド15を駆動させる印字駆動部24と、CPU2
3の出力信号に応じて前記プラテンローラ16を駆動さ
せる搬送駆動部25と、CPU23の出力信号に応じて
前記カッタ機構17を駆動させるカッタ駆動部26と、
前記基準位置検出センサ18の検出信号をCPU23に
入力する基準位置検出部27と、蓋体12の開閉検出を
行う蓋体開閉センサ(図示せず)の検出信号をCPU2
3に入力する蓋体開閉検出部28とを備える。
FIG. 2 is a block diagram showing a configuration for realizing control of the printer according to one embodiment of the present invention. As shown in FIG.
A CPU 23; a print driving unit 24 for driving the print head 15 in accordance with an output signal of the CPU 23;
3, a transport drive unit 25 that drives the platen roller 16 in accordance with the output signal of the CPU 3, a cutter drive unit 26 that drives the cutter mechanism 17 in accordance with an output signal of the CPU 23,
A reference position detection unit 27 for inputting a detection signal of the reference position detection sensor 18 to the CPU 23 and a detection signal of a lid opening / closing sensor (not shown) for detecting opening / closing of the lid 12
3 is provided with a lid opening / closing detecting unit 28 for inputting the information to the input unit 3.

【0016】次に、プリンタ10の動作手順について説
明する。但し、プリンタ10にセットされるロール紙P
は、表面に複数枚分のチケット用定形フォーマットが連
続状に印刷され、且つ、裏面に複数のブラックマーク2
0が所定間隔を存して印刷されたものとする。発行する
チケット19の印字データは、ホストコンピュータから
の印字指令を受ける以前(先行チケット切断以前)に予
め印字される印字データAと、ホストコンピュータから
の印字指令を受けてから印字される印字データB(一枚
目においてはデータC)とに分けられる。印字データA
としては、各チケット19の共通データである「店名ロ
ゴ」等が設定されるが、印字データAを印字するか否か
は任意であって、本実施形態では、2枚目以降のチケッ
ト19に必要に応じて印字している。一方、印字データ
B、Cとしては、各チケット19の固有データである
「品名」、「価格」等が設定される。また、以下の説明
において、距離xは、基準位置検出センサ18によって
ブラックマーク20が検出されたチケット19の先端と
印字ヘッド15の印字実行位置との間隔、距離yは、印
字ヘッド15の印字実行位置とカッタ機構17の切断実
行位置との間隔、距離zは、印字ヘッド15の印字実行
位置と排紙口14の終端位置との間隔、長さLは、各チ
ケット19の全体長さ、長さΔLは、後続チケット19
に印字が跨らないように確保される下余白長さ、長さL
0は、各チケット19の有効印字範囲長さを示すものと
する。
Next, the operation procedure of the printer 10 will be described. However, the roll paper P set in the printer 10
Indicates that a plurality of fixed-form formats for tickets are continuously printed on the front side and a plurality of black marks 2 are printed on the back side.
It is assumed that 0 is printed at a predetermined interval. The print data of the ticket 19 to be issued includes print data A printed before receiving a print command from the host computer (before cutting the preceding ticket) and print data B printed after receiving a print command from the host computer. (In the first sheet, data C). Print data A
Is set as "store name logo" which is common data of each ticket 19, but whether or not to print the print data A is optional. In the present embodiment, the print data A Printed as needed. On the other hand, as the print data B and C, “article name”, “price” and the like, which are unique data of each ticket 19, are set. In the following description, the distance x is the distance between the tip of the ticket 19 at which the black mark 20 is detected by the reference position detection sensor 18 and the print execution position of the print head 15, and the distance y is the print execution time of the print head 15. The distance between the position and the cutting execution position of the cutter mechanism 17, the distance z is the distance between the printing execution position of the print head 15 and the end position of the paper discharge port 14, and the length L is the overall length and length of each ticket 19. The ΔL is the subsequent ticket 19
Length of the lower margin, length L to ensure that the print does not straddle
0 indicates the effective print range length of each ticket 19.

【0017】図3は、ロール紙セット後の動作手順(初
期印字制御)を示すフローチャート、図4は、ロール紙
セット後の各状態を示す作用説明図である。初期印字制
御は、プリンタ10に新規のロール紙Pがセットされた
場合に、これを蓋体開閉センサの検出信号等により判断
して実行される。新規のロール紙Pをセットする場合
(既にロール紙がセットされている場合において、プリ
ンタ10に電源が投入された場合を含む。以下、同
じ。)は、ロール紙Pの先端側を搬送路13に沿って排
紙口14まで引き出すと共に、一枚目チケット19の先
端を、初期位置として予め設定される排紙口14の終端
位置に位置合せすることが申し合せ(プリンタ内部ラベ
ル表示、マニュアル記載等)されている。初期印字制御
がスタートすると、印字データCが入力されるまで待機
状態を維持する(301、図4(A))。印字データC
の入力を判断(302)すると、初期位置を基準として
ロール紙Pを搬送しながら一枚目のチケット19に印字
データCを印字する(303)。これにより、プリンタ
10に新規のロール紙Pがセットされた初期状態におい
て、一枚目のチケット19を無駄にすることなく、一枚
目のチケット19を正規のチケット19として発行する
ことが可能になる。また、印字データCは、距離zが距
離yよりも大きいことに起因し、二枚目以降の印字デー
タBよりも印字範囲が狭くなるが、この印字範囲は、ホ
ストコンピュータ側で認識しているので、印字漏れが生
じることがなく、しかも、印字データCの印字範囲に合
せて印字データBを設定すれば、一枚目及び二枚目以降
の印字結果を同等にすることが可能となる。また、前記
印字データCの印字中にブラックマーク20を検出(3
04、図4(B))すると、ブラックマーク20からの
距離カウントを開始(305)し、さらに印字データC
を印字しながら紙搬送を継続する(306)。カウント
距離が前記距離xになったと判断(307)すると、二
枚目のチケット19に印字データAを印字(308、図
4(C))し、印字データAが無い場合は紙搬送のみを
継続する。さらに、カウント距離が前記距離(x+y)
になったと判断(309)すると、紙搬送を一時停止
(310)した後、カッタ機構17により一枚目のチケ
ット19を切断分離(311)して初期印字制御を終了
する。
FIG. 3 is a flowchart showing an operation procedure (initial printing control) after the roll paper is set, and FIG. 4 is an operation explanatory diagram showing each state after the roll paper is set. The initial print control is executed when a new roll paper P is set in the printer 10 by judging this from a detection signal of a lid opening / closing sensor or the like. When a new roll paper P is set (including when the roll paper is already set and the power is turned on to the printer 10; the same applies hereinafter), the leading end side of the roll paper P is transported to the transport path 13. To the paper discharge port 14 along the path, and align the leading end of the first ticket 19 with the end position of the paper discharge port 14 which is preset as an initial position (printer internal label display, manual description, etc.). ) Has been. When the initial print control starts, the standby state is maintained until the print data C is input (301, FIG. 4A). Print data C
Is determined (302), print data C is printed on the first ticket 19 while transporting the roll paper P based on the initial position (303). Thus, in the initial state where the new roll paper P is set in the printer 10, the first ticket 19 can be issued as a regular ticket 19 without wasting the first ticket 19. Become. The print data C has a smaller print range than the print data B for the second and subsequent sheets due to the distance z being greater than the distance y, but this print range is recognized on the host computer side. Therefore, no print leakage occurs, and if the print data B is set in accordance with the print range of the print data C, the print results of the first and second sheets can be made equal. Further, the black mark 20 is detected during printing of the print data C (3.
04, FIG. 4 (B)), the distance count from the black mark 20 is started (305), and the print data C
The paper transport is continued while printing is performed (306). When it is determined that the count distance has reached the distance x (307), print data A is printed on the second ticket 19 (308, FIG. 4C). If there is no print data A, only paper conveyance is continued. I do. Further, the count distance is the distance (x + y).
When it is determined that the condition has become (309), the paper transport is temporarily stopped (310), and then the first ticket 19 is cut and separated (311) by the cutter mechanism 17, and the initial print control is terminated.

【0018】初期印字制御が終了した後は、通常印字制
御において二枚目以降のチケット印字を行うが、その動
作手順は、図10に示す従来のフローチャートと同様で
ある。因みに、図10に示す通常印字制御においては、
印字データBが入力されるまで待機状態を維持する(1
001)。印字データBの入力を判断(1002)する
と、チケット19に印字データBを印字する(100
3)。印字データBの印字中にブラックマーク20を検
出(1004)すると、ブラックマーク20からの距離
カウントを開始(1005)し、さらに印字データBを
印字しながら紙搬送を継続する(1006)。カウント
距離が前記距離xになったと判断(1007)すると、
後続のチケット19に印字データAを印字(1008)
し、印字データAが無い場合は紙搬送のみを継続する。
さらに、カウント距離が前記距離(x+y)になったと
判断(1009)すると、紙搬送を一時停止(101
0)した後、カッタ機構17によりチケット19を切断
分離(1011)し、データ待ち状態に戻るように動作
手順が設定されている。
After the end of the initial print control, the second and subsequent tickets are printed in the normal print control. The operation procedure is the same as the conventional flow chart shown in FIG. Incidentally, in the normal print control shown in FIG.
The standby state is maintained until the print data B is input (1
001). When the input of the print data B is determined (1002), the print data B is printed on the ticket 19 (100
3). When the black mark 20 is detected during the printing of the print data B (1004), the distance counting from the black mark 20 is started (1005), and the paper transport is continued while printing the print data B (1006). When it is determined that the count distance has reached the distance x (1007),
Print the print data A on the subsequent ticket 19 (1008)
However, when there is no print data A, only the paper conveyance is continued.
Further, when it is determined that the count distance has reached the distance (x + y) (1009), the paper conveyance is temporarily stopped (101).
0), the ticket mechanism 17 cuts and separates the ticket 19 (1011), and the operation procedure is set to return to the data waiting state.

【0019】図5は、第二の実施形態に係る初期印字制
御のフローチャートである。この実施形態においては、
新規のロール紙Pをセットする場合、一枚目チケット1
9の先端を、初期位置として予め設定される印字ヘッド
15の印字実行位置に位置合せすることが申し合せされ
る。初期印字制御がスタートすると、一枚目のチケット
19に印字データAを印字し、印字データAが無い場合
は印字データA分(距離y)の紙搬送を行い(50
1)、初期印字制御を終了する。そして、初期印字制御
を終了した時点の一枚目チケット19は、従来の二枚目
以降のチケット19と同様の印字待機状態にあり、その
ため、初期印字制御の終了後、通常印字制御において一
枚目のチケット19に印字を行うことが可能になる。
FIG. 5 is a flowchart of the initial print control according to the second embodiment. In this embodiment,
When setting a new roll paper P, the first ticket 1
It is agreed that the leading end of the print head 9 is aligned with the print execution position of the print head 15 which is set in advance as an initial position. When the initial print control starts, the print data A is printed on the first ticket 19, and if there is no print data A, the paper is conveyed by the print data A (distance y) (50).
1), end the initial print control. The first ticket 19 at the end of the initial print control is in the same print standby state as the conventional second and subsequent tickets 19, and therefore, after the end of the initial print control, the first It is possible to print on the eye ticket 19.

【0020】図6は、第三の実施形態に係る初期印字制
御のフローチャートである。この実施形態においては、
新規のロール紙Pをセットする場合、一枚目チケット1
9の先端を、初期位置として予め設定される排紙口14
の終端位置に位置合せすることが申し合せされる。初期
印字制御がスタートすると、ロール紙Pを距離zだけ戻
し搬送(601)し、一枚目チケット19の先端を印字
ヘッド15の印字実行位置に位置合せする。次に、一枚
目のチケット19に印字データAを印字し、印字データ
Aが無い場合は印字データA分(距離y)の紙搬送を行
い(602)、初期印字制御を終了する。そして、初期
印字制御を終了した時点の一枚目チケット19は、従来
の二枚目以降のチケット19と同様の印字待機状態にあ
り、そのため、初期印字制御の終了後、通常印字制御に
おいて一枚目のチケット19に印字を行うことが可能に
なる。
FIG. 6 is a flowchart of the initial print control according to the third embodiment. In this embodiment,
When setting a new roll paper P, the first ticket 1
9 is set to the paper exit 14 set in advance as an initial position.
Are aligned with the end position. When the initial print control starts, the roll paper P is transported back by the distance z (601), and the leading end of the first ticket 19 is aligned with the print execution position of the print head 15. Next, the print data A is printed on the first ticket 19, and if there is no print data A, the paper is conveyed by the print data A (distance y) (602), and the initial print control ends. The first ticket 19 at the end of the initial print control is in the same print standby state as the conventional second and subsequent tickets 19, and therefore, after the end of the initial print control, the first It is possible to print on the eye ticket 19.

【0021】以上の如く本実施形態のプリンタ10は、
複数枚分のチケット19を連続状に有するロール紙Pを
セットし、該ロール紙Pを搬送しながらチケット19に
印字を行うが、チケット19のブラックマーク20を検
出し、該ブラックマーク20を検出した後の紙搬送距離
に基づいて印字位置を位置決めしつつ、チケット19に
印字を行う通常印字制御と、ロール紙Pがセットされた
初期状態である場合に、一枚目のチケット19が予め設
定される初期位置に位置合せされているものとし、該初
期位置からの紙搬送距離に基づいて印字位置を位置決め
しつつ、一枚目のチケット19に印字を行う初期印字制
御とを備えているので、基準位置検出センサ18や印字
ヘッド15の配置を変更したり、その他のセンサを追加
することなく、一枚目のチケット19に印字を行うこと
ができ、また、通し番号に対応する認証用データをチケ
ット19に印字する場合に、通し番号のズレを防止して
ホストコンピュータ側のデータ修正を不要にすることが
できる。
As described above, the printer 10 according to the present embodiment
A roll paper P having a plurality of tickets 19 in a continuous form is set, and printing is performed on the ticket 19 while transporting the roll paper P. The black mark 20 of the ticket 19 is detected, and the black mark 20 is detected. Normal printing control for printing on the ticket 19 while positioning the printing position based on the paper transport distance after the printing, and setting of the first ticket 19 in advance in the initial state where the roll paper P is set. And an initial print control that prints on the first ticket 19 while positioning the print position based on the paper transport distance from the initial position. It is possible to print on the first ticket 19 without changing the arrangement of the reference position detection sensor 18 or the print head 15 or adding other sensors. When printing the authentication data corresponding to the number on the ticket 19, it can be dispensed with data modification on the host computer side to prevent misalignment of the serial number.

【0022】また、前記初期位置は、一枚目チケット1
9の先端が排紙口14の終端位置に一致する位置に設定
されているので、プリンタ10に位置合せ用の目印を設
けなくても、一枚目のチケット19を初期位置に位置合
せすることが可能になる。
The initial position is the first ticket 1
9 is set at a position corresponding to the end position of the paper discharge port 14, it is possible to align the first ticket 19 to the initial position without providing an alignment mark in the printer 10. Becomes possible.

【0023】また、第二の実施形態における初期位置
は、一枚目チケット19の先端が印字ヘッド15の印字
実行位置に一致する位置に設定されているので、第一の
実施形態と同様、プリンタ10に位置合せ用の目印を設
けなくても、一枚目のチケット19を初期位置に位置合
せすることができ、しかも、この場合においては、一枚
目のチケット19に対して先端位置から印字を開始する
ことができるので、一枚目のチケット19において印字
範囲が制限される不都合を回避することができる。
Further, since the initial position in the second embodiment is set at a position where the leading end of the first ticket 19 coincides with the print execution position of the print head 15, the printer is similar to the first embodiment. It is possible to align the first ticket 19 to the initial position without providing a mark for alignment at 10, and in this case, print the first ticket 19 from the leading end position. Can be started, so that the inconvenience of restricting the printing range in the first ticket 19 can be avoided.

【0024】また、第三の実施形態における初期印字制
御は、初期位置に位置合せされた一枚目のチケット19
を所定の戻し位置まで戻し搬送した後、一枚目のチケッ
ト19に印字を行うので、一枚目チケット19の初期位
置を任意に設定(排紙口14の終端位置等)することが
でき、しかも、一枚目のチケット19に対して任意の位
置(先端位置等)から印字を開始することができるの
で、一枚目のチケット19において印字範囲が制限され
る不都合を回避することができる。
The initial print control in the third embodiment is performed by controlling the first ticket 19 that is aligned with the initial position.
Is returned to a predetermined return position and then printed on the first ticket 19, so that the initial position of the first ticket 19 can be set arbitrarily (the end position of the paper discharge port 14, etc.), In addition, since printing can be started from an arbitrary position (tip position or the like) on the first ticket 19, it is possible to avoid the disadvantage that the printing range of the first ticket 19 is limited.

【0025】以上、本発明の一実施形態を図面に沿って
説明したが、本発明は前記実施形態において示された事
項に限定されず、特許請求の範囲及び発明の詳細な説明
の記載、並びに周知の技術に基づいて、当業者がその変
更・応用を行うことができる範囲が含まれる。例えば前
記実施形態においては、チケットを印字する場合を示し
たが、ラベルの印字も略同様の動作手順で行うことが可
能である。また、基準位置検出センサとしては、光学セ
ンサに限らず、様々な方式のセンサを用いることができ
る。
As described above, one embodiment of the present invention has been described with reference to the drawings. However, the present invention is not limited to the matters shown in the above embodiment, and the claims and the detailed description of the invention, and The range in which those skilled in the art can make changes and applications based on well-known techniques is included. For example, in the above-described embodiment, the case of printing a ticket has been described, but printing of a label can be performed in substantially the same operation procedure. The reference position detection sensor is not limited to an optical sensor, and various types of sensors can be used.

【0026】[0026]

【発明の効果】以上の如く本発明によれば、センサや印
字ヘッドの配置を変更したり、センサを追加することな
く、一枚目の定形シートに印字を行うことができ、ま
た、通し番号に対応する認証用データを定形シートに印
字する場合に、通し番号のズレを防止してホストコンピ
ュータ側のデータ修正を不要にすることができる。
As described above, according to the present invention, it is possible to perform printing on the first fixed sheet without changing the arrangement of sensors and print heads and without adding sensors. When the corresponding authentication data is printed on a fixed-size sheet, it is possible to prevent the serial number from being shifted and to eliminate the need for data correction on the host computer side.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態に係るプリンタの内部を示
す概略側面図である。
FIG. 1 is a schematic side view showing the inside of a printer according to an embodiment of the present invention.

【図2】本発明の一実施形態に係るプリンタの制御を実
現するための構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration for realizing control of a printer according to an embodiment of the present invention.

【図3】ロール紙セット後の動作手順(初期印字制御)
を示すフローチャートである。
FIG. 3 is an operation procedure after setting roll paper (initial printing control).
It is a flowchart which shows.

【図4】ロール紙セット後の各状態を示す作用説明図で
ある。
FIG. 4 is an operation explanatory view showing each state after the roll paper is set.

【図5】第二の実施形態に係る初期印字制御のフローチ
ャートである。
FIG. 5 is a flowchart of initial print control according to a second embodiment.

【図6】第三の実施形態に係る初期印字制御のフローチ
ャートである。
FIG. 6 is a flowchart of initial print control according to a third embodiment.

【図7】ラベルを印字する場合におけるプリンタの内部
を示す概略側面図である。
FIG. 7 is a schematic side view showing the inside of the printer when printing a label.

【図8】従来例を示す初期印字制御のフローチャートで
ある。
FIG. 8 is a flowchart of an initial print control showing a conventional example.

【図9】従来例の作用説明図である。FIG. 9 is an operation explanatory view of a conventional example.

【図10】従来例および本実施形態で用いる通常印字制
御のフローチャートである。
FIG. 10 is a flowchart of normal print control used in a conventional example and the present embodiment.

【符号の説明】[Explanation of symbols]

P ロール紙 10 プリンタ 11 筐体 12 蓋体 13 搬送路 14 排紙口 15 印字ヘッド 16 プラテンローラ 17 カッタ機構 18 基準位置検出センサ 19 チケット 20 ブラックマーク 21 ラベル 22 台紙 P roll paper 10 Printer 11 Housing 12 Lid 13 Transport path 14 Paper discharge port 15 Print head 16 Platen roller 17 Cutter mechanism 18 Reference position detection sensor 19 Ticket 20 Black mark 21 Label 22 Mount

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数枚分の定形シートを連続状に有する
連続状シートをセットし、該連続状シートを搬送しなが
ら前記定形シート部分に印字を行うプリンタにおいて、 前記定形シートの基準位置を検出する基準位置検出手段
と、 前記基準位置を検出した後のシート搬送距離に基づいて
印字位置を位置決めしつつ、前記定形シートに印字を行
う通常印字制御手段と、 前記連続状シートがセットされた初期状態である場合
に、一枚目の定形シートが予め設定される初期位置に位
置合せされているものとし、該初期位置からのシート搬
送距離に基づいて印字位置を位置決めしつつ、前記一枚
目の定形シートに印字を行う初期印字制御手段と、を備
えたことを特徴とするプリンタ。
1. A printer which sets a continuous sheet having a plurality of fixed sheets in a continuous form and prints on the fixed sheet portion while conveying the continuous sheet, wherein a reference position of the fixed sheet is detected. A standard position control unit for performing printing on the fixed form sheet while positioning a print position based on the sheet conveyance distance after detecting the reference position, and an initial state in which the continuous sheet is set. In this state, it is assumed that the first fixed sheet is aligned with a preset initial position, and the first sheet is positioned while the printing position is determined based on the sheet conveyance distance from the initial position. And an initial print control means for performing printing on the fixed sheet.
【請求項2】 前記初期位置は、前記一枚目の定形シー
ト先端が排紙口に略一致する位置であることを特徴とす
る請求項1に記載のプリンタ。
2. The printer according to claim 1, wherein the initial position is a position where a leading end of the first fixed sheet substantially coincides with a paper discharge port.
【請求項3】 前記初期位置は、前記一枚目の定形シー
ト先端が印字ヘッドに略一致する位置であることを特徴
とする請求項1に記載のプリンタ。
3. The printer according to claim 1, wherein the initial position is a position where a leading end of the first fixed sheet substantially coincides with a print head.
【請求項4】 前記初期印字制御手段は、前記初期位置
に位置合せされた前記一枚目の定形シートを所定の戻し
位置まで戻し搬送した後、前記一枚目の定形シートに印
字を行うことを特徴とする請求項1又は2に記載のプリ
ンタ。
4. The method according to claim 1, wherein the initial print control means prints the first fixed sheet after returning the first fixed sheet aligned with the initial position to a predetermined return position. The printer according to claim 1, wherein:
【請求項5】 前記戻し位置は、前記一枚目の定形シー
ト先端が印字ヘッドに略一致する位置であることを特徴
とする請求項4に記載のプリンタ。
5. The printer according to claim 4, wherein the return position is a position where a leading end of the first fixed sheet substantially coincides with a print head.
【請求項6】 請求項1〜5の何れかに記載のプリンタ
における制御方法であって、 前記連続状シートがセットされた後、最初の印字指令を
受信した場合に、一枚目の定形シートが予め設定される
初期位置に位置合せされているものとし、該初期位置か
らのシート搬送距離に基づいて印字位置を位置決めしつ
つ、前記一枚目の定形シートに印字を行う工程と、 その後に印字指令を受信した場合に、前記基準位置検出
手段が基準位置を検出した後のシート搬送距離に基づい
て印字位置を位置決めしつつ、二枚目以降の定形シート
に印字を行う工程と、を備えたことを特徴とするプリン
タの制御方法。
6. The control method for a printer according to claim 1, wherein a first print command is received after the continuous sheet has been set and a first print command is received. Is assumed to have been registered to a preset initial position, and a step of printing on the first fixed sheet while positioning the printing position based on the sheet transport distance from the initial position, When receiving a print command, while positioning the print position based on the sheet transport distance after the reference position detection means has detected the reference position, performing printing on the second and subsequent fixed sheets A method of controlling a printer.
JP2000355942A 2000-11-22 2000-11-22 Printer and controlling method therefor Withdrawn JP2002160408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000355942A JP2002160408A (en) 2000-11-22 2000-11-22 Printer and controlling method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000355942A JP2002160408A (en) 2000-11-22 2000-11-22 Printer and controlling method therefor

Publications (1)

Publication Number Publication Date
JP2002160408A true JP2002160408A (en) 2002-06-04

Family

ID=18828271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000355942A Withdrawn JP2002160408A (en) 2000-11-22 2000-11-22 Printer and controlling method therefor

Country Status (1)

Country Link
JP (1) JP2002160408A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003048349A (en) * 2001-08-08 2003-02-18 Sato Corp Printer
JP2007090677A (en) * 2005-09-29 2007-04-12 Toshiba Tec Corp Printing starting location setting method
JP2007090766A (en) * 2005-09-29 2007-04-12 Sato Corp Printer and printing control method
JP2016036957A (en) * 2014-08-07 2016-03-22 カシオ計算機株式会社 Printing control device and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003048349A (en) * 2001-08-08 2003-02-18 Sato Corp Printer
JP4705278B2 (en) * 2001-08-08 2011-06-22 株式会社サトー Printing device
JP2007090677A (en) * 2005-09-29 2007-04-12 Toshiba Tec Corp Printing starting location setting method
JP2007090766A (en) * 2005-09-29 2007-04-12 Sato Corp Printer and printing control method
JP4611164B2 (en) * 2005-09-29 2011-01-12 株式会社サトー Printer and print control method
JP2016036957A (en) * 2014-08-07 2016-03-22 カシオ計算機株式会社 Printing control device and program

Similar Documents

Publication Publication Date Title
JP4979783B2 (en) Printing apparatus and printing control method
JP4784330B2 (en) Printing device
JP2002160408A (en) Printer and controlling method therefor
JP2004082348A (en) Recorder
JP4604352B2 (en) Printer, control method therefor, and information recording medium
JPH07246738A (en) Printer
JP2002200806A (en) Printer, controlling method therefor, and computer- readable information recording medium
JPH09109425A (en) Printer and recording paper used therein
JP2015107615A (en) Recording controller, recording control method, and program
JP2002160410A (en) Ink-jet printer
JP2010023387A (en) Method for cutting recording paper in printer and printer
JP4415362B2 (en) Printing apparatus, control method, and information recording medium
TWI469879B (en) The recording paper transfer control method and the printer of the printer
JP2010023386A (en) Method for cutting recording paper in printer and printer
JP2005279983A (en) Receipt printer
JP4040450B2 (en) Printer and paper cutting method
JP2005178093A (en) Printer, recording paper information reading method, detection method of remaining amount of recording paper and recording paper roll
JP5951298B2 (en) Thermal printer and printing paper position correction method
KR200380009Y1 (en) Paper position control system of thermal printer
JP2003145817A (en) Thermal transfer printer
JP2004268405A (en) Printer, initial printing control method for printer, program therefor, and computer readable recording medium with the program recorded
JP2001105678A (en) Printer and its control method
JP2003094758A (en) Apparatus and method for printing, and device and method for positioning
JP2998799B2 (en) Printing device
JP4480882B2 (en) Recording device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080205