JPH0630923B2 - Printer - Google Patents

Printer

Info

Publication number
JPH0630923B2
JPH0630923B2 JP62235656A JP23565687A JPH0630923B2 JP H0630923 B2 JPH0630923 B2 JP H0630923B2 JP 62235656 A JP62235656 A JP 62235656A JP 23565687 A JP23565687 A JP 23565687A JP H0630923 B2 JPH0630923 B2 JP H0630923B2
Authority
JP
Japan
Prior art keywords
page
printing
paper
printed
pages
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 - Fee Related
Application number
JP62235656A
Other languages
Japanese (ja)
Other versions
JPS6477565A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP62235656A priority Critical patent/JPH0630923B2/en
Publication of JPS6477565A publication Critical patent/JPS6477565A/en
Publication of JPH0630923B2 publication Critical patent/JPH0630923B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は電子計算機から出力されるデータ、あるいはワ
ードプロセッサにて作成された文章情報を印字する印字
装置に関するものである。
The present invention relates to a printing apparatus for printing data output from an electronic computer or text information created by a word processor.

<従来技術> 従来1枚の用紙の左右のそれぞれに1ページ分のデータ
を印字して、1枚の用紙に2ページ分のデータを印字す
る場合、1ページと2ページ、3ページと4ページ、5
ページと6ページ…というように最初のページから順に
2ページづつ組にして1枚の用紙に印字していた。
<Prior Art> Conventionally, when printing one page of data on each of the left and right of one sheet and printing two pages of data on one sheet, one page and two pages, three pages and four pages 5,
Pages and 6 pages are printed on one sheet as a set of two pages in order from the first page.

<発明が解決しようとする問題点> しかしながら上述した最初のページから順に2ページづ
つ組にして印字していく方法では用紙の両面に印字を
し、第4図に示すように複数枚の用紙を合わせて製本し
ようとすると、ページ数がバラバラになってしまうた
め、このような製本をすることができなかった。
<Problems to be Solved by the Invention> However, in the method of printing two pages in order from the first page described above, printing is performed on both sides of the paper, and a plurality of papers are printed as shown in FIG. When trying to bind the books together, the number of pages becomes different, and thus it is impossible to perform such binding.

本発明はこのような問題点に鑑みて成されたもので第4
図のように製本したときに、各ページが順序よく配列さ
れるように、各ページの順序を変えて印字するようにし
た印字装置を提供することを目的とする。
The present invention has been made in view of such problems as described above.
An object of the present invention is to provide a printing apparatus that prints by changing the order of pages so that the pages are arranged in order when bound as shown in the figure.

<問題点を解決するための手段> 本発明の印字装置は、用紙の印字領域を左右に分割し
て、1枚の用紙の片面に2ページ分のデータを印字する
印字装置において、印字するデータのページ数X(Xは
自然数)を記憶するページ数記憶手段と、前記ページ数
記憶手段に記憶されたページ数Xに基づいて、両面印字
する場合に必要な用紙の枚数n(nは自然数)を決定す
る決定手段と、用紙の第1面に左右分割にて(2i−
1)(1≦i≦n、iは自然数)ページ目と(X−(2
i−2))ページ目とのデータを1からn枚の用紙に連
続的に印字する第1の印字手段と、用紙の第2面に左右
分割にて(X−(2i−1))ページ目と2iページ目
とのデータを1からn枚の用紙に連続的に印字する第2
の印字手段と、前記第1の印字手段或は前記第2の印字
手段による印字終了後に前記第2の印字手段域は前記第
1の印字手段による印字を起動させる印字制御手段とを
備えている。
<Means for Solving Problems> The printing device of the present invention is a printing device that divides a printing area of a sheet into left and right and prints two pages of data on one side of one sheet of data. The page number storage means for storing the page number X (X is a natural number), and the number of sheets n (n is a natural number) required for double-sided printing based on the page number X stored in the page number storage means. And a determination means for determining the right side of the sheet on the first side of the sheet (2i-
1) (1 ≦ i ≦ n, i is a natural number) page and (X− (2
i-2)) First printing means for continuously printing the data of the 1st to nth sheets of paper and the second side of the sheet divided into left and right (X- (2i-1)) pages. Second data that continuously prints the data for the 2nd and 2nd page on 1 to n sheets of paper
And printing control means for activating the printing by the first printing means in the second printing means area after the printing by the first printing means or the second printing means is completed. .

<作 用> 本発明の印字装置は、用紙の印字領域を左右に分割し
て、1枚の用紙の片面に2ページ分のデータを印字する
印字装置において、用紙の第1面に左右分割にて(2i
−1)(1≦i≦n、iは自然数)ページ目と(X−
(2i−2))ページ目とのデータを1からn枚の用紙
に連続的に印字した後に、用紙の第2面に左右分割にて
(X−(2i−1))ページ目と2iページ目とのデー
タを1からn枚の用紙に連続的に印字する。又は、用紙
の第2面に左右分割にて(X−(2i−1))ページ目
と2iページ目とのデータを1からn枚の用紙に連続的
に印字した後に、用紙の第1面に左右分割にて(2i−
1)ページ目と(X−(2i−2))ページ目とのデー
タを1からn枚の用紙に連続的に印字する。
<Operation> In the printer of the present invention, the printing area of the paper is divided into left and right, and data for two pages is printed on one side of one sheet. Te (2i
−1) (1 ≦ i ≦ n, i is a natural number) page and (X−
(2i-2)) Data from page 1 are printed continuously on 1 to n sheets of paper, and then divided on the second side of the paper into left and right (X- (2i-1)) page and 2i page. Data for the eyes are printed continuously on 1 to n sheets of paper. Alternatively, after the data of the (X- (2i-1))-th page and the 2i-th page are continuously printed on 1 to n sheets of paper on the second surface of the paper in the left-right division, the first surface of the paper is then printed. Divided into left and right (2i-
1) The data of page 1 and page (X- (2i-2)) are continuously printed on 1 to n sheets of paper.

<実施例> 以下図面に基づいて詳細に説明する。<Example> A detailed description is given below with reference to the drawings.

第1図は本発明の印字装置を搭載したワードプロセッサ
の一実施例である。
FIG. 1 shows an embodiment of a word processor equipped with the printing apparatus of the present invention.

図中11は文章情報,編集情報等を入力するキーボー
ド、12は作成された文章情報等を表示するCRT、1
3は装置全体を司どるCPU、14は入力された文章情
報を保存する文章バッファ、15は文章情報等を印字す
るプリンター、16は印字する文章情報等を記憶する印
字バッファである。
In the figure, 11 is a keyboard for inputting text information, editing information, etc., 12 is a CRT for displaying the created text information, 1
Reference numeral 3 is a CPU that controls the entire apparatus, 14 is a text buffer that stores input text information, 15 is a printer that prints text information, and 16 is a print buffer that stores text information that is printed.

17は印字する文章情報が何ページ分あるかをカウント
する全ページ数カウンタ、18は左ページに印字すべき
ページ数を順にカウントしていく左ページカウンタ、1
9は右ページに印字すべきページ数を順にカウントして
いく右ページカウンタ、20は用紙の表に印字するか裏
に印字するかを記憶する表裏フラグである。21は印字
する文章情報の各ページの先頭位置が文章バッファ14
のどの位置にあるかを順に記憶するページ先頭位置バッ
ファである。
Reference numeral 17 is a total page number counter that counts the number of pages of text information to be printed, 18 is a left page counter that sequentially counts the number of pages to be printed on the left page, 1
Reference numeral 9 is a right page counter that sequentially counts the number of pages to be printed on the right page, and 20 is a front / back flag that stores whether to print on the front or back of the paper. 21 is the text buffer 14 at the beginning position of each page of the text information to be printed.
It is a page head position buffer that sequentially stores which position of the.

次に第2図のフローチャートを用いて本実施例の編集処
理動作について説明する。
Next, the editing processing operation of this embodiment will be described with reference to the flowchart of FIG.

まず印字しようとする文章情報をキーボード11より入力
する(S1)あるいはフロッピーディスクから呼び出し
て(S2)文章バッファ14に記憶させる。そして文章
情報を先頭から順次編集し、各ページの先頭位置を探し
出し、その先頭位置が文章バッファ14のどの位置にあ
るかをページ先頭位置バッファ21にそれぞれ記憶させ
る(S3)と共に各ページの先頭位置が見つかるごとに全
ページ数カウンタを1カウントアップすることにより、
ページ数を計算する(S4)。
First, the text information to be printed is input from the keyboard 11 (S1) or called from the floppy disk (S2) and stored in the text buffer 14. Then, the sentence information is sequentially edited from the beginning, the beginning position of each page is searched, and the position of the beginning position in the sentence buffer 14 is stored in the page beginning position buffer 21 (S3) and the beginning position of each page is stored. By incrementing the total page number counter by 1 each time
The number of pages is calculated (S4).

次に表裏フラグをクリアする(S5)と共に、全ページ
数カウンター17に記憶されているページ数を4で割り
(S6)、ページ数が4で割り切れた時はその商をnと
し、4で割り切れなかった時には商に1を加えた(用紙
の区切れ目までページがあると考える)数をnとする
(S7、8)。このnとは必要な用紙の枚数でもある。
そして左ページカウンター18に「1」、右ページカウ
ンターに「4n」を記憶させる(S9)。
Next, the front and back flags are cleared (S5), and the number of pages stored in the total page number counter 17 is divided by 4 (S6). When the number of pages is divisible by 4, the quotient is set to n and divided by 4. If not, the number obtained by adding 1 to the quotient (assuming that there is a page until the break of the paper) is n (S7, 8). This n is also the number of required sheets.
Then, "1" is stored in the left page counter 18 and "4n" is stored in the right page counter (S9).

そして表裏フラグ20がクリアされているかを判断し
(S10)、クリアされていれば用紙の表印字だけを連
続的に行う(S11)。
Then, it is judged whether the front and back flag 20 is cleared (S10), and if it is cleared, only the front printing of the paper is continuously performed (S11).

ここで表印字について詳細に述べる。まず左ページ数カ
ウンター17に記憶された数値と右ページ数カウンター
18に記憶された数値に基づいて、該ページの文章情報
の先頭位置をページ先頭位置バッファ21から検索し、
この先頭位置情報に基づいて文章バッファ14から該ペ
ージを文章データを読み出して印字バッファ16に記憶
させる。そして1枚目の用紙の表側の左側に1ページ、
右側に4nページの文章情報を印字する。印字終了後左
ページカウンタに2を加算し、右ページカウンタから2
を減算する。
Here, the front face printing will be described in detail. First, based on the numerical value stored in the left page number counter 17 and the numerical value stored in the right page number counter 18, the head position of the sentence information of the page is searched from the page head position buffer 21,
Based on this head position information, the text data of the page is read from the text buffer 14 and stored in the print buffer 16. And one page on the left side of the front side of the first sheet,
The text information of page 4n is printed on the right side. After printing, add 2 to the left page counter and add 2 from the right page counter.
Subtract.

続いて同様の動作を行い、2枚目の用紙の表側の左側に
3ページ目の、そして右側に最後から3ページ目(4n
−2ページ目)の文章情報を印字する。(ページ数は左
ページカウンタ18,右ページカウンタ19の内容およ
び何枚目の印字かによって判断する。)同様に続いて5
ページ目と4n−4ページ目、7ページ目と4n−6ペ
ージ目というように順次文章情報を印字し、n枚の用紙
の表側の印字をして表印字を終了する。尚ページ数の関
係で文章情報のないページは白紙のままとする。
Then, the same operation is performed, and the third page is on the left side of the front side of the second sheet, and the third page from the last (4n
-Print the text information on page 2. (The number of pages is determined according to the contents of the left page counter 18 and the right page counter 19 and the number of pages to be printed.)
The text information is sequentially printed on the page 4 and the 4n-4th page, the 7th page and the 4n-6th page, and the front side of n sheets of paper is printed to finish the front printing. Due to the number of pages, pages without text information are left blank.

表印字の終了に併って表裏フラグをセットすると共に左
ページカウンタ「2」、右ページカウンタ「4n−1」
を記憶させて裏印字を行う(S12〜S13〜〜S10〜S1
4)。
The front and back flags are set at the end of front and back printing, and the left page counter is "2" and the right page counter is "4n-1".
Is stored and back printing is performed (S12 to S13 to S10 to S1).
Four).

すなわちすでに表側が印字された用紙の裏側に順に印字
していくわけであるが、表側印字の場合と異なるのは左
ページ数カウンタ17に記憶された数値に基づいて用紙
の右側に印字するページを決定し、右ページ数カウンタ
18に記憶された数値に基づいて用紙の左側に印字する
ページを決定する。(表裏の区別は表裏フラグ20の状
態によって判断される。)つまり1ページ目と4nペー
ジ目が印字された用紙の左側に最後から2ページ目(4
n−1ページ目)の文章情報を表側と同様の動作によっ
て印字し、右側に2ページ目の文章情報を印字する。そ
して印字終了左ページカウンタに2を加算し、右ページ
カウンタから2を減算する。
That is, printing is performed sequentially on the back side of the paper on which the front side has already been printed, but the difference from the case of front side printing is that the pages to be printed on the right side of the paper are printed based on the numerical value stored in the left page number counter 17. Then, the page to be printed on the left side of the paper is determined based on the numerical value stored in the right page number counter 18. (The distinction between the front and the back is determined by the state of the front and back flag 20.) That is, the second to last page (4
The text information of the (n-1th page) is printed by the same operation as the front side, and the text information of the second page is printed on the right side. Then, 2 is added to the left page counter after printing and 2 is subtracted from the right page counter.

続いて同様の動作により2枚目の用紙の裏面の左側に最
後から4ページ目(4n−3ページ目)の、そして右側
に4ページ目の文章情報を印字する。同様にして裏面に
4n−5ページ目と6ページ目、4n−7ページ目と8
ページ目というように順次文章情報を印字し、n枚の用
紙の裏面の印字をして裏印字を終了する。
Then, by the same operation, the text information of the fourth page from the last (4n-3rd page) on the left side of the back surface of the second sheet and the text information of the fourth page on the right side are printed. Similarly, on the back side, the 4n-5th page and the 6th page, the 4n-7th page and the 8th page
The text information is sequentially printed like the page number, the back surface of the n sheets of paper is printed, and the back printing is completed.

第3図は1ページから8ページでなる文章情報を2枚の
用紙の表裏に印字した際の各ページの印字位置を示す図
であり、(a)が1枚目で(b)が2枚目である。そして1枚
目の用紙(a)を2枚目の用紙(b)の上にかさねて第4図の
ように製本すると1ページから8ページまで順に連なっ
た資料を作ることができる。
Fig. 3 is a diagram showing the printing positions of each page when the text information consisting of 1 to 8 pages is printed on the front and back sides of two sheets of paper. (A) is the first sheet and (b) is the two sheets. It's an eye. Then, by stacking the first sheet (a) on the second sheet (b) and binding the sheets as shown in FIG. 4, it is possible to make a document in which pages 1 to 8 are successively arranged.

<発明の効果> 本発明の印字装置では、用紙の印字領域を左右に分割し
て、1枚の用紙の片面に2ページ分のデータを印字する
印字装置において、印字するデータのページ数X(Xは
自然数)を記憶するページ数記憶手段と、前記ページ数
記憶手段に記憶されたページ数Xに基づいて、両面印字
する場合に必要な用紙の枚数n(nは自然数)を決定す
る決定手段と、用紙の第1面に左右分割にて(2i−
1)(1≦i≦n、iは自然数)ページ目と(X−(2
i−2))ページ目とのデータを1からn枚の用紙に連
続的に印字する第1の印字手段と、用紙の第2面に左右
分割にて(X−(2i−1))ページ目と2iページ目
とのデータを1からn枚の用紙に連続的に印字する第2
の印字手段と、前記第1の印字手段或は前記第2の印字
手段による印字終了後に前記第2の印字手段域は前記第
1の印字手段による印字を起動させる印字制御手段とを
備えるので、印字された用紙を第4図に示すように製本
すると、ページ順が正しく整列される。よって、印字装
置により印字された用紙を製本として保存、運搬、参照
でき、非常に便利なものとなる。
<Effects of the Invention> In the printing device of the present invention, the printing area of the paper is divided into left and right, and the data of two pages is printed on one side of one paper. X is a natural number), and a determining means for determining the number of sheets n (n is a natural number) required for double-sided printing based on the page number X stored in the page number storage means. And the left side of the first side of the paper (2i-
1) (1 ≦ i ≦ n, i is a natural number) page and (X− (2
i-2)) First printing means for continuously printing the data of the 1st to nth sheets of paper and the second side of the sheet divided into left and right (X- (2i-1)) pages. Second data that continuously prints the data for the 2nd and 2nd page on 1 to n sheets of paper
And the print control means for activating the print by the first print means after the printing by the first print means or the second print means is completed. When the printed sheets are bound as shown in FIG. 4, the page order is correctly aligned. Therefore, the paper printed by the printing device can be stored, transported, and referenced as a book, which is very convenient.

更に、本発明の印字装置によれば、用紙の表或は裏印字
を連続的に行い、その後用紙を裏或は表印字を連続的に
行うので、用紙の反転操作が一回で済み、各用紙毎に表
印字、裏印字を繰り返さないので、用紙反転の操作の軽
減が図られ、印字速度も短縮化される。
Further, according to the printer of the present invention, the front or back printing of the paper is continuously performed, and thereafter the back or front printing of the paper is continuously performed, so that the reversing operation of the paper is required only once. Since front printing and back printing are not repeated for each sheet, the operation of reversing the sheet is reduced and the printing speed is also shortened.

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

第1図は本発明の一実施例であるワードプロセッサのブ
ロック図、第2図は動作を示すフローチャート、第3図
は印字例を示す図、第4図は製本例を示す図である。 11:キーボード、13:CPU、14:文章バッフ
ァ、15:プリンタ、16:印字バッファ、17:全ペ
ージ数カウンター、18:左ページカウンター、19:
右ページカウンター、20:表裏フラグ、21:ページ
先頭位置バッファ
FIG. 1 is a block diagram of a word processor which is an embodiment of the present invention, FIG. 2 is a flowchart showing the operation, FIG. 3 is a diagram showing a printing example, and FIG. 4 is a diagram showing a bookbinding example. 11: keyboard, 13: CPU, 14: text buffer, 15: printer, 16: print buffer, 17: total page counter, 18: left page counter, 19:
Right page counter, 20: front and back flags, 21: page top position buffer

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭56−11583(JP,A) 特開 昭61−89078(JP,A) 特開 昭62−161642(JP,A) 特開 昭61−51345(JP,A) 特開 昭60−21282(JP,A) 特開 昭62−213381(JP,A) 実開 昭59−113836(JP,U) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-56-11583 (JP, A) JP-A-61-89078 (JP, A) JP-A-62-161642 (JP, A) JP-A-61- 51345 (JP, A) JP 60-21282 (JP, A) JP 62-213381 (JP, A) Actual development 59-113836 (JP, U)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】用紙の印字領域を左右に分割して、1枚の
用紙の片面に2ページ分のデータを印字する印字装置に
おいて、 印字するデータのページ数X(Xは自然数)を記憶する
ページ数記憶手段と、 前記ページ数記憶手段に記憶されたページ数Xに基づい
て、両面印字する場合に必要な用紙の枚数n(nは自然
数)を決定する決定手段と、 用紙の第1面に左右分割にて(2i−1)(1≦i≦
n、iは自然数)ページ目と(X−(2i−2))ペー
ジ目とのデータを1からn枚の用紙に連続的に印字する
第1の印字手段と、 用紙の第2面に左右分割にて(X−(2i−1))ペー
ジ目と2iページ目とのデータを1からn枚の用紙に連
続的に印字する第2の印字手段と、 前記第1の印字手段或は前記第2の印字手段による印字
終了後に前記第2の印字手段或は前記第1の印字手段に
よる印字を起動させる印字制御手段とを備えることを特
徴とする印字装置。
1. A printing device that divides a printing area of a sheet into left and right and prints data for two pages on one side of one sheet of paper, and stores the number X of pages of data to be printed (X is a natural number). A page number storage means, a determination means for determining the number of sheets n (n is a natural number) required for double-sided printing, based on the page number X stored in the page number storage means; (2i-1) (1≤i≤
(n and i are natural numbers) and (X- (2i-2)) page data are continuously printed on 1 to n sheets of paper, and left and right on the second side of the paper. Second printing means for continuously printing the data of the (X- (2i-1))-th page and the 2i-th page on 1 to n sheets of paper by division; the first printing means or the above-mentioned A printing apparatus comprising: a printing control means for activating printing by the second printing means or the first printing means after printing by the second printing means is completed.
JP62235656A 1987-09-18 1987-09-18 Printer Expired - Fee Related JPH0630923B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62235656A JPH0630923B2 (en) 1987-09-18 1987-09-18 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62235656A JPH0630923B2 (en) 1987-09-18 1987-09-18 Printer

Publications (2)

Publication Number Publication Date
JPS6477565A JPS6477565A (en) 1989-03-23
JPH0630923B2 true JPH0630923B2 (en) 1994-04-27

Family

ID=16989246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62235656A Expired - Fee Related JPH0630923B2 (en) 1987-09-18 1987-09-18 Printer

Country Status (1)

Country Link
JP (1) JPH0630923B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0263870A (en) * 1988-08-31 1990-03-05 Canon Inc Printer
GB2376654B (en) * 2001-05-18 2005-03-30 P G Lawton Moulding filter sheets

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59113836U (en) * 1983-01-19 1984-08-01 株式会社日立製作所 Japanese word processor
JPS62161642A (en) * 1986-01-10 1987-07-17 Canon Inc Recorder

Also Published As

Publication number Publication date
JPS6477565A (en) 1989-03-23

Similar Documents

Publication Publication Date Title
JPS6022234A (en) Form overlay type printer
JP3573175B2 (en) Image processing device
JPH0630923B2 (en) Printer
JP2006172306A5 (en)
US20030084406A1 (en) System and method for booklet format printing
JPH0747348B2 (en) Printer for easy bookbinding
JPH078584B2 (en) Character generator for double-sided printing
US7004653B2 (en) Printer with a copy function for carrying out two-set double-sided printing
JP4803567B2 (en) Print processing method
JPH0671799B2 (en) Character generator for double-sided printing
JP2006244282A (en) Information processor and output data arrangement method
JP3366771B2 (en) Printing equipment
JP4574078B2 (en) Data editing system and method
JP2577912B2 (en) Form creation device
US20090306809A1 (en) System for calculating spine jacket width
JPS6166656A (en) Generating device of character for two-side printing
JPH10119392A (en) Printing device
JPS60132231A (en) Drawing release managing device
JPH082019A (en) Image output equipment
JPH0644245A (en) Document processing system
JPS63283968A (en) Printing control system
JPH061051A (en) Document printing method
JPH04364572A (en) Set slip formation device
JPH0969088A (en) Table form data processor
JPS60132232A (en) Drawing release managing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees