JPS62108063A - Printing control system - Google Patents

Printing control system

Info

Publication number
JPS62108063A
JPS62108063A JP60247569A JP24756985A JPS62108063A JP S62108063 A JPS62108063 A JP S62108063A JP 60247569 A JP60247569 A JP 60247569A JP 24756985 A JP24756985 A JP 24756985A JP S62108063 A JPS62108063 A JP S62108063A
Authority
JP
Japan
Prior art keywords
line
printing
character
print
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
JP60247569A
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 JP60247569A priority Critical patent/JPS62108063A/en
Publication of JPS62108063A publication Critical patent/JPS62108063A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To make the column and row conversion printing in a unit of line of the document having different spaces between letters including the underline and the ruled line possible, by possessing a means of drawing a underline under the letter space part and a means of drawing a ruled line to the letter space part. CONSTITUTION:Whether line feed code or not is judged. If no line feed code, whether the ruled line connection bit is on or not, is determined. If the ruled line connection bit of LIB is on, a horizontal ruled line code is set to a letter code. If the ruled line connection bit of LIB is not on, a letter pattern is immediately loaded from ROM and the LIB zone sequence number is loaded. Then, the letter is enlarged to be processed from line modification information such as letter size, rotation, inclined type, letter void, etc. and the zone sequence number. Thereafter, whether vertical ruled line code or not is judged, if no vertical ruled line code, the process is ended. Further, if vertical ruled line code, a vertical ruled line pattern is developed between lines and the process is ended. Furthermore, if it is judged to be a line feed code, a specific value indicating the printable maximum dot number is set at the line feed position of LIB and process of letter development is ended.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は行修飾された文書の縦横変換印刷機能を実現し
た文書作成装置の印刷制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a print control system for a document creation device that realizes a vertical/horizontal conversion printing function for a line-modified document.

[発明の技術的背景とその問題点] 従来、日本語ワードプロセッサ等の文書作成装置は、文
書表示機構にCRTディスプレイを用い、文書ファイル
機構にフロッピィディスク装置等の外部記憶を用いてい
ることから装置構成が大型化し価格面でも高価であった
。しかしながら近年では表示機構にLCD (液晶ディ
スプレイ)を用い、文書ファイル$11IAにCMT 
(カセット式磁気テーブ装置)、又はマイクロフロッピ
ディスクドライブを用いる等、種々の工夫、改良が成さ
れ、小形かつ軽暑で低価格の所謂、パーソナルワードプ
ロセッサと称される文書作成装置が実現されるに至った
[Technical background of the invention and its problems] Conventionally, document creation devices such as Japanese word processors use a CRT display as a document display mechanism and an external storage such as a floppy disk device as a document file mechanism. The structure was large and expensive. However, in recent years, LCD (Liquid Crystal Display) is used as the display mechanism, and CMT is used for document file $11IA.
Various innovations and improvements have been made, such as using a cassette-type magnetic tape device or a micro-floppy disk drive, and a document creation device called a personal word processor, which is small, light heat, and low cost, has been realized. It's arrived.

このような低価格、かつコンパクトな文書作成Vt置に
於いては、例えば入力機構となるLCDの表示画面サイ
ズにも大きな制約を受け、行数1行乃至2行、字110
字乃至数十字程度の小さな画面サイズのものが用いられ
る。
In such low-cost and compact document creation Vt devices, for example, there are major restrictions on the display screen size of the LCD that serves as the input mechanism.
A screen with a small screen size of letters or several crosses is used.

又、印刷機構に於いても取扱可能な用紙サイズには大き
な制約を受け、例えば84サイズの用紙を横方向に給紙
部に挿入可能な印刷機構を備えることは、装置の大型化
、重−化、高価格化を招き、所期の目的を達成できない
In addition, the printing mechanism is also subject to significant restrictions on the paper size that it can handle; for example, providing a printing mechanism that can insert 84-size paper horizontally into the paper feed section would increase the size and weight of the device. This will lead to increased costs and higher prices, making it impossible to achieve the intended purpose.

そこで、B4用紙を縦方向に挿入しても、横方向に挿入
した場合と同様に印刷できる所謂、縦横変換印刷方式が
実現された。
Therefore, a so-called portrait-horizontal conversion printing method has been realized, which allows printing even when B4 paper is inserted vertically in the same manner as when it is inserted horizontally.

しかしながら、通常の印刷方式による印刷では印刷瀘構
の印刷可能範囲によって用紙の桁方向の印刷可能範囲が
制限されるのに対して、上記縦横変換印刷方式による印
刷では用紙の行方向の印刷範囲が制限される。この際の
標準印刷と縦横変換印刷の各印刷フオームを第17図<
a>乃至(d)に示している。即ち、同図(a)は標準
・横書き印刷、同図(b)は標準・縦古きm1り、同図
(C)は縦横変換・横書き印刷、同図(d)は縦横変換
・縦書き印刷の各フオームを示している。
However, in printing using the normal printing method, the printable range in the column direction of the paper is limited by the printable range of the print filter structure, whereas in printing using the above-mentioned aspect conversion printing method, the printable range in the row direction of the paper is limited. limited. Figure 17 shows the printing forms for standard printing and portrait/horizontal conversion printing at this time.
a> to (d). That is, the figure (a) is standard/horizontal printing, the figure (b) is the standard/vertical old m1 format, the figure (C) is the vertical/horizontal conversion/horizontal printing, and the figure (d) is the vertical/horizontal conversion/vertical printing. Each form is shown.

従って、従来では、縦横変換印刷により印刷したとき、
行ピッチが固定されていたり、又、可変できる場合であ
っても印刷可能な範囲を越える行ピッチが指定された際
は全く印刷を実行しない機能構成としていた。又、従来
の縦横変換印刷では、上記行ピッチに限らず、文字サイ
ズ、文字間、行間等も固定され、従って縦横変換印刷の
際は通常の印刷と全く異なる印刷結果となってしまうと
いう欠点を有していた。
Therefore, conventionally, when printing by aspect conversion printing,
Even if the line pitch is fixed or variable, if a line pitch exceeding the printable range is specified, printing is not executed at all. In addition, in conventional aspect conversion printing, not only the line pitch mentioned above, but also character size, character spacing, line spacing, etc. are fixed, so when performing aspect conversion printing, the print result is completely different from normal printing. had.

[発明の目的] 本発明は上記実情に鑑みなされたもので、行を単位に、
複数種の文字が混在した文書を通常の印刷と同様の印刷
結果となるように縦横変換印刷できる印刷制御方式を提
供することを目的とし、特に行を単位に文字間間隔の異
なる文書を下線、罫線を含めて縦横変換印刷できる印刷
制御方式を提供することを目的とする。
[Object of the invention] The present invention has been made in view of the above-mentioned circumstances.
The purpose is to provide a print control method that can print documents containing a mixture of multiple types of characters with vertical and horizontal conversion so that the print result is similar to that of normal printing. The purpose of the present invention is to provide a print control method that can perform vertical/horizontal conversion printing including ruled lines.

[発明の概要] 本発明は、入力された文書の行を単位に、文字サイズ、
文字間間隔を含む修飾情報を記憶する行修飾記憶手段と
、印刷対象となる文書の行を単位に改行位置、桁番号、
ゾーン番号及び下線接続ビット、罫線接続ビットを含む
行情報を記憶する行情報記憶手段と、上記行修飾情報の
文字間間隔によって上記行情報の改行位置を更、新する
手段と、上記行情報の改行位置から用紙送り量を決定す
る改行値を求める手段と、上記行情報の下線接続ビット
によって、文字間部分に下線を引く手段と、上記行情報
の罫線接続ビットによって、文字間部分に罫線を引く手
段とを備え、印刷機構の給紙部に縦方向に挿入された用
紙上に、恰も用紙を横方向に挿入したように、行を単位
に文字間間隔の異なる文書を下線、罫線を含めて縦横変
換印刷できる構成としたもので、これにより1、パーソ
ナルワードプロセッサに於いて、幅の狭い給紙部を有効
に利用し、行を単位に、複数種の文字が混在した文1を
通常の印刷と同様の印刷結果となるように縦横変換印刷
でき、印刷機能を大幅に向上できる。
[Summary of the Invention] The present invention is capable of determining the font size, character size, and
A line modification storage means that stores modification information including the spacing between characters, and a line break position, column number,
a line information storage means for storing line information including a zone number, an underline connection bit, and a ruled line connection bit; a means for updating the line break position of the line information according to the inter-character spacing of the line modification information; A means for obtaining a line feed value that determines the paper feed amount from the line feed position, a means for underlining the space between characters using the underline connection bit of the line information, and a means for drawing a ruled line between the characters using the line connection bit of the line information. The device is equipped with a means for printing documents with different character spacing line by line, including underlines and ruled lines, on a sheet of paper inserted vertically into the paper feed section of the printing mechanism, just as if the sheet were inserted horizontally. It is configured to be able to print horizontally and vertically.1.In a personal word processor, it is possible to effectively utilize the narrow paper feed area and print a sentence containing multiple types of characters line by line as usual. It is possible to perform portrait/horizontal conversion printing so that the printing result is similar to that of the original, and the printing function can be greatly improved.

[発明の実施例] 以下図面を参照して本発明の一実施例を説明する。[Embodiments of the invention] 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 an apparatus according to an embodiment of the present invention.

第1図に於いて、10はキーボード(KB) 、外部配
憶となるオーディオカセット磁気テープ装置を用いたデ
ータレコーダ(CMT)及び3.5吋マイクロフロッピ
ィディスク(FDD) 、液晶ディスプレイ(LCD)
、シリアルプリンタ(PRT)等の機構部会々の入出力
制御を行なう入出力制御回路部それぞれを制御対像とし
、装置全体の制御を司る処理装置(CPU)、更には、
辞書領域、文字フォント領域、プログラム領域等をもつ
ROM及びRAMでなる内部記憶部等とともに1チツプ
化した大規模集積回路装置であり、実機に於いては10
0ピンの端子構造をちって構成され、特願昭59−20
4455号、特願昭59−204456号、特願昭59
−204462号等に示される半導体集積回路技術をも
とに実現している。以下この大規模集積回路装置をスー
パインテグレーション又はSIと呼称する。
In Fig. 1, 10 is a keyboard (KB), a data recorder (CMT) using an audio cassette magnetic tape device for external storage, a 3.5-inch microfloppy disk (FDD), and a liquid crystal display (LCD).
, a processing unit (CPU) that controls the entire device, and a processing unit (CPU) that controls the entire device.
It is a large-scale integrated circuit device that is integrated into a single chip with an internal storage section consisting of ROM and RAM that has a dictionary area, character font area, program area, etc.
It is constructed by changing the terminal structure of the 0 pin, and is patented in 1984-20.
No. 4455, Patent Application No. 1983-204456, Patent Application No. 1983
This is realized based on the semiconductor integrated circuit technology disclosed in No. 204462 and the like. Hereinafter, this large-scale integrated circuit device will be referred to as superintegration or SI.

11乃至19はそれぞれ上記5110の内部構成要素で
ある。このうち、11は装置全体の制御を司るCPUで
あり、ここではキー人力判別、仮名漢字変換、支店の編
集校正等の処、理に加え、行属性情報に従う行単位の文
字修飾、及び印刷停止制御を含む行修飾処理を実行する
。尚、実機に於いてはこのCPU11を780相当の論
理構造としている。
11 to 19 are internal components of the above 5110, respectively. Of these, 11 is the CPU that controls the entire device, and in addition to processing such as key manual recognition, kana-kanji conversion, branch editing proofreading, etc., it also performs character modification on a line-by-line basis according to line attribute information, and stops printing. Performs row-qualification processing, including control. In the actual machine, the CPU 11 has a logical structure equivalent to that of a 780.

又、図に於いては、5110内部のシステムバスに翼が
る外部のバス、接続端子、更には5rio内部に設けら
れるカウンタ/タイマ等、この発明に直接関係しないロ
ジックを省略して示している。
Also, in the diagram, logic that is not directly related to this invention, such as external buses connected to the internal system bus of 5110, connection terminals, and counters/timers provided inside 5rio, is omitted. .

12乃至18はそれぞれ上記CPU11の内部システム
バスに接続される$110の内部構成要素である。
12 to 18 are internal components of $110 each connected to the internal system bus of the CPU 11.

このうち、12は周辺制御回路(双方向インターフェイ
ス回路)であり、3ポートのうちの一つのボートがキー
ボードスキャンデータの出力(4ビット)とカセット店
込みデータの出力(1ビツト)に用いられ、他の一つの
ボートがキーボードリターン信号の入力(8ビツト)に
用いられる。この周辺制御回路を以下PPIと呼称する
。実機に於いてはこのPP112を8255相当の論理
構造としている。
Of these, 12 are peripheral control circuits (bidirectional interface circuits), and one port of the three ports is used for outputting keyboard scan data (4 bits) and cassette loading data (1 bit). Another port is used to input the keyboard return signal (8 bits). This peripheral control circuit is hereinafter referred to as PPI. In the actual machine, this PP112 has a logical structure equivalent to 8255.

13は上記PP112のキーボードスキャンデータ出力
(4ビツト)を受けて該データをデコードし、9種のス
キャン信号としてキーボードに送出するデコーダ(DC
E)である。
13 is a decoder (DC
E).

14はRAMであり、ここでは、文書バッファ領域、行
修飾情報領域、外字パターン領域、暫定辞書領域等に加
えて、入力文書の行を単位に、改行位置/桁番号/ゾー
ン番号を含む行情報ブロック(l ine Infor
mation  Block :以下LIBと称す)、
及び行ピッチ/文字量/文字サイズを含む行修飾ta報
の各領域(LIBバッファ、及び行修飾バッファ)が確
保されるとともに、縦横変換印刷を含む印刷実行時に於
ける各種の変数、ポインタ値等を貯える印刷制御レジス
タ領域(RO〜R14)が確保され、更には行イメージ
バッファ(D−BU F) 140 、ラインバッファ
(LB)141等の領域が確保されるもので、そのLI
Bバッファに貯えられたLIB、行修飾バッファに貯え
られた行修飾情報、及び印刷制御レジスタ領域(RO〜
R14)の詳細は第2図乃至第4図に示されている。
14 is a RAM, in which, in addition to a document buffer area, line modification information area, external character pattern area, provisional dictionary area, etc., line information including line feed positions, column numbers, and zone numbers is stored for each line of the input document. Block (line Infor
mation Block: hereinafter referred to as LIB),
In addition to securing each area (LIB buffer and line modification buffer) for line modification information including line pitch, character amount, and character size, various variables, pointer values, etc. during printing, including vertical/horizontal conversion printing, are secured. A print control register area (RO to R14) for storing the LI
The LIB stored in the B buffer, the line modification information stored in the line modification buffer, and the print control register area (RO~
Details of R14) are shown in FIGS. 2 to 4.

15はROMであり、ここでは、システムプログラム、
辞書、英文フォントを含む文字フォント、変換テーブル
、複数画面のメツセージ等が格納される。
15 is a ROM, in which system programs,
Dictionaries, character fonts including English fonts, conversion tables, messages on multiple screens, etc. are stored.

16はCP Ll 11の制御の下に外部記憶となるオ
ーディオカセット磁気テープ装置を用いたデータレコー
ダ(CMT)の読出し/書込み制御を行なうカセットイ
ンターフェイス回路(CMT−INTF)であり、デー
タ書込み時に於いては、書込み開始に先立ち、リーグ部
として約10秒間オール1 のデータを出力し、その後
にPP112より出力されるビットシリアルのカセット
書込みデータ(行修飾領域データ/文書領域データ/外
字パターン領域データ/i!I句登録領域データ/g!
J定辞書領域データ等)を出力し、その後にトレーラ部
として約2秒間オール“0”のデータを出力する。
16 is a cassette interface circuit (CMT-INTF) which performs read/write control of a data recorder (CMT) using an audio cassette magnetic tape device serving as an external storage under the control of the CP Ll 11; Before starting writing, the league part outputs all 1 data for about 10 seconds, and then the bit serial cassette write data (line modification area data/document area data/external character pattern area data/i !I phrase registration area data/g!
(J-defined dictionary area data, etc.), and then outputs all "0" data for about 2 seconds as a trailer section.

17はLCDllJl回路(LCDC)rあ’)、RA
 M 14内に設けられる行イメージバッファ140を
アクセスしLCD表示データを出力する。
17 is LCDllJl circuit (LCDC) rA'), RA
The row image buffer 140 provided in M14 is accessed to output LCD display data.

18はプリンタコントローラ(ITc)であり、CP 
U 11の制御の下に、RAM14を介してプリントイ
メージデータを出力する。
18 is a printer controller (ITc), and CP
Print image data is outputted via the RAM 14 under the control of the U 11.

19はクロックジェネレータ(CG)であり、外部の発
振器(O20)20より出力される基本クロックを受け
て所定の分周クロック、タイミング信号等を出力する。
A clock generator (CG) 19 receives a basic clock output from an external oscillator (O20) 20 and outputs a predetermined frequency-divided clock, timing signal, etc.

20は基本クロックを生成し、8110内部のクロック
ジェネレータ19に供給する発振器(O20)、30G
、を同じ<5FIO内部のPP112及びデコーダ13
に接続されたキーボード(KB)、40は占込みデータ
を録音可能なアナログ最の信号に変換するD/A変換器
と再生されたアナログ旦の信号をデジタル信号に変換す
るA/D変換器を有してなるCMTアダプタ41を介し
て31io内部のカセットインターフェイス回路16に
接続されたオーディオカセット磁気テープ装置を用いて
なるデータレコーダ(CMT)、50はLCDドライバ
(LCD−D RV )51を介して8110内部のL
 CD flint lit回路17に接続された液晶
ディスプレイ(以下LCDと称す)、60は同プリンタ
コントローラ18に接続されたシリアルプリンタである
。70は3.5吋のマイクロフOツビイディスクドライ
ブ(FDD)であり、フロッピィディスクコントローラ
(FDC>71を介して5rio内部のCP LJ 1
1の内部システムバスに接続される。
20 is an oscillator (O20) that generates a basic clock and supplies it to the clock generator 19 inside the 8110; 30G;
, the same <5 PP112 and decoder 13 inside FIO
The keyboard (KB) 40 is connected to a D/A converter that converts the recorded data into a recordable analog signal, and an A/D converter that converts the reproduced analog signal into a digital signal. A data recorder (CMT) using an audio cassette magnetic tape device connected to the cassette interface circuit 16 inside the 31io via a CMT adapter 41 having L inside 8110
A liquid crystal display (hereinafter referred to as LCD) is connected to the CD flint lit circuit 17, and 60 is a serial printer connected to the same printer controller 18. 70 is a 3.5-inch micro-flop disk drive (FDD), and the CP LJ 1 inside 5rio is connected via a floppy disk controller (FDC>71).
1 internal system bus.

ここで、上記シリアルプリンタ60は、順方向/逆方向
の紙送り11 tillを可能とし、例えば斜体文字の
印刷時に於いて逆方向の紙送り(バックフィード)を行
なう。
Here, the serial printer 60 is capable of forward/reverse paper feed 11 till, and performs paper feed in the reverse direction (backfeed), for example, when printing italic characters.

第2因は上記第1図に示すRAM14内のLIBバッフ
ァに貯えられたLIBの構成を示す図であり、文書の各
行に対応して設けられるLIBは、それぞれ2バイト構
成の改行位置@wtPL、7ビツト構成の桁番号領域P
c、6ビツト構成のゾーン番号領t4Pz、更には下線
接続ビット、罫線接続ビット、右半角指定ビット等から
なる。このLIBの初期設定は、桁番号領域Pcのみに
桁番号値「1」 (第1桁)を設定し、改行位置領域P
L、及びゾーン番号領域PzにそれぞれrOJを設定す
る。このLIB内の各領域はiBポインタにより指定さ
れる。
The second reason is the diagram showing the configuration of the LIB stored in the LIB buffer in the RAM 14 shown in FIG. Digit number area P with 7-bit configuration
c, a 6-bit zone number field t4Pz, and further includes an underline connection bit, a ruled line connection bit, a right half-width designation bit, etc. The initial setting of this LIB is to set the digit number value "1" (first digit) only in the digit number area Pc, and set the digit number value "1" (first digit) only in the digit number area Pc, and
rOJ is set in L and zone number area Pz, respectively. Each area within this LIB is designated by an iB pointer.

第3図は上記第1図に示すRAM14内の印刷制御レジ
スタ領域(RO〜R14)の構成を示す図であり、各レ
ジスタRO〜R14はそれぞれ2バイトで構成されるも
ので、このうち、ROは印刷指定行数を貯えるレジスタ
、R1は印刷残り行数を貯えるレジスタ、R2は印刷可
能行数を貯えるレジスタ、R3は印刷開始行番号を貯え
るレジスタ、R4は印81開始点を貯えるレジスタ、R
5は仮印刷開始点を貯えるレジスタ、R6は文字展開開
始点を貯えるレジスタ、R7は印刷終了点を貯えるレジ
スタ、R8は印字ヘッド位置を貯えるレジスタ、R9は
改行実行位置を貯えるレジスタ、R10は印刷行番号を
貯えるレジスタ、R11は印刷行数を貯えるレジスタ、
R12は文字書込み開始点を貯えるレジスタ、R13は
文字書込み終了点を貯えるレジスタ、R14は印刷可能
範囲を貯えるレジスタである。
FIG. 3 is a diagram showing the configuration of the print control register area (RO to R14) in the RAM 14 shown in FIG. is a register that stores the specified number of lines to print, R1 is a register that stores the number of remaining lines to print, R2 is a register that stores the number of printable lines, R3 is a register that stores the print start line number, R4 is a register that stores the mark 81 starting point, R
5 is a register that stores the temporary print start point, R6 is a register that stores the character development start point, R7 is a register that stores the print end point, R8 is a register that stores the print head position, R9 is a register that stores the line feed execution position, and R10 is the print register. A register that stores the line number, R11 is a register that stores the number of printed lines,
R12 is a register that stores the character writing start point, R13 is a register that stores the character writing end point, and R14 is a register that stores the printable range.

第4図は上記第1図に示すRAM14内の行修飾バッフ
1に貯えられる行rIIjIJ情報の構成を示したもの
で、ここでは、白抜きの有無に1ビツト〈1”;有/“
toll;無)を割付け、回転・斜体に3ビツト(”0
00”;回転・斜体指定無、“001°゛;回転1 <
90” )、” 010”:回転2 (180” )、
”011″;回転3 (270°)、’100”;斜体
指定)を割付け、文字サイズに4ビツト(0001”:
サイズ1 (24X24ドツト)〜゛1001”;サイ
ズ9 (576X576ドツト))を割付け、印刷停止
の有無に1ビツト(111II ;停止有/“0”;停
止無)を割付け、文字間間隔に2ビツト(“’oo”:
文字間0(0ドツト)〜゛″11 ” :文字間3(1
2ドツト))を割付け、行ピッチに4ビツト(“111
1″;改行B(改行量ニーBイ>チ/120)、“00
00”;改行0(改行量;Oインチ/120)、”00
01 ” :改1iH(改行1 : +8インチ/12
0)、0010”:改行K(改行1:+16インチ/1
20) 、“0011°”;改行E(改行曇;+20イ
ンチ/120)、”0100”:改行1(改行量;+3
0インチ/120)〜”0111”;改行4(改行饅;
+60インチ/120))を割付け、用紙交換の有無に
1ビツト(゛1″;用紙交換有/“10+1.用紙交換
無)を割付け、左桁余白に1バイト(−9〜63桁)を
割付けている。
FIG. 4 shows the structure of the row rIIjIJ information stored in the row modification buffer 1 in the RAM 14 shown in FIG.
toll (nothing) and 3 bits ("0") for rotation and italic.
00”; No rotation/oblique designation, “001°゛; Rotation 1 <
90”), “010”: Rotation 2 (180”),
Assign "011"; rotation 3 (270°), '100"; italic designation), and set the font size to 4 bits (0001":
Assign size 1 (24 x 24 dots) to '1001''; size 9 (576 x 576 dots)), assign 1 bit (111II: with stop/"0": no stop) to whether or not to stop printing, and 2 bits to the spacing between characters. (“'oo”:
Character spacing 0 (0 dots) to ``11'': Character spacing 3 (1
2 dots)) and 4 bits (“111
1″; Line feed B (Line feed amount K > C/120), “00
00"; line feed 0 (line feed amount; O inches/120), "00
01”: New line 1iH (Line break 1: +8 inch/12
0), 0010”: Line feed K (Line feed 1: +16 inch/1
20), “0011°”; Line feed E (Line break cloudy; +20 inches/120), “0100”: Line feed 1 (Line feed amount; +3
0 inch/120) ~ “0111”; Line break 4 (Line break rice cake;
+60 inch/120)), 1 bit ('1''; paper exchanged/'10 + 1. no paper exchange)' is assigned to whether or not paper is to be replaced, and 1 byte (-9 to 63 digits) is assigned to the left digit margin. ing.

第5図は上記RAM14内の文書バッファ領域に貯えら
れる漢字文字コードの構成を示すもので、1文字当り2
バイトで構成され、それぞれ7×2ビツトの区・点コー
ドと各1ビツトの半角指定ビット及び下線指定ビットか
らなる。
FIG. 5 shows the structure of the kanji character codes stored in the document buffer area in the RAM 14, with 2 kanji character codes per character.
Each byte consists of a 7 x 2-bit ku/dot code, a 1-bit half-width designation bit, and an underline designation bit.

第6図は行修飾された文字の横方向の文字サイズを示し
たもので、ここでは、[全角/横書き半角/縦書き半角
/4倍角/回転/斜体/白抜き]の各文字の横方向サイ
ズを示している。
Figure 6 shows the horizontal character size of line-modified characters. Shows size.

第7図は各III文字のゾーンの定義を説明するための
図であり、ここでは、全角(24X 24ドツト)74
倍角(48X48ドツト)7/斜体の各文字を例にその
ゾーン境界を破線で示している。
FIG. 7 is a diagram for explaining the definition of the zone of each III character.
For example, the zone boundaries of double-width (48x48 dots) 7/italic characters are shown with broken lines.

尚、行修飾の指定は、実機に於いては[機能]キーを押
下した状態で特定の第1の文字キーを押下することによ
り行修飾の指示入力を行なっているが、ここでは説明を
一1素にするため、[行修飾]キーの操作で行修飾を指
定するものとする。又、上記行修飾の設定時に於いては
、上/下のカーソルキー操作で選択画面を更新すること
により、その更新前の選択画面の項目選択が終了した(
カーソル位置の項目が選択された)とみなし、[選択/
実行]キーが押下されることによって行修飾の設定が終
了したものとして、その行修飾情報を上記RA M 1
4内の行修飾バッファに文書行に対応付けて書込む。又
、上記行修飾表示モード時に於いて、非選択の際は、書
式設定で設定された選択状態、又は全文削除で設定され
た状態となっており、この際の各設定値をここでは行修
飾標準値と称している。
Note that to specify a line modification, on the actual machine, the line modification instruction is entered by pressing a specific first character key while holding down the [Function] key, but here the explanation is brief. In order to make it a single element, specify the line modification by operating the [Row Modification] key. Also, when setting the line decoration above, by updating the selection screen using the up/down cursor keys, the item selection on the selection screen before the update is completed (
The item at the cursor position is selected) and [Select/
Assuming that the setting of the line decoration is completed by pressing the [Execute] key, the line decoration information is stored in the above RAM 1.
4 in the line modification buffer in association with the document line. In addition, in the above line decoration display mode, when it is not selected, it is in the selected state set by formatting or the state set by full text deletion, and each setting value at this time is shown here as row decoration. It is called the standard value.

第8図は縦横変換印刷時に於ける上記RAM14内のラ
インバッファ141上の文字パターンの配列状態と各部
の名称を示す図、第9図は同ラインバッファ141上の
文字配置状態と各部の名称を示す図である。
FIG. 8 shows the arrangement of character patterns on the line buffer 141 in the RAM 14 and the names of each part during portrait/horizontal conversion printing, and FIG. 9 shows the arrangement of characters on the line buffer 141 and the names of each part. FIG.

第10図は縦横変換印刷動作の説明図である。FIG. 10 is an explanatory diagram of the vertical/horizontal conversion printing operation.

ここで、用紙上のSCは、印刷機構の給紙部(用紙挿入
口)に設けられた印刷位置を示すスケールであり、ここ
では27ドツトの印字幅(全角文字サイズ=24ドツト
十文字間;3ドツトの文字ピッチに相当する印字幅)を
単位に0−i(実機ではm−56)まで目盛りが付られ
る。このスケールSCを目安に例えば縦横変換印刷時に
於ける印刷先頭行位置等が指定される。
Here, the SC on the paper is a scale that indicates the printing position provided in the paper feed section (paper insertion slot) of the printing mechanism, and here, the printing width is 27 dots (full-width character size = 24 dots, 3 A scale is provided in units of 0-i (m-56 on the actual machine) in units of printing width (corresponding to the character pitch of dots). Using this scale SC as a guide, for example, the position of the first line to be printed during portrait/horizontal conversion printing is specified.

第11図乃至第16図はそれぞれ上記実施例に於ける縦
横変換印刷の処理フローを示す図であり、第11図は縦
横変換印刷全体の処理フロー、第12図は上記第11図
に於けるステップS1の処理フロー、第13図は上記第
11図に於けるステップS4の処理フロー、第14図は
上記第11図に於けるステップ316.322の処理フ
ロー、第15図は上記第11図に於けるステップ817
の処理フロー、第16図は上記第11図に於けるステッ
プ818の処理フローをそれぞれ示している。
11 to 16 are diagrams showing the process flow of the aspect conversion printing in the above embodiment, respectively. FIG. 11 is the process flow of the entire aspect conversion printing, and FIG. 12 is the process flow of the aspect conversion printing in the above embodiment. The process flow of step S1, FIG. 13 is the process flow of step S4 in FIG. 11 above, FIG. 14 is the process flow of steps 316 and 322 in FIG. Step 817 in
FIG. 16 shows the processing flow of step 818 in FIG. 11 above.

尚、文書印刷の指定は、実機に於いては、[ta能]キ
ーを押下した状態で特定の第2の文字キーを押下するこ
とにより、文書印刷の指示入力を行なっているが、ここ
では説明を簡素にするため、[文書印刷コキーで文書印
刷モードを指定するものとする。又、ここでは、文書作
成中に於いても任意の行数分の部分印刷が可能となるも
ので、この部分印刷の指定も[機能]キーと成る特定キ
ーとの組合わせによって行なわれる。
Note that to specify document printing, on the actual machine, the document printing instruction is entered by pressing a specific second character key while holding down the [ta function] key. To simplify the explanation, it is assumed that the document print mode is specified using the document print key. Also, here, it is possible to partially print an arbitrary number of lines even during document creation, and this partial printing is also specified in combination with a specific key that is the [Function] key.

これらの印刷モード下に於いて、[標準印刷/縦横変換
印刷]、更には[横書き/縦書き] [左余6白]等の
指定がカーソルキー及び数値キーの操作と[選択/実行
]キーの操作により行なわれる。
Under these print modes, settings such as [Standard printing/Vertical/horizontal conversion printing], [Horizontal writing/Vertical writing], [Left margin 6 spaces], etc. can be specified using the cursor keys and numeric keys and the [Select/Execute] key. This is done by the operation of

ここで上記各図を参照して一実施例の動作を説明する。Here, the operation of one embodiment will be explained with reference to the above figures.

漢字混じり文の入力時に於いては、キーボード30より
入力されたキー人力信号が8110内のCPU11の制
御により仮名漢字変換され、RAM14内″の文書バッ
フ?に貯えられる。この際、CPU11は、PP112
を介し更にデコーダ13を介してキーボード30にスキ
ャン信号を出力し、そのリターン信号をPP■12をよ
り入力してキー判別を行ないキーコードを生成する。更
に、同キーコードをもとに仮名人力された漢字指定部分
についてROM15内の辞書、更にはRA M 14内
の暫定辞書等を索引し、仮名漢字変換処理した後、その
変換された漢字コードを含む入力文字コード列を文1バ
ッファに貯える。
When inputting a sentence containing kanji, the key input signal from the keyboard 30 is converted into kana and kanji by the control of the CPU 11 in the 8110, and stored in the document buffer in the RAM 14.
Further, a scan signal is outputted to the keyboard 30 via the decoder 13, and the return signal is inputted to the PP12 to perform key discrimination and generate a key code. Furthermore, the dictionary in the ROM 15 and the provisional dictionary in the RAM 14 are indexed for the designated part of the kana/kanji manually inputted based on the same key code, and after the kana/kanji conversion process is performed, the converted kanji code is Store the input character code string containing the text in the statement 1 buffer.

上記した文書入力時に於いて、文書バッファに貯えられ
る入力文字は、CP U 11の制御の下に順次行イメ
ージバッファ140上にパターン展開され、L CD 
ill I!1回路17の表示制御、更にはLCDドラ
イバ51の表示ドライブでL CD 50上に表示出力
される。
During the above-described document input, input characters stored in the document buffer are sequentially developed into patterns on the line image buffer 140 under the control of the CPU 11, and
ill I! The signal is displayed on the LCD 50 by the display control of the 1 circuit 17 and the display drive of the LCD driver 51.

このようにして入力された既入力文書は、カーソルキー
操作により、L CD 50上に所定桁数の文字列をも
って任意に表示でき、文書の校正、訂正等に供される。
The previously inputted document thus input can be arbitrarily displayed as a character string of a predetermined number of digits on the LCD 50 by operating the cursor keys, and can be used for proofreading, correction, etc. of the document.

上記した入力文書に対して、行を単位に文字修飾の指定
を行ないたい場合は、修飾したい行位置の文字列をカー
ソルキー操作で選択し表示して、[n能]キーと他の特
定キーとの組合わせによる[行修飾1キ一操作により行
修飾の指定を行なう。
If you want to specify character modification on a line-by-line basis for the above input document, use the cursor keys to select and display the character string at the line position you want to modify, then press the [n] key and other specific keys. In combination with [Line modification 1 key operation specifies line modification.

CP U 11は、[行灯1]キーの操作入力を判別す
ると、L CD 50の表示モードを文書表示モードか
ら行修飾表示モードに切換える。この行修飾表示モード
では、具体例を挙げると、最初に文字間間隔及び改行ピ
ッチを選択するための選択画面が表示され、次に文字サ
イズを選択するための選択画面が表示される。この際の
文字間間隔から改行ピッチへの項目切換えは[次項目]
キー操作で行なわれ、選択画面の切換えは上下方向のカ
ーソルキー操作で行なわれ、その各項目選択は左右方向
のカーソルキー操作で行なわれる。例えば文字間間隔及
び改行ピッチを選択するための選択画面が表示された状
態で、[次項目]キー操作及び左右方向のカーソルキー
操作による項目選択を行なわずに、上下方向のカーソル
キー操作で選択画面切換えを行なうと、上記通釈画面上
にカーソル表示された文字間間隔が選択されたものとし
て、その制御情報をもつ行修飾情報が上記RA M 1
4内の行修飾バッファに記憶され、次に新たに表示され
た選択画面の項目(ここで文字サイズ)が選択対象とな
る。又、上記選択画面の切換えで、例えば「印刷停止」
の選択画面が表示され、カーソルキー操作で「印刷停止
有」が選択され、その後に[選択/実行]キーが操作さ
れると、「印刷停止有」の制御情報をもつ行修飾情報が
上記RAM14内の行修飾バッファに記憶される。
When the CPU 11 determines that the [Lamp 1] key is operated, the CPU 11 switches the display mode of the LCD 50 from the document display mode to the line modification display mode. In this line modification display mode, to give a specific example, first a selection screen for selecting character spacing and line break pitch is displayed, and then a selection screen for selecting character size is displayed. At this time, change the item from character spacing to line break pitch using [Next item]
The selection screen is changed by operating the cursor keys in the up and down directions, and each item is selected by operating the cursor keys in the left and right directions. For example, when the selection screen for selecting character spacing and line break pitch is displayed, do not select the item by operating the [Next Item] key or operating the left/right cursor keys, but select by operating the up/down cursor keys. When the screen is switched, it is assumed that the character spacing displayed by the cursor on the interpretation screen has been selected, and the line modification information containing the control information is stored in the RAM 1.
The item (character size here) stored in the line modification buffer in 4 and then newly displayed on the selection screen becomes the selection target. Also, by switching the selection screen above, for example, "Stop printing"
When the selection screen is displayed and "Printing stopped" is selected by operating the cursor keys, and the [Select/Execute] key is then operated, the line modification information having the control information "Printing stopped" is stored in the RAM 14. stored in the line qualification buffer within.

上記した行is設定手段に於いて、文書バッファに貯え
られた文書の任意の行位置に対する行修飾設定が行なわ
れた後は、同文書バッフ?内の既入力文書をカーソルキ
ー操作でL CD 50上に表示することにより、同L
CD50上のガイド表示部に、その表示文字列の行、及
び桁と1行当りの字数が表示されるとともに、行修飾イ
ンジケータが選択的に表示される。即ち、カーソル操作
により成る表示文字列を選択すると、そのカーソル指定
された表示文字列の行位置、桁位置、及び1行当りの字
数が表示されるとともに、行*iバッフ?に貯えられた
対応する行位置の行修飾情報が参照され、同情報が行修
飾標準値と比較されて、上記カーソルにより選択された
表示行に対し行修飾が設定されているか否かが判断され
る。ここで、行修飾が設定されていなければ、即ち上記
行修飾情報の内容が上記行修飾標準値と一致すれば、行
修飾インジケータを点灯させず、又、行修飾が設定され
ていれば、即ち上記行修飾情報の内容が上記行修飾標準
値と一致しなければ、行修飾インジケータを点灯させる
。口のような行修飾インジケータの表示制御が、カーソ
ルキーによって選択された表示文書の全ての行に対して
行なわれる。このように行修飾インジケータの点灯状態
から、行修飾が行なわれた行位置を容易に確認すること
ができる。
In the above-mentioned line is setting means, after the line modification setting is performed for an arbitrary line position of the document stored in the document buffer, By displaying the already entered documents in the L CD 50 by operating the cursor keys,
On the guide display section on the CD 50, the line, digit, and number of characters per line of the displayed character string are displayed, and a line modification indicator is selectively displayed. That is, when a display string consisting of a cursor operation is selected, the line position, column position, and number of characters per line of the display string specified by the cursor are displayed, and the line*i buffer? The line decoration information for the corresponding row position stored in is referenced, and the same information is compared with the line decoration standard value to determine whether or not line decoration is set for the display line selected by the cursor. Ru. Here, if the line decoration is not set, that is, if the content of the above line decoration information matches the above line decoration standard value, the line decoration indicator will not be lit, and if the line decoration is set, i.e. If the content of the line modification information does not match the line modification standard value, the line modification indicator is turned on. Display control of a mouth-like line modification indicator is performed for all lines of the displayed document selected by the cursor keys. In this manner, the line position where the line modification has been performed can be easily confirmed from the lighting state of the row modification indicator.

次に、上記した[文書印刷]キーで文書印刷モードを指
定した際、又は、予め定められたc部分印刷]指定のた
めの特定のキー操作で部分印刷モードを指定した際の縦
横変換印刷の処理動作について第2図乃至第16図を参
照して説明する。
Next, when specifying the document print mode with the above-mentioned [Document Print] key, or when specifying the partial print mode with a specific key operation for specifying [Predetermined Partial Print] The processing operation will be explained with reference to FIGS. 2 to 16.

上記[文書印刷]キー操作で文書印刷モードが指定され
ると、又は、予め定められた[部分印刷]指定のための
特定のキー操作で部分印刷モードが指定されると、L 
CD 50の表示モードが印刷情報の設定モードに切替
わり、印刷情報設定のための選択画面が表示される。こ
こでは先ず、[標準印刷/縦横変換印81]の選択画面
が表示される。ここで、[縦横変換印刷]が選択される
と、次に[縦書/横書〕、及び[先頭行位置43]の選
択画面が表示される。この際の選択画面及び選択項目の
切替え、項目選択等は上述した行修飾モード時と同様に
、カーソルキー、[大項目]キー及び[選択/実行コキ
ー等により行なわれるが、[先頭行位置43]の選択項
目に於いて、何等、数値(2桁)が設定されず、上/下
のカーソルキーにより次画面に移行すると、ここでは、
予め初期設定されている数[(43)に従う第43行目
(スケール表示)が縦横変換印刷の[印刷先頭行位置]
として設定されたことになる。
When the document print mode is specified by the above [Document Print] key operation, or when the partial print mode is specified by a predetermined specific key operation for specifying [Partial Print], L
The display mode of the CD 50 is switched to a print information setting mode, and a selection screen for setting print information is displayed. First, a selection screen for [standard printing/vertical/horizontal conversion mark 81] is displayed. Here, when [vertical/horizontal conversion printing] is selected, a selection screen for [vertical writing/horizontal writing] and [first line position 43] is displayed next. At this time, the selection screen and selection item switching, item selection, etc. are performed using the cursor keys, [Major item] key, [Select/Execute key, etc.] in the same way as in the line modification mode described above. ] In the selection item, if no numerical value (2 digits) is set and you move to the next screen using the up/down cursor keys, here,
The pre-initialized number [The 43rd line (scale display) according to (43) is the [Print first line position] of vertical/horizontal conversion printing.
It will be set as .

上記印刷情報の設定終了に伴う[選択2/実行1キー操
作により、CPU11は、行修飾バッファに貯えられた
、印刷対重となる文書の印(iiη開始行(全文印刷の
際は先頭頁先頭行1部分印刷の際はカーソル指定行)以
降の各行修飾情報を打順に参照して、「印刷停止有」又
は「用紙交換有」の情報をもつ行修飾情報を検出し、上
記印刷開始行から上記検出行までの行数を[印刷指定行
数]として算出した後、印刷ルーチンを実行開始する。
Upon completion of the setting of the above print information, the CPU 11 selects the mark (iiη start line (in case of full text printing, the top of the first page, When printing part of a line, the line modification information after the cursor specified line is referred to in the printing order, and the line modification information with the information "Printing stopped" or "Paper replacement" is detected, and the printing starts from the above printing start line. After calculating the number of lines up to the detected line as the [print designated number of lines], execution of the print routine is started.

この際の縦横変換印刷処理動作を第2図乃至第16図を
参照して説明する。
The vertical/horizontal conversion printing processing operation at this time will be explained with reference to FIGS. 2 to 16.

先ず縦横変換印刷の全体の処理動作を第11図のフロー
チャー]〜を参照して説明する。上記した[印刷指定行
@]の算出後、印刷ルーチンの実行に入り、第11図の
フローチャートに示す処理が実行される。このとき部分
印刷であれば、まず、ステップS1に於いて、上記印1
11開始行の行番号を[印刷開始行番号]として上記R
AM14内の印刷制御i(Iレジスタ領域のレジスタR
3にセットし、更に、上記[印刷先頭行位置]と、対応
する行位置の行修飾情報がもつ文字サイズ及び行ピッチ
、更にはラインバッファ141のドツト構成数に従う定
数等をもとに[印刷可能行数コを求めて、その[印刷可
能行数]をレジスタR2にセットするとともに、ライン
バッファ141のドツト構成数と全角文字印字幅(27
ドツト)と[印刷先頭行位置1から定まる[印111可
能範囲1と、上記[印刷可能行数]とから[文字展開開
始点コを求め、この[文字展開開始点]をレジスタR6
にセットする。
First, the entire processing operation of aspect conversion printing will be explained with reference to the flowchart of FIG. 11. After calculating the above-mentioned [print designated line @], the print routine is executed, and the processing shown in the flowchart of FIG. 11 is executed. At this time, if it is partial printing, first, in step S1, the above mark 1 is printed.
11 Set the line number of the start line as [Print start line number] and press R above.
Print control i in AM14 (register R in the I register area)
3, and further, based on the above [Print first line position], the character size and line pitch of the line modification information of the corresponding line position, and the constants according to the number of dots in the line buffer 141, select [Print Determine the possible number of lines and set the [number of printable lines] in register R2, as well as the number of dots in the line buffer 141 and the full-width character printing width (27
dot) and [mark 111 possible range 1 determined from the printing first line position 1, and the above [number of printable lines] to find the [character development start point], and store this [character development start point] in register R6.
Set to .

尚、上記したステップS1の詳細なフローチャートは第
12図に示されている。
Incidentally, a detailed flowchart of the above step S1 is shown in FIG.

又、上記した[印刷開始行番号] [印刷先頭行位置コ
 [印刷可能行数][印刷可能範囲J[文字展開開始点
]等の具体的な相対位置関係は、第8図、第9図、及び
第10図にそれぞれ示されている。
In addition, the specific relative positional relationships of the above-mentioned [Print start line number] [Print first line position] [Printable number of lines] [Printable range J [Character development start point] etc. are shown in Figures 8 and 9. , and FIG. 10, respectively.

次に、ステップS2に於いては、印刷制御レジスタ領域
の[印字ヘッド位置]を指定するレジスタR8にrOJ
をセットして[印字ヘッド位IFを初期設定するととも
に、[改行実行位置]を示すレジスタR9にrOJをセ
ットして[改行実行位置]を初期設定する。
Next, in step S2, rOJ is set in register R8 that specifies [print head position] in the print control register area.
is set to initialize the print head position IF, and rOJ is set in the register R9 indicating the line feed execution position to initialize the line feed execution position.

そして、ステップ$3に於いて、LIBバッフ?のLI
Bを初期化(第2図に示すように、桁番@PCのみを「
1」、その他をすべて「0」に股゛定ンし、ステップS
4に於いて、LIBの改行位置Pt、を予め設定された
行修飾情報の「左折余白」に従い更新する。
And in step $3, LIB buffer? LI of
Initialize B (as shown in Figure 2, change only the digit number @PC to “
1” and all others to “0”, and then proceed to step S.
In step 4, the LIB line break position Pt is updated according to the "left turn margin" of the line modification information set in advance.

更に、ステップS5に於いて、レジスタR3に貯えられ
ている[印刷開始行番号]を[印刷行番号]としてレジ
スタR10にセットし、レジスタR2に貯えられている
C印刷可能行数]を[印刷行数1としてレジスタR11
にセットし、〔文字展開開始点コをレジスタR12及び
レジスタR13にセラ1〜する。次いでステップS6に
於いて、印刷対象となる文書に対応する各行のしIBの
改行位置領bX P Lから、改行位置の最小値を検出
し、これを[改行実行位置]としてレジスタR9にセッ
トする。
Furthermore, in step S5, the [Print start line number] stored in register R3 is set as [Print line number] in register R10, and the [Number of C printable lines] stored in register R2 is set as [Print line number]. Register R11 as row number 1
[Character expansion start point is set to register R12 and register R13. Next, in step S6, the minimum value of the line feed position is detected from the line feed position field bXPL of each line IB corresponding to the document to be printed, and this is set in register R9 as the [line feed execution position]. .

次に、ステップS9に於いて、レジスタR9に保持して
いる[改行実行位置1が用紙送り方向の印刷可能最大ド
ツト数を表わす特定値例えば「7FFFFFFF(H)
J  (以下、下位−桁分の” F F F F ”を
省略して示す)に達したが否かを判断し、印字可能最大
ドツト数に達していればそのまま処理を終了するが、印
字可能最大ドツト数に達していなければ次のステップS
8の処理を実行する。
Next, in step S9, the line feed execution position 1 is a specific value held in register R9 that represents the maximum number of printable dots in the paper feed direction, for example, 7FFFFFFFF (H).
It is determined whether or not the number of dots has reached the maximum number of dots that can be printed, but it is not possible to print. If the maximum number of dots has not been reached, proceed to the next step S.
Execute the process in step 8.

ステップS8では、レジスタR9に保持している[改行
実行位置]からレジスタR8に保持している[印字ヘッ
ド位置]を減算し、その減算結果を「インチ」に変換し
た後、ステップS9に於いて改行を実行する。
In step S8, the [print head position] held in register R8 is subtracted from the [line feed execution position] held in register R9, and after converting the subtraction result to "inches", in step S9 Execute a line break.

上記改行動作を行なった後、ステップ310に於いて、
11BポインタにLIB先頭アドレス(第2図M番地)
をセットする。
After performing the above change action, in step 310,
LIB start address (M address in Figure 2) to 11B pointer
Set.

そして、ステップ311に於いて、L、IBポインタの
示すアドレスより改行位置領1i P t、の改行位置
をCP U 11にロードし、次のステップ312の処
理に入る。
Then, in step 311, the line feed position of the line feed position area 1i P t is loaded into the CPU 11 from the address indicated by the L and IB pointers, and the process proceeds to the next step 312.

このステップ312では、上記11Bの改行位置と上記
レジスタR9に貯えられた[改行実行位置]とが等しい
か否かを判断し、等しい場合にGまステップ513にて
、レジスタR10に保持している[印刷行番号〕としI
8の桁番号Pcに従いRAM14内の文月バッフ1より
展開対象となる文字コードをロードする。その後、ステ
ップS14に於いて、しrBの下線接続ビットがON(
“1 ” ) 6〜否カ\を判断し、ONでなければス
テップ815に5Gいて上記文字コードの下線ビット(
第5図に示される)がONか否かを判断する。ここで上
記文字コードの下線ビットがONであれば、ステップ3
1Gに於いて下線展開処理を行なった後、ステップ81
7に於いて文字展開処理を行なう。また、上記ステップ
815で文字コードの下線ビットがONになっていない
と判断された場合は、直ちにステップ317の処理を実
行し、その後、ステップ818のLIB更新処理を実行
する。また、上記ステップS14で下線接続ビットがO
NLでいると判断された場合は、ステップS22に於い
て下線接続展開(文字間部分の下線展開)処理を行なっ
た後、ステップ818のLIB更新処理を行なう。
In this step 312, it is determined whether the line feed position of the above 11B and the [line feed execution position] stored in the above register R9 are equal or not. [Print line number] Toshi I
The character code to be expanded is loaded from the Bungetsu buffer 1 in the RAM 14 according to the digit number Pc of 8. After that, in step S14, the underline connection bit of shirB is turned on (
“1”) 6~No ka\ is judged, and if it is not ON, 5G is sent to step 815 and the underlined bit of the above character code (
(shown in FIG. 5) is ON or not. Here, if the underlined bit of the above character code is ON, step 3
After performing underline expansion processing in 1G, step 81
At step 7, character expansion processing is performed. If it is determined in step 815 that the underlined bit of the character code is not turned on, the process in step 317 is immediately executed, and then the LIB update process in step 818 is executed. Also, the underline connection bit is set to O in step S14 above.
If it is determined that it is NL, an underline connection expansion process (underline expansion between characters) is performed in step S22, and then LIB update processing is performed in step 818.

この際の下線展開処理、及び下線接続展開処理の詳細な
フローチャートは第15図に示され、文字展開処理の詳
細なフローチャートは第15図に示される。
A detailed flowchart of the underline development process and the underline connection development process at this time is shown in FIG. 15, and a detailed flowchart of the character development process is shown in FIG.

上記LIB更新処理を終了した後は、ステップ319に
於いて、レジスタR12に保持している[文字展開開始
点]と行修飾情報によって示される縦方向文字サイズ(
用紙送り方向に直交する方向の文字サイズ)とを加算し
、その加弾結果を[文字書込み終了点]としてレジスタ
R13に書込む。
After completing the above LIB update process, in step 319, the vertical character size (
(character size in the direction perpendicular to the paper feeding direction) and writes the result to the register R13 as the [character writing end point].

次に、ステップS20に於いて、レジスタR11に貯え
られた[印刷行数1を「−1」した後、ステップ321
に於いて、その「印刷行数コが「0」になったか否かを
判断する。
Next, in step S20, after decrementing the number of print lines 1 stored in the register R11 by "-1", step 321
At this point, it is determined whether the "number of printed lines" has become "0" or not.

ここで、上記[印刷行数1がrOJの場合には、ステッ
プ323に於いてキャリッジリターン及び印す11を実
行し、その印刷処理終了後、上記ステップS5の処理に
戻る。
Here, if the number of print lines 1 is rOJ, the carriage return and marking 11 are performed in step 323, and after the printing process is completed, the process returns to step S5.

また、ステップ821に於いて、[印刷行数]が「0」
ではないと判断された場合は、ステップS24に於いて
、レジスタR10に保持している[印刷行番号]を「+
1」する。
Also, in step 821, [Number of print lines] is "0".
If it is determined that it is not, in step S24, the [print line number] held in register R10 is set to "+".
1”.

次に、ステップS25に於いて、[文字書込み終了点(
R13+行ピッチー縦方向文字サイズ」の演算を行ない
、その演算結果を[文字書込み開始点]としてレジスタ
R12に書込む。そしてステップ82Gに於いてしIB
ポインタの内容を「+4」した後、ステップ811の処
理に戻る。
Next, in step S25, [Character writing end point (
R13+line pitch-vertical character size" is calculated, and the result of the calculation is written into register R12 as the [character writing start point]. And in step 82G, IB
After adding "+4" to the content of the pointer, the process returns to step 811.

以下同様の処理が繰返し実行され、レジスタR9に保持
されている[改行実行位置]が紙送り方向の最大印刷可
能ドツトに等しくなると、その状態がステップS7で検
出されて縦横変換印刷処理を終了する。
The same process is repeated thereafter, and when the [Line feed execution position] held in register R9 becomes equal to the maximum printable dot in the paper feed direction, this state is detected in step S7 and the portrait/horizontal conversion printing process ends. .

次に上記ステップS1、S4、S16、S17.518
.822の詳細について、第12図乃至第16図のフロ
ーチャートに従って説明する。
Next, the above steps S1, S4, S16, S17.518
.. The details of 822 will be explained according to the flowcharts of FIGS. 12 to 16.

第12図は上記第11図のステップS1の詳細を示すフ
ローチャートである。
FIG. 12 is a flowchart showing details of step S1 in FIG. 11 above.

この第11図のステップS1の処理は、まず、第12図
のステップA1に於いて、「先頭行位置X27ドツト」
を印刷可能紹囲として印刷制卸レジスタ領域のレジスタ
R14にセットする。
The process of step S1 in FIG. 11 begins with step A1 in FIG.
is set as a printable introduction in register R14 in the print control wholesale register area.

次いでステップA2に於いて、レジスタROに[印刷指
定行数〕をセットするとともに、レジスタR1に[印刷
残り行数]をセットする。
Next, in step A2, the [designated number of lines to be printed] is set in the register RO, and the [number of remaining lines to be printed] is set in the register R1.

更に、ステップA3に於いて、レジスタR3に[印刷開
始行番号]をセットし、ステップA4に於いて、レジス
タR7に[印刷終了点]として「0」をセットする。
Furthermore, in step A3, a [print start line number] is set in register R3, and in step A4, "0" is set in register R7 as a [print end point].

次に、ステップA5に於いて、レジスタR3に保持され
ている[印刷開始行番号]で示される行の文字の縦方向
の文字サイズをロードする。
Next, in step A5, the vertical character size of the character in the line indicated by the [print start line number] held in the register R3 is loaded.

次に、ステップ八〇に於いて、レジスタR7に保持され
ている[印刷終了点]と上記縦方向の文字サイズを加算
し、これをし仮印刷開始点1としてレジスタR5に書込
む。
Next, in step 80, the above-mentioned vertical character size is added to the [print end point] held in register R7, and this is written in register R5 as temporary print start point 1.

その後、ステップ△7に於いて上記[仮印刷開始点]が
上記[印刷可能範囲]より大きいか否かを判断する。
Thereafter, in step △7, it is determined whether the above-mentioned [temporary printing start point] is larger than the above-mentioned [printable range].

ここで上記[仮印刷開始点]が上記[印刷可能範囲]よ
り小さい場合は、ステップA8に於いて、レジスタR5
に保持している[仮印I11開始点]を[印刷開始点]
としてレジスタR4にセットする。
Here, if the above [temporary printing start point] is smaller than the above [printable range], in step A8, register R5 is set.
[Temporary stamp I11 start point] held in [Print start point]
Set it in register R4 as .

そして、ステップ八〇に於いて、レジスタR1に保持し
ている[印刷残り行数]をr−IJした後、ステップA
10に於いて、上記[印刷残り行数]が「○Jになった
か否かを判断し、[0]でなければステップA11の処
理に入る。
Then, in step 80, after r-IJ the [number of remaining print lines] held in register R1, step A
In step 10, it is determined whether the above-mentioned [number of remaining lines to print] has become ○J, and if it is not [0], the process proceeds to step A11.

このステップA11では、レジスタR3に保持している
[印刷開始行番号]より、その行の文字の行ピッチをロ
ードする。
In this step A11, the line pitch of the characters on that line is loaded from the [print start line number] held in the register R3.

次にステップA12に於いて、上記[印刷終了点]を上
記行ピッチ分だけ加算し、その更新された[印刷終了点
]をレジスタR7にセットし、ステップA13において
その[印刷終了点]がrOJより小さいか否かを判断す
る。
Next, in step A12, the above [print end point] is added by the above line pitch, the updated [print end point] is set in register R7, and in step A13, the [print end point] is rOJ Determine whether it is smaller.

ここで上記[印刷終了点]がrOJより大きい場合は、
ステップA14に於いて、レジスタR3に保持している
[印刷開始行番号1をr+1」L、、その後、上記ステ
ップA5の処理に戻る。
Here, if the above [Print end point] is greater than rOJ,
In step A14, "print start line number 1 is r+1" L held in register R3, and then the process returns to step A5.

又、上記ステップA7に於いて、上記゛[仮印刷開始点
コが上記[印刷可能範囲]より大きいと判断されれた場
合は、ステラブA15に於いて、レジスタR3に保持さ
れている[印刷開始行番号1をr−IJt、、その後、
ステップA16の処理に入る。
In addition, in step A7, if it is determined that the temporary printing start point is larger than the printable range, the Stellarub A15 selects the print start point held in register R3. Line number 1 is r-IJt, then,
The process starts at step A16.

更に、ステップA10に於いて、上記[印刷残り11数
コがrOJになったと判断された場合、あるいはステッ
プA13に於いて、上記[印刷終了点]がrOJより小
さいと判断された場合も上記ステップA16の処理に入
る。
Furthermore, in step A10, if it is determined that the above-mentioned [11 pages remaining to print have reached rOJ], or in step A13, if it is determined that the above-mentioned [printing end point] is smaller than rOJ, the above-mentioned step is also carried out. The process begins in A16.

このステップA16では、上記[印刷可能範囲]から、
レジスタR4に保持している[印刷開始点]を減偉し、
その減算結果を[文字展開開始点]としてレジスタR6
にセットする。
In this step A16, from the above [printable range],
Reduce the [print start point] held in register R4,
The result of the subtraction is set as the [character expansion start point] in register R6.
Set to .

その債、ステップA17に於いて、レジスタROに保持
している[印刷指定行数]からレジスタR1に保持して
いる[印刷残り行数]を減算し、その減算結果を[印刷
可能行数]としてレジスタR2にセットする。
In step A17, the [number of lines remaining to print] held in register R1 is subtracted from the [number of lines specified to print] held in register RO, and the result of the subtraction is set as [number of lines that can be printed]. Set it in register R2 as .

以上でレジスタR2、R3、R6に対するデータセット
処理を終了し、第11図のステップ$2の!l!l!理
に移る。
This completes the data setting process for registers R2, R3, and R6, and the step $2 in FIG. 11 is completed! l! l! Let's move on to the theory.

第13図は、上記第11図のステップ$4に於ける11
B改行位置を左折余白より更新する場合の詳細を示すも
のである。
Figure 13 shows step 11 in step $4 of Figure 11 above.
B shows the details of updating the line break position from the left turn margin.

このLIBの改行位置更新処理は、まず、ステップB1
に於いて、LrBポインタにLIBトップアドレスをセ
ットし、更に、ステップB2に於いて、レジスタR3に
[印刷開始行番号]をセットするとともに、レジスタR
2に[印刷可能行数]をセットする。
This LIB line break position update process begins with step B1.
In step B2, the LIB top address is set in the LrB pointer, and furthermore, in step B2, the [Print start line number] is set in register R3, and register R
Set [Number of printable lines] to 2.

次に、ステップB3に於いて、最小改行位置く第10図
に示すLIBの改行位置PL(s)〜PL (N )の
うちの最小の値を示す改行位置PL(+))に紙送り方
向の最大印刷可能ドラ1−数を表わす特定!iI r7
FFF (H)jをセットする。次にステップB4に於
いて、印刷開始位置を求め、LIBの改行使@ (PL
 )にセットする。
Next, in step B3, the paper feed direction is moved to the minimum line feed position PL(+)) which indicates the minimum value among the line feed positions PL(s) to PL(N) of LIB shown in FIG. A specific number that represents the maximum printable driver 1-number of! iI r7
Set FFF (H)j. Next, in step B4, the print start position is determined, and the LIB is re-exercised @ (PL
).

その後、ステップB5に於いて、改行位置が最小改行位
置より小さいか否かを判断し、改行位置が最小改行位置
より小さければ、ステップB6に於いて、最小改行位置
に改行位置をセットした後、ステップB7の処理に入る
。また、改行位置が最小改行位置より大きい場合は、直
接ステップB7の処理に入る。
After that, in step B5, it is determined whether the line feed position is smaller than the minimum line feed position, and if the line feed position is smaller than the minimum line feed position, in step B6, after setting the line feed position to the minimum line feed position, The process enters step B7. If the line feed position is greater than the minimum line feed position, the process directly proceeds to step B7.

ステップB7ではレジスタR3に保持している[印刷可
能行数@]をr−IJL、、次いでステップB8に於い
てしIBポインタに「4Jを加算し、更にステップB9
に於いてレジスタR2に保持している[印刷可能行数1
を「−1」する。その後、ステップ810に於いて、レ
ジスタR2に保持している[印刷可能行数]がrOJに
なったか否かを判断し、rOJでなければステップB4
の処理に戻り、「0」に達していればステップB11の
処理に進む。
In step B7, the [number of printable lines@] held in register R3 is set to r-IJL, and then in step B8, 4J is added to the IB pointer, and in step B9
[Number of printable lines 1] is held in register R2 in
is set to "-1". After that, in step 810, it is determined whether the [number of printable lines] held in register R2 has reached rOJ, and if it is not rOJ, step B4
Returning to the process of step B11, if the value has reached "0", the process proceeds to step B11.

このステップBllではLIBポインタにLI8トップ
アドレスをセットし、次いでステップ[312に於いて
レジスタR2に[印刷可能行数コをセントする。そして
、ステップ813に於いてLI8ポインタの示す改行位
置から最小改行位置を引いた後、ステップ8144こ於
いてLJBポインタにr4Jを加える。更にステップ8
15に於いてレジスタR2に保持している[印刷可能行
数]を「−1」した後、ステップ316に於いて[印刷
可能行数]が「0」になったか否かを判断し、[印刷可
能行数]がrOJでなければステップ813にの処理戻
って同様の処理を繰返し実行する。
In step Bll, the LI8 top address is set in the LIB pointer, and then in step 312, the number of printable lines is set in register R2. After subtracting the minimum line feed position from the line feed position indicated by the LI8 pointer in step 813, r4J is added to the LJB pointer in step 8144. Further step 8
In step 15, the [number of printable lines] held in the register R2 is set to "-1", and then in step 316, it is determined whether the [number of printable lines] has become "0", and [ If the printable line count] is not rOJ, the process returns to step 813 and the same process is repeated.

そして、上記ステップ813〜816の処理を繰返し、
ステップ816において[印刷可能行数〕がrOJにな
ったと判断されると、左折余白よりの改行位置更新処理
を終了し、第11図のステップS5の処理に進む。
Then, repeat the steps 813 to 816,
When it is determined in step 816 that the [number of printable lines] has reached rOJ, the process of updating the line feed position from the left turn margin is completed, and the process proceeds to step S5 in FIG.

第14図は、上記第11図に於けるステップ816の下
線展開処理及びステップ822の下線接続展開処理の詳
細を示すものである。下I!11展開を行なう場合は、
まず、ステップC1に於いて、下線の長さとして横方向
の文字サイズをセラ(・シ、次いでステップC2に於い
て、@書き時は文字の左側、縦書き時は文字の右側の下
線展開を行なう。
FIG. 14 shows details of the underline expansion process in step 816 and the underline connection expansion process in step 822 in FIG. 11 above. Lower I! When performing 11 expansion,
First, in step C1, set the horizontal character size as the length of the underline. Then, in step C2, expand the underline on the left side of the character when writing @, and on the right side of the character when writing vertically. Let's do it.

以上で下ね展開処理を終了する。This completes the downward development process.

また、下線接続展開を行なう場合は、ステップD1に於
いて下線の長さとして文字間をセットし、その後、上記
ステップC2の処理を実行して下線接続展開処理を終了
する。
When performing underline connection expansion, the character spacing is set as the length of the underline in step D1, and then the process of step C2 is executed to complete the underline connection expansion process.

第15図は、上記第11図に於けるステップ817の文
字層f;P2!L埋の詳細を示すものである。この文字
展開処理は、まず、ステップE1に於いて、改行コード
か否かを判断し、改行コードでなければステップE2に
於いてLIBの罫線接続ビットがONか否かを判断する
。LIBの罫線接続ビットがONL、でいれば、ステッ
プE3に於いて文字コードに横罫線コードをセットした
後、ステップE4の処理に進み、又、LIBの罫線接続
ピッ1〜がONLでいなければ直らにステップE4の処
理に進む。
FIG. 15 shows the character layer f; P2! of step 817 in FIG. 11 above. This shows the details of L-embedding. In this character expansion process, first, in step E1, it is determined whether or not it is a line feed code, and if it is not a line feed code, in step E2, it is determined whether or not the ruled line connection bit of LIB is ON. If the ruled line connection bit of LIB is ONL, the horizontal ruled line code is set in the character code in step E3, and then the process proceeds to step E4; if the ruled line connection bit of LIB is not ONL, The process immediately proceeds to step E4.

このステップE4ではRO〜115から文字パターンを
ロードし、次いでステップE5に於いてLIBゾーン番
号をロードする。そして、ステップE6に於いて、文字
サイズ、回転、斜体、白抜き等の行si情報とゾーン番
号より、文字を拡大処理し、その後、ステップE7に於
いて縦罫線コードか否かを判断し、縦罫線コードでなけ
れば処理終了となる。又、縦罫線コードである場合は、
ステップE8に進み、行間に縦罫線パターンを展開して
処理を終了する。又、上記ステップE1において、改行
コードであると判断された場合は、ステップE9に於い
て、LIBの改行位置に上記印刷可能最大ドツト数を示
す特定II r7FFF(H)」をセットして文字展開
処理を終了する。
In this step E4, the character pattern is loaded from RO-115, and then in step E5, the LIB zone number is loaded. Then, in step E6, the character is enlarged based on the line si information such as character size, rotation, italics, outline, etc., and the zone number, and then, in step E7, it is determined whether it is a vertical ruled line code, If it is not a vertical ruled line code, the process ends. Also, if it is a vertical ruled line code,
Proceeding to step E8, a vertical ruled line pattern is developed between the lines, and the process ends. In addition, if it is determined in step E1 that it is a line feed code, in step E9, character development is performed by setting "specific II r7FFF (H)" indicating the maximum number of printable dots at the line feed position of LIB. Finish the process.

第16図は、上記第11図のステップ818に示すLI
B更新処理の詳細を示すものである。このLIB更新処
理は、まず、ステップFl 、F2に於いて、横方向の
文字サイズから展開最終ゾーンか否かを判定し、最終ゾ
ーンであればステップF3に於いてLIBの下線接続ビ
ットがONが否かを判断する。上記下線接続ビットがO
Nであれば、更にステップF4に於いて左半角展開後が
否かを判断し、左半角展開後であれば、ステップF5に
於いてしIBの左半角をONした後、ステップF6の処
理に進み、左半角展開後でなければ直ちにステップF6
の処理に進む。
FIG. 16 shows the LI shown in step 818 in FIG. 11 above.
B shows details of update processing. In this LIB update process, first, in steps Fl and F2, it is determined from the horizontal character size whether or not it is the final zone for development.If it is the final zone, the underline connection bit in the LIB is turned ON in step F3. Decide whether or not. The above underline connection bit is O
If N, it is further determined in step F4 whether or not after left half-width expansion, and if it is after left half-width expansion, the left half-width of IB is turned ON in step F5, and then the process proceeds to step F6. Proceed to step F6 immediately if it is not after left half-width expansion
Proceed to processing.

このステップF6では、LIBの改行位置に文字間を加
え、次いでステップF7に於いて118力桁番号を「+
1コする。その後、ステップF8に於いてLIBのゾー
ン番号を「0」にしてLIB更新処理を終了する。
In this step F6, a character spacing is added to the line feed position of LIB, and then in step F7, the 118 input digit number is
Play one. Thereafter, in step F8, the LIB zone number is set to "0" and the LIB update process is ended.

また、上記ステップF2において、最小ゾーンでないと
判断された場合は、ステップF9に於いてLIBの改行
位置に「24」を加え、その後、ステップFIOに於い
てLIBのゾーン番号を「+1」してLIB更新処理を
終了する。
If it is determined in step F2 that the zone is not the minimum zone, "24" is added to the line break position of LIB in step F9, and then "+1" is added to the zone number of LIB in step FIO. The LIB update process ends.

また、上記ステップF3に於いて、LIBの下線接続ビ
ットがONL、ていると判断された場合は、ステップF
11に於いてLIBの罫線接続ビットがONしているか
否かを判断し、ONLでいる場合は上記ステップF6の
処理に進み、ONLでいない場合はステップF12の処
理に進む。
In addition, in step F3 above, if it is determined that the underline connection bit of LIB is ONL, step F3 is determined to be ONL.
In step 11, it is determined whether or not the ruled line connection bit of LIB is ON. If it is ONL, the process proceeds to step F6, and if it is not ONL, the process proceeds to step F12.

このステップF12では、縦罫線コードか否かを判断し
、縦罫線コードであればステップF13に於いてLIB
の罫線接続ビットをONL、次いでステップF14に於
いてLIBの改行位置に文字サイズを加えた後、上記ス
テップF8の処理に進む。
In this step F12, it is determined whether or not it is a vertical ruled line code, and if it is a vertical ruled line code, LIB is determined in step F13.
After adding the ruled line connection bit to ONL, and then adding the character size to the line feed position of LIB in step F14, the process proceeds to step F8.

また、上記ステップF12に於いて縦罫線コードでない
と判断された場合は、ステップF15に於いて下線接続
が必要か否かを判断し、下線接続が必要であればステッ
プF16に於いてL[8の下線接続ビットをONI、た
後、上記ステップF14の処理に進む。
If it is determined in step F12 that the code is not a vertical ruled line code, it is determined in step F15 whether an underline connection is necessary, and if an underline connection is necessary, L[8 After setting the underline connection bit to ONI, the process proceeds to step F14.

また、上記ステップF15に於いて下線接続が必要でな
いと判断された場合は、ステップF17に於いてLIB
の改行位置に文字ピッチを加えた後、ステップF7に於
いてLIBの桁番号を「+1コし、更にステップF8に
於いてLIBのゾーン番号をrOJにしてLIB更新処
理を終了する。
In addition, if it is determined in step F15 that the underline connection is not necessary, LIB
After adding the character pitch to the line feed position, the digit number of LIB is incremented by 1 in step F7, and the zone number of LIB is set to rOJ in step F8, and the LIB update process is completed.

上述したような縦横変換印刷処理により、行を単位に、
左指余白/行ピッチ/文字間間wA/文字すイズ/回転
・斜体/白抜き等、各種の文字修飾がなされた文書であ
っても、更には行を単位に印刷開始桁の異なる文書であ
っても、標準中り1jと同様に、かつ任意の指定行をも
って縦横変換印刷が実行でき、更に、この際、行修飾で
印刷対象文月が物理的な印刷可能範囲を越えてしまう場
合であっても、先頭行より印刷可能な行数だけの印刷が
可能となる。
By using the above-mentioned aspect conversion printing process, line by line,
Even if the document has various character modifications such as left finger margin/line pitch/character spacing wA/character size/rotation/italics/whiteout, etc., or even if the printing start column is different for each line. Even if there is, you can perform vertical/horizontal conversion printing with any specified line in the same way as standard center printing 1j, and in addition, in this case, if the line modification causes the target sentence to be printed to exceed the physically printable range, Even if there is, it is possible to print as many lines as can be printed starting from the first line.

尚、上記実施例では縦横変換の横書きく第17図(C)
参照)を例に動作を説明したが縦横変換の縦書きに於い
ても上記同様の縦横変換印刷処理が行なえる。
In addition, in the above embodiment, horizontal and horizontal writing of vertical and horizontal conversion is shown in Fig. 17 (C).
Although the operation has been explained by taking the example of (see), the same vertical/horizontal conversion printing process as described above can be performed even in vertical writing of vertical/horizontal conversion.

[発明の効果] 以上詳記したように本発明の印刷制御方式によれば、入
力された文書の行を単位に、文字サイズ、文字間間隔を
含む修飾情報を記憶する行修飾記憶手段と、印刷対象と
なる文書の行を単位に改行位置、桁番号、ゾーン番号及
び下線接続ビット、罫線接続ビットを含む行情報を記憶
する行情報記憶手段と、上記行*si情報の文字間間隔
によって上記行情報の改行位置を更新する手段と、上記
行情報の改行使ばから用紙送り量を決定する改行値を求
める手段と、上記行情報の下線接続ビットによって、文
字間部分に下線を引く手段と、上記行情報の罫線接続ビ
ットによって、文字間部分に罫線を引く手段とを備え、
印刷機構の給紙部に縦方向に挿入された用紙上に、恰も
用紙を横方向に挿入したように、行を単位に文字間間隔
の異なる文書を下線、罫線を含めて縦横変換印刷できる
構成としたことにより、パーソナルワードプロセッサに
於いて、幅の狭い給紙部を有効に利用し、行を単位に、
複数種の文字が混在した文書を通常の印刷と同様の印刷
結果となるように縦横変換印刷でき、印刷υ1能を大幅
に向上できる。
[Effects of the Invention] As detailed above, according to the print control method of the present invention, a line modification storage unit stores modification information including character size and character spacing for each line of an input document; A line information storage means for storing line information including a line break position, a column number, a zone number, an underline connection bit, and a ruled line connection bit for each line of a document to be printed; means for updating a line break position in the line information; means for determining a line feed value for determining a paper feed amount from the line break position in the line information; and means for underlining a portion between characters using an underline connection bit in the line information; means for drawing ruled lines between characters using the ruled line connection bit of the line information;
A configuration that allows documents with different character spacing in line units to be printed vertically and horizontally, including underlines and ruled lines, on paper inserted vertically into the paper feed section of the printing mechanism, as if the paper were inserted horizontally. This allows personal word processors to effectively utilize the narrow paper feed section and print line by line.
Documents containing a mixture of multiple types of characters can be printed with vertical and horizontal conversion so that the printing results are similar to those of normal printing, and printing υ1 performance can be greatly improved.

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

第1図は本発明の一実施例に於ける装置の構成を示すブ
ロック図、第2図は上記実施例に於けるLIBの構成を
示す図、第3図は上記実施例に於ける印刷制(社)レジ
スタfli域のレジスタ構成を示す図、第4図は上記実
施例に於ける行修飾情報の構成を示す図、第5図は上記
実施例で扱う漢字コードの構成を示す図、第6図は上記
実施例に於ける行修飾された各種文字の横方向の文字サ
イズを示す図、第7図は上記実施例に於ける行修飾され
た各種文字のゾーンを示す図、第8図は上記実m列に於
けるラインバッファ上に於ける文字パターンの配列状態
を示す図、第9図は上記実施例に於けるラインバッファ
上の文字配置状態を示す図、第10図は上記実施例に於
ける縦横変換印刷処理の動作説明図、第11図乃至第1
6図はそれぞれ上記実施例に於ける縦横変換印刷処理を
示すフローチャート、第17図は標準印刷の1書き及び
縦書   ゛きと、縦横変換印刷の横書き及び縦書きと
を対比して示す図である。 10・・・81(大規模集積回路装置)、11・・・C
PU、12・・・周辺制御回路(PPI)、13・・・
デコーダ(DCE)、14・・・RAM、15・・・R
OM、16・・・カセットインターフェイス回路(CM
T−INTF) 、17・・・L CD tll 11
1回路(LCDC) 、18・・・プリンタコントロー
ラ(PRTC)、19・・・クロックジェネレータ(C
G)、20・・・発振器(O20)、30・・・キーボ
ード(KB)、40・・・データレコーダ(CMT)、
41・・・CMTアダプタ、50・・・液晶ディスプレ
イ(LCD) 、5l−LCDドラ−i’バ(LCD−
DRV)、60・・・シリアルプリンタ(PRT)、7
0・・・フロッピィディスクドライブ(FDD)、71
・・・フロッピィディスクコントローラ(FCC)、1
40・・・行イメージバッファ(D−BUF) 、14
1・・・ラインバッファ(LB)、11B・・・行情報
ブロック、PL・・・改行位置領域、Pc・・・桁番号
領域、Pz・・・ゾーン番号領域、RO〜R14・・・
レジスタ。SC・・・スケール。 出願人代理人 弁理士 鈴 江 武 彦”” ”  N
= Qhlj!’HHffeライ〉バッファとの文官パ
ターン乃a鉢°゛第8図 n*rrlj        rD3Iテ    ne
2f?  nolt″T    nsデライーパ′ツフ
ァと9丈官酌シ1 第9図 第2図 LIB初期状、事 第11図 (随の1) 第12図(vLの1) 第12図 (にの2) ノ1ネ14に白砂τ文イ丁イ立(に9−町第13図 (
毛の1) 第13図 (yLly)2) 子線4開      下謀搏岳腺閉 第14図 文字7る開 第15図 第16図  (亀の1) 第16図 (篭の2) 欺損1摸1稽こ   枢1麦座縦1き 第17図
FIG. 1 is a block diagram showing the configuration of an apparatus in one embodiment of the present invention, FIG. 2 is a diagram showing the configuration of LIB in the above embodiment, and FIG. 3 is a block diagram showing the configuration of the LIB in the above embodiment. 4 is a diagram showing the structure of the line modification information in the above embodiment. FIG. 5 is a diagram showing the structure of the kanji code handled in the above embodiment. FIG. 6 is a diagram showing the horizontal character sizes of various characters with line modifications in the above embodiment, FIG. 7 is a diagram showing zones of various characters with line modifications in the above embodiment, and FIG. 8 9 is a diagram showing the arrangement of character patterns on the line buffer in the above actual m column, FIG. 9 is a diagram showing the arrangement of characters on the line buffer in the above embodiment, and FIG. Operation explanatory diagrams of the aspect conversion printing process in the example, FIGS. 11 to 1
Fig. 6 is a flowchart showing the vertical/horizontal conversion printing process in the above embodiments, and Fig. 17 is a diagram showing a comparison between standard printing of single writing and vertical writing, and horizontal/horizontal conversion printing of horizontal writing and vertical writing. be. 10...81 (Large-scale integrated circuit device), 11...C
PU, 12...Peripheral control circuit (PPI), 13...
Decoder (DCE), 14...RAM, 15...R
OM, 16...Cassette interface circuit (CM
T-INTF) , 17...L CD tll 11
1 circuit (LCDC), 18... printer controller (PRTC), 19... clock generator (C
G), 20... Oscillator (O20), 30... Keyboard (KB), 40... Data recorder (CMT),
41...CMT adapter, 50...Liquid crystal display (LCD), 5l-LCD driver i' driver (LCD-
DRV), 60... Serial printer (PRT), 7
0...Floppy disk drive (FDD), 71
...Floppy disk controller (FCC), 1
40... Row image buffer (D-BUF), 14
1... Line buffer (LB), 11B... Line information block, PL... Line feed position area, Pc... Column number area, Pz... Zone number area, RO to R14...
register. SC...Scale. Applicant's agent Patent attorney Takehiko Suzue """N
= Qhlj! Civilian pattern with buffer
2f? nolt''T ns Delaipa' Tufa and 9 General Administrative Considerations 1 Figure 9 Figure 2 LIB Initial Letter, Facts Figure 11 (Part 1) Figure 12 (VL 1) Figure 12 (Nino 2) No 1-14 white sand
Hair 1) Figure 13 (yLly) 2) Child line 4 open Figure 14 Character 7 open Figure 15 Figure 16 (turtle 1) Figure 16 (basket 2) Deception and loss 1 sketch, 1 practice, 1 position, 1 position, 1 position, Fig. 17

Claims (3)

【特許請求の範囲】[Claims] (1)、入力された文書の行を単位に、文字サイズ、文
字間間隔を含む修飾情報を記憶する行修飾記憶手段と、
印刷対象となる文書の行を単位に改行位置、桁番号、ゾ
ーン番号及び下線接続ビット、罫線接続ビットを含む行
情報を記憶する行情報記憶手段と、上記行修飾情報の文
字間間隔によって上記行情報の改行位置を更新する手段
と、上記行情報の改行位置から用紙送り量を決定する改
行値を求める手段と、上記行情報の下線接続ビットによ
つて、文字間部分に下線を引く手段と、上記行情報の罫
線接続ビットによつて、文字間部分に罫線を引く手段と
を具備し、行を単位に文字間間隔の異なる文書を縦横変
換印刷することを特徴とする印刷制御方式。
(1) a line modification storage means for storing modification information including character size and character spacing for each line of an input document;
A line information storage means for storing line information including a line break position, a column number, a zone number, an underline connection bit, and a ruled line connection bit for each line of a document to be printed; means for updating the line feed position of the information; means for determining a line feed value for determining the paper feed amount from the line feed position of the line information; and means for underlining the part between characters using the underline connection bit of the line information; A print control method characterized by comprising means for drawing ruled lines between characters using the ruled line connection bit of the line information, and printing a document with different character spacing on a line-by-line basis in portrait/horizontal conversion.
(2)、文書の横書き印刷時は、用紙上の文字及び文字
間部分の左側に下線を展開し、縦書き印刷時は、用紙上
の文字及び文字間部分の右側に下線を展開する特許請求
の範囲第1項記載の印刷制御方式。
(2) A patent claim that when a document is printed horizontally, the underline is developed on the left side of the characters and the space between characters on the paper, and when the document is printed vertically, the underline is developed on the right side of the character and the space between the characters on the paper. The printing control method according to item 1.
(3)、印刷対象となる文書の各行に対応する行情報か
ら最小の改行位置を検索し、その行位置と用紙送り方向
の印刷ヘッド位置から改行値を求めて、同改行値に従い
用紙送りを行なう特許請求の範囲第1項記載の印刷制御
方式。
(3) A patent that searches for the minimum line feed position from line information corresponding to each line of a document to be printed, calculates a line feed value from that line position and the print head position in the paper feed direction, and feeds the paper according to the line feed value. A print control method according to claim 1.
JP60247569A 1985-11-05 1985-11-05 Printing control system Pending JPS62108063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60247569A JPS62108063A (en) 1985-11-05 1985-11-05 Printing control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60247569A JPS62108063A (en) 1985-11-05 1985-11-05 Printing control system

Publications (1)

Publication Number Publication Date
JPS62108063A true JPS62108063A (en) 1987-05-19

Family

ID=17165444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60247569A Pending JPS62108063A (en) 1985-11-05 1985-11-05 Printing control system

Country Status (1)

Country Link
JP (1) JPS62108063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5025288A (en) * 1988-11-01 1991-06-18 Minolta Camera Kabushiki Kaisha Image forming apparatus capable of preventing simultaneous rotation of the magnet roll and the developing sleeve

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5025288A (en) * 1988-11-01 1991-06-18 Minolta Camera Kabushiki Kaisha Image forming apparatus capable of preventing simultaneous rotation of the magnet roll and the developing sleeve

Similar Documents

Publication Publication Date Title
US5778161A (en) Character information processor for printing characters
JPS62108063A (en) Printing control system
KR920007696B1 (en) Printing control system
JPS60176137A (en) Sentence generating device
JPS62105641A (en) Print control system
JPS62108067A (en) Printing control system
JPS62105640A (en) Printing control system
JPS62108068A (en) Printing control system
JPS62108065A (en) Printing control system
JP2607044B2 (en) Document creation device and display output control method in document creation device
JP2573174B2 (en) Document creation device
JPS61286887A (en) Document generator
JPH0511319B2 (en)
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JPS62108064A (en) Printing control system
JPS59106035A (en) Furigana (japanese syllabary attached to chinese character) adding system of text processor
JPS6015181A (en) Electronic equipment
JP2606579B2 (en) Character display device
JPH0628023B2 (en) Document creation device
JPH0628024B2 (en) Document creation device
JPS62210533A (en) Print control system
JPS62210532A (en) Print control system
JPS62107371A (en) Document preparing device
JPS61286891A (en) Document generator
JPS61286885A (en) Document generator