JP2013022879A - Printing apparatus, information processing apparatus, control method of printing apparatus, control method of information processing apparatus, and program - Google Patents

Printing apparatus, information processing apparatus, control method of printing apparatus, control method of information processing apparatus, and program Download PDF

Info

Publication number
JP2013022879A
JP2013022879A JP2011161177A JP2011161177A JP2013022879A JP 2013022879 A JP2013022879 A JP 2013022879A JP 2011161177 A JP2011161177 A JP 2011161177A JP 2011161177 A JP2011161177 A JP 2011161177A JP 2013022879 A JP2013022879 A JP 2013022879A
Authority
JP
Japan
Prior art keywords
printing
status
information processing
print
data
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
JP2011161177A
Other languages
Japanese (ja)
Inventor
Kazue Kurihara
主計 栗原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2011161177A priority Critical patent/JP2013022879A/en
Publication of JP2013022879A publication Critical patent/JP2013022879A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a user with minimum information by carrying out printing using data generated by an information processing apparatus to print a printing apparatus state or setting as much as possible according to an operation of the printing apparatus or by simply printing the printing apparatus state or setting by the printing apparatus itself even when it is impossible to print using the data generated by the information processing apparatus.SOLUTION: When it is determined that a status printing indication from the user is received from an operating part 1501, a CPU 12 of a printer 1500 determines whether or not it is possible to communicate with a host computer 3000. When it is determined that it is possible to communicate with the host computer 3000, the CPU requires data for status printing from the host computer 3000, and performs processing of regular status printing by receiving the data for status printing from the host computer 3000. On the other hand, when it is determined that it is impossible to communicate with the host computer 3000, the CPU performs processing for simple status printing by generating data for status printing.

Description

本発明は、印刷装置の状態または設定の印刷を行う技術に関する。   The present invention relates to a technique for printing a state or setting of a printing apparatus.

レンダリング処理をホストコンピュータ側で行うことで、プリンタのコストを抑えたホストベースプリンタが普及している。
このようなホストベースプリンタでプリンタの設定を知るためにステータスプリントを行う場合、ユーザは、プリンタに接続されているホストコンピュータのユーティリティを操作する。
Host-based printers that reduce the cost of the printer by performing rendering processing on the host computer side have become widespread.
When performing status printing in order to know printer settings with such a host-based printer, the user operates a utility of a host computer connected to the printer.

他方、ユーザがプリンタの目の前にいて、プリンタの設定を確認するために、プリンタ側の操作でステータスプリントを実行したいというニーズがある。   On the other hand, there is a need that the user is in front of the printer and wants to execute status printing by an operation on the printer side in order to confirm the printer settings.

特許文献1では、ホストコンピュータに生成させたステータスプリント用の印刷データを、プリンタに保持させておき、ユーザからステータスプリントの指示があったときに、該保持しているステータスプリント用の印刷データを用いてステータスプリントを実行する技術が提案されている。   In Patent Document 1, status printer print data generated by a host computer is held in a printer, and when the user issues a status print instruction, the held status print print data is stored. Techniques have been proposed for performing status printing using these.

特開2008−41018号公報JP 2008-41018 A

しかしながら、上記従来技術では、プリンタに、ホストコンピュータ側で生成されたステータスプリント用の印刷データを常時保持しておくためのメモリが必要であり、プリンタのコストアップに繋がってしまう。   However, in the above prior art, the printer needs a memory for constantly storing the print data for status printing generated on the host computer side, which leads to an increase in the cost of the printer.

また、上記従来技術では、ホストコンピュータにステータスプリント用の印刷データを生成させるため、ホストコンピュータが接続していない状態あるいはホストコンピュータと通信できない状態では印刷データの生成ができず、ステータスプリントを実行することができない。   Further, in the above prior art, since the print data for status printing is generated by the host computer, the print data cannot be generated when the host computer is not connected or cannot communicate with the host computer, and status printing is executed. I can't.

なお、ホストベースプリンタは、コストの制約上、使用できるフォントが少ない。このため、ホストベースプリンタ側だけでステータスプリントを実現しようとすると、限られた情報だけの簡易的なステータスプリントしか行うことができない。   Note that the host-based printer has few fonts that can be used due to cost constraints. Therefore, if status printing is to be realized only on the host base printer side, only simple status printing with limited information can be performed.

ホストベースプリンタで使用できるフォントの制約上、数字を含むわずかな種類の文字しか印刷できないため、簡易的なステータスプリントではIPアドレスやMacアドレスなどの英数字しか印刷できない場合がある。ユーザは正規のステータスプリントのように多くの項目についてプリンタの設定や状態を確認したい場合がある。しかし、簡易的なステータスプリントでは、ユーザが確認したい項目の情報が印刷されておらず、ユーザがプリンタの状態を十分に確認することが困難な場合がある。   Due to restrictions on the fonts that can be used in the host-based printer, only a few types of characters including numbers can be printed. Therefore, in simple status printing, only alphanumeric characters such as IP addresses and Mac addresses may be printed. The user may want to check the printer settings and status for many items, such as regular status printing. However, in simple status printing, information on items that the user wants to check is not printed, and it may be difficult for the user to sufficiently check the printer status.

本発明は、上記の問題点を解決するためになされたものである。本発明の目的は、印刷装置側の操作に応じて、可能な限り情報処理装置で生成された、印刷装置の状態または設定を印刷するためのデータを用いて印刷を行い、情報処理装置で生成されたデータを用いて印刷ができない場合でも、印刷装置自身で印刷装置の状態または設定を簡易的に印刷して、最低限の情報をユーザに提供することができる仕組みを提供することである。   The present invention has been made to solve the above problems. It is an object of the present invention to perform printing using data for printing the status or setting of a printing device, which is generated by the information processing device as much as possible, according to the operation on the printing device side, and generated by the information processing device. Even when printing cannot be performed using the recorded data, the printing apparatus itself can simply print the state or setting of the printing apparatus and provide a mechanism that can provide the minimum information to the user.

本発明に係る印刷装置は、前記印刷装置の状態または設定の印刷指示をユーザから受け付ける受付手段と、情報処理装置と通信可能か否かを判断する判断手段と、前記受付手段により前記印刷指示を受け付け、かつ前記判断手段により情報処理装置と通信可能と判断された場合、前記印刷装置の状態または設定の印刷のためのデータを前記情報処理装置に要求して、前記情報処理装置によって生成されたデータを前記情報処理装置から受信する通信手段と、前記印刷装置の状態または設定の印刷のためのデータを生成する生成手段と、前記受付手段により前記印刷指示を受け付け、かつ前記判断手段により情報処理装置と通信可能と判断された場合、前記通信手段が受信したデータを用いて印刷処理を行い、前記受付手段により前記印刷指示を受け付け、かつ前記判断手段により情報処理装置と通信不可能と判断された場合、前記生成手段が生成したデータを用いて印刷処理を行う印刷処理手段と、を有することを特徴とする。   The printing apparatus according to the present invention includes: a receiving unit that receives a print instruction for the state or setting of the printing apparatus from a user; a determination unit that determines whether or not communication with the information processing apparatus is possible; If it is received and the determination means determines that communication with the information processing apparatus is possible, the data for printing the status or setting of the printing apparatus is requested to the information processing apparatus and is generated by the information processing apparatus Communication means for receiving data from the information processing apparatus, generation means for generating data for printing the status or settings of the printing apparatus, the print instruction received by the reception means, and information processing by the determination means When it is determined that communication with the apparatus is possible, the printing process is performed using the data received by the communication unit, and the print instruction is received by the reception unit. Accepted, and if it is determined that not communicate with the information processing apparatus by said determining means, and having a print processing unit that performs a printing process by using the data which the generation means is generated.

本発明によれば、印刷装置側の操作に応じて、可能な限り情報処理装置で生成された、印刷装置の状態または設定を印刷するためのデータを用いて印刷を行い、情報処理装置で生成されたデータを用いて印刷ができない場合でも、印刷装置自身で印刷装置の状態または設定を簡易的に印刷して、最低限の情報をユーザに提供することができる。   According to the present invention, in accordance with an operation on the printing apparatus side, printing is performed using data for printing the state or setting of the printing apparatus as much as possible generated by the information processing apparatus, and is generated by the information processing apparatus. Even when printing cannot be performed using the recorded data, the state or setting of the printing apparatus can be simply printed by the printing apparatus itself, and the minimum information can be provided to the user.

本発明の一実施例を示す印刷装置と情報処理装置から構成される印刷システムの構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a configuration of a printing system including a printing apparatus and an information processing apparatus according to an embodiment of the present invention. 本発明の印刷システムの機能構成の一例を示すブロック図である。It is a block diagram which shows an example of a function structure of the printing system of this invention. 本実施例のホストコンピュータ3000側の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process by the side of the host computer 3000 of a present Example. 本実施例のプリンタ1500側の処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of processing on the printer 1500 side according to the present exemplary embodiment. ステータスプリントの一例を示す図である。It is a figure which shows an example of a status print. 簡易的なステータスプリントの一例を示す図である。It is a figure which shows an example of a simple status print.

以下、本発明を実施するための形態について図面を用いて説明する。
図1は、本発明の一実施例を示す印刷装置と情報処理装置から構成される印刷システムの構成の一例を示すブロック図である。図1は、ホストコンピュータ3000のハードウェアとプリンタ1500のハードウェアを示す。
図1において、プリンタ(印刷装置)1500は、ホストコンピュータ3000(情報処理装置)と通信可能に接続されている。プリンタ1500は、ホストコンピュータ3000側でレンダリング処理を行うことでプリンタのコストを抑えたホストベースプリンタである。なお、図1では、1台のホストコンピュータ3000がプリンタ1500に接続されているように示してあるが、複数のホストコンピュータ3000がプリンタ1500に接続されていてもよい。
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating an example of a configuration of a printing system including a printing apparatus and an information processing apparatus according to an embodiment of the present invention. FIG. 1 shows the hardware of the host computer 3000 and the hardware of the printer 1500.
In FIG. 1, a printer (printing apparatus) 1500 is communicably connected to a host computer 3000 (information processing apparatus). The printer 1500 is a host-based printer that reduces the cost of the printer by performing rendering processing on the host computer 3000 side. Although FIG. 1 shows that one host computer 3000 is connected to the printer 1500, a plurality of host computers 3000 may be connected to the printer 1500.

ホストコンピュータ3000は、CPU1を備える。CPU1は、ROM3のプログラム用ROM又は外部メモリ11に記憶されたプログラムに基づいてシステムバス4に接続される各デバイスを総括的に制御する。また、CPU1は、外部メモリ11等に記憶された文書処理等のアプリケーションプログラムに基づいて図形、イメージ、文字、表(表計算等を含む)等が混在した文書処理を実行する。   The host computer 3000 includes a CPU 1. The CPU 1 generally controls each device connected to the system bus 4 based on a program ROM stored in the ROM 3 or a program stored in the external memory 11. Further, the CPU 1 executes document processing in which graphics, images, characters, tables (including spreadsheets), etc. are mixed based on application programs such as document processing stored in the external memory 11 or the like.

また、ROM3のフォント用ROM又は外部メモリ11は、上記文書処理の際に使用するフォントデータ等を記憶する。また、ROM3のデータ用ROM又は外部メモリ11は、上記文書処理等を行う際に使用する各種データを記憶する。   Further, the font ROM of the ROM 3 or the external memory 11 stores font data used in the document processing. The data ROM of the ROM 3 or the external memory 11 stores various data used when performing the document processing or the like.

RAM2は、CPU1の主メモリ、ワークエリアとして機能する。
キーボードコントローラ(KBC)5は、キーボード9や不図示のポインティングデバイスからのキー入力を制御する。ディスプレイコントローラ(DSPC)6は、LCD等のディスプレイ10の表示を制御する。
The RAM 2 functions as a main memory and work area for the CPU 1.
A keyboard controller (KBC) 5 controls key input from a keyboard 9 or a pointing device (not shown). A display controller (DSPC) 6 controls display on a display 10 such as an LCD.

外部メモリコントローラ(DKC)7は、外部メモリ11とのアクセスを制御する。外部メモリ11は、例えば、ハードディスク(HD)、フロッピー(登録商標)ディスク(FD)或いはフラッシュEEPROM等で構成される。外部メモリ11には、ブートプログラム、オペレーティングシステム、種々のアプリケーションプログラム、プリンタセレクタやネットワークプリンタドライバのプログラム等の各種プログラムや、フォントデータ、ユーザファイル、編集ファイル等の各種データ等が記憶されている。   An external memory controller (DKC) 7 controls access to the external memory 11. The external memory 11 is composed of, for example, a hard disk (HD), a floppy (registered trademark) disk (FD), or a flash EEPROM. The external memory 11 stores various programs such as a boot program, an operating system, various application programs, a printer selector and a network printer driver program, and various data such as font data, user files, and edit files.

外部インタフェースコントローラ(外部I/F C)8は、所定の双方向インタフェース21を介してプリンタ1500に接続されて、プリンタ1500との通信制御処理を実行する。なお、双方向インタフェース21は、USB I/Fでも、Network I/Fでも、有線であっても、無線であっても、ホストコンピュータ3000とプリンタ1500を接続可能な双方向インタフェースであればその他のインタフェースであってもよい。   An external interface controller (external I / FC) 8 is connected to the printer 1500 via a predetermined bidirectional interface 21 and executes communication control processing with the printer 1500. The bidirectional interface 21 may be any other interface that can connect the host computer 3000 and the printer 1500, whether it is USB I / F, Network I / F, wired, or wireless. It may be an interface.

なお、CPU1は、例えばRAM2上に設定された表示情報RAMへのアウトラインフォントの展開(ラスタライズ)処理を実行し、ディスプレイ10上でのWYSIWYGを可能としている。また、CPU1は、ディスプレイ10上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のウインドウを開き、種々のデータ処理を実行する。   Note that the CPU 1 executes, for example, outline font development (rasterization) processing on the display information RAM set on the RAM 2 to enable WYSIWYG on the display 10. The CPU 1 opens various windows registered based on commands instructed by a mouse cursor (not shown) on the display 10 and executes various data processing.

次に、プリンタ1500について説明する。
CPU12は、ROM13のプログラム用ROM又はハードディスク23に記憶された制御プログラム等に基づいてシステムバス15に接続される各種のデバイスとのアクセスを総括的に制御し、印刷部インタフェース16を介して接続される印刷部(プリンタエンジン)17に出力情報としての画像信号を出力する。なお、印刷部17は、どのような印刷方式のものでもよい。例えば、インクジェット式でも、昇華型でも、電子写真方式であってもよい。
Next, the printer 1500 will be described.
The CPU 12 generally controls access to various devices connected to the system bus 15 based on a program ROM stored in the ROM 13 or a control program stored in the hard disk 23, and is connected via the printing unit interface 16. An image signal as output information is output to a printing unit (printer engine) 17. The printing unit 17 may be of any printing method. For example, an ink jet type, a sublimation type, or an electrophotographic type may be used.

ROM13のフォント用ROMには、上記出力情報を生成する際に使用するフォントデータ等を記憶する。ROM13のデータ用ROMには、ハードディスク23等の外部記憶装置が備えられていないプリンタの場合には、ホストコンピュータ3000上で利用される各種特性情報等が記憶されている。   The font ROM of the ROM 13 stores font data used for generating the output information. The data ROM of the ROM 13 stores various characteristic information used on the host computer 3000 in the case of a printer not provided with an external storage device such as the hard disk 23.

CPU12は、外部インタフェースコントローラ(外部I/F C)18を介してホストコンピュータ3000との通信処理が可能となっており、プリンタ内の情報等をホストコンピュータ3000に通知可能に構成されている。   The CPU 12 can perform communication processing with the host computer 3000 via the external interface controller (external I / FC) 18, and is configured to be able to notify the host computer 3000 of information in the printer.

外部インタフェースコントローラ(外部I/F C)18は、所定の双方向インタフェース21を介してホストコンピュータ3000に接続されて、ホストコンピュータ3000との通信制御処理を実行する。
RAM19は、CPU12の主メモリ、ワークエリア等として機能する。RAM19は、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。なお、RAM19は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。なお、RAM19内のNVRAM領域(不揮発性の記憶領域)には、プリンタ1500のプリンタ情報(ステータスプリントにて印刷されるようなプリンタの設定や状態を示す情報を含む)が記憶されているものとする。
The external interface controller (external I / FC) 18 is connected to the host computer 3000 via a predetermined bidirectional interface 21 and executes communication control processing with the host computer 3000.
The RAM 19 functions as a main memory and work area for the CPU 12. The RAM 19 is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 19 is used as an output information expansion area, environment data storage area, NVRAM, and the like. The NVRAM area (non-volatile storage area) in the RAM 19 stores printer information of the printer 1500 (including information indicating printer settings and status printed by status printing). To do.

ハードディスク(HD)23は、ディスクコントローラ(DKC)22によりアクセスを制御される。ハードディスク23は、ソリッドステートドライブ(SSD)等であってもよい。   Access to the hard disk (HD) 23 is controlled by a disk controller (DKC) 22. The hard disk 23 may be a solid state drive (SSD) or the like.

外部メモリ14は、ICカード等であり、メモリコントローラ(MC)20によりアクセスを制御される。外部メモリ14は、オプションとしてプリンタ1500に接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。   The external memory 14 is an IC card or the like, and access is controlled by a memory controller (MC) 20. The external memory 14 is connected to the printer 1500 as an option, and stores font data, an emulation program, form data, and the like.

操作部(操作パネル)1501は、操作のためのスイッチおよびLED表示器等が配されている。また、操作部1501には、ユーザがステータスプリントの実行を指示するための(即ち、ユーザからのステータ印刷指示を受け付けるための)、ステータスプリント要求ボタン1502が設けられている。   An operation unit (operation panel) 1501 includes switches for operation, an LED display, and the like. Further, the operation unit 1501 is provided with a status print request button 1502 for the user to instruct execution of status printing (that is, for receiving a status printing instruction from the user).

図2は、本発明の印刷システムの機能構成の一例を示すブロック図である。
アプリケーション101は、作成したデータを印刷データ生成部102に渡す。アプリケーション101はCPU1によって実行される。印刷データ生成部102は、アプリケーション101から受け取ったデータから印刷データを生成して、印刷データ転送部103に渡す。CPU1が制御プログラムに従って、印刷データ生成部102として機能する。
FIG. 2 is a block diagram showing an example of the functional configuration of the printing system of the present invention.
The application 101 passes the created data to the print data generation unit 102. The application 101 is executed by the CPU 1. The print data generation unit 102 generates print data from the data received from the application 101 and passes it to the print data transfer unit 103. The CPU 1 functions as the print data generation unit 102 according to the control program.

印刷データ転送部103は、定期的にプリンタ1500からプリンタステータスを取得し、該取得したステータスを見て、オンライン処理、オフライン処理、印刷データのプリンタ1500への転送を行う。また、印刷データ転送部103は、ステータスプリントの実行が確定すると、プリンタ1500からプリンタ情報を取得し、ステータスプリント生成部104に渡す。外部インタフェースコントローラ8が、印刷データ転送部103の有する機能のうち、ホストコンピュータ3000と通信する機能を担う。また、CPU1が制御プログラムに従って、印刷データ転送部103の一部として機能する。例えば、CPU1が、プリンタ1500に送信すべき印刷データやコマンドを生成し、外部インタフェースコントローラ8がその印刷データやコマンドをプリンタ1500に送信する。また、外部インタフェースコントローラ8がプリンタ1500から情報を受信し、CPU1がその情報を処理する。   The print data transfer unit 103 periodically acquires a printer status from the printer 1500, and looks at the acquired status to perform online processing, offline processing, and transfer of print data to the printer 1500. Further, when execution of status printing is confirmed, the print data transfer unit 103 acquires printer information from the printer 1500 and passes it to the status print generation unit 104. The external interface controller 8 has a function of communicating with the host computer 3000 among the functions of the print data transfer unit 103. Further, the CPU 1 functions as a part of the print data transfer unit 103 according to the control program. For example, the CPU 1 generates print data and commands to be transmitted to the printer 1500, and the external interface controller 8 transmits the print data and commands to the printer 1500. The external interface controller 8 receives information from the printer 1500, and the CPU 1 processes the information.

ステータスプリント生成部104は、印刷データ転送部103から取得したプリンタ情報から、ステータスプリント用の印刷データを生成し、印刷データ転送部103に渡す。印刷データ転送部103は、ステータスプリント生成部104から受け取ったステータスプリント用の印刷データをプリンタ1500へ転送する。CPU1が制御プログラムに従って、ステータスプリント生成部104として機能する。   The status print generation unit 104 generates print data for status printing from the printer information acquired from the print data transfer unit 103 and passes it to the print data transfer unit 103. The print data transfer unit 103 transfers the print data for status printing received from the status print generation unit 104 to the printer 1500. The CPU 1 functions as the status print generation unit 104 according to the control program.

次に、プリンタ1500の機能構成について説明する。
通信部105は、ホストコンピュータ3000からのコマンド受信、プリンタステータスやプリンタ情報のホストコンピュータ3000への送信を行っている。外部インタフェースコントローラ18が通信部105として機能する。
Next, the functional configuration of the printer 1500 will be described.
The communication unit 105 receives commands from the host computer 3000 and transmits printer status and printer information to the host computer 3000. The external interface controller 18 functions as the communication unit 105.

ステータスプリント種別決定部106は、操作部1501(図1)からステータスプリント要求ボタン1502が押下され、ホストコンピュータ3000と通信可能と判断すると、ホストコンピュータ3000からのステータス取得コマンドの受信に応じて、プリンタステータスに、ステータスプリント要求フラグをセットし、通信部105を経由して、ホストコンピュータ3000に通知する。CPU12が制御プログラムに従って、ステータスプリント種別決定部106として機能する。なお、上記ステータスプリント要求フラグは、ステータスプリント要求ボタン1502により、ユーザからのステータスプリントの指示を受け付けたことをホストコンピュータ3000に通知するためのフラグである。さらに、ステータスプリント種別決定部106は、ホストコンピュータ3000から受信するステータスプリント生成可能コマンドに応じて、ステータスプリントの種別を、正規のステータスプリントに決定する。   When the status print request button 1502 is pressed from the operation unit 1501 (FIG. 1) and the status print type determination unit 106 determines that communication with the host computer 3000 is possible, the status print type determination unit 106 receives the status acquisition command from the host computer 3000 and receives the printer. A status print request flag is set in the status and notified to the host computer 3000 via the communication unit 105. The CPU 12 functions as the status print type determination unit 106 according to the control program. The status print request flag is a flag for notifying the host computer 3000 that the status print request button 1502 has received a status print instruction from the user. Further, the status print type determination unit 106 determines the status print type as a regular status print in accordance with the status print generation enable command received from the host computer 3000.

また、ステータスプリント種別決定部106は、操作部1501(図1)からステータスプリント要求ボタン1502が押下され、ホストコンピュータ3000と通信不可能と判断すると、ステータスプリントの種別を、簡易的なステータスプリントに決定する。   If the status print request button 1502 is pressed from the operation unit 1501 (FIG. 1) and the status print type determination unit 106 determines that communication with the host computer 3000 is impossible, the status print type determination unit 106 changes the status print type to simple status printing. decide.

即ち、ステータスプリント種別決定部106は、ユーザからのステータス印刷要求を受け付けると、ホストコンピュータ3000と通信可能か不可能か等に応じて、ホストコンピュータ3000から受信するステータス印刷の印刷データを用いて正規のステータス印刷の処理を行う第1ステータス印刷処理か、ROM13のフォント用ROMから取得するフォントステータス印刷を行うためのフォントを用いて簡易的なステータス印刷の処理を行う第2ステータス印刷処理かを決定する。   That is, when the status print type determination unit 106 receives a status print request from the user, the status print type determination unit 106 uses the status print print data received from the host computer 3000 depending on whether communication with the host computer 3000 is possible or not. The first status printing process for performing the status printing process or the second status printing process for performing the simple status printing process using the font for performing the font status printing acquired from the font ROM of the ROM 13 is determined. To do.

なお、ステータスプリント種別決定部106は、正規のステータスプリントを実行すると決定した場合、通信部105を経由してホストコンピュータ3000にステータスプリントの実行が確定したことを通知する。さらに、ステータスプリント種別決定部106は、ホストコンピュータ3000からのプリンタ情報取得コマンドに応じて、プリンタ情報をホストコンピュータ3000に送信する。このように、ステータスプリント種別決定部106は、ステータスプリント用の印刷データをホストコンピュータ3000に要求し、ホストコンピュータ3000からステータス印刷の印刷データを受信する(ステータス印刷用データ受信処理)。一方、ステータスプリント種別決定部106は、簡易ステータスプリントを実行すると決定した場合、簡易ステータスプリント生成部107に簡易ステータスプリント用の印刷データの生成を指示する。   If the status print type determination unit 106 determines to execute regular status printing, the status print type determination unit 106 notifies the host computer 3000 that execution of status printing has been confirmed via the communication unit 105. Further, the status print type determination unit 106 transmits printer information to the host computer 3000 in response to a printer information acquisition command from the host computer 3000. As described above, the status print type determination unit 106 requests the print data for status printing from the host computer 3000, and receives the print data for status printing from the host computer 3000 (status print data reception process). On the other hand, when the status print type determination unit 106 determines to execute simple status printing, the status print type determination unit 106 instructs the simple status print generation unit 107 to generate print data for simple status printing.

簡易ステータスプリント生成部107は、ステータスプリント種別決定部106の指示に従い、ROM13のフォント用ROMからフォントを取得し、またRAM19からプリンタ情報を取得し、これらを用いて簡易ステータスプリント用の印刷データを生成する。CPU12が制御プログラムに従って、簡易ステータスプリント生成部107として機能する。
印刷機構部108は、ホストコンピュータ3000又は簡易ステータスプリント生成部107から受け取った印刷データを印刷する。印刷機構部108が、印刷機構部108の有する機能のうち、印刷する機能を担う。また、CPU1が制御プログラムに従って、印刷データ転送部103の一部として機能する。例えば、CPU12が通信部105から印刷データを受信し、印刷部108がその印刷データに基づく印刷を実行する。
The simple status print generation unit 107 acquires fonts from the font ROM in the ROM 13 and printer information from the RAM 19 in accordance with instructions from the status print type determination unit 106, and uses these to obtain print data for simple status printing. Generate. The CPU 12 functions as the simple status print generation unit 107 according to the control program.
The printing mechanism unit 108 prints the print data received from the host computer 3000 or the simple status print generation unit 107. The printing mechanism unit 108 has a printing function among the functions of the printing mechanism unit 108. Further, the CPU 1 functions as a part of the print data transfer unit 103 according to the control program. For example, the CPU 12 receives print data from the communication unit 105, and the printing unit 108 executes printing based on the print data.

なお、ユーザは、プリンタの目の前に居ながら、プリンタの状態を確認するために、ステータスプリントの実行を要求することがよくある。しかし、プリンタ1500のようなホストベースプリンタでは、正規のステータスプリントを行う場合、ホストコンピュータ3000が接続されている必要がある。即ち、ホストベースプリンタでは、ホストコンピュータ3000が接続されていないと、正規のステータスプリントを行うことができない。   Note that the user often requests execution of status printing in order to check the status of the printer while staying in front of the printer. However, a host base printer such as the printer 1500 needs to be connected to the host computer 3000 when performing regular status printing. That is, the host base printer cannot perform normal status printing unless the host computer 3000 is connected.

なお、プリンタに搭載されている最低限のフォントを用いてプリンタのみでステータスプリントを行うことが可能であるが、この場合、フォントが限られているため、項目などが限られた簡易的なステータスプリントしか行うことができない。簡易的なステータスプリントは、正規のステータスプリントと比較すると、印刷される項目が少ない(即ち、印刷されるデータ量が少ない)ものである。ユーザは正規のステータスプリントのように多くの項目についてプリンタの設定や状態を確認したい場合がある。しかし、簡易的なステータスプリントでは、ユーザが確認したい項目の情報が印刷されておらず、ユーザがプリンタの状態を十分に確認することが困難な場合がある。そのため、プリンタでは、ホストコンピュータが接続されているときは、正規のステータスプリントを実行することが望ましい。   Although it is possible to perform status printing with only the printer using the minimum fonts installed in the printer, in this case, since the font is limited, a simple status with limited items etc. You can only print. A simple status print is one that prints fewer items (that is, a smaller amount of data is printed) than a regular status print. The user may want to check the printer settings and status for many items, such as regular status printing. However, in simple status printing, information on items that the user wants to check is not printed, and it may be difficult for the user to sufficiently check the printer status. Therefore, it is desirable for the printer to execute regular status printing when the host computer is connected.

なお、外部メモリ14をオプション追加すること等により、フォントを追加することも可能であるが、コストアップとなってしまうため、コストを抑えたホストベースプリンタに外部メモリ14を標準で装備すること等は現実的ではない。   Although it is possible to add fonts by adding an external memory 14 as an option, etc., this increases the cost, so the host base printer with reduced cost can be equipped with the external memory 14 as a standard. Is not realistic.

本実施例では、プリンタ1500の本体パネル(操作部1501)より、ステータスプリント要求ボタン1502がユーザにより押下されると、プリンタ1500はネットワークやUSB等のインタフェース(I/F)が接続されているかどうかを確認する。そして、I/Fが接続されていない場合は、プリンタ1500は、簡易ステータスプリントのレポートを印刷する。   In this embodiment, when the user presses the status print request button 1502 from the main body panel (operation unit 1501) of the printer 1500, whether the printer 1500 is connected to an interface (I / F) such as a network or USB. Confirm. If the I / F is not connected, the printer 1500 prints a simple status print report.

一方、I/Fが接続されている場合は、プリンタ1500は、プリンタステータスに、ステータスプリント要求フラグを反映させる。そして、このプリンタステータスをプリンタ1500から取得したホストコンピュータ3000は、ステータスプリントの実行が可能であれば、可能であることをプリンタ1500に通知する。プリンタ1500は、ステータスプリントを実行可能な各ホストコンピュータ3000の中から、ステータスプリントを実行するホストコンピュータ3000を選択決定し、該決定したホストコンピュータ3000にステータスプリントの実行を依頼する。ステータスプリントの実行を依頼されたホストコンピュータ3000は、正規のステータスプリント用の印刷データを生成し、プリンタ1500に送信する。プリンタは、このステータスプリント用の印刷データを、プリンタ1500が受信して、ステータスプリント用の印刷データを印刷する。   On the other hand, when the I / F is connected, the printer 1500 reflects the status print request flag in the printer status. The host computer 3000 that has acquired the printer status from the printer 1500 notifies the printer 1500 that it is possible if status printing can be executed. The printer 1500 selects and determines a host computer 3000 that executes status printing from among the host computers 3000 that can execute status printing, and requests the determined host computer 3000 to execute status printing. The host computer 3000 that has been requested to execute status printing generates print data for regular status printing and transmits it to the printer 1500. In the printer, the printer 1500 receives the print data for status printing, and prints the print data for status printing.

以上の処理により、プリンタ1500は、ホストコンピュータ3000と接続されていない場合は、簡易ステータスプリントのレポートを印刷し、ホストコンピュータ3000と接続されている場合は、正規のステータスプリントのレポートを印刷することが可能になる。   With the above processing, the printer 1500 prints a simple status print report when not connected to the host computer 3000, and prints a regular status print report when connected to the host computer 3000. Is possible.

なお、ホストコンピュータ3000において、アプリケーション101、印刷データ生成部102、印刷データ転送部103、ステータスプリント生成部104は、ホストコンピュータ3000のCPU1がROM3又は外部メモリ11にコンピュータ読取可能に記録されたプログラムを読み出して実行することによりホストコンピュータ3000で実現される機能に対応する。   Note that in the host computer 3000, the application 101, the print data generation unit 102, the print data transfer unit 103, and the status print generation unit 104 are programs stored in the ROM 3 or the external memory 11 so that the CPU 1 of the host computer 3000 can read the computer. It corresponds to a function realized by the host computer 3000 by reading and executing.

なお、プリンタ1500において、通信部105、ステータスプリント種別決定部106、簡易ステータスプリント生成部107は、プリンタ1500のCPU12がROM13又はハードディスク23にコンピュータ読取可能に記録されたプログラムを読み出して実行することによりプリンタ1500で実現される機能に対応する。また、印刷機構部108は、印刷部17等で構成される。   In the printer 1500, the communication unit 105, the status print type determination unit 106, and the simple status print generation unit 107 are read out and executed by the CPU 12 of the printer 1500 by reading a program recorded in the ROM 13 or the hard disk 23 so as to be computer-readable. This corresponds to a function realized by the printer 1500. The printing mechanism unit 108 includes the printing unit 17 and the like.

[ホストコンピュータの動作]
以下、本実施例のホストコンピュータ3000側の詳細な処理について、図3のフローチャートに基づいて説明する。
[Operation of host computer]
Hereinafter, detailed processing on the host computer 3000 side of the present embodiment will be described based on the flowchart of FIG.

図3は、本実施例のホストコンピュータ3000側の処理の一例を示すフローチャートである。このフローチャートの各ステップ(S301〜S316)は、印刷データ転送部103とステータスプリント生成部104が処理するものである。このフローチャートに基づく処理は、ホストコンピュータ3000のCPU1がROM3又は外部メモリ11にコンピュータ読取可能に記録されたプログラムを読み出して実行することにより実現されるものである。   FIG. 3 is a flowchart illustrating an example of processing on the host computer 3000 side of this embodiment. Each step (S301 to S316) of this flowchart is processed by the print data transfer unit 103 and the status print generation unit 104. The processing based on this flowchart is realized by the CPU 1 of the host computer 3000 reading and executing a computer-readable program recorded in the ROM 3 or the external memory 11.

S301において、印刷データ転送部103は、プリンタ1500にステータス取得コマンドを送信することで、プリンタ1500から送信されるプリンタステータスを取得する(ポーリングにより問い合わせてプリンタステータスを取得する)。なお、プリンタステータスには、プリンタで発生しているエラー情報、印刷ジョブの状態、ステータスプリント要求フラグ、ステータスプリント実行確定フラグ等が含まれている。   In step S301, the print data transfer unit 103 acquires a printer status transmitted from the printer 1500 by transmitting a status acquisition command to the printer 1500 (inquires by polling to acquire the printer status). The printer status includes error information generated in the printer, the status of the print job, a status print request flag, a status print execution confirmation flag, and the like.

次に、S302において、印刷データ転送部103は、上記S301で取得したプリンタステータスにステータスプリント要求フラグが立っているかどうかを判定する。なお、ステータスプリント要求フラグは、ステータスプリント要求ボタン1502によりユーザからのステータスプリントの指示を受け付けたことをプリンタ1500からホストコンピュータ3000に通知するためのフラグである。   In step S302, the print data transfer unit 103 determines whether a status print request flag is set in the printer status acquired in step S301. The status print request flag is a flag for notifying the host computer 3000 from the printer 1500 that the status print request button 1502 has received a status print instruction from the user.

そして、上記S301で取得したプリンタステータスにステータスプリント要求フラグが立っていないと判定した場合(S301でNo)、印刷データ転送部103は、S301に処理を戻す。   If it is determined that the status print request flag is not set in the printer status acquired in S301 (No in S301), the print data transfer unit 103 returns the process to S301.

一方、上記S301で取得したプリンタステータスにステータスプリント要求フラグが立っていると判定した場合(S301でYes)、印刷データ転送部103は、S303に処理を進める
S303では、印刷データ転送部103は、ステータスプリントが可能か否かを判定する。なお、ホストコンピュータ3000がメモリ容量やディスク容量が不足しているためにジョブ処理が出来ない状態の場合は、ステータスプリントが不可能と判定し、ジョブ処理が出来る状態の場合は、ステータスプリントが可能と判定する。
On the other hand, if it is determined that the status print request flag is set in the printer status acquired in S301 (Yes in S301), the print data transfer unit 103 proceeds to S303. In S303, the print data transfer unit 103 It is determined whether status printing is possible. Note that if the host computer 3000 is in a state where job processing cannot be performed due to insufficient memory capacity or disk capacity, it is determined that status printing is not possible. If the job processing is possible, status printing is possible. Is determined.

そして、ステータスプリントが不可能と判定した場合(S303でNo)、印刷データ転送部103は、S301に処理を戻す。
一方、ステータスプリントが可能と判定した場合(S303でYes)、印刷データ転送部103は、S304において、ステータスプリント可能コマンドをプリンタ1500に送信する(可能情報送信処理)。なお、ステータスプリント可能コマンドは、ホストコンピュータ3000のスペック(CPU情報、メモリサイズ等のホストコンピュータ3000の性能に関する情報)、CPU使用率等のホストコンピュータ3000の処理状態に関する情報のいずれかを少なくとも含む。
If it is determined that status printing is not possible (No in S303), the print data transfer unit 103 returns the process to S301.
On the other hand, if it is determined that status printing is possible (Yes in S303), the print data transfer unit 103 transmits a status print enable command to the printer 1500 in S304 (possible information transmission processing). Note that the status print enable command includes at least one of the specifications of the host computer 3000 (information regarding the performance of the host computer 3000 such as CPU information and memory size) and information regarding the processing state of the host computer 3000 such as the CPU usage rate.

次に、S305において、印刷データ転送部103は、プリンタ1500にステータス取得コマンドを送信することで、プリンタ1500から送信されるプリンタステータスを取得する(ポーリングにより問い合わせてプリンタステータスを取得する)。   In step S <b> 305, the print data transfer unit 103 acquires a printer status transmitted from the printer 1500 by transmitting a status acquisition command to the printer 1500 (inquires by polling to acquire the printer status).

次に、S306において、印刷データ転送部103は、上記S305で取得したプリンタステータスにステータスプリント実行確定フラグが立っているかどうか(ステータスプリントの実行が確定したかどうか)を判定する。なお、ステータスプリント実行確定フラグは、ステータス印刷のためのデータをプリンタ側からホストコンピュータに要求するためのフラグである。よって、印刷データ転送部103は、ステータス取得コマンドに応じてプリンタ1500から送信されるプリンタステータスに、ステータスプリント実行確定フラグがセットされている場合に、ステータスプリント用の印刷データの要求が確定したと認識する。   In step S <b> 306, the print data transfer unit 103 determines whether the status print execution confirmation flag is set in the printer status acquired in step S <b> 305 (whether the status print execution is confirmed). The status print execution confirmation flag is a flag for requesting data for status printing from the printer side to the host computer. Therefore, when the status print execution confirmation flag is set in the printer status transmitted from the printer 1500 in response to the status acquisition command, the print data transfer unit 103 determines that the request for print data for status printing has been confirmed. recognize.

そして、上記S305で取得したプリンタステータスにステータスプリント実行確定フラグが立っていないと判定した場合(ステータスプリントの実行が確定していないと判定した場合)(S306でNo)、印刷データ転送部103は、S301に処理を戻す。   When it is determined that the status print execution confirmation flag is not set in the printer status acquired in S305 (when it is determined that the status print execution is not confirmed) (No in S306), the print data transfer unit 103 , The process returns to S301.

一方、上記S305で取得したプリンタステータスにステータスプリント実行確定フラグが立っていると判定した場合(ステータスプリントの実行が確定したと判定した場合)(S306でYes)、印刷データ転送部103は、S307に処理を進める。   On the other hand, when it is determined that the status print execution confirmation flag is set in the printer status acquired in S305 (when it is determined that the execution of status printing has been confirmed) (Yes in S306), the print data transfer unit 103 performs S307. Proceed with the process.

S307では、印刷データ転送部103は、プリンタ情報取得コマンドをプリンタ1500に送信することで、プリンタ1500からプリンタ情報を取得し、該取得したプリンタ情報をステータスプリント生成部104に渡す。なお、プリンタ情報には、ステータスプリントにて印刷されるプリンタの設定や状態を示す情報が含まれる。例えば、図5に示すような、オプションカセットの有無、ネットワークインタフェースの有無、Macアドレス、IPアドレス、スリープ設定、ファームウェアのバージョン等の情報が、プリンタ情報に含まれる。なお、プリンタ情報には、図5に示す情報に限定されるものではなく、プリンタの各種設定情報、例えば、拡張機能の設定、給紙の設定、レイアウトの設定、動作モードの設定、印字調整の設定、インタフェースの設定、各種状態情報、印刷剤(インクやトナー等)の残量、用紙の残量、印刷カウンタ値等の情報も含んでいてもよい。   In step S <b> 307, the print data transfer unit 103 acquires printer information from the printer 1500 by transmitting a printer information acquisition command to the printer 1500, and passes the acquired printer information to the status print generation unit 104. The printer information includes information indicating the settings and status of the printer that is printed by status printing. For example, information such as the presence / absence of an option cassette, presence / absence of a network interface, Mac address, IP address, sleep setting, firmware version, and the like as shown in FIG. 5 is included in the printer information. Note that the printer information is not limited to the information shown in FIG. 5, and various printer setting information, for example, extended function settings, paper feed settings, layout settings, operation mode settings, print adjustment settings, etc. Information such as settings, interface settings, various status information, the remaining amount of printing agent (ink, toner, etc.), the remaining amount of paper, and the print counter value may also be included.

S308において、ステータスプリント生成部104は、印刷データ転送部103から取得したプリンタ情報と、ROM13のフォント用ROM又は外部メモリ11に記憶されたフォントとを用いて、ステータスプリント用の印刷データを生成し、印刷データ転送部103に渡す。ここでは、図5に示したような正規のステータスプリント用の印刷データが生成される。   In step S <b> 308, the status print generation unit 104 generates print data for status printing using the printer information acquired from the print data transfer unit 103 and the font ROM in the ROM 13 or the font stored in the external memory 11. , To the print data transfer unit 103. Here, print data for regular status printing as shown in FIG. 5 is generated.

次に、S309において、印刷データ転送部103は、ステータスプリント生成部104から取得したステータスプリント用の印刷データをプリンタ1500に送信する(ステータス印刷用データ送信処理)。   In step S <b> 309, the print data transfer unit 103 transmits the status print print data acquired from the status print generation unit 104 to the printer 1500 (status print data transmission process).

次に、S310において、印刷データ転送部103は、プリンタ1500にステータス取得コマンドを送信することで、プリンタ1500から送信されるプリンタステータスを取得する(ポーリングにより問い合わせてプリンタステータスを取得する)。   In step S <b> 310, the print data transfer unit 103 acquires a printer status transmitted from the printer 1500 by transmitting a status acquisition command to the printer 1500 (inquires by polling to acquire the printer status).

次に、S311において、印刷データ転送部103は、上記S310で取得したプリンタステータスよりプリンタ1500がステータスプリントが完了しているかどうかを判定する。   In step S311, the print data transfer unit 103 determines whether the printer 1500 has completed status printing based on the printer status acquired in step S310.

そして、プリンタ1500が既にステータスプリントが完了していると判定した場合(S311でYes)、印刷データ転送部103は、本フローチャートの処理を終了する。   When the printer 1500 determines that the status printing has already been completed (Yes in S311), the print data transfer unit 103 ends the process of this flowchart.

一方、プリンタ1500は未だステータスプリントが完了していないと判定した場合(S311でNo)、印刷データ転送部103は、S312に処理を進める。
S312では、印刷データ転送部103は、上記S310で取得したプリンタステータスよりプリンタ1500にエラーが発生しているかどうかを判定する。
そして、プリンタ1500にエラーが発生していないと判定した場合(S312でNo)、印刷データ転送部103は、S310に処理を戻す。
On the other hand, if the printer 1500 determines that status printing has not yet been completed (No in S311), the print data transfer unit 103 advances the process to S312.
In step S312, the print data transfer unit 103 determines whether an error has occurred in the printer 1500 based on the printer status acquired in step S310.
If it is determined that no error has occurred in the printer 1500 (No in S312), the print data transfer unit 103 returns the process to S310.

一方、プリンタ1500にエラーが発生していると判定した場合(S312でYes)、印刷データ転送部103は、S313に処理を進める。
S313では、印刷データ転送部103は、プリンタ1500に発生したエラーが通信エラーかどうかを判定する。例えば、上記S309の印刷データの送信に失敗していると判断した場合や、上記S310でプリンタステータスを取得できなかったと判断した場合、通信エラーと判定する。
On the other hand, if it is determined that an error has occurred in the printer 1500 (Yes in S312), the print data transfer unit 103 advances the process to S313.
In step S313, the print data transfer unit 103 determines whether the error that has occurred in the printer 1500 is a communication error. For example, if it is determined that the transmission of the print data in S309 has failed, or if it is determined in S310 that the printer status has not been acquired, it is determined that a communication error has occurred.

そして、プリンタ1500に発生したエラーが通信エラーであると判定した場合(S313でYes)、プリンタ1500側での簡易ステータスプリントに切り替わるため、印刷データ転送部103は、本フローチャートの処理を終了するように制御する。   If it is determined that the error that has occurred in the printer 1500 is a communication error (Yes in S313), the print data transfer unit 103 ends the processing of this flowchart in order to switch to simple status printing on the printer 1500 side. To control.

一方、プリンタ1500に発生したエラーが通信エラーでないと判定した場合(S313でNo)、印刷データ転送部103は、S314に処理を進める。
S314では、印刷データ転送部103は、プリンタ1500に発生したエラーが解除されたかどうかを判定する。
そして、プリンタ1500に発生したエラーが解除されていないと判定した場合(S314でNo)、印刷データ転送部103は、S310に処理を戻す。
On the other hand, if it is determined that the error that has occurred in the printer 1500 is not a communication error (No in S313), the print data transfer unit 103 advances the process to S314.
In step S <b> 314, the print data transfer unit 103 determines whether an error that has occurred in the printer 1500 has been canceled.
If it is determined that the error that has occurred in the printer 1500 has not been canceled (No in S314), the print data transfer unit 103 returns the process to S310.

一方、プリンタ1500に発生したエラーが解除されたと判定した場合(S314でYes)、印刷データ転送部103は、S315に処理を進める。
S315では、印刷データ転送部103は、ステータスプリント用の印刷データの再送が必要かどうかを判定する。ここで印刷データ転送部103は、エラーの種別により印刷データの再送が必要かどうかを判定する。例えば、ジャムエラー時は、ジャム発生時まで印刷されているので、印刷データがデバイスのバッファに残っていないため、印刷データの再送が必要であると判定する。一方、紙なしエラー時は、まだ実際の印刷が開始されていないため、デバイスはバッファに印刷データを保持したままではあるため、印刷データの再送は不要であると判定する。
On the other hand, if it is determined that the error that has occurred in the printer 1500 has been canceled (Yes in S314), the print data transfer unit 103 advances the process to S315.
In step S315, the print data transfer unit 103 determines whether it is necessary to retransmit print data for status printing. Here, the print data transfer unit 103 determines whether it is necessary to retransmit the print data according to the type of error. For example, when a jam error occurs, printing is performed until a jam occurs, so that the print data does not remain in the device buffer, and therefore it is determined that the print data needs to be retransmitted. On the other hand, when there is no paper error, since actual printing has not yet started, the device keeps the print data in the buffer, and therefore it is determined that the retransmission of the print data is unnecessary.

ステータスプリント用の印刷データの再送が必要ないと判定した場合(S315でNo)、印刷データ転送部103は、S310に処理を戻す。
一方、ステータスプリント用の印刷データの再送が必要と判定した場合(S315でYes)、印刷データ転送部103は、S316において、ステータスプリント用の印刷データをプリンタ1500に再送し、S310に処理を戻す。
If it is determined that it is not necessary to retransmit the print data for status printing (No in S315), the print data transfer unit 103 returns the process to S310.
On the other hand, if it is determined that it is necessary to retransmit the print data for status printing (Yes in S315), the print data transfer unit 103 retransmits the print data for status printing to the printer 1500 in S316, and returns the process to S310. .

[プリンタの動作]
以下、本実施例のプリンタ1500側の詳細な処理について、図4のフローチャートに基づいて説明する。
[Printer operation]
Hereinafter, detailed processing on the printer 1500 side of the present embodiment will be described based on the flowchart of FIG.

図4は、本実施例のプリンタ1500側の処理の一例を示すフローチャートである。このフローチャートの各ステップ(S401〜S426)は、通信部105、ステータスプリント種別決定部106、簡易ステータスプリント生成部107が処理するものである。このフローチャートに基づく処理は、プリンタ1500のCPU12がROM13等にコンピュータ読取可能に記録されたプログラムを読み出して実行することにより実現されるものである。   FIG. 4 is a flowchart illustrating an example of processing on the printer 1500 side according to the present exemplary embodiment. Each step (S401 to S426) of this flowchart is processed by the communication unit 105, the status print type determination unit 106, and the simple status print generation unit 107. The processing based on this flowchart is realized by the CPU 12 of the printer 1500 reading and executing a program recorded in the ROM 13 or the like so as to be readable by a computer.

S401では、ステータスプリント種別決定部106は、操作部1501のステータスプリント要求ボタン1502がユーザによって押下された(ユーザからのステータス印刷指示を受付けた)かどうかを判定する。   In step S401, the status print type determination unit 106 determines whether the status print request button 1502 of the operation unit 1501 has been pressed by the user (accepts a status print instruction from the user).

そして、操作部1501のステータスプリント要求ボタン1502が押下されていないと判定した場合(S401でNo)、ステータスプリント種別決定部106は、S401に処理を戻す。   If it is determined that the status print request button 1502 of the operation unit 1501 has not been pressed (No in S401), the status print type determination unit 106 returns the process to S401.

一方、操作部1501のステータスプリント要求ボタン1502が押下されたと判定した場合(S401でYes)、ステータスプリント種別決定部106は、S402に処理を進める。   On the other hand, if it is determined that the status print request button 1502 of the operation unit 1501 has been pressed (Yes in S401), the status print type determination unit 106 advances the process to S402.

S402では、ステータスプリント種別決定部106は、双方向インタフェース21を介してホストコンピュータ3000と接続されているかどうか(ホストコンピュータ3000と通信可能か通信不可能か)を判定する。例えばUSB I/Fの接続については、ホストコンピュータと接続されると信号線が「High」になることで接続されていると判定する。また、Network I/Fの接続については、Linkアップされていることで接続されていると判定する。   In step S <b> 402, the status print type determination unit 106 determines whether it is connected to the host computer 3000 via the bidirectional interface 21 (whether or not communication with the host computer 3000 is possible). For example, with respect to the USB I / F connection, it is determined that the signal line is “High” when connected to the host computer. Further, the connection of the network I / F is determined to be connected by being linked up.

そして、双方向インタフェース21を介してホストコンピュータ3000と接続されていない(通信不可能)と判定した場合(S402でNo)、ステータスプリント種別決定部106は、S422に処理を進める。
一方、双方向インタフェース21を介してホストコンピュータ3000と接続されている(通信可能)と判定した場合(S402でYes)、ステータスプリント種別決定部106は、S403に処理を進める。
S403では、ステータスプリント種別決定部106は、通信部105を介してホストコンピュータ3000からステータス取得コマンドを受信すると(ポーリング受信)、S404に処理を進める。
If it is determined that the host computer 3000 is not connected (communication is impossible) via the bidirectional interface 21 (No in S402), the status print type determination unit 106 advances the process to S422.
On the other hand, if it is determined that the host computer 3000 is connected (communication is possible) via the bidirectional interface 21 (Yes in S402), the status print type determination unit 106 advances the process to S403.
In S403, when the status print type determination unit 106 receives a status acquisition command from the host computer 3000 via the communication unit 105 (polling reception), the process proceeds to S404.

S404では、ステータスプリント種別決定部106は、プリンタステータスに、ステータスプリント要求フラグをセットし、S405に処理を進める。
S405では、ステータスプリント種別決定部106は、通信部105を介して、上記プリンタステータスを、上記ステータス取得コマンドの送信元のホストコンピュータ3000に送信する。
In step S404, the status print type determination unit 106 sets a status print request flag in the printer status, and proceeds to step S405.
In step S405, the status print type determination unit 106 transmits the printer status to the host computer 3000 that is the transmission source of the status acquisition command via the communication unit 105.

なお、プリンタ1500が複数のホストコンピュータ3000と通信可能であり、複数のホストコンピュータ3000からステータス取得コマンドを受信した場合、ステータスプリント種別決定部106は、ステータス取得コマンドの送信元の全てのホストコンピュータ3000に上記プリンタステータスを送信するものとする。   When the printer 1500 can communicate with a plurality of host computers 3000 and receives a status acquisition command from the plurality of host computers 3000, the status print type determination unit 106 determines that all the host computers 3000 that are the transmission sources of the status acquisition command are used. It is assumed that the printer status is transmitted to.

このように、ステータスプリント種別決定部106は、通信可能な各ホストコンピュータ3000に、ステータスプリント要求フラグによりステータスプリントの指示を受け付けた旨の通知を行い、ステータスプリント用の印刷データを生成可能なことを示す情報を各ホストコンピュータから受信する(可能情報受信処理)。   As described above, the status print type determination unit 106 can notify each communicable host computer 3000 that the status print request flag has been received and can generate print data for status printing. Is received from each host computer (possible information reception process).

次に、S406において、ステータスプリント種別決定部106は、通信部105を介してホストコンピュータ3000から、ステータスプリント可能コマンドを受信したかどうかを判定する。
そして、ステータスプリント可能コマンドを受信していないと判定した場合(S406でNo)、ステータスプリント種別決定部106は、S408に処理を進める。
In step S <b> 406, the status print type determination unit 106 determines whether a status print enable command has been received from the host computer 3000 via the communication unit 105.
If it is determined that the status print enable command has not been received (No in S406), the status print type determination unit 106 advances the process to S408.

一方、ステータスプリント可能コマンドを受信したと判定した場合(S406でYes)、ステータスプリント種別決定部106は、S407に処理を進める。
S407では、ステータスプリント種別決定部106は、ステータスプリント可能コマンドを受信したことをホストコンピュータ3000ごとにRAM19内のワーク領域に記録する。なお、上記ワーク領域には、上記ステータスプリント可能コマンドに基づき、応答時間、ホストコンピュータのCPU使用率、ホストコンピュータのスペック(CPU情報、メモリサイズ)、ホストコンピュータと接続するのに使われているインタフェースの種別(USBかNetworkか等)が記録される。
On the other hand, if it is determined that a status print enable command has been received (Yes in S406), the status print type determination unit 106 advances the process to S407.
In step S <b> 407, the status print type determination unit 106 records in the work area in the RAM 19 for each host computer 3000 that the status print enable command has been received. In the work area, based on the status print enable command, the response time, the CPU usage rate of the host computer, the specifications of the host computer (CPU information, memory size), and the interface used to connect to the host computer Type (USB or Network etc.) is recorded.

次に、S408において、ステータスプリント種別決定部106は、上記S405でステータス送信後、一定時間経過したかどうかを判定する。
そして、未だ一定時間経過していないと判定した場合(S408でNo)、ステータスプリント種別決定部106は、S406に処理を戻す。
In step S <b> 408, the status print type determination unit 106 determines whether a predetermined time has elapsed after the status transmission in step S <b> 405.
If it is determined that the predetermined time has not yet elapsed (No in S408), the status print type determination unit 106 returns the process to S406.

一方、一定時間経過したと判定した場合(S408でYes)、ステータスプリント種別決定部106は、S409に処理を進める。
S409では、ステータスプリント種別決定部106は、上述したワーク領域にステータスプリント可能コマンドの受信の記録があるかどうかを判定する。
そして、ステータスプリント可能コマンドの受信の記録がないと判定した場合(S409でNo)、ステータスプリント種別決定部106は、簡易ステータスプリントを実行すると決定し、S422に処理を進める。
On the other hand, if it is determined that a certain time has elapsed (Yes in S408), the status print type determination unit 106 advances the process to S409.
In step S409, the status print type determination unit 106 determines whether there is a record of reception of a status print enable command in the work area described above.
If it is determined that there is no record of reception of the status print enable command (No in S409), the status print type determination unit 106 determines to execute the simple status print, and the process proceeds to S422.

一方、ステータスプリント可能コマンドの受信の記録があると判定した場合(S409でYes)、ステータスプリント種別決定部106は、正規のステータスプリントを実行すると決定し、S410に処理を進める。   On the other hand, when it is determined that there is a record of reception of the status print enable command (Yes in S409), the status print type determination unit 106 determines to execute regular status printing, and proceeds to S410.

S410では、ステータスプリント種別決定部106は、ステータスプリントを実行するホストコンピュータを決定する(ホスト決定処理)。ワーク領域に記録された情報から、一番CPU使用率の低いホストコンピュータを最適なホストコンピュータとして決定する。なお、最適なホストコンピュータの決定方法としては、一番早く応答したホストコンピュータ、一番スペックの高いホストコンピュータ、USB接続のホストコンピュータを優先するなど、その他の決定方法でもよい。   In S410, the status print type determination unit 106 determines a host computer that executes status printing (host determination processing). From the information recorded in the work area, the host computer with the lowest CPU usage rate is determined as the optimum host computer. As an optimum host computer determination method, other determination methods such as giving priority to the host computer that responded first, the host computer with the highest specification, or the host computer with USB connection may be used.

次に、S411において、ステータスプリント種別決定部106は、通信部105を介してホストコンピュータ3000からステータス取得コマンドを受信すると(ポーリング受信)、S412に処理を進める。   In step S411, when the status print type determination unit 106 receives a status acquisition command from the host computer 3000 via the communication unit 105 (polling reception), the process proceeds to step S412.

S412では、ステータスプリント種別決定部106は、上記S410のホスト決定処理の結果に基づいて、ステータスプリント実行確定フラグをプリンタステータスにセットする。S413では、通信部105は、上記プリンタステータスをホストコンピュータ3000に送信する。なお、ステータスプリントを実行するホストコンピュータに送信するプリンタステータス(プリンタのステータスを示す情報)には、ステータスプリント実行確定フラグ(ステータス印刷のためのデータをホストコンピュータに要求するフラグ)が含まれている。一方、ステータスプリントを実行しないホストコンピュータに送信するプリンタステータスには、ステータスプリント実行確定フラグは含まれない。   In step S412, the status print type determination unit 106 sets a status print execution confirmation flag in the printer status based on the result of the host determination process in step S410. In step S413, the communication unit 105 transmits the printer status to the host computer 3000. The printer status (information indicating the printer status) transmitted to the host computer that executes status printing includes a status print execution confirmation flag (flag for requesting data for status printing from the host computer). . On the other hand, a printer status transmitted to a host computer that does not execute status printing does not include a status print execution confirmation flag.

なお、複数のホストコンピュータ3000からステータス取得コマンドを受信した場合、ステータスプリント種別決定部106は、ステータス取得コマンドの送信元の全てのホストコンピュータ3000に上記プリンタステータスを送信するものとする。   When status acquisition commands are received from a plurality of host computers 3000, the status print type determination unit 106 transmits the printer status to all the host computers 3000 that are the transmission source of the status acquisition commands.

次に、S427において、ステータスプリント種別決定部106は、通信部105を介してホストコンピュータ3000からプリンタ情報取得コマンドを受信すると、RAM19から、プリンタ情報を取得する。通信部105はそのプリンタ情報をホストコンピュータ3000に送信する。なお、プリンタ情報には、上述したように、ステータスプリントにて印刷されるプリンタの設定や状態を示す情報が含まれる。   In step S <b> 427, when the status print type determination unit 106 receives a printer information acquisition command from the host computer 3000 via the communication unit 105, the status print type determination unit 106 acquires printer information from the RAM 19. The communication unit 105 transmits the printer information to the host computer 3000. Note that, as described above, the printer information includes information indicating the settings and status of the printer that is printed by status printing.

そして、S414において、通信部105は、ホストコンピュータ3000から送信されたステータスプリント用の印刷データを受信し、該受信したステータスプリント用の印刷データを印刷機構部108に渡す。これにより、印刷機構部108は、図5に示すようなレポートの印刷を開始する(S415)。図5は、正規のステータスプリントの一例を示す図である。なお、図示しないが、この後も、ステータスプリント種別決定部106は、ホストコンピュータ3000からステータス取得コマンドを受信すると、プリンタステータスをホストコンピュータ3000に送信する。   In step S <b> 414, the communication unit 105 receives the status print data transmitted from the host computer 3000, and passes the received status print data to the printing mechanism unit 108. As a result, the printing mechanism unit 108 starts printing the report as shown in FIG. 5 (S415). FIG. 5 is a diagram illustrating an example of a regular status print. Although not shown, the status print type determination unit 106 transmits the printer status to the host computer 3000 after receiving a status acquisition command from the host computer 3000.

次に、S416において、ステータスプリント種別決定部106は、上記S415で開始されたステータスプリントが完了したかどうかを判定する。
そして、ステータスプリントが完了したと判定した場合(S416でYes)、ステータスプリント種別決定部106は、本フローチャートの処理を終了する。
In step S416, the status print type determination unit 106 determines whether the status print started in step S415 has been completed.
If it is determined that the status printing has been completed (Yes in S416), the status print type determination unit 106 ends the process of this flowchart.

一方、未だステータスプリントの印刷が完了していないと判定した場合(S416でNo)、ステータスプリント種別決定部106は、S417に処理を進める。
S417では、ステータスプリント種別決定部106は、エラーが発生したかどうかを判定する。
そして、エラーが発生していないと判定した場合(S417でNo)、ステータスプリント種別決定部106は、S416に処理を戻す。
On the other hand, if it is determined that the status print has not been completed yet (No in S416), the status print type determination unit 106 advances the process to S417.
In step S417, the status print type determination unit 106 determines whether an error has occurred.
If it is determined that no error has occurred (No in S417), the status print type determination unit 106 returns the process to S416.

一方、エラーが発生したと判定した場合(S417でYes)、ステータスプリント種別決定部106は、S418に処理を進める。
S418では、ステータスプリント種別決定部106は、エラーが通信エラーかどうかを判定する。
そして、エラーが通信エラーと判定した場合(S418でYes)、ステータスプリント種別決定部106は、S422に処理を進める。
On the other hand, if it is determined that an error has occurred (Yes in S417), the status print type determination unit 106 advances the process to S418.
In step S418, the status print type determination unit 106 determines whether the error is a communication error.
If it is determined that the error is a communication error (Yes in S418), the status print type determination unit 106 advances the process to S422.

一方、エラーが通信エラーでないと判定した場合(S418でNo)、ステータスプリント種別決定部106は、S419に処理を進める。
S419では、ステータスプリント種別決定部106は、印刷機構部108から取得した情報からエラーが解除されたかどうかを判定する。
そして、未だエラーが解除されていないと判定した場合(S419でNo)、ステータスプリント種別決定部106は、再度S419の処理を行う。
On the other hand, if it is determined that the error is not a communication error (No in S418), the status print type determination unit 106 advances the process to S419.
In step S <b> 419, the status print type determination unit 106 determines whether the error has been canceled from the information acquired from the printing mechanism unit 108.
If it is determined that the error has not yet been released (No in S419), the status print type determination unit 106 performs the process of S419 again.

一方、エラーが解除されたと判定した場合(S419でYes)、ステータスプリント種別決定部106は、S420に処理を進める。
S420では、ステータスプリント種別決定部106は、ステータスプリント用の印刷データの再送が必要かどうかを判定する。
そして、ステータスプリント用の印刷データの再送が必要ないと判定した場合(S420でNo)、ステータスプリント種別決定部106は、S416に処理を戻す。
On the other hand, if it is determined that the error has been canceled (Yes in S419), the status print type determination unit 106 advances the process to S420.
In S420, the status print type determination unit 106 determines whether it is necessary to retransmit the print data for status printing.
If it is determined that it is not necessary to retransmit the print data for status printing (No in S420), the status print type determination unit 106 returns the process to S416.

一方、ステータスプリント用の印刷データの再送が必要であると判定した場合(S420でYes)、ステータスプリント種別決定部106は、S421に処理を進める。
S421では、ステータスプリント種別決定部106は、ホストコンピュータ3000からステータスプリント用の印刷データを受信し、S415に処理を戻す。
On the other hand, if it is determined that it is necessary to retransmit the print data for status printing (Yes in S420), the status print type determination unit 106 advances the process to S421.
In step S421, the status print type determination unit 106 receives print data for status printing from the host computer 3000, and returns the process to step S415.

なお、S402でNo、S409でNo、又はS418でYesの場合、ステータスプリント種別決定部106は、S422において、簡易ステータスプリントの印刷データを生成するよう簡易ステータスプリント生成部107に指示する。この指示に応じて、簡易ステータスプリント生成部107は、RAM19からプリンタ情報を取得し、また、ROM13のフォント用ROMからフォントを取得し、これらを用いて簡易ステータスプリント用の印刷データを生成する。   If No in S402, No in S409, or Yes in S418, the status print type determination unit 106 instructs the simple status print generation unit 107 to generate print data of simple status prints in S422. In response to this instruction, the simple status print generation unit 107 acquires printer information from the RAM 19, acquires fonts from the ROM for fonts in the ROM 13, and generates print data for simple status printing using these.

S423では、簡易ステータスプリント生成部107は、上記S422で生成した簡易ステータスプリント用の印刷データの印刷を、印刷機構部108に渡す。これにより、印刷機構部108は、図6に示すようなレポートの印刷を開始する。図6は、簡易的なステータスプリントの一例を示す図である。
上記の説明では、簡易ステータスプリント生成部107は、ステータスプリント種別決定部106から指示された後に、簡易ステータスプリント用の印刷データを生成する。しかしながら、簡易ステータスプリント生成部107は、RAM19に格納されているプリンタ情報が変更されるたびに、変更後のプリンタ情報に基づいて簡易ステータスプリント用の印刷データを生成して、RAM19に格納しておいてもよい。この場合、簡易ステータスプリント生成部107は、ステータスプリント種別決定部106からの指示に従って、簡易ステータスプリント用の印刷データをRAM19から取得し、印刷機構部108に渡す。
In S423, the simple status print generation unit 107 passes the print of the print data for the simple status print generated in S422 to the printing mechanism unit 108. As a result, the printing mechanism unit 108 starts printing the report as shown in FIG. FIG. 6 is a diagram illustrating an example of a simple status print.
In the above description, the simple status print generation unit 107 generates print data for simple status printing after being instructed by the status print type determination unit 106. However, each time the printer information stored in the RAM 19 is changed, the simple status print generation unit 107 generates print data for simple status printing based on the changed printer information and stores the print data in the RAM 19. It may be left. In this case, the simple status print generation unit 107 acquires print data for simple status printing from the RAM 19 in accordance with an instruction from the status print type determination unit 106 and passes the print data to the printing mechanism unit 108.

次に、S424では、ステータスプリント種別決定部106は、簡易ステータスプリントが完了したかどうかを判定する。
そして、簡易ステータスプリントが完了したと判定した場合(S424でYes)、ステータスプリント種別決定部106は、本フローチャートの処理を終了する。
In step S424, the status print type determination unit 106 determines whether simple status printing has been completed.
If it is determined that the simple status printing is completed (Yes in S424), the status print type determination unit 106 ends the process of this flowchart.

一方、未だ簡易ステータスプリントが完了していないと判定した場合(S424でNo)、ステータスプリント種別決定部106は、S425に処理を進める。
S425では、ステータスプリント種別決定部106は、エラーが発生したかどうかを判定する。
そして、エラーが発生していないと判定した場合(S425でNo)、ステータスプリント種別決定部106は、S424に処理を戻す。
On the other hand, if it is determined that the simple status printing has not yet been completed (No in S424), the status print type determination unit 106 advances the process to S425.
In step S425, the status print type determination unit 106 determines whether an error has occurred.
If it is determined that no error has occurred (No in S425), the status print type determination unit 106 returns the process to S424.

一方、エラーが発生したと判定した場合(S425でYes)、場合は、ステータスプリント種別決定部106は、S426に処理を進める。
S426では、ステータスプリント種別決定部106は、エラーが解除されたかどうかを判定する。
そして、エラーが解除されていないと判定した場合(S426でNo)、ステータスプリント種別決定部106は、再度S426の処理を行う。
一方、エラーが解除されたと判定した場合(S426でYes)、ステータスプリント種別決定部106は、S424に処理を戻す。
On the other hand, if it is determined that an error has occurred (Yes in S425), the status print type determination unit 106 advances the process to S426.
In step S426, the status print type determination unit 106 determines whether the error has been canceled.
If it is determined that the error has not been canceled (No in S426), the status print type determination unit 106 performs the process of S426 again.
On the other hand, when it is determined that the error has been canceled (Yes in S426), the status print type determination unit 106 returns the process to S424.

以上示したように、プリンタ側の操作で、可能な限り正規のステータスプリントを実行することができる。なお、プリンタに複数台ホストコンピュータがつながっている場合、最適なホストコンピュータにステータスプリントを実行させることができる。また、プリンタにホストコンピュータがつながっていない場合でも、プリンタ自身で簡易ステータスプリントを実行することで最低限の情報をユーザに提供することができる。   As described above, normal status printing can be executed as much as possible by operation on the printer side. If a plurality of host computers are connected to the printer, the optimum host computer can execute status printing. Even when the host computer is not connected to the printer, the printer can execute the simple status print to provide the minimum information to the user.

なお、本実施例では、プリンタ1500は、ホストコンピュータ3000からの問い合わせ(ステータス取得コマンド)に応じて、ユーザからステータスプリントの指示があったことを通知するステータスプリント要求フラグや、ステータスプリント用の印刷データをホストコンピュータ3000に要求するステータスプリント実行確定フラグをセットしたプリンタステータスをホストコンピュータ3000に送信する構成を示した。しかし、プリンタ1500は、プリンタ1500から自発的に、ユーザからステータスプリントの指示があったことの通知や、ステータスプリント用の印刷データをホストコンピュータ3000に要求する通知を、ホストコンピュータ3000に送信するように構成してもよい。   In the present embodiment, the printer 1500 responds to an inquiry (status acquisition command) from the host computer 3000, a status print request flag for notifying that a user has instructed status printing, and printing for status printing. The configuration in which the printer status in which the status print execution confirmation flag for requesting data to the host computer 3000 is set is transmitted to the host computer 3000 is shown. However, the printer 1500 voluntarily sends a notification that the user has issued a status print instruction or a request for requesting print data for status printing from the host computer 3000 to the host computer 3000. You may comprise.

また、本実施例では、プリンタ1500は、ホストコンピュータ3000にステータスプリント用の印刷データ(印刷部17で印刷可能な印刷データ)を要求して受信する構成を示した。しかし、プリンタ1500は、ホストコンピュータ3000にステータスプリントを行うためのフォントデータを要求して受信し、該受信したフォントデータとRAM19に格納されているプリンタ情報を用いて、プリンタ1500側で正規のステータスプリント用の印刷データを生成するように構成してもよい。即ち、ホストコンピュータ3000は、プリンタ1500からの要求に応じて、ROM3のフォント用ROM又は外部メモリに記憶されるフォントデータ(特に、ステータスプリントに用いるフォントデータ)を取得して、プリンタ1500に送信するように構成してもよい。   In the present embodiment, the printer 1500 is configured to request and receive print data for status printing (print data printable by the printing unit 17) from the host computer 3000. However, the printer 1500 requests and receives font data for performing status printing from the host computer 3000 and uses the received font data and the printer information stored in the RAM 19 to generate a regular status on the printer 1500 side. You may comprise so that the printing data for printing may be produced | generated. That is, in response to a request from the printer 1500, the host computer 3000 acquires font data (particularly font data used for status printing) stored in the font ROM of the ROM 3 or an external memory, and transmits it to the printer 1500. You may comprise as follows.

なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。
以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。
It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.
Although one embodiment has been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, program, or storage medium. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.

また、上記各実施例を組み合わせた構成も全て本発明に含まれるものである。
(他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
Moreover, all the structures which combined said each Example are also contained in this invention.
(Other examples)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

図2の説明では、印刷データ生成部102、ステータスプリント生成部104は、CPU1によって実現されると説明した。しかしながら、印刷データ生成部102、ステータスプリント生成部104のそれぞれに対応する専用のハードウェアがCPU1以外に用意されていてもよい。
また、簡易ステータスプリント生成部107のそれぞれに対応する専用のハードウェアがCPU12以外に用意されていてもよい。
In the description of FIG. 2, it has been described that the print data generation unit 102 and the status print generation unit 104 are realized by the CPU 1. However, dedicated hardware corresponding to each of the print data generation unit 102 and the status print generation unit 104 may be prepared in addition to the CPU 1.
In addition, dedicated hardware corresponding to each of the simple status print generation units 107 may be prepared in addition to the CPU 12.

また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。
本発明は上記実施例に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施例の有機的な組合せを含む)が可能であり、それらを本発明の範囲から除外するものではない。即ち、上述した各実施例及びその変形例を組み合わせた構成も全て本発明に含まれるものである。
Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device.
The present invention is not limited to the above embodiments, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not. That is, the present invention includes all the combinations of the above-described embodiments and modifications thereof.

102 印刷データ生成手段
103 印刷データ転送手段
104 ステータスプリント生成手段
105 通信手段
106 ステータス種別決定部
107 簡易ステータスプリント生成手段
108 印刷機構部
1500 プリンタ
3000 ホストコンピュータ
DESCRIPTION OF SYMBOLS 102 Print data generation means 103 Print data transfer means 104 Status print generation means 105 Communication means 106 Status type determination part 107 Simple status print generation means 108 Printing mechanism part 1500 Printer 3000 Host computer

Claims (15)

印刷装置であって、
前記印刷装置の状態または設定の印刷指示をユーザから受け付ける受付手段と、
情報処理装置と通信可能か否かを判断する判断手段と、
前記受付手段により前記印刷指示を受け付け、かつ前記判断手段により情報処理装置と通信可能と判断された場合、前記印刷装置の状態または設定の印刷のためのデータを前記情報処理装置に要求して、前記情報処理装置によって生成されたデータを前記情報処理装置から受信する通信手段と、
前記印刷装置の状態または設定の印刷のためのデータを生成する生成手段と、
前記受付手段により前記印刷指示を受け付け、かつ前記判断手段により情報処理装置と通信可能と判断された場合、前記通信手段が受信したデータを用いて印刷処理を行い、前記受付手段により前記印刷指示を受け付け、かつ前記判断手段により情報処理装置と通信不可能と判断された場合、前記生成手段が生成したデータを用いて印刷処理を行う印刷処理手段と、
を有することを特徴とする印刷装置。
A printing device,
Accepting means for accepting a printing instruction for the state or setting of the printing apparatus from a user;
Determining means for determining whether communication with the information processing apparatus is possible;
If the accepting means accepts the print instruction and the judging means determines that communication with the information processing apparatus is possible, the data processing apparatus requests data for printing the status or setting of the printing apparatus, Communication means for receiving data generated by the information processing apparatus from the information processing apparatus;
Generating means for generating data for printing the status or setting of the printing apparatus;
When the receiving unit receives the print instruction and the determining unit determines that communication with the information processing apparatus is possible, the receiving unit performs a printing process using the data received, and the receiving unit receives the print instruction. A print processing unit that receives and prints using the data generated by the generation unit when the determination unit determines that communication with the information processing apparatus is impossible;
A printing apparatus comprising:
前記判断手段により情報処理装置と通信可能と判断された場合、前記通信手段は、通信可能な各情報処理装置に、前記受付手段より前記印刷指示を受け付けた旨の通知を行い、各情報処理装置が前記印刷装置の状態または設定の印刷のためのデータを生成可能な場合に各情報処理装置から送信される可能情報を受信し、
前記印刷装置はさらに、
前記可能情報に基づいて、前記印刷装置の状態または設定の印刷のためのデータを要求する情報処理装置を決定する決定手段、
を有することを特徴とする請求項1に記載の印刷装置。
When the determination unit determines that communication with the information processing apparatus is possible, the communication unit notifies each of the information processing apparatuses capable of communication that the print instruction has been received from the reception unit. Receives possible information transmitted from each information processing device when data for printing the status or setting of the printing device can be generated,
The printing apparatus further includes:
Determining means for determining an information processing device that requests data for printing the status or setting of the printing device based on the possible information;
The printing apparatus according to claim 1, further comprising:
前記可能情報は、少なくとも、前記情報処理装置の性能に関する情報、前記情報処理装置の処理状態に関する情報のいずれかを含むことを特徴とする請求項2に記載の印刷装置。   The printing apparatus according to claim 2, wherein the possible information includes at least one of information related to performance of the information processing apparatus and information related to a processing state of the information processing apparatus. 前記決定手段は、いずれの情報処理装置からも前記可能情報を受信しなかった場合、前記生成手段が生成したデータを用いて印刷処理を行うことを決定する、ことを特徴とする請求項2又は3に記載の印刷装置。   3. The determination unit according to claim 2, wherein if the possible information is not received from any information processing apparatus, the determination unit determines to perform a printing process using data generated by the generation unit. The printing apparatus according to 3. 前記通信手段は、前記情報処理装置からの状態の問い合わせに応じて、前記印刷装置の状態または設定の印刷のためのデータを前記情報処理装置に要求する、ことを特徴とする請求項1乃至4のいずれか1項に記載の印刷装置。   The communication means requests the information processing apparatus for data for printing the status or setting of the printing apparatus in response to a status inquiry from the information processing apparatus. The printing apparatus according to any one of the above. 前記通信手段は、当該印刷装置の状態を示す情報に、前記印刷装置の状態または設定の印刷のためのデータを前記情報処理装置に要求するフラグをセットして前記情報処理装置に送信することにより、前記印刷装置の状態または設定の印刷のためのデータを前記情報処理装置に要求する、ことを特徴とする請求項5に記載の印刷装置。   The communication means sets information indicating the status of the printing apparatus and sets a flag for requesting data for printing of the status or setting of the printing apparatus to the information processing apparatus, and transmits the information to the information processing apparatus. The printing apparatus according to claim 5, wherein the information processing apparatus requests data for printing the status or setting of the printing apparatus. 印刷装置と通信可能な情報処理装置であって、
前記印刷装置で前記印刷装置の状態または設定の印刷指示がユーザから受け付けられた場合に前記印刷装置から送信される前記印刷装置の状態または設定の印刷のためのデータの要求を受信する受信手段と、
前記受信手段により前記要求を受信した場合、前記印刷装置の状態または設定の印刷のためのデータを生成する生成手段と、
前記生成手段で生成したデータを前記印刷装置に送信する送信手段と、
を有することを特徴とする情報処理装置。
An information processing apparatus capable of communicating with a printing apparatus,
Receiving means for receiving a request for data for printing the status or setting of the printing apparatus transmitted from the printing apparatus when a printing instruction for the status or setting of the printing apparatus is received from a user in the printing apparatus; ,
Generating means for generating data for printing the status or settings of the printing device when the request is received by the receiving means;
Transmitting means for transmitting the data generated by the generating means to the printing device;
An information processing apparatus comprising:
前記受信手段は、前記印刷装置に状態の問い合わせを行うことにより、前記印刷装置から、前記印刷装置の状態または設定の印刷のためのデータの要求を受信する、ことを特徴とする請求項7に記載の情報処理装置。   The said receiving means receives the request | requirement of the data for the printing of the state or setting of the said printing apparatus from the said printing apparatus by inquiring of the state of the said printing apparatus, The said request | requirement of Claim 7 The information processing apparatus described. 前記受信手段は、前記問い合わせに応じて前記印刷装置から送信される前記印刷装置の状態を示す情報に、前記印刷装置の状態または設定の印刷のためのデータを要求するフラグがセットされている場合に、前記印刷装置の状態または設定の印刷のためのデータの要求があったと認識する、ことを特徴とする請求項8に記載の情報処理装置。   In the case where a flag for requesting data for printing of the status or setting of the printing device is set in the information indicating the status of the printing device transmitted from the printing device in response to the inquiry 9. The information processing apparatus according to claim 8, wherein the information processing apparatus recognizes that there is a request for data for printing the status or setting of the printing apparatus. 前記印刷指示を受け付けた旨の通知を前記印刷装置から受けると、前記印刷装置の状態または設定の印刷のためのデータを生成可能か否かを判断する判断手段と、
前記判断手段が前記印刷装置の状態または設定の印刷のためのデータを生成可能であると判断した場合、前記情報処理装置が前記印刷装置の状態または設定の印刷のためのデータを生成可能であるに前記印刷装置に送信すべき可能情報を、前記印刷装置に送信する可能情報送信手段と、
を有することを特徴とする請求項7乃至9のいずれか1項に記載の情報処理装置。
When receiving a notification that the print instruction has been received from the printing apparatus, a determination unit that determines whether data for printing of the state or setting of the printing apparatus can be generated;
When the determination unit determines that data for printing the status or setting of the printing apparatus can be generated, the information processing apparatus can generate data for printing the status or setting of the printing apparatus. Possible information transmission means for transmitting the possible information to be transmitted to the printing device to the printing device;
The information processing apparatus according to claim 7, further comprising:
前記可能情報は、少なくとも、前記情報処理装置の性能に関する情報、前記情報処理装置の処理状態に関する情報のいずれかを含むことを特徴とする請求項10に記載の情報処理装置。   The information processing apparatus according to claim 10, wherein the possible information includes at least one of information related to performance of the information processing apparatus and information related to a processing state of the information processing apparatus. 印刷装置の制御方法であって、
受付手段が、前記印刷装置の状態または設定の印刷指示をユーザから受け付ける受付ステップと、
判断手段が、情報処理装置と通信可能か否かを判断する判断ステップと、
通信手段が、前記受付ステップで前記印刷指示を受け付け、かつ前記判断ステップで情報処理装置と通信可能と判断された場合、前記印刷装置の状態または設定の印刷のためのデータを前記情報処理装置に要求して、前記情報処理装置によって生成されたデータを前記情報処理装置から受信する受信ステップと、
印刷処理手段が、前記受信ステップで受信したデータを用いて印刷処理を行う第1ステータス印刷処理ステップと、
生成手段が、印刷装置の状態または設定の印刷のためのデータを生成する生成ステップと、
前記印刷処理手段が、前記受付ステップで前記印刷指示を受け付け、かつ前記判断ステップで情報処理装置と通信不可能と判断された場合、前記生成ステップで生成したデータを用いて印刷処理を行う第2ステータス印刷処理ステップと、
を有することを特徴とする印刷装置の制御方法。
A method for controlling a printing apparatus,
A receiving step in which a receiving unit receives a printing instruction for the state or setting of the printing apparatus from a user;
A determination step for determining whether the determination means can communicate with the information processing apparatus;
When the communication unit receives the print instruction in the receiving step and determines that communication with the information processing apparatus is possible in the determination step, the data for printing the status or setting of the printing apparatus is stored in the information processing apparatus. Requesting and receiving from the information processing device the data generated by the information processing device;
A first status print processing step in which the print processing means performs print processing using the data received in the reception step;
A generating step for generating data for printing the status or setting of the printing apparatus;
When the print processing unit receives the print instruction in the reception step and determines that communication with the information processing apparatus is impossible in the determination step, a second print process is performed using the data generated in the generation step. Status printing process step;
A control method for a printing apparatus, comprising:
印刷装置と通信可能な情報処理装置の制御方法であって、
受信手段が、前記印刷装置で前記印刷装置の状態または設定の印刷指示がユーザから受け付けられた場合に前記印刷装置から送信される前記印刷装置の状態または設定の印刷のためのデータの要求を受信する受信ステップと、
生成手段が、前記受信ステップで前記要求を受信した場合、前記印刷装置の状態または設定の印刷のためのデータを生成する生成ステップと、
送信手段が、前記生成ステップで生成した前記印刷装置の状態または設定の印刷のためのデータを前記印刷装置に送信する送信ステップと、
を有することを特徴とする情報処理装置の制御方法。
A method for controlling an information processing apparatus capable of communicating with a printing apparatus,
A receiving unit receives a request for data for printing the status or setting of the printing apparatus transmitted from the printing apparatus when a printing instruction for the status or setting of the printing apparatus is received from a user in the printing apparatus. Receiving step to
A generating step for generating data for printing the status or setting of the printing device when the generating unit receives the request in the receiving step;
A transmission step for transmitting data for printing the status or setting of the printing apparatus generated in the generation step to the printing apparatus;
A method for controlling an information processing apparatus, comprising:
コンピュータを、請求項1乃至6のいずれか1項に記載される印刷装置の手段として機能させるためのプログラム。   The program for functioning a computer as a means of the printing apparatus as described in any one of Claims 1 thru | or 6. コンピュータを、請求項7乃至11のいずれか1項に記載される情報処理装置の手段として機能させるためのプログラム。   The program for functioning a computer as a means of the information processing apparatus as described in any one of Claims 7 thru | or 11.
JP2011161177A 2011-07-22 2011-07-22 Printing apparatus, information processing apparatus, control method of printing apparatus, control method of information processing apparatus, and program Withdrawn JP2013022879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011161177A JP2013022879A (en) 2011-07-22 2011-07-22 Printing apparatus, information processing apparatus, control method of printing apparatus, control method of information processing apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011161177A JP2013022879A (en) 2011-07-22 2011-07-22 Printing apparatus, information processing apparatus, control method of printing apparatus, control method of information processing apparatus, and program

Publications (1)

Publication Number Publication Date
JP2013022879A true JP2013022879A (en) 2013-02-04

Family

ID=47781757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011161177A Withdrawn JP2013022879A (en) 2011-07-22 2011-07-22 Printing apparatus, information processing apparatus, control method of printing apparatus, control method of information processing apparatus, and program

Country Status (1)

Country Link
JP (1) JP2013022879A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11704074B2 (en) 2021-01-15 2023-07-18 Seiko Epson Corporation Printing apparatus and control method for printing selected status information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11704074B2 (en) 2021-01-15 2023-07-18 Seiko Epson Corporation Printing apparatus and control method for printing selected status information

Similar Documents

Publication Publication Date Title
US8451496B2 (en) Information processing apparatus, printing apparatus, printing system, information processing apparatus control method, printing apparatus control method, and computer-readable storage medium for designating a print setting for a print job
JP5924992B2 (en) Information processing apparatus, information processing method and program
JP6604834B2 (en) Information processing apparatus, control method therefor, and program
JP6019755B2 (en) Image forming apparatus and printing system
US8988697B2 (en) Data processing apparatus having an ability to display a status of a printing apparatus
US9354832B2 (en) Print system for recovering a print job in a redundant print server, print server and print control method
KR101406749B1 (en) Information processing apparatus and control method thereof
JP2012242897A (en) Host computer, print control system, control method for print control system and program
US20080225330A1 (en) Printing apparatus and printing method
JP2008201035A (en) Printer, printing method, and printing system
JP5538919B2 (en) Print control apparatus, print control method, and program
JP5578259B1 (en) Terminal device, image forming system, and program
JP2006347110A (en) Image forming device and alternate printing control program
US20230315361A1 (en) Information processing apparatus, print setting application, and print system
US20220179604A1 (en) Information processing apparatus and method for controlling information processing apparatus
JP2013022879A (en) Printing apparatus, information processing apparatus, control method of printing apparatus, control method of information processing apparatus, and program
JP2010228198A (en) Image forming apparatus, alternative image forming apparatus, printing system, and printing method
US20130155457A1 (en) Image forming apparatus, image forming method, and computer-readable medium
US7533200B2 (en) Printer, processing method, program, and storage medium
JP2013250613A (en) Information processing device, control method, and program
US9207889B2 (en) Information processing apparatus, information processing method, and storage medium
US8994999B2 (en) Image forming apparatus that uses appropriate print control device to complete printing at high speed
JP2020119457A (en) Printer and computer program
JP4054544B2 (en) Information processing apparatus, information processing method, print control program, print processing apparatus, print processing method, and print processing program
JP2009104282A (en) Printing system and printing program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141007