JP5534074B2 - Printer control method, printer system control method, and printer - Google Patents

Printer control method, printer system control method, and printer Download PDF

Info

Publication number
JP5534074B2
JP5534074B2 JP2013056091A JP2013056091A JP5534074B2 JP 5534074 B2 JP5534074 B2 JP 5534074B2 JP 2013056091 A JP2013056091 A JP 2013056091A JP 2013056091 A JP2013056091 A JP 2013056091A JP 5534074 B2 JP5534074 B2 JP 5534074B2
Authority
JP
Japan
Prior art keywords
command
buzzer
print
printer
setting
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.)
Expired - Fee Related
Application number
JP2013056091A
Other languages
Japanese (ja)
Other versions
JP2013173365A (en
Inventor
正和 小野
智之 大井
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 JP2013056091A priority Critical patent/JP5534074B2/en
Publication of JP2013173365A publication Critical patent/JP2013173365A/en
Application granted granted Critical
Publication of JP5534074B2 publication Critical patent/JP5534074B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ホスト装置からのコマンド送信によって、印刷動作に連動して所定のタイミングでブザーを鳴らすことができるブザー付きのプリンタ、および、ブザー付きのプリンタの制御方法、並びにブザー付きのプリンタを含むプリンタシステムの制御方法に関する。   The present invention includes a printer with a buzzer that can sound a buzzer at a predetermined timing in conjunction with a printing operation by sending a command from a host device, a method for controlling a printer with a buzzer, and a printer with a buzzer. The present invention relates to a printer system control method.

ブザー付きのプリンタとしては、ホスト装置からのコマンド送信によってブザーの鳴動タイミングが制御されるもの、プリンタ自体にブザーの鳴動タイミングが予め設定されているものがある。   As a printer with a buzzer, there is a printer whose buzzer sounding timing is controlled by sending a command from a host device, and a printer which has a buzzer sounding timing set in advance in the printer itself.

後者のブザー付きプリンタとしては、特許文献1に開示されたものがある。ここに開示された印刷装置では、動作中にカバーオープン、用紙無し印字停止、復帰可能エラーあるいは復帰不能エラーなどの異常状態が発生した場合に、所定の態様でブザーを鳴動させるように、印刷装置自体に予め鳴動タイミングが設定されている。また、ホスト装置から、印刷指令や改行指令などと共にブザー音を鳴らすか否かおよびブザー音の種類や鳴動回数などを指定するための音通知設定指令を受信する。さらに、ホスト装置から音停止指令を受信したときには、当該音停止指令に基づいて割り込み処理を実行し、ブザーを止めることができる。   As the latter printer with a buzzer, there is one disclosed in Patent Document 1. In the printing apparatus disclosed herein, when an abnormal state such as a cover open, a paperless printing stop, a recoverable error or an unrecoverable error occurs during operation, the printing apparatus is configured to sound a buzzer in a predetermined manner. The ringing timing is set in advance in itself. In addition, a sound notification setting command for designating whether or not to sound a buzzer sound, the type of buzzer sound, the number of ringing, and the like is received from the host device together with a print command and a line feed command. Furthermore, when a sound stop command is received from the host device, an interrupt process can be executed based on the sound stop command to stop the buzzer.

特開2001−166904号公報JP 2001-166904 A

特許文献1に開示の印刷装置では、異常状態の検出をトリガとしてブザーを鳴動させることはできるが、改ページ動作や用紙カット動作ごとにブザー音を鳴らすなどのように、印刷ジョブの実行中の所定の制御コマンドの実行をトリガとしてブザーを鳴動させることは提案されていない。また、この印刷装置では、印刷装置本体側に予めブザーを鳴らすための条件を記憶させているので、常に同じ設定でブザー音を鳴らす場合にはホスト装置からブザーコマンドを送信する必要はないものの、トリガ条件を変える場合にはその都度ホスト装置から音通知設定指令を送信してプリンタ本体側の設定を変えなければならない。よって、所定ページ数毎の改ページ動作のときだけブザーを鳴動させるなどのような複雑な設定でブザーを鳴らそうとすると、ブザーを鳴動させるタイミングに合わせて音通知設定指令を送信し実行しなければならず、処理が複雑になってしまう。   In the printing apparatus disclosed in Patent Document 1, a buzzer can be sounded with detection of an abnormal state as a trigger, but a print job is being executed, such as a buzzer sound for each page break operation or paper cut operation. It has not been proposed to sound a buzzer with the execution of a predetermined control command as a trigger. In this printing device, since the conditions for sounding the buzzer are stored in advance on the printing device body side, it is not necessary to send a buzzer command from the host device when the buzzer sound is always sounded with the same setting. When changing the trigger condition, it is necessary to change the setting on the printer body side by transmitting a sound notification setting command from the host device each time. Therefore, if you want to sound the buzzer with a complicated setting such as sounding the buzzer only when a page break is performed for each specified number of pages, the sound notification setting command must be sent and executed in accordance with the timing for sounding the buzzer. The process becomes complicated.

プリンタの異常発生時以外の状態、例えば、印刷終了時、改ページ時、用紙カット時などにブザーを鳴動させてユーザーに知らせる場合には、印刷ジョブごとに、ユーザー側の希望に応じて、ブザーを鳴動させるか否かを簡単に変更できることが望ましい。そのためには、ホスト装置側から送信する印刷指令に、ブザーを鳴動させたいタイミングに対応させてブザーコマンドを追加することが考えられる。例えば、ホスト装置からプリンタに送信される印刷指令として、印刷データの後に、その終了を示す印刷終了コマンドと共にブザーコマンドを追加したもの、あるいは、印刷データにおける改ページ位置を示す改ページコマンドにブザーコマンドを追加したものを用いればよい。   If you want to notify the user by sounding the buzzer at a state other than when a printer error has occurred, for example, at the end of printing, at a page break, or at paper cut, the buzzer can be activated for each print job as desired by the user. It is desirable to be able to easily change whether or not to ring. For this purpose, it is conceivable to add a buzzer command to the print command transmitted from the host device side in correspondence with the timing at which the buzzer is desired to ring. For example, as a print command transmitted from the host device to the printer, a buzzer command is added to the page break command indicating the page break position in the print data or a print page command indicating the end of the print data after the print data is added. What added is used.

しかしながら、ホスト装置からの印刷指令の中のブザーを鳴動させるべき位置(順番)にその都度ブザーコマンドを挿入する方法では、プリンタ側において、印刷指令に含まれているブザーコマンドをブザーを鳴動させるべきタイミング(順番)でその都度コマンド解析してブザーを鳴動させるので、実際にブザーが鳴動するタイミングに遅れが生ずることがある。また、ブザーの鳴動ごとにブザーコマンドが必要になるので、印刷指令の構造およびプリンタ側の処理が複雑になってしまう。   However, in the method of inserting a buzzer command at each position (order) in the print command from the host device, the buzzer command included in the print command should be sounded on the printer side. Since the buzzer is sounded by analyzing the command each time (in order), there may be a delay in the timing at which the buzzer actually sounds. Further, since a buzzer command is required every time the buzzer sounds, the structure of the print command and the processing on the printer side become complicated.

また、例えば印刷終了後にブザーコマンドを受信させる場合には、プリンタは印刷終了コマンドを検出して一連の印刷終了処理動作を実行し、しかる後にブザーコマンドを実行してブザーを鳴動させる。印刷終了処理動作としては、ヘッドキャリッジをホームポジションに戻す処理、紙送り処理、紙カット処理などがあるほか、所定の条件を満たす場合にはヘッドクリーニング処理などが自動的に起動する。例えば、ヘッドクリーニング処理が起動した場合には、ヘッドクリーニング処理の終了を待ってブザーが鳴動するので、実際の印刷終了時点に比べて、印刷終了時点をユーザーに報知するためのブザーの鳴動時点が大幅に遅れてしまうという問題点もある。   For example, when a buzzer command is received after printing is finished, the printer detects the print end command and executes a series of print end processing operations, and then executes the buzzer command to sound the buzzer. The print end process operation includes a process for returning the head carriage to the home position, a paper feed process, a paper cut process, and the like, and a head cleaning process is automatically activated when a predetermined condition is satisfied. For example, when the head cleaning process is started, the buzzer sounds after waiting for the end of the head cleaning process. Therefore, the buzzer sounding time for notifying the user of the printing end time is larger than the actual printing end time. There is also a problem that it is greatly delayed.

本発明の課題は、このような点に鑑みて、ホスト装置の側からのコマンド送信によって、所定のタイミングで遅れを発生させることなくブザーを鳴動させることができ、また、1回のコマンド送信を行うだけでブザーを様々なタイミングで鳴動させることができるブザー付きプリンタの制御方法およびプリンタシステムの制御方法、並びにプリンタを提案することにある。   In view of the above, the problem of the present invention is that the buzzer can be sounded without causing a delay at a predetermined timing by command transmission from the host device side, and one command transmission can be performed. An object of the present invention is to propose a control method for a printer with a buzzer, a control method for a printer system, and a printer that can make a buzzer sound at various timings by simply performing the buzzer.

上記課題を解決するために、本発明のプリンタの制御方法は、
ブザー付きのプリンタの制御方法であって、
印刷制御コマンドと、
前記ブザーの鳴動を制御するためのブザー設定コマンドを受信し、
前記印刷制御コマンドに、前記ブザー設定コマンドで指定された所定のコマンドがある場合には、当該所定のコマンドの実行をトリガとして、前記ブザーを所定のタイミング及び態様で鳴動させることを特徴とする。
In order to solve the above problems, a printer control method of the present invention includes:
A method for controlling a printer with a buzzer,
Print control commands;
Receiving a buzzer setting command for controlling the sounding of the buzzer;
When the print control command includes a predetermined command specified by the buzzer setting command, the buzzer is caused to ring at a predetermined timing and in a manner triggered by the execution of the predetermined command.

また、本発明のプリンタシステムの制御方法は、
ホスト装置から、印刷制御コマンドを受信すると共に、当該印刷制御コマンドに先行して、前記ブザーの鳴動を制御するためのブザー設定コマンドを受信し、
前記印刷制御コマンドに、前記ブザー設定コマンドで指定された所定のコマンドがある場合には、当該所定のコマンドの実行をトリガとして、前記ブザーを所定のタイミング及び態様で鳴動させることを特徴とする。
The control method of the printer system of the present invention includes:
A print control command is received from the host device, and a buzzer setting command for controlling the sounding of the buzzer is received prior to the print control command.
When the print control command includes a predetermined command specified by the buzzer setting command, the buzzer is caused to ring at a predetermined timing and in a manner triggered by the execution of the predetermined command.

本発明は、このように、ブザー設定コマンドに基づき、印刷制御コマンド中の所定のコマンド(トリガコマンド)の実行をトリガとしてブザーを鳴動させることができる。これにより、ブザー設定コマンドによる設定が有効な限り、1つのコマンドでトリガコマンドの実行回数分だけブザーを鳴動させることができるので、印刷指令のデータ構造をシンプルにすることができる。また、ブザーを鳴動させる回数分だけブザー音発生コマンドを解析し実行する必要がないので、ブザーを鳴動させるときにその都度ブザー音発生コマンドを解析し実行するための処理時間がかからない。よって、ブザーが鳴動するまでのタイムラグを解消あるいは短縮できる。また、ブザーを鳴動させるためのトリガとなるコマンドや、ブザーの鳴動態様などの設定を印刷ジョブごとに変えることができる。印刷制御コマンドには、制御コマンドだけでなく、印刷データが含まれていてもよい。   As described above, according to the present invention, based on the buzzer setting command, the buzzer can be sounded with the execution of a predetermined command (trigger command) in the print control command as a trigger. Thereby, as long as the setting by the buzzer setting command is valid, the buzzer can be sounded by the number of times of execution of the trigger command with one command, so that the data structure of the print command can be simplified. Further, since it is not necessary to analyze and execute the buzzer sound generation command as many times as the buzzer is sounded, it does not take a processing time to analyze and execute the buzzer sound generation command each time the buzzer is sounded. Therefore, the time lag until the buzzer sounds can be eliminated or shortened. In addition, it is possible to change settings such as a command for triggering a buzzer and a buzzer ringing mode for each print job. The print control command may include not only the control command but also print data.

本発明のプリンタの制御方法において、前記印刷制御コマンドの前に前記ブザー設定コマンドを配置したコマンド群を含む印刷指令を受信し、
前記印刷制御コマンドに先行して受信した前記コマンド群に前記ブザー設定コマンドが含まれているか否かを判別し、前記ブザー設定コマンドが含まれている場合には、当該ブザー設定コマンドによって指定された前記所定のコマンドを記憶保持し、
前記印刷指令に含まれている前記所定のコマンドを検出すると、当該所定のコマンドに基づく処理を実行すると共に、前記ブザー設定コマンドによって指定されたタイミングおよび態様で前記ブザーを鳴動させるとよい。
In the printer control method of the present invention, a print command including a command group in which the buzzer setting command is arranged before the print control command is received,
It is determined whether or not the buzzer setting command is included in the command group received prior to the print control command. When the buzzer setting command is included, the command group is designated by the buzzer setting command. Storing and holding the predetermined command;
When the predetermined command included in the print command is detected, a process based on the predetermined command is executed, and the buzzer is sounded at a timing and a mode specified by the buzzer setting command.

また、本発明のプリンタシステムの制御方法において、
前記ホスト装置から、前記プリンタに対して、前記印刷制御コマンドの前に前記ブザー設定コマンドを配置したコマンド群を含む印刷指令を送信し、
前記プリンタは、前記印刷制御コマンドに先行して受信した前記コマンド群に前記ブザー設定コマンドが含まれているか否かを判別し、前記ブザー設定コマンドが含まれている場合には、当該ブザー設定コマンドによって指定された前記所定のコマンドを記憶保持し、
前記印刷指令に含まれている前記所定のコマンドを検出すると、当該所定のコマンドに基づく処理を実行すると共に、前記ブザー設定コマンドによって指定されたタイミングおよび態様で前記ブザーを鳴動させるとよい。
In the control method of the printer system of the present invention,
A print command including a command group in which the buzzer setting command is arranged before the print control command is transmitted from the host device to the printer.
The printer determines whether the buzzer setting command is included in the command group received prior to the print control command, and if the buzzer setting command is included, the buzzer setting command Storing and holding the predetermined command specified by
When the predetermined command included in the print command is detected, a process based on the predetermined command is executed, and the buzzer is sounded at a timing and a mode specified by the buzzer setting command.

本発明は、このように、印刷制御コマンドの前に前記ブザー設定コマンドを配置しているので、ブザー制御コマンドが含まれている場合にはその旨を判別し、ブザー制御コマンドにより指定された所定のコマンド(トリガコマンド)を記憶保持してから、印刷制御コマンドの解析および印刷処理を行うことができる。よって、印刷処理中の所定のコマンドの実行をトリガとして確実にブザーを鳴動させることができる。   In the present invention, since the buzzer setting command is arranged before the print control command as described above, if the buzzer control command is included, it is determined that the buzzer control command is present, and the predetermined b designated by the buzzer control command. After the command (trigger command) is stored, the print control command can be analyzed and printed. Therefore, the buzzer can be reliably sounded with the execution of a predetermined command during the printing process as a trigger.

本発明のプリンタの制御方法およびプリンタシステムの制御方法において、前記印刷指令は、改ページ時の処理を指定する改ページコマンド、および/または、印刷処理の終了後に実行する処理を指定する印刷終了コマンドを含み、前記ブザー設定コマンドにおいて、前記改ページコマンド、および/または、前記印刷終了コマンドを前記所定のコマンドとして指定するとよい。また、前記印刷指令は、複数の改ページコマンドを含み、前記ブザー設定コマンドにおいて、前記複数の改ページコマンドのうち、一部の改ページコマンドのみを前記所定のコマンドとして指定するとよい。このようにすると、改ページのタイミングや印刷終了のタイミングに合わせてブザーを鳴らすことができる。また、改ページのタイミングでブザーを鳴らすときに、改ページ時に必ずブザーをならすのではなく、鳴らしたいページだけ、例えば、所定ページ毎や最終ページの改ページ時にだけブザーを鳴らすという設定も可能である。   In the printer control method and the printer system control method of the present invention, the print command is a page break command for designating a page break process and / or a print end command for designating a process to be executed after the print process is completed. In the buzzer setting command, the page break command and / or the print end command may be designated as the predetermined command. The print command may include a plurality of page break commands, and in the buzzer setting command, only a part of the page break commands among the plurality of page break commands may be designated as the predetermined command. In this way, the buzzer can be sounded in accordance with the page break timing or the print end timing. In addition, when the buzzer is sounded at the page break timing, it is possible to set the buzzer to sound only for the page you want to ring, for example, every predetermined page or at the last page break. is there.

本発明において、前記ブザー設定コマンドにより、前記ブザーの鳴動パターン、音量、周波数のうち少なくとも1つを指定するとよい。このようにすれば、印刷ジョブごとに異なる態様でブザーを鳴動させることができる。   In the present invention, at least one of the ringing pattern, volume and frequency of the buzzer may be designated by the buzzer setting command. In this way, the buzzer can be sounded in a different manner for each print job.

本発明のプリンタは、ブザーと、当該ブザーの鳴動を制御する制御部と、を有し、前記制御部は、上述のプリンタの制御方法を実行することを特徴とする。   The printer of the present invention includes a buzzer and a control unit that controls ringing of the buzzer, and the control unit executes the above-described printer control method.

本発明によれば、ブザー設定コマンドに基づき、印刷制御コマンド中の所定のコマンド(トリガコマンド)の実行をトリガとしてブザーを鳴動させることができる。これにより、ブザー設定コマンドによる設定が有効な限り、1つのコマンドでトリガコマンドの実行回数分だけブザーを鳴動させることができるので、印刷指令のデータ構造をシンプルにすることができる。また、ブザーを鳴動させる回数分だけブザー音発生コマンドを解析し実行する必要がないので、ブザーを鳴動させるときにその都度ブザー音発生コマンドを解析し実行するための処理時間がかからない。よって、ブザーが鳴動するまでのタイムラグを解消あるいは短縮できる。また、ブザーを鳴動させるためのトリガとなるコマンドや、ブザーの鳴動態様などの設定を印刷ジョブごとに変えることができる。   According to the present invention, based on the buzzer setting command, the buzzer can be sounded with the execution of a predetermined command (trigger command) in the print control command as a trigger. Thereby, as long as the setting by the buzzer setting command is valid, the buzzer can be sounded by the number of times of execution of the trigger command with one command, so that the data structure of the print command can be simplified. Further, since it is not necessary to analyze and execute the buzzer sound generation command as many times as the buzzer is sounded, it does not take a processing time to analyze and execute the buzzer sound generation command each time the buzzer is sounded. Therefore, the time lag until the buzzer sounds can be eliminated or shortened. In addition, it is possible to change settings such as a command for triggering a buzzer and a buzzer ringing mode for each print job.

本発明を適用したプリンタのブロック図である。1 is a block diagram of a printer to which the present invention is applied. 図1のプリンタにおける印刷指令のデータ構造を示す説明図である。FIG. 2 is an explanatory diagram illustrating a data structure of a print command in the printer of FIG. 1. 図1のプリンタにおける印刷ジョブ実行時のフローチャートである。3 is a flowchart when a print job is executed in the printer of FIG. 1.

以下に、図面を参照して、本発明のプリンタシステムの実施の形態を説明する。   Embodiments of a printer system of the present invention will be described below with reference to the drawings.

(全体構成)
図1は本発明を適用したインクジェット式のブザー付きプリンタ1およびホスト装置2を含むプリンタシステムSの概略構成を示すブロック図である。この図に示すように、プリンタ1は、プリンタ各部を制御する制御部10と、制御部10からの制御信号に応じて記録紙への印刷動作を行う印刷機構20と、ホスト装置2との間で通信を行うためのインターフェース部である通信部30と、制御部10からの制御信号に基づいて鳴動するブザー40などを備えている。また、プリンタ1は、図示しない電源部や操作部などを備えている。
(overall structure)
FIG. 1 is a block diagram showing a schematic configuration of a printer system S including an inkjet buzzer-equipped printer 1 and a host device 2 to which the present invention is applied. As shown in FIG. 1, the printer 1 includes a control unit 10 that controls each unit of the printer, a printing mechanism 20 that performs a printing operation on recording paper in response to a control signal from the control unit 10, and a host device 2. And a communication unit 30 that is an interface unit for performing communication, and a buzzer 40 that rings based on a control signal from the control unit 10. In addition, the printer 1 includes a power supply unit and an operation unit (not shown).

制御部10は、CPUなどの演算処理ユニットと、制御に必要な各種プログラムやデータを記憶しているフラッシュROMあるいはEEPROM、および、CPUなどによる処理の際にワークエリアとして機能するRAMなどの記憶部11を備えている。制御部10には、ホスト装置2からのコマンドや印刷データが通信部30を介して入力される。プリンタ1における通信部30は、無線LANアダプタなどを用いた無線通信、あるいは、USBケーブル、LANケーブルなどを用いた有線通信により、ホスト装置2と接続可能に構成されている。   The control unit 10 includes an arithmetic processing unit such as a CPU, a flash ROM or EEPROM that stores various programs and data necessary for control, and a storage unit such as a RAM that functions as a work area during processing by the CPU. 11 is provided. Commands and print data from the host device 2 are input to the control unit 10 via the communication unit 30. The communication unit 30 in the printer 1 is configured to be connectable to the host device 2 by wireless communication using a wireless LAN adapter or the like, or wired communication using a USB cable, a LAN cable, or the like.

印刷機構20は、記録ヘッドや、記録ヘッドを搭載したキャリッジ、キャリッジを紙幅方向へ移動するキャリッジ送り機構、記録紙をカットする記録紙切断装置、およびそれらの駆動機構を備えている。また、印刷機構20は、プリンタ1にセットされているロール紙などの記録紙を所定の搬送径路に沿って搬送するための紙送り機構を備えている。印刷機構20は、ゲートアレイなどの駆動回路および駆動モータを備えており、制御部10からの制御信号が駆動回路に入力されると、モータ駆動電流を生成して駆動モータに供給する。駆動モータの出力は紙送り機構あるいは記録ヘッド駆動用の駆動機構などに伝達され、これにより各機構が作動する。制御部10は、記録ヘッドが作動している間はその印刷動作に連動して紙送り機構を作動させ、記録紙を移動させる。そして、記録ヘッドによる印刷動作が終了すると、印刷済みの記録紙をプリンタ1の外部に排出するための紙送りを行う。   The printing mechanism 20 includes a recording head, a carriage on which the recording head is mounted, a carriage feeding mechanism that moves the carriage in the paper width direction, a recording paper cutting device that cuts the recording paper, and a drive mechanism thereof. The printing mechanism 20 includes a paper feeding mechanism for transporting recording paper such as roll paper set in the printer 1 along a predetermined transport path. The printing mechanism 20 includes a driving circuit such as a gate array and a driving motor. When a control signal from the control unit 10 is input to the driving circuit, a motor driving current is generated and supplied to the driving motor. The output of the drive motor is transmitted to a paper feed mechanism or a drive mechanism for driving the recording head, whereby each mechanism operates. While the recording head is operating, the control unit 10 operates the paper feed mechanism in conjunction with the printing operation to move the recording paper. When the printing operation by the recording head is finished, paper feeding for discharging the printed recording paper to the outside of the printer 1 is performed.

ブザー40には、例えば圧電ブザーが用いられる。制御部10は、所定の駆動パターンの駆動信号を所定のタイミングでブザー40に送信する。ブザー40は、制御部10からの駆動信号に応じて、所定のタイミングおよび鳴動パターン(鳴動時間の長さ、鳴動回数、鳴動間隔など)で鳴動する。また、ブザー40は、制御部10からの駆動信号に応じて、ブザー音の音量や、周波数、あるいは音質(音の種類)などを調整できる。制御部10は、後述するブザー設定コマンドで設定したトリガコマンドの実行に基づき、当該コマンドで指定された態様(鳴動パターン、音量、周波数など)およびタイミングでブザー40を鳴動させるための駆動信号をブザー40に送信する。   For the buzzer 40, for example, a piezoelectric buzzer is used. The control unit 10 transmits a drive signal having a predetermined drive pattern to the buzzer 40 at a predetermined timing. The buzzer 40 rings at a predetermined timing and ringing pattern (the ringing time length, ringing frequency, ringing interval, etc.) according to the drive signal from the control unit 10. Further, the buzzer 40 can adjust the volume, frequency, sound quality (sound type), and the like of the buzzer sound according to the drive signal from the control unit 10. Based on the execution of a trigger command set by a buzzer setting command, which will be described later, the control unit 10 generates a buzzer driving signal for causing the buzzer 40 to ring in a mode (ringing pattern, volume, frequency, etc.) and timing specified by the command. 40.

(プリンタの印刷制御)
次に、上記構成のプリンタ1における印刷ジョブ実行時の制御について説明する。図2はホスト装置2から送信される印刷指令のデータ構造を示す説明図であり、図3は印刷ジョブ実行時のフローチャートである。ホスト装置2からプリンタ1に送信される印刷指令は、図2に示すように、その先頭から順に、印刷設定コマンドA、ブザー設定コマンドB、印刷制御コマンドC、印刷終了コマンドDの4種類のデータが並んだデータ構造になっている。以下、各データの内容について説明する。
(Print control of printer)
Next, the control at the time of executing a print job in the printer 1 having the above configuration will be described. FIG. 2 is an explanatory diagram showing a data structure of a print command transmitted from the host apparatus 2, and FIG. 3 is a flowchart when a print job is executed. As shown in FIG. 2, the print commands transmitted from the host device 2 to the printer 1 are four types of data: a print setting command A, a buzzer setting command B, a print control command C, and a print end command D. The data structure is lined up. The contents of each data will be described below.

(1)印刷設定コマンドA
印刷設定コマンドAは、この印刷ジョブにおける記録紙の種類や印刷領域、印刷方法などを設定するための用紙設定コマンド、各ページの印刷終了後、あるいは、最終ページなどの特定のページの印刷終了後に印刷用紙を記録紙切断装置で自動切断するオートカット処理を実行するか否かを指定するカットオン/オフ設定コマンド、記録紙がないにも係わらず印刷してしまうことを防止するプラテン打ち防止処理を行うか否かを設定するプラテン打ち防止オン/オフコマンド、シリアルヘッドの場合でキャリッジを移動する際、単方向印刷を行うか双方向印刷を行うかを設定する印刷方向設定コマンドなどを含んでいる。
(1) Print setting command A
The print setting command A is a paper setting command for setting a recording paper type, a print area, a printing method, and the like in this print job, after printing of each page, or after printing of a specific page such as the last page. Cut-on / off setting command for specifying whether or not to execute automatic cut processing for automatically cutting printing paper with a recording paper cutting device, platen strike prevention processing for preventing printing even when there is no recording paper Includes a platen strike prevention on / off command for setting whether to perform printing, a printing direction setting command for setting whether to perform unidirectional printing or bidirectional printing when moving the carriage in the case of a serial head, etc. Yes.

(2)ブザー設定コマンドB
ブザー設定コマンドBは、ブザー40を鳴動させるための条件や鳴動方法を設定するコマンドである。ブザー設定コマンドBは、後述する印刷制御コマンドに含まれるコマンドの中から、ブザー40を鳴動させるためのトリガコマンドとして使用するものを指定するコマンドを含む。また、ブザー設定コマンドBに、トリガコマンドの実行に基づき、どのようなタイミングで、あるいは、どのような態様でブザー40を鳴動させるかを指定するコマンドを含めることもできる。例えば、鳴動時間の長さや鳴動回数、鳴動間隔などの鳴動パターンや、鳴動音の周波数や音質(音の種類)、音量などを指定するコマンドを含めることができる。
(2) Buzzer setting command B
The buzzer setting command B is a command for setting conditions and a sounding method for sounding the buzzer 40. The buzzer setting command B includes a command for specifying a command to be used as a trigger command for causing the buzzer 40 to ring out of commands included in a print control command to be described later. Further, the buzzer setting command B may include a command for designating at what timing or in what manner the buzzer 40 is sounded based on the execution of the trigger command. For example, it is possible to include a command for designating a ringing pattern such as a ringing time length, ringing frequency, ringing interval, and the like, a sound frequency, sound quality (sound type), volume, and the like.

(3)印刷制御コマンドC
印刷制御コマンドCは、記録紙に実際に印刷される文字やグラフィックなどの印刷内容を示す印刷データC1と、各ページの印刷後に行う改ページ処理を制御するための改ページコマンドC2を含んでいる。すなわち、印刷制御コマンドCは、印刷データC1と改ページコマンドC2を印刷ページ数分だけ交互に配列した構造になっている。改ページコマンドC2には、改ページ時に記録ヘッドのノズルを自動でクリーニングするためのクリーニングコマンド、ページ後端側の余白分だけ記録紙を紙送りするための紙送りコマンド、ページ後端位置で記録紙をカットするためのカットコマンド、などを含んでいてもよい。カットコマンドの実行は上述した印刷設定コマンドAに含まれるカットオン/オフ設定コマンドによって制御することができる。例えば、カットコマンドを実行するページあるいは実行しないページをカットオン/オフ設定コマンドで指定することにより、指定したページにおけるカットコマンドのみを実行する制御が可能になる。なお、印刷データC1には、文字やグラフィックなどを装飾するコマンドが含まれていてもよい。
(3) Print control command C
The print control command C includes print data C1 indicating print contents such as characters and graphics actually printed on recording paper, and a page break command C2 for controlling page break processing performed after printing each page. . That is, the print control command C has a structure in which the print data C1 and the page break command C2 are alternately arranged by the number of print pages. The page break command C2 includes a cleaning command for automatically cleaning the nozzles of the recording head at the time of page break, a paper feed command for feeding the recording paper by the margin at the rear end of the page, and recording at the page rear end position. It may include a cut command for cutting the paper. Execution of the cut command can be controlled by a cut-on / off setting command included in the print setting command A described above. For example, by specifying a page on which a cut command is executed or a page on which a cut command is not executed with a cut-on / off setting command, it is possible to control to execute only the cut command on the specified page. Note that the print data C1 may include commands for decorating characters and graphics.

(4)印刷終了コマンドD
印刷終了コマンドDは、記録紙への印刷が終了した後、印刷ジョブを終了させるための処理を行うコマンドである。印刷終了コマンドDは、印刷設定コマンドAで設定した内容を初期化するコマンド、ブザー設定コマンドBで設定した内容を初期化するコマンド、印刷ジョブの終了をプリンタ1の各部やホスト装置2などに通知するジョブ終了コマンド、などを含んでいる。
(4) Print end command D
The print end command D is a command for performing processing for ending the print job after printing on the recording paper is completed. The print end command D is a command for initializing the contents set by the print setting command A, a command for initializing the contents set by the buzzer setting command B, and notification of the end of the print job to each part of the printer 1 or the host device 2. Job end command to be executed.

プリンタ1の制御部10は、ホスト装置2から上記各コマンドや印刷データを配列した印刷指令を受信すると、当該印刷指令に含まれているコマンドや印刷データを解析する。そして、印刷指令中の所定のデータブロックに、ブザー設定コマンドBが含まれているか否かの判定を行う(S1)。本実施形態では、ブザー設定コマンドBは印刷制御コマンドCの直前のデータブロックに格納されるので、制御部10は、このデータブロックを解析して、ブザー設定コマンドBの有無を判定する。   When the control unit 10 of the printer 1 receives a print command in which the above commands and print data are arranged from the host device 2, the control unit 10 analyzes the command and print data included in the print command. Then, it is determined whether or not the buzzer setting command B is included in a predetermined data block in the print command (S1). In this embodiment, since the buzzer setting command B is stored in the data block immediately before the print control command C, the control unit 10 analyzes this data block and determines the presence or absence of the buzzer setting command B.

印刷指令にブザー設定コマンドBが含まれていた場合には、制御部10は、内蔵する記憶部に、ブザー設定コマンドBを受信したことを記憶させる(S2)。また、制御部10は、この工程で、内蔵する記憶部11に、ブザー設定コマンドBで指定されたブザー40の鳴動条件、すなわち、どのコマンドをトリガコマンドとするか、および、トリガコマンドを検出したときのブザーの鳴動態様および鳴動タイミングなどを記憶させる。ブザー設定コマンドBでは、例えば、トリガコマンドとして改ページコマンドC2が指定されている。また、ブザー40の鳴動タイミングとして、各ページの改ページ処理の際に実行される記録紙のオートカット処理の終了時点が指定されている。また、鳴動態様として、所定の音量および周波数の音を、所定の長さで1回だけ鳴らすことが指定されている。よって、制御部10は、これらの鳴動条件を記憶部11に記憶させる。一方、S1工程でブザー設定コマンドBを検出しなかった場合には、制御部10は、ブザー設定コマンドBを受信したことを記憶部11に記憶させることなく、印刷処理工程(S3)に進む。   When the print command includes the buzzer setting command B, the control unit 10 stores the fact that the buzzer setting command B is received in the built-in storage unit (S2). Further, in this process, the control unit 10 detects the buzzer 40 ringing condition specified by the buzzer setting command B in the built-in storage unit 11, that is, which command is the trigger command and the trigger command. The buzzer sounding mode and sounding timing are memorized. In the buzzer setting command B, for example, a page break command C2 is designated as a trigger command. In addition, as the sounding timing of the buzzer 40, the end point of the recording paper auto-cut process executed during the page break process of each page is designated. Moreover, it is designated as a ringing mode that a sound of a predetermined volume and frequency is sounded only once with a predetermined length. Therefore, the control unit 10 stores these ringing conditions in the storage unit 11. On the other hand, if the buzzer setting command B is not detected in step S1, the control unit 10 proceeds to the printing process step (S3) without storing the buzzer setting command B in the storage unit 11.

なお、図3には省略してあるが、制御部10は、印刷処理工程の実行前に印刷設定コマンドAを解析することにより、ブザー設定コマンドBによる設定内容を記憶させたのと同様に、印刷設定コマンドAによる設定内容を記憶部11に記憶させておくことができる。制御部10は、以下に説明する印刷制御を、印刷設定コマンドAおよびブザー設定コマンドBにより指定された設定に従って行う。   Although not shown in FIG. 3, the control unit 10 analyzes the print setting command A before executing the print processing step, and stores the setting contents by the buzzer setting command B, similarly to the case where the setting contents are stored. The setting content by the print setting command A can be stored in the storage unit 11. The control unit 10 performs print control described below according to the settings specified by the print setting command A and the buzzer setting command B.

制御部10は、印刷データC1と改ページコマンドC2を印刷ページ数分だけ交互に配列した印刷制御コマンドCを順次解析し、解析内容に応じた処理を順次実行する。まず、制御部10は、最初のページの印刷データC1を解析して記録ヘッド用の印刷データに展開し、イメージバッファに格納する。そして、展開した印刷データに基づき、ヘッド制御回路や紙送りモータの制御回路に順次駆動信号を与えて、印刷動作を実行させる(S3)。制御部10は、最初のページの印刷データC1を順次解析して実行しながら、所定のタイミングで改ページコマンドC2が検出されたか否かの判定を行う(S4)。そして、改ページコマンドC2を検出した場合には(S4:Yes)、改ページ処理の実行(S5a〜S5c)に進む。一方、改ページコマンドC2を検出していない場合には(S4:No)、S3工程に戻り、そのままE印刷データC1の解析と印刷動作を継続する。   The control unit 10 sequentially analyzes the print control command C in which the print data C1 and the page break command C2 are alternately arranged by the number of print pages, and sequentially executes processing according to the analysis content. First, the control unit 10 analyzes the print data C1 of the first page, develops it into print data for the recording head, and stores it in the image buffer. Based on the developed print data, a drive signal is sequentially given to the head control circuit and the paper feed motor control circuit to execute the printing operation (S3). The control unit 10 determines whether or not the page break command C2 is detected at a predetermined timing while sequentially analyzing and executing the print data C1 of the first page (S4). When the page break command C2 is detected (S4: Yes), the process proceeds to page break process execution (S5a to S5c). On the other hand, if the page break command C2 is not detected (S4: No), the process returns to step S3, and the analysis and printing operation of the E print data C1 are continued as they are.

改ページ処理では、クリーニングコマンドに基づくクリーニング処理(S5a)、紙送りコマンドに基づく紙送り処理(S5b)、カットコマンドに基づくオートカット処理(S5c)、の3つの処理がこの順で実行される。制御部10は、改ページ処理に進んだ場合には、この印刷ジョブにおけるブザー40の鳴動タイミングとして指定されているオートカット処理の実行終了時に、上記S1工程におけるブザー設定コマンドBの有無の判定結果を確認する(S6)。なお、制御部10は、上述したカットオン/オフ設定コマンドによりオートカット処理(S5c)を実行しない旨の設定がなされていた場合には、改ページ処理のうち、オートカット処理(S5c)に先行して行われる紙送り処理(S5b)の実行終了時にS6工程を行うように処理を変更する。   In the page break process, three processes are executed in this order: a cleaning process based on a cleaning command (S5a), a paper feed process based on a paper feed command (S5b), and an automatic cut process based on a cut command (S5c). When the control unit 10 proceeds to the page break process, the determination result of the presence / absence of the buzzer setting command B in step S1 at the end of execution of the auto cut process specified as the ringing timing of the buzzer 40 in this print job. Is confirmed (S6). In addition, the control part 10 precedes the auto cut process (S5c) in the page break process when the setting that the auto cut process (S5c) is not executed is made by the cut on / off setting command described above. Then, the process is changed so that the step S6 is performed at the end of the execution of the paper feed process (S5b).

制御部10は、記憶部11にブザー設定コマンドB有りと記憶されている場合には(S6:Yes)、ブザー設定コマンドBで指定された態様でブザー40を鳴動させる。すなわち、制御部10は、指定された態様でブザー40を駆動させるための駆動信号を生成してブザー40に与え、ブザー40を鳴動させる(S7)。一方、記憶部11にブザー設定コマンドB有りと記憶されていなかった場合には(S6:No)、制御部10は、ブザー40を鳴動させることなくS3工程に戻り、処理を継続する。   When the storage unit 11 stores the buzzer setting command B as being present (S6: Yes), the control unit 10 sounds the buzzer 40 in a manner specified by the buzzer setting command B. That is, the control part 10 produces | generates the drive signal for driving the buzzer 40 in the designated aspect, gives it to the buzzer 40, and rings the buzzer 40 (S7). On the other hand, if it is not stored in the storage unit 11 that the buzzer setting command B is present (S6: No), the control unit 10 returns to the step S3 without ringing the buzzer 40 and continues the process.

制御部10は、所定の印刷ページ数分だけ印刷動作と改ページ動作を繰り返し、各ページの改ページ動作におけるオートカット処理の終了時に、その都度、ブザー設定コマンドBの有無の判定結果を確認し(S6)、ブザー設定コマンドB有りの場合には、ブザー40を鳴動させる(S7)。そして、最終ページの改ページ動作を行った後は、印刷終了コマンドDに基づき、印刷設定コマンドAおよびブザー設定コマンドBで設定した内容を初期化する処理を行う。すなわち、記憶部11に記憶させた設定内容を初期設定に戻す。そして、印刷ジョブの終了をプリンタ1の各部に通知してプリンタ1の各部を印刷待機状態にするとともに、ホスト装置2に印刷ジョブの終了を通知する信号を出力する。なお、次の印刷データを既に受信していた場合には、印刷待機状態にすることなく引き続き印刷ジョブを実行する。   The control unit 10 repeats the printing operation and the page break operation for the predetermined number of print pages, and checks the determination result of the presence or absence of the buzzer setting command B each time the automatic cut process in the page break operation of each page ends. (S6) If the buzzer setting command B is present, the buzzer 40 is sounded (S7). Then, after the page break operation for the last page is performed, processing for initializing the contents set by the print setting command A and the buzzer setting command B is performed based on the print end command D. That is, the setting content stored in the storage unit 11 is returned to the initial setting. Then, the end of the print job is notified to each unit of the printer 1 to put each unit of the printer 1 in a print standby state, and a signal for notifying the host device 2 of the end of the print job is output. If the next print data has already been received, the print job is continuously executed without entering the print standby state.

(本実施形態の効果)
以上のように、プリンタ1は、ブザー設定コマンドBに基づき、印刷指令中の改ページコマンドC2をトリガとしてブザー40を鳴動させることができる。すなわち、印刷制御コマンドCの前にブザー設定コマンドBを挿入するだけで、この印刷指令に含まれる全ての改ページコマンドC2をトリガとしてブザー40を鳴動させることができる。よって、印刷指令中にページ区切りごとにブザー音発生コマンドを挿入する必要がないので、印刷指令のデータ構造をシンプルにすることができる。また、改ページ処理ごとにブザー音発生コマンドを解析する必要がないので、ブザー音を鳴らすための処理負荷を低減させることができる。よって、ブザー40を鳴らしたい時点(トリガコマンドの検出時点)と実際のブザーの鳴動時点とのタイムラグを解消あるいは短縮できる。また、ブザーを鳴動させるためのトリガとなるコマンドやブザーの鳴動態様の設定を印刷ジョブごとに自由に変えることができる。
(Effect of this embodiment)
As described above, based on the buzzer setting command B, the printer 1 can sound the buzzer 40 using the page break command C2 in the print command as a trigger. That is, by inserting the buzzer setting command B before the print control command C, the buzzer 40 can be sounded using all the page break commands C2 included in the print command as a trigger. Therefore, since it is not necessary to insert a buzzer sound generation command for each page break in the print command, the data structure of the print command can be simplified. In addition, since it is not necessary to analyze the buzzer sound generation command for each page break process, the processing load for generating the buzzer sound can be reduced. Therefore, the time lag between the time when the buzzer 40 is desired to be sounded (when the trigger command is detected) and the actual time when the buzzer is sounded can be eliminated or shortened. In addition, it is possible to freely change the setting of the command and the buzzer sounding mode that trigger the buzzer for each print job.

(改変例)
(1)上記の実施の形態では、全ページにおける改ページコマンドC2をブザー40を鳴動させるためのトリガコマンドとして設定していたが、特定のページ数目の改ページコマンドC2だけをトリガコマンドとするように設定してもよい。例えば、nページおき(n:自然数)の改ページコマンドC2だけをトリガコマンドとするように設定してもよい。この場合には、制御部10は、改ページコマンドC2を検出した場合にはその検出数を積算し、検出数がnの倍数になったか否かの判定を行う。そして、nの倍数であるときのみ、ブザー設定コマンドBの有無の判定結果を確認する処理(S6)を行う。このようにすれば、nページおきにブザー40を鳴らすことができる。同様に、最終ページの印刷終了後にのみブザー40を鳴らす場合には、改ページコマンドC2の検出数が最終ページ数目を示すことを検出した場合にのみ、S6〜S7工程に進むようにするとよい。あるいは、印刷終了コマンドを検出した場合にS6〜S7工程に進むようにするとよい。
(Modification example)
(1) In the above embodiment, the page break command C2 for all pages is set as a trigger command for causing the buzzer 40 to sound, but only the page break command C2 for a specific number of pages is set as a trigger command. May be set. For example, only the page break command C2 every n pages (n: natural number) may be set as a trigger command. In this case, when the page break command C2 is detected, the control unit 10 accumulates the detected number and determines whether or not the detected number is a multiple of n. Only when the number is a multiple of n, processing for confirming the determination result of the presence / absence of the buzzer setting command B is performed (S6). In this way, the buzzer 40 can be sounded every n pages. Similarly, when the buzzer 40 is sounded only after the printing of the last page is completed, the process proceeds to steps S6 to S7 only when it is detected that the number of detected page break commands C2 indicates the number of the last page. Alternatively, when a print end command is detected, the process proceeds to steps S6 to S7.

(2)上記の実施の形態では、改ページコマンドC2をトリガコマンドとして設定していたが、印刷終了コマンドDをトリガコマンドとして設定してもよい。また、改ページコマンドC2と印刷終了コマンドDの両方をトリガコマンドとして設定してもよい。 (2) In the above embodiment, the page break command C2 is set as a trigger command, but the print end command D may be set as a trigger command. Further, both the page break command C2 and the print end command D may be set as trigger commands.

(3)ブザー40以外の報知手段を上記のブザー40と同様のコマンドにより作動させてもよい。例えば、プリンタ1本体に装備されたランプを点灯させるための条件や点灯方法を設定するランプ設定コマンド、プリンタ1の表示部に所定の表示を行うための条件や表示方法を設定する表示設定コマンド、などを、上記ブザー設定コマンドBと同様に印刷指令に含めても良い。 (3) Notification means other than the buzzer 40 may be operated by a command similar to that of the buzzer 40 described above. For example, a lamp setting command for setting a condition and a lighting method for lighting a lamp provided in the printer 1 body, a display setting command for setting a condition and a display method for performing a predetermined display on the display unit of the printer 1, May be included in the print command in the same manner as the buzzer setting command B.

(4)上記の実施の形態では、ブザー設定コマンドBを印刷指令における印刷制御コマンドCの直前のデータブロックに含めていたが、印刷制御コマンドCの前であればよく、この位置に限定されない。また、ブザー設定コマンドBを印刷データに含めず、印刷指令の送信前に印刷指令とは別々に送信してもよい。 (4) In the above embodiment, the buzzer setting command B is included in the data block immediately before the print control command C in the print command. However, the data block is not limited to this position as long as it is before the print control command C. Further, the buzzer setting command B may not be included in the print data but may be transmitted separately from the print command before the print command is transmitted.

(5)上記の実施の形態では、所定のコマンドをトリガコマンドとして設定していたが、所定の印刷データをトリガコマンドとして設定してもよい。例えば、レシートの最後の「円」などの文字の印刷を実行したときに、ブザー40を鳴動するようにしてもよい。 (5) In the above-described embodiment, a predetermined command is set as a trigger command. However, predetermined print data may be set as a trigger command. For example, the buzzer 40 may be sounded when a character such as the last “yen” of the receipt is printed.

1…プリンタ、2…ホスト装置、10…制御部、11…記憶部、20…印刷機構、30…通信部、40…ブザー、A…印刷設定コマンド、B…ブザー設定コマンド、C…印刷制御コマンド、C1…印刷データ、C2…改ページコマンド、D…印刷終了コマンド、S…プリンタシステム。   DESCRIPTION OF SYMBOLS 1 ... Printer, 2 ... Host apparatus, 10 ... Control part, 11 ... Memory | storage part, 20 ... Printing mechanism, 30 ... Communication part, 40 ... Buzzer, A ... Print setting command, B ... Buzzer setting command, C ... Print control command C1... Print data, C2 page break command, D .. print end command, S.

Claims (6)

ブザー付きのプリンタの制御方法であって、
前記プリンタに所定の印刷をするための印刷制御コマンドと、当該印刷制御コマンドの前に前記ブザーの鳴動を設定するためのブザー設定コマンドを配置したコマンド群とを含む一連の印刷指令を受信し、
前記コマンド群の中に前記ブザー設定コマンドが含まれているか否かを判別し、前記ブザー設定コマンドが含まれている場合には、当該ブザー設定コマンドによって指定された所定のコマンドを含む設定を記憶保持し、
前記印刷指令の中に前記所定のコマンドを検出すると、当該所定のコマンドに基づく処理を実行すると共に、前記ブザー設定コマンドの設定に基づいて前記ブザーを鳴動させ、
前記所定のコマンドは、前記印刷指令に含まれる、改ページ時の処理を指定する改ページコマンドを含むことを特徴とするプリンタの制御方法。
A method for controlling a printer with a buzzer,
Receiving a series of print commands including a print control command for performing predetermined printing on the printer, and a command group in which a buzzer setting command for setting the buzzer sound is set before the print control command ;
It is determined whether or not the buzzer setting command is included in the command group. If the buzzer setting command is included, a setting including a predetermined command designated by the buzzer setting command is stored. Hold and
When the predetermined command is detected in the print command, the processing based on the predetermined command is executed, and the buzzer is sounded based on the setting of the buzzer setting command ,
The printer control method according to claim 1, wherein the predetermined command includes a page break command that is included in the print command and designates a page break process.
請求項に記載のプリンタの制御方法であって、
前記所定のコマンドは、前記印刷指令に含まれる、印刷処理の終了後に実行する処理を指定する印刷終了コマンドを含ことを特徴とするプリンタの制御方法。
The printer control method according to claim 1 , comprising:
Wherein the predetermined command, the control method of the printer, wherein the print command included in the print end command including specifying the process to be executed after completion of the printing process.
請求項1または2に記載のプリンタの制御方法であって、
前記ブザー設定コマンドにより、前記ブザーの鳴動パターン、音量、周波数のうち少なくとも1つを指定することを特徴とするプリンタの制御方法。
A method for controlling a printer according to claim 1 , wherein:
A printer control method, wherein at least one of a ringing pattern, volume, and frequency of the buzzer is designated by the buzzer setting command.
ホスト装置から、ブザー付きのプリンタに対して、前記プリンタに所定の印刷をするための印刷制御コマンドと、当該印刷制御コマンドの前に前記ブザーの鳴動を設定するためのブザー設定コマンドを配置したコマンド群とを含む一連の印刷指令を送信し、
前記プリンタは、前記コマンド群の中に前記ブザー設定コマンドが含まれているか否かを判別し、前記ブザー設定コマンドが含まれている場合には、当該ブザー設定コマンドによって指定された所定のコマンドを含む設定を記憶保持し、
前記印刷指令の中に前記所定のコマンドを検出すると、当該所定のコマンドに基づく処理を実行すると共に、前記ブザー設定コマンドの設定に基づいて前記ブザーを鳴動させ
前記所定のコマンドは、前記印刷指令に含まれる、改ページ時の処理を指定する改ページコマンドを含むことを特徴とするプリンタシステムの制御方法。
A command in which a buzzer setting command for setting a buzzer sound is set before the print control command and a print control command for performing predetermined printing on the printer from a host device to a printer with a buzzer Send a series of print commands including groups ,
The printer determines whether or not the buzzer setting command is included in the command group. When the buzzer setting command is included , the printer determines a predetermined command specified by the buzzer setting command. Remember and keep settings including
When the predetermined command is detected in the print command, the processing based on the predetermined command is executed, and the buzzer is sounded based on the setting of the buzzer setting command ,
The control method for a printer system, wherein the predetermined command includes a page break command that is included in the print command and designates a page break process.
請求項に記載のプリンタシステムの制御方法であって、
前記所定のコマンドは、前記印刷指令に含まれる、印刷処理の終了後に実行する処理を指定する印刷終了コマンドを含ことを特徴とするプリンタシステムの制御方法。
A method for controlling a printer system according to claim 4 , comprising:
Wherein the predetermined command, the control method of a printer system, characterized the print command included in the print end command including specifying the process to be executed after completion of the printing process.
ブザーと、
当該ブザーの鳴動を制御する制御部と、を有し、
前記制御部は、請求項1ないしのいずれかの項に記載のプリンタの制御方法を実行することを特徴とするプリンタ。
Buzzer,
A control unit for controlling the ringing of the buzzer,
The printer and the control unit, characterized in that to execute a control method of the printer according to any one of claims 1 to 3.
JP2013056091A 2013-03-19 2013-03-19 Printer control method, printer system control method, and printer Expired - Fee Related JP5534074B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013056091A JP5534074B2 (en) 2013-03-19 2013-03-19 Printer control method, printer system control method, and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013056091A JP5534074B2 (en) 2013-03-19 2013-03-19 Printer control method, printer system control method, and printer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008063735A Division JP5228547B2 (en) 2008-03-13 2008-03-13 Printer control method, printer system control method, and printer

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014093437A Division JP5794349B2 (en) 2014-04-30 2014-04-30 Printer control method, printer system control method, and printer

Publications (2)

Publication Number Publication Date
JP2013173365A JP2013173365A (en) 2013-09-05
JP5534074B2 true JP5534074B2 (en) 2014-06-25

Family

ID=49266743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013056091A Expired - Fee Related JP5534074B2 (en) 2013-03-19 2013-03-19 Printer control method, printer system control method, and printer

Country Status (1)

Country Link
JP (1) JP5534074B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6142665U (en) * 1985-07-24 1986-03-19 富士通株式会社 automatic printing device
JPH0640128A (en) * 1992-07-22 1994-02-15 Oki Electric Ind Co Ltd Printer device
JPH07101109A (en) * 1993-09-30 1995-04-18 Canon Inc Printer and controller method therefor
JP2000244682A (en) * 1999-02-19 2000-09-08 Ricoh Co Ltd Image forming device
JP2001166904A (en) * 1999-12-07 2001-06-22 Seiko Epson Corp Printing device and its controlling method the same and information recording medium
JP2002331712A (en) * 2001-05-10 2002-11-19 Canon Inc Imaging apparatus and imaging system
JP2004188823A (en) * 2002-12-12 2004-07-08 Canon Inc Image forming device
JP2006023830A (en) * 2004-07-06 2006-01-26 Canon Inc Output completion notification system, output controller, control program and storage medium

Also Published As

Publication number Publication date
JP2013173365A (en) 2013-09-05

Similar Documents

Publication Publication Date Title
JP5228547B2 (en) Printer control method, printer system control method, and printer
JP5370058B2 (en) Recording medium conveyance control method and printer
JP5644091B2 (en) RECORDING CONTROL DEVICE, RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
JP5932377B2 (en) Recording system, information processing apparatus, recording control method, and recording apparatus
US9272544B2 (en) Control apparatus, control method, and storage medium
JP2007320134A (en) Printer and method for controlling printer
US20110032577A1 (en) Image recording apparatus and controlling method thereof
JP5794349B2 (en) Printer control method, printer system control method, and printer
JP5534074B2 (en) Printer control method, printer system control method, and printer
JP2008030270A (en) Printer, and controlling method for printer
JP5146126B2 (en) Printing apparatus, printing apparatus control method, and printing apparatus control program
JP2007293735A (en) Protection circuit, operation monitoring device, and electronic apparatus
JP2017071186A (en) Image forming apparatus, image forming method, and program
JP2016128215A (en) Printer and control method of the same
JP2731460B2 (en) Left and right edge position detection method for printer paper
JP2012091425A (en) Recording apparatus, control method and program of the recording apparatus
JP2016043642A (en) Printer, control method and program
JP2007106040A (en) Printer
JP2008044313A (en) Printer and printer control method
JP2020134968A (en) Print data generation device and printing system
JP5605407B2 (en) Printer and printer control method
JP2017056566A (en) Printer, control method and program of the same
JP2010030109A (en) Printing apparatus, method for controlling printing apparatus and controlling program
JP2008171273A (en) Printing system and controlling method of printing system
JP2019181845A (en) Recording device, printed data transmission device and control method

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140401

R150 Certificate of patent or registration of utility model

Ref document number: 5534074

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140414

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees