JP2007237616A - Printer, method for controlling printer, and printer system - Google Patents

Printer, method for controlling printer, and printer system Download PDF

Info

Publication number
JP2007237616A
JP2007237616A JP2006064909A JP2006064909A JP2007237616A JP 2007237616 A JP2007237616 A JP 2007237616A JP 2006064909 A JP2006064909 A JP 2006064909A JP 2006064909 A JP2006064909 A JP 2006064909A JP 2007237616 A JP2007237616 A JP 2007237616A
Authority
JP
Japan
Prior art keywords
printer
remaining amount
print medium
conveyance
roll paper
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006064909A
Other languages
Japanese (ja)
Inventor
Kenichi Murahashi
賢一 村橋
Kazumi Masuda
一美 増田
Toshiaki Koike
利明 小池
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 JP2006064909A priority Critical patent/JP2007237616A/en
Publication of JP2007237616A publication Critical patent/JP2007237616A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer, a method for controlling the printer, and a printer system in which even if residual quantity of a rolled, long-length print medium varies, it is possible to always provide a high-quality printing result and perform printing processing at a high speed. <P>SOLUTION: A printer 240 comprises a paper-conveying mechanism 246 which conveys rolled paper along a conveying path while sending it out, a printing mechanism 247 which performs printing of an image on the rolled paper according to a printing job, a residual quantity value calculation section 306 which calculates a residual quantity value of the rolled paper based on the overall length and conveyance quantity of the rolled paper, and a conveying control part 243 which indicates the paper-conveying mechanism so that it conveys the rolled paper at a conveyance speed according to the residual quantity value. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、巻回された長尺の印刷媒体を送り出しながら搬送経路に沿って搬送し、印刷ジョブに応じて印刷媒体に画像の印刷を行うプリンタ、プリンタの制御方法及びプリンタシステムに関する。   The present invention relates to a printer, a printer control method, and a printer system, which conveys a wound long print medium along a conveyance path while feeding it, and prints an image on the print medium according to a print job.

レシートプリンタやクーポン発券機等のように長尺の印刷媒体を搬送路に沿って送り出しながら画像を印刷するロール紙プリンタが知られている。これらのプリンタでは、まず巻回されたロール紙が紙送りローラ等の搬送機構によって印刷開始位置まで頭だしされ、さらに所定の搬送速度で搬送されつつ、印刷データに応じた画像が印刷されるように構成されている。   2. Description of the Related Art A roll paper printer that prints an image while feeding a long print medium along a conveyance path such as a receipt printer or a coupon ticket issuing machine is known. In these printers, the rolled paper is first cued to the print start position by a transport mechanism such as a paper feed roller, and further, an image corresponding to the print data is printed while being transported at a predetermined transport speed. It is configured.

このようなレシートプリンタやクーポン発券機では、業務中においてロール紙が無くなってしまうと、印刷すべき印刷データを正しく印刷できなくなってしまったり、レシート発行あるいはクーポン発券業務が滞り迅速な業務の遂行が不可能となってしまったりすることがある。さらに、ロール紙は内周に近くなるにつれて巻癖が強くなっているため、残量が残り僅かになると大きく湾曲した状態で排出処理がスムーズにできないうえ、湾曲したレシートやクーポンは非常に見にくくなることもある。   In such a receipt printer or coupon ticketing machine, if roll paper runs out during work, the print data to be printed cannot be printed correctly, or receipt issuance or coupon ticketing work is delayed and the work can be performed quickly. It may become impossible. In addition, the roll paper becomes stronger as it approaches the inner circumference, so if the remaining amount is small, the discharge process cannot be smoothly performed in a largely curved state, and curved receipts and coupons are very difficult to see. Sometimes.

このような事態を回避するため、特許文献1には、ロール紙フォルダの底に歪ゲージを設け、ロール紙残量に対応した歪ゲージの歪具合に応じてロール紙の残量を3段階に分けて表示するように構成することでユーザにロール紙の残量を認識させることが可能なプリンタが開示されている。また、特許文献2には、ロール紙の湾曲方向とは逆向きに、ロール紙残量に応じた大きさのテンションを加えることによって巻癖を修正するように構成されたプリンタが開示されている(特許文献1、2参照)。   In order to avoid such a situation, in Patent Document 1, a strain gauge is provided at the bottom of the roll paper folder, and the remaining amount of roll paper is divided into three levels according to the degree of distortion of the strain gauge corresponding to the remaining amount of roll paper. There has been disclosed a printer that allows a user to recognize the remaining amount of roll paper by being configured to display separately. Patent Document 2 discloses a printer configured to correct the curl by applying a tension having a magnitude corresponding to the remaining amount of roll paper in a direction opposite to the curving direction of the roll paper. (See Patent Documents 1 and 2).

ところで、このようなロール紙に印刷を行うタイプのプリンタでは、ロール紙の残量によって、印刷品質にばらつきが生じる場合がある。一般にプリンタは高速処理を実現するために、搬送機構による搬送速度を可能な限り高速に、かつ印刷機構による印刷速度を高速に設定することが望まれる。しかし、ロール紙残量とは無関係に常に高速で搬送制御を行おうとすると、ロール紙残量が多い場合にはロール紙と搬送機構との間にすべりが生じ所望のトルクがロール紙に伝達されないことがある。つまり、ロール紙が空回りした状態になるため、期待するロール紙の搬送を行うことができない。   By the way, in such a type of printer that prints on roll paper, the print quality may vary depending on the remaining amount of roll paper. In general, in order to realize high-speed processing, a printer is desired to set the conveyance speed by the conveyance mechanism as high as possible and the printing speed by the printing mechanism as high as possible. However, if the conveyance control is always performed at a high speed regardless of the remaining amount of roll paper, if the remaining amount of roll paper is large, a slip occurs between the roll paper and the conveyance mechanism, and a desired torque is not transmitted to the roll paper. Sometimes. That is, since the roll paper is idle, the expected roll paper cannot be transported.

例えば、搬送方向と垂直を成す方向に駆動するキャリッジの1回の駆動で印刷ヘッドの高さ(印刷ヘッドに設けられたノズルのうち搬送方向の下端から上端までの長さ)分の印刷を行う、いわゆるBand印刷を行うタイプのインクジェットプリンタにおいては、ロール紙搬送量を一定に維持することができないと、図7(b)に示すように隙間や重複箇所ができてしまい、図7(a)のような期待する印刷結果を得られないことがある。   For example, printing for the height of the print head (the length from the lower end to the upper end in the transport direction among the nozzles provided in the print head) is performed by a single drive of the carriage that is driven in a direction perpendicular to the transport direction. In an ink jet printer that performs so-called Band printing, if the roll paper conveyance amount cannot be maintained constant, gaps and overlapping portions are formed as shown in FIG. In some cases, the expected print result cannot be obtained.

このような状況を回避するため、通常は、予めロール紙のすべりを考慮してロール紙にトルクを十分に伝達できるよう(ロール紙が空回りしないように)、搬送速度はロール紙残量が一番多いときの印刷品質を維持できる速度に設定される。   In order to avoid such a situation, in general, the conveyance speed is set so that the remaining amount of the roll paper is equal so that the torque can be sufficiently transmitted to the roll paper in consideration of the slip of the roll paper in advance (so that the roll paper does not run idle). It is set to a speed that can maintain the print quality when the number is high.

特開平06−115787号公報Japanese Patent Laid-Open No. 06-115787 特開2004−223715号公報JP 2004-223715 A

しかしながら、ロール紙残量が少なくなり高速で搬送しても十分なトルクが得られるようになった場合でも、搬送機構による搬送速度はロール紙残量が一番多いときの速度のまま一定であり、また印刷機構による印刷速度も一定であるため、結果的に高速で印刷処理を実行することができず、プリンタの各機構の本来の能力を発揮することができなかった。   However, even when the remaining amount of roll paper is low and sufficient torque can be obtained even when conveyed at high speed, the conveyance speed by the conveyance mechanism remains constant at the speed when the remaining amount of roll paper is the largest. Also, since the printing speed by the printing mechanism is constant, as a result, the printing process cannot be executed at a high speed, and the original capabilities of each mechanism of the printer cannot be exhibited.

本発明は、上記問題点に鑑みてなされたものであり、長尺の印刷媒体の残量に応じて、高品質かつ高速な印刷処理を実行することが可能なプリンタ、プリンタの制御方法及びプリンタシステムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and is a printer capable of executing high-quality and high-speed printing processing according to the remaining amount of a long print medium, a printer control method, and a printer The purpose is to provide a system.

本発明の上記目的は、以下の手段によって達成される。
(1) 長尺の印刷媒体を送り出しながら搬送経路に沿って搬送する印刷媒体搬送機構と、
印刷ジョブに応じて、前記印刷媒体に画像の印刷を行う印刷機構と、を備えたプリンタであって、
前記印刷媒体の全長及び前記印刷媒体の搬送量に基づき前記印刷媒体の残量値を算出する残量値算出部と、
前記残量値に応じた搬送速度で前記印刷媒体を搬送するよう前記印刷媒体搬送機構に指示する搬送制御部と、を有することを特徴とするプリンタ。
(2) 前記プリンタには前記残量値に応じた複数の搬送速度が設定され、
前記搬送制御部は、前記残量値に応じた複数の搬送速度を不連続的に変更することを特徴とする(1)に記載のプリンタ。
(3) 長尺の印刷媒体を送り出しながら搬送経路に沿って搬送する印刷媒体搬送機構と、
印刷ジョブに応じて、前記印刷媒体に画像の印刷を行う印刷機構と、を備えたプリンタの制御方法であって、
前記印刷媒体の全長及び前記印刷媒体の搬送量に基づき前記印刷媒体の残量値を算出し、
前記残量値に応じた搬送速度で前記印刷媒体を搬送するよう前記印刷媒体搬送機構に指示することを特徴とするプリンタの制御方法。
(4) 前記プリンタには前記残量値に応じた複数の搬送速度が設定され、
前記残量値に応じた複数の搬送速度を不連続的に変更することを特徴とする(3)に記載のプリンタの制御方法。
(5) ホストコンピュータと、
前記ホストコンピュータと通信可能に接続され、該ホストコンピュータからの指示に応じて長尺の印刷媒体に印刷を行うプリンタと、を備えたプリンタシステムであって、
前記プリンタは、前記印刷媒体の全長及び前記印刷媒体の搬送量に基づき前記印刷媒体の残量値を算出する残量値算出部と、前記残量値を前記ホストコンピュータに送信する送信部と、を有し、
前記ホストコンピュータは、前記送信部によって送信された前記残量値に基づき、該残量値に応じた前記印刷媒体の搬送速度を求め、該搬送速度にしたがって前記印刷媒体を搬送するよう前記プリンタに搬送指示し、
前記プリンタは、前記ホストコンピュータからの前記搬送指示に応じて前記印刷媒体を搬送することを特徴とするプリンタシステム。
(6) 前記ホストコンピュータには前記残量値に応じた複数の搬送速度が設定され、
前記プリンタは、前記搬送指示に応じて前記複数の搬送速度を不連続的に変更することを特徴とする(5)に記載のプリンタシステム。
The above object of the present invention is achieved by the following means.
(1) a print medium transport mechanism that transports a long print medium along a transport path;
A printer having a printing mechanism for printing an image on the print medium according to a print job,
A remaining amount calculation unit that calculates a remaining amount value of the print medium based on a total length of the print medium and a conveyance amount of the print medium;
And a conveyance control unit that instructs the print medium conveyance mechanism to convey the print medium at a conveyance speed according to the remaining amount value.
(2) A plurality of conveyance speeds corresponding to the remaining amount value are set in the printer,
The printer according to (1), wherein the conveyance control unit discontinuously changes a plurality of conveyance speeds according to the remaining amount value.
(3) a print medium transport mechanism that transports a long print medium along a transport path;
A printer control method comprising: a printing mechanism that prints an image on the print medium according to a print job,
Calculate the remaining amount of the print medium based on the total length of the print medium and the transport amount of the print medium,
A method for controlling a printer, comprising: instructing the print medium transport mechanism to transport the print medium at a transport speed according to the remaining amount value.
(4) A plurality of conveyance speeds corresponding to the remaining amount value are set in the printer,
The printer control method according to (3), wherein a plurality of conveyance speeds corresponding to the remaining amount value are discontinuously changed.
(5) a host computer;
A printer system that includes a printer that is communicably connected to the host computer and that prints on a long print medium in accordance with an instruction from the host computer,
The printer includes a remaining amount value calculation unit that calculates a remaining amount value of the print medium based on a total length of the print medium and a conveyance amount of the print medium, a transmission unit that transmits the remaining amount value to the host computer, Have
The host computer obtains a transport speed of the print medium according to the remaining amount value based on the remaining amount value transmitted by the transmission unit, and sends the print medium to the printer according to the transport speed. Instruct the transport,
The printer system according to claim 1, wherein the printer transports the print medium in response to the transport instruction from the host computer.
(6) A plurality of conveyance speeds corresponding to the remaining amount value are set in the host computer,
The printer system according to (5), wherein the printer discontinuously changes the plurality of transport speeds according to the transport instruction.

本発明のプリンタ及びその制御方法によれば、印刷媒体の残量値を算出し、残量値に応じた搬送速度で印刷媒体を搬送するように構成されている。したがって、残量値が変化するとともに搬送速度を変化させることができるので、残量値に応じた印刷媒体搬送機構の本来の能力を発揮させることが可能である。また、印刷媒体搬送機構の本来の能力を発揮させた状態で印刷機構による印刷を行うため、プリンタによる本来の印刷パフォーマンスを向上させることが可能である。すなわち、高い印刷品質を維持しつつ高速な印刷処理を行うことが可能である。   According to the printer and the control method thereof of the present invention, the remaining amount value of the print medium is calculated, and the print medium is transported at a transport speed corresponding to the remaining amount value. Accordingly, since the remaining speed value can be changed and the transport speed can be changed, the original ability of the print medium transport mechanism according to the remaining capacity value can be exhibited. Further, since printing is performed by the printing mechanism in a state where the original ability of the printing medium transport mechanism is exhibited, it is possible to improve the original printing performance by the printer. That is, it is possible to perform high-speed printing processing while maintaining high print quality.

また、本発明のプリンタ及びその制御方法によれば、搬送制御部は予め設定された複数の搬送速度を不連続に変更させることも可能である。したがって、連続的に搬送速度を変化させる場合よりも、簡単な搬送制御で印刷品質を維持しつつ高速な印刷処理を行うことができる。   In addition, according to the printer and the control method thereof of the present invention, the conveyance control unit can discontinuously change a plurality of preset conveyance speeds. Therefore, it is possible to perform high-speed printing processing while maintaining print quality with simple conveyance control, compared to a case where the conveyance speed is continuously changed.

また、本発明のプリンタシステムによれば、プリンタから送信される印刷媒体の残量値に基づきホストコンピュータが搬送速度を求めるように構成されている。プリンタはホストコンピュータからの搬送速度指示に応じて印刷媒体を搬送しつつ、印刷を実行すればよい。したがって、プリンタは、複雑な判断を伴わない単純な搬送制御を行うだけの処理能力の高くない搬送制御部を用いても、印刷品質を維持しながら高速な印刷処理を行うことが可能である。すなわち、比較的安価な部材を採用することによって、製造コストの安いプリンタを提供することが可能となる。   According to the printer system of the present invention, the host computer is configured to obtain the conveyance speed based on the remaining amount value of the print medium transmitted from the printer. The printer may perform printing while transporting the print medium in accordance with a transport speed instruction from the host computer. Therefore, the printer can perform high-speed printing processing while maintaining print quality even when using a conveyance control unit that is not high in processing capability and performs simple conveyance control without complicated determination. That is, by employing a relatively inexpensive member, it is possible to provide a printer with a low manufacturing cost.

また、本発明のプリンタシステムによれば、長尺の印刷媒体に印刷を行うタイプのプリンタがホストコンピュータに複数台接続されたケースにおいて、各プリンタから送信された印刷媒体の残量値をホストコンピュータ側で管理すれば、印刷媒体の交換時期を把握することができ、予め印刷媒体を準備しておくなどの対応が可能となる。   Further, according to the printer system of the present invention, in the case where a plurality of printers of the type that print on a long print medium are connected to the host computer, the remaining amount value of the print medium transmitted from each printer is represented by the host computer. If it is managed on the side, it is possible to grasp the replacement time of the print medium, and it is possible to cope with the preparation of the print medium in advance.

以下、図面を参照しながら、本発明にかかるプリンタの実施形態の一例としてBand印刷を行うタイプのインクジェットプリンタ(以下、プリンタという。)を挙げて詳細に説明する。なお、本実施形態のプリンタ240は、ホストコンピュータ220とネットワークを介して通信可能に接続され、ホストコンピュータ220から送信される制御コマンドまたは印刷データを含んだ印刷ジョブ等に応じて印刷を行うインクジェット方式のプリンタである。   Hereinafter, an example of an embodiment of a printer according to the present invention will be described in detail with reference to an inkjet printer of a type that performs band printing (hereinafter referred to as a printer). The printer 240 according to the present embodiment is connected to the host computer 220 via a network so as to be communicable, and performs ink jet printing in accordance with a print job including a control command or print data transmitted from the host computer 220. Printer.

<第1実施形態>
まず、本発明にかかるプリンタ及びプリンタシステムの第1実施形態について説明する。
図1は、本実施形態のプリンタ240の二つの前面カバーを開いて内部を示した外観斜視図である。
<First Embodiment>
First, a first embodiment of a printer and a printer system according to the present invention will be described.
FIG. 1 is an external perspective view showing the inside by opening two front covers of the printer 240 of the present embodiment.

(プリンタ240の構成)
まず、本実施形態にかかるプリンタ240について説明する。
本実施形態のプリンタ240は、図1に示すように、複数種のカラーインクを使用し、印刷媒体としてのロール紙11に画像記録(複数色印刷)を実行し、クーポン券を発券するプリンタである。
(Configuration of Printer 240)
First, the printer 240 according to the present embodiment will be described.
As shown in FIG. 1, the printer 240 according to the present embodiment is a printer that uses a plurality of types of color inks, performs image recording (multi-color printing) on a roll paper 11 as a printing medium, and issues a coupon ticket. is there.

プリンタ240は、前面上部パネル2a及びケースカバー2bから構成されるプリンタケース2の前面に、左側から順に電源スイッチ3、ロール紙カバー5及び装着部開閉カバー7が配置されている。また、電源スイッチ3の上方には、プリンタ240やホストコンピュータ220の状態をユーザに通知する表示部(以下、LEDランプ6という。)が設けられている。ロール紙カバー5及び装着部開閉カバー7は、下部に設けられた図示せぬヒンジを介していずれも前方に開閉可能である。   In the printer 240, a power switch 3, a roll paper cover 5, and a mounting portion opening / closing cover 7 are arranged in order from the left side on the front surface of the printer case 2 including the front upper panel 2 a and the case cover 2 b. A display unit (hereinafter referred to as LED lamp 6) for notifying the user of the status of the printer 240 and the host computer 220 is provided above the power switch 3. The roll paper cover 5 and the mounting portion opening / closing cover 7 can both be opened and closed forward via a hinge (not shown) provided at the bottom.

ロール紙カバー5を開くと、印刷用紙であるロール紙11を収容した用紙収容部13が開放状態となり、この状態でロール紙11の交換が可能になる。一方、装着部開閉カバー7を開くと、カートリッジ装着部15が開放状態になり、インクカートリッジ20の着脱が可能になる。   When the roll paper cover 5 is opened, the paper storage unit 13 that stores the roll paper 11 that is printing paper is opened, and the roll paper 11 can be replaced in this state. On the other hand, when the mounting portion opening / closing cover 7 is opened, the cartridge mounting portion 15 is opened, and the ink cartridge 20 can be attached and detached.

インクカートリッジ20は、カートリッジケース内にイエロー、シアン及びマゼンダの3色のカラーインクパックを一つにパッケージングしたものである。本実施形態のプリンタ240の場合は、装着部開閉カバー7の開閉動作に連動して、カートリッジ装着部15内のインクカートリッジ20がカートリッジ交換位置からカートリッジ使用位置に、あるいはカートリッジ使用位置からカートリッジ交換位置にスライド移動する。   The ink cartridge 20 is a cartridge case in which three color ink packs of yellow, cyan, and magenta are packaged together. In the case of the printer 240 of this embodiment, in conjunction with the opening / closing operation of the mounting portion opening / closing cover 7, the ink cartridge 20 in the cartridge mounting portion 15 is moved from the cartridge replacement position to the cartridge usage position, or from the cartridge usage position to the cartridge replacement position. Move to slide.

(プリンタとホストコンピュータとの関係)
次に、本発明に係るプリンタ240とホストコンピュータ220との関係について説明する。ホストコンピュータ220は、主として、図示せぬCPUと、不揮発性メモリであるROMと、揮発性メモリであるRAMと、大規模記憶装置としてのHDDと、入力装置と、通信インタフェースとを備えている。ホストコンピュータ220のCPUは、HDDに記憶されたオペレーティングシステム及びアプリケーションプログラムを実行しながら、通信インタフェースを介してプリンタ240に各種コマンドや印刷データを出力することにより、プリンタ240を制御する。
(Relationship between printer and host computer)
Next, the relationship between the printer 240 and the host computer 220 according to the present invention will be described. The host computer 220 mainly includes a CPU (not shown), a ROM as a nonvolatile memory, a RAM as a volatile memory, an HDD as a large-scale storage device, an input device, and a communication interface. The CPU of the host computer 220 controls the printer 240 by outputting various commands and print data to the printer 240 via the communication interface while executing the operating system and application programs stored in the HDD.

プリンタ240は、主として、図示せぬCPUと、書き換え可能な不揮発性メモリであるフラッシュROMと、揮発性メモリであるRAMと、通信インタフェースと、を備え、更にロール紙11を送り出しながら図示せぬ搬送経路に沿って搬送し、ロール紙の先頭を印刷開始位置まで頭だしする用紙搬送機構246(印刷媒体搬送機構)と、インクをロール紙11に吐出させて画像記録を行う印刷ヘッド等(印刷機構247)と、を備えている(図2参照)。   The printer 240 mainly includes a CPU (not shown), a flash ROM that is a rewritable nonvolatile memory, a RAM that is a volatile memory, and a communication interface. Further, the printer 240 conveys the roll paper 11 while feeding it. A paper transport mechanism 246 (printing medium transport mechanism) that transports along the path and starts the top of the roll paper to the print start position, a print head that ejects ink onto the roll paper 11 and the like (printing mechanism) 247) (see FIG. 2).

プリンタ240のCPUは、フラッシュROMに記憶されたファームウェアを実行しながら、通信インタフェースを介してホストコンピュータ220と通信を行うことにより印刷データを受信する。そして、搬送制御部243が各種コマンドに基づき、用紙搬送機構246を介してロール紙11を搬送しつつ、印刷制御部245が各種コマンドや印刷データに基づき印刷ヘッドを駆動してロール紙11への印刷を実行し、レシートやクーポンを発券する。また、プリンタ240は、LEDランプ6を点灯または点滅させることにより、ユーザにプリンタ240のロール紙11の残量や各種情報を通知する。   The CPU of the printer 240 receives print data by communicating with the host computer 220 via the communication interface while executing the firmware stored in the flash ROM. Then, while the transport control unit 243 transports the roll paper 11 via the paper transport mechanism 246 based on various commands, the print control unit 245 drives the print head based on the various commands and print data to supply the roll paper 11 to the roll paper 11. Execute printing and issue receipts and coupons. Further, the printer 240 notifies the user of the remaining amount of the roll paper 11 of the printer 240 and various information by turning on or blinking the LED lamp 6.

(ロール紙搬送処理の構成)
本実施形態のプリンタ240は、ロール紙11の残量値に応じて搬送速度を変速させてロール紙11を搬送しつつ、ホストコンピュータ220から送信される印刷コマンド及び印刷データを含んだ印刷ジョブ等に基づきロール紙11へ印刷を実行するように構成されている。
(Configuration of roll paper transport process)
The printer 240 according to the present embodiment is configured to change the conveyance speed according to the remaining amount value of the roll paper 11 and convey the roll paper 11, and print jobs including print commands and print data transmitted from the host computer 220. The printing is performed on the roll paper 11 based on the above.

以下では、本実施形態のプリンタ240が、どのようにロール紙11の残量値を求め、用紙搬送機構246がロール紙11の残量値に応じた搬送速度で搬送するのかを説明する。図2は、プリンタ240の内部処理を示した機能ブロック図である。   Hereinafter, how the printer 240 of the present embodiment obtains the remaining value of the roll paper 11 and how the paper transport mechanism 246 transports at the transport speed corresponding to the remaining value of the roll paper 11 will be described. FIG. 2 is a functional block diagram showing internal processing of the printer 240.

図2に示すように、プリンタ240内には、ホストコンピュータ220から送信される各種コマンドや印刷データを受信する受信部301と、受信部301が受信した各種コマンドや印刷データを一時的に保持する受信バッファ302が設けられている。受信バッファ302によって受信されたデータは、コマンド解析部303によって解析され、制御コマンドの場合は制御コマンドバッファ304に、印刷データの場合には印刷バッファ305にDMA転送等により転送される。   As shown in FIG. 2, in the printer 240, a receiving unit 301 that receives various commands and print data transmitted from the host computer 220, and various commands and print data received by the receiving unit 301 are temporarily stored. A reception buffer 302 is provided. The data received by the reception buffer 302 is analyzed by the command analysis unit 303 and transferred to the control command buffer 304 in the case of a control command, and transferred to the print buffer 305 in the case of print data by DMA transfer or the like.

印刷バッファ305に一時保存された印刷データは、データ展開処理が行われてデータ変換され、最終的には印刷ヘッドのノズル列に対応したドットパターンデータが生成されて印刷バッファ305に記憶される。一方、制御コマンドバッファ304に一時保存された制御コマンドデータは、主制御部308によって読み出されて、ロール紙カットやロール紙搬送速度の変更など制御コマンドに応じた処理が実行される。   The print data temporarily stored in the print buffer 305 is subjected to data expansion processing, converted into data, and finally dot pattern data corresponding to the nozzle array of the print head is generated and stored in the print buffer 305. On the other hand, the control command data temporarily stored in the control command buffer 304 is read by the main control unit 308, and processing corresponding to the control command such as roll paper cutting and roll paper conveyance speed change is executed.

搬送制御部243は、ホストコンピュータ220から送信された搬送コマンド等に基づき用紙搬送機構246を駆動するものである。本実施形態のプリンタ240は、いわゆるBand印刷を行うタイプのプリンタであって、図示せぬキャリッジがロール紙搬送方向と垂直を成す方向に1回駆動する毎に印刷ヘッドの高さ(印刷ヘッドに設けられたノズルのうち搬送方向の下端から上端までの長さ。以下、「1バンド」という。)分の印刷を行うように構成されている。つまり、搬送制御部243は1バンドの印刷を実行する毎に用紙搬送機構246を駆動させて、1回のキャリッジの駆動で印刷される1バンド分に相当する搬送量のロール紙11を送り出す。   The transport control unit 243 drives the paper transport mechanism 246 based on a transport command transmitted from the host computer 220. The printer 240 of this embodiment is a type of printer that performs so-called Band printing, and the height of the print head (the print head is changed every time a carriage (not shown) is driven once in a direction perpendicular to the roll paper conveyance direction. Among the provided nozzles, the length from the lower end to the upper end in the transport direction (hereinafter referred to as “one band”) is configured to perform printing. That is, the transport control unit 243 drives the paper transport mechanism 246 every time one band is printed, and feeds the roll paper 11 having a transport amount corresponding to one band printed by one drive of the carriage.

また、搬送制御部243は、後述する残量値算出部306が算出するロール紙の残量値に応じて用紙搬送機構246の搬送速度を変速させてロール紙11を搬送するように構成されている。搬送速度の変速処理については後ほど説明する。   Further, the transport control unit 243 is configured to transport the roll paper 11 by changing the transport speed of the paper transport mechanism 246 in accordance with the remaining amount value of the roll paper calculated by a residual value calculation unit 306 described later. Yes. The transfer speed shifting process will be described later.

印刷制御部245は、ホストコンピュータ220から送信された印刷コマンドや印刷データに基づきキャリッジや印刷ヘッド等の印刷機構247を駆動するものである。ここでは、印刷コマンドに応じて印刷バッファ305に記憶されたドットパターンデータを基に印刷ヘッドを駆動し、ロール紙11上に画像を形成して、クーポン券を作成する。   The print control unit 245 drives a printing mechanism 247 such as a carriage and a print head based on a print command and print data transmitted from the host computer 220. Here, the print head is driven based on the dot pattern data stored in the print buffer 305 in accordance with the print command, an image is formed on the roll paper 11, and a coupon is created.

残量値算出部306は、ロール紙11の全長及びロール紙11の搬送量に基づきロール紙11の残量値を算出する。詳しくは後ほど説明する。
情報記憶部307は、プリンタ240の各種情報を記憶するための領域であり、例えばフラッシュROM内の所定の領域に形成される。
The remaining amount calculation unit 306 calculates the remaining amount of the roll paper 11 based on the total length of the roll paper 11 and the transport amount of the roll paper 11. Details will be described later.
The information storage unit 307 is an area for storing various information of the printer 240, and is formed in a predetermined area in the flash ROM, for example.

次に、プリンタ240におけるロール紙搬送処理(搬送速度の変速処理)について詳細に説明する。
本実施形態のプリンタ240の情報記憶部307には、未使用状態(新品)のロール紙11の全長Lと前回電源OFF時のロール紙11の残量値X1とが記憶されている。
Next, a roll paper conveyance process (conveyance speed shift process) in the printer 240 will be described in detail.
The information storage unit 307 of the printer 240 according to the present embodiment stores the total length L of the roll paper 11 that is not used (new) and the remaining value X1 of the roll paper 11 when the power is turned off last time.

未使用状態のロール紙11の全長Lは、用紙収容部13にロール紙をセットする際に行われるロール紙設定操作によって情報記録部307に記憶される。例えば、複数種類の長さのロール紙に対応可能な場合には、ロール紙設定操作時においてロール紙の全長を複数の中から選択して設定することも可能である。なお、ロール紙設定操作は、ユーザがホストコンピュータ220の操作パネルを介してコマンドの指示により実行してもよいし、直接プリンタ240の操作ボタン等の指示により実行してもよい。   The total length L of the unused roll paper 11 is stored in the information recording unit 307 by a roll paper setting operation performed when the roll paper is set in the paper storage unit 13. For example, when it is possible to handle a plurality of types of roll paper, the total length of the roll paper can be selected and set from a plurality of roll papers during the roll paper setting operation. Note that the roll paper setting operation may be executed by the user through a command instruction via the operation panel of the host computer 220, or may be executed directly by an instruction from an operation button or the like of the printer 240.

残量値X1は、電源オフ時の残量値Xが情報記憶部307に記憶されることにより設定される。ロール紙11が新品の場合には、残量値X1は、未使用状態のロール紙長Lに設定される。ロール紙残量値Xは、ホストコンピュータ220から送信される搬送コマンドに応じて、搬送制御部243が予め設定された搬送量(Z:本実施形態では1Band分の搬送量)だけロール紙11を搬送する毎に算出され、情報記憶部307に記憶される。すなわち、残量値Xは、以下のように表現される。

X=X1−Z×(搬送回数)
The remaining amount value X1 is set by storing the remaining amount value X when the power is turned off in the information storage unit 307. When the roll paper 11 is new, the remaining amount value X1 is set to the unused roll paper length L. The roll paper remaining amount value X is determined by applying the roll paper 11 by a conveyance amount (Z: a conveyance amount for 1 Band in the present embodiment) set in advance by the conveyance control unit 243 in accordance with a conveyance command transmitted from the host computer 220. It is calculated every time it is conveyed and stored in the information storage unit 307. That is, the remaining amount value X is expressed as follows.

X = X1-Z × (number of times of conveyance)

また情報記憶部307には、ロール紙残量値Xとロール紙搬送速度Yとの対応を表すテーブルが予め記憶されている。このテーブルは、ロール紙残量値Xに応じてロール紙搬送速度Yを変化させるためのものである。例えば、図3(a)に示すように横軸にロール紙残量値X、縦軸にロール紙搬送速度Yを取ったグラフで示すと、特定の残量値(X=20[m]、40[m])を閾値として搬送速度Yが階段状に不連続に変化させるものが挙げられる。ここでは、残量値Xが減少するにつれて段階的に搬送速度Yが高速化するような相関関係がテーブルに記憶されている。これは、搬送速度Yは、残量値Xが大きいときには、滑りが発生しやすくなることを考慮して小さく設定されており、残量値Xが少なくなり滑りが発生しにくくなると、段階的に搬送速度Yを大きくして印刷効率を向上させるように構成されている。   The information storage unit 307 stores in advance a table that indicates the correspondence between the roll paper remaining value X and the roll paper conveyance speed Y. This table is for changing the roll paper conveyance speed Y in accordance with the roll paper remaining amount value X. For example, as shown in FIG. 3A, when the roll paper remaining amount value X is plotted on the horizontal axis and the roll paper conveyance speed Y is plotted on the vertical axis, a specific remaining value (X = 20 [m], 40 [m]) is used as a threshold value, and the conveyance speed Y is discontinuously changed stepwise. Here, a correlation is stored in the table such that the conveyance speed Y increases stepwise as the remaining amount value X decreases. This is because the transport speed Y is set to be small in consideration of the fact that slippage is likely to occur when the remaining amount value X is large. The printing speed is increased by increasing the conveyance speed Y.

実際には、残量値算出部306は、用紙搬送機構246によって1Band分に相当する搬送量Zのロール紙11が搬送される毎に、その時点の残量値Xを求める。そして、次の搬送においてはこのテーブルを参照しながら、求められた残量値Xに応じて搬送速度Yが設定される。なお、このような相関関係は、ロール紙搬送ローラと接続されたモータの回転数や、ロール紙の長さ、重さ、紙質等を考慮して経験的に求められた関係であって、図3(a)に示した関係に限定されるものではない。   Actually, the remaining amount value calculation unit 306 obtains the remaining amount value X at that time point each time the sheet transport mechanism 246 transports the roll paper 11 of the transport amount Z corresponding to 1 Band. In the next conveyance, the conveyance speed Y is set according to the obtained remaining amount value X while referring to this table. Note that such a correlation is an empirical relationship that takes into account the number of rotations of the motor connected to the roll paper transport roller, the length, weight, paper quality, and the like of the roll paper. It is not limited to the relationship shown in 3 (a).

搬送制御部243は、ホストコンピュータ220から印刷ジョブを受信すると、情報記憶部307に記憶されたテーブルを参照して、その時点における残量値Xに対応する搬送速度Yを求め、用紙搬送機構246によりロール紙11を搬送させて、印刷を実行する。このように、本実施形態によれば、搬送制御部243はロール紙11の残量値Xを監視し、残量値Xに応じて適切な搬送速度Yを設定して搬送制御するので、ロール紙11に回転トルクが十分伝達され、すべりの発生を防止することが可能である。さらに、残量値Xが減少してトルクが伝達され易くなると、搬送速度Yを高速に変更するので、印刷処理の高速化を図ることが可能である。   When the conveyance control unit 243 receives a print job from the host computer 220, the conveyance control unit 243 refers to the table stored in the information storage unit 307 to obtain the conveyance speed Y corresponding to the remaining amount value X at that time, and the sheet conveyance mechanism 246. Thus, the roll paper 11 is conveyed and printing is performed. As described above, according to the present embodiment, the conveyance control unit 243 monitors the remaining amount value X of the roll paper 11, sets the appropriate conveyance speed Y according to the remaining amount value X, and controls the conveyance. The rotational torque is sufficiently transmitted to the paper 11, and it is possible to prevent the occurrence of slip. Furthermore, when the remaining amount value X decreases and torque is easily transmitted, the conveyance speed Y is changed to a high speed, so that the printing process can be speeded up.

また、本実施形態のプリンタ240の残量値算出部306は、印刷ジョブの終了毎に残量値Xを算出する。したがって、搬送制御部243は前回の印刷ジョブ終了時におけるロール紙11の残量値Xに基づき、次の印刷ジョブにおける搬送速度Yを用紙搬送機構246に指示することが可能である。つまり、本実施形態では、一の印刷ジョブの途中では搬送速度が変更されることがなく一定速度に維持されている。なお、印刷ジョブの終了毎に残量値Xを求めるのではなく、常に残量値Xを求めつつ搬送速度Yを変化させるように構成してもよい。   In addition, the remaining amount value calculation unit 306 of the printer 240 according to the present embodiment calculates a remaining amount value X every time the print job ends. Therefore, the transport control unit 243 can instruct the transport speed Y in the next print job to the paper transport mechanism 246 based on the remaining amount value X of the roll paper 11 at the end of the previous print job. In other words, in the present embodiment, the conveyance speed is not changed during one print job and is maintained at a constant speed. Instead of obtaining the remaining amount value X every time the print job is completed, the conveyance speed Y may be changed while always obtaining the remaining amount value X.

次に、図4を参照して、上記で概略説明したロール紙搬送処理の具体的な流れを説明する。図4は、プリンタ240におけるロール紙搬送処理を説明するためのフローチャートである。   Next, with reference to FIG. 4, a specific flow of the roll paper conveyance process outlined above will be described. FIG. 4 is a flowchart for explaining roll paper conveyance processing in the printer 240.

プリンタ240は、ホストコンピュータ220から受信部301を介して印刷ジョブを受信すると(ステップS11:Yes)、搬送制御部243は、残量値算出部306によって算出され、情報記憶部307に記憶されている前回受信した印刷ジョブ終了時のロール紙残量値(X1)、及びロール紙残量値Xとロール紙搬送速度Yとの対応表を参照し、その時点におけるロール紙11の残量値Xに対応する搬送速度Yを求める。ここでは、新品のロール紙長を60[m]とし、20[m]、40[m]を閾値として3つの搬送速度に変更可能な対応表を参照し、まず残量値Xが40[m]<X≦60[m]の範囲以内であるかどうかを判断する(ステップS12)。   When the printer 240 receives a print job from the host computer 220 via the reception unit 301 (step S11: Yes), the conveyance control unit 243 is calculated by the remaining amount calculation unit 306 and stored in the information storage unit 307. The roll paper remaining value (X1) at the end of the last received print job and the correspondence table between the roll paper remaining value X and the roll paper transport speed Y are referred to, and the remaining value X of the roll paper 11 at that time The conveyance speed Y corresponding to is obtained. Here, a new roll paper length is set to 60 [m], 20 [m] and 40 [m] are set as threshold values, and a correspondence table that can be changed to three conveyance speeds is referred to. ] <X ≦ 60 [m] is determined (step S12).

残量値Xが40[m]<X≦60[m]の範囲以内にあれば、ロール紙11の搬送速度を第1の搬送速度に設定する(ステップS13)。そして、第1の搬送速度でロール紙11を搬送しつつ、印刷制御部245を介して印刷機構247が印刷を実行する(ステップS14)。   If the remaining amount value X is within the range of 40 [m] <X ≦ 60 [m], the transport speed of the roll paper 11 is set to the first transport speed (step S13). Then, the printing mechanism 247 executes printing via the printing control unit 245 while conveying the roll paper 11 at the first conveyance speed (step S14).

ステップS12で残量値Xが40[m]<X≦60[m]の範囲以内になければ、20[m]<X≦40[m]の範囲以内にあるかどうかを判断し、範囲以内にあればロール紙11の搬送速度を第2の搬送速度に設定する(ステップS15:Yes,ステップS16)。そして、第1の搬送速度よりも高速な第2の搬送速度でロール紙11を搬送しつつ、印刷制御部245を介して印刷機構247が印刷を実行する(ステップS14)。   If the remaining amount value X is not within the range of 40 [m] <X ≦ 60 [m] in step S12, it is determined whether or not it is within the range of 20 [m] <X ≦ 40 [m]. If so, the transport speed of the roll paper 11 is set to the second transport speed (step S15: Yes, step S16). Then, the printing mechanism 247 executes printing via the printing control unit 245 while conveying the roll paper 11 at the second conveyance speed that is higher than the first conveyance speed (step S14).

ステップS15で残量値Xが20[m]<X≦40[m]の範囲以内になければ、0[m]<X≦20[m]の範囲以内にあるかどうかを判断し、範囲以内にあればロール紙11の搬送速度を第3の搬送速度に設定する(ステップS17:Yes,ステップS18)。そして、第2の搬送速度よりもさらに高速な第3の搬送速度でロール紙11を搬送しつつ、印刷制御部245を介して印刷機構247が印刷を実行する(ステップS14)。   If the remaining amount value X is not within the range of 20 [m] <X ≦ 40 [m] in step S15, it is determined whether or not it is within the range of 0 [m] <X ≦ 20 [m]. If so, the transport speed of the roll paper 11 is set to the third transport speed (step S17: Yes, step S18). Then, the printing mechanism 247 performs printing via the print control unit 245 while conveying the roll paper 11 at a third conveyance speed that is higher than the second conveyance speed (step S14).

このように、本実施形態のプリンタ240は、ロール紙11の残量値Xが40[m]<X≦60[m]の範囲以内であれば、その範囲内ではすべりを生じない搬送速度として経験的に求められた第1の搬送速度で搬送し、20[m]<X≦40[m]の範囲以内であれば第2の搬送速度で搬送し、0[m]<X≦20[m]の範囲以内であれば第3の搬送速度で搬送して、段階的に3つの搬送速度で搬送するように設定されている。また、プリンタ240は残量値Xが少なくなるにつれて搬送速度を高速に設定するように構成されている。このため、ロール紙11の残量が十分にある場合には、用紙搬送機構246は比較的低速でロール紙を搬送するので、ロール紙にトルクを十分に伝達させ、すべりを防止することが可能である。一方、ロール紙11の残量が減少してくると、用紙搬送機構246は高速でロール紙11を搬送しつつ印刷を実行するので、用紙搬送機構246や印刷機構247等のプリンタ240が備える各機構本来のパフォーマンスを引き出すことが可能である。つまり、本実施形態のプリンタ240は、ロール紙の残量値にかかわらず常に高い印刷品質を維持しつつ、かつ高速な印刷処理を実現することができる。   As described above, the printer 240 according to the present embodiment has a conveyance speed that does not cause a slip if the remaining value X of the roll paper 11 is within the range of 40 [m] <X ≦ 60 [m]. If it is within the range of 20 [m] <X ≦ 40 [m], it is transported at the second transport speed, and 0 [m] <X ≦ 20 [ m], it is set so that it is transported at the third transport speed and transported at three transport speeds step by step. Further, the printer 240 is configured to set the transport speed to a higher speed as the remaining amount value X decreases. For this reason, when the remaining amount of the roll paper 11 is sufficient, the paper transport mechanism 246 transports the roll paper at a relatively low speed, so that torque can be sufficiently transmitted to the roll paper and slipping can be prevented. It is. On the other hand, when the remaining amount of the roll paper 11 decreases, the paper transport mechanism 246 performs printing while transporting the roll paper 11 at a high speed, so that each of the printers 240 such as the paper transport mechanism 246 and the print mechanism 247 is provided. It is possible to bring out the original performance of the mechanism. That is, the printer 240 according to the present embodiment can achieve high-speed printing processing while always maintaining high print quality regardless of the remaining amount of roll paper.

また、本実施形態では、情報記憶部307に記憶されたロール紙残量値Xとロール紙搬送速度Yとの対応表に基づいて搬送速度Yを求めるように構成されているが、例えば図3(b)に示すように、連続的に搬送速度を変更させてもよい。この場合、予めプリンタ240に所定の関数をプログラム内に設定しておき、この関数に基づいて搬送制御部246が搬送速度Yを変更するように構成してもよい。この場合には連続的に搬送速度を変更して、より細やかに搬送制御を行うので、さらなる高速な印刷処理を実現することができる。   In this embodiment, the transport speed Y is obtained based on the correspondence table between the remaining roll paper value X stored in the information storage unit 307 and the roll paper transport speed Y. For example, FIG. As shown in (b), the conveyance speed may be changed continuously. In this case, a predetermined function may be set in the program in the printer 240 in advance, and the conveyance control unit 246 may be configured to change the conveyance speed Y based on this function. In this case, since the conveyance speed is continuously changed and the conveyance control is performed more finely, a further high-speed printing process can be realized.

<第2実施形態>
次に、本発明にかかるプリンタ及びプリンタシステムの第2実施形態について説明する。
本実施形態のプリンタシステム100はBand印刷を行うタイプのインクジェットプリンタ(以下、プリンタ240という。)にホストコンピュータ220が通信可能に接続され、ホストコンピュータ220から送信される制御コマンドまたは印刷データに応じて印刷を行う。
Second Embodiment
Next, a printer and printer system according to a second embodiment of the invention will be described.
In the printer system 100 according to the present embodiment, a host computer 220 is communicably connected to an inkjet printer (hereinafter referred to as a printer 240) that performs band printing, and in accordance with a control command or print data transmitted from the host computer 220. Print.

(ロール紙搬送処理の構成)
本実施形態のプリンタシステム100は、プリンタ240で算出されたロール紙残量値Xに基づき、ホストコンピュータ220が残量値Xに応じたロール紙搬送速度Yを求め、プリンタ240がホストコンピュータ220から送信される搬送速度設定指示、印刷コマンド及び印刷データ等に基づき設定された搬送速度でロール紙11を搬送しつつ印刷を実行するように構成されている。
(Configuration of roll paper transport process)
In the printer system 100 according to the present embodiment, the host computer 220 obtains the roll paper conveyance speed Y according to the remaining amount value X based on the remaining roll paper amount value X calculated by the printer 240, and the printer 240 receives from the host computer 220. Printing is executed while the roll paper 11 is being conveyed at a conveyance speed set based on a conveyance speed setting instruction, a print command, print data, and the like transmitted.

以下では、本実施形態のプリンタシステム100におけるプリンタ240が、どのようにロール紙11の残量値を求め、ロール紙11の残量値Xに応じた搬送速度Yで搬送するのかを説明する。図5は、本実施形態のプリンタシステム100におけるホストコンピュータ220及びプリンタ240の内部処理を示したブロック図である。なお、プリンタシステム100におけるプリンタ240の物理的構成及び機能的構成に関して、第1実施形態で説明したプリンタ240と基本的構成は同一であるため、重複する構成についての説明は省略する。   Hereinafter, how the printer 240 in the printer system 100 of the present embodiment obtains the remaining amount value of the roll paper 11 and conveys it at the conveyance speed Y corresponding to the remaining amount value X of the roll paper 11 will be described. FIG. 5 is a block diagram showing internal processes of the host computer 220 and the printer 240 in the printer system 100 of this embodiment. Note that the physical configuration and functional configuration of the printer 240 in the printer system 100 are the same as the basic configuration of the printer 240 described in the first embodiment, and thus description of the overlapping configuration is omitted.

図5に示すように、本実施形態のホストコンピュータ220は、ロール紙搬送処理の観点からは主として、残量値取得部221と、搬送速度記憶部222と、搬送指示部223と、送受信部224とを有している。   As shown in FIG. 5, the host computer 220 of the present embodiment mainly includes a remaining amount acquisition unit 221, a conveyance speed storage unit 222, a conveyance instruction unit 223, and a transmission / reception unit 224 from the viewpoint of roll paper conveyance processing. And have.

残量値取得部221は、プリンタ240に対して、ロール紙11の残量値Xを送信するよう要求するための残量値送信要求コマンドを送信する。送受信部224を介してプリンタ240に残量値送信要求コマンドの送信後、プリンタ240から残量値Xを受信すると、受信確認をプリンタ240に送信するとともに、受信した残量値Xを図示せぬ残量値記憶部に記憶する。   The remaining amount acquisition unit 221 transmits a remaining amount transmission request command for requesting the printer 240 to transmit the remaining amount X of the roll paper 11. After the remaining amount value transmission request command is transmitted to the printer 240 via the transmission / reception unit 224, when the remaining amount value X is received from the printer 240, a reception confirmation is transmitted to the printer 240 and the received remaining amount value X is not shown. Store in the remaining amount storage unit.

搬送速度記憶部222は、図3(a)で示したようなプリンタ240のロール紙残量値Xとロール紙搬送速度Yとの対応を示すテーブルが記憶されている。なお、本プリンタシステム100では、ホストコンピュータ220と接続されているプリンタは1台だけであるが、残量値送信要求コマンドに応じてロール紙の残量値Xをホストコンピュータ220へ送信する機能を備えたプリンタを複数台接続することも可能である。この場合、搬送速度記憶部222には、プリンタ毎のロール紙残量値Xとロール紙搬送速度Yのテーブルを記憶させておくことが可能である。プリンタ毎にテーブルが記憶されていれば、プリンタ240におけるロール紙残量値Xとロール紙搬送速度Yとの相関関係が他のプリンタにおける相関関係と異なる場合でも、1台のホストコンピュータ220によって複数のプリンタのロール紙搬送処理を制御することが可能である。   The transport speed storage unit 222 stores a table indicating the correspondence between the roll paper remaining amount value X of the printer 240 and the roll paper transport speed Y as shown in FIG. In the printer system 100, only one printer is connected to the host computer 220. However, the printer system 100 has a function of transmitting the remaining amount value X of the roll paper to the host computer 220 in response to the remaining amount value transmission request command. It is also possible to connect a plurality of equipped printers. In this case, the transport speed storage unit 222 can store a table of remaining roll paper values X and roll paper transport speed Y for each printer. If a table is stored for each printer, even if the correlation between the roll paper remaining amount value X and the roll paper conveyance speed Y in the printer 240 is different from the correlation in other printers, a single host computer 220 may be used. It is possible to control the roll paper conveyance process of the printer.

搬送指示部223は、プリンタ240から受信したロール紙残量値Xに基づき、搬送速度記憶部222に格納された対応表を参照して、残量値Xに応じたロール紙の搬送速度Yを求め、搬送速度Yにしたがってロール紙を搬送するようプリンタ240に搬送指示する。   The transport instruction unit 223 refers to the correspondence table stored in the transport speed storage unit 222 based on the roll paper remaining amount value X received from the printer 240, and determines the roll paper transport speed Y according to the remaining amount value X. Then, the printer 240 is instructed to convey the roll paper according to the conveyance speed Y.

一方、プリンタ240の送信部309は、プリンタ240がホストコンピュータ220から残量値送信要求コマンドを受信すると、主制御部308が情報記憶部307に記憶されているロール紙残量値Xを読み出し、ホストコンピュータ220へ送信する。   On the other hand, when the printer 240 receives the remaining amount value transmission request command from the host computer 220, the transmission unit 309 of the printer 240 reads the roll paper remaining amount value X stored in the information storage unit 307, Send to host computer 220.

情報記憶部307には、新品のロール紙長と前回電源OFF時のロール紙残量値とが記憶されている。ホストコンピュータ220から受信した印刷ジョブ中の搬送コマンドに応じて、搬送制御部243が予め設定された搬送量Zだけロール紙を搬送する毎に、残量値算出部306は、新品のロール紙長L、あるいは電源OFF時におけるロール紙残量値X1から搬送量Zを差し引く。印刷ジョブの終了時に、その時点におけるロール紙の残量値Xが情報記憶部307に保持される。   The information storage unit 307 stores a new roll paper length and a roll paper remaining value when the power is turned off last time. Each time the conveyance control unit 243 conveys the roll paper by the preset conveyance amount Z in accordance with the conveyance command in the print job received from the host computer 220, the remaining amount calculation unit 306 generates a new roll paper length. L or the conveyance amount Z is subtracted from the remaining roll paper value X1 when the power is turned off. At the end of the print job, the remaining amount value X of the roll paper at that time is held in the information storage unit 307.

次に、図6を参照して、上記で概略説明したプリンタシステム100におけるロール紙搬送処理の具体的な流れを説明する。図6は、プリンタシステム100におけるロール紙搬送処理を説明するためのフローチャートである。   Next, a specific flow of the roll paper transport process in the printer system 100 schematically described above will be described with reference to FIG. FIG. 6 is a flowchart for explaining roll paper conveyance processing in the printer system 100.

前回印刷ジョブの処理終了後、次の印刷ジョブ(ここでは、少なくとも残量値送信要求コマンド、搬送速度設定コマンド及び印刷データを含んでいる。)の処理開始にあたり、ホストコンピュータ220の残量値取得部221が送受信部224を介して、プリンタ240に残量値送信要求コマンドを送信する(ステップS21)。プリンタ240は、受信したコマンドがコマンド解析部303によって残量値送信要求コマンドであると解析されると、主制御部308が情報記憶部307に記憶された最新の残量値を読み出し、送信部309を介してホストコンピュータ220に送信する(ステップS32)。   Upon completion of processing of the previous print job, the remaining amount value of the host computer 220 is acquired at the start of processing of the next print job (here, at least a remaining amount value transmission request command, a conveyance speed setting command, and print data are included). The unit 221 transmits a remaining amount value transmission request command to the printer 240 via the transmission / reception unit 224 (step S21). When the command analysis unit 303 analyzes that the received command is a remaining amount value transmission request command, the printer 240 reads the latest remaining amount value stored in the information storage unit 307, and transmits the transmission unit. It transmits to the host computer 220 via 309 (step S32).

ホストコンピュータ220がプリンタ240から残量値を受信すると、搬送指示部223は、搬送速度記憶部222に格納された図3(a)に示すテーブルを参照して、受信した残量値Xに応じたロール紙の搬送速度Yを求め、搬送速度Yにしたがってロール紙を搬送するよう搬送速度設定コマンドをプリンタ240へ送信する(ステップS22)。プリンタ240のコマンド解析部303により、受信したコマンドが搬送速度設定コマンドであると解析されると、主制御部308は搬送制御部243に対して搬送速度を設定する(ステップS33)。   When the host computer 220 receives the remaining amount value from the printer 240, the transport instruction unit 223 refers to the table shown in FIG. 3A stored in the transport speed storage unit 222 and responds to the received remaining amount value X. The transport speed Y of the rolled paper is obtained, and a transport speed setting command is transmitted to the printer 240 so as to transport the roll paper according to the transport speed Y (step S22). When the command analysis unit 303 of the printer 240 analyzes that the received command is a conveyance speed setting command, the main control unit 308 sets a conveyance speed for the conveyance control unit 243 (step S33).

その後、ホストコンピュータ220から印刷データが送信されると(ステップS23)、プリンタ240では、受信した印刷データを印刷バッファ305に一時的に記憶する(ステップS34:Yes)。そして、搬送制御部243を介して用紙搬送機構246がロール紙を設定された搬送速度で搬送しつつ、印刷制御部245を介して印刷機構247が印刷を実行する(ステップS35)。   Thereafter, when print data is transmitted from the host computer 220 (step S23), the printer 240 temporarily stores the received print data in the print buffer 305 (step S34: Yes). Then, while the paper transport mechanism 246 transports the roll paper at the set transport speed via the transport control unit 243, the printing mechanism 247 performs printing via the print control unit 245 (step S35).

一の印刷ジョブに含まれる印刷データを全て受信し印刷が終了すると(ステップS34:No)、今回の印刷ジョブの処理を終了し、次の印刷ジョブを受信するまで待機する。   When all the print data included in one print job has been received and printing has been completed (step S34: No), the processing of the current print job is terminated, and the process waits until the next print job is received.

なお、残量値Xと搬送速度Yとの関係は、図3(a)に基づく関係のほか図3(b)のグラフに示すような関数に基づくものを採用してもよい。すなわち、プリンタ240から残量値を受信すると、搬送指示部246が予め設定された関数に基づいてロール紙11の残量値に応じた搬送速度をプリンタ240に対して設定するように構成することも可能である。   Note that the relationship between the remaining amount value X and the conveyance speed Y may be based on a function as shown in the graph of FIG. 3B in addition to the relationship based on FIG. That is, when the remaining amount value is received from the printer 240, the conveying instruction unit 246 is configured to set the conveying speed corresponding to the remaining amount value of the roll paper 11 to the printer 240 based on a preset function. Is also possible.

このように、本実施形態のプリンタシステム100は、ホストコンピュータ220からの残量値送信要求コマンドに応じて、プリンタ240がその時点のロール紙残量値Xを返すように構成されている。また、ロール紙残量値Xに応じた搬送速度Yがホストコンピュータ220側で求められ、求められた搬送速度Yが搬送速度設定コマンドによってプリンタ240に設定されるようになっている。このため、プリンタ240側はロール紙がどのような残量値になった場合でも、その残量値に応じた適切な搬送速度で印刷を実行するので、印刷品質を維持しつつ印刷処理の高速化を実現することが可能である。   As described above, the printer system 100 according to the present embodiment is configured such that the printer 240 returns the roll paper remaining amount value X at that time in response to the remaining amount value transmission request command from the host computer 220. Further, the conveyance speed Y corresponding to the roll paper remaining amount value X is obtained on the host computer 220 side, and the obtained conveyance speed Y is set in the printer 240 by a conveyance speed setting command. For this reason, the printer 240 performs printing at an appropriate conveyance speed corresponding to the remaining amount value regardless of the remaining amount value of the roll paper, so that the printing process can be performed at high speed while maintaining the print quality. Can be realized.

また、本実施形態のプリンタシステム1において、ホストコンピュータ220にロール紙に印刷を行うプリンタが複数台接続された場合には、各プリンタのロール紙の残量値をホストコンピュータ220側で管理することも可能である。すなわち、1台のホストコンピュータ220で複数のプリンタに対し、それぞれのロール紙残量値に応じた搬送速度によってロール紙を搬送するよう指示することができる。また、ホストコンピュータ220に接続された全てのプリンタからロール紙残量値を取得して、それぞれのプリンタのロール紙交換時期を把握することもできるため、予めロール紙を準備しておくなどの対応をとることが可能である。   In the printer system 1 of the present embodiment, when a plurality of printers that print on roll paper are connected to the host computer 220, the remaining amount value of the roll paper of each printer is managed on the host computer 220 side. Is also possible. In other words, a single host computer 220 can instruct a plurality of printers to transport roll paper at a transport speed corresponding to each roll paper remaining value. In addition, since the roll paper remaining value can be acquired from all the printers connected to the host computer 220 and the roll paper replacement time of each printer can be grasped, it is possible to prepare roll paper in advance. It is possible to take

本実施形態のプリンタの二つの前面カバーを開いて内部を示した外観斜視図である。It is the external appearance perspective view which opened the two front covers of the printer of this embodiment, and showed the inside. 本実施形態のプリンタの内部処理を示した機能ブロック図である。It is a functional block diagram showing internal processing of the printer of the present embodiment. (a)はロール紙残量値とロール紙搬送速度の相関関係を示した図である。(b)はロール紙残量値とロール紙搬送速度の別の相関関係を示した図である。(A) is the figure which showed the correlation of roll paper residual amount value and roll paper conveyance speed. (B) is a diagram showing another correlation between the remaining amount of roll paper and the roll paper conveyance speed. 本実施形態のプリンタにおけるロール紙搬送処理を説明するためのフローチャートである。6 is a flowchart for explaining roll paper conveyance processing in the printer according to the embodiment. 本実施形態のプリンタシステムにおけるホストコンピュータ及びプリンタの内部処理を示したブロック図である。FIG. 3 is a block diagram illustrating internal processing of a host computer and a printer in the printer system of the present embodiment. 本実施形態のプリンタシステムにおけるロール紙搬送処理を説明するためのフローチャートである。6 is a flowchart for explaining roll paper conveyance processing in the printer system of the embodiment. (a)図は従来のBand印刷プリンタに期待される印刷結果である。(b)図は従来のBand印刷プリンタよって得られた印刷結果である。FIG. 4A shows a printing result expected for a conventional Band printing printer. FIG. 4B shows a printing result obtained by a conventional Band printing printer.

符号の説明Explanation of symbols

220 ホストコンピュータ
221 残量値取得部
222 搬送速度記憶部
223 搬送指示部
224 送受信部
240 プリンタ
243 搬送制御部
245 印刷制御部
246 用紙搬送機構
247 印刷機構
306 残量値算出部
307 情報記憶部
309 送信部

220 Host computer 221 Remaining value acquisition unit 222 Conveyance speed storage unit 223 Conveyance instruction unit 224 Transmission / reception unit 240 Printer 243 Conveyance control unit 245 Print control unit 246 Paper conveyance mechanism 247 Printing mechanism 306 Remaining value calculation unit 307 Information storage unit 309 Transmission Part

Claims (6)

長尺の印刷媒体を送り出しながら搬送経路に沿って搬送する印刷媒体搬送機構と、
印刷ジョブに応じて、前記印刷媒体に画像の印刷を行う印刷機構と、を備えたプリンタであって、
前記印刷媒体の全長及び前記印刷媒体の搬送量に基づき前記印刷媒体の残量値を算出する残量値算出部と、
前記残量値に応じた搬送速度で前記印刷媒体を搬送するよう前記印刷媒体搬送機構に指示する搬送制御部と、を有することを特徴とするプリンタ。
A print medium transport mechanism for transporting along a transport path while sending out a long print medium;
A printer having a printing mechanism for printing an image on the print medium according to a print job,
A remaining amount calculation unit that calculates a remaining amount value of the print medium based on a total length of the print medium and a conveyance amount of the print medium;
And a conveyance control unit that instructs the print medium conveyance mechanism to convey the print medium at a conveyance speed according to the remaining amount value.
前記プリンタには前記残量値に応じた複数の搬送速度が設定され、
前記搬送制御部は、前記残量値に応じた複数の搬送速度を不連続的に変更することを特徴とする請求項1に記載のプリンタ。
The printer is set with a plurality of conveyance speeds according to the remaining amount value,
The printer according to claim 1, wherein the conveyance control unit discontinuously changes a plurality of conveyance speeds according to the remaining amount value.
長尺の印刷媒体を送り出しながら搬送経路に沿って搬送する印刷媒体搬送機構と、
印刷ジョブに応じて、前記印刷媒体に画像の印刷を行う印刷機構と、を備えたプリンタの制御方法であって、
前記印刷媒体の全長及び前記印刷媒体の搬送量に基づき前記印刷媒体の残量値を算出し、
前記残量値に応じた搬送速度で前記印刷媒体を搬送するよう前記印刷媒体搬送機構に指示することを特徴とするプリンタの制御方法。
A print medium transport mechanism for transporting along a transport path while sending out a long print medium;
A printer control method comprising: a printing mechanism that prints an image on the print medium according to a print job,
Calculate the remaining amount of the print medium based on the total length of the print medium and the transport amount of the print medium,
A method for controlling a printer, comprising: instructing the print medium transport mechanism to transport the print medium at a transport speed according to the remaining amount value.
前記プリンタには前記残量値に応じた複数の搬送速度が設定され、
前記残量値に応じた複数の搬送速度を不連続的に変更することを特徴とする請求項3に記載のプリンタの制御方法。
The printer is set with a plurality of conveyance speeds according to the remaining amount value,
4. The printer control method according to claim 3, wherein a plurality of conveyance speeds corresponding to the remaining amount value are discontinuously changed.
ホストコンピュータと、
前記ホストコンピュータと通信可能に接続され、該ホストコンピュータからの指示に応じて長尺の印刷媒体に印刷を行うプリンタと、を備えたプリンタシステムであって、
前記プリンタは、前記印刷媒体の全長及び前記印刷媒体の搬送量に基づき前記印刷媒体の残量値を算出する残量値算出部と、前記残量値を前記ホストコンピュータに送信する送信部と、を有し、
前記ホストコンピュータは、前記送信部によって送信された前記残量値に基づき、該残量値に応じた前記印刷媒体の搬送速度を求め、該搬送速度にしたがって前記印刷媒体を搬送するよう前記プリンタに搬送指示し、
前記プリンタは、前記ホストコンピュータからの前記搬送指示に応じて前記印刷媒体を搬送することを特徴とするプリンタシステム。
A host computer;
A printer system that includes a printer that is communicably connected to the host computer and that prints on a long print medium in accordance with an instruction from the host computer,
The printer includes a remaining amount value calculation unit that calculates a remaining amount value of the print medium based on a total length of the print medium and a conveyance amount of the print medium, a transmission unit that transmits the remaining amount value to the host computer, Have
The host computer obtains a conveyance speed of the print medium according to the remaining amount value based on the remaining amount value transmitted by the transmission unit, and causes the printer to convey the print medium according to the conveyance speed. Instruct the transport,
The printer system according to claim 1, wherein the printer transports the print medium in response to the transport instruction from the host computer.
前記ホストコンピュータには前記残量値に応じた複数の搬送速度が設定され、
前記プリンタは、前記搬送指示に応じて前記複数の搬送速度を不連続的に変更することを特徴とする請求項5に記載のプリンタシステム。

The host computer is set with a plurality of conveyance speeds according to the remaining amount value,
The printer system according to claim 5, wherein the printer discontinuously changes the plurality of transport speeds according to the transport instruction.

JP2006064909A 2006-03-09 2006-03-09 Printer, method for controlling printer, and printer system Pending JP2007237616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006064909A JP2007237616A (en) 2006-03-09 2006-03-09 Printer, method for controlling printer, and printer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006064909A JP2007237616A (en) 2006-03-09 2006-03-09 Printer, method for controlling printer, and printer system

Publications (1)

Publication Number Publication Date
JP2007237616A true JP2007237616A (en) 2007-09-20

Family

ID=38583608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006064909A Pending JP2007237616A (en) 2006-03-09 2006-03-09 Printer, method for controlling printer, and printer system

Country Status (1)

Country Link
JP (1) JP2007237616A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009298027A (en) * 2008-06-13 2009-12-24 Canon Inc Control method of image formation apparatus and image formation apparatus
JP2012116084A (en) * 2010-11-30 2012-06-21 Brother Industries Ltd Printer
JP2014054770A (en) * 2012-09-12 2014-03-27 Seiko I Infotech Inc Image forming apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000071583A (en) * 1998-08-28 2000-03-07 Seiko Epson Corp Printer
JP2004202990A (en) * 2002-12-26 2004-07-22 Sato Corp Printer and method of printing
JP2005219406A (en) * 2004-02-06 2005-08-18 Fuji Photo Film Co Ltd Roll printer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000071583A (en) * 1998-08-28 2000-03-07 Seiko Epson Corp Printer
JP2004202990A (en) * 2002-12-26 2004-07-22 Sato Corp Printer and method of printing
JP2005219406A (en) * 2004-02-06 2005-08-18 Fuji Photo Film Co Ltd Roll printer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009298027A (en) * 2008-06-13 2009-12-24 Canon Inc Control method of image formation apparatus and image formation apparatus
JP2012116084A (en) * 2010-11-30 2012-06-21 Brother Industries Ltd Printer
JP2014054770A (en) * 2012-09-12 2014-03-27 Seiko I Infotech Inc Image forming apparatus

Similar Documents

Publication Publication Date Title
US6827418B2 (en) Printing apparatus for controlling print according to printing media
EP2397338B1 (en) Image forming apparatus
JP3630127B2 (en) Printing system, printer host and printer driver
JP4843830B2 (en) Printer and print control method
JP2009040007A (en) Image recorder
JP6981107B2 (en) Printing device and control method of printing device
US7922409B2 (en) Printer and printer control method
JP5188186B2 (en) Cartridge and printer device
JP4775278B2 (en) Operation control device, electronic device, operation control method, and program
JP6245971B2 (en) Print control apparatus, print control method, and program
WO2000058102A1 (en) Printer
JP2007237616A (en) Printer, method for controlling printer, and printer system
US20180111397A1 (en) Printer and control method of a printer
JP2007253361A (en) Printer, method for controlling printer and printer system
JP2010173224A (en) Image forming device
US10536597B2 (en) Printing apparatus and control method
EP1403082B1 (en) Apparatus having a printing function
JP6834273B2 (en) Serial recording device
US10744800B2 (en) Print data generating device, printing device, print data generating method, and program
JP4962240B2 (en) Printing device
JP2007136952A (en) Image forming apparatus
JP6939130B2 (en) Printing device and control method
JP5482431B2 (en) Information processing apparatus, information processing method, and program thereof
JP5095651B2 (en) Printing device
JP2006289717A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110816