JP2011086310A - Output system, output device, control method of the output device and program - Google Patents

Output system, output device, control method of the output device and program Download PDF

Info

Publication number
JP2011086310A
JP2011086310A JP2011006681A JP2011006681A JP2011086310A JP 2011086310 A JP2011086310 A JP 2011086310A JP 2011006681 A JP2011006681 A JP 2011006681A JP 2011006681 A JP2011006681 A JP 2011006681A JP 2011086310 A JP2011086310 A JP 2011086310A
Authority
JP
Japan
Prior art keywords
set value
command
storage unit
output
stored
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.)
Granted
Application number
JP2011006681A
Other languages
Japanese (ja)
Other versions
JP4941596B2 (en
Inventor
Kazuko Fukano
和子 深野
Masayo Miyasaka
昌代 宮坂
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 JP2011006681A priority Critical patent/JP4941596B2/en
Publication of JP2011086310A publication Critical patent/JP2011086310A/en
Application granted granted Critical
Publication of JP4941596B2 publication Critical patent/JP4941596B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an output system, an output device, and a host device or the like. <P>SOLUTION: The host device 102 of the output system 101 transmits instruction data to the output devices 103, 104. Meanwhile the output devices 103, 104 each include: a setting value storage part 205 temporarily storing a setting value; and a nonvolatile storage part 206 nonvolatily storing the setting value. The output devices 103, 104 each receive the instruction data transmitted from the host device 102, each store the setting value into the setting value storage part 205 when the received instruction data are a setting value designation command for designating the setting value of the output device, each store the setting value stored in the setting value storage part 205 into the nonvolatile storage part 206 when the instruction data are a setting value save command, each store the setting value stored in the nonvolatile storage part 206 into the setting value storage part 205 when the instruction data are a setting value load command, and outputs a character or a figure in reference to the setting value stored in the setting value storage part 205 when the instruction data are an output command for designating the character or the figure to be output. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、出力システム、プリンタやカスタマディスプレイなどの出力装置、ホスト装置、これらの制御方法、および、これらを実現するプログラムを記録した情報記録媒体に関する。   The present invention relates to an output system, an output device such as a printer or a customer display, a host device, a control method thereof, and an information recording medium on which a program for realizing these is recorded.

プリンタやカスタマディスプレイなどの出力装置は、ホスト装置から送信される指令データにしたがって、文字や図形を印刷あるいは表示して、これらの情報をユーザに対して出力する。文字や図形の既定の大きさ、フォントの指定、行間の大きさ、言語(JISか、ASCIIか、など)などを指定する設定コマンドをホスト装置から出力装置に対して送信すると、指定された設定値にしたがって文字や図形が出力される。   An output device such as a printer or a customer display prints or displays characters and graphics in accordance with command data transmitted from the host device, and outputs these information to the user. When a setting command for specifying the default size of characters and graphics, font specification, line spacing, language (JIS, ASCII, etc.) is sent from the host device to the output device, the specified settings Characters and figures are output according to the values.

従来、このような出力装置では、上述のような各種の設定値をRAM(Random Access Memory)内の設定値記憶領域に記憶し、出力時には、RAMに記憶された設定値を参照して文字や図形を出力していた。また、出力装置の電源投入時には、プログラムに組み込まれた既定値や、ディップスイッチの状態などにより、RAM内の設定値記憶領域に記憶される設定値を初期化していた。   Conventionally, in such an output device, various setting values as described above are stored in a setting value storage area in a RAM (Random Access Memory), and at the time of output, characters and characters are referred to by referring to the setting values stored in the RAM. The figure was output. Also, when the output device is turned on, the set values stored in the set value storage area in the RAM are initialized according to the default values incorporated in the program and the state of the dip switches.

したがって、これらの設定値を電源投入時と異なる値に設定するためには、電源投入後からアプリケーション起動までの間、あるいはアプリケーションの起動時に、設定値を指定するコマンドを、ホスト装置から出力装置へ送信する必要があった。   Therefore, in order to set these setting values to values different from those at the time of power-on, a command for specifying the setting values is supplied from the host device to the output device between the time of power-on and the time of application startup, or at the time of application startup. There was a need to send.

また、アプリケーションには、その起動時の処理において、出力装置に初期化コマンドを送信した後に各種の設定コマンドを送信するものが多数ある。これは出力装置の設定値を一旦既定値に戻した後にアプリケーションに適した設定にするための一般的な方法である。この処理においては出力装置の設定値を変更するために大量のデータを送信していた。   Many applications also send various setting commands after sending an initialization command to the output device during the startup process. This is a general method for making the setting suitable for the application after once returning the setting value of the output device to the default value. In this process, a large amount of data is transmitted to change the setting value of the output device.

一方、特開平8−69362号公報には、電源遮断時に、RAMに記憶されている環境情報(設定値)を不揮発メモリに記憶し、電源投入時には、不揮発メモリから当該環境情報を読み出してRAMに記憶させる出力装置が開示されている。   On the other hand, in JP-A-8-69362, environmental information (setting values) stored in a RAM is stored in a nonvolatile memory when the power is turned off, and the environmental information is read from the nonvolatile memory and stored in the RAM when the power is turned on. An output device for storage is disclosed.

特開平8−69362号公報JP-A-8-69362

しかしながら、ホスト装置と出力装置の間の通信においては、その通信速度が遅いことが多いため、出力装置を所望の設定値を設定して初期化するために、大量のコマンドを送信するのでは、初期化に要する時間が長くなってしまう。このため、このような初期化を迅速に行うことができる出力システムの要望は強い。   However, in the communication between the host device and the output device, the communication speed is often slow. Therefore, in order to initialize the output device by setting a desired setting value, a large amount of commands are transmitted. The time required for initialization becomes longer. For this reason, the output system which can perform such initialization rapidly is strong.

特に、アプリケーションによっては、出力の1つのセッション(たとえば文書1つ分の印刷)ごとに出力装置に初期化コマンドを送信するものが多数あるが、初期化の後に送信するコマンドの量を削減できるような出力システムが望まれている。   In particular, there are many applications that send an initialization command to the output device for each output session (for example, printing for one document), but the amount of commands sent after initialization can be reduced. Output system is desired.

さらに、ホスト装置からの指令データの送信によって、出力装置の設定値の設定や変更が高速に容易にできるような出力システムが望まれている。   Furthermore, there is a demand for an output system that can easily set or change the set value of the output device at high speed by transmitting command data from the host device.

また、1台の出力装置を複数のアプリケーションが共有する出力システムにおいては、所望の設定値がアプリケーション毎に異なる場合があり、アプリケーション毎の設定が容易にできるような出力システムが望まれている。   Further, in an output system in which a plurality of applications share one output device, a desired setting value may be different for each application, and an output system that allows easy setting for each application is desired.

さらに、ホスト装置が予測しない状態で出力装置の電源が再投入されたような場合においても、出力装置の設定値が変化することなく保持されるような出力システムが望まれている。   Furthermore, there is a demand for an output system in which the setting value of the output device is maintained without change even when the power of the output device is turned on again without the host device predicting.

本発明は、上記のような課題を解決するためになされたもので、プリンタやカスタマディスプレイなどの出力装置の現在の設定値を容易にセーブ、および、ロードできる出力システム、当該出力装置、ホスト装置、これらの制御方法、および、これらを実現するプログラムを記録した情報記録媒体を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an output system that can easily save and load current setting values of an output device such as a printer or a customer display, the output device, and a host device An object of the present invention is to provide an information recording medium on which these control methods and a program for realizing them are recorded.

以上の目的を達成するため、本発明の原理にしたがって、下記の発明を開示する。   In order to achieve the above object, the following invention is disclosed in accordance with the principle of the present invention.

本発明の出力システムは、出力装置と、これに接続されるホスト装置と、を備えるように構成する。   The output system of the present invention is configured to include an output device and a host device connected to the output device.

ここで、ホスト装置は、出力装置に指令データを送信する。   Here, the host device transmits command data to the output device.

一方、出力装置は、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する不揮発性記憶部と、を備え、ホスト装置から送信された指令データを受信し、受信した指令データが出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を設定値記憶部に記憶し、受信した指令データが、設定値セーブコマンドである場合、設定値記憶部に記憶している設定値を不揮発性記憶部に記憶し、受信した指令データが、設定値ロードコマンドである場合、不揮発性記憶部に記憶している設定値を設定値記憶部に記憶し、受信した指令データが出力すべき文字または図形を指定する出力コマンドである場合、設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する。   On the other hand, the output device includes a setting value storage unit that temporarily stores setting values and a nonvolatile storage unit that stores setting values in a nonvolatile manner, and receives and receives command data transmitted from the host device. When the command data is a set value specifying command for specifying a set value for setting the output device, the set value is stored in the set value storage unit, and when the received command data is a set value save command, the set value is stored. The setting value stored in the storage unit is stored in the nonvolatile storage unit, and when the received command data is a setting value load command, the setting value stored in the nonvolatile storage unit is stored in the setting value storage unit. When the received command data is an output command for designating a character or graphic to be output, the character or graphic is output with reference to the set value stored in the set value storage unit.

また、本発明の出力システムの出力装置は、受信した指令データが、既定値ロードコマンドである場合、あらかじめ定めた既定値を設定値記憶部に記憶するように構成することができる。   The output device of the output system of the present invention can be configured to store a predetermined default value in the set value storage unit when the received command data is a default value load command.

また、本発明の出力システムの出力装置は、電源が投入された場合、もしくは、受信された指令データが初期化コマンドである場合、不揮発性記憶部に記憶された設定値を設定値記憶部に記憶するように構成することができる。   Further, the output device of the output system of the present invention, when the power is turned on, or when the received command data is an initialization command, the set value stored in the nonvolatile storage unit is stored in the set value storage unit. It can be configured to store.

また、本発明の出力システムの出力装置は、電源が投入された場合、不揮発性記憶部に設定値が記憶されているか否かを調べ、設定値が記憶されている場合、不揮発性記憶部に記憶された設定値を設定値記憶部に記憶するように構成することができる。   Further, the output device of the output system of the present invention checks whether or not the setting value is stored in the nonvolatile storage unit when the power is turned on, and if the setting value is stored, the output device in the nonvolatile storage unit. The stored setting value can be configured to be stored in the setting value storage unit.

本発明の出力システムは、出力装置と、これに接続されるホスト装置と、を備えるように構成する。   The output system of the present invention is configured to include an output device and a host device connected to the output device.

ここで、ホスト装置は、出力装置に指令データを送信する。   Here, the host device transmits command data to the output device.

一方、出力装置は、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部と、を備え、ホスト装置から送信された指令データを受信し、受信した指令データが出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を設定値記憶部に記憶し、受信した指令データが、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドである場合、設定値記憶部に記憶している設定値を当該領域に記憶し、受信した指令データが、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドである場合、当該領域に記憶している設定値を設定値記憶部に記憶し、受信した指令データが出力すべき文字または図形を指定する出力コマンドである場合、設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する。   On the other hand, the output device includes a set value storage unit that temporarily stores a set value and a non-volatile storage unit that includes a plurality of areas for storing the set value in a non-volatile manner, and receives command data transmitted from the host device. When the received command data is a set value specifying command for specifying a set value for setting the output device, the set value is stored in the set value storage unit, and the received command data is included in the nonvolatile storage unit In the case of a setting value save command that designates one of a plurality of areas, the setting value stored in the setting value storage unit is stored in the area, and the received command data is included in the nonvolatile storage unit. If the command is a setting value load command that specifies one of the areas, the setting value stored in that area is stored in the setting value storage unit, and the output command that specifies the character or figure to be output by the received command data. If a command to output the character or graphics refers to the setting value stored in the setting value storage unit.

また、本発明の出力システムのホスト装置は、出力装置に不揮発性記憶部に含まれる複数の領域のいずれかを指定した設定値情報読出コマンドを送信し、本発明の出力システムの出力装置は、受信した指令データが不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドである場合、当該領域に記憶している設定値情報を読み出し、読み出された設定値情報をホスト装置に送信し、ホスト装置は、出力装置から送信された設定値情報を受信し、受信した設定値情報が有効なものか否かを調べ、有効である場合、出力装置に当該領域を指定した設定値ロードコマンドを送信するように構成することができる。   Further, the host device of the output system of the present invention transmits a set value information read command designating any of a plurality of areas included in the nonvolatile storage unit to the output device, and the output device of the output system of the present invention includes: When the received command data is a set value information read command for designating any of a plurality of areas included in the nonvolatile storage unit, the set value information stored in the area is read and the read set value information To the host device, the host device receives the setting value information transmitted from the output device, checks whether the received setting value information is valid, and if it is valid, assigns the area to the output device. It can be configured to send a specified setpoint load command.

また、本発明の出力システムの出力装置は、受信した指令データが不揮発性記憶部に含まれる複数の領域のいずれかを指定する自動ロード設定コマンドである場合、当該領域を指定する情報を不揮発性記憶部に記憶し、電源が投入された場合、もしくは、受信した指令データが初期化コマンドである場合、不揮発性記憶部に記憶された情報により指定される領域に記憶している設定値を設定値記憶部に記憶するように構成することができる。   Further, when the received command data is an automatic load setting command that designates any of a plurality of areas included in the nonvolatile storage unit, the output device of the output system of the present invention stores information specifying the area in a nonvolatile manner. When the power is turned on or when the received command data is an initialization command, the setting value stored in the area specified by the information stored in the nonvolatile storage unit is set. It can comprise so that it may memorize | store in a value memory | storage part.

また、本発明の出力システムの出力装置は、文字または図形を印刷する印刷部をさらに備え、印刷部に文字または図形を印刷することにより、出力コマンドに指定された文字または図形を出力するように構成することができる。   The output device of the output system of the present invention further includes a printing unit that prints characters or figures, and outputs the characters or figures specified in the output command by printing the characters or figures on the printing unit. Can be configured.

また、本発明の出力システムの出力装置は、文字または図形を表示する表示部をさらに備え、表示部に文字または図形を表示することにより、出力コマンドに指定された文字または図形を出力するように構成することができる。   The output device of the output system of the present invention further includes a display unit for displaying characters or graphics, and displays the characters or graphics on the display unit so as to output the characters or graphics designated in the output command. Can be configured.

本発明の出力装置は、ホスト装置に接続される出力装置であって、設定値記憶部と、不揮発性記憶部と、受信部と、設定値指定制御部と、設定値セーブ制御部と、設定値ロード制御部と、出力部と、を備えるように構成する。   An output device of the present invention is an output device connected to a host device, and includes a setting value storage unit, a nonvolatile storage unit, a receiving unit, a setting value designation control unit, a setting value save control unit, and a setting A value load control unit and an output unit are provided.

ここで、設定値記憶部は、設定値を一時的に記憶する。   Here, the set value storage unit temporarily stores the set value.

不揮発性記憶部は、設定値を不揮発に記憶する。   The nonvolatile storage unit stores the setting value in a nonvolatile manner.

受信部は、ホスト装置から送信された指令データを受信する。   The receiving unit receives command data transmitted from the host device.

設定値指定制御部は、受信された指令データが出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を設定値記憶部に記憶する。   When the received command data is a setting value designation command that designates a setting value for setting the output device, the setting value designation control unit stores the setting value in the setting value storage unit.

設定値セーブ制御部は、受信された指令データが、設定値セーブコマンドである場合、設定値記憶部に記憶している設定値を不揮発性記憶部に記憶する。   When the received command data is a set value save command, the set value save control unit stores the set value stored in the set value storage unit in the non-volatile storage unit.

設定値ロード制御部は、受信された指令データが、設定値ロードコマンドである場合、不揮発性記憶部に記憶している設定値を設定値記憶部に記憶する。   When the received command data is a set value load command, the set value load control unit stores the set value stored in the nonvolatile storage unit in the set value storage unit.

出力部は、受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する。   When the received command data is an output command for designating a character or graphic to be output, the output unit refers to the setting value stored in the setting value storage unit and outputs the character or graphic.

また、本発明の出力装置は、既定値制御部をさらに備えるように構成することができる。   In addition, the output device of the present invention can be configured to further include a default value control unit.

ここで、既定値制御部は、受信された指令データが、既定値セーブコマンドである場合、あらかじめ定めた既定値を設定値記憶部に記憶する。   Here, when the received command data is a default value save command, the default value control unit stores a predetermined default value in the set value storage unit.

また、本発明の出力装置は、電源投入初期化時制御部をさらに備えるように構成することができる。   The output device of the present invention can be configured to further include a power-on initialization control unit.

ここで、電源投入初期化時制御部は、電源が投入された場合、もしくは、受信された指令データが初期化コマンドである場合、不揮発性記憶部に記憶している設定値を設定値記憶部に記憶する。   Here, when the power is turned on, when the power is turned on, or when the received command data is an initialization command, the control unit stores the setting value stored in the nonvolatile storage unit. To remember.

また、本発明の出力装置は、電源投入時制御部をさらに備えるように構成することができる。   The output device of the present invention can be configured to further include a power-on control unit.

ここで、電源投入時制御部は、電源が投入された場合、不揮発性記憶部に設定値が記憶されているか否かを調べ、設定値が記憶されている場合、不揮発性記憶部に記憶された設定値を設定値記憶部に記憶する。   Here, when the power is turned on, the power-on control unit checks whether or not the set value is stored in the non-volatile storage unit. If the set value is stored, it is stored in the non-volatile storage unit. The set value is stored in the set value storage unit.

本発明の出力装置は、ホスト装置に接続され、設定値記憶部と、不揮発性記憶部と、受信部と、設定値指定制御部と、設定値セーブ制御部と、設定値ロード制御部と、出力部と、を備えるように構成する。   An output device of the present invention is connected to a host device, and a setting value storage unit, a nonvolatile storage unit, a receiving unit, a setting value designation control unit, a setting value save control unit, a setting value load control unit, And an output unit.

ここで、設定値記憶部は、設定値を一時的に記憶する。   Here, the set value storage unit temporarily stores the set value.

不揮発性記憶部は、設定値を不揮発に記憶する複数の領域を含む。   The nonvolatile storage unit includes a plurality of areas for storing the setting values in a nonvolatile manner.

受信部は、ホスト装置から送信された指令データを受信する。   The receiving unit receives command data transmitted from the host device.

設定値指定制御部は、受信された指令データが出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を設定値記憶部に記憶する。   When the received command data is a setting value designation command that designates a setting value for setting the output device, the setting value designation control unit stores the setting value in the setting value storage unit.

設定値セーブ制御部は、受信された指令データが、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドである場合、設定値記憶部に記憶している設定値を当該領域に記憶する。   When the received command data is a set value save command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value save control unit stores the set value stored in the set value storage unit. Store in this area.

設定値ロード制御部は、受信された指令データが、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドである場合、当該領域に記憶している設定値を設定値記憶部に記憶する。   When the received command data is a setting value load command for designating one of a plurality of areas included in the nonvolatile storage unit, the setting value load control unit sets the setting value stored in the area as a setting value. Store in the storage unit.

出力部は、受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する。   When the received command data is an output command for designating a character or graphic to be output, the output unit refers to the setting value stored in the setting value storage unit and outputs the character or graphic.

また、本発明の出力装置は、設定値情報読出制御部と、送信部と、をさらに備えるように構成することができる。   Further, the output device of the present invention can be configured to further include a set value information read control unit and a transmission unit.

ここで、設定値情報読出制御部は、受信された指令データが不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドである場合、当該領域に記憶された設定値情報を読み出す。   Here, when the received command data is a set value information read command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value information read control unit stores the set value stored in the area. Read information.

送信部は、読み出された設定値情報をホスト装置に送信する。   The transmission unit transmits the read setting value information to the host device.

また、本発明の出力装置は、自動ロード設定制御部と、電源投入初期化時制御部と、をさらに備えるように構成することができる。   The output device of the present invention can be configured to further include an automatic load setting control unit and a power-on initialization control unit.

ここで、自動ロード設定制御部は、受信された指令データが不揮発性記憶部に含まれる複数の領域のいずれかを指定する自動ロード設定コマンドである場合、当該領域を指定する情報を不揮発性記憶部に記憶する。   Here, when the received command data is an automatic load setting command for designating any of a plurality of areas included in the nonvolatile storage unit, the automatic load setting control unit stores information for designating the area in a nonvolatile manner. Store in the department.

電源投入初期化時制御部は、電源が投入された場合、もしくは、受信された指令データが初期化コマンドである場合、不揮発性記憶部に記憶された情報により指定される領域に記憶している設定値を設定値記憶部に記憶する。   The power-on initialization control unit stores an area specified by information stored in the nonvolatile storage unit when the power is turned on or when the received command data is an initialization command. The set value is stored in the set value storage unit.

また、本発明の出力装置の出力部は、文字または図形を印刷する印刷部を備え、印刷部に文字または図形を印刷することにより、出力コマンドに指定された文字または図形を出力するように構成することができる。   The output unit of the output device of the present invention includes a printing unit that prints characters or graphics, and is configured to output the characters or graphics specified in the output command by printing the characters or graphics on the printing unit. can do.

また、本発明の出力装置の出力部は、文字または図形を表示する表示部を備え、表示部に文字または図形を表示することにより、出力コマンドに指定された文字または図形を出力するように構成することができる。   In addition, the output unit of the output device of the present invention includes a display unit that displays characters or graphics, and is configured to output the characters or graphics specified in the output command by displaying the characters or graphics on the display unit. can do.

本発明のホスト装置は、出力装置に接続され、設定値指定コマンド生成部と、設定値セーブコマンド生成部と、設定値ロードコマンド生成部と、出力コマンド生成部と、送信部と、を備えるように構成する。   The host device of the present invention is connected to the output device, and includes a set value designation command generation unit, a set value save command generation unit, a set value load command generation unit, an output command generation unit, and a transmission unit. Configure.

ここで、設定値指定コマンド生成部は、出力装置を設定する設定値指定コマンドを生成する。   Here, the set value specifying command generating unit generates a set value specifying command for setting the output device.

設定値セーブコマンド生成部は、設定値セーブコマンドを生成する。   The set value save command generation unit generates a set value save command.

設定値ロードコマンド生成部は、設定値ロードコマンドを生成する。   The set value load command generation unit generates a set value load command.

出力コマンド生成部は、出力装置に出力させる文字または図形を指定する出力コマンドを生成する。   The output command generation unit generates an output command for designating a character or graphic to be output from the output device.

送信部は、生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして出力装置に送信する。   The transmission unit transmits the generated set value designation command, set value save command, set value load command, and output command to the output device as command data.

本発明のホスト装置は、設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部を備える出力装置に接続され、設定値指定コマンド生成部と、設定値セーブコマンド生成部と、設定値ロードコマンド生成部と、出力コマンド生成部と、送信部と、を備えるように構成する。   The host device of the present invention is connected to an output device including a nonvolatile storage unit including a plurality of areas for storing setting values in a nonvolatile manner, and includes a setting value designation command generation unit, a setting value save command generation unit, and a setting value load. A command generation unit, an output command generation unit, and a transmission unit are provided.

設定値指定コマンド生成部は、出力装置を設定する設定値指定コマンドを生成する。   The set value specifying command generating unit generates a set value specifying command for setting the output device.

設定値セーブコマンド生成部は、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドを生成する。   The set value save command generation unit generates a set value save command for designating any of a plurality of areas included in the nonvolatile storage unit.

設定値ロードコマンド生成部は、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドを生成する。   The set value load command generation unit generates a set value load command for designating any of a plurality of areas included in the nonvolatile storage unit.

出力コマンド生成部は、出力装置に出力させる文字または図形を指定する出力コマンドを生成する。   The output command generation unit generates an output command for designating a character or graphic to be output from the output device.

送信部は、生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして出力装置に送信する。   The transmission unit transmits the generated set value designation command, set value save command, set value load command, and output command to the output device as command data.

また、本発明のホスト装置は、設定値情報読出コマンド生成部と、受信部と、セーブ領域制御部と、をさらに備えるように構成することができる。   In addition, the host device of the present invention can be configured to further include a set value information read command generation unit, a reception unit, and a save area control unit.

ここで、設定値情報読出コマンド生成部は、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドを生成する。   Here, the set value information read command generation unit generates a set value information read command for designating any of a plurality of areas included in the nonvolatile storage unit.

送信部は、生成された設定値情報読出コマンドをも指令データとして出力装置に送信する。   The transmission unit also transmits the generated set value information read command as command data to the output device.

受信部は、出力装置から送信される設定値情報を受信する。   The receiving unit receives setting value information transmitted from the output device.

セーブ領域制御部は、受信された設定値情報が有効なものか否かを調べ、有効である場合、当該領域を指定する設定値ロードコマンドを設定値ロードコマンド生成部に生成させる。   The save area control unit checks whether or not the received set value information is valid, and if it is valid, causes the set value load command generation unit to generate a set value load command for designating the area.

本発明の制御方法は、ホスト装置に接続され、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する不揮発性記憶部と、を備える出力装置を制御し、受信工程と、設定値指定工程と、設定値セーブ工程と、設定値ロード工程と、出力工程と、を備えるように構成する。   The control method of the present invention controls an output device that is connected to a host device and includes a set value storage unit that temporarily stores a set value and a non-volatile storage unit that stores the set value in a non-volatile manner. A setting value specifying step, a setting value saving step, a setting value loading step, and an output step.

ここで、受信工程では、ホスト装置から送信された指令データを受信する。   Here, in the receiving step, the command data transmitted from the host device is received.

設定値指定工程では、受信された指令データが出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を設定値記憶部に記憶する。   In the set value specifying step, when the received command data is a set value specifying command for specifying a set value for setting the output device, the set value is stored in the set value storage unit.

設定値セーブ工程では、受信された指令データが、設定値セーブコマンドである場合、設定値記憶部に記憶している設定値を不揮発性記憶部に記憶する。   In the set value saving step, when the received command data is a set value save command, the set value stored in the set value storage unit is stored in the non-volatile storage unit.

設定値ロード工程では、受信された指令データが、設定値ロードコマンドである場合、不揮発性記憶部に記憶している設定値を設定値記憶部に記憶する。   In the set value loading step, when the received command data is a set value load command, the set value stored in the nonvolatile storage unit is stored in the set value storage unit.

出力工程では、受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する。   In the output step, when the received command data is an output command for designating a character or graphic to be output, the character or graphic is output with reference to the setting value stored in the setting value storage unit.

また、本発明の制御方法は、既定値工程をさらに備えるように構成することができる。   In addition, the control method of the present invention can be configured to further include a default value step.

ここで、既定値工程では、受信された指令データが、既定値ロードコマンドである場合、あらかじめ定めた既定値を設定値記憶部に記憶する。   Here, in the default value process, when the received command data is a default value load command, a predetermined default value is stored in the set value storage unit.

また、本発明の制御方法は、電源投入初期化時工程をさらに備えるように構成することができる。   Further, the control method of the present invention can be configured to further include a power-on initialization process.

ここで、電源投入初期化時工程では、電源が投入された場合、もしくは、受信された指令データが初期化コマンドである場合、不揮発性記憶部に記憶された設定値を設定値記憶部に記憶する。   Here, in the power-on initialization process, when the power is turned on, or when the received command data is an initialization command, the setting value stored in the nonvolatile storage unit is stored in the setting value storage unit. To do.

また、本発明の制御方法は、電源投入時工程をさらに備えるように構成することができる。   In addition, the control method of the present invention can be configured to further include a power-on process.

ここで、電源投入時工程では、電源が投入された場合、不揮発性記憶部に設定値が記憶されているか否かを調べ、設定値が記憶されている場合、不揮発性記憶部に記憶された設定値を設定値記憶部に記憶する。   Here, in the power-on process, when the power is turned on, it is checked whether or not the setting value is stored in the nonvolatile storage unit. If the setting value is stored, the setting value is stored in the nonvolatile storage unit. The set value is stored in the set value storage unit.

本発明の制御方法は、ホスト装置に接続され、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部と、を備える出力装置を制御し、受信工程と、設定値指定工程と、設定値セーブ工程と、設定値ロード工程と、出力工程と、を備えるように構成する。   A control method of the present invention includes an output device that is connected to a host device and includes a setting value storage unit that temporarily stores setting values, and a non-volatile storage unit that includes a plurality of areas that store setting values in a nonvolatile manner. And a receiving step, a setting value designating step, a setting value saving step, a setting value loading step, and an output step.

ここで、受信工程では、ホスト装置から送信された指令データを受信する。   Here, in the receiving step, the command data transmitted from the host device is received.

設定値指定工程では、受信された指令データが出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を設定値記憶部に記憶する。   In the set value specifying step, when the received command data is a set value specifying command for specifying a set value for setting the output device, the set value is stored in the set value storage unit.

設定値セーブ工程では、受信された指令データが、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドである場合、設定値記憶部に記憶している設定値を当該領域に記憶する。   In the set value saving step, when the received command data is a set value save command for designating any of a plurality of areas included in the nonvolatile storage unit, the set value stored in the set value storage unit is Store in the area.

設定値ロード工程では、受信された指令データが、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドである場合、当該領域に記憶している設定値を設定値記憶部に記憶する。   In the set value loading step, when the received command data is a set value load command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value stored in the area is stored as a set value. Store in the department.

出力工程では、受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する。   In the output step, when the received command data is an output command for designating a character or graphic to be output, the character or graphic is output with reference to the setting value stored in the setting value storage unit.

また、本発明の制御方法は、設定値情報読出工程と、送信工程と、をさらに備えるように構成することができる。   The control method of the present invention can be configured to further include a set value information reading step and a transmission step.

ここで、設定値情報読出工程では、受信された指令データが不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドである場合、当該領域に記憶された設定値情報を読み出す。   Here, in the set value information reading step, when the received command data is a set value information read command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value information stored in the area Is read.

送信工程では、読み出された設定値情報をホスト装置に送信する。   In the transmission step, the read setting value information is transmitted to the host device.

また、本発明の制御方法は、自動ロード設定工程と、電源投入初期化時工程と、をさらに備えるように構成することができる。   The control method of the present invention can be configured to further include an automatic load setting process and a power-on initialization process.

ここで、自動ロード設定工程では、受信された指令データが不揮発性記憶部に含まれる複数の領域のいずれかを指定する自動ロード設定コマンドである場合、当該領域を指定する情報を不揮発性記憶部に記憶する。   Here, in the automatic load setting step, when the received command data is an automatic load setting command for specifying any of a plurality of areas included in the nonvolatile storage unit, information for specifying the area is stored in the nonvolatile storage unit. To remember.

電源投入初期化時工程では、電源が投入された場合、もしくは、受信された指令データが初期化コマンドである場合、不揮発性記憶部に記憶された情報により指定される領域に記憶している設定値を設定値記憶部に記憶する。   In the power-on initialization process, when the power is turned on, or when the received command data is an initialization command, the settings stored in the area specified by the information stored in the nonvolatile storage unit The value is stored in the set value storage unit.

また、本発明の制御方法において、出力装置は、文字または図形を印刷する印刷部をさらに備え、出力工程では、印刷部に文字または図形を印刷することにより、出力コマンドに指定された文字または図形を出力するように構成することができる。   In the control method of the present invention, the output device further includes a printing unit that prints characters or graphics, and in the output step, the characters or graphics specified in the output command are printed by printing the characters or graphics on the printing unit. Can be configured to output.

また、本発明の制御方法において、出力装置は、文字または図形を表示する表示部をさらに備え、出力工程では、表示部に文字または図形を表示することにより、出力コマンドに指定された文字または図形を出力するように構成することができる。   In the control method of the present invention, the output device further includes a display unit that displays characters or graphics, and in the output step, the characters or graphics designated in the output command are displayed by displaying the characters or graphics on the display unit. Can be configured to output.

本発明の制御方法は、出力装置に接続されるホスト装置を制御し、設定値指定コマンド生成工程と、設定値セーブコマンド生成工程と、設定値ロードコマンド生成工程と、出力コマンド生成工程と、送信工程と、を備えるように構成する。   The control method of the present invention controls a host device connected to an output device, and generates a set value designation command generation step, a set value save command generation step, a set value load command generation step, an output command generation step, and a transmission And a process.

ここで、設定値指定コマンド生成工程では、出力装置を設定する設定値指定コマンドを生成する。   Here, in the set value designation command generation step, a set value designation command for setting the output device is generated.

設定値セーブコマンド生成工程では、設定値セーブコマンドを生成する。   In the set value save command generation step, a set value save command is generated.

設定値ロードコマンド生成工程では、設定値ロードコマンドを生成する。   In the set value load command generation step, a set value load command is generated.

出力コマンド生成工程では、出力装置に出力させる文字または図形を指定する出力コマンドを生成する。   In the output command generation step, an output command for specifying a character or a figure to be output by the output device is generated.

送信工程では、生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして出力装置に送信する。   In the transmission step, the generated set value designation command, set value save command, set value load command, and output command are transmitted to the output device as command data.

本発明の制御方法は、設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部を備える出力装置に接続されるホスト装置を制御し、設定値指定コマンド生成工程と、設定値セーブコマンド生成工程と、設定値ロードコマンド生成工程と、出力コマンド生成工程と、送信工程と、を備えるように構成する。   The control method of the present invention controls a host device connected to an output device having a nonvolatile storage unit including a plurality of areas for storing setting values in a nonvolatile manner, and generates a setting value designation command generation step and a setting value save command generation A process, a set value load command generation process, an output command generation process, and a transmission process.

ここで、設定値指定コマンド生成工程では、出力装置を設定する設定値指定コマンドを生成する。   Here, in the set value designation command generation step, a set value designation command for setting the output device is generated.

設定値セーブコマンド生成工程では、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドを生成する。   In the set value save command generation step, a set value save command for designating one of a plurality of areas included in the nonvolatile storage unit is generated.

設定値ロードコマンド生成工程では、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドを生成する。   In the set value load command generation step, a set value load command for specifying any of a plurality of areas included in the nonvolatile storage unit is generated.

出力コマンド生成工程では、出力装置に出力させる文字または図形を指定する出力コマンドを生成する。   In the output command generation step, an output command for specifying a character or a figure to be output by the output device is generated.

送信工程では、生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして出力装置に送信する。   In the transmission step, the generated set value designation command, set value save command, set value load command, and output command are transmitted to the output device as command data.

また、本発明の制御方法は、設定値情報読出コマンド生成工程と、受信工程と、セーブ領域制御工程と、をさらに備えるように構成することができる。   Further, the control method of the present invention can be configured to further include a set value information read command generation step, a reception step, and a save area control step.

ここで、設定値情報読出コマンド生成工程では、不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドを生成する。   Here, in the set value information read command generation step, a set value information read command for designating any one of a plurality of areas included in the nonvolatile storage unit is generated.

送信工程では、生成された設定値情報読出コマンドをも指令データとして出力装置に送信する。   In the transmission step, the generated set value information read command is also transmitted to the output device as command data.

受信工程では、出力装置から送信される設定値情報を受信する。   In the receiving step, set value information transmitted from the output device is received.

セーブ領域制御工程では、受信された設定値情報が有効なものか否かを調べ、有効である場合、当該領域を指定する設定値ロードコマンドを設定値ロードコマンド生成工程に生成させる。   In the save area control step, it is checked whether or not the received set value information is valid, and if it is valid, a set value load command for designating the area is generated in the set value load command generation step.

本発明の出力システム、プリンタやカスタマディスプレイなどの出力装置、および、ホスト装置の機能を実現するプログラム、および、これらの制御方法にて実行される処理を実現するプログラムを、コンパクトディスク、フロッピーディスク(登録商標)、ハードディスク、光磁気ディスク、ディジタルビデオディスク、磁気テープ、半導体メモリなどの情報記録媒体に記録することができる。   An output system of the present invention, a program for realizing functions of an output device such as a printer or a customer display, and a host device, and a program for realizing processing executed by these control methods are stored in a compact disk, a floppy disk ( (Registered trademark), hard disk, magneto-optical disk, digital video disk, magnetic tape, semiconductor memory, and other information recording media.

本発明の情報記録媒体に記録されたプログラムを、プリンタやカスタマディスプレイなどの出力装置や、汎用コンピュータなどのホスト装置が備えるCPU(Central Processing Unit;中央処理ユニット)などの制御装置や周辺機器などで実行することにより、上記の出力システム、プリンタやカスタマディスプレイなどの出力装置、ホスト装置、および、これらの制御方法を実現することができる。   The program recorded on the information recording medium of the present invention is output to a control device such as a CPU (Central Processing Unit) provided in an output device such as a printer or a customer display, or a host device such as a general-purpose computer, or a peripheral device. When executed, the output system, the output device such as a printer or a customer display, the host device, and the control method thereof can be realized.

また、これらの装置とは独立して、本発明のプログラムを記録した情報記録媒体を配布、販売したり、ホスト装置から更新したりすることができる。   Independent of these apparatuses, an information recording medium on which the program of the present invention is recorded can be distributed and sold, or updated from a host apparatus.

本発明によれば、プリンタやカスタマディスプレイなどの出力装置の現在の設定値を容易にセーブ、およびロードできる出力システム、当該出力装置、ホスト装置、これらの制御方法、およびこれらを実現するプログラムを記録した情報記録媒体を提供することができる。   According to the present invention, an output system capable of easily saving and loading current setting values of an output device such as a printer or a customer display, the output device, a host device, a control method thereof, and a program for realizing them are recorded. An information recording medium can be provided.

本発明の出力システムの第1の実施形態の概要構成を示す模式図。The schematic diagram which shows the outline | summary structure of 1st Embodiment of the output system of this invention. 図1に示す出力システム101のプリンタ103の概要構成を示す模式図。FIG. 2 is a schematic diagram illustrating a schematic configuration of a printer 103 of the output system 101 illustrated in FIG. 1. 図1に示す出力システム101のカスタマディスプレイ104の概要構成を示す模式図。FIG. 2 is a schematic diagram showing a schematic configuration of a customer display 104 of the output system 101 shown in FIG. 1. 図1に示す出力システム101の出力装置(プリンタ103、カスタマディスプレイ104)で実行される処理の流れを示すフローチャート。2 is a flowchart showing the flow of processing executed by the output device (printer 103, customer display 104) of the output system 101 shown in FIG. 図1に示す出力システム101のホスト装置102の概要構成を示す模式図。FIG. 2 is a schematic diagram showing a schematic configuration of a host device 102 of the output system 101 shown in FIG. 1. 本発明の出力システムの第2の実施形態の出力装置にて実行される初期化時等処理の流れを示すフローチャート。The flowchart which shows the flow of processes at the time of initialization etc. which are performed with the output device of 2nd Embodiment of the output system of this invention. 本発明の出力システムの第2の実施形態の出力装置の不揮発性記憶部206の様子を示す模式図。The schematic diagram which shows the mode of the non-volatile memory | storage part 206 of the output device of 2nd Embodiment of the output system of this invention.

以下に本発明の一実施形態を説明する。なお、以下に説明する実施形態は説明のためのものであり、本発明の範囲を制限するものではない。したがって、当業者であればこれらの各要素もしくは全要素をこれと均等なものに置換した実施形態を採用することが可能であるが、これらの実施形態も本発明の範囲に含まれる。   An embodiment of the present invention will be described below. In addition, embodiment described below is for description and does not limit the scope of the present invention. Therefore, those skilled in the art can employ embodiments in which each or all of these elements are replaced with equivalent ones, and these embodiments are also included in the scope of the present invention.

(第1の実施形態)
図1は、本発明の出力システムの第1の実施形態の概要構成を示す模式図である。以下、本図を参照して説明する。
(First embodiment)
FIG. 1 is a schematic diagram showing a schematic configuration of a first embodiment of an output system of the present invention. Hereinafter, a description will be given with reference to FIG.

本実施例の出力システム101は、ホスト装置102と、プリンタ103と、カスタマディスプレイ104とを備える。プリンタ103と、カスタマディスプレイ104とは、同じ通信線105でバス結合的にホスト装置102と接続されている。ここで、プリンタ103とカスタマディスプレイ104とは、いずれも本発明の出力装置として機能する。   The output system 101 of this embodiment includes a host device 102, a printer 103, and a customer display 104. The printer 103 and the customer display 104 are connected to the host apparatus 102 by bus connection through the same communication line 105. Here, both the printer 103 and the customer display 104 function as the output device of the present invention.

ホスト装置102が、通信線105へ指令データを送信すると、通信線105を介して、当該指令データをプリンタ103と、カスタマディスプレイ104とが受信する。   When the host device 102 transmits command data to the communication line 105, the printer 103 and the customer display 104 receive the command data via the communication line 105.

プリンタ103とカスタマディスプレイ104には、重複しない機器番号が割り当てられ、機器選択コマンドによって、通信線105を介して受信した指令データが、自分自身を宛先とするものか否かが判断できる。ここで、機器選択コマンドとは、以降の指令データの対象となる機器の機器番号を指定するものである。なお、各種コマンドに、機器番号nに宛てて送信されたことを示すパラメータを設けることとしてもよい。   A unique device number is assigned to the printer 103 and the customer display 104, and it can be determined whether or not the command data received via the communication line 105 is addressed to itself by a device selection command. Here, the device selection command is to specify the device number of the device that is the target of subsequent command data. In addition, it is good also as providing the parameter which shows having transmitted to the apparatus number n in various commands.

このようにして、機器を選択してから、印刷もしくは表示すべき文字のASCIIコードを指定する指令データ(出力コマンド)を送信すれば、選択された機器に当該文字が印刷もしくは表示される。このほか、行間やフォントの選択、国別の設定など、各種の設定を送信することもできる。このような各種の設定の例を、以下に示す。
・文字の右スペース量の設定
・印字文字/表示文字の装飾(下線、強調、倒立 など)の指定/解除
・印字/表示モードの一括設定
・ダウンロード文字セットの指定/解除/定義/抹消
・改行量の設定
・水平タブ位置の設定
・印字文字種/表示文字種の指定
・国際文字の選択
・文字コードテーブルの選択
・ダウンロードビットイメージの定義
・マクロの定義
・左マージンの設定
・基本計算ピッチの設定
・自動ステータス送信の有効/無効
これらの設定事項は、パラメータを指定する指令データ(設定値指定コマンド)によって設定され、プリンタ103やカスタマディスプレイ104が備えるRAMに設定値が記憶される。これらの設定値は、文字や図形の印刷や表示の際に適宜参照される。また、プリンタ103とカスタマディスプレイ104の両方について設定可能なものと、いずれか一方についてのみ設定可能なものとがある。
In this manner, if command data (output command) specifying the ASCII code of the character to be printed or displayed is transmitted after the device is selected, the character is printed or displayed on the selected device. In addition, various settings such as line spacing, font selection, and country-specific settings can be transmitted. Examples of such various settings are shown below.
・ Setting of right space amount of characters ・ Designation / cancellation of print / display character decorations (underline, emphasis, inversion, etc.) ・ Batch setting of print / display mode ・ Designation / cancellation / definition / erasure / line feed of download character set Setting of amount, setting of horizontal tab position, specification of print character type / display character type, selection of international characters, selection of character code table, definition of download bit image, definition of macro, setting of left margin, setting of basic calculation pitch, Valid / invalid of automatic status transmission These setting items are set by command data (setting value specifying command) for specifying parameters, and setting values are stored in a RAM provided in the printer 103 or the customer display 104. These set values are appropriately referred to when printing or displaying characters or figures. Some of them can be set for both the printer 103 and the customer display 104, and some can be set for only one of them.

また、本実施形態においては、設定値のセーブ・ロードに関する指令データ(以下「カスタマイズコマンド」という。)は、以下のようなフォーマットを有する。ここで、0xは十六進数であることを示す接頭辞である。   In the present embodiment, the command data relating to saving / loading of setting values (hereinafter referred to as “customized command”) has the following format. Here, 0x is a prefix indicating that it is a hexadecimal number.

・「0x1d 0x28 0x4d 0x02 0x00 n m」:プリンタ103に対するパラメータn、mのコマンドを意味する指令データ。
・「0x1f 0x28 0x4d 0x02 0x00 n m」:カスタマディスプレイ104に対するパラメータn、mのコマンドを意味する指令データ。
“0x1d 0x28 0x4d 0x02 0x00 nm”: command data indicating commands of parameters n and m for the printer 103.
“0x1f 0x28 0x4d 0x02 0x00 nm”: command data indicating parameters n and m commands for the customer display 104.

パラメータnには機能コードを、パラメータmには領域番号をそれぞれ指定する。機能コードn=1は設定値セーブコマンドを意味し、機能コードn=2は設定値ロードコマンドを意味する。また領域番号m=0は工場出荷時の既定値を採用することを意味し、領域番号mが1以上の場合は当該番号にて示される領域を使用して設定値のセーブ又はロードを行うことを意味する。例えば、n=2、m=0の場合は、既定値をロードするコマンドを指定したことになる。   A function code is designated for parameter n, and an area number is designated for parameter m. The function code n = 1 means a set value save command, and the function code n = 2 means a set value load command. The area number m = 0 means that the factory default value is adopted. When the area number m is 1 or more, the setting value is saved or loaded using the area indicated by the number. Means. For example, when n = 2 and m = 0, a command for loading a default value is designated.

プリンタ103が、カスタマディスプレイ用のカスタマイズコマンド「0x1f 0x28 0x4d 0x02 0x00 n m」を受信した場合は、これをスキップして無視する。一方、カスタマディスプレイ104が、プリンタ用のカスタマイズコマンド「0x1d 0x28 0x4d 0x02 0x00 n m」を受信した場合は、これをスキップして無視する。   When the printer 103 receives the customization command “0x1f 0x28 0x4d 0x02 0x00 nm” for the customer display, it is skipped and ignored. On the other hand, when the customer display 104 receives the customization command “0x1d 0x28 0x4d 0x02 0x00 nm” for the printer, it is skipped and ignored.

また、プリンタ103やカスタマディスプレイ104の初期化は、以下に示す指令データ(初期化コマンド)にて指令する。   Also, initialization of the printer 103 and the customer display 104 is instructed by command data (initialization command) shown below.

・「0x1b 0x40」
このように、上述の指令データのフォーマットを構成することにより、共通の通信線105によりバス結合的に接続された2つの機器が、自身に宛てられた指令データを分別することができる。
・ "0x1b 0x40"
In this manner, by configuring the above-described command data format, two devices connected in a bus connection by the common communication line 105 can separate the command data addressed to themselves.

これらの指令データのフォーマットは、本実施形態以外の態様を採用することができ、これらの実施形態も本発明の範囲に含まれる。また、本実施形態は、プリンタ103とカスタマディスプレイ104との2つがホスト装置102に接続された態様であるが、いずれか一方のみがホスト装置102に接続された態様も本発明の範囲に含まれる。   A format other than the present embodiment can be adopted for the format of these command data, and these embodiments are also included in the scope of the present invention. Further, although the present embodiment is a mode in which the printer 103 and the customer display 104 are connected to the host device 102, a mode in which only one of them is connected to the host device 102 is also included in the scope of the present invention. .

(プリンタの概要構成)
図2は、図1に示す出力システム101のプリンタ103の概要構成を示す模式図である。なお、本図において、上述の図と同様の機能を果たす要素には同じ符号を付してある。以下、本図を参照して説明する。
(Outline configuration of printer)
FIG. 2 is a schematic diagram showing a schematic configuration of the printer 103 of the output system 101 shown in FIG. In the figure, elements having the same functions as those in the above figures are denoted by the same reference numerals. Hereinafter, a description will be given with reference to FIG.

プリンタ103の各部は、CPU 201が制御する。CPU 201が各部を制御するためのプログラムは、ROM 202に記憶されており、プリンタの電源投入時にCPU 201がこのプログラムを順次実行する。この際に、ディップスイッチ210の設定を読み出して、CPU 201は、プリンタの初期化処理を行う。   The CPU 201 controls each unit of the printer 103. A program for the CPU 201 to control each unit is stored in the ROM 202, and the CPU 201 sequentially executes the program when the printer is turned on. At this time, the setting of the dip switch 210 is read, and the CPU 201 performs printer initialization processing.

プリンタ103は、通信線105とインターフェース203を介して、ホスト装置との間で通信を行う。ホスト装置からの指令データを受信した場合、CPU 201に対して割り込みが発生し、割り込み処理が起動される。割り込み処理では、受信された指令データをRAM 204内の受信バッファ領域221に順次記憶して通常処理にリターンする。   The printer 103 communicates with the host device via the communication line 105 and the interface 203. When command data from the host device is received, an interrupt is generated for the CPU 201, and interrupt processing is started. In the interrupt process, the received command data is sequentially stored in the reception buffer area 221 in the RAM 204, and the process returns to the normal process.

CPU 201は、通常処理では、受信バッファ領域221に記憶された指令データを順次読み出して、その指令データがいかなるコマンドやデータであるかを判断し、その種類に応じて対応する処理を実行する。   In the normal process, the CPU 201 sequentially reads the command data stored in the reception buffer area 221, determines what command or data the command data is, and executes a process corresponding to the type.

実行する処理には、プリンタ103自体の設定を行うものと、文字や図形を印刷するものとがある。   Processing to be executed includes setting of the printer 103 itself and printing of characters and graphics.

プリンタ103自体の設定は、RAM 204内に用意された設定値記憶部205に記憶される。本発明では、この設定値記憶部205に記憶された設定値を、ホスト装置102から送信された指令データに従って、フラッシュEEPROM(Electrically Erasable Programmable ROM)などの不揮発性記憶部206に用意された領域220にセーブする。また、領域220に記憶されている設定値を、ホスト装置102から送信された指令データに従って、RAM 204にロードする。不揮発性記憶部206に用意された領域220の数は1個以上の任意の数とすることができる。本実施形態では、図に示すように、N個(N≧1)の領域が用意されている。   The settings of the printer 103 itself are stored in a setting value storage unit 205 prepared in the RAM 204. In the present invention, the setting value stored in the setting value storage unit 205 is stored in the area 220 prepared in the nonvolatile storage unit 206 such as a flash EEPROM (Electrically Erasable Programmable ROM) in accordance with the command data transmitted from the host device 102. To save. Further, the setting value stored in the area 220 is loaded into the RAM 204 in accordance with the command data transmitted from the host device 102. The number of areas 220 prepared in the nonvolatile storage unit 206 can be an arbitrary number of one or more. In the present embodiment, as shown in the figure, N (N ≧ 1) areas are prepared.

指令データが文字や図形を印刷する出力コマンドである場合は、ROM 202から読み出したり、当該文字のフォント情報や図形を表すビット情報を、RAM 204内に用意されたラインバッファ、もしくはページバッファ領域222に展開する。展開の際には、RAM 204内の設定値記憶部205に記憶された設定値を参照する。   When the command data is an output command for printing a character or graphic, the line buffer or page buffer area 222 prepared in the RAM 204 stores the font information and graphic information of the character read from the ROM 202. Expand to. When developing, the setting value stored in the setting value storage unit 205 in the RAM 204 is referred to.

バッファ領域222に展開された情報を、1行ごと、あるいは1ページごとに、出力部207が備える印刷部208を駆動して、紙やフィルムなどの印刷媒体に印刷する。   The information developed in the buffer area 222 is printed on a printing medium such as paper or film by driving the printing unit 208 included in the output unit 207 for each line or page.

(カスタマディスプレイの概要構成)
図3は、図1に示す出力システム101のカスタマディスプレイ104の概要構成を示す模式図である。なお、本図において、上述の図と同様の機能を果たす要素には同じ符号を付してある。以下、本図を参照して説明する。
(Outline configuration of customer display)
FIG. 3 is a schematic diagram showing a schematic configuration of the customer display 104 of the output system 101 shown in FIG. In the figure, elements having the same functions as those in the above figures are denoted by the same reference numerals. Hereinafter, a description will be given with reference to FIG.

本実施形態では、カスタマディスプレイ104の概要構成と、プリンタ103の概要構成とは、概ね同様である。プリンタ103と、カスタマディスプレイ104とは、文字や図形を印刷するか、それとも表示するかという出力手法が異なるが、いずれも出力装置である点でかわりがない。したがって、同様の部分については説明を省略する。   In this embodiment, the general configuration of the customer display 104 and the general configuration of the printer 103 are substantially the same. The printer 103 and the customer display 104 have different output methods for printing or displaying characters and graphics, but there is no difference in that both are output devices. Therefore, description of similar parts is omitted.

概要構成においては、出力部207の構成が異なり、ここに液晶ディスプレイやCRT(Cathode Ray Tube)などから構成される表示部209が用意されている。   In the general configuration, the configuration of the output unit 207 is different, and a display unit 209 configured by a liquid crystal display, a CRT (Cathode Ray Tube), or the like is prepared here.

RAM 204内には、ページバッファ領域222に相当するものとしてビデオRAM領域223が用意され、ここに表示すべき文字のフォント情報や図形のビットマップ情報が展開される。ビデオRAM領域223に展開された表示情報は、適切なタイミングで、たとえば垂直同期の割り込み処理やビデオRAM領域223の更新処理の実行時に、出力部207内の表示部209に転送され、文字や図形が表示される。   In the RAM 204, a video RAM area 223 corresponding to the page buffer area 222 is prepared, and font information of characters to be displayed and bitmap information of graphics are developed therein. The display information developed in the video RAM area 223 is transferred to the display unit 209 in the output unit 207 at an appropriate timing, for example, when executing the vertical synchronization interrupt process or the video RAM area 223 update process. Is displayed.

(出力装置の処理)
図4は、図1に示す出力システム101の出力装置、すなわちプリンタ103とカスタマディスプレイ104とで実行される出力処理の流れを示すフローチャートである。本処理は、上述したプリンタ103における通常処理に相当するものである。以下、本図を参照して説明する。
(Output device processing)
FIG. 4 is a flowchart showing a flow of output processing executed by the output device of the output system 101 shown in FIG. 1, that is, the printer 103 and the customer display 104. This process corresponds to the normal process in the printer 103 described above. Hereinafter, a description will be given with reference to FIG.

CPU 201は、指令データを受信しているか否か、すなわち、RAM 204内の受信バッファ領域221に指令データが記憶されているか否かを調べる(ステップS501)。受信バッファ領域221に指令データが記憶されていない場合(ステップS501;No)、待機して(ステップS502)、ステップS501に戻る。ステップS502の待機では、他の処理を実行することができる。例えば、待機の間に受信割り込みが発生すれば、受信バッファ領域221に指令データが記憶されることになる。   The CPU 201 checks whether or not the command data is received, that is, whether or not the command data is stored in the reception buffer area 221 in the RAM 204 (step S501). If command data is not stored in the reception buffer area 221 (step S501; No), the process waits (step S502) and returns to step S501. In the standby of step S502, other processing can be executed. For example, if a reception interrupt occurs during standby, the command data is stored in the reception buffer area 221.

一方、受信バッファ領域221に指令データが記憶されている場合(ステップS501;Yes)、当該指令データを読み出す(ステップS503)。受信バッファ領域221はリングバッファやキューとして構成されており、指令データを読み出すと、当該指令データは受信バッファ領域221から消去される。   On the other hand, when the command data is stored in the reception buffer area 221 (step S501; Yes), the command data is read (step S503). The reception buffer area 221 is configured as a ring buffer or a queue. When command data is read, the command data is deleted from the reception buffer area 221.

次に、読み出した指令データの種類を調べる(ステップS504)。当該指令データが、本出力装置以外の出力装置用のものである場合、もしくは、現在当該出力装置以外の出力装置が選択されている場合(ステップS504;他機器)、直ちにステップS501に戻る。たとえば、当該出力装置がプリンタ103である場合に、指令データがカスタマディスプレイ用のカスタマイズコマンド「0x1f 0x28 0x4d 0x02 0x00 n m」であった場合である。   Next, the type of the read command data is checked (step S504). If the command data is for an output device other than the output device, or if an output device other than the output device is currently selected (step S504; other device), the process immediately returns to step S501. For example, when the output device is the printer 103, the command data is a customization command “0x1f 0x28 0x4d 0x02 0x00 nm” for customer display.

当該指令データが設定値指定コマンドである場合(ステップS504;設定値指定)、RAM 204内の設定値記憶部205の当該コマンドに対応する領域に当該コマンドにより指定された設定値を記憶して(ステップS505)、ステップS501に戻る。たとえば、改行量の設定コマンドは、改行量を表わす設定値nをパラメータとして備え、当該設定値nを設定値記憶部205の改行量を記憶する領域に記憶する。   If the command data is a set value designation command (step S504; set value designation), the set value designated by the command is stored in an area corresponding to the command in the set value storage unit 205 in the RAM 204 ( Step S505) and the process returns to Step S501. For example, the line feed amount setting command includes a set value n representing the line feed amount as a parameter, and stores the set value n in an area for storing the line feed amount in the setting value storage unit 205.

当該指令データが、設定値セーブコマンドである場合(ステップS504;設定値セーブ)、RAM 204内の設定値記憶部205に記憶された設定値を不揮発性記憶部206に用意された領域220にコピーして記憶する(ステップS506)。   When the command data is a set value save command (step S504; save set value), the set value stored in the set value storage unit 205 in the RAM 204 is copied to the area 220 prepared in the nonvolatile storage unit 206. And stored (step S506).

たとえば、当該出力装置がプリンタ103である場合は、指令データ「0x1d 0x28 0x4d 0x02 0x00 n m」の機能コードnが1、パラメータmが1以上の値であった場合である。パラメータmは、上述のとおり不揮発性記憶部206に用意された領域220の番号を意味する。領域220が1つ用意されている場合は、m=1のみが有効な値であり、複数、たとえば9個用意されている場合は、m=1〜9が有効な値となる。   For example, when the output device is the printer 103, the function code n of the command data “0x1d 0x28 0x4d 0x02 0x00 nm” is 1 and the parameter m is 1 or more. The parameter m means the number of the area 220 prepared in the nonvolatile storage unit 206 as described above. When one area 220 is prepared, only m = 1 is an effective value, and when a plurality of, for example, nine are prepared, m = 1 to 9 is an effective value.

不揮発性記憶部206に用意された領域220のうち、m番目の領域220に、RAM 204内の設定値記憶部205に記憶された設定値を記憶する。なお、設定値記憶部205に、上述のセーブ/ロードができる設定値が連続して配置されている場合には、単に連続した領域をコピーするだけでよいが、そうでない場合は、セーブ/ロードできる設定値を記憶した領域を個々に選択してコピーする必要がある。   The setting value stored in the setting value storage unit 205 in the RAM 204 is stored in the m-th region 220 out of the region 220 prepared in the nonvolatile storage unit 206. If the set values that can be saved / loaded are continuously arranged in the set value storage unit 205, it is only necessary to copy the continuous area. If not, the save / load is saved. It is necessary to select and copy the areas that store the possible setting values individually.

mが有効な値でない場合は、適宜エラー処理を行うか、このコマンドを無視する。   If m is not a valid value, error processing is performed as appropriate or this command is ignored.

コピーが終了したら、ステップS501に戻る。   When copying is completed, the process returns to step S501.

当該指令データが、設定値ロードコマンドである場合(ステップS504;設定値ロード)、不揮発性記憶部206に用意された領域220に記憶された設定値を、RAM 204内の設定値記憶部205にコピーして記憶する(ステップS507)。   When the command data is a set value load command (step S504; load set value), the set value stored in the area 220 prepared in the nonvolatile storage unit 206 is stored in the set value storage unit 205 in the RAM 204. Copy and store (step S507).

たとえば、当該出力装置がプリンタ103である場合は、指令データ「0x1d 0x28 0x4d 0x02 0x00 n m」の機能コードnが2、パラメータmが1以上の値であった場合である。パラメータmは、不揮発性記憶部206に用意された領域220の番号を意味するのは、セーブの場合と同様である。   For example, when the output device is the printer 103, the function code n of the command data “0x1d 0x28 0x4d 0x02 0x00 nm” is 2 and the parameter m is 1 or more. The parameter m means the number of the area 220 prepared in the nonvolatile storage unit 206 as in the case of saving.

不揮発性記憶部206に用意された領域220のうち、m番目の領域220から、RAM 204内の設定値記憶部205に設定値をコピーして記憶する。設定値記憶部205へのコピーは、セーブの場合と対応づけて行う。   Of the area 220 prepared in the nonvolatile storage unit 206, the setting value is copied from the m-th area 220 and stored in the setting value storage unit 205 in the RAM 204. Copying to the set value storage unit 205 is performed in association with the case of saving.

なお、m=0の場合は、所定の既定値をロードする既定値ロードコマンドであると解釈され、当該既定値をRAM 204内の設定値記憶部205に記憶する。   When m = 0, it is interpreted as a default value load command for loading a predetermined default value, and the default value is stored in the set value storage unit 205 in the RAM 204.

mが有効な値でない場合は、適宜エラー処理を行うか、このコマンドを無視する。   If m is not a valid value, error processing is performed as appropriate or this command is ignored.

コピーが終了したら、ステップS501に戻る。   When copying is completed, the process returns to step S501.

当該指令データが、出力コマンドである場合(ステップS504;出力)、当該出力コマンドに合わせてRAM 204内のラインバッファ領域222、ページバッファ領域222、ビデオRAM領域223などに文字のフォント情報や図形のビットマップ情報を展開し、適宜出力部207を駆動し、印刷部208や表示部209により、文字や図形を出力して(ステップS508)、ステップS501に戻る。   When the command data is an output command (step S504; output), the font information and graphics of characters are stored in the line buffer area 222, page buffer area 222, video RAM area 223, etc. in the RAM 204 in accordance with the output command. The bitmap information is expanded, the output unit 207 is appropriately driven, characters and figures are output by the printing unit 208 and the display unit 209 (step S508), and the process returns to step S501.

これ以外のコマンドである場合(ステップS504;その他)、当該コマンドに対応する処理を実行して(ステップS509)、ステップS501に戻る。   If the command is other than this (step S504; other), the process corresponding to the command is executed (step S509), and the process returns to step S501.

(ホスト装置の実施形態)
図5は、図1に示す出力システム101のホスト装置102の概要構成を示す模式図である。なお、本図において、上述の図と同様の機能を果たす要素には同じ符号を付してある。以下、本図を参照して説明する。
(Host device embodiment)
FIG. 5 is a schematic diagram showing a schematic configuration of the host device 102 of the output system 101 shown in FIG. In the figure, elements having the same functions as those in the above figures are denoted by the same reference numerals. Hereinafter, a description will be given with reference to FIG.

ホスト装置102の各部は、CPU 601が制御する。CPU 601は、電源が投入されるとROM 602内に記憶されているIPL(Initial Program Loader)を読み出して実行する。IPLの実行の中で、CPU 601は、フロッピーディスク(登録商標)やハードディスクなどの外部記憶装置603に記憶されているオペレーティングシステムやアプリケーションのプログラムをRAM 604に読み出して、これを実行する。   Each unit of the host device 102 is controlled by the CPU 601. When the power is turned on, the CPU 601 reads and executes an IPL (Initial Program Loader) stored in the ROM 602. During the execution of IPL, the CPU 601 reads the operating system or application program stored in the external storage device 603 such as a floppy disk (registered trademark) or a hard disk into the RAM 604 and executes it.

CPU 601のオペレーティングシステムやアプリケーションのプログラムは、ユーザからの指令入力を受け付けるためのキーボードやマウス、他のコンピュータ機器からの遠隔操作インターフェースなどの入力装置605から得られた指示入力にしたがって、プリンタ103やカスタマディスプレイ104などの出力装置に送信すべき指令データを生成し、これを、インターフェース606および通信線105を介して、これらの出力装置に送信する。また、出力装置から送信される各種ステータス情報を、通信線105およびインターフェース606を介して受信することもできる。   The operating system of the CPU 601 and the application program are used for the printer 103 and the printer 103 according to the instruction input obtained from the input device 605 such as a keyboard and mouse for receiving a command input from the user, and a remote operation interface from other computer devices. Command data to be transmitted to an output device such as the customer display 104 is generated and transmitted to these output devices via the interface 606 and the communication line 105. Various status information transmitted from the output device can also be received via the communication line 105 and the interface 606.

ホスト装置102は、ユーザへ各種処理の結果などを報告するためのCRTや液晶ディスプレイなどの表示装置607を備えることができる。なお、当該表示装置607は、カスタマディスプレイ104などの出力装置で代用することができ、この場合、表示装置607は不要である。   The host device 102 can include a display device 607 such as a CRT or a liquid crystal display for reporting the results of various processes to the user. The display device 607 can be replaced by an output device such as the customer display 104. In this case, the display device 607 is not necessary.

ここで、CPU 601は、設定値指定コマンド生成部、設定値セーブコマンド生成部、出力コマンド生成部として機能し、インターフェース606は送信部として機能する。   Here, the CPU 601 functions as a set value designation command generation unit, a set value save command generation unit, and an output command generation unit, and the interface 606 functions as a transmission unit.

このように、出力システムの本実施形態により、現在の出力装置の各種設定値をホスト装置から個々に送信しなくてもひとつの指令によって適宜セーブ/ロードできるようになる。これにより、ホスト装置からの送信データ量が削減できるため設定値の転送処理の高速化が可能となる。さらには、大量のデータ通信中に起こりうる通信エラーの発生率が極めて低くなるため、信頼性の高い出力システムの構築が可能となる。   As described above, according to this embodiment of the output system, various setting values of the current output device can be appropriately saved / loaded by one command without individually transmitting from the host device. As a result, the amount of transmission data from the host device can be reduced, and the setting value transfer process can be speeded up. Furthermore, since the occurrence rate of communication errors that can occur during a large amount of data communication is extremely low, it is possible to construct a highly reliable output system.

(第2の実施形態)
本実施形態は、上記の実施形態と大部分は同様であるが、以下の点で異なる。すなわち、本実施形態では、電源投入時や初期化コマンドを受信した場合に、出力装置は、不揮発記憶部206のいずれかの領域220からRAM 204の設定値記憶部205へ設定値を自動的にコピーする点で相違する。
(Second Embodiment)
This embodiment is largely the same as the above embodiment, but differs in the following points. That is, in this embodiment, when the power is turned on or when an initialization command is received, the output device automatically sets the setting value from any area 220 of the nonvolatile storage unit 206 to the setting value storage unit 205 of the RAM 204. It differs in that it is copied.

本実施形態では、上記のほか、プリンタ103やカスタマディスプレイ104などの出力装置のCPU 201は、電源投入初期化時制御部、電源投入時制御部としても機能する。   In the present embodiment, in addition to the above, the CPU 201 of the output device such as the printer 103 or the customer display 104 also functions as a power-on initialization control unit and a power-on control unit.

プリンタ103や、カスタマディスプレイ104などの出力装置は、電源が投入されたとき、もしくは、上記図4のステップS504にて指令データを解釈した結果初期化コマンドであることが判明したときには、ROM 202内に記憶された初期化プログラムを実行する。この初期化プログラムには、電源投入時等処理を行うコード断片が含まれている。   When the output device such as the printer 103 or the customer display 104 is turned on or when it is determined that the command is an initialization command as a result of interpreting the command data in step S504 in FIG. The initialization program stored in is executed. This initialization program includes a code fragment that performs processing such as when the power is turned on.

図6は、電源投入時等処理の流れを示すフローチャートである。以下、図を参照して説明する。   FIG. 6 is a flowchart showing the flow of processing such as when the power is turned on. Hereinafter, a description will be given with reference to the drawings.

電源が投入され、あるいは、初期化コマンドが実行されるとメモリの初期化処理を起動する。本処理が起動されると、CPU 201は、まず、不揮発性記憶部206の所定の領域220に、設定値が記憶されているか否かを調べる(ステップS701)。   When the power is turned on or an initialization command is executed, a memory initialization process is started. When this process is started, the CPU 201 first checks whether or not a setting value is stored in a predetermined area 220 of the nonvolatile storage unit 206 (step S701).

例えば、不揮発性記憶部206がフラッシュEEPROMで構成されている場合、フラッシュEEPROMの各領域220は消去されると値が{0xff}に初期化されるので、この性質を用いてステップS701の判断を行うことができる。   For example, when the nonvolatile storage unit 206 is configured by a flash EEPROM, each area 220 of the flash EEPROM is initialized to {0xff} when it is erased. Therefore, the determination in step S701 is performed using this property. It can be carried out.

また、領域220内に設定値をセーブするたびに、当該領域220に対応する記憶領域に、設定値のチェックサムやCRC(Cyclic Redundancy Check)などの値を保存しておけば、さらに正確に、設定値が記憶されているか否かの判断ができる。   In addition, each time a setting value is saved in the area 220, if a value such as a checksum of a setting value or a CRC (Cyclic Redundancy Check) is stored in the storage area corresponding to the area 220, more accurately, It can be determined whether or not a set value is stored.

設定値が記憶されていない場合(ステップS701;No)、ROM 202に記憶されている工場出荷時の既定値、もしくは、ディップスイッチ210などの設定に基づいて、RAM 204の設定値記憶部205に既定の設定値を記憶し(ステップS702)、本処理を終了する。   When the set value is not stored (step S701; No), the factory default value stored in the ROM 202 or the setting of the dip switch 210 or the like is stored in the set value storage unit 205 of the RAM 204. The predetermined set value is stored (step S702), and this process is terminated.

一方、設定値が記憶されている場合(ステップS701;Yes)、不揮発性記憶部の当該領域220から、RAM 204の設定値記憶部205に設定値をコピーし(ステップS703)、本処理を終了する。   On the other hand, when the set value is stored (step S701; Yes), the set value is copied from the area 220 of the non-volatile storage unit to the set value storage unit 205 of the RAM 204 (step S703), and this process is terminated. To do.

このように、出力システムの本実施形態により、電源投入時などに指令データを送信しなくても出力装置の設定状態を既定値とすることができ、また、既定値とは異なるシステム固有の設定値に自動的に変更することができる。   As described above, according to the present embodiment of the output system, the setting state of the output device can be set to the default value without sending command data when the power is turned on, and the system-specific setting different from the default value is set. The value can be changed automatically.

さらに、既定値とは異なるシステム固有の設定値を指定している場合においては、ホスト装置が予測しない状態で出力装置の電源が再投入されたときでも、RAM内の設定値が既定値に戻ることなく、システム固有の設定値に自動的に復帰するため、安定した動作が可能な出力システムの構築が可能となる。   Further, when a system-specific setting value different from the default value is specified, the setting value in the RAM returns to the default value even when the power of the output device is turned on again without the host device predicting. Therefore, the system automatically returns to the setting value unique to the system, so that an output system capable of stable operation can be constructed.

なお、不揮発性記憶部206に用意された設定値記憶用の領域220が複数ある場合は、いずれの領域220を電源投入時等処理で利用するかを決定する必要がある。この決定には、たとえば、以下の手法が考えられる。
(1)常に先頭の領域220を用いる。
(2)先頭の領域220から順に、設定値が記憶されているか否かを調べ、記憶されていることが最初に判明した領域220を用いる。
(3)用いる領域220の領域番号を、あらかじめ不揮発性記憶部206の別の領域に設定記憶しておく。
When there are a plurality of setting value storage areas 220 prepared in the nonvolatile storage unit 206, it is necessary to determine which area 220 is used for processing such as when the power is turned on. For example, the following method can be considered for this determination.
(1) The head area 220 is always used.
(2) In order from the top area 220, it is checked whether or not the setting value is stored, and the area 220 that is first determined to be stored is used.
(3) The area number of the area 220 to be used is set and stored in another area of the nonvolatile storage unit 206 in advance.

第3の手法の場合には、電源投入時等処理で使用する領域220の領域番号を指定するコマンドを用意することができる。たとえば、当該出力装置がプリンタ103である場合は、指令データ「0x1d 0x28 0x4d 0x02 0x00 n m」において、n=3のときに、電源投入時等処理で使用する領域220の領域番号を指定するコマンドであるとすることができる。この場合、mは、使用する領域220の領域番号である。   In the case of the third method, it is possible to prepare a command for designating the area number of the area 220 used in processing such as when the power is turned on. For example, if the output device is the printer 103, the command data “0x1d 0x28 0x4d 0x02 0x00 nm” specifies the area number of the area 220 used in processing such as when the power is turned on when n = 3. It can be assumed that In this case, m is the area number of the area 220 to be used.

本実施形態では、図2および図3に示すように領域として1からNのN種類が指定可能である。なお、ホスト装置102からm=0が指定された場合は、記憶された領域番号が領域番号として有効なものではないことになる。この場合は、ステップS701において「所定の領域に設定値が記憶されていない」と判断され、工場出荷時の既定値を電源投入時からロードする。   In this embodiment, as shown in FIG. 2 and FIG. 3, N types of 1 to N can be designated as areas. When m = 0 is designated from the host apparatus 102, the stored area number is not valid as the area number. In this case, it is determined in step S701 that “the set value is not stored in the predetermined area”, and the factory default value is loaded from when the power is turned on.

(第3の実施形態)
本実施形態は、上記の実施形態と大部分は同様であるが、以下の点で異なる。すなわち、本実施形態では、出力装置にメモ機能を付加し、これを利用して各アプリケーションのアプリケーション名と、当該アプリケーション毎の設定値が保存されているか否かを判別する点で相違する。
(Third embodiment)
This embodiment is largely the same as the above embodiment, but differs in the following points. That is, the present embodiment is different in that a memo function is added to the output device and it is used to determine whether or not the application name of each application and the setting value for each application are stored.

本実施形態では、上記のほか、プリンタ103やカスタマディスプレイ104などの出力装置のCPU 201は、設定値情報読出制御部としても機能し、インターフェース203は、送信部としても機能する。また、ホスト装置102のCPU 601は、設定値情報読出コマンド生成部、セーブ領域制御部としても機能し、インターフェース606は、受信部としても機能する。   In the present embodiment, in addition to the above, the CPU 201 of the output device such as the printer 103 or the customer display 104 also functions as a set value information read control unit, and the interface 203 also functions as a transmission unit. The CPU 601 of the host device 102 also functions as a set value information read command generation unit and a save area control unit, and the interface 606 also functions as a reception unit.

本実施形態では、以下のようなメモコマンドを利用する。これは、プリンタ103やカスタマディスプレイ104などの出力装置の不揮発性記憶部206の各領域220に対応付けて、あるいは各領域220内に、アプリケーションなどの名前を記憶し、また、これを出力装置から読み出すものである。   In the present embodiment, the following memo command is used. This is associated with each area 220 of the non-volatile storage unit 206 of the output device such as the printer 103 or the customer display 104, or the name of an application or the like is stored in each area 220, and is also stored from the output device. It is to read.

「0x1d 0x28 0x4d PL PH n m d1...dk」において、n=4のときにプリンタ103の不揮発性記憶部206のm番目の領域220にアプリケーション名d1...dkを対応付けて記憶する。   In “0x1d 0x28 0x4d PL PH n m d1... Dk”, when n = 4, the application name d1... Dk is stored in association with the m-th area 220 of the nonvolatile storage unit 206 of the printer 103. .

「0x1d 0x28 0x4d 0x02 0x00 n m」においてn=5のときにプリンタ103の不揮発性記憶部206のm番目の領域220に対応付けられ記憶されたアプリケーション名をホスト装置102へ送信する。   When “n = 5” in “0x1d 0x28 0x4d 0x02 0x00 nm”, the application name stored in association with the mth area 220 of the nonvolatile storage unit 206 of the printer 103 is transmitted to the host device 102.

「0x1f 0x28 0x4d PL PH n m d1...dk」においてn=4のときにカスタマディスプレイ104の不揮発性記憶部206のm番目の領域220にアプリケーション名d1...dkを対応付けて記憶する。   When “n = 4” in “0x1f 0x28 0x4d PL PH n m d1... Dk”, the application name d1... Dk is stored in association with the m-th area 220 of the nonvolatile storage unit 206 of the customer display 104. .

「0x1f 0x28 0x4d 0x02 0x00 n m」においてn=5のときにカスタマディスプレイ104の不揮発性記憶部206のm番目の領域220に対応付けられ記憶されたアプリケーション名をホスト装置102へ送信する。   When “n = 5” in “0x1f 0x28 0x4d 0x02 0x00 nm”, the application name stored in association with the mth area 220 of the nonvolatile storage unit 206 of the customer display 104 is transmitted to the host device 102.

ここで、アプリケーション名d1...dkはkバイトであり、PL+PH×256=k+2が成立する。図7に、不揮発性記憶部206の各領域220と、当該領域に対応付けて、複数のアプリケーション名が記憶されている場合の様子を示す。   Here, the application name d1 ... dk is k bytes, and PL + PH × 256 = k + 2 holds. FIG. 7 shows each area 220 of the nonvolatile storage unit 206 and a state in which a plurality of application names are stored in association with the area.

アプリケーション名は、メモ領域224に記憶されている。本実施形態では、メモ領域224は、アプリケーション名を各要素に格納する配列として表現されており、領域220の数がN個のときは、メモ領域224の当該各要素の数もN個となる。本図では、1番目の領域220はワードプロセッサ用に割り当てられ、メモ領域224の1番目の要素には、その名前"Word Processor"が記憶されている。N番目の領域220はグラフィックエディタ用に割り当てられ、メモ領域224のN番目の要素には、その名前"Graphic Editor"が記憶されている。   The application name is stored in the memo area 224. In the present embodiment, the memo area 224 is expressed as an array that stores application names in each element. When the number of areas 220 is N, the number of each element in the memo area 224 is also N. . In the figure, the first area 220 is allocated for the word processor, and the name “Word Processor” is stored in the first element of the memo area 224. The Nth area 220 is allocated for the graphic editor, and the name “Graphic Editor” is stored in the Nth element of the memo area 224.

本実施形態では、設定値を記憶する領域220に加えメモ領域224を設けているが、領域220に記憶している設定値の一部をアプリケーション名としてさらに使用することもできる。   In the present embodiment, the memo area 224 is provided in addition to the area 220 for storing the setting value. However, a part of the setting value stored in the area 220 can be further used as the application name.

本実施形態により、不揮発性記憶部206に用意された設定値記憶用の各領域220ごとに設定値情報を記憶させることで、アプリケーションごと、あるいはセッション(たとえば文書1つ分のデータ出力)ごとに設定値を記憶することができ、アプリケーションまたはセッションの起動時に送信される初期化コマンドだけで容易にアプリケーションまたはセッションごとの出力装置環境を設定することができる。また、設定値セーブコマンドと共にメモコマンドにより設定値情報を指定しておけば、当該アプリケーション用の設定値が記憶されているか否かをホスト装置102が知得することができる。   According to the present embodiment, by storing setting value information for each setting value storage area 220 prepared in the nonvolatile storage unit 206, for each application or for each session (for example, data output for one document). The setting value can be stored, and the output device environment for each application or session can be easily set only by the initialization command transmitted when the application or session is started. Further, if the setting value information is designated by the memo command together with the setting value saving command, the host apparatus 102 can know whether or not the setting value for the application is stored.

101…出力システム、102…ホスト装置、103…プリンタ、104…カスタマディスプレイ、105…通信線、201…CPU、202…ROM、203…インターフェース、204…RAM、205…設定値記憶部、206…不揮発性記憶部、207…出力部、208…印刷部、209…表示部、210…ディップスイッチ、601…CPU、602…ROM、603…外部記憶装置、604…RAM、605…入力装置、606…インターフェース、607…表示装置。   DESCRIPTION OF SYMBOLS 101 ... Output system, 102 ... Host device, 103 ... Printer, 104 ... Customer display, 105 ... Communication line, 201 ... CPU, 202 ... ROM, 203 ... Interface, 204 ... RAM, 205 ... Setting value storage unit, 206 ... Non-volatile 207 ... output unit, 208 ... printing unit, 209 ... display unit, 210 ... dip switch, 601 ... CPU, 602 ... ROM, 603 ... external storage device, 604 ... RAM, 605 ... input device, 606 ... interface 607 ... Display device.

Claims (46)

出力装置と、これに接続されるホスト装置と、を備える出力システムであって、
(a)前記ホスト装置は、前記出力装置に指令データを送信し、
(b)前記出力装置は、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する不揮発性記憶部と、を備え、
前記ホスト装置から送信された指令データを受信し、
前記受信された指令データが前記出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を前記設定値記憶部に記憶し、
前記受信された指令データが、設定値セーブコマンドである場合、前記設定値記憶部に記憶された設定値を不揮発性記憶部に記憶し、
前記受信された指令データが、設定値ロードコマンドである場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶し、
前記受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、前記設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する
ことを特徴とする出力システム。
An output system comprising an output device and a host device connected to the output device,
(A) the host device transmits command data to the output device;
(B) The output device includes a set value storage unit that temporarily stores a set value, and a non-volatile storage unit that stores the set value in a nonvolatile manner.
Receiving command data transmitted from the host device;
When the received command data is a setting value designation command for designating a setting value for setting the output device, the setting value is stored in the setting value storage unit,
When the received command data is a set value save command, the set value stored in the set value storage unit is stored in a non-volatile storage unit,
If the received command data is a setting value load command, the setting value stored in the nonvolatile storage unit is stored in the setting value storage unit,
When the received command data is an output command for designating a character or graphic to be output, the character or graphic is output with reference to a setting value stored in the setting value storage unit system.
前記出力装置は、前記受信された指令データが、既定値ロードコマンドである場合、あらかじめ定めた既定値を前記設定値記憶部に記憶する
ことを特徴とする請求項1に記載の出力システム。
2. The output system according to claim 1, wherein, when the received command data is a default value load command, the output device stores a predetermined default value in the setting value storage unit. 3.
前記出力装置は、電源が投入された場合、もしくは、前記受信された指令データが初期化コマンドである場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する
ことを特徴とする請求項1に記載の出力システム。
The output device stores the setting value stored in the nonvolatile storage unit in the setting value storage unit when power is turned on or when the received command data is an initialization command. The output system according to claim 1, wherein:
前記出力装置は、電源が投入された場合、前記不揮発性記憶部に設定値が記憶されているか否かを調べ、
設定値が記憶されている場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する
ことを特徴とする請求項1に記載の出力システム。
When the power is turned on, the output device checks whether a set value is stored in the nonvolatile storage unit,
The output system according to claim 1, wherein when a set value is stored, the set value stored in the nonvolatile storage unit is stored in the set value storage unit.
出力装置と、これに接続されるホスト装置と、を備える出力システムであって、
(a)前記ホスト装置は、前記出力装置に指令データを送信し、
(b)前記出力装置は、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部と、を備え、
前記ホスト装置から送信された指令データを受信し、
前記受信された指令データが前記出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を前記設定値記憶部に記憶し、
前記受信された指令データが、前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドである場合、前記設定値記憶部に記憶された設定値を当該領域に記憶し、
前記受信された指令データが、前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドである場合、当該領域に記憶された設定値を前記設定値記憶部に記憶し、
前記受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、前記設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する
ことを特徴とする出力システム。
An output system comprising an output device and a host device connected to the output device,
(A) the host device transmits command data to the output device;
(B) The output device includes a set value storage unit that temporarily stores a set value, and a non-volatile storage unit that includes a plurality of areas that store the set value in a non-volatile manner.
Receiving command data transmitted from the host device;
When the received command data is a setting value designation command for designating a setting value for setting the output device, the setting value is stored in the setting value storage unit,
When the received command data is a set value save command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value stored in the set value storage unit is stored in the area. ,
When the received command data is a set value load command for designating any one of a plurality of areas included in the nonvolatile storage unit, the set value stored in the area is stored in the set value storage unit. ,
When the received command data is an output command for designating a character or graphic to be output, the character or graphic is output with reference to a setting value stored in the setting value storage unit system.
請求項5に記載の出力システムであって、
(c)前記ホスト装置は、前記出力装置に前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドを送信し、
(d)前記出力装置は、前記受信された指令データが前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドである場合、当該領域に記憶された設定値情報を読み出し、
前記読み出された設定値情報を前記ホスト装置に送信し、
(e)前記ホスト装置は、前記出力装置から送信された設定値情報を受信し、
前記受信された設定値情報が有効なものか否かを調べ、
有効である場合、前記出力装置に当該領域を指定する設定値ロードコマンドを送信する
ことを特徴とする出力システム。
The output system according to claim 5,
(C) The host device transmits a set value information read command for designating any of a plurality of areas included in the nonvolatile storage unit to the output device,
(D) When the received command data is a set value information read command designating any one of a plurality of areas included in the nonvolatile storage unit, the output device stores the set value information stored in the area. Read
Sending the read set value information to the host device;
(E) The host device receives setting value information transmitted from the output device;
Check whether the received set value information is valid,
When it is valid, a setting value load command for designating the area is transmitted to the output device.
前記出力装置は、
前記受信された指令データが前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する自動ロード設定コマンドである場合、当該領域を指定する情報を前記不揮発性記憶部に記憶し、
電源が投入された場合、もしくは、前記受信された指令データが初期化コマンドである場合、前記不揮発性記憶部に記憶された情報により指定される領域に記憶された設定値を前記設定値記憶部に記憶する
ことを特徴とする請求項5に記載の出力システム。
The output device is
When the received command data is an automatic load setting command that specifies any of a plurality of areas included in the nonvolatile storage unit, information specifying the area is stored in the nonvolatile storage unit,
When the power is turned on or when the received command data is an initialization command, the set value stored in the area specified by the information stored in the non-volatile storage The output system according to claim 5, wherein the output system is stored.
前記出力装置は、文字または図形を印刷する印刷部をさらに備え、
前記印刷部に文字または図形を印刷することにより、出力コマンドに指定された文字または図形を出力する
ことを特徴とする請求項1から7のいずれか1項に記載の出力システム。
The output device further includes a printing unit that prints characters or figures,
The output system according to any one of claims 1 to 7, wherein a character or a graphic designated by an output command is output by printing the character or the graphic on the printing unit.
前記出力装置は、文字または図形を表示する表示部をさらに備え、
前記表示部に文字または図形を表示することにより、出力コマンドに指定された文字または図形を出力する
ことを特徴とする請求項1から7のいずれか1項に記載の出力システム。
The output device further includes a display unit for displaying characters or figures,
The output system according to any one of claims 1 to 7, wherein a character or a graphic designated by an output command is output by displaying the character or the graphic on the display unit.
ホスト装置に接続される出力装置であって、
設定値を一時的に記憶する設定値記憶部と、
設定値を不揮発に記憶する不揮発性記憶部と、
前記ホスト装置から送信された指令データを受信する受信部と、
前記受信された指令データが前記出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を前記設定値記憶部に記憶する設定値指定制御部と、
前記受信された指令データが、設定値セーブコマンドである場合、前記設定値記憶部に記憶された設定値を不揮発性記憶部に記憶する設定値セーブ制御部と、
前記受信された指令データが、設定値ロードコマンドである場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する設定値ロード制御部と、
前記受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、前記設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する出力部と、
を備えることを特徴とする出力装置。
An output device connected to a host device,
A set value storage unit for temporarily storing set values;
A non-volatile storage unit that stores the set value in a non-volatile manner;
A receiving unit for receiving command data transmitted from the host device;
When the received command data is a setting value designation command that designates a setting value for setting the output device, a setting value designation control unit that stores the setting value in the setting value storage unit;
When the received command data is a set value save command, a set value save control unit that stores the set value stored in the set value storage unit in a nonvolatile storage unit;
When the received command data is a set value load command, a set value load control unit that stores the set value stored in the non-volatile storage unit in the set value storage unit;
When the received command data is an output command for designating a character or graphic to be output, an output unit that outputs the character or graphic with reference to a setting value stored in the setting value storage unit;
An output device comprising:
前記受信された指令データが、既定値ロードコマンドである場合、あらかじめ定めた既定値を前記設定値記憶部に記憶する既定値ロード制御部、
をさらに備えることを特徴とする請求項10に記載の出力装置。
When the received command data is a default value load command, a default value load control unit that stores a predetermined default value in the setting value storage unit,
The output device according to claim 10, further comprising:
電源が投入された場合、もしくは、前記受信された指令データが初期化コマンドである場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する電源投入初期化時制御部、
をさらに備えることを特徴とする請求項10に記載の出力装置。
When the power is turned on, or when the received command data is an initialization command, the power-on initialization control unit that stores the setting value stored in the nonvolatile storage unit in the setting value storage unit ,
The output device according to claim 10, further comprising:
電源が投入された場合、前記不揮発性記憶部に設定値が記憶されているか否かを調べ、設定値が記憶されている場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する電源投入時制御部、
をさらに備えることを特徴とする請求項10に記載の出力装置。
When the power is turned on, it is checked whether or not a setting value is stored in the nonvolatile storage unit. If a setting value is stored, the setting value stored in the nonvolatile storage unit is stored in the setting value storage. Power-on control unit stored in the unit,
The output device according to claim 10, further comprising:
ホスト装置に接続される出力装置であって、
設定値を一時的に記憶する設定値記憶部と、
設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部と、
前記ホスト装置から送信された指令データを受信する受信部と、
前記受信された指令データが前記出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を前記設定値記憶部に記憶する設定値指定制御部と、
前記受信された指令データが、前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドである場合、前記設定値記憶部に記憶された設定値を当該領域に記憶する設定値セーブ制御部と、
前記受信された指令データが、前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドである場合、当該領域に記憶された設定値を前記設定値記憶部に記憶する設定値ロード制御部と、
前記受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、前記設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する出力部と、
を備えることを特徴とする出力装置。
An output device connected to a host device,
A set value storage unit for temporarily storing set values;
A non-volatile storage unit including a plurality of areas for storing the set value in a non-volatile manner;
A receiving unit for receiving command data transmitted from the host device;
When the received command data is a setting value designation command that designates a setting value for setting the output device, a setting value designation control unit that stores the setting value in the setting value storage unit;
When the received command data is a set value save command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value stored in the set value storage unit is stored in the area. A set value save control unit;
When the received command data is a set value load command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value stored in the area is stored in the set value storage unit A set value load control unit;
When the received command data is an output command for designating a character or graphic to be output, an output unit that outputs the character or graphic with reference to a setting value stored in the setting value storage unit;
An output device comprising:
前記受信された指令データが前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドである場合、当該領域に記憶された設定値情報を読み出す設定値情報読出制御部と、
前記読み出された設定値情報を前記ホスト装置に送信する送信部と、
をさらに備えることを特徴とする請求項14に記載の出力装置。
When the received command data is a set value information read command designating any of a plurality of areas included in the non-volatile storage unit, a set value information read control unit that reads the set value information stored in the area When,
A transmission unit for transmitting the read setting value information to the host device;
The output device according to claim 14, further comprising:
前記受信された指令データが前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する自動ロード設定コマンドである場合、当該領域を指定する情報を前記不揮発性記憶部に記憶する自動ロード設定制御部と、
電源が投入された場合、もしくは、前記受信された指令データが初期化コマンドである場合、前記不揮発性記憶部に記憶された情報により指定される領域に記憶された設定値を前記設定値記憶部に記憶する電源投入初期化時制御部と、
をさらに備えることを特徴とする請求項14に記載の出力装置。
When the received command data is an automatic load setting command for designating any of a plurality of areas included in the nonvolatile storage unit, automatic load setting for storing information designating the area in the nonvolatile storage unit A control unit;
When the power is turned on, or when the received command data is an initialization command, the set value stored in the area specified by the information stored in the non-volatile storage is the set value storage A power-on initialization control unit stored in
The output device according to claim 14, further comprising:
前記出力部は、文字または図形を印刷する印刷部を備え、前記印刷部に文字または図形を印刷することにより、出力コマンドに指定された文字または図形を出力する
ことを特徴とする請求項10から16のいずれか1項に記載の出力装置。
The output unit includes a printing unit that prints characters or figures, and outputs the characters or figures specified in the output command by printing the characters or figures on the printing unit. The output device according to any one of 16.
前記出力部は、文字または図形を表示する表示部を備え、前記表示部に文字または図形を表示することにより、出力コマンドに指定された文字または図形を出力する
ことを特徴とする請求項10から16のいずれか1項に記載の出力装置。
11. The output unit includes a display unit that displays characters or figures, and outputs the characters or figures specified in the output command by displaying the characters or figures on the display unit. The output device according to any one of 16.
出力装置に接続されるホスト装置であって、
前記出力装置を設定する設定値指定コマンドを生成する設定値指定コマンド生成部と、
設定値セーブコマンドを生成する設定値セーブコマンド生成部と、
設定値ロードコマンドを生成する設定値ロードコマンド生成部と、
前記出力装置に出力させる文字または図形を指定する出力コマンドを生成する出力コマンド生成部と、
前記生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして前記出力装置に送信する送信部と、
を備えることを特徴とするホスト装置。
A host device connected to the output device,
A set value specifying command generating unit for generating a set value specifying command for setting the output device;
A set value save command generation unit for generating a set value save command;
A setting value load command generation unit for generating a setting value load command;
An output command generation unit for generating an output command for designating characters or graphics to be output to the output device;
A transmitter that transmits the generated set value designation command, set value save command, set value load command, and output command to the output device as command data;
A host device comprising:
設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部を備える出力装置に接続されるホスト装置であって、
前記出力装置を設定する設定値指定コマンドを生成する設定値指定コマンド生成部と、
前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドを生成する設定値セーブコマンド生成部と、
前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドを生成する設定値ロードコマンド生成部と、
前記出力装置に出力させる文字または図形を指定する出力コマンドを生成する出力コマンド生成部と、
前記生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして前記出力装置に送信する送信部と、
を備えることを特徴とするホスト装置。
A host device connected to an output device including a nonvolatile storage unit including a plurality of areas for storing a set value in a nonvolatile manner,
A set value specifying command generating unit for generating a set value specifying command for setting the output device;
A set value save command generation unit for generating a set value save command for designating any of a plurality of areas included in the nonvolatile storage unit;
A setting value load command generation unit that generates a setting value load command that specifies any of a plurality of areas included in the nonvolatile storage unit;
An output command generation unit for generating an output command for designating characters or graphics to be output to the output device;
A transmitter that transmits the generated set value designation command, set value save command, set value load command, and output command to the output device as command data;
A host device comprising:
前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドを生成する設定値情報読出コマンド生成部、
をさらに備え、
前記送信部は、前記生成された設定値情報読出コマンドをも指令データとして前記出力装置に送信し、
前記出力装置から送信される設定値情報を受信する受信部と、
前記受信された設定値情報が有効なものか否かを調べ、有効である場合、当該領域を指定する設定値ロードコマンドを前記設定値ロードコマンド生成部に生成させるロード領域制御部と、
をさらに備えることを特徴とする請求項20に記載のホスト装置。
A set value information read command generating unit for generating a set value information read command for designating any of a plurality of areas included in the nonvolatile storage unit;
Further comprising
The transmission unit transmits the generated set value information read command as command data to the output device,
A receiving unit for receiving setting value information transmitted from the output device;
Check whether the received setting value information is valid, and if it is valid, a load area control unit that causes the setting value load command generation unit to generate a setting value load command that specifies the area;
The host device according to claim 20, further comprising:
ホスト装置に接続され、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する不揮発性記憶部と、を備える出力装置を制御する制御方法であって、
前記ホスト装置から送信された指令データを受信する受信工程と、
前記受信された指令データが前記出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を前記設定値記憶部に記憶する設定値指定工程と、
前記受信された指令データが、設定値セーブコマンドである場合、前記設定値記憶部に記憶された設定値を不揮発性記憶部に記憶する設定値セーブ工程と、
前記受信された指令データが、設定値ロードコマンドである場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する設定値ロード工程と、
前記受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、前記設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する出力工程と、
を備えることを特徴とする出力装置の制御方法。
A control method for controlling an output device connected to a host device and comprising a set value storage unit for temporarily storing a set value and a non-volatile storage unit for storing the set value in a nonvolatile manner,
A receiving step of receiving command data transmitted from the host device;
When the received command data is a set value specifying command for specifying a set value for setting the output device, a set value specifying step for storing the set value in the set value storage unit;
When the received command data is a set value save command, a set value save step for storing the set value stored in the set value storage unit in a nonvolatile storage unit;
When the received command data is a set value load command, a set value load step of storing the set value stored in the nonvolatile storage unit in the set value storage unit;
When the received command data is an output command for designating a character or graphic to be output, an output step for outputting the character or graphic with reference to a setting value stored in the setting value storage unit;
An output device control method comprising:
前記受信された指令データが、既定値ロードコマンドである場合、あらかじめ定めた既定値を前記設定値記憶部に記憶する既定値ロード工程、
をさらに備えることを特徴とする請求項22に記載の出力装置の制御方法。
When the received command data is a default value load command, a default value loading step of storing a predetermined default value in the setting value storage unit,
The output device control method according to claim 22, further comprising:
電源が投入された場合、もしくは、前記受信された指令データが初期化コマンドである場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する電源投入初期化時工程、
をさらに備えることを特徴とする請求項22に記載の出力装置の制御方法。
When the power is turned on, or when the received command data is an initialization command, a power-on initialization step of storing the setting value stored in the nonvolatile storage unit in the setting value storage unit,
The output device control method according to claim 22, further comprising:
電源が投入された場合、前記不揮発性記憶部に設定値が記憶されているか否かを調べ、設定値が記憶されている場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する電源投入時工程、
をさらに備えることを特徴とする請求項22に記載の出力装置の制御方法。
When the power is turned on, it is checked whether or not a setting value is stored in the nonvolatile storage unit. If a setting value is stored, the setting value stored in the nonvolatile storage unit is stored in the setting value storage. Power-on process stored in the department,
The output device control method according to claim 22, further comprising:
ホスト装置に接続され、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部と、を備える出力装置を制御する制御方法であって、
前記ホスト装置から送信された指令データを受信する受信工程と、
前記受信された指令データが前記出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を前記設定値記憶部に記憶する設定値指定工程と、
前記受信された指令データが、前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドである場合、前記設定値記憶部に記憶された設定値を当該領域に記憶する設定値セーブ工程と、
前記受信された指令データが、前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドである場合、当該領域に記憶された設定値を前記設定値記憶部に記憶する設定値ロード工程と、
前記受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、前記設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する出力工程と、
を備えることを特徴とする出力装置の制御方法。
A control method for controlling an output device that is connected to a host device and includes a setting value storage unit that temporarily stores setting values and a nonvolatile storage unit that includes a plurality of areas for storing setting values in a nonvolatile manner. ,
A receiving step of receiving command data transmitted from the host device;
When the received command data is a set value specifying command for specifying a set value for setting the output device, a set value specifying step for storing the set value in the set value storage unit;
When the received command data is a set value save command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value stored in the set value storage unit is stored in the area. Setting value saving process,
When the received command data is a set value load command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value stored in the area is stored in the set value storage unit Setting value loading process;
When the received command data is an output command for designating a character or graphic to be output, an output step for outputting the character or graphic with reference to a setting value stored in the setting value storage unit;
An output device control method comprising:
前記受信された指令データが前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドである場合、当該領域に記憶された設定値情報を読み出す設定値情報読出工程と、
前記読み出された設定値情報を前記ホスト装置に送信する送信工程と、
をさらに備えることを特徴とする請求項26に記載の出力装置の制御方法。
When the received command data is a set value information read command for designating one of a plurality of areas included in the nonvolatile storage unit, a set value information read step for reading set value information stored in the area; ,
A transmission step of transmitting the read set value information to the host device;
The output device control method according to claim 26, further comprising:
前記受信された指令データが前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する自動ロード設定コマンドである場合、当該領域を指定する情報を前記不揮発性記憶部に記憶する自動ロード設定工程と、
電源が投入された場合、もしくは、前記受信された指令データが初期化コマンドである場合、前記不揮発性記憶部に記憶された情報により指定される領域に記憶された設定値を前記設定値記憶部に記憶する電源投入初期化時工程と、
をさらに備えることを特徴とする請求項26に記載の出力装置の制御方法。
When the received command data is an automatic load setting command for designating any of a plurality of areas included in the nonvolatile storage unit, automatic load setting for storing information designating the area in the nonvolatile storage unit Process,
When the power is turned on, or when the received command data is an initialization command, the set value stored in the area specified by the information stored in the non-volatile storage is the set value storage Power-on initialization process stored in
The output device control method according to claim 26, further comprising:
前記出力装置は、文字または図形を印刷する印刷部をさらに備え、前記出力工程では、前記印刷部に文字または図形を印刷することにより、出力コマンドに指定された文字または図形を出力する
ことを特徴とする請求項22から28のいずれか1項に記載の出力装置の制御方法。
The output device further includes a printing unit that prints characters or figures, and in the output step, the characters or figures specified in the output command are output by printing the characters or figures on the printing unit. The method for controlling an output device according to any one of claims 22 to 28.
前記出力装置は、文字または図形を表示する表示部をさらに備え、前記出力工程では、前記表示部に文字または図形を表示することにより、出力コマンドに指定された文字または図形を出力する
ことを特徴とする請求項22から28のいずれか1項に記載の出力装置の制御方法。
The output device further includes a display unit for displaying characters or graphics, and in the output step, the characters or graphics designated in the output command are output by displaying the characters or graphics on the display unit. The method for controlling an output device according to any one of claims 22 to 28.
出力装置に接続されるホスト装置を制御する制御方法であって、
前記出力装置を設定する設定値指定コマンドを生成する設定値指定コマンド生成工程と、
設定値セーブコマンドを生成する設定値セーブコマンド生成工程と、
設定値ロードコマンドを生成する設定値ロードコマンド生成工程と、
前記出力装置に出力させる文字または図形を指定する出力コマンドを生成する出力コマンド生成工程と、
前記生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして前記出力装置に送信する送信工程と、
を備えることを特徴とするホスト装置の制御方法。
A control method for controlling a host device connected to an output device,
A set value specifying command generating step for generating a set value specifying command for setting the output device;
A setting value saving command generation process for generating a setting value saving command;
A setting value load command generation process for generating a setting value load command;
An output command generation step for generating an output command for designating a character or a figure to be output to the output device;
A transmission step of transmitting the generated set value designation command, set value save command, set value load command, and output command to the output device as command data;
A control method for a host device, comprising:
設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部を備える出力装置に接続されるホスト装置を制御する制御方法であって、
前記出力装置を設定する設定値指定コマンドを生成する設定値指定コマンド生成工程と、
前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドを生成する設定値セーブコマンド生成工程と、
前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドを生成する設定値ロードコマンド生成工程と、
前記出力装置に出力させる文字または図形を指定する出力コマンドを生成する出力コマンド生成工程と、
前記生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして前記出力装置に送信する送信工程と、
を備えることを特徴とするホスト装置の制御方法。
A control method for controlling a host device connected to an output device including a nonvolatile storage unit including a plurality of areas for storing a set value in a nonvolatile manner,
A set value specifying command generating step for generating a set value specifying command for setting the output device;
A set value save command generating step for generating a set value save command for designating any of a plurality of areas included in the nonvolatile storage unit;
A setting value load command generation step for generating a setting value load command for designating any of a plurality of areas included in the nonvolatile storage unit;
An output command generation step for generating an output command for designating a character or a figure to be output to the output device;
A transmission step of transmitting the generated set value designation command, set value save command, set value load command, and output command to the output device as command data;
A control method for a host device, comprising:
前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドを生成する設定値情報読出コマンド生成工程、
をさらに備え、
前記送信工程では、前記生成された設定値情報読出コマンドをも指令データとして前記出力装置に送信し、
前記出力装置から送信される設定値情報を受信する受信工程と、
前記受信された設定値情報が有効なものか否かを調べ、有効である場合、当該領域を指定する設定値ロードコマンドを前記設定値ロードコマンド生成工程に生成させるロード領域制御工程と、
をさらに備えることを特徴とする請求項32に記載のホスト装置の制御方法。
A set value information read command generating step for generating a set value information read command for designating any of a plurality of areas included in the non-volatile storage unit;
Further comprising
In the transmission step, the generated set value information read command is also transmitted to the output device as command data,
A receiving step of receiving set value information transmitted from the output device;
Check whether the received set value information is valid, and if it is valid, a load area control step for causing the set value load command generation step to generate a set value load command specifying the area; and
The host device control method according to claim 32, further comprising:
ホスト装置に接続され、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する不揮発性記憶部と、を備える出力装置を制御する処理を実現するプログラムを記録したコンピュータ読取可能な情報記録媒体であって、当該プログラムが実現する処理は、
前記ホスト装置から送信された指令データを受信する受信手順と、
前記受信された指令データが前記出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を前記設定値記憶部に記憶する設定値指定手順と、
前記受信された指令データが、設定値セーブコマンドである場合、前記設定値記憶部に記憶された設定値を不揮発性記憶部に記憶する設定値セーブ手順と、
前記受信された指令データが、設定値ロードコマンドである場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する設定値ロード手順と、
前記受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、前記設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する出力手順と、
を備えることを特徴とする情報記録媒体。
A computer-readable recording medium storing a program that realizes processing for controlling an output device connected to a host device and comprising a setting value storage unit that temporarily stores setting values and a nonvolatile storage unit that stores setting values in a nonvolatile manner A possible information recording medium, and the processing realized by the program is as follows:
A receiving procedure for receiving command data transmitted from the host device;
When the received command data is a set value specifying command for specifying a set value for setting the output device, a set value specifying procedure for storing the set value in the set value storage unit;
When the received command data is a set value save command, a set value save procedure for storing the set value stored in the set value storage unit in a nonvolatile storage unit;
When the received command data is a set value load command, a set value load procedure for storing the set value stored in the nonvolatile storage unit in the set value storage unit;
When the received command data is an output command for designating a character or graphic to be output, an output procedure for outputting the character or graphic with reference to a setting value stored in the setting value storage unit;
An information recording medium comprising:
当該プログラムが実現する処理は、
前記受信された指令データが、既定値ロードコマンドである場合、あらかじめ定めた既定値を前記設定値記憶部に記憶する既定値ロード手順、
をさらに備えることを特徴とする請求項34に記載の情報記録媒体。
The processing realized by the program is
When the received command data is a default value load command, a default value loading procedure for storing a predetermined default value in the setting value storage unit,
The information recording medium according to claim 34, further comprising:
当該プログラムが実現する処理は、
電源が投入された場合、もしくは、前記受信された指令データが初期化コマンドである場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する電源投入初期化時手順、
をさらに備えることを特徴とする請求項34に記載の情報記録媒体。
The processing realized by the program is
When the power is turned on, or when the received command data is an initialization command, the power-on initialization procedure for storing the setting value stored in the nonvolatile storage unit in the setting value storage unit,
The information recording medium according to claim 34, further comprising:
当該プログラムが実現する処理は、
電源が投入された場合、前記不揮発性記憶部に設定値が記憶されているか否かを調べ、設定値が記憶されている場合、前記不揮発性記憶部に記憶された設定値を前記設定値記憶部に記憶する電源投入時手順、
をさらに備えることを特徴とする請求項34に記載の情報記録媒体。
The processing realized by the program is
When the power is turned on, it is checked whether or not a setting value is stored in the nonvolatile storage unit. If a setting value is stored, the setting value stored in the nonvolatile storage unit is stored in the setting value storage. Power-on procedure stored in the
The information recording medium according to claim 34, further comprising:
ホスト装置に接続され、設定値を一時的に記憶する設定値記憶部と、設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部と、を備える出力装置を制御する処理を実現するプログラムを記録したコンピュータ読取可能な情報記録媒体であって、当該プログラムが実現する処理は、
前記ホスト装置から送信された指令データを受信する受信手順と、
前記受信された指令データが前記出力装置を設定する設定値を指定する設定値指定コマンドである場合、当該設定値を前記設定値記憶部に記憶する設定値指定手順と、
前記受信された指令データが、前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドである場合、前記設定値記憶部に記憶された設定値を当該領域に記憶する設定値セーブ手順と、
前記受信された指令データが、前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドである場合、当該領域に記憶された設定値を前記設定値記憶部に記憶する設定値ロード手順と、
前記受信された指令データが出力すべき文字または図形を指定する出力コマンドである場合、前記設定値記憶部に記憶された設定値を参照して当該文字または図形を出力する出力手順と、
を備えることを特徴とする情報記録媒体。
A program that realizes processing for controlling an output device that is connected to a host device and includes a setting value storage unit that temporarily stores setting values and a non-volatile storage unit that includes a plurality of areas for storing setting values in a nonvolatile manner Is a computer-readable information recording medium in which the program realizes
A receiving procedure for receiving command data transmitted from the host device;
When the received command data is a set value specifying command for specifying a set value for setting the output device, a set value specifying procedure for storing the set value in the set value storage unit;
When the received command data is a set value save command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value stored in the set value storage unit is stored in the area. Setting value saving procedure,
When the received command data is a set value load command for designating one of a plurality of areas included in the nonvolatile storage unit, the set value stored in the area is stored in the set value storage unit Setting value loading procedure,
When the received command data is an output command for designating a character or graphic to be output, an output procedure for outputting the character or graphic with reference to a setting value stored in the setting value storage unit;
An information recording medium comprising:
当該プログラムが実現する処理は、
前記受信された指令データが前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドである場合、当該領域に記憶された設定値情報を読み出す設定値情報読出手順と、
前記読み出された設定値情報を前記ホスト装置に送信する送信手順と、
をさらに備えることを特徴とする請求項38に記載の情報記録媒体。
The processing realized by the program is
When the received command data is a set value information read command for designating one of a plurality of areas included in the nonvolatile storage unit, a set value information read procedure for reading the set value information stored in the area; ,
A transmission procedure for transmitting the read setting value information to the host device;
The information recording medium according to claim 38, further comprising:
当該プログラムが実現する処理は、
前記受信された指令データが前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する自動ロード設定コマンドである場合、当該領域を指定する情報を前記不揮発性記憶部に記憶する自動ロード設定手順と、
電源が投入された場合、もしくは、前記受信された指令データが初期化コマンドである場合、前記不揮発性記憶部に記憶された情報により指定される領域に記憶された設定値を前記設定値記憶部に記憶する電源投入初期化時手順と、
をさらに備えることを特徴とする請求項38に記載の情報記録媒体。
The processing realized by the program is
When the received command data is an automatic load setting command for designating any of a plurality of areas included in the nonvolatile storage unit, automatic load setting for storing information designating the area in the nonvolatile storage unit Procedure and
When the power is turned on, or when the received command data is an initialization command, the set value stored in the area specified by the information stored in the non-volatile storage is the set value storage Power-on initialization procedure stored in
The information recording medium according to claim 38, further comprising:
前記出力装置は、文字または図形を印刷する印刷部をさらに備え、前記出力手順では、前記印刷部に文字または図形を印刷することにより、出力コマンドに指定された文字または図形を出力する
ことを特徴とする請求項34から40のいずれか1項に記載の情報記録媒体。
The output device further includes a printing unit that prints characters or graphics, and in the output procedure, the characters or graphics specified in the output command are output by printing the characters or graphics on the printing unit. The information recording medium according to any one of claims 34 to 40.
前記出力装置は、文字または図形を表示する表示部をさらに備え、前記出力手順では、前記表示部に文字または図形を表示することにより、出力コマンドに指定された文字または図形を出力する
ことを特徴とする請求項34から40のいずれか1項に記載の情報記録媒体。
The output device further includes a display unit for displaying characters or graphics, and in the output procedure, the characters or graphics specified in the output command are output by displaying the characters or graphics on the display unit. The information recording medium according to any one of claims 34 to 40.
出力装置に接続されるホスト装置を制御する処理を実現するプログラムを記録したコンピュータ読取可能な情報記録媒体であって、当該プログラムが実現する処理は、
前記出力装置を設定する設定値指定コマンドを生成する設定値指定コマンド生成手順と、
設定値セーブコマンドを生成する設定値セーブコマンド生成手順と、
設定値ロードコマンドを生成する設定値ロードコマンド生成手順と、
前記出力装置に出力させる文字または図形を指定する出力コマンドを生成する出力コマンド生成手順と、
前記生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして前記出力装置に送信する送信手順と、
を備えることを特徴とする情報記録媒体。
A computer-readable information recording medium recording a program for realizing processing for controlling a host device connected to an output device, the processing realized by the program includes:
A set value specifying command generating procedure for generating a set value specifying command for setting the output device;
Setting value save command generation procedure for generating a setting value save command,
Setting value load command generation procedure for generating a setting value load command;
An output command generation procedure for generating an output command for designating characters or graphics to be output to the output device;
A transmission procedure for transmitting the generated set value designation command, set value save command, set value load command, and output command to the output device as command data;
An information recording medium comprising:
設定値を不揮発に記憶する複数の領域を含む不揮発性記憶部を備える出力装置に接続されるホスト装置を制御する処理を実現するプログラムを記録したコンピュータ読取可能な情報記録媒体であって、当該プログラムが実現する処理は、
前記出力装置を設定する設定値指定コマンドを生成する設定値指定コマンド生成手順と、
前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値セーブコマンドを生成する設定値セーブコマンド生成手順と、
前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値ロードコマンドを生成する設定値ロードコマンド生成手順と、
前記出力装置に出力させる文字または図形を指定する出力コマンドを生成する出力コマンド生成手順と、
前記生成された設定値指定コマンド、設定値セーブコマンド、設定値ロードコマンド、および、出力コマンドを指令データとして前記出力装置に送信する送信手順と、
を備えることを特徴とする情報記録媒体。
A computer-readable information recording medium recording a program for realizing processing for controlling a host device connected to an output device including a non-volatile storage unit including a plurality of areas for storing a set value in a non-volatile manner. The process realized by
A set value specifying command generating procedure for generating a set value specifying command for setting the output device;
A set value save command generation procedure for generating a set value save command for designating any of a plurality of areas included in the nonvolatile storage unit;
A setting value load command generation procedure for generating a setting value load command for designating any of a plurality of areas included in the nonvolatile storage unit;
An output command generation procedure for generating an output command for designating characters or graphics to be output to the output device;
A transmission procedure for transmitting the generated set value designation command, set value save command, set value load command, and output command to the output device as command data;
An information recording medium comprising:
当該プログラムが実現する処理は、
前記不揮発性記憶部に含まれる複数の領域のいずれかを指定する設定値情報読出コマンドを生成する設定値情報読出コマンド生成手順、
をさらに備え、
前記送信手順では、前記生成された設定値情報読出コマンドをも指令データとして前記出力装置に送信し、
前記出力装置から送信される設定値情報を受信する受信手順と、
前記受信された設定値情報が有効なものか否かを調べ、有効である場合、当該領域を指定する設定値ロードコマンドを前記設定値ロードコマンド生成手順に生成させるロード領域手順と、
をさらに備えることを特徴とする請求項44に記載の情報記録媒体。
The processing realized by the program is
A set value information read command generation procedure for generating a set value information read command for designating any of a plurality of areas included in the nonvolatile storage unit;
Further comprising
In the transmission procedure, the generated set value information read command is also transmitted to the output device as command data,
A reception procedure for receiving setting value information transmitted from the output device;
Check whether the received setting value information is valid, and if it is valid, a load area procedure for causing the setting value load command generation procedure to generate a setting value load command specifying the area;
45. The information recording medium according to claim 44, further comprising:
前記情報記録媒体は、コンパクトディスク、フロッピーディスク(登録商標)、ハードディスク、光磁気ディスク、ディジタルビデオディスク、磁気テープ、または、半導体メモリであることを特徴とする請求項34から45のいずれか1項に記載の情報記録媒体。   46. The information recording medium is a compact disk, a floppy disk (registered trademark), a hard disk, a magneto-optical disk, a digital video disk, a magnetic tape, or a semiconductor memory. The information recording medium described in 1.
JP2011006681A 2011-01-17 2011-01-17 OUTPUT SYSTEM, OUTPUT DEVICE, OUTPUT DEVICE CONTROL METHOD, AND PROGRAM Expired - Lifetime JP4941596B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011006681A JP4941596B2 (en) 2011-01-17 2011-01-17 OUTPUT SYSTEM, OUTPUT DEVICE, OUTPUT DEVICE CONTROL METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011006681A JP4941596B2 (en) 2011-01-17 2011-01-17 OUTPUT SYSTEM, OUTPUT DEVICE, OUTPUT DEVICE CONTROL METHOD, AND PROGRAM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010003725A Division JP4702482B2 (en) 2010-01-12 2010-01-12 OUTPUT SYSTEM, OUTPUT DEVICE, OUTPUT DEVICE CONTROL METHOD, AND PROGRAM

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011257231A Division JP5104992B2 (en) 2011-11-25 2011-11-25 OUTPUT SYSTEM, OUTPUT DEVICE, OUTPUT DEVICE CONTROL METHOD, AND INFORMATION RECORDING MEDIUM

Publications (2)

Publication Number Publication Date
JP2011086310A true JP2011086310A (en) 2011-04-28
JP4941596B2 JP4941596B2 (en) 2012-05-30

Family

ID=44079148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011006681A Expired - Lifetime JP4941596B2 (en) 2011-01-17 2011-01-17 OUTPUT SYSTEM, OUTPUT DEVICE, OUTPUT DEVICE CONTROL METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP4941596B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03247478A (en) * 1990-02-27 1991-11-05 Ricoh Co Ltd Operation control system for printer
JPH04205333A (en) * 1990-11-30 1992-07-27 Ricoh Co Ltd Mode switching system
JPH06297817A (en) * 1993-04-19 1994-10-25 Nec Corp Printer
JPH11161442A (en) * 1997-11-28 1999-06-18 Casio Electron Mfg Co Ltd Printing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03247478A (en) * 1990-02-27 1991-11-05 Ricoh Co Ltd Operation control system for printer
JPH04205333A (en) * 1990-11-30 1992-07-27 Ricoh Co Ltd Mode switching system
JPH06297817A (en) * 1993-04-19 1994-10-25 Nec Corp Printer
JPH11161442A (en) * 1997-11-28 1999-06-18 Casio Electron Mfg Co Ltd Printing system

Also Published As

Publication number Publication date
JP4941596B2 (en) 2012-05-30

Similar Documents

Publication Publication Date Title
JP4543458B2 (en) OUTPUT SYSTEM, OUTPUT DEVICE, HOST DEVICE, CONTROL METHOD THEREOF, AND INFORMATION RECORDING MEDIUM
JP2007220043A (en) Print controlling program, print controlling device, and print controlling method
US20170147911A1 (en) Printer, printing system and print control method
US8867071B2 (en) Printer for requiring terminal device to supply target data and terminal device for supplying target data in response to requirement from printer
JP2017068304A (en) Information processing device and program
JP2019067041A (en) Program and print system
JP6431279B2 (en) Printing apparatus and printing apparatus control method
JP5104992B2 (en) OUTPUT SYSTEM, OUTPUT DEVICE, OUTPUT DEVICE CONTROL METHOD, AND INFORMATION RECORDING MEDIUM
JP4702482B2 (en) OUTPUT SYSTEM, OUTPUT DEVICE, OUTPUT DEVICE CONTROL METHOD, AND PROGRAM
JP4941596B2 (en) OUTPUT SYSTEM, OUTPUT DEVICE, OUTPUT DEVICE CONTROL METHOD, AND PROGRAM
JP2019020892A (en) Printing system and printer used in the same
JP2019053403A (en) Program and printing system
US20150262043A1 (en) Information processing apparatus, information processing method, and information processing system
JPH1097391A (en) Printer system and print control method
JP2006190152A (en) Method for setting printing condition initial value, program, and information processor
KR101101820B1 (en) Host apparatus connected to image forming apparatus and image forming method thereof
JP2001228996A (en) Image forming system
JP5526863B2 (en) Printer driver and print control apparatus
JP4118834B2 (en) Printer control program and printer control apparatus
JP2002264450A (en) Image processing unit, imaging apparatus, imaging method and image processing system
JP2007004596A (en) Print control device and method, storage medium and program
JP2005305814A (en) Output system, host computer, output device and program
JPH10193748A (en) Method and system for processing information and recording medium
JP2010277269A (en) Information processor, image forming device and image forming system including them
JP2004030260A (en) Information processor, printer, and printing system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110719

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111125

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20111205

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4941596

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

Year of fee payment: 3

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

EXPY Cancellation because of completion of term