JPH01216873A - Printing controlling device - Google Patents

Printing controlling device

Info

Publication number
JPH01216873A
JPH01216873A JP63043654A JP4365488A JPH01216873A JP H01216873 A JPH01216873 A JP H01216873A JP 63043654 A JP63043654 A JP 63043654A JP 4365488 A JP4365488 A JP 4365488A JP H01216873 A JPH01216873 A JP H01216873A
Authority
JP
Japan
Prior art keywords
printing
paper
region
format
dual page
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
JP63043654A
Other languages
Japanese (ja)
Inventor
Atsushi Makiguchi
槙口 敦志
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering 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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP63043654A priority Critical patent/JPH01216873A/en
Publication of JPH01216873A publication Critical patent/JPH01216873A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To perform dual page printing on an arbitrary paper, by calculating the horizontal and vertical coordinates of a printing position based on specification data, determining a printing position on a printing paper on the basis of the calculated printing position data, and carrying out dual page printing. CONSTITUTION:A document region, a line image region, a phrase registration region, a table and register region for processing for printing and the like are allocated in a RAM 13, whereas a program storage region, a character pattern region, a dictionary region and the like are allocated in a ROM 12. When a printing key on a keyboard 14 is depressed, a CPU 11 performs the processing for printing by using the table and registers 61-73. When dual page printing is specified in format settings, calculation of a printing-starting position, calculation of a Y-coordinate correction value and synthesis of a Y-coordinate control table are carried out, horizontal and vertical coordinates of a printing position are calculated, and control of dual page printing in a set format on a printing paper is conducted based on the calculated printing position data. Therefore, dual page printing according to a format can be conducted on an arbitrary paper without specifying a paper size, a paper direction or the like.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は文書作成装置の印刷制御方式に係り、特に用紙
サイズ、用紙方向等に拘らず任意の用紙上に袋とじ印刷
を行なうことのできる印刷制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention (Field of Industrial Application) The present invention relates to a print control system for a document creation device, and in particular to a method for printing with bag stitching on arbitrary paper regardless of paper size, paper direction, etc. The present invention relates to a print control method that can perform the following operations.

(従来の技術) 従来のパーソナルワードプロセッサに於いては、袋とじ
印刷を行なう場合、用紙サイズや用紙方向が限定され(
例えばB4・横長のみ可)、それに合った文書書式で文
書を作成しなければならなかった。
(Prior Art) In conventional personal word processors, when performing bag-stitch printing, the paper size and paper direction are limited (
For example, B4 (only available in landscape format), documents had to be created in an appropriate document format.

(発明が解決しようとする課題) 上述したように従来は、予め定められた特定の用紙サイ
ズ、文書書式でしか袋とじ印刷ができなかった。
(Problems to be Solved by the Invention) As described above, in the past, bag-stitch printing was only possible with specific predetermined paper sizes and document formats.

この発明は従来の問題を解決しようとするもので、用紙
サイズ、用紙方向等に拘らず任意の用紙上に袋とじ印刷
を行なうことのできる印刷制御方式を提供することを目
的とする。
The present invention is an attempt to solve the conventional problems, and an object thereof is to provide a print control method that can perform bag-stitch printing on any paper regardless of the paper size, paper direction, etc.

[発明の構成コ (課題を解決するための手段及び作用)本発明は、文書
書式の用紙サイズと用紙方向により、標準印刷か縦横変
換印刷かを判断して袋とじ印刷の1頁目と2頁目の印字
位置を算出し、その印字位置に従い袋とじ印刷を実行す
る手段を有して、用紙サイズ、用紙方向等を特定するこ
となく任意の用紙上に書式にあった袋とじ印刷を行なう
ことのできるようにしたものである。
[Structure of the Invention (Means and Effects for Solving the Problems)] The present invention determines whether standard printing or portrait/horizontal conversion printing is to be performed depending on the paper size and paper direction of the document format, and prints the first and second pages of bag-stitch printing. To have means for calculating the printing position of each page and executing bag-stitch printing according to the print position, and to perform bag-stitch printing on any paper according to the format without specifying the paper size, paper direction, etc. It was made so that it could be done.

(実施例) 以下図面を参照して本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は上記実施例による文書作成装置の構成を示すブ
ロック、図である。
FIG. 1 is a block diagram showing the configuration of a document creation device according to the above embodiment.

第1図に於いて、11はマイクロプロセッサ(CPU)
、12は同マイクロプロセッサCPUIIによりアクセ
スされるRAM、13は同ROMである。
In Figure 1, 11 is a microprocessor (CPU)
, 12 is a RAM accessed by the microprocessor CPU II, and 13 is a ROM.

マイクロプロセッサ(以下CPUと称す) 11は、装
置全体の制御を行なうもので、上記RA M 12及び
ROM13をアクセスし、入力指示に従うプログラムの
起動で、文書及びイメージの入力・編集処理、更には第
2図乃至第5図に示すような印刷処理を実行する。RA
 M 12には、文書領域、行イメージ領域(印字バッ
ファ)、語句登録領域、更には第6図に示すような印刷
処理用のテーブル及びレジスタ領域等が割付けられる。
A microprocessor (hereinafter referred to as CPU) 11 controls the entire device, accesses the RAM 12 and ROM 13, starts programs according to input instructions, inputs and edits documents and images, and performs the process of inputting and editing documents and images. Print processing as shown in FIGS. 2 to 5 is executed. R.A.
A document area, a line image area (print buffer), a word registration area, and a table and register area for print processing as shown in FIG. 6 are allocated to M12.

R2M17には、CPUIIの動作を決定するプログラ
ムや第2図乃至第5図に示すような印刷処理ルーチンを
含むプログラムを格納するプログラム格納領域、表示及
び印字文字パターン等を記憶する文字パターン領域、仮
名あるいはローマ字で入力された読みを漢字に変換する
ための各種の辞書が登録された辞書領域等が割付けられ
る。
The R2M17 includes a program storage area for storing programs that determine the operation of the CPU II and programs including print processing routines as shown in FIGS. 2 to 5, a character pattern area for storing display and print character patterns, etc., and a kana Alternatively, a dictionary area in which various dictionaries for converting readings input in Roman characters into Kanji are registered is allocated.

又、14はキーボード(KB)、15はキーボードイン
ターフェイス(KB−I F) 、1BはLCD表示器
、17は表示コントローラ(表示CNT) 、18は表
示用ドツトメモリ、19はプリンタ(PRT)、20は
プリンタインターフェイス(PRT−IF)、21はフ
ロッピィディスクドライブ(FDD) 、22はFDD
インターフェイス(FDD−IF)である。
Further, 14 is a keyboard (KB), 15 is a keyboard interface (KB-IF), 1B is an LCD display, 17 is a display controller (display CNT), 18 is a display dot memory, 19 is a printer (PRT), and 20 is a Printer interface (PRT-IF), 21 is a floppy disk drive (FDD), 22 is FDD
This is an interface (FDD-IF).

キーボード14は、文書作成等に必要な入力情報をキー
ボードインターフェイス15を介してCPU11へ入力
する。LCD表示器18はCP U 11の制御に従う
表示コントローラ17の表示ドライブ制御で表示用ドツ
トメモリに展開された文書・イメージ、更には外字作成
画面等の各種表示イメージをLCD画面上に表示する。
The keyboard 14 inputs input information necessary for document creation etc. to the CPU 11 via the keyboard interface 15. The LCD display 18 displays on the LCD screen various display images such as documents and images developed in the display dot memory under the display drive control of the display controller 17 under the control of the CPU 11, as well as a custom character creation screen.

プリンタ19はプリンタインターフェイス20を介して
CPU11の制御の下に、作成された文書・イメージ等
を設定された書式に従い用紙上に印刷出力する。フロッ
ピィディスクドライブ21はFDDインターフェイス2
2を介してCPU11の制御の下に、入力・編集済みの
文書・イメージ等を文書フロッピィディスクに保存した
り、同保存した文書・イメージ等を文書フロッピィディ
スクから読出す。
Under the control of the CPU 11 via the printer interface 20, the printer 19 prints out created documents, images, etc. on paper according to a set format. Floppy disk drive 21 is FDD interface 2
2, input/edited documents, images, etc. are saved on a document floppy disk, and the same saved documents, images, etc. are read from the document floppy disk.

第2図は上記実施例に於ける印刷処理フローを示すフロ
ーチャートである。
FIG. 2 is a flowchart showing the print processing flow in the above embodiment.

第3図は上記第2図のステップAlBに於ける印刷開始
位置算出処理フローを示すフローチャートである。
FIG. 3 is a flowchart showing the printing start position calculation processing flow in step AlB of FIG. 2 above.

第4図は上記第2図のステップA17に於けるY座標補
正値の算出処理フローを示すフローチャートである。
FIG. 4 is a flowchart showing the process flow for calculating the Y coordinate correction value in step A17 of FIG. 2 above.

第5図は上記第2図のステップA18に於けるY座標管
理テーブルの合成処理フローを示すフローチャートであ
る。
FIG. 5 is a flowchart showing the process flow for synthesizing the Y coordinate management table in step A18 of FIG. 2 above.

第6図は上記RAM13内に設けられ、上記第2図乃至
第5図に示す印刷処理の実行時に用いられるテーブル及
びレジスタ類を示したもので、61は印刷用紙上の各行
の印字位置を絶対値(1/120インチ)で示すY座標
管理テーブル、62は標準印刷/縦横変換印刷を示すフ
ラグ、63は原稿用紙印刷であるか否かを示すフラグ、
B4は原稿用紙印刷のときの中綴じ量(1/10ミリ)
を示すレジスタ、65はキー操作で指定された印字位置
を示すレジスタ、66は縦横変換印刷のときの1頁1行
目の印字位置を示すレジスタ、B7は印刷用紙上の印字
位置(袋とじ印刷のときは1頁目)の印字位置を示すレ
ジスタ、B8は袋とじ印刷のときの2頁目の印字位置を
示すレジスタ、69は袋とじ印刷で、かつ縦書のときの
1頁1行目のY座標補正値を示すレジスタ、70は同2
頁1行目のY座標補正値を示すレジスタ、71は上記レ
ジスタB6の指定値(先頭行位置)に従う印刷用紙上の
印字位置(ドツト数)を示すレジスタ、72は印刷すべ
き1行分の印刷イメージが展開されるラインバッファ、
72は縦横変換印刷のときに上記ラインバッファ72に
展開された文字を90″右に回転させるための縦横変換
バッファである。
FIG. 6 shows tables and registers provided in the RAM 13 and used when executing the printing process shown in FIGS. 2 to 5, and 61 indicates the absolute printing position of each line on the printing paper. A Y coordinate management table indicated by a value (1/120 inch), 62 a flag indicating standard printing/vertical/horizontal conversion printing, 63 a flag indicating whether or not printing is on manuscript paper;
B4 is the amount of saddle stitching when printing on manuscript paper (1/10 mm)
65 is a register that shows the print position specified by key operation, 66 is a register that shows the print position of the first line of the first page in portrait/horizontal conversion printing, and B7 is the print position on the printing paper (backstop printing B8 is the register that indicates the print position of the second page when printing with double-sided binding, and 69 is the first line of the first page when printing with double-sided binding and vertical writing. The register 70 indicates the Y coordinate correction value of
A register indicating the Y coordinate correction value of the first line of the page, 71 is a register indicating the printing position (number of dots) on the printing paper according to the value specified by register B6 (first line position), 72 is a register for one line to be printed. line buffer where the print image is expanded,
Reference numeral 72 denotes a vertical/horizontal conversion buffer for rotating the characters developed in the line buffer 72 to the right by 90'' during vertical/horizontal conversion printing.

第7図及び第8図は上記実施例の袋とじ印刷例を示した
もので、第7図(a)は標準印刷・横書きのときの袋と
じ印刷例、同図(b)は標準印刷・縦書きのときの袋と
じ印刷例、同図(c)は原稿用紙印刷・横書きのときの
袋とじ印刷例、同図(d)は原稿用紙印刷・縦書きのと
きの袋とじ印刷例、第8図(a)は縦横変換印刷・横書
きのときの袋とじ印刷例、同図(b)は縦横変換印刷・
縦書きのときの袋とじ印刷例を示している。
Figures 7 and 8 show an example of bag-stitch printing of the above embodiment. Figure 7 (a) is an example of bag-stitch printing in standard printing/horizontal writing, and Figure 7 (b) is a case of standard printing/horizontal writing. An example of back-stitch printing when writing vertically, (c) is an example of back-stitch printing when printing on manuscript paper/horizontal writing, and (d) is an example of back-stitch printing when printing on manuscript paper/vertical writing. Figure 8 (a) is an example of double-stitch printing with vertical/horizontal conversion printing/horizontal writing, and Figure 8(b) is an example of vertical/horizontal conversion printing/horizontal writing.
An example of double-stitch printing in vertical writing is shown.

第1図に示すCPUIIは、キーボード14上の印刷キ
ーが操作されると、第6図に示すテーブル及びレジスタ
類(61〜73)を用いて第2図に示す印刷処理を実行
する。この際、書式設定で袋とじ印刷が指定されている
と(第2図ステップA4)、第2図ステップA13〜A
15の処理を経て、第3図に示す印刷開始位置算出処理
(第2図ステップA16)、第4図に示すY座標補正値
の算出処理(第2図のステップA17)、第5図に示す
Y座標管理テーブルの合成処理(第2図のステップA1
8)を実行し、横方向と縦方向の印字位置を算出して、
その算出した印字位置情報をもとに印刷用紙上に第7図
又は第8図に示すフォーマットで袋とじ印刷の制御を行
なう。これにより用紙サイズ、用紙方向等を特定するこ
となく任意の用紙上に書式にあった袋とじ印刷を行なう
ことができ、印刷機能を大幅に拡張できる。
When the print key on the keyboard 14 is operated, the CPU II shown in FIG. 1 executes the printing process shown in FIG. 2 using the tables and registers (61 to 73) shown in FIG. At this time, if bag binding printing is specified in the format settings (step A4 in Figure 2), steps A13 to A in Figure 2
15, the printing start position calculation process shown in FIG. 3 (step A16 in FIG. 2), the Y coordinate correction value calculation process shown in FIG. 4 (step A17 in FIG. 2), and the process shown in FIG. Synthesis processing of Y coordinate management table (step A1 in Fig. 2)
8), calculate the horizontal and vertical printing positions, and
Based on the calculated printing position information, control is performed to perform bag binding printing on the printing paper in the format shown in FIG. 7 or 8. This makes it possible to perform bag-stitch printing on any paper in a format without specifying the paper size, paper direction, etc., and greatly expands printing functionality.

[発明の効果] 以上詳記したように本発明によれば、文書書式の用紙サ
イズと用紙方向により、標準印刷か縦横変換印刷かを判
断して袋とじ印刷の1頁目と2頁目」の印字位置を算出
し、その印字位置に従い袋とじ印刷を実行する手段を有
してなる構成としたことにより、用紙サイズ、用紙方向
等を特定することなく任意の用紙上に書式にあった袋と
じ印刷を行なうことができ、印刷機能を大幅に拡張でき
る。
[Effects of the Invention] As detailed above, according to the present invention, standard printing or portrait/horizontal conversion printing is determined based on the paper size and paper direction of the document format, and the first and second pages of bag-stitch printing are printed. By having a means for calculating the printing position of the paper and performing bag binding printing according to the printing position, the bag can be printed in the format on any paper without specifying the paper size, paper direction, etc. It is possible to perform binding printing, greatly expanding printing functions.

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

第1図は本発明の一実施例を示すブロック図、第2図乃
至第5図はそれぞれ上記実施例の処理フローを示すフロ
ーチャート、第6図は上記実施例に於けるRAM1a内
のテーブル及びレジスタ類を示す図、第7図及び第8図
はそれぞれ上記実施例の袋とじ印刷例を示す図である。 11・・・CPU512・・・ROM、13・・・RA
M、14・・・キーボード(KB)、15・・・キーボ
ードインターフェイス(KB −I F) 、1B・・
・LCD表示器、17・・・表示コントローラ(表示C
NT)、18・・・表示用ドツトメモリ、19・・・プ
リンタ(PRT) 、20・・・プリンタインターフェ
イス(PRT −I F) 、21・・・フロッピィデ
ィスクドライブ(FDD)、22・・・FDDインター
フェイス(FDD −I F) 、61・・・印刷用紙
上の各行の印字位置を絶対値(1/120インチ)で示
すY座標管理テーブル、B2・・・標準印刷/縦横変換
印刷を示すフラグ、63・・・原稿用紙印刷であるか否
かを示すフラグ、64・・・原稿用紙印刷のときの中綴
じQ (1/ LOミリ)を示すレジスタ、85・・・
キー操作で指定された印字位置を示すレジスタ、66・
・・縦横変換印刷のときの1頁1行目の印字位置を示す
レジスタ、67・・・印刷用紙上の印字位置(袋とじ印
刷のときは1頁目)の印字位置を示すレジスタ、68・
・・袋とじ印刷のときの2頁目の印字位置を示すレジス
タ、69・・・袋とじ印刷で、かつ縦書のときの1頁1
行目のY座標補正値を示すレジスタ、70・・・袋とじ
印刷で、かつ縦書のときの2頁1行目のY座標補正値を
示すレジスタ、71・・・上記レジスタBBの指定値(
先頭行位置)に従う印刷用紙上の印字位置(ドツト数)
を示すレジスタ、72・・・ラインバッファ、72・・
・縦横変換バッファ。 出願人代理人 弁理士 鈴江 武彦 第1図 Y座標管理テーブル合成 第5図 RAM領域 第6図
FIG. 1 is a block diagram showing one embodiment of the present invention, FIGS. 2 to 5 are flowcharts showing the processing flow of the above embodiment, and FIG. 6 is a table and registers in the RAM 1a in the above embodiment. FIGS. 7 and 8 are diagrams showing examples of bag-stitch printing of the above embodiment, respectively. 11...CPU512...ROM, 13...RA
M, 14...Keyboard (KB), 15...Keyboard interface (KB-IF), 1B...
・LCD display, 17...Display controller (display C
NT), 18... Display dot memory, 19... Printer (PRT), 20... Printer interface (PRT-IF), 21... Floppy disk drive (FDD), 22... FDD interface (FDD-IF), 61... Y-coordinate management table showing the printing position of each line on the printing paper as an absolute value (1/120 inch), B2... Flag indicating standard printing/vertical/horizontal conversion printing, 63 ...Flag indicating whether or not to print on manuscript paper, 64...Register indicating saddle stitching Q (1/LO mm) when printing on manuscript paper, 85...
A register indicating the print position specified by key operation, 66.
...Register that indicates the print position of the first line of the first page when performing portrait/horizontal conversion printing, 67...Register that indicates the print position of the print position on the printing paper (the first page when performing double-stitch printing), 68.
...Register indicating the printing position of the second page when printing with bag binding, 69...Page 1 when printing with bag binding and vertical writing
Register indicating the Y-coordinate correction value of the row 70...Register indicating the Y-coordinate correction value of the first line of the second page when double-stitch printing and vertical writing, 71...Specified value of the above register BB (
Print position (number of dots) on printing paper according to first line position)
Register indicating 72... line buffer, 72...
- Vertical/horizontal conversion buffer. Applicant's representative Patent attorney Takehiko Suzue Figure 1 Y-coordinate management table synthesis Figure 5 RAM area Figure 6

Claims (1)

【特許請求の範囲】[Claims] 用紙サイズ及び用紙方向を指定する手段と、印字位置を
指定する手段と、袋とじ印刷を指定する手段と、袋とじ
印刷が指定されたとき、上記各指定内容をもとに、横方
向と縦方向の印字位置を算出する手段と、上記算出した
印字位置情報をもとに印刷用紙上の印刷位置を決め袋と
じ印刷を実行する手段とを具備してなることを特徴とす
る印刷制御方式。
A means for specifying the paper size and paper direction, a means for specifying the printing position, a means for specifying double-sided printing, and a means for specifying double-sided printing. 1. A printing control method comprising: means for calculating a printing position in a direction; and means for determining a printing position on printing paper based on the calculated printing position information and executing bag binding printing.
JP63043654A 1988-02-26 1988-02-26 Printing controlling device Pending JPH01216873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63043654A JPH01216873A (en) 1988-02-26 1988-02-26 Printing controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63043654A JPH01216873A (en) 1988-02-26 1988-02-26 Printing controlling device

Publications (1)

Publication Number Publication Date
JPH01216873A true JPH01216873A (en) 1989-08-30

Family

ID=12669851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63043654A Pending JPH01216873A (en) 1988-02-26 1988-02-26 Printing controlling device

Country Status (1)

Country Link
JP (1) JPH01216873A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496810B1 (en) * 1999-11-23 2002-12-17 Qwest Communications International, Inc. Ultra-heavy mail piece processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496810B1 (en) * 1999-11-23 2002-12-17 Qwest Communications International, Inc. Ultra-heavy mail piece processing system

Similar Documents

Publication Publication Date Title
JPH01216873A (en) Printing controlling device
JPH01216874A (en) Printing controlling
JPH03156668A (en) Document preparing device
JP3366771B2 (en) Printing equipment
JPH07168818A (en) Document preparing device
JP3161744B2 (en) Information processing device
JP2977132B2 (en) Printer
JPS61175048A (en) Printing control system
JPS60262677A (en) Document printer
JP2610405B2 (en) Document creation device
JPH02130177A (en) Printing processor
JPH08123801A (en) Document preparing device and frame editing method
JPH0452170A (en) Document preparation device
JPS6342885A (en) Document forming device
JPH03102515A (en) Document preparing device
JPH02136269A (en) Document processing apparatus
JPH08164685A (en) Multipage press and bind machine
JPS6273975A (en) Apparatus for processing character
JPH08290626A (en) Printer and character-disposing method
JPH06166234A (en) Document preparing device and printing control method
JPH01229648A (en) Control method in alphabetic outline font printing
JPH0764977A (en) Document preparing device and format change method
JPH10207878A (en) Document editing and printing device
JPH04326465A (en) Character processor
JPH0580013B2 (en)