JPH0436872B2 - - Google Patents

Info

Publication number
JPH0436872B2
JPH0436872B2 JP58002910A JP291083A JPH0436872B2 JP H0436872 B2 JPH0436872 B2 JP H0436872B2 JP 58002910 A JP58002910 A JP 58002910A JP 291083 A JP291083 A JP 291083A JP H0436872 B2 JPH0436872 B2 JP H0436872B2
Authority
JP
Japan
Prior art keywords
printing
page
print
printed
data
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
JP58002910A
Other languages
Japanese (ja)
Other versions
JPS59129182A (en
Inventor
Yasuhiro Tani
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 JP58002910A priority Critical patent/JPS59129182A/en
Publication of JPS59129182A publication Critical patent/JPS59129182A/en
Publication of JPH0436872B2 publication Critical patent/JPH0436872B2/ja
Granted 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/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism

Landscapes

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

Description

【発明の詳細な説明】 技術分野 本発明は、印刷制御方法に関し、特にある頁の
印刷イメージデータの印刷処理中に、印刷処理の
中断が発生した場合の再開の処理に係る印刷制御
方法に関するものである。
TECHNICAL FIELD The present invention relates to a print control method, and particularly to a print control method related to restart processing when print processing is interrupted during printing processing of print image data of a certain page. It is.

従来技術 従来この種の方法を用いた装置は印刷中に用紙
がつまつてペーパジヤムを起したり、装置が異常
動作を起した場合等のエラー時において異常状態
を処理して正常状態に復帰させ再印字する際に以
下のような方法を採つていた。(1)先頭の頁から再
印字し直す。(2)部分印刷処理によりオペレータが
再度印刷したいところを指定入力し印字を再開す
る。
Conventional technology Conventionally, devices using this type of method handle the abnormal state and restore the normal state in the event of an error such as when paper jams during printing or when the device malfunctions. When reprinting, the following method was used. (1) Reprint from the first page. (2) Through partial printing processing, the operator specifies and inputs the part he wants to print again and resumes printing.

(1)の先頭の頁より再印字をする場合は、装置自
体は簡単な構造で済むが、大量の印刷物特に頁印
刷や特定部数印刷等の場合は先頭頁から再印字を
行なうので非常に多くの時間を要した。また、(2)
の部分印刷により印刷を再開する場合も、オペレ
ータが印字開始場所を指定しなければならず、ま
た大量の文書を扱つている場合は印字再開位置を
捜すことが大変であるなどの問題があつた。
If you want to reprint from the first page in (1), the device itself will have a simple structure, but when printing a large amount of printed matter, especially page printing or printing a specific number of copies, you will need to reprint from the first page, which will require a large number of prints. It took a long time. Also, (2)
Even when restarting printing by partially printing, the operator has to specify the printing start position, and when handling a large number of documents, it is difficult to find the printing restart position. .

目 的 本発明は上記の点に鑑みてなされたもので、あ
る頁の印刷イメージデータの印刷処理中に、印刷
処理の中断状態が発生した場合は、その後の印刷
処理の再開時には、印刷処理の中断状態が発生し
た頁のデータを先頭から再印刷することができる
印刷制御方法を提供することを目的とする。
Purpose The present invention has been made in view of the above-mentioned points.If the print process is interrupted during the print process of the print image data of a certain page, when the print process is restarted after that, the print process is stopped. It is an object of the present invention to provide a print control method capable of reprinting data of a page where an interrupted state has occurred from the beginning.

実施例 以下、本発明の一実施例を添付された図面と共
に説明する。
Embodiment Hereinafter, an embodiment of the present invention will be described with reference to the attached drawings.

第1図は本発明方法を用いた印字装置の一実施
例を説明するための回路ブロツク図であり、1は
中央処理装置(CPU)等の主制御装置であり、
各装置に対し命令を出したり種々の処理を行ない
装置全体の制御を行なう。2はキー入力装置であ
りオペレータが実行するための種々のキー入力ス
イツチが備えられている。3は文書格納バツフア
であり印刷するデータを格納し、主制御装置1か
らの命令により必要な印刷データを主制御装置1
に出力したり、入力装置2より入力されたデータ
を主制御装置1の監視の下で印刷データとして変
換して文書格納バツフア3へ入力し一時記憶す
る。この文書格納バツフア3は、後述するように
例えば第2図に示すように印刷イメージと同じ形
式で一時記憶されている。4は現在印刷中の頁の
先頭部の位置を文書格納バツフア3内のアドレス
に対応させて前記先頭位置アドレスを格納してい
る印刷先頭位置レジスタ(以下印刷先頭レジスタ
と略記する)である。この印刷先頭レジスタ4は
印字動作において印刷中の頁が印刷終了する迄前
記印刷中のページの先頭位置アドレスを格納し前
記ページを印字終了後に次ページの印刷の先頭位
置アドレスを主制御装置1からの命令により入力
する。また印刷エラー時には現在印刷中のページ
の先頭位置アドレスデータを主制御装置1よりの
命令により出力する。
FIG. 1 is a circuit block diagram for explaining an embodiment of a printing device using the method of the present invention, and 1 is a main control device such as a central processing unit (CPU);
It issues commands to each device and performs various processes to control the entire device. Reference numeral 2 denotes a key input device, which is equipped with various key input switches for the operator to execute. 3 is a document storage buffer that stores data to be printed and transfers necessary print data to the main controller 1 according to a command from the main controller 1.
Data input from the input device 2 is converted into print data under the supervision of the main control device 1, and is input to the document storage buffer 3 for temporary storage. This document storage buffer 3 temporarily stores the print image in the same format as the print image, as shown in FIG. 2, as will be described later. Reference numeral 4 denotes a print start position register (hereinafter abbreviated as print start register) which stores the start position address of the page currently being printed in correspondence with the address in the document storage buffer 3. This print start register 4 stores the start position address of the page currently being printed until the printing of the page being printed is completed during the printing operation, and after the printing of the page is completed, the start position address of the print of the next page is sent from the main controller 1. Input by command. In addition, in the event of a printing error, the head position address data of the page currently being printed is output according to a command from the main controller 1.

5は現在印刷中の行の先頭位置アドレスを格納
する行先頭位置レジスタ(以下行先頭レジスタと
略記する)であり、前記印刷先頭レジスタ4と同
様に文書格納バツフア3内のアドレスに対応して
いる。
5 is a line start position register (hereinafter abbreviated as line start register) that stores the start position address of the line currently being printed, and like the print start register 4, it corresponds to an address in the document storage buffer 3. .

6はプリンタであり文書格納バツフア3に格納
されている印字データを主制御装置1を介して行
先頭レジスタ5のアドレスデータを先頭とする1
行単位ごとに前記印字データを受け取り印字を行
なう。また印刷時に異常があつた時には、印刷動
作を中止して印刷エラー信号を主制御装置1へ出
力する。7はアドレスバスで、主制御装置1より
このアドレスバス7を介して各種命令を実行した
り制御する際に出力する。8はデータバスであ
り、主制御装置1よりこのデータバス8を介して
各種データを出力する。9は各種制御信号であり
主制御装置1より他の装置への実行信号やコント
ロール信号を送り前記周辺装置よりの制御信号を
主制御装置1へ伝える。
Reference numeral 6 denotes a printer which prints the print data stored in the document storage buffer 3 via the main controller 1 and prints the address data of the line head register 5 as the head.
The printing data is received line by line and printing is performed. Further, when an abnormality occurs during printing, the printing operation is stopped and a printing error signal is output to the main controller 1. Reference numeral 7 denotes an address bus, which is output from the main controller 1 when executing or controlling various commands via the address bus 7. 8 is a data bus, and various data are outputted from the main controller 1 via this data bus 8. Reference numeral 9 indicates various control signals, and the main controller 1 sends execution signals and control signals to other devices, and transmits control signals from the peripheral devices to the main controller 1.

第2図は文書格納バツフア3の構成例であり、
図示のような印刷イメージに対応するようにデー
タが格納されている。ここで1頁目を印字中の場
合は、印刷先頭レジスタ4には第2図の10のデ
ータに対応するアドレスが格納される。また印刷
中に現在第2図の11に該当する第l2行を印字し
ている時には第2図の12の「こ」というデータ
に対応するアドレスを行先頭レジスタ5に格納す
る。
FIG. 2 shows an example of the structure of the document storage buffer 3.
Data is stored to correspond to a print image as shown. If the first page is being printed, the address corresponding to the data 10 in FIG. 2 is stored in the print head register 4. Also, when the l2th line corresponding to 11 in FIG. 2 is currently being printed during printing, the address corresponding to the data "ko" in 12 in FIG. 2 is stored in the line head register 5.

次に第3図のフローチヤートと共に、本発明に
係る印字装置の動作について説明する。
Next, the operation of the printing apparatus according to the present invention will be explained with reference to the flowchart shown in FIG.

入力装置2に設けられた印刷実行キーの押印に
より印刷が実行される。この時ステツプS1にお
いて印刷するページに該当する文書バツフアの先
頭アドレスを印刷先頭レジスタ4へ格納する。即
ち第2図において1頁を印刷する際には第2図の
10に該当するアドレスを格納する。次にステツ
プS2において、行先頭レジスタ5をセツトする。
即ちこの場合第2図の第1頁の1行目を印字する
ので第2図の10に該当するアドレスが格納され
る。ステツプS3において印刷処理ルーチンの実
行により印字が行われる。ステツプS4で、もし
プリンタ6において異常動作があつたと判断され
た場合にプリンタ6より主制御装置1へエラー信
号が出力される。今、ここで第2図の11に相当
する行l2を印字中にエラーがおきた場合、ステツ
プS5においてエラー処理を行ない再び用紙をセ
ツトして印刷キーを押す。この時、行先頭レジス
タ5の値として印刷先頭レジスタ4の値がセツト
される。即ち第2図の11に相当する行において
印刷エラーが起きたのであるから行先頭位置レジ
スタ5には第2図の12に相当するアドレスが格
納されていたが、印刷エラーにより再度先頭行か
ら再印字する必要性のために印刷先頭レジスタ4
の値を行先頭レジスタ5へ格納する。即ち第2図
の10に相当するアドレスが格納される。このよ
うにして再びステツプS3,S4へ移る。もしステ
ツプS4において、エラー信号がない場合、ステ
ツプS6において印字中のページ最終行まで印字
したかどうかを調べる。ステツプS7において最
終行を印字するまで1行印字毎に行先頭レジスタ
5の内容を順次インクリメントしていく。また、
ステツプS6において頁印刷終了後は、次頁印刷
かどうかをステツプS8において調べる。ステツ
プS9において、次頁を印刷する際に印刷キーを
押下し、印刷先頭レジスタ4に行先頭レジスタ5
に格納されているアドレスに含まれる行の次行の
先頭に該当するアドレスをセツトする。また、行
先頭レジスタ5にはステツプS2において、印刷
先頭レジスタ4の値をセツトする。このようにし
て、ステツプS1〜S9を通じて印刷を実行し印刷
終了時点で、他の処理ルーチンへ移る。
Printing is executed by pressing a print execution key provided on the input device 2. At this time, in step S1, the start address of the document buffer corresponding to the page to be printed is stored in the print start register 4. That is, when printing one page in FIG. 2, the address corresponding to 10 in FIG. 2 is stored. Next, in step S2, the row head register 5 is set.
That is, in this case, since the first line of the first page in FIG. 2 is printed, the address corresponding to 10 in FIG. 2 is stored. In step S3, printing is performed by executing a print processing routine. In step S4, if it is determined that an abnormal operation has occurred in the printer 6, an error signal is output from the printer 6 to the main controller 1. If an error occurs while printing line 12 corresponding to 11 in FIG. 2, the error is handled in step S5, the paper is set again, and the print key is pressed. At this time, the value of the print head register 4 is set as the value of the line head register 5. In other words, since a printing error occurred on the line corresponding to 11 in Figure 2, the address corresponding to 12 in Figure 2 was stored in the line start position register 5, but due to the printing error, it was restarted from the first line. Print head register 4 for printing needs
The value of is stored in the row head register 5. That is, the address corresponding to 10 in FIG. 2 is stored. In this way, the process returns to steps S3 and S4. If there is no error signal in step S4, it is checked in step S6 whether or not the last line of the page being printed has been printed. In step S7, the contents of the line head register 5 are sequentially incremented for each line printed until the last line is printed. Also,
After page printing is completed in step S6, it is checked in step S8 whether the next page is to be printed. In step S9, when printing the next page, press the print key and set print head register 4 to line head register 5.
Sets the corresponding address at the beginning of the line following the line included in the address stored in . Further, the value of the print head register 4 is set in the line head register 5 in step S2. In this way, printing is executed through steps S1 to S9, and when printing is completed, the process moves to another processing routine.

以上説明してきたように、本発明に係る印刷制
御方法は印字中の頁の先頭位置アドレスを記憶
し、エラー時に再び前記先頭位置アドレスより再
印字することで、簡単に印字を再開できるという
特徴を有する。
As explained above, the print control method according to the present invention has the feature that printing can be easily restarted by storing the start position address of the page being printed and reprinting from the start position address again in the event of an error. have

効 果 以上の説明から明らかなように本発明によれ
ば、ある頁の印刷イメージデータの印刷処理中
に、印刷処理の中断状態が発生した場合は、その
後の印刷処理の再開時には、印刷処理の中断状態
が発生した頁のデータを先頭から再印刷するべ
く、前記特定情報の更新をしない様に制御するこ
とができ、簡単に印刷を再開することができる。
Effects As is clear from the above description, according to the present invention, if the print process is interrupted during the print process of print image data of a certain page, when the print process is resumed after that, the print process is stopped. In order to reprint the data of the page where the interrupted state has occurred from the beginning, the specific information can be controlled not to be updated, and printing can be easily restarted.

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

第1図は本発明方法を用いた印字装置の一実施
例を示す回路ブロツク図、第2図は第1図の文書
格納バツフアの構成例を示す説明図、第3図は第
1図の印字装置の動作を示すフローチヤート図で
ある。 1……主制御装置、2……キー入力装置、3…
…文書格納バツフア、4……印刷先頭位置レジス
タ、5……行先頭位置レジスタ、6……プリン
タ、7……アドレスバス、8……データバス、9
……制御信号。
FIG. 1 is a circuit block diagram showing an embodiment of a printing device using the method of the present invention, FIG. 2 is an explanatory diagram showing an example of the configuration of the document storage buffer shown in FIG. 1, and FIG. 3 is a printing device shown in FIG. FIG. 3 is a flowchart showing the operation of the device. 1... Main control device, 2... Key input device, 3...
...Document storage buffer, 4...Print start position register, 5...Line start position register, 6...Printer, 7...Address bus, 8...Data bus, 9
……Control signal.

Claims (1)

【特許請求の範囲】 1 入力されるデータに基づいて、少なくとも1
頁に相当する印刷すべき印刷イメージデータを生
成し、 印刷すべき頁に対応する印刷イメージデータの
先頭位置を特定する特定情報を設け、 ある頁の印刷イメージデータの印処処理によ
り、1頁の印刷が終了した場合は、次の頁の印刷
に先立つて次の頁の先頭位置を特定すべく、前記
特定情報を更新し、 ある頁の印刷イメージデータの印刷処理中に、
印刷処理の中断状態が発生した場合は、その後の
前記印刷処理の再開時には、前記印刷処理の中断
状態が発生した頁のデータを先頭から再印刷する
べく、前記特定情報の更新をしない様に制御する
ことを特徴とする印刷制御方法。
[Claims] 1 Based on input data, at least 1
Generate print image data to be printed corresponding to a page, provide specific information to specify the beginning position of the print image data corresponding to the page to be printed, and print the print image data of one page by printing the print image data of a certain page. When printing is completed, the specific information is updated in order to specify the starting position of the next page before printing the next page, and during the printing process of the print image data of a certain page,
When a print processing interruption state occurs, control is performed so that the specific information is not updated in order to reprint the data of the page where the print processing interruption state occurred from the beginning when the printing processing is subsequently restarted. A printing control method characterized by:
JP58002910A 1983-01-13 1983-01-13 Printing apparatus Granted JPS59129182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58002910A JPS59129182A (en) 1983-01-13 1983-01-13 Printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58002910A JPS59129182A (en) 1983-01-13 1983-01-13 Printing apparatus

Publications (2)

Publication Number Publication Date
JPS59129182A JPS59129182A (en) 1984-07-25
JPH0436872B2 true JPH0436872B2 (en) 1992-06-17

Family

ID=11542509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58002910A Granted JPS59129182A (en) 1983-01-13 1983-01-13 Printing apparatus

Country Status (1)

Country Link
JP (1) JPS59129182A (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62261470A (en) * 1986-05-08 1987-11-13 Juki Corp Printer
JPS6335343A (en) * 1986-07-30 1988-02-16 Mita Ind Co Ltd Data reception control method
JP2745514B2 (en) * 1988-01-07 1998-04-28 ミノルタ株式会社 Printer control device
JP3048575B2 (en) * 1988-01-07 2000-06-05 ミノルタ株式会社 Printer control device
JPH07119124B2 (en) * 1988-04-18 1995-12-20 キヤノン株式会社 Printer
JPH06320805A (en) * 1993-05-17 1994-11-22 Nec Corp Page managing system for printer system
KR0155081B1 (en) * 1996-04-08 1998-12-01 김광호 Printer with compulsory stoppage function and method of the same
JPH09309250A (en) * 1997-01-27 1997-12-02 Canon Inc Controlling device for image forming apparatus

Also Published As

Publication number Publication date
JPS59129182A (en) 1984-07-25

Similar Documents

Publication Publication Date Title
JPH0436872B2 (en)
JPH04112058A (en) Image recorder
JP3027468B2 (en) Printing error recovery processing method
JP3179466B2 (en) Printing equipment
JP3134539B2 (en) Printer control device
JPH05162409A (en) Printing apparatus equipped with recovery function
JPH0239973A (en) Printing control system
JPH1134450A (en) Image forming apparatus
JPH0577525A (en) Printer having cancel function
JP2756250B2 (en) Recording device
JPH024925B2 (en)
JP3012408B2 (en) Information processing device
JPH0811398A (en) Image output apparatus
JPH05138998A (en) Image processing device
JPS60201980A (en) Controlling method of printer
JPH0324979A (en) Document data printer
JPH08300776A (en) Image forming apparatus
JP3293337B2 (en) Printer device
JP2001113789A (en) Image-forming apparatus
JPH06187110A (en) Print system
JP4274512B2 (en) Printer
JPH05204563A (en) Printer device
JPH0234370A (en) Printer
JPH11277854A (en) Printer controller
JPH06274288A (en) Printer