JP4545415B2 - Printer - Google Patents

Printer Download PDF

Info

Publication number
JP4545415B2
JP4545415B2 JP2003368479A JP2003368479A JP4545415B2 JP 4545415 B2 JP4545415 B2 JP 4545415B2 JP 2003368479 A JP2003368479 A JP 2003368479A JP 2003368479 A JP2003368479 A JP 2003368479A JP 4545415 B2 JP4545415 B2 JP 4545415B2
Authority
JP
Japan
Prior art keywords
negotiation
signal
host computer
printer
reset
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
JP2003368479A
Other languages
Japanese (ja)
Other versions
JP2005131852A (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.)
Sato Corp
Sato Holdings Corp
Original Assignee
Sato Corp
Sato Holdings 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 Sato Corp, Sato Holdings Corp filed Critical Sato Corp
Priority to JP2003368479A priority Critical patent/JP4545415B2/en
Publication of JP2005131852A publication Critical patent/JP2005131852A/en
Application granted granted Critical
Publication of JP4545415B2 publication Critical patent/JP4545415B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、一般的にプリンタに関し、特に、台紙に仮着されたラベルに印字を行うラベルプリンタに関する。   The present invention generally relates to a printer, and more particularly to a label printer that performs printing on a label temporarily attached to a mount.

一般的に、プリンタは、ホストコンピュータに接続されて、オンライン状態で使用される。オンライン状態のプリンタは、ホストコンピュータから送信されるコマンドや印字データ等のデータを受信すると、これに応じてコマンドや印字データを解析し、印字動作を開始する。   Generally, a printer is connected to a host computer and used in an online state. When the printer in the online state receives data such as a command and print data transmitted from the host computer, it analyzes the command and print data in response to this and starts a printing operation.

ところで、従来より、ホストコンピュータから送信されるデータをプリンタが受信するためのインタフェースとして、セントロニクス社の8ビットパラレルインタフェースが広く用いられている。しかし、近年においては、ホストコンピュータからプリンタにデータを送信するだけではなく、プリンタからホストコンピュータにデータを送信するためのインタフェースとして、双方向セントロニクス(IEEE1284規格Bi centronics、以下、「IEEE1284規格」という)が一般に普及しつつある。このIEEE1284規格には複数のモードが存在し、その内の1つに、ECP(extended capabilities port:拡張機能ポート)モードがある。このECPモードにおいては、8ビットのパラレルデータを、双方向で高速に送受信することが可能である。   By the way, an 8-bit parallel interface manufactured by Centronics has been widely used as an interface for a printer to receive data transmitted from a host computer. However, in recent years, as an interface for transmitting data from the host computer to the printer as well as from the printer to the host computer, bidirectional Centronics (IEEE 1284 standard Bicentrics, hereinafter referred to as “IEEE1284 standard”) is used. Is becoming more popular. There are a plurality of modes in the IEEE 1284 standard, and one of them is an ECP (extended capabilities port) mode. In this ECP mode, 8-bit parallel data can be transmitted and received in both directions at high speed.

IEEE1284規格においては、コマンドや印字データ等のデータの送受信に先立って、ホストコンピュータとプリンタとの間で、通信速度等の通信設定を相互に情報交換しながら決定するネゴシエーションが行われて、コンパチビリティモードから双方向モードへと移行する。   In the IEEE 1284 standard, prior to transmission / reception of data such as commands and print data, a negotiation is performed between the host computer and the printer to determine communication settings such as communication speed while exchanging information with each other. Transition from mode to bidirectional mode.

ネゴシエーションにおいては、まず、ホストコンピュータが、Selection信号をハイレベルとし、AutoFd信号をローレベルとする。次に、プリンタが、双方向モードをサポートしている場合には、Select信号、Fault信号、及び、PE信号をハイレベルとする。   In the negotiation, first, the host computer sets the Selection signal to high level and the AutoFd signal to low level. Next, when the printer supports the bidirectional mode, the Select signal, the Fault signal, and the PE signal are set to the high level.

ホストコンピュータは、これらの信号を確認した後、AutoFd信号をハイレベルとする。次に、プリンタは、これらの信号を確認した後、Fault信号及びPE信号をローレベルとする。また、プリンタは、拡張リンクをサポートしている場合には、Select信号をハイレベルとし、拡張リンクをサポートしていない場合には、Select信号をローレベルとして、ホストコンピュータに知らせる。さらに、プリンタは、Ack信号をハイレベルとして、コマンドや印字データの受信の準備を行う。   After confirming these signals, the host computer sets the AutoFd signal to the high level. Next, after confirming these signals, the printer sets the Fault signal and the PE signal to a low level. In addition, when the extended link is supported, the printer notifies the host computer that the Select signal is set to high level, and when the extended link is not supported, the Select signal is set to low level. Further, the printer sets the Ack signal to high level and prepares for reception of commands and print data.

しかしながら、ホストコンピュータは、電源が投入されて起動される際に、不定な信号を出力する場合がある。ホストコンピュータの電源が投入される前にプリンタの電源が投入されている場合には、プリンタは、ホストコンピュータの電源が投入された際に出力される不定な信号を正常に送信された信号と誤認することにより、ネゴシエーション状態に移行して、ホストコンピュータから送信される次の信号を待つためにフリーズ状態になってしまう。フリーズ状態を解除するためには、プリンタの電源を再投入しなければならず、大変煩雑であるという問題があった。   However, the host computer may output an indefinite signal when the power is turned on and activated. If the printer is turned on before the host computer is turned on, the printer misidentifies the indefinite signal that is output when the host computer is turned on as a normally transmitted signal. As a result, the state transits to the negotiation state and enters a freeze state in order to wait for the next signal transmitted from the host computer. In order to cancel the freeze state, the printer power must be turned on again, which is very complicated.

関連する技術として、下記の特許文献1には、情報処理装置の初期化時に、周辺機器のターミネーション制御を設けることにより、周辺機器が双方向モードである場合においても、確実に周辺機器を初期化することの可能な情報処理装置について述べられている。この情報処理装置によれば、プリンタのように使用頻度が高い周辺機器において、周辺機器の初期化の前にネゴシエーションを行うことにより、IEEE1284規格で通信可能な周辺機器の初期化トラブルを回避できる。しかしながら、この特許文献1においては、ターミネーションに起因する初期化トラブルについて述べられているが、ホストコンピュータの起動時に送信される不定な信号に起因する初期化トラブルについては述べられていない。また、初期化トラブルを回避するための情報処理装置については述べられているが、初期化トラブルを回避するためのプリンタについては述べられていない。
特開平10−222252号公報(第3頁、図3)
As a related technology, the following Patent Document 1 provides a peripheral device termination control at the time of initialization of an information processing device, thereby surely initializing a peripheral device even when the peripheral device is in a bidirectional mode. An information processing apparatus that can be used is described. According to this information processing apparatus, in a peripheral device such as a printer that is frequently used, it is possible to avoid the initialization trouble of the peripheral device that can communicate with the IEEE 1284 standard by performing the negotiation before the peripheral device is initialized. However, this Patent Document 1 describes an initialization trouble caused by termination, but does not describe an initialization trouble caused by an indefinite signal transmitted when the host computer is activated. Further, although an information processing apparatus for avoiding initialization trouble is described, a printer for avoiding initialization trouble is not described.
JP-A-10-222252 (page 3, FIG. 3)

そこで、上記の点に鑑み、本発明は、ホストコンピュータの起動時に不定な信号が出力される場合においても、電源の再投入を行う必要なくホストコンピュータとネゴシエーションを行うことができるプリンタを提供することを目的とする。   Accordingly, in view of the above points, the present invention provides a printer that can negotiate with a host computer without the need to turn on the power again even when an indefinite signal is output when the host computer starts up. With the goal.

上記課題を解決するため、本発明に係るラベルプリンタは、ホストコンピュータに接続されて、オンライン状態で使用されるラベルプリンタにおいて、
前記ホストコンピュータとの間でネゴシエーションを行った後に印字用のデータを受信するインタフェースと、前記インタフェースによるネゴシエーションが終了したか否かを判定する判定手段と、前記判定手段によってネゴシエーションが終了していないと判定された場合に、ネゴシエーションが開始されてから所定の期間経過後に前記インタフェースをリセットするリセット手段と、ネゴシエーションの終了後に前記ホストコンピュータから送信されるデータに基づいて印字動作を行う印字手段と、を具備し、前記リセット手段は、ネゴシエーションが開始されてから正常終了するために必要な時間よりも長く活性化される第1のパルス信号を出力する第1のパルス出力回路が、NE−STバー信号の立ち下がりに同期してNE−Lバー信号を活性化し、判定手段によってネゴシエーションが終了していないと判定された場合に、前記第1のパルス出力回路から出力される第1のパルス信号が非活性化されたときに活性化される第2のパルス信号を出力する第2のパルス出力回路と、を含み、前記インタフェースのみが、前記第2のパルス出力回路から出力される第2のパルス信号に基づいてリセットされることを特徴とする。また、前記リセット手段は、前記インタフェースをリセットするためのリセット信号を、前記判定手段にも供給する。
In order to solve the above problems, a label printer according to the present invention is connected to a host computer and used in an online state.
An interface that receives print data after negotiating with the host computer, a determination unit that determines whether or not the negotiation by the interface is completed, and the negotiation by the determination unit is not completed A reset unit that resets the interface after a predetermined period of time has elapsed since the start of negotiation, and a printing unit that performs a printing operation based on data transmitted from the host computer after the end of the negotiation. comprising, the reset means comprises a first pulse output circuit, NE-ST bar signal for outputting a first pulse signal longer activated than the time required to terminate normally from the start to negotiate NE-L bar in sync with the fall of The activated item, if the negotiation is determined not to be finished by the determination means, the activated when the first pulse signal output from the first pulse output circuit is deactivated And a second pulse output circuit that outputs a second pulse signal, wherein only the interface is reset based on a second pulse signal output from the second pulse output circuit. . The reset means also supplies a reset signal for resetting the interface to the determination means.

本発明によれば、ホストコンピュータの起動時に不定な信号が出力される場合においても、電源の再投入を行う必要なくホストコンピュータとネゴシエーションを行うことができる。   According to the present invention, even when an indefinite signal is output when the host computer is started up, it is possible to negotiate with the host computer without having to turn on the power again.

以下、本発明を実施するための最良の形態について、図面を参照しながら詳しく説明する。
図1は、本発明の一実施形態に係るプリンタの内部構造を示す図である。本実施形態においては、ラベルに印字するためのサーマルプリンタを例にとって説明する。
プリンタ10においては、印字媒体として、ラベル連続体13が用いられる。ラベル連続体13は、ラベル11を台紙12に剥離可能に仮着することにより構成されている。ラベル11は、サーマル紙であって、例えば、所定の温度で黒を発色する。
Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing an internal structure of a printer according to an embodiment of the present invention. In the present embodiment, a thermal printer for printing on a label will be described as an example.
In the printer 10, a continuous label body 13 is used as a print medium. The label continuous body 13 is configured by temporarily attaching the label 11 to the mount 12 so as to be peelable. The label 11 is thermal paper and, for example, colors black at a predetermined temperature.

図1に示すように、ラベル連続体13は、紙管に巻かれて、回転可能な供給軸14に装着されている。ステッピングモータ16がベルト17を介してプラテンローラ15を駆動することによって、ラベル連続体13が、図中の右方から左方へ向けて搬送される。ラベル連続体13の搬送は、センサ19の検出結果に基づいて制御され、サーマルヘッド18が、ラベル連続体13に含まれているラベル11に印字を行う。ここで、各部の動作は、制御部20によって制御される。   As shown in FIG. 1, the continuous label body 13 is wound around a paper tube and attached to a rotatable supply shaft 14. When the stepping motor 16 drives the platen roller 15 via the belt 17, the label continuous body 13 is conveyed from right to left in the drawing. The conveyance of the continuous label body 13 is controlled based on the detection result of the sensor 19, and the thermal head 18 prints on the label 11 included in the continuous label body 13. Here, the operation of each unit is controlled by the control unit 20.

図2は、本発明の一実施形態に係るプリンタの各部を制御する制御部の構成を示すブロック図である。制御部20のROM(read only memory)21には、プリンタの各部を制御するための制御プログラムが予め記憶されている。一方、RAM(random access memory)22には、印字データや設定データ等の各種のデータが一時的に記憶される。これらのデータは、ホストコンピュータ40から、IEEE1284規格の外部インタフェース27を介して供給される。なお、制御部20の各部は、電源部30から電力を供給されることによって動作する。   FIG. 2 is a block diagram illustrating a configuration of a control unit that controls each unit of the printer according to the embodiment of the present invention. A ROM (read only memory) 21 of the control unit 20 stores in advance a control program for controlling each unit of the printer. On the other hand, various data such as print data and setting data are temporarily stored in a RAM (random access memory) 22. These data are supplied from the host computer 40 via the external interface 27 of the IEEE1284 standard. Each unit of the control unit 20 operates when power is supplied from the power supply unit 30.

制御部20のCPU(central processing unit)23は、ROM21に記憶されている制御プログラムに従って、モータ制御部24やサーマルヘッド制御部25やセンサ制御部26を制御する。CPU23の制御の下、モータ制御部24が、ステッピングモータ16を動作させ、サーマルヘッド制御部25が、RAM22に記憶されている各種のデータに基づいてサーマルヘッド18を駆動し、センサ制御部26が、センサ19を動作させる。   A CPU (central processing unit) 23 of the control unit 20 controls the motor control unit 24, the thermal head control unit 25, and the sensor control unit 26 in accordance with a control program stored in the ROM 21. Under the control of the CPU 23, the motor control unit 24 operates the stepping motor 16, the thermal head control unit 25 drives the thermal head 18 based on various data stored in the RAM 22, and the sensor control unit 26 Then, the sensor 19 is operated.

ホストコンピュータ40から外部インタフェース27を介してデータを入力するために、外部インタフェース27は、プリンタ10の電源が投入された後に、ホストコンピュータ40との間でネゴシエーションを行う。本実施形態においては、ホストコンピュータ40の起動時に不定な信号が出力されることにより外部インタフェース27がフリーズ状態になってしまうことを回避するために、制御部20において、外部インタフェース27をリセットする強制リセット部28を設けている。   In order to input data from the host computer 40 via the external interface 27, the external interface 27 negotiates with the host computer 40 after the printer 10 is powered on. In the present embodiment, in order to prevent the external interface 27 from being frozen due to an indefinite signal being output when the host computer 40 is activated, the control unit 20 is forced to reset the external interface 27. A reset unit 28 is provided.

図3は、本実施形態に係るプリンタにおける強制リセット部の構成例を示す図である。図3に示す強制リセット部28において、パルス出力回路28aは、CPU23から出力されるCLRバー信号がハイレベルに非活性化されている場合に、CPU23から出力されるNE−STバー信号の立ち下がりエッジに同期して、NE−Lバー信号を一定期間ローレベルに活性化する。また、パルス出力回路28bは、CPU23から出力されるCLRバー信号がハイレベルに非活性化されている場合に、パルス出力回路28aから入力されるNE−Lバー信号の立ち上がりエッジに同期して、NE−RESバー信号を一定期間ローレベルに活性化する。   FIG. 3 is a diagram illustrating a configuration example of the forced reset unit in the printer according to the present embodiment. In the forced reset unit 28 shown in FIG. 3, the pulse output circuit 28a causes the falling edge of the NE-ST bar signal output from the CPU 23 when the CLR bar signal output from the CPU 23 is inactivated to a high level. In synchronization with the edge, the NE-L bar signal is activated to a low level for a certain period. The pulse output circuit 28b is synchronized with the rising edge of the NE-L bar signal input from the pulse output circuit 28a when the CLR bar signal output from the CPU 23 is inactivated to a high level. The NE-RES bar signal is activated to a low level for a certain period.

AND回路28cは、プリンタ10の電源が投入されている場合にハイレベルとなるRESETバー信号と、パルス出力回路28bから出力されるNE−RESバー信号とに基づいて、INTバー(RES)信号をローレベルに活性化する。なお、本実施形態においては、パルス出力回路28a及び28bとして、モノステーブル・マルチバイブレータを用いており、それぞれ所定のパルス幅を有するパルスを出力する。例えば、パルス出力回路28aは、1秒のパルス幅を有するパルスを出力する。   The AND circuit 28c generates an INT bar (RES) signal based on the RESET bar signal that is at a high level when the printer 10 is powered on and the NE-RES bar signal output from the pulse output circuit 28b. Activate to low level. In the present embodiment, monostable multivibrators are used as the pulse output circuits 28a and 28b, and each output a pulse having a predetermined pulse width. For example, the pulse output circuit 28a outputs a pulse having a pulse width of 1 second.

次に、図3〜図5を参照しながら、ネゴシエーションにおけるプリンタの各部の動作について説明する。図4は、本実施形態に係るプリンタのネゴシエーションにおける動作を示すフローチャートである。図5は、本実施形態に係るプリンタのネゴシエーションにおける各信号の波形を示すタイミングチャートである。なお、図5の(A)は、所定の期間内にネゴシエーションが終了していない場合のタイミングチャートであり、図5の(B)は、所定の期間内にネゴシエーションが終了している場合のタイミングチャートである。   Next, the operation of each part of the printer in the negotiation will be described with reference to FIGS. FIG. 4 is a flowchart illustrating an operation in printer negotiation according to the present embodiment. FIG. 5 is a timing chart showing waveforms of signals in the printer negotiation according to the present embodiment. 5A is a timing chart when the negotiation is not completed within a predetermined period, and FIG. 5B is a timing when the negotiation is completed within the predetermined period. It is a chart.

まず、ステップS1において、プリンタ10の電源を投入し、プリンタ10をスタンバイ状態とする。次に、ステップS2において、ホストコンピュータ40の電源を投入する。電源が投入されたホストコンピュータ40は、起動時に不定な信号を出力する。特に、ハイレベルのSelection信号とローレベルのAutoFd信号とが出力された場合には、プリンタ10が、ネゴシエーション状態に移行してしまう。   First, in step S1, the printer 10 is turned on to place the printer 10 in a standby state. Next, in step S2, the host computer 40 is powered on. The host computer 40 that is turned on outputs an indefinite signal at the time of startup. In particular, when a high-level Selection signal and a low-level AutoFd signal are output, the printer 10 shifts to a negotiation state.

ステップS3において、ホストコンピュータ40からハイレベルのSelection信号とローレベルのAutoFd信号とが送信された場合には、ステップS4において、外部インタフェース27が、ネゴシエーション状態に移行したと認識し、ネゴシエーション中であることを表すネゴシエーションフラグを状態レジスタに立てる。   In step S3, when a high-level Selection signal and a low-level AutoFd signal are transmitted from the host computer 40, in step S4, the external interface 27 recognizes that it has transitioned to the negotiation state and is in negotiation. A negotiation flag indicating that is set in the status register.

ステップS5において、CPU23が、ネゴシエーションのスタートを表すNE−STバー信号をローレベルに活性化する。ステップS6において、パルス出力回路28aが、NE−STバー信号の立ち下がりに同期して、NE−Lバー信号を1秒間ローレベルに活性化し、ローレベルのパルスを出力する。なお、NE−Lバー信号を活性化する期間は、少なくとも、ネゴシエーションを行うために必要な期間より長くする必要がある。   In step S5, the CPU 23 activates the NE-ST bar signal indicating the start of negotiation to a low level. In step S6, the pulse output circuit 28a activates the NE-L bar signal to low level for 1 second in synchronization with the falling edge of the NE-ST bar signal, and outputs a low level pulse. It should be noted that the period for activating the NE-L bar signal needs to be longer than at least the period necessary for performing the negotiation.

ステップS7において、NE−Lバー信号がローレベルに活性化されている間に、CPU23が、外部インタフェース27の状態レジスタにおいてネゴシエーションフラグの状態を検出することによって、所定の期間内にネゴシエーションが終了したか否かを判定する。ここで、所定の期間内にネゴシエーションが終了していない場合には、ステップS8に移行し、所定の期間内にネゴシエーションが終了した場合には、ステップS11に移行する。   In step S7, while the NE-L bar signal is activated to the low level, the CPU 23 detects the state of the negotiation flag in the state register of the external interface 27, so that the negotiation is completed within a predetermined period. It is determined whether or not. Here, when the negotiation is not completed within the predetermined period, the process proceeds to step S8, and when the negotiation is completed within the predetermined period, the process proceeds to step S11.

所定の期間内にネゴシエーションが終了していない場合には、ステップS8において、図5の(A)に示すように、パルス出力回路28bが、NE−Lバー信号の立ち上がりエッジに同期して、NE−RESバー信号をローレベルに活性化する。AND回路28cの一方の入力端子には、プリンタ10の電源が投入されたことによってハイレベルに非活性化されているRESETバー信号が入力されているので、NE−Lバー信号の立ち上がりよりも前の状態においてハイレベルに非活性化されていたINTバー(RES)信号が、NE−Lバー信号の立ち上がりエッジに同期して、ローレベルに活性化される。活性化されたINTバー(RES)信号は、外部インタフェース27のリセット端子(負論理)に入力されるので、ステップS9において、外部インタフェース27が強制的にリセットされる。   If the negotiation has not been completed within the predetermined period, in step S8, the pulse output circuit 28b is synchronized with the rising edge of the NE-L bar signal as shown in FIG. -The RES bar signal is activated to a low level. Since one of the input terminals of the AND circuit 28c receives a RESET bar signal that has been deactivated to a high level when the power of the printer 10 is turned on, before the rise of the NE-L bar signal. In this state, the INT bar (RES) signal that has been deactivated to the high level is activated to the low level in synchronization with the rising edge of the NE-L bar signal. Since the activated INT bar (RES) signal is input to the reset terminal (negative logic) of the external interface 27, the external interface 27 is forcibly reset in step S9.

また、INTバー(RES)信号は、CPU23の割り込みポート(負論理)にも入力されるので、ステップS10において、CPU23は、外部インタフェース27が強制的にリセットされたことを認識し、ネゴシエーションを再度行うように外部インタフェース27を制御する。   Further, since the INT bar (RES) signal is also input to the interrupt port (negative logic) of the CPU 23, in step S10, the CPU 23 recognizes that the external interface 27 has been forcibly reset and negotiates again. The external interface 27 is controlled to perform.

このように、パルス出力回路28aが、NE−STバー信号の立ち下がりに同期してNE−Lバー信号を所定の期間ローレベルに活性化し、その間に、CPU23が、ネゴシエーションが終了したか否かを判定することによって、所定の期間内にネゴシエーションが終了していない場合には、外部インタフェース27を強制的にリセットすることが可能である。   In this way, the pulse output circuit 28a activates the NE-L bar signal to a low level for a predetermined period in synchronization with the falling edge of the NE-ST bar signal, during which the CPU 23 determines whether or not the negotiation has ended. If the negotiation is not completed within a predetermined period, the external interface 27 can be forcibly reset.

一方、所定の期間内にネゴシエーションが終了した場合には、ステップS11において、図5の(B)に示すように、CPU23が、CLRバー信号をローレベルに活性化する。したがって、パルス出力回路28bは、NE−RESバー信号をハイレベルに維持する。AND回路28cの一方の入力端子には、プリンタ10の電源が投入されたことによってハイレベルに非活性化されているRESETバー信号が入力されているので、NE−Lバー信号の立ち上がりよりも前の状態においてハイレベルに非活性化されていたINTバー(RES)信号は、ハイレベルに維持される。したがって、外部インタフェース27は強制的にリセットされない。   On the other hand, when the negotiation is completed within a predetermined period, in step S11, as shown in FIG. 5B, the CPU 23 activates the CLR bar signal to a low level. Therefore, the pulse output circuit 28b maintains the NE-RES bar signal at a high level. Since one of the input terminals of the AND circuit 28c receives a RESET bar signal that has been deactivated to a high level when the power of the printer 10 is turned on, before the rise of the NE-L bar signal. The INT bar (RES) signal that has been deactivated to the high level in this state is maintained at the high level. Therefore, the external interface 27 is not forcibly reset.

本実施形態によれば、ホストコンピュータ40の電源を投入するよりも前にプリンタ10の電源を投入することによりホストコンピュータの起動時に不定な信号が出力される場合においても、正常にネゴシエーションを行うことができる。正常にネゴシエーションが行われると、ホストコンピュータ40と外部インタフェース27との間でデータを送受信することが可能となり、印字データや設定データ等の各種のデータが、ホストコンピュータ40からインタフェース27を介してCPU23に供給され、図2に示すRAM22に記憶される。RAM22に記憶された各種のデータに基づいて、CPU23が各部を制御することにより、ラベルの印字が行われる。   According to the present embodiment, even when an indefinite signal is output when the host computer is started by turning on the printer 10 before turning on the host computer 40, the negotiation can be performed normally. Can do. When the negotiation is normally performed, data can be transmitted and received between the host computer 40 and the external interface 27, and various data such as print data and setting data are transmitted from the host computer 40 via the interface 27 to the CPU 23. And stored in the RAM 22 shown in FIG. Based on various data stored in the RAM 22, the CPU 23 controls each unit to print a label.

本発明は、一般的なプリンタや、台紙に仮着されたラベルに印字を行うラベルプリンタにおいて利用することが可能である。   The present invention can be used in a general printer or a label printer that performs printing on a label temporarily attached to a mount.

本発明の一実施形態に係るプリンタの内部構造を示す図である。1 is a diagram illustrating an internal structure of a printer according to an embodiment of the present invention. 本発明の一実施形態に係るプリンタの各部を制御する制御部の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of a control unit that controls each unit of the printer according to the embodiment of the present invention. 本発明の一実施形態に係るプリンタにおける強制リセット部の構成例を示す図である。It is a figure which shows the structural example of the forced reset part in the printer which concerns on one Embodiment of this invention. 本発明の一実施形態に係るプリンタのネゴシエーションにおける動作を示すフローチャートである。4 is a flowchart illustrating an operation in printer negotiation according to an embodiment of the present invention. 本発明の一実施形態に係るプリンタのネゴシエーションにおける各信号の波形を示すタイミングチャートである。6 is a timing chart showing waveforms of signals in printer negotiation according to an embodiment of the present invention.

符号の説明Explanation of symbols

10 プリンタ
11 ラベル
12 台紙
13 ラベル連続体
14 供給軸
15 プラテンローラ
16 ステッピングモータ
17 ベルト
18 サーマルヘッド
19 センサ
20 制御部
21 ROM
22 RAM
23 CPU
24 モータ制御部
25 サーマルヘッド制御部
26 センサ制御部
27 外部インタフェース
28 強制リセット部
30 電源部
40 ホストコンピュータ
DESCRIPTION OF SYMBOLS 10 Printer 11 Label 12 Mount 13 Label continuous body 14 Supply shaft 15 Platen roller 16 Stepping motor 17 Belt 18 Thermal head 19 Sensor 20 Control part 21 ROM
22 RAM
23 CPU
24 motor control unit 25 thermal head control unit 26 sensor control unit 27 external interface 28 forced reset unit 30 power supply unit 40 host computer

Claims (2)

ホストコンピュータに接続されて、オンライン状態で使用されるラベルプリンタにおいて、
前記ホストコンピュータとの間でネゴシエーションを行った後に印字用のデータを受信するインタフェースと、前記インタフェースによるネゴシエーションが終了したか否かを判定する判定手段と、前記判定手段によってネゴシエーションが終了していないと判定された場合に、ネゴシエーションが開始されてから所定の期間経過後に前記インタフェースをリセットするリセット手段と、ネゴシエーションの終了後に前記ホストコンピュータから送信されるデータに基づいて印字動作を行う印字手段と、を具備し、前記リセット手段は、ネゴシエーションが開始されてから正常終了するために必要な時間よりも長く活性化される第1のパルス信号を出力する第1のパルス出力回路が、NE−STバー信号の立ち下がりに同期してNE−Lバー信号を活性化し、判定手段によってネゴシエーションが終了していないと判定された場合に、前記第1のパルス出力回路から出力される第1のパルス信号が非活性化されたときに活性化される第2のパルス信号を出力する第2のパルス出力回路と、を含み、前記インタフェースのみが、前記第2のパルス出力回路から出力される第2のパルス信号に基づいてリセットされることを特徴とするラベルプリンタ。
In a label printer connected to a host computer and used online,
An interface that receives print data after negotiating with the host computer, a determination unit that determines whether or not the negotiation by the interface is completed, and the negotiation by the determination unit is not completed A reset unit that resets the interface after a predetermined period of time has elapsed since the start of negotiation, and a printing unit that performs a printing operation based on data transmitted from the host computer after the end of the negotiation. comprising, the reset means comprises a first pulse output circuit, NE-ST bar signal for outputting a first pulse signal longer activated than the time required to terminate normally from the start to negotiate NE-L bar in sync with the fall of The activated item, if the negotiation is determined not to be finished by the determination means, the activated when the first pulse signal output from the first pulse output circuit is deactivated And a second pulse output circuit that outputs a second pulse signal, wherein only the interface is reset based on a second pulse signal output from the second pulse output circuit. Label printer.
前記リセット手段が、前記インタフェースをリセットするためのリセット信号を、前記判定手段にも供給する、請求項1記載のラベルプリンタ。 The label printer according to claim 1, wherein the reset unit also supplies a reset signal for resetting the interface to the determination unit.
JP2003368479A 2003-10-29 2003-10-29 Printer Expired - Fee Related JP4545415B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003368479A JP4545415B2 (en) 2003-10-29 2003-10-29 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003368479A JP4545415B2 (en) 2003-10-29 2003-10-29 Printer

Publications (2)

Publication Number Publication Date
JP2005131852A JP2005131852A (en) 2005-05-26
JP4545415B2 true JP4545415B2 (en) 2010-09-15

Family

ID=34646127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003368479A Expired - Fee Related JP4545415B2 (en) 2003-10-29 2003-10-29 Printer

Country Status (1)

Country Link
JP (1) JP4545415B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH077598A (en) * 1993-06-16 1995-01-10 Ricoh Co Ltd Facsimile equipment with printer
JPH10222252A (en) * 1997-02-05 1998-08-21 Canon Inc Information processor and method for initializing its peripheral equipment
JP2001005771A (en) * 1999-06-24 2001-01-12 Nec Eng Ltd Printer interface system, its controlling method and recording medium recording its control program
JP2003298614A (en) * 2002-03-29 2003-10-17 Kyushu Ando Denki Kk Line-connecting apparatus and communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH077598A (en) * 1993-06-16 1995-01-10 Ricoh Co Ltd Facsimile equipment with printer
JPH10222252A (en) * 1997-02-05 1998-08-21 Canon Inc Information processor and method for initializing its peripheral equipment
JP2001005771A (en) * 1999-06-24 2001-01-12 Nec Eng Ltd Printer interface system, its controlling method and recording medium recording its control program
JP2003298614A (en) * 2002-03-29 2003-10-17 Kyushu Ando Denki Kk Line-connecting apparatus and communication system

Also Published As

Publication number Publication date
JP2005131852A (en) 2005-05-26

Similar Documents

Publication Publication Date Title
JP5822634B2 (en) Recording apparatus and operation setting method thereof
US20060238796A1 (en) Image forming apparatus, control method, memory medium, and program
US9571673B2 (en) Image forming apparatus with controlled activation based on port number and control method thereof
US8817287B2 (en) Image forming apparatus, method for controlling the same, and storage medium
JP2007293729A (en) Control method for electronic equipment, control program for electronic equipment and electronic equipment
JP4545415B2 (en) Printer
US6499069B1 (en) Interface apparatus and method, and image output apparatus having interface apparatus
JP2002178610A (en) Controller of printer
JP4835323B2 (en) Information processing apparatus, printing apparatus, information processing method, and program
JP2017151752A (en) Image processing device, image processing system, image processing method and program
JP2006198794A (en) Power consumption control method of printer and printer
JP4018694B2 (en) Image processing apparatus, control method, and program
US8137015B2 (en) Image forming method for determining a position of an ink ribbon with a boundary line
JP2004034455A (en) Printer
JP3101963B2 (en) Power off state determination method for communication source device
JP2006198795A (en) Power consumption control method of printer and printer
JP6399279B2 (en) Communication device
JP2010094942A (en) Inkjet recording system and inkjet recording device
JP3761952B2 (en) Printing apparatus and printing control method
JPH10222445A (en) Method, system for bidirectional data communication and recording medium recording control program for performing bidirectional data communication
JP2007323363A (en) Printing system, printing apparatus, printing control method, program, and storage medium
JP3094734U (en) Printer
JPH10187373A (en) Print system and saving power mode notifying method in print system
JP2008171273A (en) Printing system and controlling method of printing system
JP2007055025A (en) Method for controlling electric power source for recording apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090928

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100405

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100524

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: 20100621

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100630

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4545415

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees