JPH07160688A - Method for printing and editing document - Google Patents

Method for printing and editing document

Info

Publication number
JPH07160688A
JPH07160688A JP5307959A JP30795993A JPH07160688A JP H07160688 A JPH07160688 A JP H07160688A JP 5307959 A JP5307959 A JP 5307959A JP 30795993 A JP30795993 A JP 30795993A JP H07160688 A JPH07160688 A JP H07160688A
Authority
JP
Japan
Prior art keywords
printing
document
print
printed
line
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
JP5307959A
Other languages
Japanese (ja)
Inventor
Kosuke Kuwata
浩資 鍬田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP5307959A priority Critical patent/JPH07160688A/en
Publication of JPH07160688A publication Critical patent/JPH07160688A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To perform printing without eliminating the printed part when a document error is found during the printing. CONSTITUTION:A document to be printed is developed to a printing buffer by one line (step S1). An address representing the degree of the development is stored in a register A (step S2) and one line of printing is performed (step S3). In this case, when 'a key temporarily stopping printing' is depressed (step S4), one line of printing is ended and the printing is temporarily stopped. An editable area is calculated from the address value stored in the register 'A' and the discrimination reference is shown in the edition screen (step S6). The edition of the document is performed (step S7) and when the key 'executing printing' is depressed, the above-mentioned operation is repeated and the printing is restarted from the printing start position (the next line) by referring to the register 'A'. A CPU executes the operation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ワードプロセッサ等の
文書処理装置に於ける文書の印刷編集方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document printing / editing method in a document processing apparatus such as a word processor.

【0002】[0002]

【従来の技術】ワードプロセッサ等の文書処理装置は、
作成し表示部に表示されている文書を、印刷部で用紙に
印刷する印刷機能を有している。また、このような文書
処理装置では、入力部に「印刷途中解除」キーを設けて
あり、印刷中に、印刷機能を途中で解除することができ
るようになっている。即ち、印刷中に、表示部の表示文
書中に誤りを発見した場合、それが誤字や脱字等の取り
返しのつかない文書である場合は、用紙やインクリボン
の無駄遣いになるために、印刷を途中解除できるように
なっている。
2. Description of the Related Art A document processing device such as a word processor is
The printing unit has a printing function of printing a document created and displayed on the display unit on a sheet. Further, in such a document processing apparatus, a “halfway printing cancellation” key is provided in the input section so that the printing function can be canceled halfway during printing. That is, if an error is found in the displayed document on the display unit during printing, and if it is a irreversible document such as a typographical error or a missing character, the paper or ink ribbon is wasted. It can be released.

【0003】[0003]

【発明が解決しようとする課題】実際、上記のような文
書処理装置では、「印刷途中解除」キーの入力があった
時点で、印刷機能は終了し、その後、途中まで印刷がな
された用紙は印刷部から排紙されてしまう。このような
処理を行えば、1ページ全文印字してから再度修正して
印字し直すよりも、インクリボンは節約できるが、文書
のまだ印字されていない部分の間違いであっても、最初
の印刷部分は無駄になってしまう。
In fact, in the document processing apparatus as described above, the printing function is terminated at the time when the "halfway printing cancel" key is pressed, and then the partially printed sheets are not printed. The paper is ejected from the printing section. This kind of processing saves the ink ribbon compared to printing one page full text, then correcting and printing again, but even if it is an error in the unprinted part of the document, the first printing The part is wasted.

【0004】本発明の課題は、印刷途中で印刷を一時中
断し、文書の編集後に印刷を再開でき、しかも既に印刷
されている部分を無駄にすることなく印刷が行えるよう
にすることである。
An object of the present invention is to suspend printing in the middle of printing, restart printing after editing a document, and enable printing without wasting already printed portions.

【0005】[0005]

【課題を解決するための手段】本発明の手段は次の通り
である。文書の印刷途中で印刷を一時停止し、印刷済み
領域と印刷されていない領域とを識別して表示し、文書
を印刷途中で編集し、編集終了後、印刷を続行する。
The means of the present invention are as follows. Printing is temporarily stopped during printing of the document, a printed area and an unprinted area are identified and displayed, the document is edited during printing, and printing is continued after editing is completed.

【0006】[0006]

【作用】本発明の手段の作用は次の通りである。文書の
印刷途中で、文書の間違いを発見した場合に、まず、文
書の印刷途中で印刷を一時停止し、印刷済み領域と印刷
されていない領域とを識別して表示する。そして、文書
の間違っている部分を印刷途中で編集し、この編集終了
後、一時停止した部分から続けて同一の用紙に印刷を続
行する。
The operation of the means of the present invention is as follows. If a document error is found during printing of the document, first, printing is temporarily stopped during printing of the document, and the printed area and the unprinted area are identified and displayed. Then, the wrong portion of the document is edited during printing, and after this editing is finished, printing is continued on the same paper continuously from the paused portion.

【0007】[0007]

【実施例】以下、本発明の一実施例を図1の(A)乃至
図3を参照して説明する。図2は本発明の一実施例の文
書印刷編集方法の適用されたワードプロセッサのブロッ
ク構成図であり、同図に於いて、参照番号10は当該ワ
ードプロセッサ全体を制御するCPUである。12は上
記CPU10で実行されるプログラムを記憶するプログ
ラム記憶メモリであり、14は仮名漢字変換等の変換処
理を行う際に参照される変換辞書を記憶する変換辞書メ
モリである。16はRAMであり、後述するような一時
停止時の停止位置を示すアドレスを記憶するレジスタ
“A”16A、1ライン分の印刷終了時にたてられる印
刷終了フラグ16B、作成した文書を記憶する文書記憶
メモリ16Cを含む。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 2 is a block configuration diagram of a word processor to which the document printing / editing method according to one embodiment of the present invention is applied. In FIG. 2, reference numeral 10 is a CPU for controlling the entire word processor. Reference numeral 12 is a program storage memory that stores a program executed by the CPU 10, and reference numeral 14 is a conversion dictionary memory that stores a conversion dictionary referred to when performing conversion processing such as kana-kanji conversion. Reference numeral 16 denotes a RAM, which is a register "A" 16A for storing an address indicating a stop position at the time of a temporary stop, a print end flag 16B set at the end of printing for one line, and a document for storing a created document. It includes a storage memory 16C.

【0008】18は通常の文字数字キーや「印刷実行」
キー等(図示せず)を有するキーボード等の入力部であ
る。この入力部18には、さらに、印刷の一時停止を指
示するための「印刷一時停止」キー18Aが設けられて
いる。
Reference numeral 18 is an ordinary character / numerical key or "print execution".
An input unit such as a keyboard having keys (not shown). The input section 18 is further provided with a "print pause" key 18A for instructing a print pause.

【0009】20は表示部22を制御する表示コントロ
ーラであり、表示データが展開される表示バッファ20
Aを有している。同様に、24は印刷部26を制御する
印刷コントローラであり、印刷データが展開される印刷
バッファ24Aを有している。
Reference numeral 20 denotes a display controller for controlling the display unit 22, which is a display buffer 20 in which display data is expanded.
Have A. Similarly, a print controller 24 controls the printing unit 26, and has a print buffer 24A in which print data is expanded.

【0010】次に、このような構成に於ける動作を説明
する。図1の(A)は、入力部18の不図示「印刷実
行」キーの操作によって開始されるCPU10による印
刷動作のフローチャートである。なお、印刷解除による
印刷の終了、及びインクリボン切れ、プリンタ異常等の
処理は本発明の要旨とは直接関係しないので、ここでは
説明を省略するものとする。また、説明の簡単化のた
め、1ページ分の印刷動作として説明する。
Next, the operation in such a configuration will be described. FIG. 1A is a flowchart of the printing operation by the CPU 10 which is started by operating the “print execution” key (not shown) of the input unit 18. It should be noted that the end of printing by canceling the printing, the processing such as the ink ribbon running out, and the printer abnormality are not directly related to the gist of the present invention, and therefore the description thereof is omitted here. In addition, for simplification of description, a printing operation for one page will be described.

【0011】まず、印字が開始されると、仮想イメージ
展開ルーチンが実行され(ステップS1)、印刷対象の
文書を文書記憶メモリ16から指定用紙サイズの印刷イ
メージで1ライン分だけ印刷バッファ24Aに展開す
る。この場合、1ラインとは、印刷部の図示しない印字
ヘッドのドット数によって決まるものである。例えば、
印字ヘッドが文書の2行文のドット数を持つものであ
り、表示部22には図3に示すような印刷開始時文書の
画面表示22Aがなされているとすれば、印刷バッファ
24Aには、図1の(B)に示すように、行データA及
びBが展開される(表示バッファ20Aには、行データ
A乃至Zが展開されている)。
First, when printing is started, a virtual image development routine is executed (step S1), and the document to be printed is developed from the document storage memory 16 into the print buffer 24A by one line as a print image of the designated paper size. To do. In this case, one line is determined by the number of dots of a print head (not shown) of the printing unit. For example,
Assuming that the print head has a dot number of two lines of the document and the display unit 22 displays a screen display 22A of the document at the start of printing as shown in FIG. As shown in (B) of 1, the row data A and B are expanded (the row data A to Z are expanded in the display buffer 20A).

【0012】また、この時、どこまで文書を印刷バッフ
ァ24Aに展開したかを示す文書記憶メモリ16Cのア
ドレスをレジスタ“A”16Aに記憶する(ステップS
2)。
At this time, the address of the document storage memory 16C indicating the extent to which the document is expanded in the print buffer 24A is stored in the register "A" 16A (step S).
2).

【0013】そして、印刷コントローラ24により、こ
の印刷バッファ24Aに展開された印刷イメージデータ
を印刷部26に転送しながら1ライン分の印字が行われ
る(ステップS3)。印刷コントローラ24では、この
1ライン分のデータを印刷部26で印字した後に、印字
終了フラグ16Bをたてる。
Then, the print controller 24 prints one line while transferring the print image data developed in the print buffer 24A to the printing unit 26 (step S3). In the print controller 24, after the data for one line is printed by the printing unit 26, the print end flag 16B is set.

【0014】CPU10は、この印刷終了フラグ16B
を判断して、1ライン分の印刷終了後に、入力部18の
「印刷一時停止」キー18Aが押されたかどうかを判断
する(ステップS4)。
The CPU 10 sends the print end flag 16B.
After the completion of printing one line, it is determined whether or not the "temporary stop printing" key 18A of the input unit 18 has been pressed (step S4).

【0015】「印刷一時停止」キー18Aが押されてい
なかった場合は、印刷すべき文書データがまだ残ってい
るかどうかを判断し(ステップS5)、まだ印刷すべき
文書データがあれば、上記ステップS1に戻って、上記
動作を繰り返す。
If the "pause printing" key 18A has not been pressed, it is judged whether or not the document data to be printed still remains (step S5). If there is document data to be printed, the above steps are performed. Returning to S1, the above operation is repeated.

【0016】また、途中に「印刷一時停止」キー18A
の入力があった場合、例えば、上記行データA,Bの印
刷途中で「印刷一時停止」キー18Aが押された場合に
は、その行データA,Bの印刷終了後、印刷動作を一時
停止する。これにより、印刷部26には、図3に示すよ
うな印刷一時停止状態の用紙26Aが排紙されることな
く留まる。そして、CPU10は、レジスタ“A”16
Aに記憶されているアドレス値から編集可能な領域を算
出し、編集画面にその判断基準を示す(ステップS
6)。例えば、印刷済みの領域には図3に斜線のハッチ
ングで示すような網掛けによる印刷済み表示28を行
い、この領域にカーソルが移動しないように制御して、
編集処理を禁止する。そして、文書の編集ルーチンを実
行して、文書の修正編集を受け付ける(ステップS
7)。そして、編集終了後、例えば図3に示すような編
集後画面表示22B(変更箇所を二重丸で示す)に於い
て、再び入力部18の不図示の「印刷実行」キーが押さ
れると、上記ステップS1に戻って、上記の動作が繰り
返される。即ち、編集後の文書が上記ステップS1の仮
想イメージ展開ルーチンで印刷イメージに展開され、レ
ジスタ“A”16Aを参照して指定の印字開始位置から
印刷を開始する。
In addition, a "pause printing" key 18A is provided on the way.
Is input, for example, when the "temporary stop printing" key 18A is pressed during the printing of the row data A and B, the printing operation is temporarily stopped after the printing of the row data A and B is completed. To do. As a result, the sheet 26A in the printing suspension state as shown in FIG. 3 remains in the printing unit 26 without being ejected. Then, the CPU 10 causes the register “A” 16
The editable area is calculated from the address value stored in A, and the judgment criteria are shown on the edit screen (step S
6). For example, in the printed area, a shaded hatched printed area 28 shown in FIG. 3 is displayed to control the cursor so that the cursor does not move to this area.
Prohibit editing processing. Then, the document editing routine is executed to accept the correction and editing of the document (step S
7). Then, after the editing is completed, when the "print execution" key (not shown) of the input unit 18 is pressed again in the edited screen display 22B (changed portions are indicated by double circles) as shown in FIG. 3, for example, Returning to step S1, the above operation is repeated. That is, the edited document is developed into a print image by the virtual image development routine of step S1, and printing is started from the designated print start position by referring to the register "A" 16A.

【0017】こうして、ステップS5に於いて、印刷す
べきデータがなくなったと判断されたならば、この印刷
動作を終了する。これにより、図3に示すような印刷終
了状態の用紙26Bが得られる。
When it is determined in step S5 that there is no more data to be printed, the printing operation is ended. As a result, the paper 26B in the printing completed state as shown in FIG. 3 is obtained.

【0018】以上のように、印刷一時停止機能を設け、
一時停止した際に次の印刷開始行を記憶し、また、いま
までに印字された行を判断することによってまだ印刷さ
れていない文書領域であれば文書を編集できるようにし
て、編集後、印刷を再開することにより、途中誤りが発
見された場合に最初から印刷をやり直すことを避けられ
るようにしたものである。なお、上記実施例では、印刷
済み領域を識別表示して編集不可にしたが、識別表示の
みを行って編集は可能としても良い。
As described above, the print suspension function is provided,
When the printing is paused, the next print start line is stored, and the line that has been printed so far can be judged so that the document can be edited in the document area that has not been printed. By restarting the process, it is possible to avoid restarting the printing from the beginning when an error is found on the way. It should be noted that in the above embodiment, the printed area is identified and displayed so as not to be edited, but it is also possible to edit only the identification and display.

【0019】[0019]

【発明の効果】本発明によれば、印刷途中で文書の間違
い等を発見した場合に、文書の編集ができ、しかも編集
した領域が既に印刷されている領域であるか否かをオペ
レータが認識できるので、編集した領域が未だ印刷され
ていない領域であれば、編集後に、再度印刷途中から印
字でき、印刷を最初からやり直す現在の装置に比べて、
手間、用紙、インクリボンの節約ができる。
According to the present invention, when an error or the like in a document is found during printing, the document can be edited, and the operator recognizes whether or not the edited region is already printed. Since it is possible, if the edited area is an area that has not been printed yet, you can print again after printing after editing and restart printing from the beginning compared to the current device,
You can save time, paper, and ink ribbon.

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

【図1】(A)は一実施例の動作フローチャートであ
り、(B)は入力文書データの印刷バッファへのイメー
ジ展開を説明するための図である。
FIG. 1A is an operation flowchart of one embodiment, and FIG. 1B is a diagram for explaining image development of input document data in a print buffer.

【図2】一実施例の文書印刷編集方法の適用されたワー
ドプロセッサのブロック構成図である。
FIG. 2 is a block configuration diagram of a word processor to which a document print editing method according to an embodiment is applied.

【図3】一実施例の動作を説明するための表示画面及び
印刷結果の遷移図である。
FIG. 3 is a transition diagram of a display screen and a print result for explaining the operation of the embodiment.

【符号の説明】[Explanation of symbols]

10…CPU、12…プログラム記憶メモリ、14…変
換辞書メモリ、16…RAM、16A…レジスタ
“A”、16B…印刷終了フラグ、16C…文書記憶メ
モリ、18…入力部、18A…「印刷一時停止」キー、
20…表示コントローラ、20A…表示バッファ、22
…表示部、22A…印刷開始時文書画面表示、22B…
編集後画面表示、24…印刷コントローラ、24A…印
刷バッファ、26…印刷部、26A…印刷一時停止状
態、26B…印刷終了状態用紙、28…印刷済み表示。
10 ... CPU, 12 ... Program storage memory, 14 ... Conversion dictionary memory, 16 ... RAM, 16A ... Register "A", 16B ... Printing end flag, 16C ... Document storage memory, 18 ... Input section, 18A ... "Printing pause "Key,
20 ... Display controller, 20A ... Display buffer, 22
... Display unit, 22A ... Document screen display at the start of printing, 22B ...
Post-editing screen display, 24 ... Print controller, 24A ... Print buffer, 26 ... Printing section, 26A ... Printing paused state, 26B ... Printing end state paper, 28 ... Printed display.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文書の印刷途中で印刷を一時停止し、 印刷済み領域と印刷されていない領域とを識別して表示
し、 文書を印刷途中で編集し、 編集終了後、印刷を続行することを特徴とする文書印刷
編集方法。
1. A method for temporarily stopping printing during printing of a document, identifying and displaying a printed area and an unprinted area, editing the document during printing, and continuing printing after the editing is completed. A method for printing and editing a document characterized by.
JP5307959A 1993-12-08 1993-12-08 Method for printing and editing document Pending JPH07160688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5307959A JPH07160688A (en) 1993-12-08 1993-12-08 Method for printing and editing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5307959A JPH07160688A (en) 1993-12-08 1993-12-08 Method for printing and editing document

Publications (1)

Publication Number Publication Date
JPH07160688A true JPH07160688A (en) 1995-06-23

Family

ID=17975235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5307959A Pending JPH07160688A (en) 1993-12-08 1993-12-08 Method for printing and editing document

Country Status (1)

Country Link
JP (1) JPH07160688A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009009230A (en) * 2007-06-26 2009-01-15 Canon Inc Information processor, information processing method, recording medium and program
US8836740B2 (en) 2011-06-30 2014-09-16 Brother Kogyo Kabushiki Kaisha Printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009009230A (en) * 2007-06-26 2009-01-15 Canon Inc Information processor, information processing method, recording medium and program
US8836740B2 (en) 2011-06-30 2014-09-16 Brother Kogyo Kabushiki Kaisha Printer

Similar Documents

Publication Publication Date Title
JP2774369B2 (en) Image recording device
JPH10138569A (en) Character information-processing apparatus
JPH07160688A (en) Method for printing and editing document
JPH07319868A (en) Text editing processor
JP2851973B2 (en) Output method and device
JPH0635903A (en) Document processor with printing correction mode
JPH08156334A (en) Character information processing device
JPH01145760A (en) Document generating device
JPH1017168A (en) Paper sheet cassette automatic switching method
JPH0688430B2 (en) Document editing device
JPH0245206B2 (en)
JP2886928B2 (en) Printing control device
JPS6367174A (en) Data printing apparatus
JPH07249038A (en) Document processor
JPH07106666B2 (en) Document creation device
JPH04338576A (en) Printer device
JPH07129559A (en) Document processor
JPH04370876A (en) Printing range setting method for word processing system
JPH06199020A (en) Method and apparatus for controlling label printing
JPH08132677A (en) Character processor
JPH0624048A (en) Printer
JPH05124272A (en) Cache controller for common printer
JPH07205518A (en) Printing control method for page printer
JPH09190114A (en) Printer device
JPH06104371B2 (en) Printer