JP2016055605A - Printing device and method for controlling printing device - Google Patents

Printing device and method for controlling printing device Download PDF

Info

Publication number
JP2016055605A
JP2016055605A JP2014186292A JP2014186292A JP2016055605A JP 2016055605 A JP2016055605 A JP 2016055605A JP 2014186292 A JP2014186292 A JP 2014186292A JP 2014186292 A JP2014186292 A JP 2014186292A JP 2016055605 A JP2016055605 A JP 2016055605A
Authority
JP
Japan
Prior art keywords
unit
processing
command
image data
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014186292A
Other languages
Japanese (ja)
Inventor
友晴 貴福
Tomoharu Kifuku
友晴 貴福
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 JP2014186292A priority Critical patent/JP2016055605A/en
Publication of JP2016055605A publication Critical patent/JP2016055605A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printing device that can make first print time shorter and speed up a response to a host device while securing continuity of printing, and a method for controlling the same.SOLUTION: The printing device comprises a command analysing portion that analyses a received command, a drawing portion that generates image data on the basis of the analysed command, and a print executing portion that executes print processing according to the image data. The command analysing portion controls processing timing and processing time of the drawing portion.SELECTED DRAWING: Figure 3

Description

本発明は、印刷の連続性を確保しつつ、ファーストプリントの早期化とホスト装置への応答の迅速化を図ることのできる印刷装置及びその制御方法に関する。   The present invention relates to a printing apparatus capable of accelerating first printing and speeding up a response to a host apparatus while ensuring continuity of printing, and a control method therefor.

従来、長尺の用紙に剥離可能に複数形成されたラベルに対して連続して印刷を行うプリンターが用いられる。当該プリンターでは、ホスト装置からのコマンドの受信、受信したコマンドの解析、当該解析結果に従った画像データの生成(展開)、及び、画像データの印刷エンジンへの転送の処理が、上流から下流の処理へ順次、実行される。   2. Description of the Related Art Conventionally, a printer that continuously prints on a plurality of labels formed on a long sheet so as to be peelable is used. In the printer, the processes of receiving a command from the host device, analyzing the received command, generating (developing) image data according to the analysis result, and transferring the image data to the print engine are performed from upstream to downstream. Sequentially executed to processing.

また、かかるプリンターには、制御部を簡素なハードウェア構成とするため、上述した印刷エンジンへの転送以外の処理を、1つのCPUで行い、その際に、上流の処理を優先して実行するものがある。   In addition, since the control unit has a simple hardware configuration in such a printer, processing other than the above-described transfer to the print engine is performed by one CPU, and upstream processing is preferentially executed at that time. There is something.

なお、関連する技術として、下記特許文献1には、プリントエンジン(印刷エンジン)のスループットを落とさずに連続したページの印刷を行う印刷装置の発明について記載されている。当該文献には、プリントエンジンの起動を次のデータ処理時間に基づいて遅延させることなどが記載されている。   As a related technique, Patent Document 1 described below describes an invention of a printing apparatus that prints continuous pages without reducing the throughput of a print engine (print engine). The document describes delaying the start of the print engine based on the next data processing time.

特開2007−69357号公報JP 2007-69357 A

上述した上流の処理を優先して実行するプリンターの場合、印刷要求された画像データの生成処理は、その上流の処理であるコマンドの解析までの処理が全て終了しないと開始されないため、ホスト装置からの印刷要求後、画像データが生成されるまでに時間を要し、ファーストプリント(印刷要求後の最初の印刷出力)が遅くなってしまうという課題がある。   In the case of a printer that preferentially executes the upstream processing described above, the generation processing of the image data requested for printing is not started until all processing up to the command analysis that is upstream processing is completed. After the print request, there is a problem that it takes time until the image data is generated, and the first print (first print output after the print request) is delayed.

また、かかるプリンターにおいては、複数のラベル等に対する連続印刷の装置であるので、印刷要求した印刷物が連続して印刷されずに途中で中断してしまうことは、ユーザーの作業性に対して好ましくない。従って、印刷の連続性を確保したいという要求がある。   In addition, since such a printer is an apparatus for continuous printing on a plurality of labels, it is not preferable for the user's workability that the printed matter requested to be printed is not continuously printed and interrupted in the middle. . Therefore, there is a demand for ensuring continuity of printing.

更に、当該プリンターにおいては、受信したコマンドの中にホスト装置への応答を必要とするものが含まれ、コマンド解析の処理を長く止めてしまうとホスト装置への応答性が遅くなるという問題がある。応答性が遅くなると、コマンドを受信可能であることをホスト装置へ通知するタイミングが遅くなり、これにより、ホスト装置からのコマンドの受信が遅くなるという問題がある。   In addition, the printer includes a command that requires a response to the host device in the received command, and if the command analysis process is stopped for a long time, the response to the host device becomes slow. . When the responsiveness is delayed, there is a problem in that the timing for notifying the host device that the command can be received is delayed, thereby delaying the reception of the command from the host device.

なお、上記特許文献1に記載の提案では、プリントエンジンの動作の連続性は保たれるものの、上述した全ての課題を解決する手段は示していない。   The proposal described in Patent Document 1 does not show means for solving all the above-mentioned problems, although the continuity of the operation of the print engine is maintained.

そこで、本発明の目的は、印刷の連続性を確保しつつ、ファーストプリントの早期化とホスト装置への応答の迅速化を図ることのできる印刷装置及びその制御方法を提供することである。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a printing apparatus and a control method for the printing apparatus that can speed up the first print and speed up the response to the host apparatus while ensuring the continuity of printing.

上記の目的を達成するために、本発明の一つの側面は、印刷装置が、受信したコマンドを解析するコマンド解析部と、解析された前記コマンドに基づいて画像データを生成する描画部と、前記画像データに従って印刷処理を実行する印刷実行部と、を備え、前記コマンド解析部は、前記描画部の処理タイミングと処理時間を制御する、ことである。   In order to achieve the above object, according to one aspect of the present invention, there is provided a command analysis unit for analyzing a received command by a printing apparatus, a drawing unit for generating image data based on the analyzed command, A print execution unit that executes print processing according to image data, and the command analysis unit controls processing timing and processing time of the drawing unit.

更に、上記の発明において、その一つの好ましい態様は、前記コマンド解析部は、第1の処理期間、前記コマンドの解析処理を行い、前記描画部は、前記処理タイミングと処理時間で決まる第2の処理期間、前記画像データの生成処理を行い、前記第1の処理期間と前記第2の処理期間は異なる期間である、ことを特徴とする。   Furthermore, in the above-described invention, one preferable aspect thereof is that the command analysis unit performs the command analysis processing for a first processing period, and the drawing unit determines the second timing determined by the processing timing and processing time. The image data generation processing is performed during a processing period, and the first processing period and the second processing period are different periods.

更に、上記の発明において、その一つの好ましい態様は、周期的に前記コマンド解析部の処理と前記描画部の処理を切り替える、ことを特徴とする。   Furthermore, in the above invention, one preferable aspect thereof is characterized in that the processing of the command analysis unit and the processing of the drawing unit are periodically switched.

また、上記の発明において、その一つの好ましい態様は、更に、前記生成された画像データを蓄積する画像データ蓄積部を備え、前記描画部の処理時間は、前記画像データ蓄積部の前記画像データの量によって決定される、ことを特徴とする。   Moreover, in the above invention, one preferable aspect thereof further includes an image data storage unit for storing the generated image data, and the processing time of the drawing unit is the time of the image data of the image data storage unit. It is determined by the quantity.

更に、上記の発明において、その一つの好ましい態様は、更に、前記生成された画像データを前記印刷実行部に転送する転送部を備え、前記転送部は、最初の前記コマンドの受信から、所定時間経過後に転送処理を開始する、ことを特徴とする。   Furthermore, in the above-described invention, one preferable aspect thereof further includes a transfer unit that transfers the generated image data to the print execution unit, and the transfer unit receives a predetermined time from the first reception of the command. A transfer process is started after elapse of time.

更に、上記の発明において、その一つの好ましい態様は、前記転送部は、印刷速度に対応した所定周期で、前記画像データを前記印刷実行部に転送する、ことを特徴とする。   Furthermore, in the above invention, one preferable aspect thereof is characterized in that the transfer unit transfers the image data to the print execution unit at a predetermined cycle corresponding to a printing speed.

更に、上記の発明において、その一つの好ましい態様は、ラインインクジェットヘッドにより、複数のラベルに連続して印刷を実行する、ことを特徴とする。   Furthermore, in the above-mentioned invention, one preferable aspect thereof is characterized in that printing is continuously performed on a plurality of labels by a line inkjet head.

上記の目的を達成するために、本発明の別の側面は、画像データに従って印刷処理を実行する印刷実行部と、受信したコマンドを解析するコマンド解析部と、解析された前記コマンドに基づいて前記画像データを生成する描画部と、を備える印刷装置の制御方法において、前記コマンド解析部によって、前記描画部の処理タイミングと処理時間を制御する、ことである。   In order to achieve the above object, another aspect of the present invention provides a print execution unit that executes a printing process according to image data, a command analysis unit that analyzes a received command, and the command based on the analyzed command. In the control method of a printing apparatus including a drawing unit that generates image data, the command analysis unit controls processing timing and processing time of the drawing unit.

本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。   Further objects and features of the present invention will become apparent from the embodiments of the invention described below.

本発明を適用した印刷装置の実施の形態例に係る外観図である。1 is an external view according to an embodiment of a printing apparatus to which the present invention is applied. 本発明を適用し印刷装置の内部構造を示す上面図である。1 is a top view illustrating an internal structure of a printing apparatus to which the present invention is applied. 本プリンター2の機能構成図である。2 is a functional configuration diagram of the printer 2. FIG. 印刷コマンド受信時の処理手順を例示したフローチャートである。6 is a flowchart illustrating a processing procedure when a print command is received. 受信部211、コマンド解析部213、及び描画部215の処理タイミングを例示したタイムチャートである。6 is a time chart illustrating processing timings of a reception unit 211, a command analysis unit 213, and a drawing unit 215. コマンド解析部213における処理手順を例示したフローチャートである。5 is a flowchart illustrating a processing procedure in a command analysis unit 213.

以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。   Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.

図1は、本発明を適用した印刷装置の実施の形態例に係る外観図である。また、図2は、当該印刷装置の内部構造を示す上面図である。図1に示すプリンター2が本実施の形態例に係る印刷装置であり、当該印刷措置では、受信したコマンドを解析する処理と解析されたコマンドに従って画像データを生成する処理を所定のタイミングで切り替え、さらに、生成された画像データを印刷実行部22(図3を参照)に転送する処理を遅延させることにより、ホスト装置からの印刷要求後の印刷開始時期を早期化(ファーストプリントの早期化)、印刷の連続性の確保、及び、ホスト装置(図3のホストコンピューター1)への応答の迅速化を図る。   FIG. 1 is an external view according to an embodiment of a printing apparatus to which the present invention is applied. FIG. 2 is a top view showing the internal structure of the printing apparatus. The printer 2 shown in FIG. 1 is a printing apparatus according to the present embodiment. In the printing measure, a process for analyzing a received command and a process for generating image data according to the analyzed command are switched at a predetermined timing. Further, by delaying the process of transferring the generated image data to the print execution unit 22 (see FIG. 3), the print start time after the print request from the host device is advanced (early first print), Ensuring continuity of printing and speeding up the response to the host device (host computer 1 in FIG. 3).

本プリンター2は、一例として、ホストコンピューター1(図3を参照)から送信されるコマンドに基づいてラベルに印刷を行う、ラインインクジェットプリンターである。本プリンター2は、図1に示すような筐体3を備え、その前面3aには排紙口4が備えられる。当該排紙口4から、印刷済みのラベルが排紙される。また、図1に示されるように、プリンター2は、ユーザー操作のための操作パネル5と表示部6を備える。   As an example, the printer 2 is a line inkjet printer that performs printing on a label based on a command transmitted from the host computer 1 (see FIG. 3). The printer 2 includes a housing 3 as shown in FIG. 1, and a paper discharge port 4 is provided on the front surface 3a thereof. A printed label is discharged from the paper discharge port 4. As shown in FIG. 1, the printer 2 includes an operation panel 5 and a display unit 6 for user operations.

また、図2に示されるように、プリンター2は、その内部に、印刷媒体である用紙Sの紙案内部220と印刷部223を備える。用紙Sは、長尺のロール紙としてプリンター2内に収容され、図2に示すように、長尺のロール紙は、複数のラベル紙Rが台紙Dに剥離可能に貼付されたものである。また、用紙Sは、図2の矢印Fで示す方向に上流から下流へ搬送される。プリンター2は、用紙Sの幅方向の両側に、側方紙案内部221を備える。   Further, as shown in FIG. 2, the printer 2 includes a paper guide unit 220 and a printing unit 223 for the paper S that is a printing medium. The paper S is accommodated in the printer 2 as a long roll paper. As shown in FIG. 2, the long roll paper is obtained by affixing a plurality of label papers R to the mount D in a detachable manner. Further, the sheet S is conveyed from upstream to downstream in the direction indicated by the arrow F in FIG. The printer 2 includes side paper guides 221 on both sides of the paper S in the width direction.

印刷部223には、用紙Sの下方に配置されるプラテン224と用紙Sの上方に配置されるキャリッジ225が対峙して設けられる。キャリッジ225には印刷ヘッド226が搭載され、印刷ヘッド(インクジェットヘッド)226には、各色のヘッドユニット226が設けられる。本プリンター2では、一例として、CMYK(シアン、マゼンタ、イエロー、ブラック)の4色のインクを用いて印刷を行うため、シアンヘッドユニット226c、マゼンタヘッドユニット226m、イエローヘッドユニット226y、及び、ブラックヘッドユニット226kが設けられる。   The printing unit 223 is provided with a platen 224 disposed below the sheet S and a carriage 225 disposed above the sheet S. A print head 226 is mounted on the carriage 225, and a head unit 226 for each color is provided on the print head (inkjet head) 226. In this printer 2, as an example, printing is performed using four colors of inks of CMYK (cyan, magenta, yellow, and black). A unit 226k is provided.

本プリンター2では、図2の矢印Fの方向に連続して搬送される用紙Sの各ラベル紙Rに対して印刷部223がインクジェット方式で印刷処理を実行し、印刷後のラベルが上述した排紙口4から排紙される。また、排紙口4の手前には、図2に示すように、カッターユニット222が備えられ、当該カッターユニット222は用紙Sを所定の位置で切断する。   In the printer 2, the printing unit 223 performs a printing process on each label sheet R of the sheet S conveyed continuously in the direction of the arrow F in FIG. The paper is discharged from the paper slot 4. Further, as shown in FIG. 2, a cutter unit 222 is provided in front of the paper discharge port 4, and the cutter unit 222 cuts the paper S at a predetermined position.

図3は、本プリンター2の機能構成図である。図3に示すように、プリンター2は、そのホスト装置であるホストコンピューター1から送信されるコマンドに基づいて印刷を実行する。ホストコンピューター1は、プリンター2と通信可能に接続されるコンピューターであり、印刷を行うラベルの内容を作成するアプリケーション、当該アプリケーションからの指示等に従って上記コマンドを生成するプリンタードライバー等を備える。   FIG. 3 is a functional configuration diagram of the printer 2. As shown in FIG. 3, the printer 2 executes printing based on a command transmitted from the host computer 1 that is the host device. The host computer 1 is a computer that is communicably connected to the printer 2 and includes an application that creates the contents of a label to be printed, a printer driver that generates the command in accordance with instructions from the application, and the like.

また、ホストコンピューター1から送信されるコマンドには、ラベルの印刷内容のデータを含んだ、印刷を指示する印刷コマンドのほかに、プリンター2からの応答を要求する各種の制御コマンドが含まれる。制御コマンドには、例えば、ホストコンピューター1からプリンター2へデータ送信を行ってもよいか否かを問う送信可否確認コマンドなどがある。この送信可否確認コマンドは、例えば、ラベル1枚分の印刷コマンド(ラベル紙R1枚分のデータを含む)毎に、その印刷コマンドの送信前に送られ、プリンター2への送信が可能であるか否かが確認される。   The command transmitted from the host computer 1 includes various control commands for requesting a response from the printer 2 in addition to the print command for instructing printing including the data of the label print contents. The control command includes, for example, a transmission permission confirmation command for inquiring whether data transmission from the host computer 1 to the printer 2 may be performed. This transmission permission confirmation command is sent, for example, for each print command for one label (including data for one label paper R) before transmission of the print command, and is it possible to transmit to the printer 2? It is confirmed whether or not.

本プリンター2は、図3に示すように、その機能構成として、コントローラー21と印刷実行部22を備える。   As illustrated in FIG. 3, the printer 2 includes a controller 21 and a print execution unit 22 as functional configurations.

コントローラー21は、プリンター2の装置全体を制御する部分であり、図示していないが、CPU、RAM、ROM、NVRAM、ASIC等で構成される。   The controller 21 is a part that controls the entire apparatus of the printer 2 and is configured by a CPU, a RAM, a ROM, an NVRAM, an ASIC, and the like (not shown).

コントローラー21は、図3に示すように、機能構成として、受信部211、受信バッファー212、コマンド解析部213、コマンド蓄積部214、描画部215、画像データ蓄積部216、及び転送部217を備える。   As shown in FIG. 3, the controller 21 includes a reception unit 211, a reception buffer 212, a command analysis unit 213, a command storage unit 214, a drawing unit 215, an image data storage unit 216, and a transfer unit 217 as functional configurations.

受信部211は、ホストコンピューター1から送信される上述したコマンドを受信し、受信したコマンドを受信バッファー212に記憶(格納)する部分である。   The reception unit 211 is a part that receives the above-described command transmitted from the host computer 1 and stores (stores) the received command in the reception buffer 212.

受信バッファー212は、受信部211が受信したコマンド等を一時的に保持するデータ蓄積部である。ここの空き容量が少なくなった場合には、データの受信ができない旨の通知が、上述した送信可否確認コマンドの応答として、ホストコンピューター1に送信される。   The reception buffer 212 is a data storage unit that temporarily holds commands received by the reception unit 211. When the free space is reduced, a notification that data cannot be received is transmitted to the host computer 1 as a response to the above-described transmission permission confirmation command.

次に、コマンド解析部213は、上記受信したコマンドを解析する部分である。具体的には、ホストコンピューター1から送信されるコマンドは通信のためにコード化されているので、コマンド解析部213は、そのコード化されたコマンドを復号し、印刷コマンドについては、復号したコマンドをコマンド蓄積部216に記憶(格納)する。   Next, the command analysis unit 213 is a part that analyzes the received command. Specifically, since the command transmitted from the host computer 1 is coded for communication, the command analysis unit 213 decodes the coded command, and for the print command, the decoded command is used. Store (store) in the command storage unit 216.

また、制御コマンドについては、復号したコマンドに応じた処理を実行する。制御コマンドが、上述した送信可否確認コマンドである場合には、受信バッファー212の空き容量をチェックし、その結果に応じてホストコンピューター1に対する応答を行う。   For the control command, processing corresponding to the decoded command is executed. When the control command is the above-described transmission enable / disable confirmation command, the free capacity of the reception buffer 212 is checked, and a response to the host computer 1 is made according to the result.

コマンド蓄積部214は、上記復号された印刷コマンドを一時的に保持するデータ蓄積部である。   The command storage unit 214 is a data storage unit that temporarily holds the decoded print command.

次に、描画部215は、コマンド蓄積部214の印刷コマンドに従って、印刷するラベルの画像データを生成する部分である。生成する画像データは、各画素が各色(例えば、R(レッド)G(グリーン)B(ブラック))の階調値を有するデータであり、描画部215では、いわゆる展開処理(描画処理)がなされる。そして、描画部215は、生成した画像データを画像データ蓄積部216に記憶(格納)する。   Next, the drawing unit 215 is a part that generates image data of a label to be printed in accordance with the print command of the command storage unit 214. The image data to be generated is data in which each pixel has a gradation value of each color (for example, R (red) G (green) B (black)), and the rendering unit 215 performs so-called development processing (rendering processing). The The drawing unit 215 stores (stores) the generated image data in the image data storage unit 216.

画像データ蓄積部216は、上記生成された画像データを一時的に保持するデータ蓄積部である。   The image data storage unit 216 is a data storage unit that temporarily holds the generated image data.

次に、転送部217は、画像データ蓄積部216の画像データを印刷実行部22に転送する、印刷実行部22とのインターエースを構成する部分である。転送部217は、印刷速度に対応した所定周期で、画像データを印刷実行部22に転送する。具体的には、転送部217は、画像データ蓄積部216から読み出したデータに色変換処理等を加え、印刷実行部22が処理可能なデータとして印刷実行部22へ送信する。なお、色変換処理は、RGBの色空間で表現された画像データを、インク色であるCMYKの色空間で表現された画像データに変換する処理である。   Next, the transfer unit 217 constitutes an interface with the print execution unit 22 that transfers the image data stored in the image data storage unit 216 to the print execution unit 22. The transfer unit 217 transfers the image data to the print execution unit 22 at a predetermined cycle corresponding to the printing speed. Specifically, the transfer unit 217 adds color conversion processing or the like to the data read from the image data storage unit 216 and transmits the data to the print execution unit 22 as data that can be processed by the print execution unit 22. The color conversion process is a process of converting image data expressed in the RGB color space into image data expressed in the CMYK color space that is the ink color.

なお、上述した受信部211、コマンド解析部213、及び、描画部215は、処理内容を記述したプログラム、当該プログラムに従って処理を実行するCPU、RAM等によって構成される。また、受信バッファー212、コマンド蓄積部214、及び、画像データ蓄積部216は、RAM等のメモリーで構成される。また、転送部217は、ASIC等で構成される。   The reception unit 211, the command analysis unit 213, and the drawing unit 215 described above are configured by a program describing processing contents, a CPU that executes processing according to the program, a RAM, and the like. The reception buffer 212, the command storage unit 214, and the image data storage unit 216 are configured by a memory such as a RAM. The transfer unit 217 is configured by an ASIC or the like.

また、受信部211、コマンド解析部213、及び、描画部215は、1つのCPUで動作し、各部を同時に並行して処理を実行させることは難しく、実現するには複雑な構成となる。すなわち、本実施形態では、一つの部分が動作している間は、他の部分は動作しない。なお、転送部217が、ASICで構成され、上記の各部とは同時に並行して処理が実行できる。次に、印刷実行部22は、コントローラー21の指示に従って印刷媒体(用紙S)に対して印刷を実行し、印刷物(ラベル)を出力する部分である。印刷実行部22は、印刷部223と搬送部を備え、印刷部223は、上述した印刷ヘッド226、それを搭載するキャリッジ225などを備える。上述した各色のヘッドユニット226は、各色のインクを吐出する複数のノズルを備える。搬送部は、上述した紙案内部220、カッターユニット222のほか、用紙Sを搬送する搬送ローラー機構などを備える。   In addition, the reception unit 211, the command analysis unit 213, and the drawing unit 215 operate with a single CPU, and it is difficult to cause each unit to execute processing in parallel at the same time. That is, in this embodiment, while one part is operating, the other part is not operating. Note that the transfer unit 217 is configured by an ASIC, and can execute processing in parallel with the above-described units. Next, the print execution unit 22 is a part that executes printing on the print medium (paper S) in accordance with an instruction from the controller 21 and outputs a printed matter (label). The print execution unit 22 includes a printing unit 223 and a conveyance unit. The printing unit 223 includes the above-described print head 226, a carriage 225 on which the print head 226 is mounted, and the like. The above-described head unit 226 for each color includes a plurality of nozzles that eject ink of each color. In addition to the paper guide unit 220 and the cutter unit 222 described above, the transport unit includes a transport roller mechanism that transports the paper S.

以上説明したような構成を有する本プリンター2は、以下のように処理を実行する。図4は、印刷コマンドの受信時の処理手順を例示したフローチャートである。まず、図4に従って、1単位(例えば、1ラベル分)の印刷コマンドがどのような手順で処理されるかを説明する。   The printer 2 having the configuration as described above executes processing as follows. FIG. 4 is a flowchart illustrating a processing procedure when a print command is received. First, according to FIG. 4, a procedure for processing a print command for one unit (for example, one label) will be described.

上述の通り、ホストコンピューター1から送信された印刷コマンドは、受信部211によって受信され(図4のステップS1)、順次、受信バッファー212に記憶される。その後、記憶された印刷コマンドは、コマンド解析部213によって読み出され、復号化(解析)される(図4のステップS2)。復号化された印刷コマンドは、順次、コマンド蓄積部214に記憶される。   As described above, the print command transmitted from the host computer 1 is received by the reception unit 211 (step S1 in FIG. 4) and is sequentially stored in the reception buffer 212. Thereafter, the stored print command is read and decoded (analyzed) by the command analysis unit 213 (step S2 in FIG. 4). The decrypted print commands are sequentially stored in the command storage unit 214.

その後、復号化され記憶された印刷コマンドは、描画部215によって読み出され、展開処理が施される。すなわち、描画部215は、読み出した印刷コマンドに従って上記画像データを生成する(図4のステップS3)。生成された画像データは、画像データ蓄積部216に記憶される。   Thereafter, the decrypted and stored print command is read out by the drawing unit 215 and subjected to a development process. That is, the drawing unit 215 generates the image data according to the read print command (step S3 in FIG. 4). The generated image data is stored in the image data storage unit 216.

次に、記憶された画像データは、転送部217によって読み出され、上述した転送部217の各処理を実行されて、印刷実行部22に転送される(図4のステップS4)。   Next, the stored image data is read by the transfer unit 217, and each process of the transfer unit 217 described above is executed and transferred to the print execution unit 22 (step S4 in FIG. 4).

その後、転送された画像データに従って、印刷実行部22が動作し、用紙Sに印刷処理が実行される(図4のステップS5)。すなわち、ラベル紙Rにラベルが印刷される。   Thereafter, the print execution unit 22 operates according to the transferred image data, and print processing is executed on the paper S (step S5 in FIG. 4). That is, a label is printed on the label paper R.

このような手順で1ラベルについての印刷がなされる。   Printing for one label is performed in such a procedure.

次に、受信部211、コマンド解析部213、及び描画部215の処理タイミングについて説明する。上述の通り、これらの各部は同時に処理を実行しないので、処理を行える優先順位が予め定められる。基本的には、従来装置と同様に、上流側の処理が優先して実行されるように、受信部211、コマンド解析部213、描画部215の順で優先順位が高く設計される。すなわち、受信部211に処理対象のデータ(コマンド)が存在すれば、他の部分の状況に関わらず、受信部211が処理を実行する。また、受信部211に処理対象がない場合には、受信部211は休止して、コマンド解析部213に処理を渡し、コマンド解析部213に処理対象コマンドが存在すれば、描画部215の状況に関わらず、コマンド解析部213が処理を実行する。また、受信部211及びコマンド解析部213に処理対象が存在しない時には、受信部211及びコマンド解析部213は休止し、描画部215が処理を実行可能となり、処理対象のコマンドが存在すれば処理を実行する。なお、転送部217は、これらとは独立して処理を実行し、基本的には、画像データ蓄積部216に、印刷処理が可能な画像データがあれば処理を実行する。   Next, processing timings of the reception unit 211, the command analysis unit 213, and the drawing unit 215 will be described. As described above, since these units do not execute processing at the same time, a priority order in which processing can be performed is determined in advance. Basically, like the conventional apparatus, the receiving unit 211, the command analysis unit 213, and the drawing unit 215 are designed in the order of high priority so that the upstream processing is executed with priority. That is, if there is data (command) to be processed in the receiving unit 211, the receiving unit 211 executes the process regardless of the situation of other parts. If the receiving unit 211 has no processing target, the receiving unit 211 pauses and passes the processing to the command analysis unit 213, and if there is a processing target command in the command analysis unit 213, the state of the drawing unit 215 is changed. Regardless, the command analysis unit 213 executes processing. Further, when there is no processing target in the receiving unit 211 and the command analysis unit 213, the receiving unit 211 and the command analysis unit 213 are paused, and the drawing unit 215 can execute the processing. If there is a processing target command, the processing is performed. Run. Note that the transfer unit 217 executes processing independently of these, and basically executes processing when there is image data that can be printed in the image data storage unit 216.

このような基本構成の上で、本プリンター2では、コマンド解析部213が、自らが処理すべきコマンドが存在していても所定のタイミングで処理を描画部215に渡すように構成されており、この点が本プリンター2の大きな特徴である。   With this basic configuration, the printer 2 is configured such that the command analysis unit 213 passes the processing to the drawing unit 215 at a predetermined timing even when there is a command to be processed by itself. This is a major feature of the printer 2.

図5は、受信部211、コマンド解析部213、及び描画部215の処理タイミングを例示したタイムチャートである。図5では、ホストコンピューター1からコマンドが順次、プリンター2に送られる場合を示し、それ以前のコマンドの処理は完了しているものとする。図5の(A)は、上述した基本構成だけで動作した場合のタイムチャートである。なお、図5の各部のチャートにおいて、上のレベルが処理(動作)中であることを示し、下のレベルが休止(停止)中であることを示す。   FIG. 5 is a time chart illustrating the processing timing of the reception unit 211, the command analysis unit 213, and the drawing unit 215. FIG. 5 shows a case where commands are sequentially sent from the host computer 1 to the printer 2, and it is assumed that the previous command processing has been completed. FIG. 5A is a time chart in the case of operating with only the basic configuration described above. In the chart of each part of FIG. 5, the upper level indicates that processing (operation) is being performed, and the lower level indicates that it is being paused (stopped).

図5の(A)に示す基本構成では、受信部211が最優先で処理を実行するので、ホストコンピューター1からコマンドが送信されると、タイミングt1で、受信部211が上述した受信処理を開始し、その処理がタイミングt2で終了する。   In the basic configuration shown in FIG. 5A, since the receiving unit 211 executes processing with the highest priority, when a command is transmitted from the host computer 1, the receiving unit 211 starts the above-described receiving processing at timing t1. Then, the process ends at timing t2.

その後、次のコマンドが送信されるまでの間、すなわち、タイミングt2からタイミングt6の間、コマンド解析部213が動作して、受信されたコマンドの上記解析処理を実行する。コマンド解析部213は、コマンドが制御コマンドであり、ホストコンピューター1に応答する必要がある場合には、その応答処理を実行する。   Thereafter, until the next command is transmitted, that is, from the timing t2 to the timing t6, the command analysis unit 213 operates to execute the analysis processing of the received command. When the command is a control command and it is necessary to respond to the host computer 1, the command analysis unit 213 executes a response process.

その後、タイミングt6で、受信部211に処理が戻り、ホストコンピューター1から送信された次のコマンドの受信処理がなされ、タイミングt7で受信処理が終了する。   Thereafter, the process returns to the reception unit 211 at timing t6, the reception process for the next command transmitted from the host computer 1 is performed, and the reception process ends at timing t7.

その後も、同様に、受信部211とコマンド解析部213の処理が実行され、タイミングt12でコマンド解析部213の処理が終了する。   Thereafter, similarly, the processes of the reception unit 211 and the command analysis unit 213 are executed, and the process of the command analysis unit 213 ends at timing t12.

そして、タイミングt12で、コマンドの受信及び受信したコマンドの解析がすべて終了すると、換言すれば、ホストコンピューター1からの送信がなくなり、かつ、受信バッファー212にコマンドがなくなれば、この時点で描画部215に処理が渡り、上述した描画処理が開始される。すなわち、タイミングt12以降に、画像データ蓄積部216に画像データが保持され、タイミングt12の直後に(図5(A)の最下段の矢印に示される期間に)転送部217による印刷実行部22への上記転送処理が可能になる。   At time t12, when the command reception and the analysis of the received command are all completed, in other words, when there is no transmission from the host computer 1 and there is no command in the reception buffer 212, the drawing unit 215 at this time. Then, the drawing process described above is started. That is, after timing t12, the image data is stored in the image data storage unit 216, and immediately after timing t12 (during the period indicated by the bottom arrow in FIG. 5A), to the print execution unit 22 by the transfer unit 217. The above transfer process can be performed.

一方、図5の(B)は、本プリンター2における、すなわち、上述した特徴を実行した場合のタイムチャートの例示である。   On the other hand, FIG. 5B is an example of a time chart in the printer 2, that is, when the above-described feature is executed.

図5の(B)では、タイミングt2までは、図5の(A)の場合と同様に推移し、コマンド解析部213に処理が移るが、その後、コマンド解析部213は、処理の開始後、所定時間(T1、例えば、50ms)が経過したタイミングt3で、処理を休止し、描画部215に所定時間(T2)、処理を渡す。これに従って、描画部215がタイミングt3から処理を実行し、所定時間T2が経過したタイミングt4で処理がコマンド解析部213に戻る。なお、コマンド解析部213は、処理中に制御コマンドを処理した場合には、適宜、ホストコンピューター1への応答処理を実行する。   In (B) of FIG. 5, until timing t <b> 2, the same transition as in the case of (A) of FIG. 5 is performed, and the process moves to the command analysis unit 213, but after that, the command analysis unit 213 starts the process, At a timing t3 when a predetermined time (T1, for example, 50 ms) has elapsed, the processing is paused, and the processing is transferred to the drawing unit 215 for a predetermined time (T2). In accordance with this, the drawing unit 215 executes processing from timing t3, and the processing returns to the command analysis unit 213 at timing t4 when the predetermined time T2 has elapsed. In addition, the command analysis part 213 performs the response process to the host computer 1 suitably, when a control command is processed during the process.

その後、同様に、コマンド解析部213は、自分の処理が完了していなくても、処理を所定時間T1継続した後に、処理を描画部215に渡す。図5の(B)では、コマンド解析部213が所定時間T1、処理を継続したタイミングt5、タイミングt8、タイミングt10などで、処理が描画部215に移る。コマンド解析部213は、処理開始時間(処理タイミング)と処理時間(所定時間T1)で決まる期間(第1の処理期間)、処理を行い、描画部215は、処理開始時間(処理タイミング)と処理時間(所定時間T2)で決まる期間(第2の処理期間)、処理を行う。第1の処理期間と第2の処理期間は異なる期間である。   Thereafter, similarly, the command analysis unit 213 passes the processing to the drawing unit 215 after continuing the processing for a predetermined time T1 even if its processing is not completed. In FIG. 5B, the process moves to the drawing unit 215 at the predetermined time T1, the timing t5 when the processing is continued, the timing t8, the timing t10, and the like. The command analysis unit 213 performs processing for a period (first processing period) determined by the processing start time (processing timing) and the processing time (predetermined time T1), and the drawing unit 215 performs processing start time (processing timing) and processing. Processing is performed for a period (second processing period) determined by time (predetermined time T2). The first processing period and the second processing period are different periods.

このように、本プリンター2の場合には、タイミングt3以降に、画像データ蓄積部216に画像データが保持され、タイミングt3の直後に(図5(B)の最下段の矢印に示される期間に)転送部217による印刷実行部22への上記転送処理が可能になる。   Thus, in the case of the printer 2, the image data storage unit 216 holds the image data after the timing t3, and immediately after the timing t3 (in the period indicated by the bottom arrow in FIG. 5B). ) The above transfer processing to the print execution unit 22 by the transfer unit 217 becomes possible.

従って、図5の(A)に示した基本構成だけで動作させた場合よりも、図5の(B)に示した本プリンター2で動作させた場合の方が、早い時期に印刷実行部22による印刷処理を開始でき、ホストコンピューター1において印刷要求を行った後の最初の印刷出力を早くさせることができる。すなわち、ファーストプリントの早期化を図ることができる。   Accordingly, when the printer 2 shown in FIG. 5B is operated with only the basic configuration shown in FIG. 5A, the print execution unit 22 is earlier. Thus, the first print output after making a print request in the host computer 1 can be accelerated. That is, the first print can be accelerated.

なお、コマンド解析部213が描画部215に処理を渡す所定時間T2は、複数用意され、例えば、図5のように、T3も用意される(例えば、T2=200ms、T3=10ms)。連続印刷性を維持するために、画像データ蓄積部216に蓄積されるデータ量に応じて、これらの時間(T2、T3)を切り替えて用いる。当該処理の詳細については後述する。   A plurality of predetermined times T2 during which the command analysis unit 213 passes the processing to the drawing unit 215 are prepared. For example, as shown in FIG. 5, T3 is also prepared (for example, T2 = 200 ms, T3 = 10 ms). In order to maintain the continuous printability, these times (T2, T3) are switched and used in accordance with the amount of data stored in the image data storage unit 216. Details of this processing will be described later.

また、本プリンター2は、転送部217の処理タイミングについても特徴を有している。具体的には、ホストコンピューター1から印刷要求があり、プリンター2は、その印刷要求についての最初のコマンドの受信から、所定時間(遅延時間)経過した後に転送部217の処理を開始するように構成される。これは、上述した描画部215の動作タイミングンの早期化により、転送部217の動作タイミングも早くなるが、転送部217の方が描画部215よりも処理が速いため、画像データ蓄積部216に蓄積されるデータ量が少くなり、転送部217が転送処理を行うデータが画像データ蓄積部216になくなることを防ぐためである。このような画像データ蓄積部216にデータがなくなると、転送部217による処理が休止し、すなわち、印刷実行部22による印刷処理が中断して印刷の連続性が損なわれてしまう。従って、これを防止するため、本プリンター2は、ファーストプリントの早期化の要求を満たしながら、できるだけ多くの画像データが画像データ蓄積部216に蓄積された後に転送部217の処理が開始されるように構成される。   The printer 2 is also characterized by the processing timing of the transfer unit 217. Specifically, there is a print request from the host computer 1, and the printer 2 is configured to start the processing of the transfer unit 217 after a predetermined time (delay time) has elapsed since the reception of the first command for the print request. Is done. This is because the operation timing of the transfer unit 217 is earlier due to the earlier operation timing of the drawing unit 215, but the transfer unit 217 is faster in processing than the drawing unit 215. This is to prevent the amount of data to be stored from decreasing and the image data storage unit 216 from losing data to which the transfer unit 217 performs transfer processing. When there is no more data in the image data storage unit 216, the processing by the transfer unit 217 is suspended, that is, the printing process by the print execution unit 22 is interrupted, and the continuity of printing is impaired. Therefore, in order to prevent this, the printer 2 is configured to start the processing of the transfer unit 217 after the image data storage unit 216 has accumulated as much image data as possible while satisfying the request for early printing. Configured.

この転送部217の処理開始を遅延させる所定時間(遅延時間)は、例えば、ユーザーが許容できる印刷要求からファーストプリントまでの許容時間から定めることができる。例えば、当該許容時間を13秒、コマンド受信までの時間を1秒、転送部217による画像テータの転送開始から印刷物が出力されるまでの時間を5秒とすると、当該遅延時間を7秒に定めることができる。   The predetermined time (delay time) for delaying the processing start of the transfer unit 217 can be determined from, for example, an allowable time from a print request that can be accepted by the user to the first print. For example, assuming that the permissible time is 13 seconds, the time until command reception is 1 second, and the time from the start of image data transfer by the transfer unit 217 to the output of printed matter is 5 seconds, the delay time is set to 7 seconds. be able to.

次に、コマンド解析部213の具体的な処理手順について説明する。図6は、コマンド解析部213における処理手順を例示したフローチャートである。図6に基づいて、コマンド解析部213の処理手順について説明する。図6では、コマンド解析部213より上流の処理(受信部211)は考慮しないものとする。   Next, a specific processing procedure of the command analysis unit 213 will be described. FIG. 6 is a flowchart illustrating a processing procedure in the command analysis unit 213. The processing procedure of the command analysis unit 213 will be described with reference to FIG. In FIG. 6, processing upstream from the command analysis unit 213 (reception unit 211) is not considered.

まず、コマンド解析部213は、受信バッファー212に処理対象のデータ、すなわち、未処理のコマンド、があるか否かをチェックする(図6のステップS11)。当該チェックの結果、処理対象のデータがなければ(図6のステップS11のNo)、上述した基本構成に基づき、所定時間T0(例えば、10ms)の間、描画部215に処理を渡す(図6のステップS12)。   First, the command analysis unit 213 checks whether there is data to be processed, that is, an unprocessed command, in the reception buffer 212 (step S11 in FIG. 6). If there is no data to be processed as a result of the check (No in step S11 in FIG. 6), the processing is passed to the drawing unit 215 for a predetermined time T0 (for example, 10 ms) based on the basic configuration described above (FIG. 6). Step S12).

一方、処理対象のデータがあれば(図6のステップS11のYes)、コマンド解析部213は、コマンド蓄積部214に空き容量があるか否かをチェックする(図6のステップS13)。当該チェックの結果、空き容量がなければ(図6のステップS13のNo)、コマンド解析部213は処理ができないので、上述した基本構成に基づき、所定時間T0の間、描画部215に処理を渡す(図6のステップS12)。   On the other hand, if there is data to be processed (Yes in step S11 in FIG. 6), the command analysis unit 213 checks whether or not there is free space in the command storage unit 214 (step S13 in FIG. 6). As a result of the check, if there is no free space (No in step S13 in FIG. 6), the command analysis unit 213 cannot perform processing, so the processing is passed to the drawing unit 215 for a predetermined time T0 based on the basic configuration described above. (Step S12 in FIG. 6).

一方、空き容量があれば(図6のステップS13のYes)、すなわち、コマンド解析部213が処理できる状況では、上述した解析処理を実行するが、まず、描画部215に処理を渡さずに連続して解析処理を行っている時間が、上述した所定時間T1が経過したか否かをチェックする(図6のステップS14)。   On the other hand, if there is a free space (Yes in step S13 in FIG. 6), that is, in the situation where the command analysis unit 213 can process, the above-described analysis processing is executed, but first, continuous processing is not performed to the drawing unit 215. Then, it is checked whether or not the predetermined time T1 described above has elapsed for the time during which analysis processing is performed (step S14 in FIG. 6).

当該チェックの結果、所定時間T1が経過していなければ(図6のステップS14のNo)、コマンド解析部213は上述したコマンドの解析処理を実行する(図6のステップS15)。その後、処理はステップS11に戻る。   If the predetermined time T1 has not elapsed as a result of the check (No in step S14 in FIG. 6), the command analysis unit 213 executes the command analysis process described above (step S15 in FIG. 6). Thereafter, the process returns to step S11.

一方、当該チェックの結果、所定時間T1が経過していれば(図6のステップS14のYes)、コマンド解析部213は、描画部215に処理を渡すが、まず、画像データ蓄積部216のデータ蓄積量をチェックする(図6のステップS16)。具体的には、例えば、複数のラベルに連続して印刷する場合には、コマンド解析部213は、画像データ蓄積部216に所定枚数N枚(例えば、N=1)分のラベルの画像データが蓄積されているか否かをチェックする。なお、代替として、所定搬送距離分の画像データが蓄積されているか否かをチェックするようにしてもよい。   On the other hand, if the predetermined time T1 has passed as a result of the check (Yes in step S14 in FIG. 6), the command analysis unit 213 passes the processing to the drawing unit 215, but first, the data in the image data storage unit 216 The accumulation amount is checked (step S16 in FIG. 6). Specifically, for example, when printing continuously on a plurality of labels, the command analysis unit 213 stores a predetermined number N (for example, N = 1) of label image data in the image data storage unit 216. Check whether it is accumulated. As an alternative, it may be checked whether image data for a predetermined conveyance distance is accumulated.

当該チェックの結果、蓄積されている画像データ量が少ない場合、具体的には、例えば、蓄積されているデータ量が、ラベル1枚分の画像データ以下の場合には(図6のステップS16の「少」)、コマンド解析部213は、所定時間T2の間、描画部215に処理を渡す(図6のステップS17)。   As a result of the check, if the amount of stored image data is small, specifically, for example, if the amount of stored data is less than or equal to the image data for one label (step S16 in FIG. 6). “Low”), the command analysis unit 213 passes the processing to the drawing unit 215 for a predetermined time T2 (step S17 in FIG. 6).

一方、上記チェックの結果、蓄積されている画像データ量が多い場合、具体的には、例えば、蓄積されているデータ量が、ラベル1枚分の画像データを超えている場合には(図6のステップS16の「多」)、コマンド解析部213は、所定時間T3の間、描画部215に処理を渡す(図6のステップS18)。   On the other hand, if the amount of stored image data is large as a result of the check, specifically, for example, if the amount of stored data exceeds the image data for one label (FIG. 6). The command analysis unit 213 passes the processing to the drawing unit 215 for a predetermined time T3 (step S18 in FIG. 6).

なお、所定時間T2は所定時間T3よりも長く設定される。一例として、300msの周期で印刷実行部22に1ラベル分の画像データを転送する必要がある場合には、所定時間T1=50ms、所定時間T2=200ms、所定時間T3=10msとすることができる。   The predetermined time T2 is set longer than the predetermined time T3. As an example, when it is necessary to transfer image data for one label to the print execution unit 22 in a cycle of 300 ms, the predetermined time T1 = 50 ms, the predetermined time T2 = 200 ms, and the predetermined time T3 = 10 ms can be set. .

ステップS17及びS18の後は、処理がステップS11に戻る。なお、描画部215は、処理を渡された際には、処理対象のコマンドがコマンド蓄積部214に存在する限り、上述した描画処理(画像データの生成処理)を実行する。   After steps S17 and S18, the process returns to step S11. Note that the drawing unit 215 executes the above-described drawing process (image data generation process) as long as the command to be processed exists in the command storage unit 214 when the process is passed.

以上のようにコマンド解析部213が動作することにより、コマンド解析部213の処理が終了していなくても、描画部215が処理を実行して印刷実行部22に転送する画像データが生成されるので、図5に基づいて説明したように、ファーストプリントを早くすることができる。   By operating the command analysis unit 213 as described above, even when the processing of the command analysis unit 213 is not completed, the drawing unit 215 executes the processing and generates image data to be transferred to the print execution unit 22. Therefore, as described with reference to FIG. 5, the first print can be accelerated.

また、コマンド解析部213は、画像データ蓄積部216のデータ蓄積量に応じて、描画部215に渡す時間を変え、それらの時間(所定時間T2、T3)を適切に設定することで、印刷の連続性を確保することができる。   Further, the command analysis unit 213 changes the time passed to the drawing unit 215 in accordance with the data storage amount of the image data storage unit 216, and appropriately sets these times (predetermined times T2 and T3), so that printing can be performed. Continuity can be ensured.

また、コマンド解析部213と描画部215の切り替え周期(所定時間T1+所定時間T2又はT3)を短くすることで、また、所定時間T2、T3を必要最小限の時間とすることで、コマンド解析部213が休止している連続時間を短くすることができ、これにより、ホストコンピューター1への応答性を良くすることができる。   Further, by shortening the switching cycle (predetermined time T1 + predetermined time T2 or T3) between the command analyzing unit 213 and the drawing unit 215, and by setting the predetermined times T2 and T3 to the minimum necessary time, the command analyzing unit It is possible to shorten the continuous time during which 213 is inactive, thereby improving the responsiveness to the host computer 1.

更に、コマンド解析部213の応答性が良くなることにより、上述した送信可否確認コマンドに対する応答も早くなる。これにより、プリンター2への送信が可能な状態であるにもかかわらず、ホストコンピューター1が上記応答を待つために印刷コマンドの送信を見合わせる機会も減少するので、この点においても印刷の連続性が確保される。   Furthermore, since the response of the command analysis unit 213 is improved, the response to the above-described transmission permission confirmation command is also accelerated. As a result, although the host computer 1 waits for the response even though transmission to the printer 2 is possible, the opportunity to forgo the transmission of the print command is reduced. Secured.

以上説明したように、本実施の形態例に係るプリンター2では、ホストコンピューター1における印刷要求後、初めのラベルが出力されるまでの時間(ファーストプリントまでの時間)を短縮することができる。   As described above, in the printer 2 according to this embodiment, the time until the first label is output after the print request in the host computer 1 (time until the first print) can be shortened.

更に、転送部217の処理開始タイミングを一定時間遅らせることにより、印刷の連続性が確保される。   Furthermore, the continuity of printing is ensured by delaying the processing start timing of the transfer unit 217 by a certain time.

また、上述の通り、コマンド解析部213と描画部215の動作切り替え周期を適切に設定することで、ホストコンピューター1への応答性を向上させることができると共に、印刷の連続性も確保される。   Further, as described above, by appropriately setting the operation switching period between the command analysis unit 213 and the drawing unit 215, the responsiveness to the host computer 1 can be improved and the continuity of printing is ensured.

以上から、本プリンター2は、ファーストプリントの早期化、印刷の連続性に関するユーザーニーズを満たすことができる。   As described above, the printer 2 can satisfy the user needs related to accelerating first printing and continuity of printing.

なお、本発明は、ラインインクジェットプリンターによるラベルの印刷に好適であるが、ラベル以外の印刷に対して、また、他の印刷方式のプリンターに対しても適用することができる。   The present invention is suitable for label printing by a line ink jet printer, but can be applied to printing other than labels and also to printers of other printing methods.

本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。   The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.

1 ホストコンピューター、 2 プリンター、 3 筐体、 3a 前面、 4 排紙口、 5 操作パネル、 6 表示部、 21 コントローラー、 22 印刷実行部、 211 受信部、 212 受信バッファー、 213 コマンド解析部、 214 コマンド蓄積部、 215 描画部、 216 画像データ蓄積部、 217 転送部、 220 紙案内部、 221 側方紙案内部、 222 カッターユニット、 223 印刷部、 224 プラテン、 225 キャリッジ、 226 印刷ヘッド、 226c シアンヘッドユニット、 226m マゼンタヘッドユニット、 226y イエローヘッドユニット、 226k ブラックヘッドユニット、 S 用紙、 D 台紙、 R ラベル用紙   DESCRIPTION OF SYMBOLS 1 Host computer, 2 Printer, 3 Case, 3a Front surface, 4 Outlet, 5 Operation panel, 6 Display part, 21 Controller, 22 Print execution part, 211 Receiving part, 212 Reception buffer, 213 Command analysis part, 214 Command Storage unit, 215 Drawing unit, 216 Image data storage unit, 217 Transfer unit, 220 Paper guide unit, 221 Side paper guide unit, 222 Cutter unit, 223 Printing unit, 224 Platen, 225 Carriage, 226 Print head, 226c Cyan head Unit, 226m magenta head unit, 226y yellow head unit, 226k black head unit, S paper, D mount, R label paper

Claims (8)

受信したコマンドを解析するコマンド解析部と、
解析された前記コマンドに基づいて画像データを生成する描画部と、
前記画像データに従って印刷処理を実行する印刷実行部と、
を備え、
前記コマンド解析部は、前記描画部の処理タイミングと処理時間を制御する
ことを特徴とする印刷装置。
A command analysis unit for analyzing the received command;
A drawing unit that generates image data based on the analyzed command;
A print execution unit that executes print processing according to the image data;
With
The command analysis unit controls processing timing and processing time of the drawing unit.
請求項1において、
前記コマンド解析部は、第1の処理期間、前記コマンドの解析処理を行い、
前記描画部は、前記処理タイミングと処理時間で決まる第2の処理期間、前記画像データの生成処理を行い、
前記第1の処理期間と前記第2の処理期間は異なる期間である
ことを特徴とする印刷装置。
In claim 1,
The command analysis unit performs analysis processing of the command during a first processing period,
The drawing unit performs a generation process of the image data during a second processing period determined by the processing timing and processing time,
The printing apparatus, wherein the first processing period and the second processing period are different periods.
請求項1または2において、
周期的に前記コマンド解析部の処理と前記描画部の処理を切り替える
ことを特徴とする印刷装置。
In claim 1 or 2,
A printing apparatus characterized by periodically switching between processing of the command analysis unit and processing of the drawing unit.
請求項1乃至3のいずれか1項において、更に、
前記生成された画像データを蓄積する画像データ蓄積部を備え、
前記描画部の処理時間は、前記画像データ蓄積部の前記画像データの量によって決定される
ことを特徴とする印刷装置。
In any one of Claims 1 thru | or 3, Furthermore,
An image data storage unit for storing the generated image data;
The processing time of the drawing unit is determined by the amount of the image data in the image data storage unit.
請求項1乃至4のいずれか1項において、更に、
前記生成された画像データを前記印刷実行部に転送する転送部を備え、
前記転送部は、最初の前記コマンドの受信から、所定時間経過後に転送処理を開始する
ことを特徴とする印刷装置。
In any one of Claims 1 thru | or 4, Furthermore,
A transfer unit that transfers the generated image data to the print execution unit;
The printing apparatus, wherein the transfer unit starts transfer processing after a predetermined time has elapsed since the first reception of the command.
請求項1乃至5のいずれか1項において、
前記転送部は、印刷速度に対応した所定周期で、前記画像データを前記印刷実行部に転送する
ことを特徴とする印刷装置。
In any one of Claims 1 thru | or 5,
The transfer unit transfers the image data to the print execution unit at a predetermined cycle corresponding to a printing speed.
請求項1乃至6のいずれか1項において、
ラインインクジェットヘッドにより、複数のラベルに連続して印刷を実行する
ことを特徴とする印刷装置。
In any one of Claims 1 thru | or 6,
A printing apparatus that continuously performs printing on a plurality of labels by a line inkjet head.
画像データに従って印刷処理を実行する印刷実行部と、受信したコマンドを解析するコマンド解析部と、解析された前記コマンドに基づいて前記画像データを生成する描画部と、を備える印刷装置の制御方法であって、
前記コマンド解析部によって、前記描画部の処理タイミングと処理時間を制御する
ことを特徴とする印刷装置の制御方法。
A control method for a printing apparatus, comprising: a print execution unit that executes print processing according to image data; a command analysis unit that analyzes a received command; and a drawing unit that generates the image data based on the analyzed command. There,
The method for controlling a printing apparatus, wherein the command analysis unit controls processing timing and processing time of the drawing unit.
JP2014186292A 2014-09-12 2014-09-12 Printing device and method for controlling printing device Pending JP2016055605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014186292A JP2016055605A (en) 2014-09-12 2014-09-12 Printing device and method for controlling printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014186292A JP2016055605A (en) 2014-09-12 2014-09-12 Printing device and method for controlling printing device

Publications (1)

Publication Number Publication Date
JP2016055605A true JP2016055605A (en) 2016-04-21

Family

ID=55757078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014186292A Pending JP2016055605A (en) 2014-09-12 2014-09-12 Printing device and method for controlling printing device

Country Status (1)

Country Link
JP (1) JP2016055605A (en)

Similar Documents

Publication Publication Date Title
US8928912B2 (en) Printing control device, image forming system and computer readable medium storing program
JP4981596B2 (en) Printer system
JP2011101994A (en) Recording control device, recorder, control method of recorder, and program
US9272544B2 (en) Control apparatus, control method, and storage medium
JP2004164645A (en) Device, method and program for print control
US8508799B2 (en) Printing apparatus and printing method for forming image using a first print material and a second print material
JP2012141919A (en) Recording system, control method of recording system, recording controller and program
JP5929431B2 (en) Image recording apparatus, control method for image recording apparatus, and control program
JP6384259B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program
JP2016055605A (en) Printing device and method for controlling printing device
JP2002091748A (en) Image processor
JP5582302B2 (en) Image processing apparatus, image output apparatus, and program
US11003966B2 (en) Printing apparatus and module
JP6716868B2 (en) Image forming apparatus and program
JP2010020579A (en) Program, print control method and printing system
JP2008009216A (en) Image forming apparatus and image forming program
JP6121341B2 (en) Inkjet printing device
JP2007149035A (en) Image forming apparatus
JP7263830B2 (en) printer and module
JP2012133261A (en) Printing system and control method for printing system
US11535043B2 (en) Image forming apparatus
JP2019006004A (en) Printer and printer system
JP2024013936A (en) Image forming apparatus, image forming apparatus control method, and program
JP2007108861A (en) Printer
JP2007069580A (en) Image forming device