JP2011230461A - Print controller, printer, printing control method, and program - Google Patents

Print controller, printer, printing control method, and program Download PDF

Info

Publication number
JP2011230461A
JP2011230461A JP2010104915A JP2010104915A JP2011230461A JP 2011230461 A JP2011230461 A JP 2011230461A JP 2010104915 A JP2010104915 A JP 2010104915A JP 2010104915 A JP2010104915 A JP 2010104915A JP 2011230461 A JP2011230461 A JP 2011230461A
Authority
JP
Japan
Prior art keywords
printing
color
monochrome
mode
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.)
Withdrawn
Application number
JP2010104915A
Other languages
Japanese (ja)
Inventor
Kenichi Nakano
賢一 仲野
Tomohiro Yasufuku
友浩 安福
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 JP2010104915A priority Critical patent/JP2011230461A/en
Publication of JP2011230461A publication Critical patent/JP2011230461A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a print controller, printer, printing control method and program which enable it to perform a monochrome printing when the changing to the monochrome printing can be presumed to be appropriate even when receiving an instruction of color printing in the second mode.SOLUTION: If the second mode is a black printing mode when printing data is received (S110), it is decided whether the job is a monochromatic image (S130). If it is not the monochromatic image (namely, if it is a color image), it is decided whether the job at this time is a registration job, namely whether the job information in printing data is in agreement with the registration job information which has been registered beforehand for deciding the changing to the monochrome printing to be appropriate (S140). If it is the registration job, after registering this job information, the color image data is converted into the monochromatic image data and then the monochrome printing is performed (S160 to S180). The attribute information of image data (extension, etc.) and printing conditions (paper kind, printing mode, etc.) are included in the job information.

Description

本発明は、カラー印刷とモノクロ印刷を制御し、特にカラー用の複数色のうち少なくとも1色の色素材がエンドになった場合に、黒の色素材を用いた印刷制御を行う印刷制御装置、印刷装置、印刷制御方法及びプログラムに関する。   The present invention controls color printing and monochrome printing, and in particular, a printing control apparatus that performs printing control using a black color material when at least one color material of a plurality of colors ends. The present invention relates to a printing apparatus, a printing control method, and a program.

例えばカラー印刷が可能なプリンターでは、カラー印刷とモノクロ印刷の両方が可能になっている。プリンターには、カラー用の色素材の一例として、シアン(C)、マゼンタ(M)、イエロー(Y)のインクを収容する各インクカートリッジと、黒(K)のインクを収容するインクカートリッジとが装着されている。そして、シアン(C)、マゼンタ(M)、イエロー(Y)のインクを用いてカラー印刷が行われ、黒(K)のみのインクを用いてモノクロ印刷が行われる(例えば特許文献1)。   For example, a printer capable of color printing can perform both color printing and monochrome printing. The printer includes, as an example of a color material for color, ink cartridges that store cyan (C), magenta (M), and yellow (Y) ink, and ink cartridges that store black (K) ink. It is installed. Color printing is performed using cyan (C), magenta (M), and yellow (Y) ink, and monochrome printing is performed using only black (K) ink (for example, Patent Document 1).

特許文献1には、カラー用のインクのうち少なくとも1色がインクエンドになった場合でも、ユーザーはカラーインクを消費しないモノクロのみのデータを継続して印刷を行える技術が開示されている。この場合、カラーインクを指定した印刷データを、黒インクを指定した印刷データに変換することで、カラー印刷もモノクロ印刷も可能な通常印刷モード(第1モード)から、黒インクで印刷するモノクロ印刷のみが許可される黒印刷モード(第2モード)を設定できるようになっていた。このため、手元に交換すべき予備(例えば新品)のインクカートリッジがないため、インクエンドになったカラー用のインクカートリッジを交換しなくても、特にカラー印刷が必須ではない文書や画像についてモノクロ印刷することができるようになっていた。   Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique that allows a user to continue printing monochrome data that does not consume color ink even when at least one of the color inks has reached the ink end. In this case, monochrome data is printed with black ink from the normal print mode (first mode) in which color printing and monochrome printing can be performed by converting print data designating color ink into print data designating black ink. It is possible to set a black printing mode (second mode) in which only printing is permitted. For this reason, there is no spare (for example, new) ink cartridge to be replaced at hand, so monochrome printing is not required for documents and images that do not require color printing, even without replacing the ink cartridge for the color that has become an ink end. I was able to do it.

特開平6−183032号公報JP-A-6-183032

しかしながら、黒印刷モードで動作している状態において、同じ文書を複数回に分けて印刷する場合、カラーインクがインクエンドになった当初は黒印刷モードに移行していることをユーザーが意識しているため、ユーザーは正しくモノクロ設定をした上で印刷指示する。しかし、しばらく時間が経過した後、再度同じ文書を印刷する場合、ユーザーはカラーインクがインクエンドになっていることを忘れ、カラー設定のまま印刷を指示する可能性があった。その場合、黒印刷モードで動作している状態であるのでカラー設定での印刷はできず、ユーザーは再度モノクロ設定にして印刷をし直さなければならないという問題があった。   However, when printing the same document multiple times while operating in the black print mode, the user is aware that the color ink has shifted to the black print mode at the beginning of the ink end. Therefore, the user instructs printing after correctly setting the monochrome. However, when the same document is printed again after a while, there is a possibility that the user forgets that the color ink is at the ink end and instructs printing with the color setting. In this case, since the printer is operating in the black print mode, printing with color settings cannot be performed, and the user has to set the monochrome settings again and print again.

これは、同一の文書の繰り返し印刷に限らず、異なる文書や画像であっても、ユーザーはカラーインクがインクエンドになっていることを忘れ、カラー設定のまま印刷を指示する可能性があった。この場合、写真の印刷であればモノクロ設定に変更してまで印刷する可能性は極めて低いが、モノクロ印刷でも許容できる文書や画像については、ユーザーは再度モノクロ設定にして印刷をし直さなければならないという問題があった。   This is not limited to the repeated printing of the same document, and even for different documents and images, the user may forget that the color ink is at the ink end and instruct the printing with the color setting. . In this case, if it is photo printing, it is very unlikely to print until it is changed to monochrome settings. However, for documents and images that can be accepted even in monochrome printing, the user must re-print with monochrome settings again. There was a problem.

本発明は、上記課題に鑑みてなされたものであり、その目的の一つは、第2モードにおいて、カラー印刷の指示を受け付けた場合でも、モノクロ印刷への変更が妥当と推定できる場合はモノクロ印刷を行うことができる印刷制御装置、印刷装置、印刷制御方法及びプログラムを提供することにある。   The present invention has been made in view of the above problems, and one of its purposes is to perform monochrome printing in the second mode when it is estimated that a change to monochrome printing is appropriate even when an instruction for color printing is received. An object of the present invention is to provide a printing control apparatus, a printing apparatus, a printing control method, and a program that can perform printing.

上記目的を達成するために、本発明は、カラー印刷とモノクロ印刷とを制御する印刷制御装置であって、カラー印刷とモノクロ印刷を共に許可する第1モードから、カラー用色素材のうち少なくとも1色のエンドが検出されたときに移行したカラー印刷を禁止しかつモノクロ印刷は許可する第2モードであるか否かを判定するモード判定手段と、前記第2モードのときにカラー画像データに基づくカラー印刷の指示を受け付けた場合に、モノクロ印刷への変更が妥当であるか否かを判定する判定手段と、前記判定手段がモノクロ印刷への変更が妥当と判定した場合、前記カラー画像データをモノクロ画像データに変換する変換手段と、を備えたことを要旨とする。   In order to achieve the above object, the present invention is a print control apparatus for controlling color printing and monochrome printing, and from a first mode in which both color printing and monochrome printing are permitted, at least one of color materials for color. Based on color image data when in the second mode, mode determining means for determining whether or not the second mode permits color printing that has been shifted when a color end is detected and permits monochrome printing. A determination unit that determines whether or not the change to monochrome printing is appropriate when an instruction for color printing is received; and the color image data is determined when the determination unit determines that the change to monochrome printing is appropriate. The gist of the invention is that it comprises a conversion means for converting into monochrome image data.

この発明によれば、第2モードのときに、印刷対象のカラー画像データに基づくカラー印刷の指示を受け付けた場合、モノクロ印刷への変更が妥当であると判定されれば、印刷対象のカラー画像データがモノクロ画像データに変換されてモノクロ印刷される。よって、ユーザーが、第2モードにあるためにモノクロ印刷を行うことを意図していながら、間違えてカラー印刷を設定してしまったとしても、印刷不可の警告がなされることや、再度正しい設定をして印刷を実行させる面倒な操作を省いてユーザーがほぼ意図するモノクロ印刷を行うことができる。なお、ここでいう「モノクロ画像」とは、階調値が2値のモノクロ2値画像に限らず、多階調のグレースケール画像をも含む。   According to the present invention, when a color printing instruction based on the color image data to be printed is received in the second mode, if it is determined that the change to monochrome printing is appropriate, the color image to be printed The data is converted into monochrome image data and printed in monochrome. Therefore, even if the user intends to perform monochrome printing because of being in the second mode and sets color printing by mistake, a warning indicating that printing is not possible will be given, or the correct setting will be made again. Thus, the troublesome operation of executing printing can be omitted, and monochrome printing almost intended by the user can be performed. The “monochrome image” here is not limited to a monochrome binary image having a binary gradation value, but also includes a multi-scale grayscale image.

本発明の印刷制御装置では、前記印刷制御装置は印刷装置に備えられ、複数のカラー用色素材と黒用色素材の個々のエンドを検出するエンド検出手段と、カラー用色素材のうち少なくとも1色のエンドが検出されると、カラー印刷とモノクロ印刷を共に許可する第1モードから、カラー印刷を禁止しかつモノクロ印刷は許可する第2モードへ移行するモード設定手段と、前記第2モードのときにカラー印刷のジョブを受け付けた場合に、モノクロ印刷への変更が妥当であるか否かを判定する判定手段と、前記判定手段でモノクロ印刷でも妥当と判定した場合、前記ジョブのカラー画像データをモノクロ画像データに変換する変換手段と、を備えている。   In the printing control apparatus of the present invention, the printing control apparatus is provided in the printing apparatus, and includes end detection means for detecting individual ends of the plurality of color materials for color and the color material for black, and at least one of the color materials for color. When a color end is detected, mode setting means for shifting from a first mode that permits both color printing and monochrome printing to a second mode that prohibits color printing and permits monochrome printing; Sometimes, when a color printing job is received, a determination unit that determines whether or not the change to monochrome printing is appropriate, and if the determination unit determines that monochrome printing is also appropriate, the color image data of the job Converting means for converting the image data into monochrome image data.

この発明によれば、カラー用色素材のうち少なくとも1色のエンドが検出されると、カラー印刷とモノクロ印刷を共に許可する第1モードから、カラー印刷を禁止しかつモノクロ印刷は許可する第2モードへ移行する。この第2モードのときにカラー印刷のジョブを受け付けた場合に、モノクロ印刷への変更が妥当であるか否かが判定され、妥当と判定されれば、ジョブのカラー画像データがモノクロ画像データに変換される。よって、ユーザーが、第2モードにあるためにモノクロ印刷を行うことを意図していながら、間違えてカラー印刷を設定してしまったとしても、印刷不可の警告がなされることや、再度正しい設定をして印刷を実行させる面倒な操作を省いてユーザーがほぼ意図するモノクロ印刷を行うことができる。   According to the present invention, when at least one end of the color material is detected, the color printing is prohibited and the monochrome printing is permitted from the first mode in which both the color printing and the monochrome printing are permitted. Transition to mode. When a color printing job is received in the second mode, it is determined whether or not the change to monochrome printing is appropriate. If it is determined to be appropriate, the color image data of the job is converted into monochrome image data. Converted. Therefore, even if the user intends to perform monochrome printing because of being in the second mode and sets color printing by mistake, a warning indicating that printing is not possible will be given, or the correct setting will be made again. Thus, the troublesome operation of executing printing can be omitted, and monochrome printing almost intended by the user can be performed.

本発明の印刷制御装置では、カラーかモノクロかで設定される印刷色を一つの条件として含む印刷条件を入力手段から入力する構成であり、前記第2モードのときに前記印刷色としてカラーが設定されたカラー印刷の指示を受け付けた場合に、前記判定手段は、モノクロ印刷への変更が妥当であるか否かを判定し、モノクロ印刷への変更が妥当であると判定されると、前記印刷条件における前記印刷色の設定をカラーからモノクロへ変更する設定変更手段を更に備え、前記変換手段は、前記変更されたモノクロの設定に基づいて印刷対象の画像データをモノクロ画像データに色変換する。   In the printing control apparatus of the present invention, a printing condition including a printing color set in color or monochrome as one condition is input from the input unit, and the color is set as the printing color in the second mode. The determination means determines whether or not the change to monochrome printing is appropriate, and if the change to monochrome printing is determined to be appropriate, the determination unit determines whether the change to monochrome printing is appropriate. The image forming apparatus further includes setting change means for changing the setting of the print color in the condition from color to monochrome, and the conversion means color-converts the image data to be printed into monochrome image data based on the changed monochrome setting.

この発明によれば、第2モードのときにカラー印刷の指示を受け付けた場合に、モノクロ印刷への変更が妥当であると判定されると、設定変更手段によって、印刷条件における印刷色の設定がカラーからモノクロに変更される。この結果、カラー画像データはモノクロ画像データに色変換される。よって、ユーザーがモノクロ印刷を意図していながら、間違ってカラーを設定してしまっても、その意図通り画像をモノクロ印刷できる。   According to the present invention, when it is determined that the change to monochrome printing is appropriate when an instruction for color printing is received in the second mode, the setting color changing unit sets the print color in the printing conditions. Change from color to monochrome. As a result, color image data is color-converted to monochrome image data. Therefore, even if the user intends to perform monochrome printing and sets the color by mistake, the image can be printed in monochrome as intended.

本発明の印刷制御装置では、画像データに係る属性情報と印刷条件情報のうち少なくとも一方を前記判定手段が前記妥当であると判定する際に用いる登録情報として記憶する記憶手段と、前記判定手段は、前記カラー画像データに係る属性情報と印刷条件のうち少なくとも一方を被判定情報として取得し、前記被判定情報と前記登録情報とを比較し、両者が一致すれば、モノクロ印刷への変更が妥当であると判定する。   In the printing control apparatus of the present invention, a storage unit that stores at least one of attribute information and printing condition information relating to image data as registration information used when the determination unit determines that the determination is appropriate, and the determination unit includes Then, at least one of the attribute information and the printing condition related to the color image data is acquired as the determination information, and the determination information and the registration information are compared. It is determined that

この発明によれば、カラー画像データに係る属性情報と印刷条件のうち少なくとも一方が被判定情報として取得され、その被判定情報と登録情報とが比較され、両者が一致すれば、モノクロ印刷への変更が妥当であると判定される。よって、画像データから取得できる属性情報や、ユーザーが設定する印刷条件を利用して、モノクロ印刷への変更が妥当であるか否かを適切に判定できる。   According to the present invention, at least one of the attribute information related to the color image data and the printing condition is acquired as the determination information, and the determination information and the registration information are compared. The change is determined to be appropriate. Therefore, it is possible to appropriately determine whether or not the change to monochrome printing is appropriate using attribute information that can be acquired from the image data and printing conditions set by the user.

本発明の印刷制御装置では、前記第2モードで印刷が行われた際の画像データに係る属性情報と印刷条件情報のうち少なくとも一方を取得した前記被判定情報を前記登録情報として前記記憶手段に記憶する登録手段を更に備えている。   In the printing control apparatus according to the aspect of the invention, the determination target information acquired at least one of the attribute information and the printing condition information related to the image data when printing is performed in the second mode is stored in the storage unit as the registration information. Registration means for storing is further provided.

この発明によれば、第2モードで印刷が行われた際の画像データに係る属性情報と印刷条件情報のうち少なくとも一方を取得した被判定情報が、登録手段によって登録情報として記憶手段に記憶される。   According to this invention, the determination information obtained by acquiring at least one of the attribute information related to the image data and the printing condition information when printing is performed in the second mode is stored in the storage unit as the registration information by the registration unit. The

本発明の印刷制御装置では、前記被判定情報は前記属性情報の1つであるとともに画像データのデータ種を特定可能なデータ種情報であり、前記判定手段は、今回の画像のデータ種情報と、登録情報中のデータ種情報とが一致すれば、モノクロ印刷への変更が妥当であると判定する。   In the print control apparatus of the present invention, the determination target information is one of the attribute information and data type information that can specify a data type of image data. The determination unit includes data type information of the current image and If the data type information in the registration information matches, it is determined that the change to monochrome printing is appropriate.

この発明によれば、カラー画像データのデータ種が登録情報中のデータ種と一致すれば、モノクロ印刷への変更が妥当であると判定される。データ種で判定するので、適切な判定を行うことができる。よって、ユーザーが間違ってモノクロ設定にすべきところカラーを設定しても、ユーザーの意図するモノクロ画像が印刷される頻度が高まる。   According to this invention, if the data type of the color image data matches the data type in the registration information, it is determined that the change to monochrome printing is appropriate. Since the determination is based on the data type, an appropriate determination can be made. Therefore, even if the user mistakenly sets the monochrome setting and sets the color, the frequency with which the monochrome image intended by the user is printed increases.

本発明の印刷制御装置では、前記被判定情報は印刷条件情報であり、前記判定手段は、今回の印刷条件情報を取得し、当該印刷条件情報が前記登録情報中の印刷条件情報と一致すれば、モノクロ印刷への変更が妥当であると判定する。   In the printing control apparatus according to the aspect of the invention, if the determination target information is printing condition information, and the determination unit acquires current printing condition information, and the printing condition information matches the printing condition information in the registration information. Therefore, it is determined that the change to monochrome printing is appropriate.

この発明によれば、今回の印刷条件情報を取得し、この今回の印刷条件情報が登録情報中の印刷条件情報と一致すれば、モノクロ印刷への変更が妥当であると判定される。印刷条件情報で判定するので、適切な判定を行うことができる。よって、ユーザーが間違ってモノクロ設定にすべきところカラーを設定しても、ユーザーの意図するモノクロ画像が印刷される頻度が高まる。   According to this invention, the current printing condition information is acquired, and if the current printing condition information matches the printing condition information in the registration information, it is determined that the change to monochrome printing is appropriate. Since the determination is made based on the printing condition information, an appropriate determination can be made. Therefore, even if the user mistakenly sets the monochrome setting and sets the color, the frequency with which the monochrome image intended by the user is printed increases.

本発明の印刷制御装置では、前記判定手段がモノクロ印刷への変更が妥当でないと判定した場合、印刷の指示を破棄し、印刷不可の旨を報知する。
この発明によれば、判定手段がモノクロ印刷への変更が妥当でないと判定した場合、印刷の指示を破棄し、印刷不可の旨が報知される。よって、妥当でない場合は、モノクロ印刷に強制的に変更してモノクロ画像として印刷することは行われないので、ユーザーの意図に反してモノクロ画像が印刷されることを回避できる。
In the print control apparatus of the present invention, when the determination unit determines that the change to monochrome printing is not appropriate, the print instruction is discarded and a notification that printing is not possible is given.
According to the present invention, when the determination unit determines that the change to monochrome printing is not appropriate, the print instruction is discarded and a notification that printing is not possible is given. Therefore, if it is not appropriate, it is not possible to forcibly change to monochrome printing and print it as a monochrome image, so that it is possible to avoid printing a monochrome image against the user's intention.

本発明は、印刷装置であって、上記発明における前記印刷制御装置と、媒体を搬送する搬送手段と、前記第2モードのときにカラー画像データに基づくカラー印刷の指示を受け付けた場合に、前記印刷制御装置の判定手段によりモノクロ印刷への変更が妥当であると判定されたときに、前記印刷制御装置の前記変換手段による変換により生成された前記モノクロ画像データに基づく画像を、前記搬送手段により搬送される前記媒体に印刷する印刷手段とを備えたことを要旨とする。この発明によれば、上記印刷制御装置に係る発明と同様の効果を得ることができる。   The present invention is a printing apparatus, wherein when the print control apparatus according to the above invention, a transport unit that transports a medium, and an instruction for color printing based on color image data in the second mode are received, When the determination unit of the print control apparatus determines that the change to monochrome printing is appropriate, an image based on the monochrome image data generated by the conversion by the conversion unit of the print control apparatus is transferred by the transport unit. And a printing unit that prints on the conveyed medium. According to the present invention, it is possible to obtain the same effect as that of the invention according to the print control apparatus.

本発明は、カラー印刷とモノクロ印刷とを制御するプログラムであって、コンピューターに、カラー印刷とモノクロ印刷を共に許可する第1モードから、カラー用色素材のうち少なくとも1色のエンドが検出されたときに移行したカラー印刷を禁止しかつモノクロ印刷は許可する第2モードであるか否かを判定するモード判定ステップと、前記第2モードのときに印刷対象のカラー画像データに基づくカラー印刷の指示を受け付けた場合に、モノクロ印刷への変更が妥当であるか否かを判定する判定ステップと、前記判定ステップでモノクロ印刷への変更が妥当と判定した場合、前記カラー画像データをモノクロ画像データに変換する変換ステップと、を実行させることを要旨とする。   The present invention is a program for controlling color printing and monochrome printing, and an end of at least one of color materials for color is detected from a first mode in which the computer allows both color printing and monochrome printing. A mode determination step for determining whether or not the mode is a second mode that prohibits color printing that has been shifted and monochrome printing is permitted, and instructions for color printing based on color image data to be printed in the second mode If the determination step determines whether or not the change to monochrome printing is appropriate, and the determination step determines that the change to monochrome printing is appropriate, the color image data is converted into monochrome image data. The gist of the present invention is to execute a conversion step for conversion.

第1実施形態におけるプリンターの斜視図。FIG. 3 is a perspective view of the printer according to the first embodiment. プリンター及びホスト装置の電気的構成及び一部機能構成を示すブロック図。FIG. 2 is a block diagram illustrating an electrical configuration and a partial functional configuration of a printer and a host device. モード設定ルーチンを示すフローチャート。The flowchart which shows a mode setting routine. 印刷処理ルーチンを示すフローチャート。6 is a flowchart illustrating a print processing routine. 第2実施形態におけるプリンター及びホスト装置の電気的構成及び一部機能構成を示すブロック図。FIG. 9 is a block diagram illustrating an electrical configuration and a partial functional configuration of a printer and a host device according to a second embodiment. 印刷ジョブ生成ルーチンを示すフローチャート。6 is a flowchart illustrating a print job generation routine.

(第1実施形態)
以下、本発明を具体化した第1実施形態を図1〜図4に従って説明する。図1は、プリンターの斜視図である。図1に示すように、印刷装置の一例であるプリンター11は、ホスト装置70(図2に示す)(例えばパーソナルコンピューター)から送信される印刷ジョブデータPD(以下、単に「印刷データ」とも称す)を受信し、印刷データに基づく画像や文書等の印刷を行う。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a perspective view of the printer. As shown in FIG. 1, a printer 11 as an example of a printing apparatus includes print job data PD (hereinafter, also simply referred to as “print data”) transmitted from a host device 70 (shown in FIG. 2) (for example, a personal computer). And print an image or document based on the print data.

プリンター11は、略矩形箱状をなすフレーム12を備えている。フレーム12内の下部には、その長手方向である主走査方向Xに沿ってプラテン13が延設されている。プラテン13上には、フレーム12の背面下部に設けられた紙送りモーター14の駆動に基づき、図示しない紙送り機構により媒体の一例としての用紙Pが副走査方向Yへ給送及び搬送されるようになっている。   The printer 11 includes a frame 12 having a substantially rectangular box shape. A platen 13 extends along the main scanning direction X, which is the longitudinal direction, in the lower part of the frame 12. On the platen 13, paper P as an example of a medium is fed and conveyed in the sub-scanning direction Y by a paper feed mechanism (not shown) based on driving of a paper feed motor 14 provided at the lower back of the frame 12. It has become.

本例のプリンター11は図1に示すようなインクジェット式のシリアルプリンターであり、フレーム12内においてプラテン13の長手方向と平行に延びるように架設されたガイド軸15には、キャリッジ16がその支持孔16aにガイド軸15が挿通されることにより主走査方向Xに往復移動可能に支持されている。   The printer 11 of this example is an ink jet serial printer as shown in FIG. 1, and a carriage 16 is provided in a support hole of a guide shaft 15 that extends in a frame 12 so as to extend in parallel with the longitudinal direction of the platen 13. A guide shaft 15 is inserted through 16a and supported so as to be reciprocally movable in the main scanning direction X.

フレーム12の後壁内面におけるガイド軸15の両端部と対応する位置には、駆動プーリー17a及び従動プーリー17bが回転自在に支持されている。駆動プーリー17aにはキャリッジモーター18の出力軸が連結されており、駆動プーリー17aと従動プーリー17bとの間に掛装された無端状のタイミングベルト17の一部にキャリッジ16は連結されている。従って、キャリッジ16は、キャリッジモーター18の正逆回転駆動に伴ってタイミングベルト17が正逆回動することにより、ガイド軸15にガイドされながら、主走査方向Xに往復移動するようになっている。   A driving pulley 17a and a driven pulley 17b are rotatably supported at positions corresponding to both ends of the guide shaft 15 on the inner surface of the rear wall of the frame 12. An output shaft of the carriage motor 18 is connected to the drive pulley 17a, and the carriage 16 is connected to a part of an endless timing belt 17 that is hung between the drive pulley 17a and the driven pulley 17b. Accordingly, the carriage 16 reciprocates in the main scanning direction X while being guided by the guide shaft 15 by the forward and reverse rotation of the timing belt 17 as the carriage motor 18 is driven forward and backward. .

キャリッジ16の下部には、色素材の一例であるインクを噴射する複数のノズル(図示省略)がプラテン13と対向する面(ノズル開口面)に開口する印刷ヘッド19が設けられている。そして、キャリッジ16上には印刷ヘッド19に対して複数色(本実施形態では、ブラック(K)、シアン(C)、マゼンタ(M)、イエロー(Y)の4色)のインク(色素材)をそれぞれ供給するためのインクカートリッジ20K,20C,20M,20Yが着脱可能に装着されている。なお、以降の説明において、インクカートリッジ20K,20C,20M,20Yを区別しない場合は、単にインクカートリッジ20と呼ぶ。   A print head 19 in which a plurality of nozzles (not shown) for ejecting ink, which is an example of a color material, opens on a surface (nozzle opening surface) facing the platen 13 is provided below the carriage 16. On the carriage 16, ink (color material) of a plurality of colors (four colors of black (K), cyan (C), magenta (M), and yellow (Y) in the present embodiment) for the print head 19 is used. Ink cartridges 20K, 20C, 20M, and 20Y are respectively detachably mounted. In the following description, when the ink cartridges 20K, 20C, 20M, and 20Y are not distinguished, they are simply referred to as the ink cartridge 20.

各インクカートリッジ20K,20C,20M,20Yから印刷ヘッド19内へ供給されたインクは、印刷ヘッド19内に各ノズルと対応して1個ずつ設けられた加圧素子19a(図2に示す)の駆動により加圧され、ノズルからインク滴として噴射されるようになっている。ノズルは複数個(例えば180個)が副走査方向Yに一定ピッチで配列されることでインク色と同数の計4列のノズル列を構成し、ノズル列に属するノズルからはそのノズル列に対応するインク色のインク滴が噴射される。なお、加圧素子19aは、例えば圧電素子又は静電駆動素子、あるいは発熱素子(ヒーター素子)により構成されている。   The ink supplied from the ink cartridges 20K, 20C, 20M, and 20Y into the print head 19 is supplied to the pressurizing element 19a (shown in FIG. 2) provided in the print head 19 one by one corresponding to each nozzle. It is pressurized by driving and ejected as ink droplets from the nozzle. A plurality of nozzles (for example, 180 nozzles) are arranged at a constant pitch in the sub-scanning direction Y, thereby forming a total of four nozzle rows corresponding to the ink color, and nozzles belonging to the nozzle row correspond to that nozzle row. Ink droplets of the ink color to be ejected are ejected. The pressurizing element 19a is constituted by, for example, a piezoelectric element, an electrostatic driving element, or a heating element (heater element).

また、図1に示すように、プリンター11には、キャリッジ16の主走査方向Xにおける位置を検出するためのリニアエンコーダー22が、ガイド軸15に沿って延びるように架設されている。キャリッジ16はリニアエンコーダー22の出力パルスを基づいて取得される位置及び速度に応じて速度制御及び位置制御される。そして、キャリッジ16を主走査方向Xに往復動させながらノズルから用紙Pに向けてインク滴を噴射する印字動作が行われる。   As shown in FIG. 1, a linear encoder 22 for detecting the position of the carriage 16 in the main scanning direction X is installed in the printer 11 so as to extend along the guide shaft 15. The carriage 16 is speed-controlled and position-controlled according to the position and speed acquired based on the output pulse of the linear encoder 22. Then, a printing operation for ejecting ink droplets from the nozzles toward the paper P while the carriage 16 is reciprocated in the main scanning direction X is performed.

一方、紙送りモーター14が駆動されることにより不図示の搬送ローラーが回転し、用紙Pを副走査方向Yへ搬送する紙送り動作が行われる。そして、この紙送り動作と、上述した印字動作とを略交互に繰り返すことによって、印刷データPDに基づく文書や画像等が用紙Pに印刷されるようになっている。   On the other hand, when the paper feed motor 14 is driven, a transport roller (not shown) rotates and a paper feed operation for transporting the paper P in the sub-scanning direction Y is performed. Then, by repeating the paper feeding operation and the above-described printing operation almost alternately, a document, an image, or the like based on the print data PD is printed on the paper P.

また、印刷時のキャリッジ16の最大移動範囲に相当する印刷領域に対し主走査方向Xに外側へ外れた一端部(図1では右端部)が、キャリッジ16が非印刷時に待機するとともにノズルのクリーニングが行われるクリーニング領域MAになっている。このクリーニング領域MAに配置された際のキャリッジ16の直下には、印刷ヘッド19のノズルの目詰まり等を予防及び解消するためのクリーニング等を行うクリーニング装置23が設けられている。   In addition, one end portion (right end portion in FIG. 1) that deviates outward in the main scanning direction X with respect to the printing area corresponding to the maximum movement range of the carriage 16 during printing waits when the carriage 16 is not printing and cleans the nozzles. Is the cleaning area MA in which is performed. A cleaning device 23 that performs cleaning and the like for preventing and eliminating clogging of nozzles of the print head 19 and the like is provided immediately below the carriage 16 when arranged in the cleaning area MA.

クリーニング装置23は、図1に示すように、印刷ヘッド19のノズル内のインクの増粘や乾燥を抑制する蓋体として機能するキャップ24と、キャップ24を昇降させる昇降機構25とを備える。キャリッジ16が非印刷時の待機位置であるホーム位置にある際に昇降機構25により上昇したキャップ24が印刷ヘッド19のノズル開口面に当接する。この当接状態で例えば紙送りモーター14の動力により不図示の吸引ポンプが駆動されることで、キャップ24内に吸引力(負圧)が及び、ノズルからインクを強制的に吸引するクリーニングが行われる。   As shown in FIG. 1, the cleaning device 23 includes a cap 24 that functions as a lid that suppresses thickening and drying of the ink in the nozzles of the print head 19, and a lifting mechanism 25 that lifts and lowers the cap 24. When the carriage 16 is in the home position, which is a standby position during non-printing, the cap 24 raised by the elevating mechanism 25 contacts the nozzle opening surface of the print head 19. In this abutting state, for example, a suction pump (not shown) is driven by the power of the paper feed motor 14, whereby a suction force (negative pressure) is applied to the cap 24 and cleaning is performed to forcibly suck ink from the nozzles. Is called.

図2は、プリンターシステムの電気的構成及び一部機能構成を示すブロック図である。図2に示すプリンターシステムは、プリンター11と、このプリンター11と通信ケーブル60を通じて通信可能に接続されるホスト装置70(ホストコンピューター)とを備える。   FIG. 2 is a block diagram illustrating an electrical configuration and a partial functional configuration of the printer system. The printer system shown in FIG. 2 includes a printer 11 and a host device 70 (host computer) that is communicably connected to the printer 11 through a communication cable 60.

ホスト装置70は、本体71と、キーボードやマウス等の入力操作部72と、モニター73とを備える。本体71には、CPUやハードディスク、RAM、ROM(いずれも図示せず)が備えられ、ハードディスクにはアプリケーション用プログラム及びプリンタードライバー用プログラムがインストールされている。そして、本体71は、CPUがアプリケーション用プログラムを実行することにより構築されるアプリケーション部74と、CPUがプリンタードライバー用プログラムを実行することにより構築されるプリンタードライバー75とを備える。アプリケーション部74は例えば画像編集ソフト又は画像表示ソフトなどにより構成されて画像の表示機能等を有する。ユーザーはアプリケーション部74がモニター73に表示させた画像や文書などの印刷を、入力操作部72を操作することによりプリンタードライバー75に指示することができる。ユーザーが印刷を指示することでプリンタードライバー75は起動し、モニター73に印刷設定画面(印刷条件入力画面)を表示させる。そして、ユーザーは印刷設定画面を見ながら必要に応じて入力操作部72を操作して印刷条件を設定する。印刷条件には、印刷色(カラー/モノクロ)、用紙種、用紙サイズ、印刷モード等がある。   The host device 70 includes a main body 71, an input operation unit 72 such as a keyboard and a mouse, and a monitor 73. The main body 71 includes a CPU, a hard disk, a RAM, and a ROM (all not shown), and an application program and a printer driver program are installed on the hard disk. The main body 71 includes an application unit 74 constructed when the CPU executes the application program, and a printer driver 75 constructed when the CPU executes the printer driver program. The application unit 74 is constituted by, for example, image editing software or image display software, and has an image display function and the like. The user can instruct the printer driver 75 to print an image or a document displayed on the monitor 73 by the application unit 74 by operating the input operation unit 72. When the user instructs printing, the printer driver 75 is activated and causes the monitor 73 to display a print setting screen (print condition input screen). Then, the user sets the printing conditions by operating the input operation unit 72 as necessary while looking at the print setting screen. The print conditions include print color (color / monochrome), paper type, paper size, print mode, and the like.

ここで、印刷色とは、印刷対象の写真や文書などの画像の印刷を、カラー印刷で行う際の「カラー」と、モノクロ印刷(本例でグレースケール印刷)で行う際の「モノクロ」とのうち一方を指定(設定)するための1つの印刷条件情報である。カラー印刷を行うときは印刷色の項目で「カラー」を選択し、モノクロ印刷を行うときは印刷色の項目で「モノクロ」を選択する。なお、本実施形態では、「モノクロ」はグレースケールの印刷を意味する。もちろん、「モノクロ」はモノクロ2値の印刷であってもよい。   Here, “print color” means “color” when printing an image such as a photograph or document to be printed by color printing, and “monochrome” when performing monochrome printing (grayscale printing in this example). Is one piece of printing condition information for designating (setting) one of them. When performing color printing, select “Color” in the item of printing color, and when performing monochrome printing, select “Monochrome” in the item of printing color. In the present embodiment, “monochrome” means grayscale printing. Of course, “monochrome” may be monochrome binary printing.

「用紙種」には、「普通紙」や「光沢紙」「ハガキ」等が用意されている。また、「用紙サイズ」には、「A4」や「B5」「ハガキ」等が用意されている。さらに「印刷モード」には、印刷速度よりも印刷品質を優先する「高精細モード」と、印刷品質よりも印刷速度を優先する「ドラフトモード」と、印刷品質と印刷速度が先の2モードのそれぞれ中間に位置する「普通モード」とを含む複数のモードが用意されている。   As “paper type”, “plain paper”, “glossy paper”, “postcard” and the like are prepared. In “paper size”, “A4”, “B5”, “postcard”, and the like are prepared. Furthermore, the “print mode” includes a “high-definition mode” that prioritizes the print quality over the print speed, a “draft mode” that prioritizes the print speed over the print quality, and the two modes in which the print quality and the print speed are first. A plurality of modes including a “normal mode” positioned in the middle are prepared.

例えばデジタルカメラ等で撮影したカラー写真を印刷するときは、大抵の場合、ユーザーは、「カラー」「光沢紙」「高精細モード」を選択する。また、例えば写真の試し刷りなどであれば「用紙種」に光沢紙以外のものが選択されていても、通常は印刷色「カラー」を選択する。一方、文書を印刷するときには、印刷色「モノクロ」、用紙種「普通紙」、印刷モード「普通モード」又は「ドラフトモード」が選択される場合が多い。また、データの種類(データ種)からは、カラー印刷が行われるときには、写真の画像データとして用いられる「Jpegデータ」(拡張子「jpg」)等が使用され、モノクロ印刷が行われるときには、文書データ(拡張子「doc」、「txt」)等が使用される場合が多い。   For example, when printing a color photograph taken with a digital camera or the like, in most cases, the user selects “color”, “glossy paper”, and “high definition mode”. Further, for example, for a test print of a photo, even if a paper type other than glossy paper is selected, the print color “color” is usually selected. On the other hand, when printing a document, the print color “monochrome”, the paper type “plain paper”, and the print mode “normal mode” or “draft mode” are often selected. From the data type (data type), when color printing is performed, “Jpeg data” (extension “jpg”) used as photo image data is used, and when monochrome printing is performed, the document is Data (extension “doc”, “txt”) or the like is often used.

ユーザーは、モニター73の印刷設定画面で入力操作部72による印刷条件の設定を終了した後、印刷の実行を指示する。すると、プリンタードライバー75は、モニター73に表示された画像に対応する画像データをアプリケーション部74から受け取り、この画像データを基に印刷条件に合った印刷ジョブデータPDを生成する。そして、その生成された印刷データは通信インターフェイス(以下、「通信I/F76」と記す)からプリンター11側へ転送される。本例では、この転送は、例えばプリンター11側のキャリッジ16の1回分の走査(1パス)に相当する1行分のデータずつパケット転送で行われる。そして、プリンター11は、ホスト装置70から転送される印刷データPDに基づく画像や文書等を用紙Pに印刷する印刷動作を行う。   The user instructs the execution of printing after completing the setting of the printing condition by the input operation unit 72 on the print setting screen of the monitor 73. Then, the printer driver 75 receives image data corresponding to the image displayed on the monitor 73 from the application unit 74, and generates print job data PD that meets the printing conditions based on this image data. The generated print data is transferred from the communication interface (hereinafter referred to as “communication I / F 76”) to the printer 11 side. In this example, this transfer is performed by packet transfer for each row of data corresponding to one scan (one pass) of the carriage 16 on the printer 11 side, for example. The printer 11 performs a printing operation for printing an image, a document, or the like based on the print data PD transferred from the host device 70 on the paper P.

次に、プリンタードライバー75の詳細な構成を説明する。図2に示すように、プリンタードライバー75は、ホスト制御部81、印刷条件設定部82、ジョブ情報取得部83及び画像処理部84を備えている。ホスト制御部81は、プリンタードライバー75の各部82〜84を統括的に制御し、後述するように各部82〜84が取得又は処理した結果を基に印刷ジョブデータPDを生成する機能や、通信I/F76に転送を指示する機能などを有している。   Next, the detailed configuration of the printer driver 75 will be described. As illustrated in FIG. 2, the printer driver 75 includes a host control unit 81, a print condition setting unit 82, a job information acquisition unit 83, and an image processing unit 84. The host control unit 81 comprehensively controls the units 82 to 84 of the printer driver 75, and generates a print job data PD based on the results acquired or processed by the units 82 to 84, as will be described later. / F76 has a function of instructing transfer.

印刷条件設定部82は、モニター73への印刷設定画面の表示、印刷設定画面の表示状態下で入力操作部72の入力操作などにより設定された印刷条件情報を取得する。
またジョブ情報取得部83は、印刷対象のデータ(画像データや文書データ等)のデータ種を特定するために予め決められている少なくとも1つの当該データの属性情報と、印刷条件設定部82が取得した各種の印刷条件情報のうちカラー印刷とモノクロ印刷のうちいずれの印刷が適切であるかの判定に利用できる少なくとも1つの印刷条件情報とを、ジョブ情報(被判定情報)として取得する。
The print condition setting unit 82 acquires the print condition information set by the input operation of the input operation unit 72 under the display of the print setting screen on the monitor 73 and the display state of the print setting screen.
Further, the job information acquisition unit 83 acquires at least one attribute information of the data determined in advance for specifying the data type of data to be printed (image data, document data, etc.) and the print condition setting unit 82. At least one print condition information that can be used to determine which one of color printing and monochrome printing is appropriate is acquired as job information (determination information).

画像処理部84は、画像データに、色変換処理、ハーフトーン処理、ラスタライズ処理などの画像処理を施し、印刷画像データを生成する。アプリケーション部74で表示等に使用されるデータは表示用の表色系のデータである。このデータには、例えばJpegデータ(拡張子「jpg」)、GIFデータ(拡張子「gif」)、Tiffデータ(拡張子「tif」)、ビットマップデータ(拡張子「bmp」)などの画像データや、文書データ(拡張子「doc」,「pdf」,「txt」)などがある。もちろん、ここでいう文書データは画像と文書の複合したデータである場合もある。   The image processing unit 84 performs image processing such as color conversion processing, halftone processing, and rasterization processing on the image data to generate print image data. Data used for display or the like in the application unit 74 is display color system data. This data includes, for example, image data such as Jpeg data (extension “jpg”), GIF data (extension “gif”), Tiff data (extension “tif”), bitmap data (extension “bmp”), etc. And document data (extensions “doc”, “pdf”, “txt”). Of course, the document data here may be a combination of an image and a document.

色変換部85は、RGB表色系の画像データ(以下、「RGB画像データ」ともいう)からCMYK表色系の画像データ(以下、「CMYK画像データ」ともいう)に変換する。色変換部85は、RGBの階調値とCMYKの階調値とを対応づけたカラー用変換ルックアップテーブル(以下、「カラー用変換LUT」という)と、RGBの階調値とグレースケールの階調値とを対応づけたモノクロ用変換ルックアップテーブル(以下、「モノクロ用変換LUT」という)とを備える。そして、色変換部85は、カラー用変換LUTを参照してRGB画像データをCMYK画像データに変換する。また、色変換部85は、モノクロ用変換LUTを参照してRGB画像データをモノクロ画像データ(グレースケール画像データ)に変換する。ここで、プリンタードライバー75は圧縮データを解凍する解凍器を備え、Jpegデータ等の圧縮データは例えばYUV表色系の画像データに変換された後、さらにRGB表色系の画像データに変換される。以下では、RGB表色系のカラー画像データを「RGBカラー画像データ」、RGB表色系のモノクロ画像データを「RGBモノクロ画像データ」と呼び、CMYK表色系のカラー画像データを「CMYKカラー画像データ」、CMYK表色系のモノクロ画像データを「CMYKモノクロ画像データ」と呼ぶ場合もある。なお、プリンター11のインク色が5色以上の場合は、この色変換処理によりインク色と同数のCMYK表色系の画像データが生成される。   The color converter 85 converts RGB color system image data (hereinafter also referred to as “RGB image data”) into CMYK color system image data (hereinafter also referred to as “CMYK image data”). The color conversion unit 85 includes a color conversion lookup table (hereinafter referred to as “color conversion LUT”) in which RGB gradation values and CMYK gradation values are associated, RGB gradation values, and gray scale values. And a monochrome conversion lookup table (hereinafter referred to as “monochrome conversion LUT”) in which gradation values are associated with each other. The color conversion unit 85 converts the RGB image data into CMYK image data with reference to the color conversion LUT. The color conversion unit 85 converts the RGB image data into monochrome image data (grayscale image data) with reference to the monochrome conversion LUT. Here, the printer driver 75 includes a decompressor that decompresses the compressed data, and the compressed data such as Jpeg data is converted into image data of the YUV color system, for example, and then converted into image data of the RGB color system. . Hereinafter, RGB color system color image data is referred to as “RGB color image data”, RGB color system monochrome image data is referred to as “RGB monochrome image data”, and CMYK color system color image data is referred to as “CMYK color image”. Data ”and CMYK color system monochrome image data may be referred to as“ CMYK monochrome image data ”. When the printer 11 has five or more ink colors, the same number of CMYK color system image data as the ink color is generated by this color conversion process.

ハーフトーン処理部86は、高階調(例えば256階調)のCMYK画素データを、プリンター11が表現可能な、低階調(例えば2階調又は4階調)のCMYK画素データに変換する処理を行う。例えば、ハーフトーン処理により、256段階の階調値を示すCMYK画素データが、例えば4階調の2ビットのCMYK画素データに変換される。この2ビットのCMYK画素データは、各色について、例えば「ドットの形成なし」、「小ドットの形成」、「中ドットの形成」、「大ドットの形成」を示すデータである。すなわち、ハーフトーン処理部86は、ディザ処理によりCMYK表色系によって表された画像データを、プリンター11がドットを分散して形成できるような、大、中、小の3種類のドットの組み合わせからなるビットマップデータに変換する。なお、このハーフトーン処理に用いる方法は、ディザ法に限るものではなく、γ補正法や誤差拡散法等も利用してもよい。   The halftone processing unit 86 performs processing for converting CMYK pixel data of high gradation (for example, 256 gradations) into CMYK pixel data of low gradation (for example, 2 gradations or 4 gradations) that can be expressed by the printer 11. Do. For example, CMYK pixel data indicating 256 levels of gradation values is converted into, for example, 4-gradation 2-bit CMYK pixel data by halftone processing. The 2-bit CMYK pixel data is data indicating, for example, “no dot formation”, “small dot formation”, “medium dot formation”, and “large dot formation” for each color. That is, the halftone processing unit 86 uses a combination of three types of large, medium, and small dots that enable the printer 11 to form the image data represented by the CMYK color system by dithering in a dispersed manner. Is converted to bitmap data. The method used for the halftone process is not limited to the dither method, and a γ correction method, an error diffusion method, or the like may be used.

ラスタライズ処理部87は、ハーフトーン処理がなされたCMYK画像データを、プリンター11に転送すべきデータ順に変更する処理を行う。本例では、プリンター11への印刷データPDの転送はキャリッジ16の1回の走査(1パス)分ずつ行われ、ラスタライズ処理では、ハーフトーン処理がなされた転送1回分のCMYK画像データを、印刷ヘッド19の噴射順に変更する処理も行う。   The rasterization processing unit 87 performs processing for changing the CMYK image data that has been subjected to the halftone processing in the order of data to be transferred to the printer 11. In this example, the transfer of the print data PD to the printer 11 is performed for each scanning (one pass) of the carriage 16, and in the rasterizing process, the CMYK image data for one transfer subjected to the halftone process is printed. A process of changing the ejection order of the head 19 is also performed.

ホスト制御部81は、プリンター11における副走査方向Yの送り量データと共に紙送り動作や印字動作など印刷に必要な各種動作を命令する印刷コマンドを生成し、ラスタライズ処理されたデータ(印刷画像データ)に印刷コマンドを付して印刷ジョブデータPDを生成する。そして、ホスト制御部81は、通信I/F76に印刷データPDの転送を指示する。   The host control unit 81 generates print commands for instructing various operations necessary for printing such as a paper feed operation and a print operation together with the feed amount data in the sub-scanning direction Y in the printer 11, and the rasterized data (print image data) A print command is added to the print job data PD. Then, the host control unit 81 instructs the communication I / F 76 to transfer the print data PD.

一方、プリンター11は、その本体(図示せず)に操作部26と、表示部27と、メモリーカード28を挿入するためのカードスロット29とを備える。また、プリンター11は印刷制御を司るコントローラー30を備える。コントローラー30は、コンピューター31(マイクロコンピューター)、各インターフェイス(以下、「I/F32,35」という)、表示駆動回路33、モーター駆動回路34,37、ヘッド駆動回路36及びメモリーカードインターフェイス部(以下、「メモリーカードI/F38」という)を備える。   On the other hand, the printer 11 includes an operation unit 26, a display unit 27, and a card slot 29 for inserting a memory card 28 in its main body (not shown). The printer 11 also includes a controller 30 that controls printing. The controller 30 includes a computer 31 (microcomputer), interfaces (hereinafter referred to as “I / Fs 32 and 35”), a display drive circuit 33, motor drive circuits 34 and 37, a head drive circuit 36, and a memory card interface unit (hereinafter referred to as “the drive card”). "Memory card I / F 38").

コンピューター31は、I/F32を介して操作部26に接続されるとともに、表示駆動回路33を介して表示部27に接続されている。操作部26は、電源スイッチ、モードスイッチ、選択スイッチ、印刷開始スイッチ等を含む複数の操作スイッチを備える。コンピューター31は、操作部26から入力する操作信号に基づいて表示部27の画面の切り替え等を行う。また、コンピューター31はメモリーカードI/F部38を介してメモリーカード28から画像データ等の読込みが可能になっている。   The computer 31 is connected to the operation unit 26 via the I / F 32 and is connected to the display unit 27 via the display drive circuit 33. The operation unit 26 includes a plurality of operation switches including a power switch, a mode switch, a selection switch, a print start switch, and the like. The computer 31 switches the screen of the display unit 27 based on an operation signal input from the operation unit 26. The computer 31 can read image data and the like from the memory card 28 via the memory card I / F unit 38.

ユーザーは、操作部26の操作により、表示部27の画面切り替え、メモリーカード28からの印刷対象画像の選択、印刷条件設定画面の表示下での「用紙種」、「用紙サイズ」、「カラー印刷」、「モノクロ印刷」、「印刷モード」等の印刷条件情報の設定を行う。その後、ユーザーは操作部26を用いて印刷開始操作を行って、プリンター11に画像等の印刷を開始させる。   The user switches the screen of the display unit 27, selects a print target image from the memory card 28, and displays “paper type”, “paper size”, and “color printing” on the display of the print condition setting screen by operating the operation unit 26. ”,“ Monochrome printing ”,“ printing mode ”and other printing condition information are set. Thereafter, the user performs a print start operation using the operation unit 26 and causes the printer 11 to start printing an image or the like.

また、コンピューター31は、印刷時にモーター駆動回路34を介してキャリッジモーター18を駆動制御し、キャリッジ16の主走査方向Xへの移動を制御する。また、コンピューター31は、モーター駆動回路37を介して紙送りモーター14を駆動制御し、用紙Pの搬送を制御する。さらにコンピューター31は、ヘッド駆動回路36に印刷画像データを出力して印刷ヘッド19内の各加圧素子19aを駆動制御し、各ノズルからのインク滴の噴射を制御する。   Further, the computer 31 drives and controls the carriage motor 18 via the motor drive circuit 34 during printing, and controls the movement of the carriage 16 in the main scanning direction X. Further, the computer 31 drives and controls the paper feed motor 14 via the motor drive circuit 37 to control the conveyance of the paper P. Further, the computer 31 outputs print image data to the head drive circuit 36 to drive and control each pressurizing element 19a in the print head 19 to control ejection of ink droplets from each nozzle.

また、図2に示すように、各インクカートリッジ20K,20C,20M,20Yは、記憶素子KSをそれぞれ備える。記憶素子KSには、各インクカートリッジ20K,20C,20M,20Yのインク残量を示す液量情報や、インクニアエンド及びインクエンドなどのインク残量に係る情報が記憶されている。各インクカートリッジ20K,20C,20M,20Yがキャリッジ16に装着されると、各記憶素子KSはI/F35を介してコンピューター31に接続されるようになっている。この接続状態において、コンピューター31は記憶素子KSにインク残量等のデータの書込み及び読出しが可能になっている。   Further, as shown in FIG. 2, each of the ink cartridges 20K, 20C, 20M, and 20Y includes a storage element KS. The storage element KS stores liquid amount information indicating the remaining amount of ink in each of the ink cartridges 20K, 20C, 20M, and 20Y and information related to the remaining amount of ink such as an ink near end and an ink end. When the ink cartridges 20K, 20C, 20M, and 20Y are mounted on the carriage 16, the storage elements KS are connected to the computer 31 via the I / F 35. In this connected state, the computer 31 can write and read data such as the ink remaining amount in the storage element KS.

このコンピューター31は、CPUと、ROM、RAM及び不揮発性メモリーなどのメモリーを備え、さらに必要に応じてASIC(Application Specific IC(特定用途向けIC))を備える。そして、コンピューター31は、ROM又は不揮発性メモリーに記憶されたプログラムをCPUが実行して実現されるソフトウェアと、必要に応じてASICの各種電気回路により実現されるハードウェアとより実現される各種機能を有している。図2ではコンピューター31内にこれら各種機能のブロックを示している。なお、ROM又は不揮発性メモリーに記憶されたプログラムには、図3にフローチャートで示すモード設定ルーチンのプログラムや、図4にフローチャートで示す印刷処理ルーチンのプログラムなども含まれる。   The computer 31 includes a CPU and a memory such as a ROM, a RAM, and a nonvolatile memory, and further includes an ASIC (Application Specific IC) as necessary. The computer 31 has various functions realized by software realized by the CPU executing a program stored in the ROM or nonvolatile memory, and hardware realized by various electric circuits of the ASIC as necessary. have. FIG. 2 shows blocks of these various functions in the computer 31. The programs stored in the ROM or the non-volatile memory include a mode setting routine program shown in the flowchart of FIG. 3 and a print processing routine program shown in the flowchart of FIG.

図2に示すコンピューター31は、主制御部41、印刷条件設定部42、コマンド解析部43、エンド検出手段の一例である液量検出部44、モード設定手段の一例であるモード設定部45及び印刷制御ユニット46を備える。なお、これら各部41〜46の個々については、ソフトウェアのみ、ハードウェアのみ、両者の協働のいずれかでそれぞれ実現してよい。また、本実施形態では、印刷制御ユニット46が、印刷制御装置の一例に相当する。   A computer 31 shown in FIG. 2 includes a main control unit 41, a printing condition setting unit 42, a command analysis unit 43, a liquid amount detection unit 44 as an example of an end detection unit, a mode setting unit 45 as an example of a mode setting unit, and printing. A control unit 46 is provided. In addition, about each of these each parts 41-46, you may each implement | achieve by either only software, only hardware, or both cooperation. In the present embodiment, the print control unit 46 corresponds to an example of a print control apparatus.

次に、コンピューター31を構成する各部41〜46の詳細を説明する。主制御部41は、操作部26から入力した各種操作信号に基づき、又はホスト装置70から通信I/F39を介して受信した印刷データPDに基づき、プリンター11における各種制御を行う。主制御部41は、プリンター11の印刷制御を統括的に制御する。主制御部41は、例えば、表示駆動回路33を介した表示部27の表示制御、モーター駆動回路34を介したキャリッジモーター18の駆動制御、モーター駆動回路37を介した紙送りモーター14の駆動制御、ヘッド駆動回路36を介した各加圧素子19aの駆動制御などを行う。   Next, the detail of each part 41-46 which comprises the computer 31 is demonstrated. The main control unit 41 performs various controls in the printer 11 based on various operation signals input from the operation unit 26 or based on print data PD received from the host device 70 via the communication I / F 39. The main control unit 41 comprehensively controls printing control of the printer 11. The main control unit 41 includes, for example, display control of the display unit 27 via the display drive circuit 33, drive control of the carriage motor 18 via the motor drive circuit 34, and drive control of the paper feed motor 14 via the motor drive circuit 37. Then, drive control of each pressure element 19a through the head drive circuit 36 is performed.

コマンド解析部43は、ホスト装置70から受信した印刷データPDを取得する。この印刷データPDは、プリント言語で記述された印刷コマンドと印刷画像データとを含む。コマンド解析部43は、印刷データPD中の印刷コマンドを解析し、給送、紙送り、印字、排紙などの各種命令を主制御部41に送る。主制御部41はコマンド解析部43からの命令に従って、紙送りモーター14、キャリッジモーター18及び加圧素子19aをシーケンス制御し、給送、紙送り、印字、排紙など各動作を適宜なタイミングで行わせる。   The command analysis unit 43 acquires the print data PD received from the host device 70. The print data PD includes a print command described in a print language and print image data. The command analysis unit 43 analyzes a print command in the print data PD and sends various commands such as feeding, paper feeding, printing, and paper discharge to the main control unit 41. The main control unit 41 performs sequence control on the paper feed motor 14, the carriage motor 18 and the pressure element 19a in accordance with an instruction from the command analysis unit 43, and performs each operation such as feeding, paper feeding, printing, and paper discharge at an appropriate timing. Let it be done.

液量検出部44は、インクカートリッジ20K,20C,20M,20Yに備えられた記憶素子KSとI/F35を介してデータ交信する。液量検出部44は、印刷ヘッド19のノズルから噴射されるインク量及びクリーニングによりノズルから吸引されるインク量等を含むインク消費量をインク色毎に計測する。液量検出部44は、例えば電源オン時に記憶素子KSからインク液量(インク残量)を読み出し、そのインク液量から、印刷時やクリーニング時に計測したインク消費量を減算して現在のインク液量を逐次取得する。そして、電源オフ時に現在のインク液量を記憶素子KSに記憶する。さらに、液量検出部44は、現在のインク液量が、印刷不能となる基準量より所定量多いインクニアエンドと、印刷不能となる基準量以下となったインクエンドを検出する。液量検出部44は、インクエンドを検出すると、その旨の情報(例えばフラグ)をメモリー(図示せず)に記憶する。   The liquid amount detection unit 44 performs data communication with the storage element KS provided in the ink cartridges 20K, 20C, 20M, and 20Y via the I / F 35. The liquid amount detection unit 44 measures the ink consumption amount including the ink amount ejected from the nozzles of the print head 19 and the ink amount sucked from the nozzles by cleaning for each ink color. The liquid amount detection unit 44 reads the ink liquid amount (remaining ink amount) from the storage element KS when the power is turned on, for example, and subtracts the ink consumption amount measured at the time of printing or cleaning from the ink liquid amount. Get quantities sequentially. Then, the current ink amount is stored in the storage element KS when the power is turned off. Further, the liquid amount detection unit 44 detects an ink near end in which the current ink liquid amount is larger by a predetermined amount than the reference amount at which printing cannot be performed, and an ink end at which the ink amount has become equal to or less than the reference amount at which printing cannot be performed. When detecting the ink end, the liquid amount detection unit 44 stores information (for example, a flag) to that effect in a memory (not shown).

モード設定部45は、カラー印刷とモノクロ印刷の両方が許可される通常印刷モードと、カラーインク(C,M,Y)のうち少なくとも1色がインクエンドになり、かつそのときに黒インクがインクエンドになっていない場合に、カラー印刷を禁止しモノクロ印刷は許可する黒印刷モード(ブラックプリントモード)を設定する。つまり、モード設定部45は、通常印刷モードと黒印刷モードとのうち、液量検出部44の検出結果に応じた一方のモードを設定する。詳しくは、モード設定部45は、カラーインク(C,M,Y)及び黒インク(K)のうち1色もインクエンドになっていなければ、通常印刷モードを設定する。なお、モード設定部45は、黒インクのみがインクエンドになった場合は、通常印刷モードを設定する。この場合、主制御部41は表示部27又はホスト装置70のモニター73にインクエンドの旨の通知を表示で行うが、通常印刷モードが設定され、黒インクの替わりにC,M,Yの混色で黒(コンポジットブラック)を表現することにより、カラー印刷またはモノクロ印刷を行う。   The mode setting unit 45 has a normal printing mode in which both color printing and monochrome printing are permitted, and at least one of the color inks (C, M, Y) is in an ink end, and black ink is ink at that time. When it is not the end, a black print mode (black print mode) that prohibits color printing and permits monochrome printing is set. That is, the mode setting unit 45 sets one of the normal printing mode and the black printing mode according to the detection result of the liquid amount detection unit 44. Specifically, the mode setting unit 45 sets the normal printing mode if none of the color inks (C, M, Y) and the black ink (K) is in the ink end. Note that the mode setting unit 45 sets the normal print mode when only the black ink reaches the ink end. In this case, the main control unit 41 displays a notification indicating the ink end on the display unit 27 or the monitor 73 of the host device 70, but the normal print mode is set, and the mixed color of C, M, and Y is used instead of black ink. Color printing or monochrome printing is performed by expressing black (composite black) with.

印刷制御ユニット46は、モード判定手段の一例であるモード判定部51、印刷色判定部52、判定手段の一例である判定部53、変換手段の一例としてのグレースケール変換部54、登録手段の一例としての登録部55及び画像処理部56を備える。画像処理部56は、メモリーカード28からの画像を印刷するときなど印刷データになっていない画像データを入力したときに、その画像データに画像処理を施して印刷データを生成する。印刷制御ユニット46は、この印刷データをヘッド駆動回路36へ出力する。なお、ホスト装置70から転送されてきた印刷データPDは、コマンド解析部43によりコマンドと分離された印字データも、印刷制御ユニット46からヘッド駆動回路36へ転送される。なお、ヘッド駆動回路36が、印刷ヘッド19に内蔵される構成も採用可能である。   The print control unit 46 includes a mode determination unit 51 that is an example of a mode determination unit, a print color determination unit 52, a determination unit 53 that is an example of a determination unit, a grayscale conversion unit 54 that is an example of a conversion unit, and an example of a registration unit. As a registration unit 55 and an image processing unit 56. When image data that is not print data is input, such as when printing an image from the memory card 28, the image processing unit 56 performs image processing on the image data to generate print data. The print control unit 46 outputs this print data to the head drive circuit 36. The print data PD transferred from the host device 70 is also transferred from the print control unit 46 to the head drive circuit 36 as print data separated from the command by the command analysis unit 43. A configuration in which the head drive circuit 36 is built in the print head 19 can also be adopted.

モード判定部51は、モード設定部45の設定結果に基づき、プリンター11の現在モードが、「通常印刷モード」であるか「黒印刷モード」であるかを判定する。なお、本実施形態では、「通常印刷モード」が「第1モード」に相当し、「黒印刷モード」が「第2モード」に相当する。   The mode determination unit 51 determines whether the current mode of the printer 11 is “normal printing mode” or “black printing mode” based on the setting result of the mode setting unit 45. In this embodiment, “normal printing mode” corresponds to “first mode”, and “black printing mode” corresponds to “second mode”.

画像処理部56は、色変換部61、ハーフトーン処理部62及びラスタライズ処理部63を備える。画像処理部56は、基本的にホスト装置70側の画像処理部84と同様の処理を行う。すなわち、画像処理部56はメモリーカード28からの画像のように、ホスト装置70を介することなく、プリンター11に直接入力される画像データを印刷データに変換する際に使用される。よって、画像処理部56内の各部61〜63は、プリンタードライバー75側の各部85〜87と同様に、それぞれ色変換処理、ハーフトーン処理及びラスタライズ処理を行う。   The image processing unit 56 includes a color conversion unit 61, a halftone processing unit 62, and a rasterization processing unit 63. The image processing unit 56 basically performs the same processing as the image processing unit 84 on the host device 70 side. That is, the image processing unit 56 is used when converting image data directly input to the printer 11 into print data, such as an image from the memory card 28, without going through the host device 70. Accordingly, each of the units 61 to 63 in the image processing unit 56 performs color conversion processing, halftone processing, and rasterization processing, respectively, in the same manner as the respective units 85 to 87 on the printer driver 75 side.

印刷色判定部52は、ジョブがカラー印刷かモノクロ印刷かを判定する。この判定方法には2種類ある。1つはジョブに含まれる印刷条件情報から判定する方法、他の1つは、ジョブに含まれる画像データを解析し、その解析結果から画像データがカラー画像かモノクロ画像かを判定する方法である。例えばホスト装置70からの印刷ジョブデータPD中には印刷条件情報が含まれるので、「印刷色」の印刷条件情報からカラー印刷かモノクロ印刷かを判定する。また、印刷色判定部52は、メモリーカード28内の画像を印刷する場合、操作部26からの操作信号等に基づいて印刷条件設定部42が設定した印刷条件中の「印刷色」の設定内容に基づいて、その印刷色の設定がカラーかモノクロかに応じて判定する。   The print color determination unit 52 determines whether the job is color printing or monochrome printing. There are two types of determination methods. One is a method for determining from print condition information included in a job, and the other is a method for analyzing image data included in the job and determining whether the image data is a color image or a monochrome image from the analysis result. . For example, since the print condition data is included in the print job data PD from the host device 70, it is determined from the print condition information of “print color” whether color printing or monochrome printing. Further, when printing an image in the memory card 28, the print color determination unit 52 sets the “print color” in the print conditions set by the print condition setting unit 42 based on an operation signal from the operation unit 26 or the like. Based on whether the setting of the print color is color or monochrome.

判定部53は、黒印刷モードにあるときに、カラー印刷を指示するジョブを受け付けた場合に、モノクロ画像への変更が妥当であるか否かを判定する。ここで、印刷ジョブデータには、コマンド及び印刷画像データの他、ジョブ情報が含まれている。ジョブ情報には、モノクロ印刷を行ってもよいデータであるかどうかを識別できるように予め決められた第1ジョブ情報と、黒印刷モードにおいてユーザーが過去に印刷したデータと同種のデータであるか否かを識別するために黒印刷モード時にユーザーが選んでモノクロ印刷した際に取得された第2ジョブ情報とが含まれている。ジョブ情報として用いられる属性情報には、元画像データの拡張子、作成日時、ソフトウェア特定情報(ソフトウェア名、ソフトウェアID)などが含まれている。また、ジョブ情報として用いられる印刷条件情報には、用紙種、印刷色、印刷モードなどが含まれている。   The determination unit 53 determines whether or not the change to the monochrome image is appropriate when a job instructing color printing is received in the black print mode. Here, the print job data includes job information in addition to commands and print image data. The job information includes first job information determined in advance so as to identify whether or not the data may be subjected to monochrome printing, and whether the data is the same type of data printed by the user in the black print mode in the past. In order to identify whether or not, the second job information acquired when the user selects monochrome printing in the black printing mode is included. The attribute information used as job information includes an extension of original image data, creation date and time, software identification information (software name, software ID), and the like. The print condition information used as job information includes the paper type, print color, print mode, and the like.

登録部55は、黒印刷モード時にカラー印刷が指示された場合にモノクロ印刷への変更が妥当なデータに係るジョブ情報を登録ジョブ情報JSとしてメモリー55aに記憶する。メモリー55aには、予め決められた登録ジョブ情報JSが記憶されるとともに、黒印刷モード時にユーザーがモノクロ印刷を選択して行ったときのジョブ情報を登録部55が書き込んだ登録ジョブ情報が記憶される。このように登録ジョブ情報JSには、予め登録されているジョブ情報と、黒印刷モード時にユーザーがモノクロを指定して印刷を指示したモノクロ印刷の際に後発的に登録されるジョブ情報とがある。例えば黒印刷モードでの印刷時に、登録部55は、今回のジョブのジョブ情報を登録ジョブ情報JSとしてメモリー55aに記憶する。   The registration unit 55 stores, in the memory 55a, registered job information JS as job information related to data that is appropriate to be changed to monochrome printing when color printing is instructed in the black printing mode. The memory 55a stores predetermined registration job information JS and registration job information in which the registration unit 55 has written job information when the user selects monochrome printing in the black print mode. The As described above, the registered job information JS includes job information registered in advance and job information registered later in monochrome printing in which the user designates monochrome and instructs printing in the black printing mode. . For example, when printing in the black print mode, the registration unit 55 stores the job information of the current job in the memory 55a as registered job information JS.

判定部53は、印刷ジョブデータPDからジョブ情報JI(被判定情報)を取得し、その取得したジョブ情報JIと登録部55に登録されている登録ジョブ情報JS(登録情報)とを比較し、ジョブ情報JIと登録ジョブ情報JSとが一致すると、モノクロ画像へ変換してもよいと判定する。   The determination unit 53 acquires job information JI (determination information) from the print job data PD, compares the acquired job information JI with registered job information JS (registration information) registered in the registration unit 55, and If the job information JI matches the registered job information JS, it is determined that the image may be converted into a monochrome image.

主制御部41は、判定部53の判定結果に基づき、取得したジョブ情報JIが登録ジョブ情報JSと一致すれば、グレースケール変換部54によるグレースケール化を指示する。一方、主制御部41は、判定部53の判定結果に基づき、取得したジョブ情報が登録ジョブ情報と一致しない場合は、カラー印刷からモノクロ印刷への変更を許可しない。つまりそのカラー印刷を禁止する。この場合、主制御部41は、表示駆動回路33を介して表示部27に、カラー印刷はC,M,Yのうちいずれか1色がインクエンドのため実施できない旨の警告を表示する。   If the acquired job information JI matches the registered job information JS based on the determination result of the determination unit 53, the main control unit 41 instructs grayscale conversion by the grayscale conversion unit 54. On the other hand, if the acquired job information does not match the registered job information based on the determination result of the determination unit 53, the main control unit 41 does not permit the change from color printing to monochrome printing. That is, the color printing is prohibited. In this case, the main control unit 41 displays a warning on the display unit 27 via the display drive circuit 33 that color printing cannot be performed because one of C, M, and Y is ink-ended.

グレースケール変換部54は、CMYKカラー画像データを、256階調のグレースケール(色情報を持たず明度だけで作られたデータ)とする変換処理を行う。グレースケール変換部54は、CMYKの階調値データとモノクロ階調値データとの対応関係を規定した一次元色変換ルックアップテーブル(モノクロ用変換LUT)を備え、この色変換LUTを参照して、CMYKカラー画像データの各ドットデータをCMYKグレースケール階調値のドットデータに色変換する。なお、プリンター11がスキャナーを備え、コピー機能を有している場合は、色変換部61が、RGBの階調値データとCMYKのモノクロ階調値データとの対応関係を規定したモノクロ用変換LUTを参照して、スキャンしたRGBカラー画像データをCMYKモノクロ画像データに変換する。   The gray scale conversion unit 54 performs conversion processing for converting the CMYK color image data into a gray scale of 256 gradations (data that has no color information and is created only by lightness). The gray scale conversion unit 54 includes a one-dimensional color conversion lookup table (monochrome conversion LUT) that defines the correspondence between CMYK gradation value data and monochrome gradation value data. Refer to this color conversion LUT. Then, each dot data of the CMYK color image data is color-converted into dot data of CMYK gray scale gradation values. When the printer 11 includes a scanner and has a copy function, the color conversion unit 61 defines a monochrome conversion LUT that defines the correspondence between RGB gradation value data and CMYK monochrome gradation value data. The scanned RGB color image data is converted into CMYK monochrome image data.

RGBカラー画像データを、各画素のRGB値から輝度(画素の明るさ)のみを抽出したグレースケールのモノクロ画像へ変換するグレースケール変換方法は、例えばRGB成分(各画素値)の平均値を新しい画素値にする方式(出力画素=(R成分+G成分+B成分)/3)や、RGB各成分に重み付けをして平均をとる方式などが挙げられる。後者の変換方式の一例としては、YIQカラーモデルに基づく変換式である、出力画素(輝度Y)fy(R,G,B)=0.29891×R成分+0.58661×G成分+0.11448×B成分 で示されるものが挙げられる。もちろん、変換式における重み付けの係数は適宜変更してもよい。   A grayscale conversion method for converting RGB color image data into a grayscale monochrome image in which only luminance (pixel brightness) is extracted from the RGB value of each pixel is, for example, a new average value of RGB components (each pixel value). Examples include a pixel value method (output pixel = (R component + G component + B component) / 3) and a method in which each RGB component is weighted and averaged. As an example of the latter conversion method, output pixel (luminance Y) fy (R, G, B) = 0.29891 × R component + 0.58661 × G component + 0.11448 × B component, which is a conversion formula based on the YIQ color model. The thing shown by is mentioned. Of course, the weighting coefficient in the conversion formula may be changed as appropriate.

色変換部61は、RGB画像データをCMYK画像データに変換する色変換処理を行う。色変換部61は、RGBカラー画像データをCMYKカラー画像データに変換する色変換処理と、RGBカラー画像データをCMYKモノクロ画像データに変換する色変換処理とを行う。   The color conversion unit 61 performs color conversion processing for converting RGB image data into CMYK image data. The color conversion unit 61 performs color conversion processing for converting RGB color image data into CMYK color image data and color conversion processing for converting RGB color image data into CMYK monochrome image data.

ハーフトーン処理部62及びラスタライズ処理部63は、基本的にホスト装置70のプリンタードライバー75側のハーフトーン処理部86及びラスタライズ処理部87と同様の機能を有する。色変換後のCMYK画像データに対して誤差拡散法やディザ法といった手法による所定のハーフトーン処理を行い、CMYKドットのハーフトーンデータを生成する。そのハーフトーンデータは、ドットの有無を表すデータであり、例えば4階調であれば階調値「11」を大ドット有り、階調値「10」を中ドット有り、階調値「01」を小ドット有り、階調値「00」をドット無しに対応させたデータである。もちろん、2階調(1ビット)でもよく、その場合は階調値「1」をドット有り、階調値「0」をドット無しに対応させたデータになる。   The halftone processing unit 62 and the rasterization processing unit 63 basically have the same functions as the halftone processing unit 86 and the rasterization processing unit 87 on the printer driver 75 side of the host device 70. A predetermined halftone process is performed on the CMYK image data after color conversion by a method such as an error diffusion method or a dither method to generate CMYK dot halftone data. The halftone data is data indicating the presence or absence of dots. For example, in the case of 4 gradations, the gradation value “11” has a large dot, the gradation value “10” has a medium dot, and the gradation value “01”. Is data in which small dots are associated and the gradation value “00” is associated with no dots. Of course, two gradations (1 bit) may be used, in which case the gradation value “1” corresponds to data with dots and the gradation value “0” corresponds to data without dots.

ラスタライズ処理部63は、ハーフトーンデータに対して所定のラスタライズ処理を行って印刷ヘッド19から噴射される順番に並べ替え、CMYK各インクのドットの形成状況が表された印刷画像データ(ラスタデータ)を生成する。   The rasterization processing unit 63 performs predetermined rasterization processing on the halftone data, rearranges them in the order of ejection from the print head 19, and print image data (raster data) representing the dot formation status of each CMYK ink. Is generated.

次にモード設定処理について説明する。図3はモード設定ルーチンのフローチャートを示す。コンピューター31(詳しくは液量検出部44及びモード設定部45)は、図3に示されるモード設定ルーチンを実行する。   Next, the mode setting process will be described. FIG. 3 shows a flowchart of the mode setting routine. The computer 31 (specifically, the liquid amount detection unit 44 and the mode setting unit 45) executes a mode setting routine shown in FIG.

ステップS10では、インク残量を検出する。この検出は液量検出部44が行う。
ステップS20では、現在、黒印刷モードであるか否かを判断する。例えば黒印刷モードになっているときは、黒印刷モードフラグがオン(=1)になっているので、このフラグの値(オン/オフ)に応じて黒印刷モードであるか否かを判断する。黒印刷モードでなければステップS30に進み、黒印刷モードであればステップS60に進む。
In step S10, the ink remaining amount is detected. This detection is performed by the liquid amount detection unit 44.
In step S20, it is determined whether or not the current mode is the black printing mode. For example, when the black print mode is set, the black print mode flag is turned on (= 1), so whether or not the black print mode is set is determined according to the value of the flag (on / off). . If it is not the black printing mode, the process proceeds to step S30, and if it is the black printing mode, the process proceeds to step S60.

ステップS30では、カラーインクエンドであるか否かを判断する。ここで、カラーインクエンドとは、カラーを発現するための基本色であるCMY3色のうち少なくとも1色のインクがインクエンドになったことをいう。カラーインクエンドであればステップS40に進み、カラーインクエンドでなければ当該処理を終了する。   In step S30, it is determined whether or not the color ink end. Here, the color ink end means that at least one of the CMY three colors, which are basic colors for expressing the color, has become the ink end. If it is a color ink end, the process proceeds to step S40, and if it is not a color ink end, the process is terminated.

ステップS40では、黒インクありか否かを判断する。黒インクありならばステップS50に進み、黒インクなし(つまり黒インクエンド)であれば当該ルーチンを終了する。
ステップS50では、黒印刷モードをオンにする。こうしてそれまでのカラーも黒も印刷可能な通常印刷モードから、黒のみの印刷が可能な黒印刷モードに移行する。
In step S40, it is determined whether black ink is present. If there is black ink, the process proceeds to step S50, and if there is no black ink (that is, black ink end), the routine ends.
In step S50, the black printing mode is turned on. In this way, the normal printing mode in which both color and black can be printed shifts to the black printing mode in which only black printing is possible.

このように、通常印刷モードの状態において、カラーCMY3色のうち少なくとも1色のインクがインクエンドになった状態であるカラーインクエンドとなり、さらにそのとき黒インクの液量(残量)が所定の閾値(インクエンド閾値)(基準量)を超えており、黒インクありの状態にあれば、黒印刷モードになる。なお、黒インクの液量が閾値(基準量)以下になると、黒インクはインクエンドになる。   In this way, in the normal printing mode state, the color ink end is a state in which at least one of the three colors of color CMY is in the ink end state, and the liquid amount (remaining amount) of black ink at that time is a predetermined amount. If the threshold (ink end threshold) (reference amount) is exceeded and black ink is present, the black print mode is set. Note that when the amount of black ink is equal to or less than a threshold value (reference amount), the black ink becomes an ink end.

こうして黒印刷モードになった後は、本ルーチンのステップS20で肯定判定(YES)となり、ステップS60に進むことになる。
ステップS60では、インクカートリッジが交換されたか否かを判断する。インクカートリッジが交換されていなければステップS70に進み、一方、インクカートリッジが交換されていればステップS80に進む。
After entering the black printing mode in this way, an affirmative determination (YES) is made in step S20 of this routine, and the process proceeds to step S60.
In step S60, it is determined whether or not the ink cartridge has been replaced. If the ink cartridge has not been replaced, the process proceeds to step S70, and if the ink cartridge has been replaced, the process proceeds to step S80.

ステップS70では、黒インクエンドであるか否かを判断する。黒インクエンドでなければ当該ルーチンを終了し、黒インクエンドであればステップS80に進む。
ステップS80では、黒印刷モードをオフにする。つまり、インクカートリッジが交換されるか、黒インクがインクエンドになれば、黒印刷モードをオフにする。黒インクエンドを理由に黒印刷モードがオフになった場合は、カラー印刷だけでなくモノクロ印刷も禁止される。一方、インクカートリッジが交換されたときには、その交換時にインク流路内へ混入した虞のある気泡を除去するために比較的強力な吸引クリーニング(交換クリーニング)が行われる。カラーインクエンドの状態でノズルからインクを強制的に吸引するクリーニングが行われると、ノズルから空気が入り込んでできた気泡等が原因でインク噴射不良発生の原因になる。
In step S70, it is determined whether or not the black ink end. If it is not the black ink end, the routine ends. If it is the black ink end, the process proceeds to step S80.
In step S80, the black printing mode is turned off. That is, when the ink cartridge is replaced or when the black ink reaches the ink end, the black printing mode is turned off. When the black printing mode is turned off because of the black ink end, not only color printing but also monochrome printing is prohibited. On the other hand, when the ink cartridge is replaced, relatively strong suction cleaning (replacement cleaning) is performed in order to remove bubbles that may be mixed into the ink flow path. If cleaning is performed by forcibly sucking ink from the nozzles in the state of the color ink end, bubbles may be caused by air entering from the nozzles, which may cause ink ejection failure.

このため、インクカートリッジが交換されたときは、インクエンドの全てのインクカートリッジの交換を促す警告を表示部27に表示する。この場合、インクエンドの全インク色に対応するインクカートリッジを全て交換し終わるまで、カラー印刷もモノクロ印刷も不能な印刷禁止モードになる。なお、カラーCMY各色のインクがある状態で黒インクエンドになった場合は通常印刷モードが維持され、CMY各色を等量噴射してコンポジットブラックを生成するモノクロ印刷が行われる。このようにプリンター11は、各色のインクカートリッジ20K,20C,20M,20Yのインク残量に応じて通常印刷モードか黒印刷モードか印刷禁止モードのいずれか一つの状態をとる。   Therefore, when the ink cartridge is replaced, a warning that prompts replacement of all ink cartridges at the ink end is displayed on the display unit 27. In this case, until all the ink cartridges corresponding to all ink colors at the ink end are completely replaced, the printing prohibition mode in which neither color printing nor monochrome printing is possible is set. When the black ink end is reached in the presence of ink of each color CMY, the normal printing mode is maintained, and monochrome printing is performed in which equal amounts of CMY colors are ejected to generate composite black. As described above, the printer 11 takes one of the normal printing mode, the black printing mode, and the printing inhibition mode according to the remaining amount of ink in each color ink cartridge 20K, 20C, 20M, and 20Y.

次に黒印刷モード時における印刷処理を中心に説明する。図4は印刷処理ルーチンのフローチャートを示す。図4に示す印刷処理ルーチンはコンピューター31(主に印刷制御ユニット46)が実行する。なお、印刷処理には、ホスト装置70から受信した印刷データPDに基づく印刷処理と、メモリーカード28から読み出した画像データに基づく印刷処理とがある。   Next, the printing process in the black printing mode will be mainly described. FIG. 4 shows a flowchart of the print processing routine. The print processing routine shown in FIG. 4 is executed by the computer 31 (mainly the print control unit 46). The print processing includes print processing based on the print data PD received from the host device 70 and print processing based on the image data read from the memory card 28.

ホスト装置70からの印刷データPDは、ホスト装置70内のプリンタードライバー75が画像処理部84により色変換処理、ハーフトーン処理、ラスタライズ処理等を行って生成されたCMYK画像データを含むデータである。このため、黒印刷モード時に、ユーザーがホスト装置70側から印刷条件のうち印刷色として「カラー」を設定して画像の印刷を指示した場合、印刷データPDにはプリンタードライバー75が生成したCMYKカラー画像データが含まれることになる。   The print data PD from the host device 70 is data including CMYK image data generated by the printer driver 75 in the host device 70 performing color conversion processing, halftone processing, rasterization processing, and the like by the image processing unit 84. For this reason, in the black printing mode, when the user instructs printing of an image by setting “color” as the printing color among the printing conditions from the host device 70 side, the CMYK color generated by the printer driver 75 is included in the print data PD. Image data will be included.

図4におけるステップS110では、黒印刷モードであるか否かを判断する。黒印刷モードでなければステップS120に進み、黒印刷モードであればステップS130に進む。インクが全色ある場合は通常印刷モードなので、ステップS120に進む。   In step S110 in FIG. 4, it is determined whether the black printing mode is set. If it is not the black printing mode, the process proceeds to step S120, and if it is the black printing mode, the process proceeds to step S130. If all the colors of ink are in the normal printing mode, the process proceeds to step S120.

ステップS120では、ジョブはカラー印刷であるか否かを判断する。ジョブがカラー印刷でなければステップS180に進んで、モノクロ画像データに基づくモノクロ画像を印刷する。一方、ジョブがカラー印刷であればステップS190に進んで、カラー画像データに基づくカラー画像を印刷する。   In step S120, it is determined whether the job is color printing. If the job is not color printing, the process advances to step S180 to print a monochrome image based on the monochrome image data. On the other hand, if the job is color printing, the process advances to step S190 to print a color image based on the color image data.

その後、カラーインクのうち少なくとも1色がエンドになってそのとき黒インクがあれば、黒印刷モードになる(図3におけるS30〜S50)。印刷データPDを受信した際に、黒印刷モードであった場合は、図4におけるステップS130〜S180の各処理が行われることになる。   Thereafter, if at least one of the color inks is at the end and there is black ink at that time, the black printing mode is set (S30 to S50 in FIG. 3). When the print data PD is received and the print mode is the black print mode, the processes in steps S130 to S180 in FIG. 4 are performed.

ステップS130では、ジョブはモノクロ画像(本例ではグレースケール画像)であるか否かを判断する。ジョブがカラー画像かモノクロ画像かは、印刷色判定部52が、ジョブに含まれる印刷条件情報のうちの印刷色情報に基づいて判定する。ユーザーはホスト装置70側の操作で印刷色として「カラー」か「モノクロ」かを設定し、「カラー」を設定したときには印刷データPD中にCMYKカラー画像データが含まれ、「モノクロ」を設定したときには印刷データPD中にCMYKモノクロ画像データが含まれる。このため、印刷色情報が「カラー」であればジョブはカラー画像であり、印刷色情報が「モノクロ」であればジョブはモノクロ画像であると判断できる。ジョブがモノクロ画像であればステップS170に進み、ジョブがモノクロ画像でなければステップS140に進む。   In step S130, it is determined whether the job is a monochrome image (grayscale image in this example). The print color determination unit 52 determines whether the job is a color image or a monochrome image based on the print color information in the print condition information included in the job. The user sets “color” or “monochrome” as the print color by the operation on the host device 70 side, and when “color” is set, the print data PD includes CMYK color image data and sets “monochrome”. Sometimes the print data PD includes CMYK monochrome image data. Therefore, if the print color information is “color”, it can be determined that the job is a color image, and if the print color information is “monochrome”, the job is a monochrome image. If the job is a monochrome image, the process proceeds to step S170, and if the job is not a monochrome image, the process proceeds to step S140.

ところで、黒印刷モード時はモノクロ印刷しか許可されない。そのため、ユーザーは、黒印刷モード時は印刷色を「モノクロ」に設定して印刷を指示する。このときユーザーは印刷対象の画像や文書のデータを、モノクロ印刷であることを承知で印刷する。つまり、ユーザーはカラー印刷をしたい画像や文書は黒印刷モード時に印刷しないので、黒印刷モード時に印刷した画像や文書はモノクロ印刷を意図したデータとみなすことができる。   By the way, only monochrome printing is permitted in the black printing mode. Therefore, the user instructs printing by setting the printing color to “monochrome” in the black printing mode. At this time, the user prints the image or document data to be printed with the knowledge that it is monochrome printing. That is, since the user does not print an image or document to be color printed in the black print mode, the image or document printed in the black print mode can be regarded as data intended for monochrome printing.

ステップS170では、今回のジョブ情報を登録する。つまり、ユーザーが意図してモノクロ印刷を行ったときの画像や文書のデータと同じデータ種であったり、同種の印刷条件であった場合は、仮に黒印刷モード時に印刷色を「カラー」に設定していたとしても、ユーザーが黒印刷モードであることを忘れていたか、モノクロ印刷を意図しつつも印刷色の設定を「モノクロ」に変更し忘れた可能性が高い。あるいは、モノクロ印刷しかできない黒印刷モードであることを知ったときに印刷色の設定を「モノクロ」に設定し直してモノクロ印刷する可能性が高い。そのため、黒印刷モード時にユーザーが意図してモノクロ印刷を行った今回のジョブ情報を登録ジョブ情報として登録しておく。   In step S170, the current job information is registered. In other words, if the data type is the same as the image or document data when the user intentionally performed monochrome printing, or if the printing conditions are the same, the print color is set to “color” in the black print mode. Even if the user has forgotten that the user has forgotten that the user is in the black print mode, the user is likely to have forgotten to change the print color setting to “monochrome” while intending to perform monochrome printing. Alternatively, when it is known that the black print mode is capable of only monochrome printing, it is highly possible to reset the print color setting to “monochrome” and perform monochrome printing. For this reason, the current job information that the user intended to perform monochrome printing in the black printing mode is registered as registered job information.

本実施形態では、登録ジョブ情報として、データの属性情報と印刷条件情報とを採用する。属性情報としては、拡張子、ファイル名、作成日時等を採用する。例えばデジタルカメラで撮影した写真を印刷する場合、ユーザーがモノクロ印刷を選択する可能性は極めて低い。一方、文書やイラスト、表、グラフ等の画像を印刷する場合、カラーインクが切れたときにはユーザーはモノクロ印刷を選択する可能性が高い。また、黒印刷モードで以前に印刷したデータの場合、再度モノクロ印刷が選択される可能性が高い。例えばファイル名が同じであれば、今回もモノクロ印刷を意図している可能性が高い。また、作成日時まで同じであれば、同一データである可能性は一層高くなる。そのため、上記の点を考慮して、ユーザーがモノクロ印刷を選択するか選択しないかを判別できるデータの属性情報として、拡張子、ファイル名、作成日時を採用する。   In this embodiment, data attribute information and printing condition information are employed as registered job information. As the attribute information, an extension, a file name, a creation date, etc. are adopted. For example, when printing a photograph taken with a digital camera, the possibility that the user selects monochrome printing is extremely low. On the other hand, when printing an image such as a document, an illustration, a table, or a graph, the user is likely to select monochrome printing when the color ink runs out. In addition, in the case of data that has been previously printed in the black print mode, there is a high possibility that monochrome printing will be selected again. For example, if the file names are the same, there is a high possibility that monochrome printing is intended again this time. Moreover, if it is the same until the creation date, the possibility of the same data is further increased. Therefore, in consideration of the above points, an extension, a file name, and a creation date and time are adopted as attribute information of data that allows the user to determine whether to select monochrome printing or not.

また、印刷条件情報としては、用紙種、印刷モード等を採用する。例えば写真を印刷するときは用紙種として光沢紙が使用され、モノクロ印刷でもよい文書や画像を印刷するときは普通紙などが使用される。また、印刷モードには、高精細モード(写真モード)、普通モード、ドラフトモードなどがあるが、写真印刷のときには高精細モードが使用され、モノクロ印刷でもよい文書や画像の印刷時には普通モード又はドラフトモードが使用される。こうしてジョブ情報として、拡張子、ファイル名、作成日時、用紙種、印刷モード等が採用されている。このように黒印刷モード時にモノクロ印刷(S180)が行われるときには、今回のジョブ情報(拡張子、ファイル名、作成日時、用紙種、印刷モード等)が登録される(S170)。なお、メモリー55aには、黒印刷モード時にユーザーがモノクロ印刷する可能性の高いと推定されるデータの属性情報と、黒印刷モード時にユーザーがモノクロ印刷する際に設定すると推定される印刷条件情報(但し、印刷色情報を除く)とが予め登録ジョブ情報として登録されている。この予め登録されている属性情報(データ種情報)としては「拡張子」であり、モノクロ印刷が選択される可能性の高い文書や画像のデータの拡張子として、「doc」「txt」「eml」「pdf」「gif」「tif」などが登録されている。また、印刷条件情報として、用紙種「普通紙」「ハガキ」等の文書の印刷に用いられる用紙種が予め登録され、さらに印刷モードとして「普通モード」と「ドラフトモード」が予め登録されている。   In addition, as the printing condition information, a paper type, a printing mode, and the like are adopted. For example, glossy paper is used as a paper type when printing a photograph, and plain paper is used when printing a document or image that may be printed in monochrome. The print mode includes a high-definition mode (photo mode), a normal mode, and a draft mode. The high-definition mode is used for photo printing, and the normal mode or draft is used for printing a document or image that may be monochrome printing. Mode is used. Thus, the extension, file name, creation date / time, paper type, print mode, etc. are employed as the job information. Thus, when monochrome printing (S180) is performed in the black printing mode, the current job information (extension, file name, creation date, paper type, printing mode, etc.) is registered (S170). It should be noted that the memory 55a includes attribute information of data that is estimated to be highly likely to be monochrome printed by the user in the black printing mode, and printing condition information that is estimated to be set when the user performs monochrome printing in the black printing mode ( However, it is registered in advance as registered job information. The pre-registered attribute information (data type information) is “extension”, and “doc”, “txt”, “eml” are extensions of document or image data that are likely to be selected for monochrome printing. "Pdf", "gif", "tif", etc. are registered. Also, as print condition information, paper types used for printing documents such as paper types “plain paper” and “postcard” are registered in advance, and “normal mode” and “draft mode” are registered in advance as print modes. .

ステップS140では、今回のジョブは登録ジョブであるか否かを判断する。ここで、登録ジョブとは、メモリー55aに記憶されている登録ジョブ情報に一致するジョブ情報を有するジョブである。このため、今回のジョブからジョブ情報(拡張子、ファイル名、作成日時、用紙種、印刷モード等)を取得し、そのジョブ情報が登録ジョブ情報(登録拡張子、登録ファイル名、登録作成日時、登録用紙種、登録印刷モード等)と一致するか否かを判断する。そして、ジョブ情報と登録ジョブ情報とが一致すれば、今回のジョブが登録ジョブであると判定する。この一致の判定は、拡張子、ファイル名、作成日時、用紙種、印刷モードなどの個々に行って、1つでも一致すれば登録ジョブと判定してもよいし、複数項目(2つ以上)が一致してはじめて登録ジョブと判定する方法、全項目が一致してはじめて登録ジョブと判定する方法が挙げられる。なお、ファイル名は同じグループに属するファイル間では少し改変される場合もあるので、ファイル名の一致を判定する場合は、ファイル名の完全一致だけではなく、部分一致も採用する。そして、今回のジョブが登録ジョブでなければステップS150に進み、登録ジョブであればステップS160に進む。   In step S140, it is determined whether or not the current job is a registered job. Here, the registered job is a job having job information that matches the registered job information stored in the memory 55a. Therefore, job information (extension, file name, creation date / time, paper type, print mode, etc.) is acquired from the current job, and the job information is registered job information (registration extension, registration file name, registration creation date / time, It is determined whether or not it matches the registered paper type, registered print mode, etc. If the job information matches the registered job information, it is determined that the current job is a registered job. This match determination is performed for each of the extension, file name, creation date / time, paper type, print mode, etc., and if one of them matches, it may be determined as a registered job, or a plurality of items (two or more) And a method for determining a registered job only after all items match. Note that file names may be slightly modified between files belonging to the same group, and therefore, when matching of file names is determined, not only complete matching of file names but also partial matching is employed. If the current job is not a registered job, the process proceeds to step S150. If the current job is a registered job, the process proceeds to step S160.

ステップS150では、印刷不可の旨を報知する。すなわち、今回のジョブが登録ジョブでない場合、強制的にモノクロ印刷をすることはユーザーが意図しないと判断できるので、カラー印刷はできない旨を報知する。このとき、プリンター11から通信ケーブル60を通じてプリンタードライバー75に印刷不可の旨が通知され、プリンタードライバー75はモニター73に印刷不可の旨を表示する。   In step S150, it is notified that printing is not possible. That is, when the current job is not a registered job, it can be determined that the user does not intend to forcibly perform monochrome printing, so that color printing cannot be performed. At this time, the printer 11 notifies the printer driver 75 that printing is impossible via the communication cable 60, and the printer driver 75 displays on the monitor 73 that printing is not possible.

一方、ステップS160では、カラー画像データをモノクロ画像データに変換する。すなわち、グレースケール変換部54が、CMYKカラー画像データをグレースケール画像データに変換する。   On the other hand, in step S160, the color image data is converted into monochrome image data. That is, the gray scale conversion unit 54 converts CMYK color image data into gray scale image data.

ステップS170では、今回のジョブ情報を登録する。すなわち、コンピューター31の登録部55は、今回のジョブから取得したジョブ情報をメモリー55aに記憶する。
なお、黒印刷モード時にメモリーカード28中の画像を印刷する場合、メモリーカード28から読み出された画像データは、例えばデジタルカメラで撮影されたJpeg圧縮データである。コンピューター31は不図示の画像展開部によりJpeg圧縮データをYUV画像データに伸張し、さらにこれをYUV→RGBへの色変換をしてRGB画像データを取得する。ユーザーは印刷条件のうちの印刷色に「カラー」を設定して印刷を指示する。この場合、印刷対象の画像ファイルからデータ種特定情報を取得すると共に、そのときの印刷条件情報のうち被判定情報として決められた印刷条件情報を取得することで、ジョブ情報を取得する。そして、ジョブ情報が登録ジョブ情報と一致すれば、RGBカラー画像データをモノクロ画像データに変換する。このため、ユーザーは印刷色を「モノクロ」に設定し直して印刷を指示する余分な操作を省くことができる。
In step S170, the current job information is registered. That is, the registration unit 55 of the computer 31 stores job information acquired from the current job in the memory 55a.
Note that when printing an image in the memory card 28 in the black printing mode, the image data read from the memory card 28 is, for example, Jpeg compressed data taken by a digital camera. The computer 31 decompresses the Jpeg compressed data into YUV image data by an image expansion unit (not shown), and further performs color conversion from YUV to RGB to obtain RGB image data. The user instructs printing by setting “color” as the printing color in the printing conditions. In this case, the job type is acquired by acquiring the data type specifying information from the image file to be printed and acquiring the printing condition information determined as the determination target information from the printing condition information at that time. If the job information matches the registered job information, the RGB color image data is converted into monochrome image data. For this reason, the user can omit an extra operation of setting the print color to “monochrome” and instructing printing.

以上詳述したように、本実施形態では、以下に示す効果を得ることができる。
(1)黒印刷モード時に、グレースケール変換部54がCMYKカラー画像データをモノクロ画像データに変換するので(S160)、ユーザーは印刷色を「モノクロ」に設定し直して印刷を指示する余分な操作を省くことができる。また、この場合、プリンター11側に印刷制御装置の一例である印刷制御ユニット46を備えた構成であっても、黒印刷モード時におけるモノクロ印刷への自動切り替えを行うことができる。
As described above in detail, in the present embodiment, the following effects can be obtained.
(1) Since the grayscale conversion unit 54 converts CMYK color image data to monochrome image data in the black print mode (S160), the user sets the print color to “monochrome” and performs an extra operation for instructing printing. Can be omitted. In this case, even when the printer 11 is provided with a print control unit 46 that is an example of a print control device, automatic switching to monochrome printing in the black print mode can be performed.

(2)印刷対象のデータから取得したジョブ情報と、登録部55のメモリー55aに登録されている登録ジョブ情報とを比較し、一致(完全一致又は部分一致)した場合に、CMYKカラー画像データをモノクロ画像データに変換する。よって、モノクロ印刷への変更が妥当であることを比較的適切に判断できる。   (2) The job information acquired from the data to be printed is compared with the registered job information registered in the memory 55a of the registration unit 55, and if they match (completely match or partially match), the CMYK color image data is Convert to monochrome image data. Therefore, it can be determined relatively appropriately that the change to monochrome printing is appropriate.

(3)黒印刷モード時にユーザーがモノクロ印刷を行ったときのデータの属性情報を登録ジョブ情報として登録するので、モノクロ印刷への変更が妥当であることを比較的適切に判断できる。特に属性情報として、拡張子、ファイル名などを採用するので、印刷対象のデータが、黒印刷モードで過去に少なくとも一回印刷されたデータと同じデータ種であれば、たとえ設定が「カラー」でも、その印刷をモノクロ印刷へ切り替えることができる。よって、
(4)特に過去に黒印刷モードでモノクロ印刷を行ったデータであれば、モノクロ印刷を意図している可能性が極めて高く、モノクロ印刷への変更の妥当性が一層高いと判断できる。そして、ジョブ情報の1つとして属性情報「作成日時」を採用することにより、同一のデータである可能性が高くなるので、例えばユーザーが黒印刷モード時に同じデータを指定して繰り返し印刷する場合などにおいては、設定が「カラー」であってもモノクロ印刷へ切り替えることができる。
(3) Since the attribute information of the data when the user performs monochrome printing in the black printing mode is registered as registered job information, it can be determined relatively appropriately that the change to monochrome printing is appropriate. In particular, since the extension, file name, etc. are adopted as the attribute information, even if the setting is “color” if the data to be printed is the same data type as the data printed at least once in the black print mode in the past. The printing can be switched to monochrome printing. Therefore,
(4) In particular, if the data has been monochrome printed in the black print mode in the past, it is highly possible that the user intends to perform monochrome printing, and it can be determined that the change to monochrome printing is more appropriate. Then, by adopting the attribute information “creation date” as one of the job information, the possibility of the same data is increased. For example, when the user designates the same data in the black print mode and repeatedly prints it. Can be switched to monochrome printing even if the setting is “color”.

(5)ジョブ情報の1つとして印刷条件情報「用紙種」「印刷モード」を採用しているので、用紙種「普通紙」の場合はモノクロ印刷に切り替えることができ、印刷モード「普通印刷モード」及び「ドラフトモード」の場合はモノクロ印刷に切り替えることができる。   (5) Since the print condition information “paper type” and “print mode” are adopted as one of the job information, the print mode “normal print mode” can be switched to the monochrome print when the paper type is “plain paper”. "And" draft mode "can be switched to monochrome printing.

(6)登録ジョブ情報には、予め登録している登録ジョブ情報だけでなく、黒印刷モード時のモノクロ印刷が行われた際のジョブ情報を登録した登録ジョブ情報も採用する。よって、ユーザー個々の趣向も反映させて黒印刷モード時におけるモノクロ印刷への自動切り替えを行うことができる。   (6) The registered job information employs not only registered job information registered in advance, but also registered job information in which job information when monochrome printing is performed in the black print mode is registered. Therefore, it is possible to automatically switch to monochrome printing in the black printing mode while reflecting the user's individual preferences.

(7)黒印刷モード時にメモリーカード28の画像を印刷する場合も、モノクロ印刷への自動切り替えを行うことができる。
(第2実施形態)
次に第2実施形態を図5及び図6に基づいて説明する。図5は本実施形態のプリンター及びホスト装置を示すブロック図である。図6は印刷ジョブ生成ルーチンのフローチャートである。この第2実施形態ではプリンタードライバー75に特徴があり、プリンタードライバー75側で、モノクロ印刷への変更が妥当であるか否かの判定と、カラー画像データからモノクロ画像データへの変換とを行う。
(7) When the image on the memory card 28 is printed in the black print mode, automatic switching to monochrome printing can be performed.
(Second Embodiment)
Next, a second embodiment will be described with reference to FIGS. FIG. 5 is a block diagram showing the printer and host device of the present embodiment. FIG. 6 is a flowchart of the print job generation routine. The second embodiment is characterized by the printer driver 75. The printer driver 75 determines whether or not the change to monochrome printing is appropriate and converts color image data to monochrome image data.

図5に示すように、プリンタードライバー75は、印刷制御装置の一例である印刷ジョブ生成ユニット90を備えている。この印刷ジョブ生成ユニット90は、画像処理部84の他、モード取得部91、モード判定部92、印刷色判定部93、判定部94、設定変更手段の一例である印刷色変更部95及び登録部96とを有している。   As shown in FIG. 5, the printer driver 75 includes a print job generation unit 90 that is an example of a print control apparatus. In addition to the image processing unit 84, the print job generation unit 90 includes a mode acquisition unit 91, a mode determination unit 92, a print color determination unit 93, a determination unit 94, a print color change unit 95 that is an example of a setting change unit, and a registration unit. 96.

ここで、モード取得部91は、プリンター11側のモード設定部45が設定したモードの情報(モード情報)を、通信I/F39,76を介して取得する。また、モード判定部92、印刷色判定部93、判定部94及び登録部96は、それぞれ第1実施形態においてプリンター11の印刷制御ユニット46内に設けられていたモード判定部51、印刷色判定部52、判定部53及び登録部55と基本的に同様の機能を有している。   Here, the mode acquisition unit 91 acquires the mode information (mode information) set by the mode setting unit 45 on the printer 11 side via the communication I / Fs 39 and 76. In addition, the mode determination unit 92, the print color determination unit 93, the determination unit 94, and the registration unit 96 are respectively a mode determination unit 51 and a print color determination unit provided in the print control unit 46 of the printer 11 in the first embodiment. 52, basically the same function as the determination unit 53 and the registration unit 55.

印刷色変更部95は、判定部94がモノクロ印刷への変更が妥当であると判定した場合に、印刷条件のうちの印刷色の設定を「カラー」から「モノクロ」へ変更する。このため、黒印刷モード時にユーザーが印刷色の設定を「カラー」から「モノクロ」へ変更して印刷の指示をやり直す余分な操作を省くことができる。   When the determination unit 94 determines that the change to monochrome printing is appropriate, the print color change unit 95 changes the setting of the print color in the printing conditions from “color” to “monochrome”. Therefore, it is possible to omit an extra operation in which the user changes the print color setting from “color” to “monochrome” and repeats the print instruction in the black print mode.

次にこの第2実施形態における黒印刷モード時における印刷処理を中心に説明する。図6は印刷ジョブ生成ルーチンのフローチャートを示す。図6に示す印刷ジョブ生成ルーチンはコンピューター31(主に印刷制御ユニット46)が実行する。   Next, the printing process in the black printing mode in the second embodiment will be mainly described. FIG. 6 shows a flowchart of a print job generation routine. The print job generation routine shown in FIG. 6 is executed by the computer 31 (mainly the print control unit 46).

ユーザーはホスト装置70において、用紙種、用紙サイズ、印刷色、レイアウト、印刷モード等の印刷条件を設定する。プリンタードライバー75はRGBカラー画像データに印刷条件に応じた画像処理を施してCMYK画像データを生成し、これに印刷コマンドを付して印刷ジョブデータPDを生成する。   The user sets printing conditions such as paper type, paper size, printing color, layout, and printing mode in the host device 70. The printer driver 75 performs image processing according to printing conditions on the RGB color image data to generate CMYK image data, attaches a print command thereto, and generates print job data PD.

本実施形態では、この画像処理を行う前に、ホスト装置70内のコンピューターが、プリンタードライバー75内のホスト制御部81及び印刷ジョブ生成ユニット90を起動させることにより、図6の印刷ジョブ生成ルーチンを行う。なお、本実施形態におけるプリンタードライバー75内の画像処理部84は、第1実施形態で示した画像処理部84と同一のものであるが、図5においては色変換部85を、カラー用の色変換部85aとグレースケール変換部85bとに分けて描いている。ここで、カラー用の色変換部85aは、カラー用変換LUTを参照して、RGB画素の各階調値(256階調)を、CMYK画素の各階調値(256階調)へ変換する。   In the present embodiment, before performing this image processing, the computer in the host device 70 activates the host control unit 81 and the print job generation unit 90 in the printer driver 75, so that the print job generation routine in FIG. Do. Note that the image processing unit 84 in the printer driver 75 in this embodiment is the same as the image processing unit 84 shown in the first embodiment. However, in FIG. The conversion part 85a and the gray scale conversion part 85b are drawn separately. Here, the color conversion unit 85a for color converts each gradation value (256 gradations) of the RGB pixel into each gradation value (256 gradations) of the CMYK pixel with reference to the color conversion LUT.

以下、図6のフローチャートに従ってホスト装置70内のコンピューターがプリンタードライバープログラムを実行することにより、印刷ジョブデータPDを生成する印刷ジョブ生成処理を説明する。   Hereinafter, print job generation processing for generating print job data PD when a computer in the host device 70 executes a printer driver program according to the flowchart of FIG. 6 will be described.

まずステップS310では、モードを取得する。すなわち、モード取得部91が、プリンター11からモード設定部45が設定しているモードの情報を取得する。
次のステップS320では、黒印刷モードであるか否かを判断する。黒印刷モードでなければステップS330に進み、黒印刷モードであればステップS340に進む。プリンター11においてインクが全色ある場合は通常印刷モードなので、ステップS330に進む。
First, in step S310, the mode is acquired. That is, the mode acquisition unit 91 acquires information on the mode set by the mode setting unit 45 from the printer 11.
In the next step S320, it is determined whether or not it is the black printing mode. If it is not the black printing mode, the process proceeds to step S330, and if it is the black printing mode, the process proceeds to step S340. If the printer 11 has all colors of ink, it is the normal print mode, so the process proceeds to step S330.

ステップS330では、印刷条件に応じた印刷ジョブデータPDを生成する。例えば印刷条件のうちの印刷色の設定が「カラー」であれば、CMYKカラー画像データを生成し、これに印刷コマンドを付して印刷ジョブデータPDを生成する。また、印刷条件のうちの印刷色の設定が「モノクロ」であれば、モノクロ画像データを生成し、これに印刷コマンドを付して印刷ジョブデータPDを生成する。   In step S330, print job data PD corresponding to the printing conditions is generated. For example, if the print color setting in the print conditions is “color”, CMYK color image data is generated, and a print command is added to this to generate print job data PD. If the print color setting in the print condition is “monochrome”, monochrome image data is generated, and a print command is added to the print image data PD.

その後、カラーインクのうち少なくとも1色がエンドになってそのとき黒インクがあれば、黒印刷モードになる(図3におけるS30〜S50)。プリンター11から取得したモード情報に基づき黒印刷モードであった場合は、図6におけるステップS340〜S400の各処理が行われることになる。   Thereafter, if at least one of the color inks is at the end and there is black ink at that time, the black printing mode is set (S30 to S50 in FIG. 3). When the black printing mode is based on the mode information acquired from the printer 11, the processes in steps S340 to S400 in FIG. 6 are performed.

ステップS340では、印刷色は「モノクロ」であるか否かを判断する。印刷色が「カラー」か「モノクロ」かは、印刷色判定部52が、ユーザーによる入力操作部72からの操作信号に基づき印刷条件設定部82が設定した印刷条件情報のうちの印刷色情報に基づいて判定する。印刷色が「モノクロ」であればステップS350に進み、印刷色が「モノクロ」でなければ(つまり「カラー」であれば)ステップS360に進む。   In step S340, it is determined whether or not the print color is “monochrome”. Whether the print color is “color” or “monochrome” is determined by the print color determination unit 52 in the print color information of the print condition information set by the print condition setting unit 82 based on the operation signal from the input operation unit 72 by the user. Judgment based on. If the print color is “monochrome”, the process proceeds to step S350, and if the print color is not “monochrome” (ie, “color”), the process proceeds to step S360.

ステップS350では、画像データをモノクロ画像データに変換する。すなわち、グレースケール変換部85bがRGB表色系の画像データを、モノクロ用変換LUTを参照してCMYK表色系のモノクロ画像データに変換する。   In step S350, the image data is converted into monochrome image data. That is, the gray scale conversion unit 85b converts the RGB color system image data into CMYK color system monochrome image data with reference to the monochrome conversion LUT.

そして、ステップS390では、今回のジョブ情報を登録する。つまり、ユーザーが黒印刷モード時に意図してモノクロ印刷を行ったときのデータのデータ種を特定するための少なくとも1つの属性情報と、印刷条件情報のうちの判定用として決められている少なくとも1つの印刷条件情報とを含む今回のジョブ情報を登録ジョブ情報として登録する。ジョブ情報は、前記第1実施形態と同様であり、拡張子、ファイル名、用紙種、印刷モードなどである。そして、ジョブ情報の登録後、次のステップS400において、先に変換して生成したモノクロ画像データに印刷コマンドを付して印刷ジョブデータPDを生成する。   In step S390, the current job information is registered. That is, at least one attribute information for specifying the data type of data when the user intentionally performs monochrome printing in the black printing mode and at least one of the printing condition information determined for determination The current job information including the printing condition information is registered as registered job information. The job information is the same as in the first embodiment, and includes an extension, a file name, a paper type, a print mode, and the like. Then, after registering the job information, in the next step S400, print job data PD is generated by attaching a print command to the monochrome image data generated by the previous conversion.

一方、印刷色の設定が「モノクロ」でなかった場合(つまり「カラー」であった場合)は、ステップS140において、今回のジョブは登録ジョブであるか否かを判断する。ここで、登録ジョブとは、ユーザーが画像データ及び印刷条件を指定して印刷を指示したジョブに係るジョブ情報が、メモリー55aに記憶されている登録ジョブ情報に一致するジョブ情報を有するジョブを指す。このため、今回のジョブからジョブ情報(拡張子、ファイル名、用紙種、印刷モード等)を取得し、そのジョブ情報が登録ジョブ情報(登録拡張子、登録ファイル名、登録用紙種、登録印刷モード等)と一致するか否かを判断する。そして、ジョブ情報と登録ジョブ情報とが一致(完全一致又は部分一致)すれば、今回のジョブが登録ジョブであると判定する。この一致の判定は、拡張子、ファイル名、用紙種、印刷モードなどの個々に行って、1つでも一致すれば登録ジョブと判定する部分位置でもよいし、複数項目(2つ以上)が一致してはじめて登録ジョブと判定する部分一致の方法、全項目が一致してはじめて登録ジョブと判定する完全一致の方法が挙げられる。なお、ファイル名は同じグループに属するファイル間では少し変えられる場合もあるので、ファイル名の一致を判定する場合、完全一致だけではなく部分一致も採用することが好ましい。そして、今回のジョブが登録ジョブでなければステップS370に進み、登録ジョブであればステップS380に進む。   On the other hand, if the print color setting is not “monochrome” (that is, “color”), it is determined in step S140 whether or not the current job is a registered job. Here, the registered job refers to a job in which job information related to a job for which the user has designated image data and printing conditions and instructed printing has job information that matches the registered job information stored in the memory 55a. . Therefore, job information (extension, file name, paper type, print mode, etc.) is acquired from the current job, and the job information is registered job information (registered extension, registered file name, registered paper type, registered print mode). Etc.) is determined. If the job information and the registered job information match (completely match or partially match), it is determined that the current job is a registered job. This match determination is performed individually for the extension, file name, paper type, print mode, etc., and if at least one matches, it may be a partial position for determining a registered job, or a plurality of items (two or more) may be one. A partial matching method for determining a registered job for the first time after that, and a complete matching method for determining a registered job for the first time when all items match. Since the file name may be slightly changed between files belonging to the same group, it is preferable to adopt not only complete matching but also partial matching when determining matching of file names. If the current job is not a registered job, the process proceeds to step S370. If the current job is a registered job, the process proceeds to step S380.

ステップS370では、印刷不可の旨を報知する。すなわち、今回のジョブが登録ジョブでない場合、モノクロ印刷への変更はユーザーが意図しないと判断できるので、カラー印刷不可の旨を報知する。このとき、プリンター11から通信ケーブル60を通じてプリンタードライバー75に印刷不可の旨が通知され、プリンタードライバー75はモニター73に印刷不可の旨を表示する。   In step S370, it is notified that printing is not possible. That is, if the current job is not a registered job, it can be determined that the user has not intended to change to monochrome printing, so that the user is informed that color printing is not possible. At this time, the printer 11 notifies the printer driver 75 that printing is impossible via the communication cable 60, and the printer driver 75 displays on the monitor 73 that printing is not possible.

一方、ステップS380では、印刷色の設定を「モノクロ」に変更し、カラー画像データをモノクロ画像データに変換する。すなわち、印刷色変更部95が印刷色の設定を「モノクロ」に変更し、この「モノクロ」への設定変更に従って、グレースケール変換部85bが、RGB表色系のカラー画像データを、CMYK表色系のモノクロ画像データに変換する。   On the other hand, in step S380, the print color setting is changed to “monochrome”, and the color image data is converted to monochrome image data. That is, the print color change unit 95 changes the print color setting to “monochrome”, and the grayscale conversion unit 85b converts the color image data of the RGB color system into the CMYK color specification according to the setting change to “monochrome”. To monochrome image data.

ステップS390では、今回のジョブ情報を登録する。すなわち、登録部96は、今回の印刷対象であるデータの属性情報及びユーザーが設定した印刷条件情報の中から予め決められているジョブ情報を取得し、それを登録ジョブ情報としてメモリー96aに記憶する。そしてステップS400において、S380での変換により生成したモノクロ画像データに、印刷コマンドを付して印刷ジョブデータPDを生成する。   In step S390, the current job information is registered. That is, the registration unit 96 acquires predetermined job information from the attribute information of the data to be printed this time and the printing condition information set by the user, and stores it in the memory 96a as registered job information. . In step S400, print job data PD is generated by attaching a print command to the monochrome image data generated by the conversion in S380.

そして、ホスト制御部81は、この印刷ジョブ生成ルーチンの処理により生成した印刷ジョブデータPDを、通信I/F39,76間の通信ケーブル60を通じてプリンター11側へ転送する。プリンター11が黒印刷モードにあるとき、ユーザーは黒印刷モードであることを忘れて「カラー」を設定したり、黒印刷モードであるためモノクロ印刷をするつもりでいながら「モノクロ」の設定をし忘れたりする場合がある。このような場合、印刷対象として指定したデータやそのとき設定した他の印刷条件情報から、モノクロ印刷への変更が妥当であるか否かが判定される。このため、ユーザーが黒印刷モードのときにはモノクロ印刷で印刷するデータや印刷条件の場合は、モノクロ印刷が行われる。   Then, the host control unit 81 transfers the print job data PD generated by the processing of this print job generation routine to the printer 11 side through the communication cable 60 between the communication I / Fs 39 and 76. When the printer 11 is in the black printing mode, the user forgets that it is in the black printing mode and sets “color”, or sets the “monochrome” while intending to perform monochrome printing because it is in the black printing mode. You may forget. In such a case, it is determined whether or not the change to monochrome printing is appropriate from the data designated as the print target and other print condition information set at that time. Therefore, when the user is in the black printing mode, monochrome printing is performed in the case of data or printing conditions to be printed in monochrome printing.

よって、第2実施形態によれば、第1実施形態と同様の効果が得られる他、以下の効果を得ることができる。
(8)印刷ジョブデータを生成するプリンタードライバー75に、印刷制御装置の一例である印刷ジョブ生成ユニット90を備えたので、印刷色変更部95が印刷色の設定を「カラー」から「モノクロ」へ変更するだけで、既存の色変換部85a及びグレースケール変換部85bを用いて、モノクロ印刷への変更を行うことができる。このため、第1実施形態のようにCMYKカラー画像データをモノクロ画像データに変換するための特殊なグレースケール変換部54を設ける必要がない。
Therefore, according to the second embodiment, in addition to the same effects as the first embodiment, the following effects can be obtained.
(8) Since the printer driver 75 that generates print job data includes the print job generation unit 90 that is an example of a print control apparatus, the print color changing unit 95 changes the print color setting from “color” to “monochrome”. Only by changing, it is possible to change to monochrome printing using the existing color conversion unit 85a and grayscale conversion unit 85b. For this reason, it is not necessary to provide a special gray scale conversion unit 54 for converting CMYK color image data into monochrome image data as in the first embodiment.

なお、上記実施形態は以下のような形態に変更することもできる。
・第1実施形態においてプリンター11側に備えた印刷制御ユニット46と、第2実施形態においてホスト装置70側に備えたプリンタードライバー75との両方を備えた印刷制御装置を採用することもできる。
In addition, the said embodiment can also be changed into the following forms.
A print control device including both the print control unit 46 provided on the printer 11 side in the first embodiment and the printer driver 75 provided on the host device 70 side in the second embodiment may be employed.

・ジョブ情報は、データの属性情報と印刷条件情報とのうち一方だけでもよい。
・登録ジョブ情報は、予め登録しておく登録ジョブ情報だけの構成としてもよい。また、これとは反対に、黒印刷モード時にモノクロ印刷された際の印刷対象のデータの属性情報と、そのときに設定された印刷条件情報とのうち少なくとも一方よりなる登録ジョブ情報だけを採用してもよい。
The job information may be only one of data attribute information and printing condition information.
The registered job information may be composed of only registered job information registered in advance. On the other hand, only the registered job information consisting of at least one of the attribute information of the data to be printed when the monochrome printing is performed in the black printing mode and the printing condition information set at that time is adopted. May be.

・第2実施形態のプリンタードライバー75において、CMYKカラー画像データをモノクロ画像データに変換する構成を採用してもよい。
・スキャナー搭載型の印刷装置において、黒印刷モードでカラーコピーの操作が行われた際にモノクロ印刷への自動切替えを行ってもよい。
In the printer driver 75 of the second embodiment, a configuration for converting CMYK color image data into monochrome image data may be employed.
In a scanner-equipped printing apparatus, automatic switching to monochrome printing may be performed when a color copy operation is performed in the black printing mode.

・予め登録しておく登録ジョブ情報は、ユーザーがプリンター11側の操作部26又はホスト装置70側の入力操作部72を操作することにより選択できる構成としてもよい。
・判定手段が判定に用いる判定用情報をユーザーが操作部を操作して設定できるようにしてもよい。例えば拡張子、ソフトウェア名等の設定情報を挙げることができる。例えば設定された判定用情報はメモリーに記憶される。そして、印刷実行の指示を受け付けると、その印刷を実行すべきデータのファイル名中の拡張子と、その指示元のソフトウェアの商品名などを取得する。判定手段は、メモリーから写真に用いられる写真用拡張子「jpg」「tif」「bmp」等は黒印刷NGと判定し、主に文書に用いられる文書用拡張子「doc」「txt」等は黒印刷OKと判定する。写真表示に使用される画像編集ソフトウェアの商品名であれば黒印刷NG、文書作成用ソフトウェアの商品名であれば黒印刷OKと判定する。
The registered job information registered in advance may be configured so that the user can select it by operating the operation unit 26 on the printer 11 side or the input operation unit 72 on the host device 70 side.
The determination information used by the determination unit for determination may be set by the user operating the operation unit. For example, setting information such as an extension and a software name can be given. For example, the set determination information is stored in the memory. When the print execution instruction is received, the extension in the file name of the data to be printed, the product name of the instruction source software, and the like are acquired. The determination means determines that the extensions “jpg”, “tif”, “bmp”, etc. used for photos from the memory are black printing NG, and the extensions “doc”, “txt”, etc. used mainly for documents are determined. It is determined that black printing is OK. If the product name of the image editing software used for photo display is black printing NG, the product name of the document creation software is determined to be black printing OK.

・前記実施形態では、モノクロ印刷の場合、カラー画像をグレースケール画像に変換したが、カラー画像をモノクロ2階調に変換してもよい。さらに、判定手段が、文書と判定すればモノクロ2階調に変換し、写真と判定すればグレースケール画像に変換する構成も採用できる。   In the above embodiment, in the case of monochrome printing, a color image is converted to a grayscale image, but a color image may be converted to monochrome two gradations. Further, it is possible to adopt a configuration in which the determination means converts to monochrome two gradations if it is determined as a document, and converts it into a gray scale image if it is determined as a photograph.

・カラーインクは、シアン(C)、マゼンタ(M)、イエロー(Y)の3色に限定されない。CやMの淡色、Yの濃色、レッド、バイオレット等も採用してもよい。
・色素材は、インクジェット用のインクに限定されず、トナーインクやインクリボンでもよい。また、液体インクの場合、顔料インクでもよいし、染料インクでもよい。
The color ink is not limited to three colors, cyan (C), magenta (M), and yellow (Y). C and M light colors, Y dark colors, red, violet, and the like may also be employed.
The color material is not limited to ink jet ink, and may be toner ink or ink ribbon. In the case of liquid ink, pigment ink or dye ink may be used.

・印刷装置はインクジェット式プリンターに限らず、トナーインクを使用するレーザープリンター、ワイヤーインパクト式プリンター、インク昇華式プリンター、熱転写式プリンター、感熱式プリンターなども採用できる。
・印刷装置は、シリアルプリンターに限定されず、ラインプリンターやページプリンターでもよい。
-The printing apparatus is not limited to an ink jet printer, and a laser printer using a toner ink, a wire impact printer, an ink sublimation printer, a thermal transfer printer, a thermal printer, and the like can also be employed.
-The printing apparatus is not limited to a serial printer, and may be a line printer or a page printer.

・媒体は用紙(紙)に限定されず、プラスチック、金属、セラミック等のフィルムやシート、布などでもよい。   The medium is not limited to paper (paper), and may be a film, sheet, cloth, etc., such as plastic, metal, or ceramic.

11…印刷装置の一例としてのプリンター、14…搬送手段の一例を構成する紙送りモーター、16…印刷手段の一例を構成するキャリッジ、18…印刷手段の一例を構成するキャリッジモーター、19…印刷手段の一例を構成する印刷ヘッド、19a…加圧素子、20,20c,20m,20y,20k…インクカートリッジ、26…入力手段の一例である操作部、27…表示部、28…メモリーカード、30…コントローラー、31…コンピューター、33…表示駆動回路、34…モーター駆動回路、36…ヘッド駆動回路、41…主制御部、42…印刷条件設定部、43…コマンド解析部、44…エンド検出手段の一例である液量検出部、45…モード設定手段の一例であるモード設定部、46…印刷制御ユニットの一例である印刷制御ユニット、50…通信ケーブル、51…モード判定手段の一例であるモード判定部、52…印刷色判定部、53…判定手段の一例である判定部、54…変換手段の一例であるグレースケール変換部、55…登録手段の一例である登録部、55a…記憶手段の位置としてのメモリー、56…画像処理部、61…色変換部、62…ハーフトーン処理部、63…ラスタライズ処理部70…ホスト装置、72…入力手段の一例である入力操作部、73…モニター、74…アプリケーション部、75…プリンタードライバー、81…ホスト制御部、82…印刷条件設定部、83…ジョブ情報取得部、84…画像処理部、85…色変換部、85a…色変換部、85b…グレースケール変換部、86…ハーフトーン処理部、87…ラスタライズ処理部、90…印刷ジョブ生成ユニット、91…モード取得部、92…モード判定部、93…印刷色判定部、94…判定部、95…設定変更手段の一例である印刷色変更部、96…登録部、96a…メモリー、P…媒体の一例である用紙、C…カラー用色素材の一例であるシアンインク、M…カラー用色素材の一例であるマゼンタインク、Y…カラー用色素材の一例であるイエローインク、K…黒用色素材の一例である黒インク。   DESCRIPTION OF SYMBOLS 11 ... Printer as an example of a printing apparatus, 14 ... Paper feed motor which comprises an example of a conveyance means, 16 ... The carriage which comprises an example of a printing means, 18 ... The carriage motor which comprises an example of a printing means, 19 ... Printing means Print head, 19a ... pressure element, 20, 20c, 20m, 20y, 20k ... ink cartridge, 26 ... operation unit as an example of input means, 27 ... display unit, 28 ... memory card, 30 ... Controller, 31 ... Computer, 33 ... Display drive circuit, 34 ... Motor drive circuit, 36 ... Head drive circuit, 41 ... Main control unit, 42 ... Print condition setting unit, 43 ... Command analysis unit, 44 ... Example of end detection means A liquid amount detecting unit 45, a mode setting unit 45 as an example of a mode setting unit, and 46 ... a printing control unit as an example of a printing control unit. Unit: 50... Communication cable, 51... Mode determination unit as an example of mode determination unit, 52... Print color determination unit, 53... Determination unit as an example of determination unit, 54 .grayscale conversion unit as an example of conversion unit 55... Registration unit which is an example of a registration unit, 55 a. Memory as a location of the storage unit, 56... Image processing unit, 61... Color conversion unit, 62 ... halftone processing unit, 63. 72 ... Input operation unit as an example of input means, 73 ... Monitor, 74 ... Application unit, 75 ... Printer driver, 81 ... Host control unit, 82 ... Print condition setting unit, 83 ... Job information acquisition unit, 84 ... Image Processing unit 85... Color conversion unit 85 a Color conversion unit 85 b Gray scale conversion unit 86 Halftone processing unit 87 Rasterization processing unit 9 ... Print job generation unit, 91 ... Mode acquisition part, 92 ... Mode determination part, 93 ... Print color determination part, 94 ... Determination part, 95 ... Print color change part as an example of setting change means, 96 ... Registration part, 96a ... Memory, P ... Paper as an example of medium, C ... Cyan ink as an example of color material for color, M ... Magenta ink as an example of color material for color, Y ... Yellow ink as an example of color material for color , K: Black ink which is an example of a black color material.

Claims (10)

カラー印刷とモノクロ印刷とを制御する印刷制御装置であって、
カラー印刷とモノクロ印刷を共に許可する第1モードから、カラー用色素材のうち少なくとも1色のエンドが検出されたときに移行したカラー印刷を禁止しかつモノクロ印刷は許可する第2モードであるか否かを判定するモード判定手段と、
前記第2モードのときにカラー画像データに基づくカラー印刷の指示を受け付けた場合に、モノクロ印刷への変更が妥当であるか否かを判定する判定手段と、
前記判定手段がモノクロ印刷への変更が妥当と判定した場合、前記カラー画像データをモノクロ画像データに変換する変換手段と、
を備えたことを特徴とする印刷制御装置。
A print control device for controlling color printing and monochrome printing,
Is the second mode in which color printing shifted from the first mode in which both color printing and monochrome printing are permitted prohibited when at least one end of color material is detected and monochrome printing is permitted? Mode determining means for determining whether or not,
Determining means for determining whether or not the change to monochrome printing is appropriate when an instruction for color printing based on color image data is received in the second mode;
A conversion means for converting the color image data into monochrome image data when the determination means determines that the change to monochrome printing is appropriate;
A printing control apparatus comprising:
前記印刷制御装置は印刷装置に備えられ、
複数のカラー用色素材と黒用色素材の個々のエンドを検出するエンド検出手段と、
カラー用色素材のうち少なくとも1色のエンドが検出されると、カラー印刷とモノクロ印刷を共に許可する第1モードから、カラー印刷を禁止しかつモノクロ印刷は許可する第2モードへ移行するモード設定手段と、
前記第2モードのときにカラー印刷のジョブを受け付けた場合に、モノクロ印刷への変更が妥当であるか否かを判定する判定手段と、
前記判定手段でモノクロ印刷でも妥当と判定した場合、前記ジョブのカラー画像データをモノクロ画像データに変換する変換手段と、
を備えたことを特徴とする請求項1に記載の印刷制御装置。
The printing control device is provided in a printing device,
End detection means for detecting individual ends of a plurality of color materials for color and black color material;
Mode setting that shifts from the first mode in which both color printing and monochrome printing are permitted to the second mode in which color printing is prohibited and monochrome printing is permitted when at least one end of color material is detected. Means,
Determining means for determining whether or not a change to monochrome printing is appropriate when a color printing job is received in the second mode;
A conversion unit that converts the color image data of the job into monochrome image data when the determination unit determines that monochrome printing is appropriate;
The printing control apparatus according to claim 1, further comprising:
カラーかモノクロかで設定される印刷色を一つの条件として含む印刷条件を入力手段から入力する構成であり、
前記第2モードのときに前記印刷色としてカラーが設定されたカラー印刷の指示を受け付けた場合に、前記判定手段は、モノクロ印刷への変更が妥当であるか否かを判定し、
モノクロ印刷への変更が妥当であると判定されると、前記印刷条件における前記印刷色の設定をカラーからモノクロへ変更する設定変更手段を更に備え、
前記変換手段は、前記変更されたモノクロの設定に基づいて印刷対象の画像データをモノクロ画像データに色変換することを特徴とする請求項1に記載の印刷制御装置。
It is a configuration for inputting a printing condition including a printing color set in color or monochrome as one condition from an input unit,
When receiving a color printing instruction in which a color is set as the printing color in the second mode, the determination unit determines whether or not the change to monochrome printing is appropriate;
When it is determined that the change to monochrome printing is appropriate, the printer further includes setting change means for changing the setting of the print color in the printing condition from color to monochrome,
The print control apparatus according to claim 1, wherein the conversion unit performs color conversion of image data to be printed into monochrome image data based on the changed monochrome setting.
画像データに係る属性情報と印刷条件情報のうち少なくとも一方を前記判定手段が前記妥当であると判定する際に用いる登録情報として記憶する記憶手段と、
前記判定手段は、前記カラー画像データに係る属性情報と印刷条件情報のうち少なくとも一方を被判定情報として取得し、前記被判定情報と前記登録情報とを比較し、両者が一致すれば、モノクロ印刷への変更が妥当であると判定することを特徴とする請求項1乃至3のいずれか一項に記載の印刷制御装置。
Storage means for storing at least one of attribute information and printing condition information relating to image data as registration information used when the determination means determines that the data is valid;
The determination unit acquires at least one of attribute information and printing condition information relating to the color image data as determination information, compares the determination information with the registration information, and if both match, monochrome printing is performed. The print control apparatus according to claim 1, wherein it is determined that the change to is valid.
前記第2モードで印刷が行われた際の画像データに係る属性情報と印刷条件情報のうち少なくとも一方を取得した前記被判定情報を前記登録情報として前記記憶手段に記憶する登録手段を更に備えたことを特徴とする請求項4に記載の印刷制御装置。   The information processing apparatus further includes a registration unit that stores, in the storage unit, the determination target information that has acquired at least one of attribute information and print condition information relating to image data when printing is performed in the second mode. The printing control apparatus according to claim 4. 前記被判定情報は前記属性情報の1つであるとともに画像データのデータ種を特定可能なデータ種情報であり、
前記判定手段は、今回の画像のデータ種情報と、登録情報中のデータ種情報とが一致すれば、モノクロ印刷への変更が妥当であると判定することを特徴とする請求項4又は5に記載の印刷制御装置。
The determination information is one of the attribute information and data type information that can specify a data type of image data.
6. The determination unit according to claim 4, wherein the determination unit determines that the change to monochrome printing is appropriate if the data type information of the current image matches the data type information in the registration information. The printing control apparatus described.
前記被判定情報は印刷条件情報であり、
前記判定手段は、今回の印刷条件情報を取得し、当該印刷条件情報が前記登録情報中の印刷条件情報と一致すれば、モノクロ印刷への変更が妥当であると判定することを特徴とする請求項4乃至6のいずれか一項に記載の印刷制御装置。
The judged information is printing condition information,
The determination unit acquires current printing condition information, and determines that the change to monochrome printing is appropriate if the printing condition information matches the printing condition information in the registration information. Item 7. The print control apparatus according to any one of Items 4 to 6.
前記判定手段がモノクロ印刷への変更が妥当でないと判定した場合、印刷の指示を破棄し、印刷不可の旨を報知することを特徴とする請求項1乃至7のいずれか一項に記載の印刷制御装置。   8. The printing according to claim 1, wherein when the determination unit determines that the change to monochrome printing is not appropriate, the printing instruction is discarded and printing is not notified. Control device. 請求項1乃至8のいずれか一項に記載の前記印刷制御装置と、
媒体を搬送する搬送手段と、
前記第2モードのときにカラー画像データに基づくカラー印刷の指示を受け付けた場合に、前記印刷制御装置の判定手段によりモノクロ印刷への変更が妥当であると判定されたときに、前記印刷制御装置の前記変換手段による変換により生成された前記モノクロ画像データに基づく画像を、前記搬送手段により搬送される前記媒体に印刷する印刷手段とを備えたことを特徴とする印刷装置。
The print control apparatus according to any one of claims 1 to 8,
Conveying means for conveying the medium;
When an instruction for color printing based on color image data is received in the second mode, the printing control apparatus determines that the change to monochrome printing is appropriate by the determination unit of the printing control apparatus A printing apparatus comprising: a printing unit configured to print an image based on the monochrome image data generated by the conversion by the conversion unit on the medium conveyed by the conveyance unit.
カラー印刷とモノクロ印刷とを制御する印刷制御用のプログラムであって、
コンピューターに、
カラー印刷とモノクロ印刷を共に許可する第1モードから、カラー用色素材のうち少なくとも1色のエンドが検出されたときに移行したカラー印刷を禁止しかつモノクロ印刷は許可する第2モードであるか否かを判定するモード判定ステップと、
前記第2モードのときに印刷対象のカラー画像データに基づくカラー印刷の指示を受け付けた場合に、モノクロ印刷への変更が妥当であるか否かを判定する判定ステップと、
前記判定ステップでモノクロ印刷への変更が妥当と判定した場合、前記カラー画像データをモノクロ画像データに変換する変換ステップと、
を実行させることを特徴とするプログラム。
A print control program for controlling color printing and monochrome printing,
On the computer,
Is the second mode in which color printing shifted from the first mode in which both color printing and monochrome printing are permitted prohibited when at least one end of color material is detected and monochrome printing is permitted? A mode determination step for determining whether or not;
A determination step of determining whether or not a change to monochrome printing is appropriate when an instruction for color printing based on color image data to be printed is received in the second mode;
A conversion step of converting the color image data into monochrome image data when it is determined that the change to monochrome printing is appropriate in the determination step;
A program characterized by having executed.
JP2010104915A 2010-04-30 2010-04-30 Print controller, printer, printing control method, and program Withdrawn JP2011230461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010104915A JP2011230461A (en) 2010-04-30 2010-04-30 Print controller, printer, printing control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010104915A JP2011230461A (en) 2010-04-30 2010-04-30 Print controller, printer, printing control method, and program

Publications (1)

Publication Number Publication Date
JP2011230461A true JP2011230461A (en) 2011-11-17

Family

ID=45320267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010104915A Withdrawn JP2011230461A (en) 2010-04-30 2010-04-30 Print controller, printer, printing control method, and program

Country Status (1)

Country Link
JP (1) JP2011230461A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013125434A (en) * 2011-12-15 2013-06-24 Konica Minolta Business Technologies Inc Image processing device and image forming apparatus
JP2021022314A (en) * 2019-07-30 2021-02-18 ブラザー工業株式会社 program
JP2021022313A (en) * 2019-07-30 2021-02-18 ブラザー工業株式会社 program
JP2021036385A (en) * 2019-08-30 2021-03-04 ブラザー工業株式会社 Program and information processing device
JP2021036386A (en) * 2019-08-30 2021-03-04 ブラザー工業株式会社 Program and information processing apparatus

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013125434A (en) * 2011-12-15 2013-06-24 Konica Minolta Business Technologies Inc Image processing device and image forming apparatus
JP2021022314A (en) * 2019-07-30 2021-02-18 ブラザー工業株式会社 program
JP2021022313A (en) * 2019-07-30 2021-02-18 ブラザー工業株式会社 program
JP7331534B2 (en) 2019-07-30 2023-08-23 ブラザー工業株式会社 program
JP7342493B2 (en) 2019-07-30 2023-09-12 ブラザー工業株式会社 program
JP2021036385A (en) * 2019-08-30 2021-03-04 ブラザー工業株式会社 Program and information processing device
JP2021036386A (en) * 2019-08-30 2021-03-04 ブラザー工業株式会社 Program and information processing apparatus
JP7331559B2 (en) 2019-08-30 2023-08-23 ブラザー工業株式会社 Program and information processing device
JP7342531B2 (en) 2019-08-30 2023-09-12 ブラザー工業株式会社 Programs and information processing equipment

Similar Documents

Publication Publication Date Title
JP5146424B2 (en) Image processing apparatus, image processing method, program, recording medium, printing system, and image forming apparatus
JP4825180B2 (en) Image processing method, image processing apparatus, image forming apparatus, image forming system, program, and storage medium
JP4545128B2 (en) Image processing apparatus, program, image forming apparatus, image forming method, dither matrix
JP2011230461A (en) Print controller, printer, printing control method, and program
JP6701703B2 (en) Control device and computer program
JP2006218624A (en) Inkjet recorder
JP2004167818A (en) Recording method
JP2012071532A (en) Bar code printing control device
US11161350B2 (en) Control device, printing apparatus, and non-transitory computer-readable recording medium
JP5262485B2 (en) Image processing apparatus, image processing method, program, recording medium, printing system, and image forming apparatus
JP7181501B2 (en) Image processing device and computer program
JP2017030149A (en) Printing control device and printing control method
JP2011061328A (en) Image processing method, image processor, image forming device, program, storage medium, and image forming system
JP2012061758A (en) Image forming system, program, and storage medium storing the program
JP2007102328A (en) Printing system, printing method and program
US8262185B2 (en) Recording apparatus and processing method executed by the recording apparatus
JP2007118380A (en) Printer and printing method
JP7128444B2 (en) Image processing device and computer program
JP2006224454A (en) Recording device and image processing method
CN107264035B (en) Printing apparatus, printing method, and recording medium
JP2008205616A (en) Multifunction printer apparatus and operation control method thereof
JP7303483B2 (en) controller and computer program
JP2010068497A (en) Image processor, image processing method, program, recording medium, printing system, and image forming apparatus
JP7436959B2 (en) Printing device, computer program, control method
JP7413889B2 (en) Image processing method and image processing device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130702