JP2938459B2 - Display control device - Google Patents

Display control device

Info

Publication number
JP2938459B2
JP2938459B2 JP63214855A JP21485588A JP2938459B2 JP 2938459 B2 JP2938459 B2 JP 2938459B2 JP 63214855 A JP63214855 A JP 63214855A JP 21485588 A JP21485588 A JP 21485588A JP 2938459 B2 JP2938459 B2 JP 2938459B2
Authority
JP
Japan
Prior art keywords
date
data
time
read
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63214855A
Other languages
Japanese (ja)
Other versions
JPH0263772A (en
Inventor
隆志 岩本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63214855A priority Critical patent/JP2938459B2/en
Publication of JPH0263772A publication Critical patent/JPH0263772A/en
Application granted granted Critical
Publication of JP2938459B2 publication Critical patent/JP2938459B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Electric Clocks (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明な新聞社等で用いられる漢字プリンタ装置等
の表示装置を制御するコントロール装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a control device for controlling a display device such as a kanji printer device used in a newspaper company or the like.

(従来の技術) 従来の漢字プリンタコントロール装置は、コンピュー
タシステムの時計装置より現日付時刻データを読出し、
これをそのまま印字データとして用いていた。
(Prior Art) A conventional Kanji printer control device reads current date and time data from a clock device of a computer system,
This was directly used as print data.

しかしながら新聞社等の特殊業務であっては、午前6
時から午後30時という計時法により業務を行っているも
のがある。かかる特殊業務に上記の漢字プリンタをその
まま適用することはできない。
However, for special services such as newspaper companies,
Some work from 30pm to 30pm according to the timekeeping method. The kanji printer described above cannot be directly applied to such special services.

そこで従来は、ソフトウェアで現日付時刻から月日を
含んだ暦のプログラムに基づいていつでも正確な日時を
得るようにした手法が知られている。しかしながら、こ
の手法は暦のプログラムを含むため、現時刻で零時を経
過したときに前日を求めるソフトウェアが膨大になって
しまうという問題点があった。または、独自に業務時間
に合致した計時を行うハードウェアを設ける手法もある
が、特別な装置が必要となり、また、構成が大型化する
という問題点が生じていた。
Therefore, conventionally, there has been known a method of obtaining accurate date and time at any time based on a calendar program including month and day from the current date and time by software. However, since this method includes a calendar program, there is a problem in that the software for finding the previous day when the current time passes midnight becomes enormous. Alternatively, there is a method of independently providing hardware for performing time keeping in accordance with business hours. However, a special device is required, and the configuration is increased in size.

(発明が解決しようとする課題) 上記のように、従来の表示装置のコントロール装置で
は、現日時から月日を含んだ暦のプログラムに基づいて
独自の業務時間の日付を求めるものがあるが、ソフトウ
ェアが膨大になってしまうという問題点があった。ま
た、独自の業務時間に合致しない計時を行うハードウェ
アを設けるものもあるが、特別な装置が必要となり構成
が大型化するという問題が生じていた。
(Problems to be Solved by the Invention) As described above, in the conventional display device control device, there is a device that obtains an original business time date based on a calendar program including month and day from the current date and time. There was a problem that software became enormous. In some cases, hardware is provided that performs timekeeping that does not match its own business hours. However, a special device is required and the configuration becomes large.

本発明はこのような従来の表示装置のコントロール装
置の問題点を解決せんとしてなされたもので、その目的
は特別な装置を要せず従って構成が大型化することな
く、また、簡素な構成で簡単に独自の業務時間に合致し
た計時を行って表示データとして送出でき得る表示装置
のコントロール装置を提供することである。
The present invention has been made in order to solve the problems of the conventional display device control device, and has as its object no special device is required, so that the configuration is not enlarged, and the configuration is simple. An object of the present invention is to provide a control device for a display device which can easily perform time keeping in accordance with its own business hours and transmit it as display data.

[発明の構成] (課題を解決するための手段) 本発明では、現日付時刻を計時するタイマと、日付デ
ータが記憶される記憶手段と、 前記タイマから読出した現日付データに基づいて得た
日付データの前記記憶手段へ記憶する日付管理手段と、 前記タイマから読出した現時刻データが零時から予め
得られている日付変更時刻前の日付変更不要時刻か否か
を検出する日付変更検出手段と、 この日付変更検出手段が日付変更不要時であることを
検出した場合には前記記憶手段内の日付データ及び前記
読出した現時刻データに24時を加えた時刻データを表示
データとして送出する一方、日付変更不要時でないこと
を検出した場合には前記タイマから読出した現日付デー
タ及び現時刻データを表示データとして送出する表示デ
ータ送出手段とを備えさせて表示装置のコントロール装
置を構成した。
[Means for Solving the Problems] According to the present invention, a timer for measuring the current date and time, storage means for storing date data, and current date data obtained from the timer are obtained. Date management means for storing date data in the storage means; date change detection means for detecting whether or not current time data read from the timer is a date change unnecessary time before a date change time previously obtained from 0 o'clock When the date change detecting means detects that the date change is unnecessary, the time data obtained by adding 24 hours to the date data in the storage means and the read current time data is transmitted as display data. Display data transmitting means for transmitting the current date data and the current time data read from the timer as display data when detecting that it is not necessary to change the date. Thus, a control device for the display device was configured.

(作用) 上記構成によると、予め定められている日付変更時刻
を越えた時点で日付管理手段が日付を変更した日付デー
タを記憶手段に記憶するように働くことができ、この記
憶手段内の日付データを用いながら表示データを作成し
て送出するので24時を経ても日付を変更せずともよく、
独自の業務時間に合致して計時した日付時刻データを表
示データとして表示し得るようになる。
(Operation) According to the above configuration, the date management means can function to store the date data whose date has been changed in the storage means at a point in time exceeding a predetermined date change time. Since display data is created and sent using data, it is not necessary to change the date even after 24 hours,
The date and time data measured in accordance with the unique business hours can be displayed as display data.

(実施例) 以下、図面を参照して本発明の一実施例を説明する。
第2図は本発明の一実施例に係る漢字プリンタコントロ
ール装置1を含むコンピュータシステムのブロック図で
ある。漢字プリンタコントロール装置1には漢字印字を
行う漢字プリンタ21〜2nが接続され、この漢字プリンタ
コントロール装置1は同じく接続されるホストコンピュ
ータ3のタイマ30から現日付時刻データを得て日時に関
する印字(表示)データを作成して漢字プリンタ2へ送
出する。漢字プリンタコントロール装置1内にはこの装
置を制御する制御部11とプログラムが格納されワーキン
グエリアを持つメモリ12とが設けられ、制御部11は第3
図に示されるフローチャートのプログラムに基づいて、
第1図の日付管理手段101、日付変更検出手段102、表示
データ送出手段103として機能する。また、メモリ12は
記憶手段104として機能する。ここでは、午前6時から
午後30時までが業務時間とされている場合の動作を説明
する。先ず、初期設定によってAM6:00が日付変更時刻デ
ータとしてメモリ12である記憶手段104に格納される。
次に、電源投入により第3図に示すように制御部11が日
付管理手段101として動作する。なお、本実施例では、
電源投入は原時刻で午前6時以降24時前に行うものとす
る。(仕様書等でその旨指定しておく。)。電源投入が
なされると、日付管理手段101はタイマ30より日付デー
タをリードし、記憶手段104内の日替りフラグ(図示せ
ず)をリセットする(301)。次いで、日付管理手段101
は上記で読取った日付データ(年月日)を記憶手段104
へ書込む(302)。次に、日付変更検出手段102が動作
し、ホストコンピュータ3から印字データが送られてき
たか否かを検出する(303)。ここで、印字データあり
を検出するとタイマ30から現日付時刻データ(年月日時
分秒)を読出す(304)。そして、日付変更検出手段102
はこの読出した現時刻データ(時分秒)が予め設定され
ている日付変更時刻AM6時より前で24時(0:00)以後か
を検出する(305)。そして、日付変更検出手段102はス
テップ305でYESとなった場合には日替りフラグがゼロ
(リセット状態)か否か検出する(307)。ここで、日
付変更検出手段102は日替りフラグがリセット状態であ
れば、記憶手段104に記憶されている日付データと読出
した現日付データとが一致するかを検出する(308)。
このとき一致すると表示データ送出手段103が起動され
読出した現日付時刻データにより印字データを作成しホ
ストコンピュータ3より送られてきた印字データととも
に所要の漢字プリンタ2へ送出し印字を行わせる(30
9)。このように、0:00〜5:59の時に印字データが送ら
れたとき記憶手段104に記憶されている日付データと読
出した現日付データとが一致するのは、電源投入が仕様
に反して0:00〜5:59に行われかつ午前6時を経過せぬ場
合であり、この場合は非常の手段としてこのような現日
付時刻データによる印字を行うことになる。一方、ステ
ップ308で不一致となると、表示データ送出手段103は記
憶手段104に記憶されている日付データと、読出した現
時刻データに24時を加えた時刻データとにより印字デー
タを作成しホストコンピュータ3より送られてきた印字
データとともに所要の漢字プリンタ2へ送出し印字を行
わせる(310)。そして、日付管理手段101が起動され日
替りフラグをセットして(311)ステップ303へ戻る。こ
のようにして日替りフラグがセットされた以後におい
て、タイマ30から読出した現時刻データが0:00から5:59
までの場合には日替りフラグがセットされているためス
テップ307からステップ312へ進むことになり、表示デー
タ送出手段103は記憶手段104に記憶されている日付デー
タと、読出した現時刻データに24時を加えた時刻データ
とにより印字データを作成しホストコンピュータ3より
送られてきた印字データとともに所要の漢字プリンタ2
へ送出して印字を行わせ(312)、ステップ303へ戻る。
また、日付変更検出手段102がステップ304で読出した現
時刻データが0:00から5:59でないことを検出した場合に
はステップ305からステップ306へ進み、表示データ送出
手段103が読出した現日時データにより印字データを作
成しホストコンピュータ3より送られてきた印字データ
とともに所要の漢字プリンタ2へ送出し印字を行わせる
(306)。そして、この後、日付管理手段101が起動さ
れ、記憶手段104内の日付データと上記でタイマ30より
読出された現日付データとの一致が検出され(313)、
不一致の場合には日付合せが行われる(314)。かくし
て本実施例によれば、暦データにより日付を戻したり前
進させる等のステップを行わずとも、簡単な比較で日付
変更及び時刻データ作成の管理を行うことができ、仕様
通りに電源を投入しさえすれば、的確に特殊な業務時間
に合致した時刻が印字された記録を得ることができる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 2 is a block diagram of a computer system including the kanji printer control device 1 according to one embodiment of the present invention. The Kanji printer control device 1 is connected Kanji printer 2 1 to 2 n to perform kanji printing, printing about when this kanji printer control device 1 from the timer 30 of the host computer 3 which is also connected to give the current date and time data (Display) Data is created and sent to the kanji printer 2. In the kanji printer control device 1, a control unit 11 for controlling the device and a memory 12 storing a program and having a working area are provided.
Based on the program of the flowchart shown in the figure,
It functions as the date management unit 101, the date change detection unit 102, and the display data transmission unit 103 in FIG. Further, the memory 12 functions as the storage unit 104. Here, the operation when the business hours are from 6:00 am to 30 pm is described. First, 6:00 AM is stored in the storage unit 104 as the memory 12 as date change time data by initial setting.
Next, when the power is turned on, the control unit 11 operates as the date management unit 101 as shown in FIG. In this embodiment,
It is assumed that the power is turned on at 6:00 am and before 24:00 at the original time. (Specify this in the specifications etc.). When the power is turned on, the date management means 101 reads the date data from the timer 30 and resets a daily flag (not shown) in the storage means 104 (301). Next, the date management means 101
Stores the date data (year, month, day) read as described above in the storage means 104
(302). Next, the date change detecting means 102 operates to detect whether or not print data has been sent from the host computer 3 (303). When the presence of print data is detected, the current date / time data (year / month / day / hour / minute / second) is read from the timer 30 (304). Then, the date change detecting means 102
Detects whether the read current time data (hour, minute, second) is before 26:00 (0:00) before the preset date change time 6:00 (305). Then, if YES in step 305, the date change detecting means 102 detects whether the daily flag is zero (reset state) (307). Here, if the daily change flag is in the reset state, the date change detection unit 102 detects whether the date data stored in the storage unit 104 matches the read current date data (308).
At this time, the display data sending means 103 is activated to create print data based on the read current date and time data, and sends the print data together with the print data sent from the host computer 3 to the required kanji printer 2 for printing (30).
9). As described above, when print data is sent from 0:00 to 5:59, the date data stored in the storage unit 104 and the read current date data match because the power-on is contrary to the specification. This is a case where the printing is performed from 0:00 to 5:59 and 6:00 am does not elapse, and in this case, printing using such current date and time data is performed as an extremely means. On the other hand, if there is a mismatch at step 308, the display data sending means 103 creates print data based on the date data stored in the storage means 104 and time data obtained by adding 24 hours to the read current time data, and the host computer 3 The print data is sent to the required kanji printer 2 together with the print data sent from the printer and printed (310). Then, the date management means 101 is activated and the daily flag is set (311), and the process returns to step 303. After the daily flag is set in this manner, the current time data read from the timer 30 is changed from 0:00 to 5:59.
In this case, since the daily flag has been set, the process proceeds from step 307 to step 312, and the display data sending means 103 stores the date data stored in the storage means 104 and the read current time data in 24 hours. The print data is created based on the time data to which the time has been added, and together with the print data sent from the host computer 3, the required kanji printer 2
To perform printing (312), and return to step 303.
If the date change detection means 102 detects that the current time data read in step 304 is not 0:00 to 5:59, the process proceeds from step 305 to step 306, and the current date and time read by the display data transmission means 103 Print data is created from the data and sent to the required kanji printer 2 together with the print data sent from the host computer 3 for printing (306). Thereafter, the date management means 101 is activated, and a match between the date data in the storage means 104 and the current date data read from the timer 30 is detected (313),
If they do not match, the date is adjusted (314). Thus, according to the present embodiment, it is possible to perform management of date change and time data creation with a simple comparison without performing steps such as returning or advancing the date according to calendar data, and turning on the power as specified. As long as the time is recorded, it is possible to obtain a record in which the time corresponding to the special business time is accurately printed.

なお、本実施例では電源投入で第3図のフローチャー
トがスタートとなることとしたが、例えば、適宜なスイ
ッチ等の入力手段によりスタートの命令を入力できるよ
うにしてもよい。また、本発明は漢字プリンタに限ら
ず、広く表示装置のコントロール装置に適用できる。
In the present embodiment, the flowchart of FIG. 3 is started when the power is turned on. However, for example, a start command may be input by an input means such as an appropriate switch. Further, the present invention is not limited to a kanji printer and can be widely applied to a control device of a display device.

[発明の効果] 以上説明したように本発明によれば、記憶手段内に前
日の日付データを記憶しておき、零時から予め得られて
いる日付変更時間前までのときには、上記記憶手段内の
日付データを表示データとすることができるため、簡素
な構成で簡単に独自の業務時間に合致した計時を行って
表示データとして送出できる効果がある。
[Effects of the Invention] As described above, according to the present invention, the date data of the previous day is stored in the storage means, and when the time is from 0 o'clock to before the date change time obtained in advance, the data in the storage means is stored. Since the date data can be used as display data, there is an effect that it is possible to easily perform timekeeping in accordance with a unique business time and transmit the display data as display data with a simple configuration.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明の一実施例の構成図、第2図は本発明の
一実施例に係る漢字プリンタコントロール装置を含むコ
ンピュータシステムのブロック図、第3図は第2図の一
実施例の動作を説明するためのフローチャートである。 1……漢字プリンタコントロール装置 21〜2n……漢字プリンタ 3……ホストコンピュータ 11……制御部、12……メモリ 30……タイマ、101……日付管理手段 102……日付変更検出手段 103……表示データ送出手段 104……記憶手段
FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is a block diagram of a computer system including a kanji printer control device according to one embodiment of the present invention, and FIG. 3 is an embodiment of FIG. It is a flowchart for explaining operation. 1 kanji printer control device 2 1 to 2 n kanji printer 3 host computer 11 control unit 12 memory 30 timer 101 date management means 102 date change detection means 103 ...... Display data sending means 104 ... Storage means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】現日付時刻を計時するタイマと、 日付データが記憶される記憶手段と、 前記タイマから読出した現日付データに基づいて得た日
付データを前記記憶手段へ記憶する日付管理手段と、 日付データ及び時刻データからなる表示データを検出し
た場合には前記タイマから現時刻を読出し当該読出した
現時刻データか零時から予め得られている日付変更時刻
前の日付変更不要時刻か否かを検出する日付変更検出手
段と、 この日付変更検出手段が日付変更不要時であることを検
出した場合には前記記憶手段内の日付データ及び前記読
出した現時刻データに24時を加えた時刻データを表示デ
ータとして送出する一方、日付変更不要時ではないこと
を検出した場合には前記タイマから読出した現日付デー
タ及び現時刻データを表示データとして送出する表示デ
ータ送出手段とが備えられていることを特徴とする表示
装置のコントロール装置。
1. A timer for measuring a current date and time, storage means for storing date data, and date management means for storing date data obtained based on current date data read from the timer in the storage means. If the display data consisting of date data and time data is detected, the current time is read from the timer, and whether the read current time data or the date change unnecessary time before the date change time previously obtained from 0:00 is checked. Date change detecting means for detecting the time change of the date data in the storage means and the read current time data when the date change detecting means detects that the date change is unnecessary. Is transmitted as display data, and when it is detected that the date change is not necessary, the current date data and current time data read from the timer are used as display data. Control device for a display device, characterized in that the display data sending means for sending is provided.
JP63214855A 1988-08-31 1988-08-31 Display control device Expired - Lifetime JP2938459B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63214855A JP2938459B2 (en) 1988-08-31 1988-08-31 Display control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63214855A JP2938459B2 (en) 1988-08-31 1988-08-31 Display control device

Publications (2)

Publication Number Publication Date
JPH0263772A JPH0263772A (en) 1990-03-05
JP2938459B2 true JP2938459B2 (en) 1999-08-23

Family

ID=16662668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63214855A Expired - Lifetime JP2938459B2 (en) 1988-08-31 1988-08-31 Display control device

Country Status (1)

Country Link
JP (1) JP2938459B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100478681B1 (en) 2003-07-29 2005-03-25 삼성광주전자 주식회사 an robot-cleaner equipped with floor-disinfecting function

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0695483B2 (en) * 1985-10-07 1994-11-24 株式会社村田製作所 Resistance composition

Also Published As

Publication number Publication date
JPH0263772A (en) 1990-03-05

Similar Documents

Publication Publication Date Title
JP2938459B2 (en) Display control device
KR920008325B1 (en) Power-fail report method for communication system
JP2641733B2 (en) Electronic equipment for information processing
JP2008052638A (en) Electronic appliance and setting system for electronic appliance
JPH043220A (en) Printing controller
JP3198785B2 (en) Remote control device
JP4748893B2 (en) Printing device
KR910003420B1 (en) Time setting and error correcting method for fax system
JPS5927960B2 (en) Control method of data acquisition device
JPH011575A (en) printer
JPS6234119B2 (en)
JPS6336462Y2 (en)
JP2017037508A (en) Information processor, and control method of information processor
JP2723784B2 (en) Facsimile machine
JP2602976Y2 (en) Handy terminal
JPH0698074A (en) Facsimile with automatic time change function
JPS60160420A (en) Initial setting system of memory
JPS59173889A (en) Input item selection system for time recorder
JPH0711770B2 (en) Information processing equipment
JPH02183820A (en) Communication terminal equipment
JPS6363924B2 (en)
JPH04163079A (en) Printer device
JP2000047920A (en) Slit issuing device
JPH02224044A (en) Program storage device
KR19980061815A (en) How to save output messages by electronic exchange

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090611

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090611

Year of fee payment: 10