JP5162847B2 - Printer and printer control method - Google Patents

Printer and printer control method Download PDF

Info

Publication number
JP5162847B2
JP5162847B2 JP2006151979A JP2006151979A JP5162847B2 JP 5162847 B2 JP5162847 B2 JP 5162847B2 JP 2006151979 A JP2006151979 A JP 2006151979A JP 2006151979 A JP2006151979 A JP 2006151979A JP 5162847 B2 JP5162847 B2 JP 5162847B2
Authority
JP
Japan
Prior art keywords
print job
printing
printer
continuous paper
tear
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
JP2006151979A
Other languages
Japanese (ja)
Other versions
JP2007320134A5 (en
JP2007320134A (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.)
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 JP2006151979A priority Critical patent/JP5162847B2/en
Priority to CN2007101042177A priority patent/CN101081578B/en
Publication of JP2007320134A publication Critical patent/JP2007320134A/en
Publication of JP2007320134A5 publication Critical patent/JP2007320134A5/ja
Application granted granted Critical
Publication of JP5162847B2 publication Critical patent/JP5162847B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、連続紙への印字後に当該連続紙を切断する切断位置まで前進させるティアオフ動作の制御技術に関する。   The present invention relates to a technology for controlling a tear-off operation in which the continuous paper is advanced to a cutting position for cutting the continuous paper after printing on the continuous paper.

従来、連続紙に印字するプリンタでは、連続紙への印字終了後、当該連続紙を切断する切断位置まで自動的に前進させるティアオフ動作を実行して当該切断位置で連続紙を切断可能にし(例えば、特許文献1参照)、その後、次の印字のために連続紙を印字位置まで後退させるといった一連の用紙搬送制御を行っている。
ところで、プリンタに使用される連続紙は、ロール紙と折り畳み紙(ファンホールド紙)に大別される。ロール紙は所定幅で長尺な長さを有する帯状の紙をロール状に巻回したものであり、折り畳み紙は所定幅で長尺な長さを有する帯状の紙に1ページの長さ毎に切取用ミシン目線を入れ折り畳めるようにしたものである。連続紙に折り畳み紙を使用する場合、通常、印刷物単位で切取られる。
したがって、折り畳み紙に印字するプリンタでは、複数ページにわたって印字した場合、印字終了後に改ページ送りを行い、ティアオフ動作時に、印字ページと次のページとを切り離すための切取用ミシン目線が切断位置まで位置するように折り畳み紙を前進させて印刷物単位で切断可能にし、ティアオフ動作後には、次ページの先頭位置に印字位置がくるように折り畳み紙を後退させている。
特開2000−117689号公報
Conventionally, a printer that prints on continuous paper performs a tear-off operation that automatically advances to a cutting position for cutting the continuous paper after printing on the continuous paper so that the continuous paper can be cut at the cutting position (for example, Thereafter, a series of sheet conveyance control is performed such that the continuous sheet is retracted to the printing position for the next printing.
By the way, continuous paper used in a printer is roughly classified into roll paper and folding paper (fan hold paper). The roll paper is a roll of a strip-like paper having a predetermined width and a long length, and the folded paper is a belt-like paper having a predetermined width and a long length. The perforation line for cutting is put in and folded. When folding paper is used for continuous paper, it is usually cut out in units of printed matter.
Therefore, in a printer that prints on folded paper, when printing over multiple pages, page feed is performed after printing is completed, and the tear line for cutting to separate the print page from the next page is positioned to the cutting position during tear-off operation. Thus, the folding paper is advanced so that it can be cut in units of printed matter. After the tear-off operation, the folding paper is moved backward so that the printing position is at the top position of the next page.
JP 2000-117689 A

しかしながら、ティアオフ動作後に印字位置を必ず次ページにすると、一連の印字を行う場合において、折り畳み紙に一旦印字した後、処理等のため中断時間をおいてから、先の印字の続きを印字する場合には、先の印字後にティアオフ動作と印字位置までの後退動作が入るため、続きの印字が次ページの先頭から印字されてしまう。このため、一連の印字をするのに、中断時間を介して先の印字と続きの印字の間に余分な空行ができてしまう、という問題がある。その結果、目的の印字ができないことになる。
本発明は、上述した事情に鑑みてなされたものであり、切取用ミシン目線の付いた連続紙に印字する場合に、ティアオフ動作によって先の印字との間に余計な空行ができてしまう事を防止できるプリンタ及びプリンタの制御方法を提供することを目的とする。
However, if the print position is always set to the next page after the tear-off operation, when printing a series of prints, after printing on the folded paper, after a pause for processing, etc., to print the continuation of the previous print In this case, since the tear-off operation and the backward movement to the printing position are performed after the previous printing, the subsequent printing is printed from the top of the next page. For this reason, in order to perform a series of printing, there is a problem that an extra blank line is generated between the previous printing and the subsequent printing through the interruption time. As a result, the intended printing cannot be performed.
The present invention has been made in view of the above-described circumstances, and when printing on continuous paper with a perforation line for cutting, an extra blank space may be formed between the previous printing due to the tear-off operation. It is an object of the present invention to provide a printer and a printer control method that can prevent the above-described problem.

上記目的を達成するために、本発明は、1ページの長さごとに切取用ミシン目線が付いた連続紙を搬送する搬送手段と、前記連続紙に印刷する印刷手段と、前記連続紙を切断する切断手段とを有するプリンタであって、前記印刷手段により前記連続紙へ所定の印刷をした後に、前記搬送手段により前記連続紙を前記切断手段の切断位置まで前進させた後、次の印刷開始位置まで後退させるティアオフ動作を制御する手段であって、前記前進により前記連続紙の次ページとの間の前記切取用ミシン目線を前記切断位置に位置させ、前記後退により前記次の印刷開始位置を前記所定の印刷した位置を超えた次ページの先頭の位置とする第1動作モードと、前記前進により前記連続紙の前記所定の印刷した位置と次行との間を前記切断位置に位置させ、前記後退により前記次の印刷開始位置を前記所定の印刷した位置の次行とする第2動作モードとを有するティアオフ制御手段と、前記第1動作モードと前記第2動作モードのいずれかの動作モードを予めユーザの選択に応じて指定する指定手段と、印刷ジョブコマンドを受信する受信手段と、前記受信手段により他のプリンタ用の印刷ジョブコマンドを受信した場合に、当該印刷ジョブコマンドをエミュレートするエミュレート手段と、前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの待ち受け状態の経過時間に基づいて前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの待ち受けがタイムアウトした場合、前記ティアオフ制御手段によりティアオフ動作を制御する制御手段と、を備え、前記制御手段の制御の下、前記ティアオフ制御手段は、前記エミュレート手段によるエミュレートによらず前記指定手段により予め指定された動作モードにしたがってティアオフ動作することを特徴とする。
上記発明において、前記制御手段は、前記タイムアウト後、処理の印刷ジョブコマンドが残っている場合は、前記未処理の印刷ジョブコマンドを処理した後、前記ティアオフ制御手段によりティアオフ動作を制御しても良い。
In order to achieve the above object, the present invention provides a conveying means for conveying continuous paper with a perforation line for each page length , a printing means for printing on the continuous paper, and cutting the continuous paper. A printer having a cutting unit that performs predetermined printing on the continuous paper by the printing unit, and then advances the continuous paper to the cutting position of the cutting unit by the transport unit, and then starts the next printing Means for controlling a tear-off operation for retreating to a position , wherein the cut perforation between the continuous page and the next page is positioned at the cutting position by the advance, and the next printing start position is determined by the retreat. The first operation mode, which is the first position of the next page beyond the predetermined printed position, and the position between the predetermined printed position and the next line of the continuous paper at the cutting position by the advancement. A tear-off control means having a second operation mode in which the next printing start position is set to the next line of the predetermined printing position by the backward movement, and one of the first operation mode and the second operation mode. A designation unit that predesignates an operation mode according to a user's selection, a reception unit that receives a print job command, and a print job command for another printer that is received by the reception unit is emulated. The waiting time of the print job command or the print job command for the other printer is timed out based on the elapsed time of the waiting state of the print job command or the print job command for the other printer. A control means for controlling the tear-off operation by the tear-off control means. For example, under the control of said control means, said tear-off control unit may be operated tear-off according to a pre-specified operating mode by said designating means regardless of the emulating by the emulation means.
In the above invention, if an unprocessed print job command remains after the time-out, the control means may control the tear-off operation by the tear-off control means after processing the unprocessed print job command. good.

本発明によれば、切取用ミシン目線の付いた連続紙に印する場合であっても、ユーザが第2動作モードを選択することで、先の印との間に余計な空行を生じさせずに、次行から印を開始させることができる。また、第1動作モードを選択することで、ページ単位に切取ることが可能となる。なお、本発明においては、切取用ミシン目線の付いていないロール紙を連続紙と用いても良いことは勿論である。 According to the present invention, even when printed on a continuous sheet with a perforation lines for coring, the user by selecting the second operation mode, the extra blank line between the previous printing without causing, it is possible to start the printing from the next line. Further, by selecting the first operation mode, it is possible to cut out in units of pages. In the present invention, it is needless to say that roll paper without a perforation line for cutting may be used as continuous paper.

ここで、上記発明において、前記第1動作モードでは、前記連続紙への前記所定の印刷を終了したとき、改ページ送りを行さらに前記連続紙を前記切断位置まで前進させる構成としても良い。
この構成によれば、連続紙として切取用ミシン目線が付いた連続紙を用いた場合には、印後に切取用ミシン目線の付いた位置まで連続紙が改ページ送りされた後に、切断用の切断位置まで連続紙が送り出されるため、この切取用ミシン目線が切断位置に位置することとなり、連続紙の切断が容易となる。
Here, in the above invention, in the first operation mode, when you exit the predetermined printing on the continuous paper, have rows a page break feed, it may be configured to further advance the continuous paper to the cutting position .
According to this configuration, in the case of using a continuous sheet with perforation lines for cutaway as continuous paper, the continuous paper to the position marked with a perforated line for cut after printing is after being pagination feeding, the cutting Since the continuous paper is sent out to the cutting position, the perforation line for cutting is positioned at the cutting position, and the continuous paper can be easily cut.

また、上記発明において、信手段と、前記受信手段により他のプリンタ用の印刷ジョブコマンドを受信した場合に、当該印刷ジョブコマンドをエミュレートするエミュレート手段とを備え、前記ティアオフ制御手段は、前記エミュレート手段によるエミュレートに基づく印了した後に、前記指定手段により指定された動作モードにしたがって制御する構成としても良い。
この構成によれば、1つのプリンタが他のプリンタの動作をエミュレートする場合であっても、そのエミュレートするプリンタの仕様にかかわらず、上記動作モードを確実に制御することが可能となる。
Further, in the above invention, the receiving means, when receiving a print job command for another printer by the receiving means, the print job commands and a emulation means for emulating, the tear-off control means after said printing based on the emulated by emulating means has finished, may be controlled in accordance with the designated operation mode by said designating means.
According to this configuration, even when one printer emulates the operation of another printer, the operation mode can be reliably controlled regardless of the specifications of the printer to be emulated.

また、上記発明において、前記指定手段は操作手段を備え、前記操作手段によりいずれかの前記動作モードを指定する構成としてもよい。
この構成によれば、動作モードの選択設定を手動で簡単に行うことができる。
また、上記発明において、前記指定手段は、前記受信手段により所定のコマンドを受信した場合に、前記所定のコマンドに基づいていずれかの前記動作モードを指定する構成としても良い。
この構成によれば、例えばコンピュータ端末からプリンタに対して印刷ジョブコマンドを送信する際に、上記動作モードを指定するコマンドを印刷ジョブコマンドに含めておくことで、印刷に合わせて簡単に動作モードを指定することができる。
In the above invention, the designation unit may include an operation unit, and any one of the operation modes may be designated by the operation unit.
According to this configuration, the operation mode selection setting can be easily performed manually.
In the above invention, the designation unit may designate one of the operation modes based on the predetermined command when the reception unit receives the predetermined command .
According to this configuration, for example, when the print job command is transmitted from the computer terminal to the printer, the operation mode can be easily set according to the printing by including the command specifying the operation mode in the print job command. Can be specified.

また、上記課題を解決するために、本発明は、1ページの長さごとに切取用ミシン目線が付いた連続紙を搬送する搬送手段と、前記連続紙に印刷する印刷手段と、前記連続紙を切断する切断手段とを有するプリンタの制御方法であって、前記印刷手段により前記連続紙へ所定の印刷をした後に、前記搬送手段により前記連続紙を前記切断手段の切断位置まで前進させた後、次の印刷開始位置まで後退させるティアオフ動作を、前記前進により前記連続紙の次ページとの間の前記切取用ミシン目線を前記切断位置に位置させ、前記後退により前記次の印刷開始位置を前記所定の印刷した位置を超えた次ページの先頭の位置とする第1動作モードと、前記前進により前記連続紙の前記所定の印刷した位置と次行との間を前記切断位置に位置させ、前記後退により前記次の印刷開始位置を前記所定の印刷した位置の次行とする第2動作モードとのいずれかの動作モードで実行するとともに、前記第1動作モードと前記第2動作モードのいずれかの動作モードを指定手段により予めユーザの選択に応じて指定可能にし、印刷ジョブコマンドを受信する受信手段により他のプリンタ用の印刷ジョブコマンドを受信し、当該印刷ジョブコマンドをエミュレート手段によりエミュレートして前記印刷手段により印刷可能にし、前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの待ち受け状態の経過時間に基づいて前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの待ち受けがタイムアウトしたか否かを判断し、前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの受待ち受けがタイムアウトした場合、前記ティアオフ制御手段によりティアオフ動作を制御し、当該制御のティアオフ動作の実行に際しては、前記エミュレート手段によるエミュレートによらず前記指定手段により予め指定された動作モードにしたがってティアオフ動作することを特徴とする。
本発明によれば、切取用ミシン目線の付いた連続紙に印する場合であっても、ユーザが第2動作モードを選択することで、先の印との間に余計な空行を生じさせずに、次行から印を開始させることができる。また、第1動作モードを選択することで、ページ単位に切取ることが可能となる。
上記発明において、前記タイムアウト後、処理の印刷ジョブコマンドが残っている場合は、前記未処理の印刷ジョブコマンドを処理した後、前記ティアオフ制御手段によりティアオフ動作を制御しても良い。
また、前記第1動作モードでは、前記連続紙への所定の印刷を終了したとき、改ページ送りを実行し、さらに前記連続紙を前記切断位置まで前進させることを特徴とする。
また、前記プリンタは受信手段を有し、前記受信手段により他のプリンタ用の印刷ジョブコマンドを受信した場合に、当該印刷ジョブコマンドのエミュレートを実行し、前記エミュレートに基づく印刷が終了した後に、前記指定された動作モードを実行することを特徴とする。

In order to solve the above-mentioned problem, the present invention provides a conveying unit that conveys continuous paper with a perforation line for each page length , a printing unit that prints on the continuous paper, and the continuous paper. A method for controlling a printer having a cutting means for cutting the paper, wherein after the printing means performs predetermined printing on the continuous paper, the transport means advances the continuous paper to the cutting position of the cutting means. The tear-off operation for retreating to the next print start position causes the cut perforation line to the next page of the continuous paper to be positioned at the cutting position by the advance, and the next print start position is determined by the retreat. A first operation mode in which the position of the top of the next page that exceeds a predetermined printed position is set to the cutting position between the predetermined printed position and the next line of the continuous paper by the advance; It is executed in any one of the second operation mode in which the next printing start position is set to the next line of the predetermined printing position by the backward movement, and any one of the first operation mode and the second operation mode is executed. The operation mode can be designated according to the user's selection in advance by the designation means, the print job command for the other printer is received by the reception means for receiving the print job command, and the print job command is emulated by the emulation means. The print job command or the print job command for the other printer based on the elapsed time of the standby state of the print job command or the print job command for the other printer. Whether or not waiting for the print job has timed out, and the print job command or If serial receive the print job commands for other printer standby times out, control the tear-off operation by the tear-off control means, upon execution of the tear-off operation of the control, the designated regardless of the emulating by the emulation means A tear-off operation is performed in accordance with an operation mode designated in advance by the means.
According to the present invention, even when printed on a continuous sheet with a perforation lines for coring, the user by selecting the second operation mode, the extra blank line between the previous printing without causing, it is possible to start the printing from the next line. Further, by selecting the first operation mode, it is possible to cut out in units of pages.
In the above invention, when an unprocessed print job command remains after the time-out, the tear-off operation may be controlled by the tear-off control unit after the unprocessed print job command is processed.
Further, in the first operation mode, when predetermined printing on the continuous paper is finished, a page feed is executed, and the continuous paper is further advanced to the cutting position.
In addition, the printer includes a receiving unit, and when a print job command for another printer is received by the receiving unit, the print job command is emulated, and after printing based on the emulation is finished The specified operation mode is executed.

本発明によれば、連続紙へ所定の印後に前記連続紙を切断手段の切断位置まで前進させた後、次の印開始位置まで後退させる手段であって、次の印開始位置を次ページの先頭とする第1動作モードと、次の印開始位置を所定の印刷の続きとする第2動作モードとを有するティアオフ制御手段と、前記第1動作モードと前記第2動作モードのいずれかの動作モードを指定手段とを具備する構成としたため、切取用ミシン目線の付いた連続紙に印する場合であっても、ユーザが第2動作モードを選択することで、先の印との間に余計な空行を生じさせずに、先の印の続き印刷を開始させることができる。 According to the present invention, after advancing the continuous paper after a predetermined printing to continuous paper to the cutting position of the cutting means, and means to retract until the next print start position, the next mark start position following a first operation mode in which the top of the page, and tear-off control means and a second operation mode for the next print start position and continuation of the predetermined printing, either the first operation mode and the second operation mode due to a structure having a designating means a Kano operation mode, even when printed on a continuous sheet with a perforation Looking coring, the user by selecting the second operation mode, the previous printing without causing extra blank line between, it is possible to start more or et al printing of the previous print.

以下、図面を参照して本発明の実施形態について説明する。
図1は本実施形態に係るプリンタ1の電気的構成を概略的に示す図である。この図において、制御部2はプリンタ1の各部を制御するものであり、いわゆるマイクロコンピュータにより構成されている。詳細には、制御部2は、演算処理ユニットとしてのCPU3と、このCPU3のワークエリアとして機能して演算結果や各種データを一時記憶するRAM4と、CPU3が実行するファームウェア等のプログラム100を記憶する書換え可能なフラッシュROM5とを備え、それぞれがバスライン6に接続されている。また、CPU3はタイマ3Aを内蔵し当該タイマ3Aに基づいて各種計時処理を実行する。なお、フラッシュROM5に代えてEEPROMを用いるようにしても良い。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram schematically showing an electrical configuration of a printer 1 according to the present embodiment. In this figure, a control unit 2 controls each unit of the printer 1 and is constituted by a so-called microcomputer. Specifically, the control unit 2 stores a CPU 3 as an arithmetic processing unit, a RAM 4 that functions as a work area of the CPU 3 and temporarily stores calculation results and various data, and a program 100 such as firmware executed by the CPU 3. A rewritable flash ROM 5 is provided, and each is connected to a bus line 6. The CPU 3 includes a timer 3A and executes various timing processes based on the timer 3A. Note that an EEPROM may be used instead of the flash ROM 5.

通信I/F(インタフェース)7は、USBケーブルやパラレルケーブル、シリアルケーブル、LANケーブル等の有線、又は、Bluetooth(登録商標)や無線LAN等の無線によりコンピュータ端末30とデータ通信可能に接続されるインタフェースである。コンピュータ端末30には、印字設定や印字データを含む印刷ジョブコマンドPcmを生成するためのプリンタドライバ31がインストールされており、通信I/F7はコンピュータ端末30からの印刷ジョブコマンドPcmを受信し制御部2に出力する。   The communication I / F (interface) 7 is connected so as to be able to perform data communication with the computer terminal 30 by wire such as a USB cable, a parallel cable, a serial cable, and a LAN cable, or wirelessly such as Bluetooth (registered trademark) or a wireless LAN. Interface. A printer driver 31 for generating a print job command Pcm including print settings and print data is installed in the computer terminal 30, and the communication I / F 7 receives the print job command Pcm from the computer terminal 30 and receives a control unit. Output to 2.

操作部8は、ユーザの指示操作を制御部2に出力するものであり、操作ボタン等の複数の操作子を備えている。表示部9は、制御部2の制御の下、各種情報を表示するものであり、例えば印刷状態やエラーメッセージ等を表示する。これら操作部8及び表示部9は、ユーザが操作し易く、また、表示を確認し易いようにプリンタ1のフロント部分に配設されている。   The operation unit 8 outputs a user instruction operation to the control unit 2 and includes a plurality of operators such as operation buttons. The display unit 9 displays various types of information under the control of the control unit 2 and displays, for example, a printing state and an error message. The operation unit 8 and the display unit 9 are disposed on the front portion of the printer 1 so that the user can easily operate and confirm the display.

印字機構12は、制御部2の制御の下、コンピュータ端末30から受信した印刷ジョブコマンドPcmに基づいて記録用紙に印字(画像形成)するものである。この印字機構12は、記録用紙に印字する記録ヘッド13と、記録ヘッド13に駆動電流を出力して駆動する記録ヘッドドライブ素子15Aと、記録ヘッド13を搭載したキャリッジの駆動機構を駆動するキャリッジ駆動モータ14Aと、記録用紙の搬送機構を駆動して記録用紙を搬送(前進及び後退)する用紙搬送モータ14Bと、これらキャリッジ駆動モータ14A及び用紙搬送モータ14Bにモータ駆動電流を出力して駆動するモータドライブ素子15Bとを有している。   The printing mechanism 12 performs printing (image formation) on recording paper based on a print job command Pcm received from the computer terminal 30 under the control of the control unit 2. The printing mechanism 12 includes a recording head 13 that prints on a recording sheet, a recording head drive element 15A that drives the recording head 13 by outputting a driving current, and a carriage drive that drives a driving mechanism of a carriage on which the recording head 13 is mounted. A motor 14A, a paper transport motor 14B that drives the recording paper transport mechanism to drive the recording paper (forward and backward), and a motor that drives the carriage drive motor 14A and the paper transport motor 14B by outputting a motor drive current. Drive element 15B.

上記記録ヘッド13は、シリアル・インパクト・ドット・マトリクス(SIDM)プリンタヘッドとして構成され、電磁石コイルが巻き回されたコアと、この電磁石コイルへの所定通電幅(通電時間)の通電によってコアに吸着される複数のワイヤレバーと、各ワイヤレバーの先端に連結され、ワイヤレバーがコアに吸着されたときに突出動作する複数の記録ワイヤとを備えて構成されており、これらの記録ワイヤを突出動作させてインクリボンに打ち当て、インクリボンのインクを記録用紙に付着させて、この記録用紙に文字を含む画像を記録する。   The recording head 13 is configured as a serial impact dot matrix (SIDM) printer head, and is attracted to the core by energizing the electromagnet coil with a predetermined energization width (energization time). A plurality of wire levers connected to the tip of each wire lever, and a plurality of recording wires that project when the wire lever is attracted to the core. The ink ribbon is applied to the ink ribbon, the ink on the ink ribbon is attached to the recording paper, and an image including characters is recorded on the recording paper.

ゲートアレイ17は、上記制御部2(マイクロコンピュータ)と別体に構成されたハードウェア回路である。このゲートアレイ17は、制御部2とデータ通信可能にバスライン6に接続され、制御部2の制御の下、上記印字機構12を駆動するための駆動信号を生成する。より具体的には、ゲートアレイ17は、記録ヘッドドライブ素子15Aに対し記録ヘッド13を駆動する記録ヘッド制御信号を生成し出力する記録ヘッド制御回路18と、モータドライブ素子15Bに対して制御信号を出力しモータ駆動電流を生成させるモータ制御回路19とを有し、これら記録ヘッド制御回路18及びモータ制御回路19が制御部2からの制御データに基づいて動作する。   The gate array 17 is a hardware circuit configured separately from the control unit 2 (microcomputer). The gate array 17 is connected to the bus line 6 so as to be capable of data communication with the control unit 2, and generates a drive signal for driving the printing mechanism 12 under the control of the control unit 2. More specifically, the gate array 17 generates a recording head control signal that drives the recording head 13 to the recording head drive element 15A and outputs it, and a control signal to the motor drive element 15B. The recording head control circuit 18 and the motor control circuit 19 operate based on the control data from the control unit 2.

本実施形態のプリンタ1は、記録用紙として連続紙を使用しており、印字後に連続紙をカットするための連続紙切断部20を備えている。この連続紙切断部20は、プリンタ1の用紙排出口(図示せず)に配設され、連続紙の横幅にわたって延在するカット用の板材である。なお、このカット用の板材に代えて、モータ駆動のカッターから構成されるカッター装置を配設して自動で連続紙をカットする構成としても良い。   The printer 1 of the present embodiment uses continuous paper as recording paper and includes a continuous paper cutting unit 20 for cutting the continuous paper after printing. The continuous paper cutting unit 20 is a cutting plate that is disposed at a paper discharge port (not shown) of the printer 1 and extends across the width of the continuous paper. In addition, it is good also as a structure which replaces with this board | plate material for cutting, and arrange | positions the cutter apparatus comprised from the cutter of a motor drive, and cuts a continuous paper automatically.

また、本実施形態のプリンタ1は、コンピュータ端末30に搭載された、当該プリンタ1用のプリンタドライバ31が生成した印刷ジョブコマンドPcmに限らず、他メーカのプリンタ用、或いは、型番が異なる他のプリンタ用のプリンタドライバが生成した印刷ジョブコマンドも問題無く処理すべく、他メーカのプリンタや型番が異なる他のプリンタをエミュレートするように構成されており、この構成について図2を参照して説明する。   The printer 1 according to the present embodiment is not limited to the print job command Pcm generated by the printer driver 31 for the printer 1 installed in the computer terminal 30, but for other manufacturers' printers or other models having different model numbers. In order to process the print job command generated by the printer driver for the printer without any problem, it is configured to emulate another manufacturer's printer or another printer having a different model number, and this configuration will be described with reference to FIG. To do.

図2は、プリンタ1の制御部2の機能的構成を示すブロック図である。なお、この図に示す各機能は、フラッシュROM5に格納されたプログラム100により実現されている。この図に示すように、制御部2は、エミュレート判定部101と、コマンドエミュレート部102と、印字エンジン103と、ティアオフ動作決定部104とを備えている。
エミュレート判定部101は、コンピュータ端末30から受信した印刷ジョブコマンドPcmがプリンタ1用のコマンドと一致しているか否かに基づいて、当該印刷ジョブコマンドPcmが他メーカ或いは型番の異なるプリンタ用か否かを判定するものであり、印刷ジョブコマンドPcmがプリンタ1用である場合には、当該印刷ジョブコマンドPcmを印字エンジン103に出力し、プリンタ1用でない場合には、印刷ジョブコマンドPcmをコマンドエミュレート部102に出力する。
FIG. 2 is a block diagram illustrating a functional configuration of the control unit 2 of the printer 1. Each function shown in this figure is realized by a program 100 stored in the flash ROM 5. As shown in this figure, the control unit 2 includes an emulation determination unit 101, a command emulation unit 102, a print engine 103, and a tear-off operation determination unit 104.
The emulation determination unit 101 determines whether the print job command Pcm received from the computer terminal 30 matches the command for the printer 1 and whether the print job command Pcm is for another manufacturer or a printer with a different model number. If the print job command Pcm is for the printer 1, the print job command Pcm is output to the print engine 103. If the print job command Pcm is not for the printer 1, the print job command Pcm is output to the command emulator. Output to the rate unit 102.

コマンドエミュレート部102は、印刷ジョブコマンドPcmをプリンタ1用のコマンドに変換して印字エンジン103に出力するものである。詳細には、コマンドエミュレート部102は、他メーカ或いは型番が異なる他のプリンタ用のプリンタドライバが印刷ジョブコマンドに使用する各コマンドを、プリンタ1用のコマンドと相互参照するための変換データ110と、この変換データ110に基づいて印刷ジョブコマンドPcmを変換するコード変換部111とを備えている。   The command emulation unit 102 converts the print job command Pcm into a command for the printer 1 and outputs it to the print engine 103. Specifically, the command emulation unit 102 includes conversion data 110 for cross-referencing each command used for a print job command by a printer driver for another printer having a different manufacturer or different model number with a command for the printer 1. A code conversion unit 111 that converts the print job command Pcm based on the conversion data 110 is provided.

印字エンジン103は、印刷ジョブコマンドPcmに基づいて、記録用紙たる連続紙への印字及び印字時の連続紙の搬送を実行するものであり、印字制御部112と、用紙搬送制御部113とを備えている。
印字制御部112は、記録ヘッド制御回路18に制御信号を出力して記録ヘッド13による印字を制御すると共に、記録ヘッド13を連続紙の幅方向に移動させるためにモータ制御回路19に制御信号を出力してキャリッジ駆動モータ14Aを制御する。
用紙搬送制御部113は、モータ制御回路19に制御信号を出力して用紙搬送モータ14Bを制御することで、印字開始時や印字中、印字終了後の連続紙の搬送を制御するものであり、印字終了後のティアオフ動作を制御するためのティアオフ制御部114を備えている。
The print engine 103 executes printing on continuous paper as recording paper and transport of continuous paper during printing based on the print job command Pcm, and includes a print control unit 112 and a paper transport control unit 113. ing.
The print control unit 112 outputs a control signal to the recording head control circuit 18 to control printing by the recording head 13 and sends a control signal to the motor control circuit 19 in order to move the recording head 13 in the width direction of the continuous paper. The output is controlled to control the carriage drive motor 14A.
The paper conveyance control unit 113 outputs a control signal to the motor control circuit 19 to control the paper conveyance motor 14B, thereby controlling the conveyance of the continuous paper at the start of printing, during printing, and after the completion of printing. A tear-off control unit 114 is provided for controlling the tear-off operation after printing is completed.

ティアオフ動作決定部104は、ティアオフ制御部114の動作モードを指定するものである。詳述すると、本実施形態のプリンタ1は、印字終了後のティアオフ動作の動作モードとして、印字終了後に改ページ送りを実行した後、連続紙を連続紙切断部20の切断位置まで前進させた後、次ページの先頭位置に印字開始位置を合わせるように連続紙を後退させる第1動作モードと、印字終了後に改行を実行した後、連続紙を連続紙切断部20の切断位置まで前進させた後、改行の先頭位置に印字開始位置を合わせるように連続紙を後退させる第2動作モードとの2つの動作モードを有しており、2つの動作モードのいずれかがティアオフ制御部114が実行すべき動作モードとしてティアオフ動作決定部104により決定される。   The tear-off operation determination unit 104 specifies an operation mode of the tear-off control unit 114. More specifically, the printer 1 according to the present embodiment performs a page feed after the end of printing as an operation mode of the tear-off operation after the end of printing, and then advances the continuous paper to the cutting position of the continuous paper cutting unit 20. The first operation mode in which the continuous paper is moved backward so that the print start position is aligned with the start position of the next page, and after the line feed is executed after printing is finished, the continuous paper is advanced to the cutting position of the continuous paper cutting unit 20 The second operation mode has a second operation mode in which the continuous paper is moved backward so that the print start position is aligned with the start position of the line feed, and either of the two operation modes should be executed by the tear-off control unit 114. The tear-off operation determination unit 104 determines the operation mode.

具体的には、ティアオフ動作決定部104は、動作モードを設定するためのディップスイッチ115を有し、このディップスイッチ115の設定状態に基づいて、ティアオフ制御部114の動作モードが決定される。なお、ティアオフ制御部114の動作モードの設定にディップスイッチ115を用いる構成に限らず、例えば、操作部8に配設した操作子を用いる構成としても良い。また、動作モードをフラッシュROM5に記憶させ、読み出すようにしても良い。   Specifically, the tear-off operation determination unit 104 has a dip switch 115 for setting the operation mode, and the operation mode of the tear-off control unit 114 is determined based on the setting state of the dip switch 115. Note that the operation mode of the tear-off control unit 114 is not limited to the configuration using the dip switch 115 but may be configured to use, for example, an operator disposed in the operation unit 8. Further, the operation mode may be stored in the flash ROM 5 and read out.

次いで、本実施形態のプリンタ1の動作について説明する。
図3は、プリンタ1の印刷処理のフローチャートである。この図に示すように、制御部2は、印刷ジョブコマンドPcmを受信すると、カウンタNを「0」に、カウンタMを「3000」に初期化する(ステップSa1)。これらのカウンタN、Mについて説明すると、カウンタNは、タイムアウト印刷を実行するために、印刷ジョブコマンドPcmの受信が完了してから次の印刷ジョブコマンドPcmを受信するまでの経過時間をカウントするものであり、カウンタMはタイムアウト時間を判定するものである。すなわち、カウンタNは、カウント値の初期化後に1」ずつカウント値をインクリメントし、当該カウンタ値がカウンタMの値である「3000」に達したとき、すなわち、タイムアウト時間である「3」が経過したときに「0」にリセットされる。
Next, the operation of the printer 1 of this embodiment will be described.
FIG. 3 is a flowchart of the printing process of the printer 1. As shown in this figure, when receiving the print job command Pcm, the control unit 2 initializes the counter N to “0” and the counter M to “3000” (step Sa1). These counters N and M will be described. The counter N counts the elapsed time from when the reception of the print job command Pcm is completed until the next print job command Pcm is received in order to execute time-out printing. The counter M determines the timeout time. That is, the counter N increments the count value by 1” after the count value is initialized, and when the counter value reaches “3000” that is the value of the counter M, that is, “3 seconds ” that is the timeout time. Is reset to "0".

次いで、制御部2は、RAM4のインプットバッファに印字処理すべき印刷ジョブコマンドPcmがあるか否かを判断する(ステップSa2)。そして、インプットバッファに印刷ジョブコマンドPcmがある場合には(ステップSa2:YES)、制御部2は、コマンドを解析し(ステップSa3)、コマンド解析結果に基づいて印字機構12を制御して印字(印刷)及び用紙搬送(紙送り)を実行した後(ステップSa4)、次の印刷ジョブコマンドPcmを待ち受けるべく、処理手順をステップSa1に戻す。   Next, the control unit 2 determines whether or not there is a print job command Pcm to be printed in the input buffer of the RAM 4 (step Sa2). When the print job command Pcm is present in the input buffer (step Sa2: YES), the control unit 2 analyzes the command (step Sa3), and controls the printing mechanism 12 based on the command analysis result to print ( After executing printing and paper conveyance (paper feeding) (step Sa4), the processing procedure is returned to step Sa1 in order to wait for the next print job command Pcm.

一方、上記ステップSa2の判断の結果、インプットバッファに印刷ジョブコマンドPcmがない場合(ステップSa2:NO)、すなわち、印刷ジョブコマンドPcmに基づく印刷が完了し、次の印刷ジョブコマンドPcmの待ち受け状態である場合には、制御部2は、「1m」経過時にカウンタNを「1」だけインクリメントし(ステップSa5)、カウンタNのカウンタ値がカウンタMの値よりも大きくなったか否かを判断する(ステップSa6)。 On the other hand, if the result of the determination in step Sa2 is that there is no print job command Pcm in the input buffer (step Sa2: NO), that is, printing based on the print job command Pcm is completed and the next print job command Pcm is waiting. If there is, the control unit 2 increments the counter N by “1” when “1 msec ” has elapsed (step Sa5), and determines whether or not the counter value of the counter N has become larger than the value of the counter M. (Step Sa6).

カウンタNのカウンタ値がカウンタMの値以下である場合(ステップSa6:NO)、タイムアウト時間が経過していない事を示すため、制御部2は、処理手順をステップSa1に戻して次の印刷ジョブコマンドPcmの待ち受ける。
一方、カウンタNのカウンタ値がカウンタMの値より大きい場合(ステップSa6:NO)、タイムアウト時間が経過した事を示すため、制御部2は、タイムアウト印刷すべく、次の処理を実行する。すなわち、制御部2は、印刷ジョブコマンドPcmに基づく印字(印刷)/用紙搬送(紙送り)の要求がプリンタ1の内部(例えばRAM4のバッファ)に残っているか否かを判断し(ステップSa7)、残っている場合には(ステップSa7:YES)、その要求に基づいて、印字(印刷)及び用紙搬送(紙送り)を実行した後(ステップSa8)、ティアオフ動作を実行し(ステップSa9)、その後、処理手順をステップSa1に戻して次の印刷ジョブコマンドPcmを待ち受ける。
When the counter value of the counter N is less than or equal to the value of the counter M (step Sa6: NO), the control unit 2 returns the processing procedure to step Sa1 to indicate that the timeout time has not elapsed, and next print job. Wait for command Pcm.
On the other hand, when the counter value of the counter N is larger than the value of the counter M (step Sa6: NO), the control unit 2 executes the following process to perform time-out printing in order to indicate that the time-out time has elapsed. That is, the control unit 2 determines whether a request for printing (printing) / paper conveyance (paper feeding) based on the print job command Pcm remains in the printer 1 (for example, a buffer in the RAM 4) (step Sa7). If it remains (step Sa7: YES), after executing printing (printing) and paper conveyance (paper feeding) based on the request (step Sa8), a tear-off operation is executed (step Sa9). Thereafter, the processing procedure is returned to step Sa1, and the next print job command Pcm is awaited.

上記ステップSa9のティアオフ動作について図4を参照して説明する。
図4はティアオフ制御処理のフローチャートである。
この図に示すように、制御部2は、ティアオフ動作を行う場合、ティアオフ動作決定部104によって第1動作モード及び第2動作モードのいずれが指定されているかに基づいて、改ページ送り(FF)をしないでティアオフ(Tear Off)を実行するか否かを判断する(ステップSb1)。この判断の結果、改ページ送りを実行する場合(ステップSb1:NO)、すなわち、第1動作モードが指定されている場合、制御部2は、改ページ送りを実行するに先立って、TOF(頭出し位置)が「0」mmポジションか否か、すなわち、現在の印字位置が次ページの先頭に既に位置しているか否かを判断する(ステップSb2)。
The tear-off operation in step Sa9 will be described with reference to FIG.
FIG. 4 is a flowchart of the tear-off control process.
As shown in this figure, when performing the tear-off operation, the control unit 2 performs page feed (FF) based on whether the first operation mode or the second operation mode is designated by the tear-off operation determination unit 104. It is determined whether or not to execute Tear Off without performing (Step Sb1). As a result of this determination, when page feed is executed (step Sb1: NO), that is, when the first operation mode is designated, the control unit 2 performs TOF (heading) prior to executing page feed. It is determined whether or not the (positioning position) is a “0” mm position, that is, whether or not the current printing position is already positioned at the top of the next page (step Sb2).

この判断の結果、TOF(頭出し位置)が「0」mmポジションの場合には(ステップSb2:YES)、制御部2は、改ページ送りをする必要がないため、そのままティアオフを実行する(ステップSb3)。また、TOF(頭出し位置)が「0」mmポジションでない場合(ステップSb2:NO)、すなわち、印字がページの途中で終了している場合には、制御部2は、改ページ送りのための紙送り量を算出する(ステップSb4)。この紙送り量Oは、ページの先頭(「0」mmポジション)から現在の印字位置までの距離Eをページ長Lから減算することで算出される。
次いで制御部2は、紙送り量Oだけ連続紙を搬送して改ページ送りを実行し(ステップSb5)、処理手順をステップSb3に進めてティアオフ(Tear Off)を実行し処理を終了する。これにより、印字ページと次ページの境界付近が連続紙切断部20の切断位置に位置するように連続紙が搬送され、その境界にて連続紙をカットできる。
As a result of this determination, if the TOF (cue position) is the “0” mm position (step Sb2: YES), the control unit 2 does not need to perform a page feed and thus performs a tear-off as it is (step Sb2: YES). Sb3). Further, when the TOF (cue position) is not the “0” mm position (step Sb2: NO), that is, when the printing is finished in the middle of the page, the control unit 2 performs the page feed. The paper feed amount is calculated (step Sb4). This paper feed amount O is calculated by subtracting the distance E from the top of the page (“0” mm position) to the current print position from the page length L.
Next, the control unit 2 conveys the continuous paper by the paper feed amount O and executes page feed (step Sb5), advances the processing procedure to step Sb3, executes tear-off (Tear Off), and ends the processing. Thus, the continuous paper is conveyed so that the vicinity of the boundary between the print page and the next page is located at the cutting position of the continuous paper cutting unit 20, and the continuous paper can be cut at the boundary.

一方、上記ステップSb1の判断の結果、改ページ送りをしない場合(ステップSb1:YES)、すなわち、第2動作モードが指定されている場合、制御部2は、印字位置を改行した後(ステップSb6)、処理手順をステップSb3に進めてティアオフ(Tear Off)を実行し処理を終了する。これにより、印字の最終行と次行との境界付近が連続紙切断部20の切断位置に位置するように連続紙が搬送され、その境界にて連続紙をカットできる。   On the other hand, as a result of the determination in step Sb1, if page feed is not performed (step Sb1: YES), that is, if the second operation mode is designated, the control unit 2 changes the print position after a line feed (step Sb6). ), The process procedure proceeds to step Sb3 to execute Tear Off, and the process ends. Thereby, the continuous paper is conveyed so that the vicinity of the boundary between the last line and the next line of printing is located at the cutting position of the continuous paper cutting unit 20, and the continuous paper can be cut at the boundary.

以上の処理により、指定された動作モードにてティアオフが実行されることとなる。したがって、例えば、切取用ミシン目線の付いた連続紙に印字する場合であっても、ティアオフ後に次行から印字が開始される第2動作モードを選択しておくことで、先の印字との間に余計な空行を生じさせずに、次行から印字を開始させることができ、また、ティアオフ後に次ページから印字が開始される第1動作モードを選択しておくことで、ページ単位での印字(印刷)が可能となる。なお、切取用ミシン目線の付いていないロール紙を連続紙と用いても良いことは勿論である。   Through the above processing, tear-off is executed in the designated operation mode. Therefore, for example, even when printing on continuous paper with a perforation line for cutting, by selecting the second operation mode in which printing starts from the next line after tear-off, it is It is possible to start printing from the next line without generating extra blank lines, and by selecting the first operation mode in which printing starts from the next page after tear-off, Printing (printing) is possible. Needless to say, roll paper without the perforation line for cutting may be used as continuous paper.

また、ティアオフ動作の実行後は、連続紙が紙送りされた状態のままとなり、次に印字を開始するとき、すなわち、次の印刷ジョブコマンドPcmを受信したときに、印字位置まで連続紙がバックフィードされることになる。このとき、第1動作モードにおいては、ページの先頭位置(「0」mmポジション)まで連続紙がバックフィードされて次の印字が開始され、また、第2動作モードにおいては、改行位置まで連続紙が後退(バックフィード)されて次の印字が開始される。   Further, after the tear-off operation is performed, the continuous paper remains in the fed state, and when the next printing is started, that is, when the next print job command Pcm is received, the continuous paper is returned to the printing position. Will be fed. At this time, in the first operation mode, the continuous paper is back-fed to the top position (“0” mm position) of the page and the next printing is started. In the second operation mode, the continuous paper is supplied up to the line feed position. Is moved backward (back feed) and the next printing is started.

以上説明したように、本実施形態によれば、次のような作用及び効果を奏する。
すなわち、本実施形態では、ティアオフ後の印字開始位置を次ページの先頭とすべく、改ページ送りを行った後にティアオフ動作する第1動作モードと、ティアオフ後の印字開始位置を次行とすべく改行した後にティアオフ動作する第2動作モードとのいずれかがティアオフ動作決定部104により指定される。これにより、ユーザは、第2動作モードを選択することで、切取用ミシン目線の付いた連続紙に印字する場合であっても、先の印字との間に余計な空行を生じさせずに、次行から印字を開始させることができる。
As described above, according to the present embodiment, the following operations and effects are achieved.
That is, in the present embodiment, the first operation mode in which the tear-off operation is performed after page feed is performed and the print start position after the tear-off is to be the next line so that the print start position after the tear-off is the top of the next page. Any one of the second operation modes in which the tear-off operation is performed after a line feed is designated by the tear-off operation determination unit 104. As a result, the user can select the second operation mode, and even when printing on continuous paper with a perforation line for cutting, an extra blank line is not generated between the previous printing and the printing. Printing can be started from the next line.

また、本実施形態によれば、第1動作モードでは、連続紙への印字を終了したときに改ページ送りを行った後、ティアオフ動作により連続紙を切断用の切断位置まで紙送りする構成としたため、連続紙として切取用ミシン目線が付いた連続紙を用いた場合には、印字後に切取用ミシン目線の付いた位置まで連続紙が改ページ送りされた後に、連続紙切断部20の切断位置に位置するように連続紙が搬送されるため、連続紙の切断が容易となる。   According to the present embodiment, in the first operation mode, after page feed is performed when printing on continuous paper is finished, the continuous paper is fed to a cutting position for cutting by a tear-off operation. Therefore, when continuous paper with a perforation line for cutting is used as continuous paper, the continuous paper is fed to the position with the perforation line for cutting after printing, and then the cutting position of the continuous paper cutting unit 20 Since the continuous paper is conveyed so as to be positioned at the position, the continuous paper can be easily cut.

また、本実施形態によれば、印刷ジョブコマンドPcmをエミュレートする場合に、当該エミュレートに基づく印字が完了した後に、上記第1又は第2動作モードにしたがってティアオフ動作を実行する構成としたため、そのエミュレートするプリンタの仕様にかかわらず、動作モードを確実に制御することが可能となる。
また、本実施形態によれば、ディップスイッチ115といった操作子により動作モードを選択設定可能にしたため、動作モードの選択設定を手動で簡単に行うことができる。
Further, according to the present embodiment, when the print job command Pcm is emulated, the tear-off operation is executed according to the first or second operation mode after the printing based on the emulation is completed. Regardless of the specifications of the printer to be emulated, the operation mode can be reliably controlled.
Further, according to the present embodiment, since the operation mode can be selected and set by the operator such as the DIP switch 115, the selection and setting of the operation mode can be easily performed manually.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形及び応用が可能である。
例えば、上述した実施形態では、ディップスイッチ115といった操作子により動作モードを選択設定可能にしたが、これに限らず、コンピュータ端末30のプリンタドライバ31が動作モードを指定するコマンドを印刷ジョブコマンドPcmに含めてプリンタ1に送信し、そのコマンドに基づいてプリンタ1の制御部2が動作モードを決定する構成としても良い。この構成によれば、コンピュータ端末30からプリンタ1に対して印刷ジョブコマンドPcmを送信する際に、印刷に合わせて簡単に動作モードを指定することができる。
なお、動作モードを指定するコマンドに従い、この指定された動作モードをフラッシュROM5に記憶させ、読み出すようにしても良い。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
For example, in the above-described embodiment, the operation mode can be selected and set by the operator such as the DIP switch 115. However, the present invention is not limited to this, and a command for specifying the operation mode by the printer driver 31 of the computer terminal 30 is set to the print job command Pcm. The control unit 2 of the printer 1 may determine the operation mode based on the command. According to this configuration, when the print job command Pcm is transmitted from the computer terminal 30 to the printer 1, the operation mode can be easily designated in accordance with printing.
The designated operation mode may be stored in the flash ROM 5 and read out in accordance with a command for designating the operation mode.

また例えば、上述した実施形態では、プリンタ1がコマンドエミュレート部102を備え、他メーカ或いは型番の異なるプリンタ用の印刷ジョブコマンドPcmを処理可能にしたが、これに限らず、他メーカ或いは型番の異なるプリンタ用の印刷ジョブコマンドPcmを受信する事がない場合には、コマンドエミュレート部102を備える必要はない。   Further, for example, in the above-described embodiment, the printer 1 includes the command emulation unit 102 and can process print job commands Pcm for printers of different manufacturers or different models. If the print job command Pcm for a different printer is not received, the command emulator 102 need not be provided.

また例えば、上述し実施形態では、連続紙に印字するプリンタ1について例示したが、連続紙と単票紙との両方に印刷可能な構成としても良い。この構成においては、連続紙に印刷を行う場合に、上記動作モードの指定に応じたティアオフ動作が実行されることとなる。
また例えば、上述した実施形態では、タイムアウト印刷後にティアオフ動作を実行する構成としたが、これに限らず、ティアオフ動作決定部104でティアオフ動作の有無を指定可能に構成し、設定によりタイムアウト印刷後にティアオフ動作を実行しないようにしても良い。
また、タイムアウト印刷を開始するまでのタイムアウト時間、すなわち、カウンタMの値をユーザが操作部8の操作、或いは、印刷ジョブコマンドPcmにより適宜設定可能に構成しても良い。
また、記録ヘッド13は、シリアル・インパクト・ドット・マトリクス(SIDM)プリンタヘッドに限らず、インクジェットヘッド、レーザーヘッド、サーマルヘッド等でもよい。
Further, for example, in the above-described embodiment, the printer 1 that prints on continuous paper is illustrated, but a configuration that can print on both continuous paper and cut paper may be used. In this configuration, when printing on continuous paper, a tear-off operation corresponding to the designation of the operation mode is executed.
Further, for example, in the above-described embodiment, the configuration is such that the tear-off operation is executed after the time-out printing. The operation may not be executed.
In addition, a time-out time until the time-out printing is started, that is, the value of the counter M may be configured so that the user can appropriately set it by operating the operation unit 8 or the print job command Pcm.
The recording head 13 is not limited to a serial impact dot matrix (SIDM) printer head, but may be an inkjet head, a laser head, a thermal head, or the like.

本発明の実施形態に係るプリンタの構成を示すブロック図。1 is a block diagram showing a configuration of a printer according to an embodiment of the present invention. 上記プリンタの機能的構成を示すブロック図。FIG. 2 is a block diagram showing a functional configuration of the printer. 印刷処理のフローチャート。10 is a flowchart of print processing. ティアオフ制御処理のフローチャート。The flowchart of tear-off control processing.

符号の説明Explanation of symbols

1…プリンタ、2…制御部、8…操作部、12…印字機構、13…記録ヘッド、20…連続紙切断部、30…コンピュータ端末、102…コマンドエミュレート部、104…ティアオフ動作決定部(指定手段)、114…ティアオフ制御部、115…ディップスイッチ
DESCRIPTION OF SYMBOLS 1 ... Printer, 2 ... Control part, 8 ... Operation part, 12 ... Printing mechanism, 13 ... Recording head, 20 ... Continuous paper cutting part, 30 ... Computer terminal, 102 ... Command emulation part, 104 ... Tear-off operation determination part ( Designating means), 114 ... Tear-off control unit, 115 ... Dip switch

Claims (7)

1ページの長さごとに切取用ミシン目線が付いた連続紙を搬送する搬送手段と、前記連続紙に印刷する印刷手段と、前記連続紙を切断する切断手段とを有するプリンタであって、
前記印刷手段により前記連続紙へ所定の印刷をした後に、前記搬送手段により前記連続紙を前記切断手段の切断位置まで前進させた後、次の印刷開始位置まで後退させるティアオフ動作を制御する手段であって、前記前進により前記連続紙の次ページとの間の前記切取用ミシン目線を前記切断位置に位置させ、前記後退により前記次の印刷開始位置を前記所定の印刷した位置を超えた次ページの先頭の位置とする第1動作モードと、前記前進により前記連続紙の前記所定の印刷した位置と次行との間を前記切断位置に位置させ、前記後退により前記次の印刷開始位置を前記所定の印刷した位置の次行とする第2動作モードとを有するティアオフ制御手段と、
前記第1動作モードと前記第2動作モードのいずれかの動作モードを予めユーザの選択に応じて指定する指定手段と、
印刷ジョブコマンドを受信する受信手段と、
前記受信手段により他のプリンタ用の印刷ジョブコマンドを受信した場合に、当該印刷ジョブコマンドをエミュレートするエミュレート手段と、
前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの待ち受け状態の経過時間に基づいて前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの待ち受けがタイムアウトした場合、前記ティアオフ制御手段によりティアオフ動作を制御する制御手段と、を備え、
前記制御手段の制御の下、前記ティアオフ制御手段は、前記エミュレート手段によるエミュレートによらず前記指定手段により予め指定された動作モードにしたがってティアオフ動作する
ことを特徴とするプリンタ。
A printer having a conveying means for conveying continuous paper with a perforation line for cutting for each length of one page, a printing means for printing on the continuous paper, and a cutting means for cutting the continuous paper,
Means for controlling a tear-off operation in which after the predetermined printing is performed on the continuous paper by the printing means, the continuous paper is advanced to the cutting position of the cutting means by the conveying means and then moved back to the next printing start position; The next page where the cut perforation between the continuous page and the next page of the continuous paper is positioned at the cutting position by the forward movement , and the next printing start position exceeds the predetermined printing position by the backward movement. A first operation mode that is a leading position of the first position , a position between the predetermined printing position and the next line of the continuous paper by the forward movement is positioned at the cutting position, and the next printing start position is determined by the backward movement. Tear-off control means having a second operation mode which is the next line of a predetermined printed position ;
Designating means for designating one of the first operation mode and the second operation mode in advance according to the user's selection ;
Receiving means for receiving a print job command;
An emulating unit for emulating the print job command when the receiving unit receives a print job command for another printer;
When waiting for the print job command or the print job command for the other printer has timed out based on the elapsed time in the standby state of the print job command for the other printer or the print job command for the other printer, the tear-off control means Control means for controlling tear-off operation by
Under the control of the control means, the tear-off control means performs a tear-off operation in accordance with an operation mode designated in advance by the designation means without being emulated by the emulation means .
請求項1に記載のプリンタにおいて、
前記制御手段は、前記タイムアウト後、処理の印刷ジョブコマンドが残っている場合は、前記未処理の印刷ジョブコマンドを処理した後、前記ティアオフ制御手段によりティアオフ動作を制御することを特徴とするプリンタ。
The printer according to claim 1.
The control means controls the tear-off operation by the tear-off control means after processing the unprocessed print job command when an unprocessed print job command remains after the timeout. .
請求項1または2に記載のプリンタにおいて、
前記第1動作モードでは、前記連続紙への前記所定の印刷を終了したとき、改ページ送りを行い、さらに前記連続紙を前記切断位置まで前進させる
ことを特徴とするプリンタ。
The printer according to claim 1 or 2,
In the first operation mode, when the predetermined printing on the continuous paper is finished, page feed is performed, and the continuous paper is further advanced to the cutting position.
請求項1乃至3のいずれかに記載のプリンタにおいて、
前記指定手段は操作手段を備え、
前記操作手段によりいずれかの前記動作モードを指定する
ことを特徴とするプリンタ。
The printer according to any one of claims 1 to 3,
The designation means includes an operation means,
One of the operation modes is designated by the operation means.
1ページの長さごとに切取用ミシン目線が付いた連続紙を搬送する搬送手段と、前記連続紙に印刷する印刷手段と、前記連続紙を切断する切断手段とを有するプリンタの制御方法であって、
前記印刷手段により前記連続紙へ所定の印刷をした後に、前記搬送手段により前記連続紙を前記切断手段の切断位置まで前進させた後、次の印刷開始位置まで後退させるティアオフ動作を、前記前進により前記連続紙の次ページとの間の前記切取用ミシン目線を前記切断位置に位置させ、前記後退により前記次の印刷開始位置を前記所定の印刷した位置を超えた次ページの先頭の位置とする第1動作モードと、前記前進により前記連続紙の前記所定の印刷した位置と次行との間を前記切断位置に位置させ、前記後退により前記次の印刷開始位置を前記所定の印刷した位置の次行とする第2動作モードとのいずれかの動作モードで実行するとともに、前記第1動作モードと前記第2動作モードのいずれかの動作モードを指定手段により予めユーザの選択に応じて指定可能にし、
印刷ジョブコマンドを受信する受信手段により他のプリンタ用の印刷ジョブコマンドを受信し、当該印刷ジョブコマンドをエミュレート手段によりエミュレートして前記印刷手段により印刷可能にし、
前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの待ち受け状態の経過時間に基づいて前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの待ち受けがタイムアウトしたか否かを判断し、前記印刷ジョブコマンド、または前記他のプリンタ用の印刷ジョブコマンドの受待ち受けがタイムアウトした場合、前記ティアオフ制御手段によりティアオフ動作を制御し、当該制御のティアオフ動作の実行に際しては、前記エミュレート手段によるエミュレートによらず前記指定手段により予め指定された動作モードにしたがってティアオフ動作する
ことを特徴とするプリンタの制御方法。
A method for controlling a printer, comprising: a conveying unit that conveys continuous paper with a cut perforation line for each length of one page; a printing unit that prints on the continuous paper; and a cutting unit that cuts the continuous paper. And
After the predetermined printing is performed on the continuous paper by the printing unit, the tear-off operation of moving the continuous paper to the cutting position of the cutting unit by the transport unit and then moving it back to the next printing start position is performed by the advancement. The cut perforation line between the continuous page and the next page is positioned at the cutting position, and the next print start position is set to the top position of the next page beyond the predetermined printed position by the backward movement. The first operation mode is positioned at the cutting position between the predetermined printing position and the next line of the continuous paper by the advance , and the next printing start position is set to the predetermined printing position by the backward movement . and it executes in either mode of operation and the second operation mode to the next line, advance user by specifying means any mode of operation of the first operation mode and the second operation mode To be specified depending on the selection,
Receiving a print job command for another printer by a receiving means for receiving a print job command, emulating the print job command by an emulating means, and enabling printing by the printing means;
It is determined whether waiting for the print job command or the print job command for the other printer has timed out based on the elapsed time of the print job command or the print job command for the other printer. When the reception of the print job command or the print job command for the other printer times out, the tear-off operation is controlled by the tear-off control unit, and the emulation unit executes the tear-off operation of the control. A printer control method, wherein a tear-off operation is performed in accordance with an operation mode designated in advance by the designation means regardless of emulation .
請求項5に記載のプリンタの制御方法において、
前記タイムアウト後、処理の印刷ジョブコマンドが残っている場合は、前記未処理の印刷ジョブコマンドを処理した後、前記ティアオフ制御手段によりティアオフ動作を制御することを特徴とするプリンタの制御方法。
6. The printer control method according to claim 5, wherein:
A printer control method, wherein when an unprocessed print job command remains after the timeout, the tear-off operation is controlled by the tear-off control unit after the unprocessed print job command is processed.
請求項5または6に記載のプリンタの制御方法において、
前記第1動作モードでは、前記連続紙への所定の印刷を終了したとき、改ページ送りを実行し、さらに前記連続紙を前記切断位置まで前進させる
ことを特徴とするプリンタの制御方法。
In the printer control method according to claim 5 or 6,
In the first operation mode, when predetermined printing on the continuous paper is finished, page feed is executed, and the continuous paper is further advanced to the cutting position.
JP2006151979A 2006-05-31 2006-05-31 Printer and printer control method Expired - Fee Related JP5162847B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006151979A JP5162847B2 (en) 2006-05-31 2006-05-31 Printer and printer control method
CN2007101042177A CN101081578B (en) 2006-05-31 2007-05-23 Printer and control method of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006151979A JP5162847B2 (en) 2006-05-31 2006-05-31 Printer and printer control method

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2010136858A Division JP2010247541A (en) 2010-06-16 2010-06-16 Printer and control method for the printer
JP2012194193A Division JP5605407B2 (en) 2012-09-04 2012-09-04 Printer and printer control method

Publications (3)

Publication Number Publication Date
JP2007320134A JP2007320134A (en) 2007-12-13
JP2007320134A5 JP2007320134A5 (en) 2009-06-18
JP5162847B2 true JP5162847B2 (en) 2013-03-13

Family

ID=38853333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006151979A Expired - Fee Related JP5162847B2 (en) 2006-05-31 2006-05-31 Printer and printer control method

Country Status (2)

Country Link
JP (1) JP5162847B2 (en)
CN (1) CN101081578B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5370058B2 (en) * 2009-10-07 2013-12-18 セイコーエプソン株式会社 Recording medium conveyance control method and printer
CN102774149B (en) * 2011-05-12 2015-09-02 山东新北洋信息技术股份有限公司 Duplex printer and control method thereof and device
JP2013071313A (en) * 2011-09-28 2013-04-22 Casio Computer Co Ltd Printing apparatus, printing method, and printing control program
JP5908756B2 (en) * 2012-03-13 2016-04-26 シチズンホールディングス株式会社 Printer
JP2013244687A (en) * 2012-05-28 2013-12-09 Sato Holdings Corp Sensor ignoring mode of printer
JP2014111496A (en) * 2012-12-05 2014-06-19 Seiko Epson Corp Liquid discharge device
JP6408286B2 (en) * 2014-08-05 2018-10-17 セイコーエプソン株式会社 Tape printer
CN105856870B (en) * 2016-04-19 2019-05-14 重庆品胜科技有限公司 It can be to the Method of printing and printer that label paper delivery mode is configured
EP3683852B1 (en) 2017-09-13 2023-11-22 Hodogaya Chemical Co., Ltd. Organic electroluminescent element
JP7183604B2 (en) * 2018-07-23 2022-12-06 カシオ計算機株式会社 PRINTING DEVICE, CONTROL METHOD, AND PROGRAM
JP7052761B2 (en) * 2019-03-13 2022-04-12 カシオ計算機株式会社 Printing equipment
EP3859512B1 (en) 2020-01-29 2023-06-14 Heidelberger Druckmaschinen AG Improved processing of print jobs by means of compatible material

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2569559B2 (en) * 1987-05-28 1997-01-08 セイコーエプソン株式会社 Printer
JP2667681B2 (en) * 1988-09-12 1997-10-27 沖電気工業株式会社 Printer
JPH0569613A (en) * 1991-09-11 1993-03-23 Nec Corp Printer
JPH0584994A (en) * 1991-09-26 1993-04-06 Brother Ind Ltd Tape printer
JP2616242B2 (en) * 1992-09-30 1997-06-04 カシオ計算機株式会社 Printing device
JP2002307767A (en) * 2001-04-12 2002-10-23 Sato Corp Printer and printing method by sensor ineffective mode
JP4251014B2 (en) * 2003-05-22 2009-04-08 セイコーエプソン株式会社 Printer and printer control method
JP2004090659A (en) * 2003-11-17 2004-03-25 Ricoh Co Ltd Apparatus for controlling printer
JP2005319740A (en) * 2004-05-11 2005-11-17 Seiko Epson Corp Printer

Also Published As

Publication number Publication date
CN101081578B (en) 2010-08-18
CN101081578A (en) 2007-12-05
JP2007320134A (en) 2007-12-13

Similar Documents

Publication Publication Date Title
JP5162847B2 (en) Printer and printer control method
EP2308685B1 (en) Recording media transportation control method and printer
US8082495B2 (en) Label creating apparatus and program
JP5932377B2 (en) Recording system, information processing apparatus, recording control method, and recording apparatus
US8526015B2 (en) Control method for a printer and a printer
JP2005078128A (en) Printing system, and data processing method for printing system, program and storage medium
JP2001105700A (en) Printer, printer host, printer system with the same, memory medium with program for driving printer host recorded therein, printing paper
JP5605407B2 (en) Printer and printer control method
JP2010247541A (en) Printer and control method for the printer
JP2001105675A (en) Printer, printer host, printer system comprising them, medium recorded with operation program of printer host, print sheet
JP5146126B2 (en) Printing apparatus, printing apparatus control method, and printing apparatus control program
US11040555B2 (en) Printing device configured to, when header part of object to be printed does not match already-printed header part, print header part and body part of object and cut off already-printed header
JP5380799B2 (en) Character input device, tape printer, and display control method for character input device
JP4221869B2 (en) Printer
JP4890984B2 (en) Printing apparatus and printing apparatus control method
JP2012101403A (en) Printer, method for control thereof, and program
JP2007216598A (en) Tape printing device
JP5621890B2 (en) Character input device, tape printer, and display control method for character input device
JP2526697B2 (en) Printer with paper feed mechanism
JP5052210B2 (en) Tape printer and display method of display unit of tape printer
US11137949B2 (en) Printing apparatus with a controller having plurality of control modes for controlling an operation of the printing apparatus
JPH07276724A (en) Printer
JP2006281718A (en) Printing method of setting value, management method of setting value and printer
JPH07186455A (en) Label printer and data preparation apparatus
JPS60115470A (en) Automatic paper supply controlling system for printer

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090430

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090430

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110422

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120605

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120904

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120911

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: 20121120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121203

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5162847

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees