JPS6037634Y2 - calendar printing device - Google Patents
calendar printing deviceInfo
- Publication number
- JPS6037634Y2 JPS6037634Y2 JP14115179U JP14115179U JPS6037634Y2 JP S6037634 Y2 JPS6037634 Y2 JP S6037634Y2 JP 14115179 U JP14115179 U JP 14115179U JP 14115179 U JP14115179 U JP 14115179U JP S6037634 Y2 JPS6037634 Y2 JP S6037634Y2
- Authority
- JP
- Japan
- Prior art keywords
- calendar
- date information
- printing
- key
- information
- 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
Links
Landscapes
- Calculators And Similar Devices (AREA)
Description
【考案の詳細な説明】
この考案は、たとえばプリンタ付電子卓上計算機など印
字機能を備えた小型電子機器において、カレンダの作成
を行うカレンダ印字装置に関する。[Detailed Description of the Invention] This invention relates to a calendar printing device for creating a calendar in a small electronic device equipped with a printing function, such as an electronic desktop calculator with a printer.
一般に、カレンダ作成機能を備えたプリンタ付電子卓上
計算機では、所望する指定期間のカレンダを作成する際
には、その都度、作成するカレンダに必要な日付情報を
複雑なキー操作によって入力している。Generally, in an electronic desktop calculator with a printer equipped with a calendar creation function, each time a calendar for a desired specified period is created, date information necessary for the calendar to be created is inputted by complicated key operations.
ところで、現在の日付情報と対応する指定期間のカレン
ダ、たとえば現在の月のカレンダを作成したい場合が非
常に多いが、この場合にもその度、現在の日付情報をキ
ー操作によって入力する必要があり、この種の入力操作
が煩られしい欠点があった。By the way, there are many cases where you want to create a calendar for a specified period that corresponds to the current date information, such as a calendar for the current month, but each time you do this, you have to enter the current date information using keystrokes. However, this type of input operation has the disadvantage of being cumbersome.
この考案は、前記事情に基づてなされたもので、その目
的とするところは、時計回路からの日付情報に基すき特
定期間のカレンダ情報を求めて印字することにより、現
在の日付情報と対応する特定期間のカレンダは特定キー
の簡単な操作によって作成することができるようにし、
以って、キー操作を簡単化したカレンダ印字装置を提供
することである。This invention was made based on the above circumstances, and its purpose is to obtain and print calendar information for a specific period based on date information from a clock circuit, so that it corresponds to the current date information. A calendar for a specific period can be created by simple operation of a specific key.
Therefore, it is an object of the present invention to provide a calendar printing device that simplifies key operations.
以下、この考案の一実施例につき、第1図および第2図
に基づいて説明する。An embodiment of this invention will be described below with reference to FIGS. 1 and 2.
第1図はこの考案の一実施例をプリンタ付電子卓上計算
機に適用した概略システム構成国を示し、第1図におい
て符号1は入力部で、この操作パネル上にはOから9ま
での数値を入力するために使用されるテンキー2と、小
数点キー3、乗算キー3□、除算キー33、マイナスキ
ー34、プラスキー35、イコールキー36からなるフ
ァンクションキーが備えられ、さらに、日付情報を入力
する際に使用される日付(DATE)キー4と、カレン
ダを発行する際に使用されるカレンダ(CALE)キー
5が備えられている。Figure 1 shows a schematic diagram of the country in which an embodiment of this invention is applied to an electronic desk calculator with a printer. It is provided with a numeric keypad 2 used for input, and function keys consisting of a decimal point key 3, a multiplication key 3□, a division key 33, a minus key 34, a plus key 35, and an equal key 36, and furthermore, it is provided with function keys for inputting date information. A date (DATE) key 4 used when issuing a calendar, and a calendar (CALE) key 5 used when issuing a calendar are provided.
前記入力部1は、cpu (中央処理装置)6からサン
プリング用タイミング信号KPが与えられており、入力
部1においてキー操作が行なわれることによってタイミ
ング信号KPが操作キーに応じて選択され、キー人力信
号KlとしてCPU5に与えられる。The input section 1 is supplied with a sampling timing signal KP from a CPU (central processing unit) 6, and when a key is operated in the input section 1, the timing signal KP is selected according to the operation key, and the timing signal KP is selected according to the operation key. It is given to the CPU 5 as a signal Kl.
cpu 6には、各種マイクロ命令が格納されている制
御部、演算部などほか、入力部1によって入力された年
、月の日付データを記憶するXレジスタ及び印字、表示
、転送に使用される各種レジスタが備えられている。The CPU 6 includes a control unit, arithmetic unit, etc. that store various microinstructions, an X register that stores the year, month, and date data input through the input unit 1, and various types of registers used for printing, display, and transfer. A register is provided.
前記cpu 6には印字制御部7と時計回路8が接続さ
れており、CPU 6から出力される制御信号OPによ
って印字制御部7が選択され、この印字制御部7に備え
られている印字用バッファにcpu 6から印字データ
PDが出力されて書き込まれるようになっている。A print control section 7 and a clock circuit 8 are connected to the CPU 6, and the print control section 7 is selected by a control signal OP outputted from the CPU 6, and a print buffer provided in the print control section 7 is selected. Print data PD is output from the CPU 6 and written.
また、前記時計回路8は現在の年情報、月情報などの日
付情報を計時し、これに備えられているMレジスタに送
出して記憶するようになっている。Further, the clock circuit 8 measures date information such as current year information and month information, and sends it to an M register provided therein for storage.
そして、時計回路8は、cpu6からアドレスバスライ
ンABを介してアドレス指定信号が与えられ、データバ
スラインDBを介してcpu 6との間でデータの授受
を行なつ。The clock circuit 8 receives an address designation signal from the CPU 6 via the address bus line AB, and exchanges data with the CPU 6 via the data bus line DB.
前記印字制御部7は印字部9に接続されており、印字部
9は、これに備えられている印字ドラム(図示されてい
ない)の印字位置信号TPを印字部9に送り、また印字
制御部7からは、その内部で印字位置信号TPと印字用
バッファ内の印字データPDとの一致によつ生じる印字
駆動信号MDを印字部9に送る。The printing control section 7 is connected to the printing section 9, and the printing section 9 sends a printing position signal TP of a printing drum (not shown) provided therein to the printing section 9, and also connects the printing section 9 to the printing section 9. 7 internally sends to the printing section 9 a print drive signal MD generated by the coincidence between the print position signal TP and the print data PD in the print buffer.
そして、印字部9は、この印字駆動信号■に従って所定
のハンマが駆動されるときにより印字動作を行なって、
記録用紙10にカレンダ情報などを印字出力するもので
ある。Then, the printing section 9 performs a printing operation when a predetermined hammer is driven according to this printing drive signal (2),
Calendar information and the like are printed out on recording paper 10.
次に前述のように構成されたプリンタ付電子卓上計算機
の動作について説明する。Next, the operation of the electronic desk calculator with printer configured as described above will be explained.
現在の年、月を示す″197師8月ヨのカレンダを作成
する場合には、カレンダキー5を操作すると第2図のフ
ローに示す動作が行なわれる。When creating a calendar for August 197, which indicates the current year and month, when the calendar key 5 is operated, the operations shown in the flowchart of FIG. 2 are performed.
まず、ステップS1の実行において、CPU6内のXレ
ジスタに記憶されている内容がrOJであるか否か、換
言すればカレンダキー5を操作する直前に日付データを
入力するキー操作が行なわれたか否かの判断が実行され
、YESと判断されると次いでステップS2が実行され
、Noと判断されると次いでステップS3が実行される
。First, in the execution of step S1, whether or not the content stored in the X register in the CPU 6 is rOJ, in other words, whether or not a key operation for inputting date data was performed immediately before operating the calendar key 5. If the determination is YES, step S2 is executed, and if the determination is NO, step S3 is executed.
この場合は日付データを入力せずにカレンダキー5を操
作した場合であるから、YESと判断され次いステップ
S2の実行に移る。In this case, the calendar key 5 is operated without inputting date data, so the answer is YES and the process moves to step S2.
ステップS2の実行において、CPU6からアドレスバ
スライン油を介してアドレス指定信号が時計回路8に与
えられてMレジスタのアドレスが指定される。In executing step S2, an address designation signal is applied from the CPU 6 to the clock circuit 8 via the address bus line oil to designate the address of the M register.
そして、Mレジスタに記憶されている現在の年データお
よび月データからなる日付データが読み出され、データ
バスラインDBを介してCPUG内のXレジスタに書き
込まれる。Then, date data consisting of current year data and month data stored in the M register is read out and written to the X register in the CPUG via the data bus line DB.
次いでステップS3が実行され、cpu 6から制御信
号OPが出力されて印字制御部7が選択されると共に、
Xレジスタに記憶されている日付データが読み出されて
印字用バッファに与えられる。Next, step S3 is executed, and the CPU 6 outputs the control signal OP to select the print control section 7.
Date data stored in the X register is read out and given to the print buffer.
そして、印字用バッファの内容に基づく印字駆動信号M
Dが印字部9に与えられて所定のハンマが駆動され、記
録用紙10に第1図に示す日付情報’1979−8Jが
印字され、この後1行分の紙送りが行なわれる。Then, a print drive signal M based on the contents of the print buffer
D is applied to the printing unit 9, a predetermined hammer is driven, date information '1979-8J shown in FIG. 1 is printed on the recording paper 10, and the paper is then fed by one line.
次いでステップS、が実行され、CPU6において、X
レジスタに記憶されている日付データに基づ”いて、そ
の月が大であるか小の月であるかあるいは年が閏年に当
るのか判別が行なわれ、この結果、その月の末日が算出
される。Next, step S is executed, and in the CPU 6,
Based on the date data stored in the register, it is determined whether the month is a large or small month, or whether the year is a leap year, and as a result, the last day of the month is calculated. .
さらに、前記日付データに基づきその月の1日の曜日の
算出が行なわれ、この算出法は詳しくは省略するが、仮
想基準年月日から所望年月日までの日数を算出し、この
算出日数を1+IJ補正した後17ヨで除算した余りを
求めることにより行なわれるものである。Furthermore, the day of the week of the first day of the month is calculated based on the date data, and although the details of this calculation method are omitted, the number of days from the hypothetical base date to the desired date is calculated, and this calculated number of days is calculated. This is done by correcting 1+IJ and then dividing by 17yo to find the remainder.
この場合は月の末日として31日が、1日の曜日として
水曜日が算出される。In this case, the 31st is calculated as the last day of the month, and Wednesday is calculated as the 1st day of the week.
次いでステップS5が実行され、1日の曜日を基準とし
て一週量分のカレンダ情報が印字用バッファへ送られ、
印字部9で印字される。Next, step S5 is executed, and one week's worth of calendar information is sent to the print buffer based on the day of the week.
It is printed by the printing section 9.
印字終了後に、次の週のカレンダ情報が印字用バッファ
へ送られる。After printing is completed, the next week's calendar information is sent to the print buffer.
以後、ステップS4で求めて月の末田こなるまでカレン
ダ情報が一週間単位で印字される。Thereafter, the calendar information obtained in step S4 is printed on a weekly basis until the end of the month.
その結果、前記記録用紙10には’197師8月1のカ
レンダが印字され、この後、所定量の紙送りが行なわれ
て、この場合のカレンダ作成動作を終了する。As a result, the calendar for August 1, '197 is printed on the recording paper 10, and thereafter, the paper is fed by a predetermined amount, and the calendar creation operation in this case is completed.
ところで、現在の年、月と異なる月のカレンダ、たとえ
ば″197師6月1のカレンダを作成する場合には、テ
ンキー11」、(9)、(2)、旧1、日付キー4、テ
ンキー6、日付キー4を順次操作すると、この操作信号
はキー人力信号Klとしてcpu6に与えられてXレジ
スタに書き込まれる。By the way, if you want to create a calendar for a month different from the current year and month, for example, a calendar for June 1, 2019, use the numeric keypad 11, (9), (2), old 1, date key 4, and numeric keypad 6. , date key 4 are operated in sequence, this operation signal is given to the CPU 6 as a key manual signal Kl and written into the X register.
次いでカレンダキー5を操作するとステップS1が実行
され、この場合はXレジスタの内容はrOJでないと判
断され、次いでステップS3の実行に移り、Xレジスタ
に記憶された日付データが印字用バッファに与えられ、
記録用紙に印字される。Next, when the calendar key 5 is operated, step S1 is executed. In this case, it is determined that the contents of the X register are not rOJ, and then the process moves to step S3, in which the date data stored in the ,
Printed on recording paper.
次いでステップS1.S5が実行され、この結果、記録
用紙には” 197CR−,6月ヨのカレンダが印字さ
れる。Next, step S1. S5 is executed, and as a result, a calendar of ``197CR-, June'' is printed on the recording paper.
なお、前記実施例においては、月単位のカレンダを作成
する場合について説明したが、これに限定されず、たと
えば週単位のカレンダを作成するなど任意期間を単位と
するカレンダを作成するように構成してもよい。In the above embodiment, a case has been described in which a monthly calendar is created, but the present invention is not limited to this. For example, a calendar can be created in units of arbitrary periods, such as creating a weekly calendar. It's okay.
また、前記実施例においては、この考案をプリンタ付電
子卓上計算機に適用した場合については説明したが、こ
れに限定されず、印字機能を備えた他の小型電子式計算
機においても適用することができる。Further, in the above embodiment, the case where this invention is applied to an electronic desktop calculator with a printer has been described, but it is not limited to this, and can be applied to other small electronic calculators equipped with a printing function. .
この考案によれば、プリンタ付電子卓上計算機等の小型
電子機器において、この機器本体に備えられた記録紙上
に任意月のカレンダ表を極めて簡単に印字作成可能であ
る。According to this invention, in a small electronic device such as an electronic desktop calculator with a printer, a calendar table for any month can be printed extremely easily on a recording paper provided in the main body of the device.
しかも本考案においては、現在の日付情報を計時記憶す
る時計回路と、特定キーの操作時にその操作前の日付情
報入力の有無を判別する判別手段と、日付情報入力有り
の場合にはその日付情報に基づいて、また日付情報入力
無しの場合には上記時計回路に記憶された日付情報に基
づいて特定期間内のカレンダ情報を演算する演算手段と
を備えたから、現在角のカレンダについては特定キーた
だ1回のみの操作により極めて簡単にカレンダ表を印字
作成でき、また任意月のカレンダについても、任意月の
入力及び上記特定キーの操作のみにより任意月のカレン
ダ表を印字作成可能である。In addition, the present invention includes a clock circuit that measures and stores current date information, a determination means that determines whether or not date information has been input before a specific key is operated, and, if date information has been input, the date information. , and in the case of no date information input, calculation means for calculating calendar information within a specific period based on the date information stored in the clock circuit. A calendar table can be printed very easily with only one operation, and a calendar table for any month can be printed out simply by inputting the desired month and operating the above-mentioned specific keys.
第1図は、この考案の一実施例を示す概略システム構成
国、第2図は同実施例のフローチャートである。
1・・・・・・入力部、5・・・・・・カレンダキー
6・・・・・・CPU、8・・・・・・時計回路、9・
・・・・・印字部。FIG. 1 shows a schematic system configuration of an embodiment of this invention, and FIG. 2 is a flowchart of the same embodiment. 1... Input section, 5... Calendar key
6...CPU, 8...Clock circuit, 9.
...Printing section.
Claims (1)
入力する入力手段と、この入力手段により入力された日
付情報を記憶する記憶手段と、少なくとも年データおよ
び月データからなる現在の日付情報を計時記憶する時計
回路と、特定キー操作時に前記記憶手段内に日付情報の
記憶が有るか否かを判別する判別手段と、この判別手段
により日付情報の記憶有りと判別された際は前記記憶手
段内の日付情報に基づいて、また前記判別手段により日
付情報の記憶無しと判別された際は前記時計回路内の日
付情報に基づいて特定期間内のカレンダ情報を求める演
算手段と、この演算手段によって求められた前記カレン
ダ情報を印字する印字手段とを備えてなるカレンダ印字
装置。An input means for inputting date information consisting of at least year data and month data, a storage means for storing the date information input by the input means, and a clock for timekeeping and storing current date information consisting of at least year data and month data. a circuit, a determining means for determining whether or not date information is stored in the storage means when a specific key is operated, and when the determining means determines that date information is stored, the date information in the storage means is determined. a calculating means for calculating calendar information within a specific period based on the date information in the clock circuit when the determining means determines that the date information is not stored; A calendar printing device comprising a printing means for printing calendar information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14115179U JPS6037634Y2 (en) | 1979-10-12 | 1979-10-12 | calendar printing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14115179U JPS6037634Y2 (en) | 1979-10-12 | 1979-10-12 | calendar printing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5660130U JPS5660130U (en) | 1981-05-22 |
JPS6037634Y2 true JPS6037634Y2 (en) | 1985-11-09 |
Family
ID=29372482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP14115179U Expired JPS6037634Y2 (en) | 1979-10-12 | 1979-10-12 | calendar printing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6037634Y2 (en) |
-
1979
- 1979-10-12 JP JP14115179U patent/JPS6037634Y2/en not_active Expired
Also Published As
Publication number | Publication date |
---|---|
JPS5660130U (en) | 1981-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
GB1275001A (en) | Programmable electronic calculator | |
GB2060968A (en) | Electronic cash register | |
JPS6037634Y2 (en) | calendar printing device | |
JP2661020B2 (en) | Schedule memory display device | |
JPS6037633Y2 (en) | calendar printing device | |
JPS609290B2 (en) | Calendar printing method | |
US4097924A (en) | Computer operator guide device | |
JPH041287B2 (en) | ||
JPH0445071Y2 (en) | ||
JPS6239466Y2 (en) | ||
JPS6248251B2 (en) | ||
JPS6349802B2 (en) | ||
JPH0658711B2 (en) | POS system | |
Scott | Automatic calculation of specific activities from liquid scintillation counter data using a desk-top computer | |
JPS59140556A (en) | Display control system | |
JPH021627Y2 (en) | ||
JPS60252941A (en) | Registration data input processing method | |
JPS6225799Y2 (en) | ||
JPH0124660Y2 (en) | ||
JPH082749Y2 (en) | Multifunction calculator | |
JPS62143169A (en) | Schedule input device | |
JPH0738191B2 (en) | Document processing device with date automatic update output function | |
JPS5829042A (en) | Information processing system | |
JPS59112389A (en) | electronic register | |
JPH1040315A (en) | Graph generation output device |