JPS60104358A - Character processing apparatus - Google Patents

Character processing apparatus

Info

Publication number
JPS60104358A
JPS60104358A JP58210723A JP21072383A JPS60104358A JP S60104358 A JPS60104358 A JP S60104358A JP 58210723 A JP58210723 A JP 58210723A JP 21072383 A JP21072383 A JP 21072383A JP S60104358 A JPS60104358 A JP S60104358A
Authority
JP
Japan
Prior art keywords
register
printing
character
characters
document
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.)
Pending
Application number
JP58210723A
Other languages
Japanese (ja)
Inventor
Yoichi Sakamoto
陽一 坂本
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58210723A priority Critical patent/JPS60104358A/en
Publication of JPS60104358A publication Critical patent/JPS60104358A/en
Pending 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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/46Applications of alarms, e.g. responsive to approach of end of line

Landscapes

  • Document Processing Apparatus (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To make it possible to avoid undesired printing, by discriminating whether a character receiving printing indication is an already printed character or not on the basis of the content of a printing leading register and preventing the driving of a printing means in the case of the already printed character. CONSTITUTION:When a power source is turned ON, a printing leading register 11 and a cursor register 12 stores the leading position of document 10 by the program of ROM8 and a new figure code is written in the position shown by the register of the document memory 10 by new figure input and the register 12 is allowed to step. In the next step, the contents of both registers 11, 12 are compared and, if the content of the register 11 is equal to or larger than that of the register 12, printing is not performed in an already printed part and, if smaller, characters from the character shown by the register 11 to the character directly before the character by the register 12 are printed. By this method, when automatic printing is performed by using the end of the paragraph of a document as one unit, trouble for again printing an already printed part is avoided.

Description

【発明の詳細な説明】 [技術分野] 本発明は入力に従って逐次的にその入力された文字等を
印刷する機能を有する文字処理装置に関するものである
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a character processing device having a function of sequentially printing input characters, etc. in accordance with input.

[従来技術] 従来のこの種装置1例えば段落中位で人力された文書を
自動的に印刷する文字処理装置において、すでに印刷し
終えた文書中の部分を指示した状態のまま段落を示す改
行キー等を押下すると、印刷済みの部分を再度印刷して
しまう等の操作者が望んでいない印刷が行われてしまう
惧れがあった。
[Prior Art] In a conventional device of this type 1, for example, a character processing device that automatically prints a document manually entered in the middle of a paragraph, a line feed key that indicates a paragraph while pointing to a portion of the document that has already been printed is used. , etc., there is a risk that printing that the operator does not desire may occur, such as reprinting an already printed portion.

〔目 的〕〔the purpose〕

本発明の目的は、上記の欠点を除去し、すでに印刷済み
の部分が指示されている場合には逐次的な印刷を行われ
ないようになして、茶所gノな印刷を回避し得るように
した文字処理装置を提供することにある。
SUMMARY OF THE INVENTION The object of the present invention is to eliminate the above-mentioned drawbacks and avoid unnecessary printing by preventing sequential printing when an already printed part is indicated. The object of the present invention is to provide a character processing device that provides the following features.

[実 施 例] ν下に、図面を参照して本発明の詳細な説明する。[Example] ν A detailed explanation of the present invention will be given below with reference to the drawings.

第1図は本発明の全体構成を示す。図に示すように、キ
ーボードlがらキー人力があると1編集手段2は入力さ
れたキーに応じて編集処理を行い、文書メモリ4を変更
する。また、あらかじめ定めた条件に合致したときには
印刷手段3を駆動する。印刷手段3は編集手段2により
駆動されると、印刷先頭レジスタ5が示す文字以降の文
字を印刷する。印刷された最終文字の次の文字の位品情
報が印刷先頭レジスタ5に記憶される。しかるに、−上
述のあらがじめ定めた条件が印刷先頭レジスタ5が示す
位置以前で発生したときは、編集手段2または印刷手段
3によりそれが検出され、印刷は行われない。
FIG. 1 shows the overall configuration of the present invention. As shown in the figure, when there is a key input from the keyboard 1, the editing means 2 performs an editing process according to the input key, and changes the document memory 4. Further, when a predetermined condition is met, the printing means 3 is driven. When the printing means 3 is driven by the editing means 2, it prints the characters after the character indicated by the print head register 5. The quality information of the character following the last printed character is stored in the print head register 5. However, - if the above-mentioned predetermined condition occurs before the position indicated by the printing start register 5, it is detected by the editing means 2 or the printing means 3 and no printing is performed.

第2図は本発明装置の一実施例の構成を示し、ここでキ
ーボード6は改行キーおよびその他文字処理に必要な各
種キーを有する。CPU7はマイクロプロセッサであり
、ROM8に記憶された手順に従うて文字処理に必要な
制御を行う。ROM8は第3図に示す手順を記憶してい
るメモリである。RAM9は書込み可能メモリであり、
文書メモリ10.印刷先頭レジスタ11.カーソルレジ
スタ12.および文字処理に必要なその他のメモリを有
する。文書メモリlOには文字コードを格納し、印刷先
頭レジスタ11には未印刷文字の先頭位置を記憶する。
FIG. 2 shows the configuration of an embodiment of the apparatus of the present invention, in which the keyboard 6 has a line feed key and other various keys necessary for character processing. The CPU 7 is a microprocessor, and performs control necessary for character processing according to procedures stored in the ROM 8. ROM8 is a memory that stores the procedure shown in FIG. RAM9 is a writable memory,
Document memory 10. Print head register 11. Cursor register 12. and other memory required for character processing. The document memory IO stores character codes, and the print head register 11 stores the head positions of unprinted characters.

また、カーソルレジスタ12にはカーソル位置を記憶す
る。次に、プリンタ13は文字の印刷を行う。パスライ
ン14は上述の各構成要素の制御に必要なアドレス、デ
ータ、およびコントロール信号の転送を行う。
The cursor register 12 also stores the cursor position. Next, the printer 13 prints characters. The pass line 14 transfers addresses, data, and control signals necessary for controlling each of the above-mentioned components.

次に、以上の構成から成る本実施例の動作を説明する。Next, the operation of this embodiment having the above configuration will be explained.

第3図はROM8に記憶されている手順を示すフローチ
ャートであり、本図に従って本実施例の動作を説明する
。電源投入後、ステップS1にてキー人力待ちとなる。
FIG. 3 is a flowchart showing the procedure stored in the ROM 8, and the operation of this embodiment will be explained according to this diagram. After the power is turned on, the system waits for key power in step S1.

このとき、印刷先頭レジスタIIおよびカーソルレジス
タ12は、文書メモリ10の先頭の位置を記憶している
。改行キーを入力すると、ステップS2を経てステップ
S3に進み、改行コードを文書メモリ10におけるカー
ソルレジスタ12の示す位置に書込む。次に、ステップ
S4にてカーソルレジスタ12を1文字分歩進させる0
次に、ステップS5にて印刷先頭レジスタ11の内容と
カーソルレジスタ12の内容とを比較する。印刷先頭レ
ジスタ11の内容がカーソルレジスタ12の内容に等し
いか、もしくはそれよりも大ならば、両レジスタにより
規定される部分はすでに印刷済の部分なので印刷は行わ
れず、直接ステップSlに戻る。しかるに、レジスタ1
1の内容が小であれば、ステップS6に進み、印刷先頭
レジスタl!が示す文字からカーソルレジスタ12が示
す文字の直前の文字までを印刷する。次に、ステップS
7に進み。
At this time, the print head register II and the cursor register 12 store the position of the head of the document memory 10. When the line feed key is input, the process advances to step S3 via step S2, and a line feed code is written in the position indicated by the cursor register 12 in the document memory 10. Next, in step S4, the cursor register 12 is incremented by one character.
Next, in step S5, the contents of the print head register 11 and the contents of the cursor register 12 are compared. If the contents of the print head register 11 are equal to or larger than the contents of the cursor register 12, the portion defined by both registers has already been printed, so printing is not performed and the process returns directly to step Sl. However, register 1
If the content of 1 is small, the process advances to step S6, and print head register l! The characters from the character indicated by to the character immediately before the character indicated by the cursor register 12 are printed. Next, step S
Proceed to step 7.

カーソルレジスタ12が記憶している内容を印刷先頭レ
ジスタ11に記憶する0次に、ステップSlに戻り、再
びキー人力待ちとなる。
The contents stored in the cursor register 12 are stored in the print head register 11.Next, the process returns to step Sl, and the process waits again for key input.

ステップSIにおいて他の種々のキー人力があると、ス
テップS2を経てステップS8に進み、入力されたキー
の種類に応じて文字処理に必要な種々の処理が行われて
ステップSlに戻る。
If there is any other key input in step SI, the process advances to step S8 via step S2, where various processes necessary for character processing are performed depending on the type of key input, and the process returns to step SI.

なお、上述の実施例においては、文書の段落毎に、すな
わち改行キーの入力毎に、それまでに入力された文字の
印刷を行うようにしたが、これに代えて、−性分入力完
了毎に、または−文字分入力完了毎に印刷を行うように
しても良い。
In the above embodiment, the characters input so far are printed for each paragraph of the document, that is, each time the line feed key is input. Alternatively, printing may be performed every time the input of characters is completed.

[効 果] 以上説明したように、本発明によれば、文書の段落等を
一単位として自動印刷する場合において、すでに印刷さ
れた部分を再度印刷してしまうといった弊害の発生を回
避でき、以て操作者が望まない印刷が行われることを確
実に防止することができる。
[Effects] As explained above, according to the present invention, when automatically printing paragraphs, etc. of a document as a unit, it is possible to avoid the problem of reprinting an already printed part, and the following can be achieved. Therefore, it is possible to reliably prevent printing that is not desired by the operator.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の全体構成図、 第2図は本発明文字処理装置の一実施例の構成を示すブ
ロク′り図、 第3図は第2図示の装置の文字処理手順の一例を示すフ
ローチャートである。 l・・・キーボード、 2・・・編集手段、 3・・・印刷手段、 4・・・文書メモリ、 5・・・印刷先頭レジスタ、 6・・・キーボード、 7・・・マイクロプロセッサ(cpu)8・・・メモリ
(ROM)、 9・・・書込み可能メモリ(RAM) IO・・・文書メモリ、 11・・・印刷先頭レジスタ、 12・・・カーソルレジスタ、 13・・・プリンタ、 14・・・パスライン。 特許出願人 キャノン株式会社
FIG. 1 is an overall configuration diagram of the present invention. FIG. 2 is a block diagram showing the configuration of an embodiment of the character processing device of the present invention. FIG. 3 is an example of a character processing procedure of the device shown in FIG. It is a flowchart. 1...Keyboard, 2...Editing means, 3...Printing means, 4...Document memory, 5...Print start register, 6...Keyboard, 7...Microprocessor (CPU) 8...Memory (ROM), 9...Writable memory (RAM) IO...Document memory, 11...Print start register, 12...Cursor register, 13...Printer, 14... ·Path line. Patent applicant Canon Co., Ltd.

Claims (1)

【特許請求の範囲】 文字を記憶する文書メモリと、 該文書メモリに記憶された文字における未印刷文字の先
頭位置情報を記憶する印刷先頭レジスタと、 前記文書メモリ内の文字を印刷する印刷手段とを治し、 該印刷手段による印刷を指示された文字が既印刷文字か
否かを前記印刷先頭レジスタの内容にもとづき判別し、
既印刷文字の場合には前記印刷手段を駆動しないように
したことを特徴とする文字処理装置。 (以下、余白)
[Scope of Claims] A document memory that stores characters; a print start register that stores information on the start position of unprinted characters among the characters stored in the document memory; and printing means that prints the characters in the document memory. determine whether the character instructed to be printed by the printing means is a previously printed character based on the contents of the print head register;
A character processing device characterized in that the printing means is not driven in the case of already printed characters. (Hereafter, margin)
JP58210723A 1983-11-11 1983-11-11 Character processing apparatus Pending JPS60104358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58210723A JPS60104358A (en) 1983-11-11 1983-11-11 Character processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58210723A JPS60104358A (en) 1983-11-11 1983-11-11 Character processing apparatus

Publications (1)

Publication Number Publication Date
JPS60104358A true JPS60104358A (en) 1985-06-08

Family

ID=16594031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58210723A Pending JPS60104358A (en) 1983-11-11 1983-11-11 Character processing apparatus

Country Status (1)

Country Link
JP (1) JPS60104358A (en)

Similar Documents

Publication Publication Date Title
JPS6159920B2 (en)
JPS60104358A (en) Character processing apparatus
JPS59129182A (en) Printing apparatus
JPH07177348A (en) Printer device
JPH079739A (en) Printer
JP3330855B2 (en) Printer system, printer operation control method, and recording medium
JPS63312845A (en) Page managing system
JP2886928B2 (en) Printing control device
JPS60110033A (en) Display printer
JPH04111116A (en) Character processor
JPS60104360A (en) Character processing apparatus
JPH0592649A (en) Label printer
JPH07160688A (en) Method for printing and editing document
JPS62291263A (en) Image output device
JPH06155808A (en) Printing control device and print control method
JPH0624048A (en) Printer
JPH06104371B2 (en) Printer
JPH05138995A (en) Printer
JPH02225070A (en) Printing device
JPH0732697A (en) Printing device
JPH03214228A (en) Control system for serial printer
JPS61197266A (en) Page-turning system for continuous paper used in printer
JPS63128952A (en) Text processing apparatus
JPH01228877A (en) Printing mode setting for printer
JPH02257272A (en) Document processor