JP2020134968A - Print data generation device and printing system - Google Patents

Print data generation device and printing system Download PDF

Info

Publication number
JP2020134968A
JP2020134968A JP2019022850A JP2019022850A JP2020134968A JP 2020134968 A JP2020134968 A JP 2020134968A JP 2019022850 A JP2019022850 A JP 2019022850A JP 2019022850 A JP2019022850 A JP 2019022850A JP 2020134968 A JP2020134968 A JP 2020134968A
Authority
JP
Japan
Prior art keywords
print data
time
printing
data
printer
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
JP2019022850A
Other languages
Japanese (ja)
Inventor
深澤 亜希子
Akiko Fukazawa
亜希子 深澤
大地 新田
Daichi Nitta
大地 新田
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.)
Canon Finetech Nisca Inc
Original Assignee
Canon Finetech Nisca Inc
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 Canon Finetech Nisca Inc filed Critical Canon Finetech Nisca Inc
Priority to JP2019022850A priority Critical patent/JP2020134968A/en
Publication of JP2020134968A publication Critical patent/JP2020134968A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a print data generation device and a printing system capable of suppressing increase in a device size and a manufacturing cost.SOLUTION: When a printer 100 is not in a printable state, print data is not transmitted to a printer 100 but stored, and the print data in a data buffer is updated along with the change of current time. When the printer 100 becomes the printable state, the latest print data, which shows the closest point of time to the current time, is selected from points of time of print data in the data buffer and transmitted to the printer 100.SELECTED DRAWING: Figure 3

Description

本発明は、プリンタで印刷する印刷データを生成する印刷データ生成装置および印刷システムに関する。 The present invention relates to a print data generator and a printing system that generate print data to be printed by a printer.

印刷物に印刷日時を記録する技術が一般的に使用されている。しかし、印刷日時として、印刷データ編集時の時刻を印刷するか、印刷時の時刻を印刷するかで、その印刷日時に差が生じることがある。つまり、印刷データ編集の直後に印刷が行われる場合、印刷データ編集時の時刻と、印刷時の時刻とに大きな差は生じない。しかし、印刷データ編集の直後に、印刷装置がクリーニング動作等を行っている場合には、クリーニング動作の終了後に印刷が行われるため、印刷データ編集時の時刻と、印刷時の時刻とに差が生じる。 A technique for recording the date and time of printing on a printed matter is generally used. However, as the print date and time, there may be a difference in the print date and time depending on whether the time at the time of editing the print data is printed or the time at the time of printing is printed. That is, when printing is performed immediately after editing the print data, there is no significant difference between the time when the print data is edited and the time when the print data is edited. However, if the printing device performs a cleaning operation or the like immediately after editing the print data, printing is performed after the cleaning operation is completed, so that there is a difference between the time when the print data is edited and the time when printing. Occurs.

印刷日時として印刷データ編集時の時刻を印刷する場合では、印刷データ生成時に印刷日時を印刷データに含ませることで印刷日時を印刷することができる。しかし、印刷日時として印刷時の時刻を印刷する場合には、実際にプリンタが印刷する時刻の予測ができないことから、印刷データ生成時には、実際にプリンタが印刷する時刻の印刷日時を含んだ印刷データを生成することができなかった。 When printing the time when the print data is edited as the print date and time, the print date and time can be printed by including the print date and time in the print data when the print data is generated. However, when printing the time at the time of printing as the print date and time, it is not possible to predict the time when the printer actually prints. Therefore, when the print data is generated, the print data including the print date and time when the printer actually prints is included. Could not be generated.

特許文献1には、印刷データ生成機能を備えた印刷装置が開示されている。特許文献1では、印刷日時として印刷データ編集時の時刻或いは印刷時の時刻を印刷するにあたり、印刷時の時刻を印刷する場合には、印刷装置が備えた印刷データ生成機能で印刷日時のデータを生成して印刷する印刷装置が開示されている。 Patent Document 1 discloses a printing apparatus having a print data generation function. In Patent Document 1, when printing the time at the time of editing the print data or the time at the time of printing as the print date / time, when printing the time at the time of printing, the data of the print date / time is used by the print data generation function provided in the printing device. A printing apparatus for generating and printing is disclosed.

特開2008−307795号公報Japanese Unexamined Patent Publication No. 2008-307795

しかし、特許文献1のように印刷装置に印刷データ生成機能を持たせると、印刷データ生成機能が付加されたことによる基板の大型化やそれに伴う装置自体の大型化が懸念され、更に製造コストがアップするという課題があった。 However, if the printing device is provided with a print data generation function as in Patent Document 1, there is a concern that the size of the substrate and the size of the device itself will be increased due to the addition of the print data generation function, and the manufacturing cost will be further increased. There was a problem of uploading.

よって本発明は、装置の大型化や製造コストの上昇を抑制することができる印刷データ生成装置および印刷システムを提供することを目的とする。 Therefore, an object of the present invention is to provide a print data generation device and a printing system capable of suppressing an increase in size of the device and an increase in manufacturing cost.

そのため本発明の印刷データ生成装置は、時刻データを含み印刷装置で印刷する際に用いられる印刷データを生成する生成手段と、前記印刷装置の状態を取得する状態取得手段と、を備えた印刷データ生成装置であって、前記時刻データは前記印刷装置で印刷を行う時刻のデータであり、前記状態取得手段が前記印刷装置の印刷不可状態を取得した場合に、前記生成手段が生成した前記印刷データに含まれる時刻データを更新する時刻データ更新手段を更に備えていることを特徴とする。 Therefore, the print data generation device of the present invention includes print data including a generation means for generating print data including time data and used when printing with the printing device, and a state acquisition means for acquiring the state of the printing device. In the generation device, the time data is data at a time when printing is performed by the printing device, and the print data generated by the generation means when the state acquisition means acquires a printable state of the printing device. It is characterized in that it further includes a time data updating means for updating the time data included in.

本発明によれば、装置の大型化や製造コストの上昇を抑制することができる印刷データ生成装置および印刷システムを提供することができる。 According to the present invention, it is possible to provide a print data generation device and a printing system capable of suppressing an increase in size of the device and an increase in manufacturing cost.

印刷システムを示した外観図である。It is an external view which showed the printing system. ホストコンピュータの内部を示すブロック図である。It is a block diagram which shows the inside of a host computer. 印刷データ生成送信処理を示したフローチャートである。It is a flowchart which showed the print data generation transmission processing. 日時とRAMのバッファに保存される時刻のデータを示した図である。It is a figure which showed the data of the date and time and the time stored in the buffer of RAM. 印刷データ生成送信処理を行うか否か指定するダイアログを示した図である。It is a figure which showed the dialog which specifies whether or not to perform print data generation transmission processing. 印刷データ生成送信処理を示したフローチャートである。It is a flowchart which showed the print data generation transmission processing. 印刷データ生成送信処理を示したフローチャートである。It is a flowchart which showed the print data generation transmission processing.

(第1の実施形態)
以下、図面を参照して本発明の第1の実施形態について説明する。なお、本発明は下記実施形態及び図面に限定することなく、その要旨を変更しない範囲内で適宜変形して実施できるものである。
(First Embodiment)
Hereinafter, the first embodiment of the present invention will be described with reference to the drawings. The present invention is not limited to the following embodiments and drawings, and can be appropriately modified and implemented without changing the gist thereof.

図1は、本実施形態を適用可能な印刷システム110を示した外観図である。印刷システム110は、プリンタ100とホストコンピュータ200とがプリントケーブル201によって接続されている。記録媒体Pに印刷する際に用いられる印刷データは、ホストコンピュータ200で生成され、生成された印刷データは、プリントケーブル201を介してプリンタ100へと送信される。またホストコンピュータ200は、プリントケーブル201を介してプリンタ本体101の状態を取得する。 FIG. 1 is an external view showing a printing system 110 to which this embodiment can be applied. In the printing system 110, the printer 100 and the host computer 200 are connected by a print cable 201. The print data used for printing on the recording medium P is generated by the host computer 200, and the generated print data is transmitted to the printer 100 via the print cable 201. Further, the host computer 200 acquires the state of the printer main body 101 via the print cable 201.

プリンタ100は、給送ユニット105にセットされたロール状に巻かれたロール紙から記録媒体Pを引き出しつつ、記録ヘッド10から記録媒体Pに対して液体を吐出して印刷を行う。印刷された記録媒体Pは、不図示の出口センサで検出され、印刷されたページの後端がカッターユニット50の切断位置に到達すると、不図示のカッターにより印刷されたページの後端部が切断され排出される。 The printer 100 draws out the recording medium P from the roll-shaped paper set in the feeding unit 105, and discharges the liquid from the recording head 10 to the recording medium P to perform printing. The printed recording medium P is detected by an exit sensor (not shown), and when the rear edge of the printed page reaches the cutting position of the cutter unit 50, the rear edge of the page printed by the cutter (not shown) is cut. And discharged.

プリンタ本体101は、各種設定や一時停止等の操作を行うためおよびプリンタ100の状態を操作者に通知するための操作パネル103を備える。プリンタ本体101は、記録媒体Pの幅全体に亘って複数の吐出口を配列した記録ヘッド10を備えており、4色に対応したそれぞれの記録ヘッド10から記録媒体Pに対して液体を吐出してフルカラーで画像を印刷することができる。 The printer main body 101 includes an operation panel 103 for performing operations such as various settings and pausing, and for notifying the operator of the status of the printer 100. The printer main body 101 includes a recording head 10 in which a plurality of ejection ports are arranged over the entire width of the recording medium P, and discharges liquid from each recording head 10 corresponding to four colors to the recording medium P. You can print the image in full color.

給送ユニット105にセットされた記録媒体Pは、不図示の給送モータの駆動力により給送ローラを駆動することでプリンタ本体101に(矢印A方向に)給送される。プリンタ本体101に給送された記録媒体Pは、不図示の入口センサで検出され、不図示の搬送モータの駆動力により回転駆動された不図示の搬送ベルトにより記録ヘッド10の位置に搬送される。また、搬送ベルトの回転に同期して回転する不図示のエンコーダにより、記録媒体Pの搬送位置が制御される。 The recording medium P set in the feeding unit 105 is fed (in the direction of arrow A) to the printer main body 101 by driving the feeding roller by the driving force of the feeding motor (not shown). The recording medium P fed to the printer main body 101 is detected by an inlet sensor (not shown) and is conveyed to the position of the recording head 10 by a transfer belt (not shown) that is rotationally driven by the driving force of a transfer motor (not shown). .. Further, the transfer position of the recording medium P is controlled by an encoder (not shown) that rotates in synchronization with the rotation of the transfer belt.

図2は、ホストコンピュータ200の内部を示すブロック図である。ホストコンピュータ200では、CPU211と、RAM212と、プログラム記憶装置213と、データベース214とがメインバスによって接続されている。CPU211は、プログラム記憶装置213に記憶された制御プログラムに基づいて動作する。RAM212は、主としてCPU211のワークエリアを提供するメモリであり、印刷データ等を保管するデータバッファも含まれる。データベース214は、プログラム記憶装置213に記憶された制御プログラムから参照・更新される。プログラム記憶装置213は、印刷データ生成プログラムおよび印刷データ送信プログラムを備えており、印刷データの生成や、生成された印刷データのプリンタ100への送信を行う。以下、印刷データは、印刷日時を含むものであり、印刷日時として印刷時の時刻を印刷する印刷データとする。 FIG. 2 is a block diagram showing the inside of the host computer 200. In the host computer 200, the CPU 211, the RAM 212, the program storage device 213, and the database 214 are connected by a main bus. The CPU 211 operates based on the control program stored in the program storage device 213. The RAM 212 is a memory that mainly provides a work area of the CPU 211, and also includes a data buffer for storing print data and the like. The database 214 is referenced and updated from the control program stored in the program storage device 213. The program storage device 213 includes a print data generation program and a print data transmission program, and generates print data and transmits the generated print data to the printer 100. Hereinafter, the print data includes the print date and time, and is the print data for printing the time at the time of printing as the print date and time.

本実施形態におけるプリンタ100は、印刷データを生成する機能を備えていない。そのため、印刷データに生成日時が含まれる場合、プリンタ側で、印刷した日時を特定して印刷データに反映させることはできない。つまり、印刷日時も含めて、印刷する内容は全てプログラム記憶装置213が備えた印刷データ生成プログラムで生成する。 The printer 100 in this embodiment does not have a function of generating print data. Therefore, when the print data includes the generation date and time, the printer cannot specify the print date and time and reflect it in the print data. That is, all the contents to be printed, including the print date and time, are generated by the print data generation program provided in the program storage device 213.

印刷データ生成プログラムは、操作者から印刷の指示があった時点で印刷データを生成する。印刷データを生成すると、状態取得手段がプリンタ100の状態確認を行い、プリンタ100が印刷可能状態であれば印刷データは、プリンタ100に送信される。プリンタ100の状態確認で、プリンタ100がクリーニング動作等で印刷可能状態でない場合、印刷は行わずに待機し、印刷可能状態になったら印刷データをプリンタ100に送信する。 The print data generation program generates print data when the operator gives a print instruction. When the print data is generated, the state acquisition means confirms the state of the printer 100, and if the printer 100 is in a printable state, the print data is transmitted to the printer 100. When the status of the printer 100 is confirmed and the printer 100 is not in a printable state due to a cleaning operation or the like, the printer 100 waits without printing, and when the printable state is reached, the print data is transmitted to the printer 100.

このように印刷を行わずに待機する場合、印刷データを生成した時刻と、実際に印刷する時刻とに差異が生じる。従来、プリンタ100が印刷データを生成する機能を備えていない場合、印刷を行わずに待機する際には印刷する時刻を印刷することができなかった。 When waiting without printing in this way, there is a difference between the time when the print data is generated and the time when the print data is actually printed. Conventionally, when the printer 100 does not have a function of generating print data, it is not possible to print the printing time when waiting without printing.

そこで本実施形態では、印刷データ生成プログラムで印刷データを生成し、プリンタ100の状態を確認して、プリンタ100が印刷可能状態でない場合には、生成した印刷データをデータバッファに保持したままプリンタ100へ送信せずに待機する。そして、待機中に所定時間が経過した場合は、印刷する日時を更新した印刷データを再度生成してデータバッファに保持する。このようにしてプリンタ100が印刷可能状態になるまで、印刷データを更新しながら待機する。そして、プリンタ100が印刷可能状態になったら、データバッファの中で最も現在時刻に近い日時の印刷データをプリンタ100に送信して印刷する。 Therefore, in the present embodiment, print data is generated by the print data generation program, the state of the printer 100 is checked, and if the printer 100 is not in the printable state, the printer 100 keeps the generated print data in the data buffer. Wait without sending to. Then, when a predetermined time elapses during the standby, the print data with the updated printing date and time is regenerated and held in the data buffer. In this way, the printer 100 waits while updating the print data until the printer 100 becomes printable. Then, when the printer 100 becomes printable, the print data of the date and time closest to the current time in the data buffer is transmitted to the printer 100 for printing.

このように、プリンタ100が印刷可能状態でない場合には、印刷可能状態になるまで印刷データに含まれる日時の時刻データ更新を行いながら印刷データを保持する。これによって、実際にプリンタ100で印刷される日時と、印刷データに含まれて印刷される日時との差を小さくすることができる。以下、本実施形態における印刷データの生成方法の詳細を説明する。 In this way, when the printer 100 is not in the printable state, the print data is held while updating the time data of the date and time included in the print data until the printer 100 is in the printable state. As a result, the difference between the date and time actually printed by the printer 100 and the date and time printed included in the print data can be reduced. Hereinafter, the details of the printing data generation method in the present embodiment will be described.

図3は、本実施形態の印刷データ生成送信処理を示したフローチャートである。以下、図3のフローチャートを用いて、本実施形態の印刷データ生成送信処理を具体的に説明する。なお、ここで説明する印刷データ生成送信処理において各処理を行う主体はCPU211である。 FIG. 3 is a flowchart showing the print data generation and transmission process of the present embodiment. Hereinafter, the print data generation / transmission process of the present embodiment will be specifically described with reference to the flowchart of FIG. The main body that performs each process in the print data generation / transmission process described here is the CPU 211.

印刷データ生成送信処理が開始されると、S301で、データバッファに保存される印刷データの数であるバッファインデックスnをn=0とし、新たに印刷データを更新するまでの時間の加算値であるtを所定の値に設定する(本実施形態ではt=1とする)。更に、データバッファ内のデータをクリアする。そして、S302で、実際にプリンタ100での印刷が行われるであろうと予測する時刻である予測時刻を現在時刻取得手段で取得された現在時刻に設定する。その後、S303で、日時を現在時刻として印刷データを生成し、生成した印刷データをデータバッファであるバッファ[n]に保存する。 When the print data generation transmission process is started, in S301, the buffer index n, which is the number of print data stored in the data buffer, is set to n = 0, and is an added value of the time until the print data is newly updated. Set t to a predetermined value (t = 1 in this embodiment). In addition, it clears the data in the data buffer. Then, in S302, the predicted time, which is the time at which printing is actually predicted to be performed by the printer 100, is set to the current time acquired by the current time acquisition means. After that, in S303, print data is generated with the date and time as the current time, and the generated print data is saved in the buffer [n] which is a data buffer.

S304で、バッファインデックスnをインクリメントしてn=1となり、S305で、バッファインデックスnが所定のバッファ上限に達しているかを判断する(本実施形態では上限をn=3とする)。上限に達していればS306で、n=0としS307に移行する。上限に達していなければS305からS307に移行する。 In S304, the buffer index n is incremented to n = 1, and in S305, it is determined whether the buffer index n has reached a predetermined buffer upper limit (in the present embodiment, the upper limit is n = 3). If the upper limit is reached, the process proceeds to S307 with n = 0 in S306. If the upper limit is not reached, the process shifts from S305 to S307.

S307では、プリンタ100が印刷可能状態であるか否かを判断する。プリンタ100が印刷可能状態でなく、印刷不可である場合にはS308に移行する。また、プリンタ100が印刷可能状態であり、印刷可である場合には、S311に移行する。 In S307, it is determined whether or not the printer 100 is in a printable state. If the printer 100 is not in a printable state and cannot print, the process proceeds to S308. If the printer 100 is in a printable state and is printable, the process proceeds to S311.

S307からS308に移行した場合、S308で、バッファ[n]に印刷データが保存されていないか或いは、現在時刻がバッファ[n]に保存されている印刷データの時刻を越えたか否かを判断する。 When the transition from S307 to S308 is performed, it is determined in S308 whether or not the print data is not stored in the buffer [n] or whether the current time exceeds the time of the print data stored in the buffer [n]. ..

S308の判定が[No]判定であれば、S304に移行してS304からの処理を繰り返す。S308の判定で[Yes]判定であれば、S309に移行して、予測時刻を予測時刻+t(t=1)とし、S310で、日時を予測時刻として印刷データを生成し、生成した印刷データをバッファ[n]に保存する。 If the determination in S308 is a [No] determination, the process proceeds to S304 and the process from S304 is repeated. If the judgment in S308 is [Yes], the process proceeds to S309, the predicted time is set to the predicted time + t (t = 1), and in S310, print data is generated with the date and time as the predicted time, and the generated print data is used. Save in the buffer [n].

S307からS311に移行した場合、S311では、バッファ[0]から[2]の中の印刷データの時刻から現在時刻に最も近い印刷データを選択する。そして、S312で、S311で選択した印刷データをプリンタ100へ送信する。 When the transition from S307 to S311 occurs, S311 selects the print data closest to the current time from the time of the print data in the buffers [0] to [2]. Then, in S312, the print data selected in S311 is transmitted to the printer 100.

図4は、ホストコンピュータ200から印刷指示があったときの、日時、RAM201内のバッファに保存される時刻を含むデータ401から405をプリンタ100の状態に沿って示した図である。また、ここでは説明を簡単にするためバッファ内に保存する印刷データとして時刻のみを示している。下記の説明においてデータバッファに時刻が保存される際には、時刻と共に印刷データが保存されるものとする。ここでは、時刻が23時57分(以下、23:57と記載する)に、プリンタ100が印刷可能でない状態で印刷データ生成送信処理が開始され、時刻が0:01になるとプリンタ100が印刷可能状態になる。 FIG. 4 is a diagram showing data 401 to 405 including the date and time and the time saved in the buffer in the RAM 201 when the host computer 200 gives a print instruction according to the state of the printer 100. Further, here, for the sake of simplicity, only the time is shown as the print data to be saved in the buffer. In the following description, when the time is saved in the data buffer, the print data shall be saved together with the time. Here, at 23:57 (hereinafter referred to as 23:57), the print data generation / transmission process is started in a state where the printer 100 cannot print, and when the time reaches 0:01, the printer 100 can print. Become in a state.

また図4では、便宜上、全てのデータバッファに時刻が記載されているが、図3のフローチャートにおける処理の経過と共に各データバッファに時刻データ(印刷データ)が保存される。以下の説明では、バッファ内のデータをクリアした時点(図3のS301)で、データバッファには印刷データは保存されていないものとして説明を行う。ここでは、図3における各処理も参照して説明する。 Further, in FIG. 4, the time is described in all the data buffers for convenience, but the time data (print data) is saved in each data buffer as the processing in the flowchart of FIG. 3 progresses. In the following description, it is assumed that the print data is not stored in the data buffer when the data in the buffer is cleared (S301 in FIG. 3). Here, each process in FIG. 3 will also be described.

データ401においてバッファ[0]に、現在時刻として23:57が保存される(S303)。そしてS304で、n=n+1でn=1となり、S305でn=1が上限n=3に達していないのでS307に移行する。 In the data 401, 23:57 is stored as the current time in the buffer [0] (S303). Then, in S304, n = n + 1 becomes n = 1, and in S305, n = 1 does not reach the upper limit n = 3, so the process proceeds to S307.

S307で、現在時刻は23:57であり、プリンタ100は印刷不可状態なのでS308に移行する。 In S307, the current time is 23:57, and the printer 100 is in a non-printable state, so the process shifts to S308.

S308では、バッファ[1]にはまだ印刷データが保存されていないので([Yes]判定)、S309に移行して、予測時刻23:57を予測時刻23:58として、S310でバッファ[1]に23:58を保存する。 In S308, since the print data is not yet stored in the buffer [1] ([Yes] determination), the process shifts to S309, the predicted time 23:57 is set to the predicted time 23:58, and the buffer [1] is set in S310. Save at 23:58.

その後、S304から同様の処理が繰り返され(予測時刻は23:59となり)、S310でバッファ[2]に23:59が保存される。この時点で、データバッファには上限である3つの印刷データが保存されていることになる。 After that, the same process is repeated from S304 (estimated time is 23:59), and 23:59 is stored in the buffer [2] in S310. At this point, the data buffer stores the upper limit of three print data.

ここまで、現在時刻は23:57であり、S304からS308までの処理は、現在時刻がデータバッファ内のいずれかの時刻を越えるまで繰り返される。その間、実質的な処理は行われない。 Up to this point, the current time is 23:57, and the processes from S304 to S308 are repeated until the current time exceeds any time in the data buffer. During that time, no substantial processing is performed.

現在時刻が、23:58になると(図4のデータ402参照)、S308において、現在時刻がバッファ[0]に保存されている23:57を越える。よって、S309で予測時刻23:59を予測時刻0:00として、S310でバッファ[0]に0:00が保存される。その後、S304から同様の処理が繰り返される(図4のデータ402からデータ404参照)。 When the current time reaches 23:58 (see data 402 in FIG. 4), the current time exceeds 23:57 stored in the buffer [0] in S308. Therefore, the predicted time 23:59 is set to the predicted time 0:00 in S309, and 0:00 is stored in the buffer [0] in S310. After that, the same process is repeated from S304 (see data 402 to data 404 in FIG. 4).

現在時刻が0:01になると、プリンタ100が印刷可能状態となる。そのため、S307からS311に移行して、バッファ[0]から[2]の中の印刷データの時刻から現在時刻に最も近い時刻であるバッファ[1]の0:01を選択して、バッファ[1]内の印刷データをプリンタ100に送信する。 When the current time reaches 0:01, the printer 100 is ready for printing. Therefore, after shifting from S307 to S311 and selecting 0:01 of the buffer [1] which is the time closest to the current time from the time of the print data in the buffers [0] to [2], the buffer [1] is selected. ] Is transmitted to the printer 100.

図5は、本実施形態の印刷データ生成送信処理を行うかどうかを操作者が指定するダイアログの例を示した図である。操作者は印刷データ生成送信処理を行うかどうかを選択可能であり、図のダイアログにおける「出力時刻を用いて印刷データを生成」にチェックが入った状態で「印刷」ボタンが押されると、本実施形態の印刷データ生成送信処理を行う。チェックが入っていなければ、データ生成時の時刻を用いて印刷データを生成しプリンタ100に送信する。 FIG. 5 is a diagram showing an example of a dialog in which the operator specifies whether or not to perform the print data generation / transmission process of the present embodiment. The operator can select whether or not to perform print data generation transmission processing, and when the "Print" button is pressed with "Generate print data using output time" checked in the dialog shown in the figure, this book is displayed. The print data generation and transmission process of the embodiment is performed. If it is not checked, print data is generated using the time at the time of data generation and transmitted to the printer 100.

このように、プリンタ100が印刷可能状態でない場合には、印刷データのプリンタ100への送信を行わずに保存して、現在時刻が変わるのに伴い、データバッファ内の印刷データを更新する。そして、プリンタ100が印刷可能状態になると、データバッファの中の印刷データの時刻から現在時刻に最も近い印刷データを選択してプリンタ100に送信する。 In this way, when the printer 100 is not in the printable state, the print data is saved without being transmitted to the printer 100, and the print data in the data buffer is updated as the current time changes. Then, when the printer 100 becomes printable, the print data closest to the current time is selected from the time of the print data in the data buffer and transmitted to the printer 100.

これによって、装置の大型化や製造コストの上昇を抑制することができる印刷データ生成装置および印刷システムを実現することができた。 As a result, it has become possible to realize a print data generation device and a printing system that can suppress an increase in the size of the device and an increase in manufacturing cost.

なお、本実施形態では、プリンタ100とホストコンピュータ200とが接続された印刷システム110を例に説明したが、これに限定するものではなく、印刷データ生成装置に適用してもよい。 In the present embodiment, the printing system 110 in which the printer 100 and the host computer 200 are connected has been described as an example, but the present invention is not limited to this, and may be applied to a print data generation device.

(第2の実施形態)
以下、図面を参照して本発明の第2の実施形態を説明する。なお、本実施形態の基本的な構成は第1の実施形態と同様であるため、以下では特徴的な構成についてのみ説明する。なお、以下、本明細書内で用いる「ジョブ」とは、プリンタが受けた印刷命令によって印刷を行う印刷処理をいう。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. Since the basic configuration of this embodiment is the same as that of the first embodiment, only the characteristic configuration will be described below. Hereinafter, the term "job" used in the present specification refers to a printing process in which printing is performed by a printing command received by the printer.

第1の実施形態では、プリンタ100で、印刷待ちのジョブが無い状態を想定していたため、プリンタ100が印刷可能状態になり印刷データを受信すると、直ぐに印刷を開始できる状態であった。しかし、プリンタ100に印刷待ちのジョブが有る場合、印刷待ちのジョブが終了してから、受信した印刷データの印刷を行うため、第1の実施形態の方法では印刷時刻と印刷データの印刷時刻とに差が生じる。 In the first embodiment, it is assumed that the printer 100 has no jobs waiting to be printed. Therefore, when the printer 100 is in a printable state and receives print data, printing can be started immediately. However, when the printer 100 has a job waiting to be printed, the received print data is printed after the job waiting to be printed is completed. Therefore, in the method of the first embodiment, the print time and the print time of the print data are set. Makes a difference.

そこで、本実施形態では、印刷待ちのジョブがある場合には、待機ジョブ取得手段が印刷待ちのジョブを認識し、印刷待ちのジョブに要する時間を予測して印刷データの生成を行う。 Therefore, in the present embodiment, when there is a job waiting to be printed, the standby job acquisition means recognizes the job waiting to be printed, predicts the time required for the job waiting to be printed, and generates print data.

図6は、本実施形態の印刷データ生成送信処理を示したフローチャートである。以下、図6のフローチャートを用いて、本実施形態の印刷データ生成送信処理を具体的に説明する。なお、ここで説明する印刷データ生成送信処理において各処理を行う主体はCPU211である。本実施形態は、第1の実施形態とは、S602からS604における処理が異なり、その他の処理は第1の実施形態と同様であるため説明を省略する。 FIG. 6 is a flowchart showing the print data generation and transmission process of the present embodiment. Hereinafter, the print data generation / transmission process of the present embodiment will be specifically described with reference to the flowchart of FIG. The main body that performs each process in the print data generation / transmission process described here is the CPU 211. The present embodiment is different from the first embodiment in the processes in S602 to S604, and the other processes are the same as those in the first embodiment, and thus the description thereof will be omitted.

S602では、プリンタ100から未印刷データ数を取得する。その後、S603で、S602で取得した未印刷データ数とプリンタ100の印刷速度とから。未印刷データの印刷が実際に完了する予測時刻を算出する。そして、S604で、算出した予測時刻で印刷データを生成し、生成した印刷データをバッファ[n]に保存する。 In S602, the number of unprinted data is acquired from the printer 100. After that, in S603, from the number of unprinted data acquired in S602 and the printing speed of the printer 100. Calculate the estimated time when printing of unprinted data is actually completed. Then, in S604, print data is generated at the calculated predicted time, and the generated print data is saved in the buffer [n].

これによって、プリンタ100が印刷待ちのジョブがある状態でも、実際の印刷時刻と印刷データの印刷時刻とに差が生じることなく印刷することができる。 As a result, even when the printer 100 has a job waiting to be printed, printing can be performed without any difference between the actual printing time and the printing time of the print data.

(第3の実施形態)
以下、図面を参照して本発明の第3の実施形態を説明する。なお、本実施形態の基本的な構成は第1の実施形態と同様であるため、以下では特徴的な構成についてのみ説明する。
(Third Embodiment)
Hereinafter, a third embodiment of the present invention will be described with reference to the drawings. Since the basic configuration of this embodiment is the same as that of the first embodiment, only the characteristic configuration will be described below.

第1および第2の実施形態では、印刷データを生成するホストコンピュータ200がプリンタ100に対して確認を行うことで、プリンタ100が印刷可能であるか否かを判断した。つまり、プリンタ100が印刷可能でない状態から印刷可能状態に遷移するタイミングを取得することはできなかった。本実施形態では、プリンタ100の動作状態毎に必要時間をホストコンピュータ200側で記憶しておき、プリンタ100が印刷可能でない状態から印刷可状態に遷移するタイミングを予測する。そして、その予測した予測結果から印刷データの更新を行う。これによって、プリンタ100が印刷可能でない状態における印刷データの更新処理を減らすことができ、CPU211の負荷を低減することができる。なお、ここではプリンタ100の印刷可能でない状態とは、クリーニング動作時として説明するが、これに限定するものではなく、印刷以外のその他の動作でもよい。 In the first and second embodiments, the host computer 200 that generates print data confirms with the printer 100 to determine whether or not the printer 100 is printable. That is, it was not possible to acquire the timing at which the printer 100 transitions from the non-printable state to the printable state. In the present embodiment, the required time is stored on the host computer 200 side for each operating state of the printer 100, and the timing at which the printer 100 transitions from the non-printable state to the printable state is predicted. Then, the print data is updated from the predicted prediction result. As a result, it is possible to reduce the printing data update process when the printer 100 is not printable, and it is possible to reduce the load on the CPU 211. Here, the non-printable state of the printer 100 will be described as a cleaning operation, but the present invention is not limited to this, and other operations other than printing may be used.

図7は、本実施形態の印刷データ生成送信処理を示したフローチャートである。以下、図7のフローチャートを用いて、本実施形態の印刷データ生成送信処理を具体的に説明する。なお、ここで説明する印刷データ生成送信処理において各処理を行う主体はCPU211である。本実施形態は、第1の実施形態の処理とは、S709、S710、S711における処理が異なり、その他の処理は第1の実施形態と同様であるため説明を省略する。 FIG. 7 is a flowchart showing the print data generation and transmission process of the present embodiment. Hereinafter, the print data generation / transmission process of the present embodiment will be specifically described with reference to the flowchart of FIG. 7. The main body that performs each process in the print data generation / transmission process described here is the CPU 211. The present embodiment is different from the processing of the first embodiment in the processing in S709, S710, and S711, and the other processing is the same as that of the first embodiment, and thus the description thereof will be omitted.

S709では、記憶した情報からプリンタ100がクリーニング動作中であるかを判断して、クリーニング動作中であればS710に移行して、予測時刻=予測時刻+クリーニング動作に要する時間として算出する。また、S709からS711に移行した場合は、S711で、第1の実施形態における図3のS309と同様の処理を行う。 In S709, it is determined from the stored information whether the printer 100 is in the cleaning operation, and if it is in the cleaning operation, the process proceeds to S710, and the estimated time = the predicted time + the time required for the cleaning operation is calculated. Further, when the transition from S709 to S711 is performed, the same processing as in S309 of FIG. 3 in the first embodiment is performed in S711.

これによって、プリンタ100がクリーニング動作中でも、印刷データの更新処理を行うことなく、印刷時刻と印刷データの印刷時刻とに差が生じることなく印刷することができる。 As a result, even when the printer 100 is in the cleaning operation, printing can be performed without updating the print data and without causing a difference between the print time and the print time of the print data.

100 プリンタ
110 印刷システム
200 ホストコンピュータ
211 CPU
100 Printer 110 Printing System 200 Host Computer 211 CPU

Claims (9)

時刻データを含み印刷装置で印刷する際に用いられる印刷データを生成する生成手段と、
前記印刷装置の状態を取得する状態取得手段と、を備えた印刷データ生成装置であって、
前記時刻データは前記印刷装置で印刷を行う時刻のデータであり、前記状態取得手段が前記印刷装置の印刷不可状態を取得した場合に、前記生成手段が生成した前記印刷データに含まれる時刻データを更新する時刻データ更新手段を更に備えていることを特徴とする印刷データ生成装置。
A generation means for generating print data including time data and used when printing with a printing device,
A print data generation device including a state acquisition means for acquiring the state of the printing device.
The time data is data at a time when printing is performed by the printing device, and when the state acquisition means acquires a printable state of the printing device, the time data included in the print data generated by the generation means is used. A print data generation device, characterized in that it further includes a means for updating time data to be updated.
更新された前記時刻データを含む前記印刷データを前記印刷装置へ送信する送信手段を更に備え、
前記状態取得手段が、前記印刷装置の印刷可状態を取得すると、前記送信手段が前記印刷装置に前記印刷データを送信することを特徴とする請求項1に記載の印刷データ生成装置。
A transmission means for transmitting the print data including the updated time data to the printing device is further provided.
The print data generation device according to claim 1, wherein when the state acquisition means acquires the printable state of the printing device, the transmission means transmits the print data to the printing device.
現在時刻を取得する現在時刻取得手段を備え、
前記時刻データ更新手段は、前記現在時刻取得手段が取得した現在時刻に基づいて前記時刻データを更新することを特徴とする請求項1または請求項2に記載の印刷データ生成装置。
Equipped with a means to acquire the current time to acquire the current time
The print data generation device according to claim 1 or 2, wherein the time data updating means updates the time data based on the current time acquired by the current time acquiring means.
複数の前記印刷データから、前記印刷データに含まれる前記時刻データが現在時刻に最も近い前記印刷データを選択する選択手段を備え、
前記送信手段は、前記選択手段が選択した前記印刷データを前記印刷装置に送信することを特徴とする請求項2に記載の印刷データ生成装置。
A means for selecting the print data whose time data included in the print data is closest to the current time from the plurality of print data is provided.
The print data generation device according to claim 2, wherein the transmission means transmits the print data selected by the selection means to the printing device.
前記印刷装置における印刷待ちのジョブの数と、前記ジョブに要する時間と、を取得する待機ジョブ取得手段を備え、
前記生成手段は、前記待機ジョブ取得手段が取得した印刷待ちのジョブの数と、前記ジョブに要する時間と、に基づいて印刷データを生成することを特徴とする請求項1ないし4のいずれか1項に記載の印刷データ生成装置。
A standby job acquisition means for acquiring the number of jobs waiting to be printed in the printing device and the time required for the jobs is provided.
Any one of claims 1 to 4, wherein the generation means generates print data based on the number of jobs waiting to be printed acquired by the standby job acquisition means and the time required for the jobs. The print data generator described in the section.
前記印刷装置の動作に要する時間を予測する予測手段を備え、
前記時刻データ更新手段は、前記予測手段の予測結果に基づいて、前記時刻データの更新を行うことを特徴とする請求項1ないし4のいずれか1項に記載の印刷データ生成装置。
A prediction means for predicting the time required for the operation of the printing device is provided.
The print data generation device according to any one of claims 1 to 4, wherein the time data updating means updates the time data based on the prediction result of the prediction means.
前記動作は、クリーニング動作であることを特徴とする請求項6に記載の印刷データ生成装置。 The print data generation device according to claim 6, wherein the operation is a cleaning operation. 前記時刻データとして、前記印刷装置で印刷を行う時刻と、前記生成手段が前記印刷データを生成した時刻と、を操作者が選択可能であることを特徴とする請求項1ないし7のいずれか1項に記載の印刷データ生成装置。 Any one of claims 1 to 7, wherein the operator can select as the time data the time when printing is performed by the printing apparatus and the time when the generation means generates the print data. The print data generator described in the section. 印刷データを受信して、前記印刷データに基づいて印刷を行う印刷装置と、
時刻データを含んだ印刷データを生成する生成手段と、前記印刷装置の状態を取得する状態取得手段と、前記印刷データを前記印刷装置へ送信する送信手段と、を有する印刷データ生成装置と、を備えた印刷システムであって、
前記時刻データは前記印刷装置で印刷を行う時刻のデータであり、前記状態取得手段が前記印刷装置の印刷不可状態を取得した場合に、前記生成手段が生成した前記印刷データに含まれる時刻データを更新する時刻データ更新手段を更に備えていることを特徴とする
ことを特徴とする印刷システム。
A printing device that receives print data and prints based on the print data.
A print data generation device having a generation means for generating print data including time data, a state acquisition means for acquiring the state of the printing device, and a transmission means for transmitting the print data to the printing device. It is a printing system equipped with
The time data is data at a time when printing is performed by the printing device, and when the state acquisition means acquires a printable state of the printing device, the time data included in the print data generated by the generation means is used. A printing system characterized in that it further includes means for updating time data to be updated.
JP2019022850A 2019-02-12 2019-02-12 Print data generation device and printing system Pending JP2020134968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019022850A JP2020134968A (en) 2019-02-12 2019-02-12 Print data generation device and printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019022850A JP2020134968A (en) 2019-02-12 2019-02-12 Print data generation device and printing system

Publications (1)

Publication Number Publication Date
JP2020134968A true JP2020134968A (en) 2020-08-31

Family

ID=72278586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019022850A Pending JP2020134968A (en) 2019-02-12 2019-02-12 Print data generation device and printing system

Country Status (1)

Country Link
JP (1) JP2020134968A (en)

Similar Documents

Publication Publication Date Title
JP5932377B2 (en) Recording system, information processing apparatus, recording control method, and recording apparatus
JP2011101994A (en) Recording control device, recorder, control method of recorder, and program
US9164717B2 (en) Printing control apparatus, printing control method, and printing control program
JP6368138B2 (en) Control apparatus and control method
JP2016064606A (en) Printing system, printer, and control method of printing system
JP6435780B2 (en) Image forming apparatus, image forming system, image forming control apparatus, and image forming method
JP6855817B2 (en) Image processing equipment, printing system, image processing method
JP4781184B2 (en) Image forming apparatus and method of controlling image forming apparatus
CN108621613B (en) Control device and computer-readable storage medium
JP2020134968A (en) Print data generation device and printing system
CN109109472B (en) Printing apparatus and control method
JP6659108B2 (en) Image forming apparatus, image forming method, and program
JP4711136B2 (en) Printing system, printing control apparatus, printing control method, and program
JP2008049641A (en) Printer, and method for controlling the same
JP5735812B2 (en) Printing apparatus and processing method thereof
JP2021030544A (en) Information processing system and program
JP2007168165A (en) Printing processing method
JP2016068472A (en) Print control device, print control method and program
JP6696254B2 (en) Image forming apparatus, image forming method, control program, and image forming management apparatus
JP2007149035A (en) Image forming apparatus
CN113320300B (en) Image forming apparatus with a plurality of image forming units
JP4208023B2 (en) Printing apparatus, printing system, and printing method
JP7250605B2 (en) PRINTING METHOD, PRINTING SYSTEM AND PRINTING APPARATUS
JP2017071185A (en) Image forming apparatus and its control method
JP2011201213A (en) Printer, control method for the same, and program