JPS62105640A - Printing control system - Google Patents

Printing control system

Info

Publication number
JPS62105640A
JPS62105640A JP60247566A JP24756685A JPS62105640A JP S62105640 A JPS62105640 A JP S62105640A JP 60247566 A JP60247566 A JP 60247566A JP 24756685 A JP24756685 A JP 24756685A JP S62105640 A JPS62105640 A JP S62105640A
Authority
JP
Japan
Prior art keywords
line
print
character
printing
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
JP60247566A
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 JP60247566A priority Critical patent/JPS62105640A/en
Publication of JPS62105640A publication Critical patent/JPS62105640A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To perform printing a document having plural sorts of characters in mixture in such a manner that lateral and vertical prints are convertible similarly to a normal print by providing means for updating the line feed of line information according to a character size in paper feeding direction and means for developing a character pattern in a print line buffer. CONSTITUTION:Means LIB for storing line information including a line feed position, a bit number and a zone number with the line of a document to be printed as a unit, means for obtaining the number of lines to be printed with a character size as a factor, means PL for updating the line fed position of line information, means for obtaining a line feed value for deciding print paper feeding amount, and means for developing a character pattern in a print line buffer 141 are provided. A document having different character sizes with lines as a unit is so printed on paper inserted vertically to a paper feeder of a printing mechanism that lateral and vertical prints are convertible such that the paper is inserted laterally. Thus, a paper feeder having narrow width is effectively utilized to print a document having plural types of characters in mixture in such a manner that lateral and vertical prints are convertible with lines as unit, thereby largely improving printing function.

Description

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

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

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

又、印刷機構に於いても取扱可能な用紙サイズには大き
な制約を受け、例えばB4サイズの用紙を横方向に給紙
部に挿入可能な印刷機構を備えることは、装置の大型化
、乗員化、高価格化を招き、所期の目的を達成できない
Additionally, there are significant restrictions on the paper size that the printing mechanism can handle; for example, providing a printing mechanism that can insert B4 size paper horizontally into the paper feed section would require a larger device and an increase in the number of occupants. , which leads to higher prices and makes 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)は標準・縦きき印刷、同図(
C)は縦横変換・横書き印刷、同図((j)は縦横変換
・縦書き印刷の各フオームを示している。
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 printing mechanism, whereas in printing using the above-mentioned aspect conversion printing method, the printable range in the row direction of the paper is limited. be done. Figure 17 (
a> to (d). That is, the figure (a) is standard/horizontal printing, the figure (b) is standard/vertical printing, and the figure (
C) shows the form of vertical/horizontal conversion/horizontal writing printing, and ((j)) shows each form of vertical/horizontal conversion/vertical writing printing.

従って、従来では、縦横変換印刷により印刷したとき、
行ピッチが固定されていたり、又、可変できる場合であ
っても印刷可能な範囲を越える行ピッチが指定された際
は全く印刷を実行しない機能構成としていた。又、従来
の縦横変換印刷では、上記した行ピッチに限らず、文字
サイズ、文字間、行間等も固定され、従って縦横変換印
刷の際は通常の印刷と全く異なる印刷結果となってしま
うという欠点を有していた。
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. Furthermore, 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 printing result is completely different from normal printing. It had

[発明の目的] 本発明は上記実情に鑑みなされたもので、行を単位に、
?!数種の文字が混在した文書を通常の印刷と同様の印
刷結果となるように縦横変換印刷できる印刷副葬方式を
提供することを目的とし、特に行を単位に文字サイズの
異なる文書の縦横変換印刷を行なうことのできる印劉制
師方式を提供することを目的とする。
[Object of the invention] The present invention has been made in view of the above-mentioned circumstances.
? ! The purpose is to provide a printing method that can print documents with a mixture of several types of characters in portrait/horizontal conversion so that the print result is similar to that of normal printing.In particular, it is possible to print documents with vertical/horizontal conversion of documents with different font sizes on a line-by-line basis. The purpose of this study is to provide the Inryu Seishi method that can perform the following.

[発明の概要] 本発明は、文字の拡大を含む行修飾機能をもつ文書作成
装置に於いて、印刷対象となる文書の行を単位に、改行
位置、桁番号、及びゾーン番号を含む行情報を記憶する
行情報記憶手段と、行修飾情報の文字サイズのうち紙送
り方向に直交する方向の文字サイズを一要素として印刷
可能行数を求める手段と、紙送り方向の文字サイズによ
って上記行情報の改行位置を更新する手段と、上記行情
報の改行位置から印刷用紙送り量を決定する改行値を求
める手段と、上記行修飾情報の文字サイズの種類と上記
改行情報のゾーン番号を参照して印刷用ラインバッファ
に文字パターンを展開する手段とを備え、印刷機構の給
紙部に縦方向に挿入された用紙上に、恰も用紙を横方向
に挿入したように、行を単位に文字サイズの異なる文書
の縦横変換印刷を行なう構成としたもので、これにより
、パーソナルワードプロセッサに於いて、幅の狭い給紙
部を有効に利用し、行を単位に、複数種の文字が混在し
た文書を通常の印刷と同様の印刷結果となるように縦横
変換印刷でき、印刷機能を大幅に向上できる。
[Summary of the Invention] The present invention provides line information including a line break position, column number, and zone number for each line of a document to be printed, in a document creation device having a line modification function including character enlargement. a means for calculating the number of printable lines by using the character size in the direction perpendicular to the paper feeding direction as one element among the character sizes of the line modification information; means for updating the line feed position of the above line information, means for determining a line feed value for determining the printing paper feed amount from the line feed position of the above line information, and printing with reference to the type of character size of the above line modification information and the zone number of the above line break information. It is equipped with a means for developing a character pattern in a line buffer for printing, and the character size is different for each line, just as if the paper was inserted horizontally on the paper inserted vertically into the paper feed section of the printing mechanism. This is a configuration that performs vertical/horizontal conversion printing of documents. This allows personal word processors to effectively utilize the narrow paper feed section and print documents containing multiple types of characters line by line. It is possible to perform portrait/horizontal conversion printing so that the printing result is the same as that of printing, 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 @ location according to an embodiment of the present invention.

第1図に於いて、10はキーボード(KB)、外部記憶
となるオーディオカセット磁気テープ装置を用いたデー
タレコーダ(CMT)及び3.5吋マイクロフロッピィ
ディスク(FDD)、液晶ディスプレイ(LCD) 、
シリアルプリンタ(PRT)等の礪構部各々の入出力制
−を行なう入出力制御回路部それぞれを制御対壕とし、
装置全体の制御を司る処理装置(CPU)、更には、辞
占領域、文字フォント領域、プログラム領域等をもつR
OM及びRAMでなる内部記憶部等とともに1チツプ化
した大規模集積回路装置であり、実機に於いては100
ビンの端子構造をもって構成され、特願昭59−204
455号、特v4昭59−204456号、特願昭59
−204462号等に示される半導体集積回路技術をも
とに実現している。
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), a liquid crystal display (LCD),
Each input/output control circuit unit that performs input/output control for each structural unit such as a serial printer (PRT) is used as a control circuit,
R, which has a processing unit (CPU) that controls the entire device, as well as a dictionary area, character font area, program area, etc.
It is a large-scale integrated circuit device that is integrated into a single chip together with an internal storage section consisting of OM and RAM, and in actual equipment it has 100
Consisting of a bottle terminal structure, patent application No. 59-204
No. 455, Special v4 No. 1983-204456, Special application No. 1983
This is realized based on the semiconductor integrated circuit technology disclosed in No. 204462 and the like.

以下この大規模集積回路装置をスーパインテグレーショ
ン又はSIと呼称する。
Hereinafter, this large-scale integrated circuit device will be referred to as superintegration or SI.

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

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

12乃至18はそれぞれ上記c p u ivの内部シ
ステムバスに接続される3110の内部構成要素である
12 to 18 are internal components of 3110, which are connected to the internal system bus of the CPU IV, respectively.

このうち、12は周辺制御回路(双方向インターフェイ
ス回路)であり、3ボートのうちの一つのボートがキー
ボードスキャンデータの出力(4ビツト)とカセット書
込みデータの出力(1ピツト)に用いられ、他の一つの
ボートがキーボードリターン信号の入力(8ビツト)に
用いられる。この周辺制御回路を以下PPIと呼称する
。実機に於いてはこのPP112を8255相当の論理
構造としている。
Of these, 12 are peripheral control circuits (bidirectional interface circuits), one of the three ports is used to output keyboard scan data (4 bits) and cassette write data (1 pit), and the other One port is used for inputting 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 l nr
ormation  31ock ; Jul下LIB
と称す)、及び行ピッチ、/文字間/文字サイズを含む
行v1飾情報の各領域(LIBバッファ、及び行修飾バ
ッファ)が確保されるとともに、縦横変換印刷を含む印
刷実行時に於ける各種の変数、ポインタ値等を貯える印
刷制御レジスタ領域(RO〜R14)が確保され、更に
は行イメージバッファ<D−BtJ F ’) 140
 、ラインバッファ(LB)141等の領域が確保され
るもので、そのしIBバッファに貯えられた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 l nr
Ormation 31ock; Jul lower LIB
In addition to securing each area of line v1 decoration information (LIB buffer and line modification buffer), including line pitch, character spacing, and character size, various areas during printing, including vertical/horizontal conversion printing, are secured. A print control register area (RO to R14) for storing variables, pointer values, etc. is secured, and a row image buffer <D-BtJ F') 140
, line buffer (LB) 141, etc. are secured, and LIB stored in the IB buffer, line decoration information stored in the line modification buffer, and print control register area (RO to R14) are secured. Details are shown in FIGS. 2-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 U 11の制御の下に外部記憶となるオー
ディオカセット磁気テープ装置を用いたデータレコーダ
(CMT)の読出し/書込み制御を行なうカセットイン
ターフェイス回路(CMT−I NTF)であり、デー
タ店込み時に於いては、書込み開始に先立ち、リーダ部
として約10秒間オール” 1 ”のデータを出力し、
その後にPpH2より出力されるピッ1〜シリアルのカ
セッ1〜席込みデータ(行修飾領域データ/文占領域デ
ータ/外字パターン領域データ/ボ句登録領域データ/
暫定辞!閾域データ等)を出力し、その後にトレーラ部
として約2秒間オール゛O゛のデータを出力する。
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 CPU 11; In this case, before starting writing, the reader section outputs all "1" data for about 10 seconds,
After that, PpH2 outputs Pip 1 ~ Serial cassette 1 ~ Seating data (line modification area data/Bunshi area data/Gaiji pattern area data/Boku registration area data/
Temporary speech! (threshold area data, etc.), and then outputs all "O" data for about 2 seconds as a trailer section.

11はLCD)制卸回路(LCDC)であり、RA M
 14内に設けられる行イメージバッファ140をアク
セスしLCD表示データを出力する。
11 is an LCD control circuit (LCDC);
It accesses a row image buffer 140 provided in 14 and outputs LCD display data.

18はプリンタコントローラ(PRTC)であり、CP
 U 11の制御の下に、RAlv114を介してプリ
ントイメージデータを出力する。
18 is a printer controller (PRTC), and CP
Under the control of U 11, print image data is output via RAlv 114.

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

20は基本クロックを生成し、5110内部のクロック
ジェネレータ19に供給づる発振器(QSC)、30は
同じ<5110内部のPP112及びデコーダ13に接
続されたキーボード<KB)、40は書込みデータを録
音可能なアナログ分の信号に変換するD/A変換器と再
生されたアナログ珊の信号をデジタル信号に変換するA
/D変換器を有してなるCMTアダプタ41を介して5
110内部のカセットインターフェイス回路16に接続
されたオーディオカセット磁気テープ装置を用いてなる
データレコーダ(CMT)、50はLCDドライバ(L
CD−DR■)51を介して8110内部のLCD制御
回路17に接続された液晶ディスプレイく以下LCDと
称す)、60は同プリンタコントローラ18に接続され
たシリアルプリンタである。10は3.5吋のマイクロ
フロッピィディスクドライブ(FDD)であり、フロッ
ピィディスクコントローラ(FDC)71を介して3)
10内部のCP tJ 11の内部システムバスに接続
される。
20 is an oscillator (QSC) that generates a basic clock and supplies it to the clock generator 19 inside the 5110, 30 is a keyboard connected to the PP112 and decoder 13 inside the 5110 (<KB), and 40 is capable of recording write data. A D/A converter that converts into analog signals and A that converts the reproduced analog coral signals into digital signals.
5 through a CMT adapter 41 having a /D converter.
110 is a data recorder (CMT) using an audio cassette magnetic tape device connected to the cassette interface circuit 16 inside; 50 is an LCD driver (L
A liquid crystal display (hereinafter referred to as LCD) is connected to the LCD control circuit 17 inside the 8110 via a CD-DR (CD-DR) 51, and 60 is a serial printer connected to the printer controller 18. 10 is a 3.5-inch micro floppy disk drive (FDD), and 3) is connected via a floppy disk controller (FDC) 71.
CP tJ inside 10 is connected to the internal system bus of 11.

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

第2図は上記第1図に示TRAM14内のしIBバッフ
ァに貯えられたしIBの構成を示す図であり、文書の各
行に対応して設けられるLIBは、それぞれ2バイト構
成の改行位置vA域PL、7ビツト構成の桁番@領域P
c、6ビツト構成のゾーン番号領域PZ、更には下線接
続ビット、罫線接続ビット、右半角指定ビット等からな
る。このLIBの初期設定は、桁番号領域Pcのみに桁
番号値「1」 (第1桁)を設定し、改行位M領域PL
、及びゾーン番号領域PzにそれぞれrOJを設定する
。このLIB内の各領域はLIBポインタにより指定さ
れる。
FIG. 2 is a diagram showing the configuration of the LIB stored in the IB buffer in the TRAM 14 shown in FIG. Area PL, digit number of 7-bit configuration @ area P
c, a 6-bit zone number area PZ, and further includes an underline connection bit, a ruled line connection bit, a right half-width specification 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 line feed position M area PL.
, and the zone number area Pz, respectively. Each area within this LIB is designated by a LIB pointer.

第3図は上記第1図に示すRAM14内の印刷制御レジ
スタ領域(RO−R14)の構成を示す図であり、各レ
ジスタRO〜R14はそれぞれ2バイトで構成されるも
ので、このうち、ROは印刷指定行数を貯えるレジスタ
、R1は印刷残り行数を貯えるレジスタ、R2は印刷可
能行数を貯えるレジスタ、R3は印刷開始行番号を貯え
るレジスタ、R4は印1111始点を貯えるレジスタ、
R5は仮印刷開始点を貯えるレジスタ、R6は文字展開
開始点を貯えるレジスタ、R7は印刷終了点を貯えるレ
ジスタ、R8は印字ヘッド位置を貯えるレジスタ、R9
は改行実行位置を貯えるレジスタ、R10は印刷行番号
を貯えるレジスタ、R11は印刷行数を貯えるレジスタ
、R+2は文字書込み開始点を貯えるレジスタ、R13
は文字書込み終了点を貯えるレジスタ、R14は印刷可
能範囲を貯えるレジスタである。
FIG. 3 is a diagram showing the configuration of the print control register area (RO-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 1111 starting point,
R5 is a register that stores the temporary printing start point, R6 is a register that stores the character expansion 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, R10 is a register that stores the print line number, R11 is a register that stores the number of print lines, R+2 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内の行r1飾バッ
ファに貯えられる行#I飾情報の構成を示したもので、
ここでは、白扱きの有無に1ビツト(“l1ll、有/
”O”:無)を割付け、回転・斜体に3ビツト(”00
0”:回転・斜体指定熱、”001”:回転1(90°
)、”010”:回転2 (180” ) 、”011
” ;回転3 (270’ )、100”;斜体指定)
を割付け、文字サイズに4ヒツト(’oooi”、サイ
ズ1 (24X24ドツト〉〜” 1001°′;サイ
ズ9(576X576ドツト))を割付け、印刷停止の
有無に1ピッI−(”1”:停止に/”O”:停止熱)
を割付け、文字量間隔に2F″:ッl−(”○○゛′;
文字間0(0ドツト)〜”’11”:文字間3(12ド
ツト))を削付け、行ピッチに4ピッl−(” 111
1パ;改行B(改行量;〜8インチ/120ン、”oo
oo’ :改行0(改行m:0インチ/′120)、”
0001” :改行H(改行m:0インチ/120)、
”0010” ;改(1K〈改(−1fi1:+1ez
’、、zチ/120)、’0011” :a行E(改行
う; + 20インチ/120)、”0100”:改行
1(改行量;+30インチ/ 120)〜゛0111’
:改行4(改行量:→−60(ンチ/ 120 ) )
を削付け、用紙交換の有無に1ビツト(′″1″:用紙
交換有/゛O゛;用紙交換無)を割付け、左桁余白に1
バイ(・・く−9・・−63桁)°を割付けている。
FIG. 4 shows the structure of the row #I decoration information stored in the row r1 decoration buffer in the RAM 14 shown in FIG. 1 above.
Here, 1 bit (“l1ll, yes/no
“O”: None) is assigned, and 3 bits (“00”) are assigned to rotate/italicize.
0”: Rotation/oblique designated heat, “001”: Rotation 1 (90°
), “010”: Rotation 2 (180”), “011”
”; rotation 3 (270'), 100"; italic)
, assign 4 hits ('oooi', size 1 (24 x 24 dots) ~"1001°'; size 9 (576 x 576 dots)) to the font size, and assign 1 pip I- ("1": stop) to whether or not to stop printing. ni/"O": Stop heat)
Assign 2F″:l-(”○○゛′;
Remove character spacing 0 (0 dots) to "'11": Character spacing 3 (12 dots)) and add 4 pitches to the line pitch ("111").
1 line break B (line feed amount; ~8 inches/120 inches, "oo
oo': line feed 0 (line feed m: 0 inch/'120),”
0001”: Line feed H (Line feed m: 0 inch/120),
"0010"; modified (1K < modified (-1fi1: +1ez
',,zchi/120),'0011': a line E (line feed; +20 inch/120), '0100': line feed 1 (line feed amount; +30 inch/120) ~ '0111'
:Line feed 4 (Line feed amount: →-60 (inch/120))
, and assign 1 bit ('''1'': paper exchanged/'O': no paper exchange) to whether or not paper should be replaced, and write 1 in the left digit margin.
Bi (...ku-9...-63 digits)° is assigned.

第5図は上記RAM14内の文書バッフアダ1域に貯え
られる漢字文字コードの構成を示すもので、1文字当り
2バイトで構成され、それぞれ7 、x 2ビツトの区
・点コードと各1ピツ]・の半角指定ビット及び下線指
定ビットからなる。
FIG. 5 shows the structure of the Kanji character code stored in the document buffer adder 1 area in the RAM 14. Each character consists of 2 bytes, and each character has a 7. Consists of a half-width specification bit and an underline specification bit.

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

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

尚、行修飾の指定は、実機に於いては[機能]キーを押
下した状態で特定の第1の文字キーを押下することによ
り行修飾の指示入力を行なっているが、ここでは説明を
簡素にするため、[行II!IIキーの操作で行修飾を
指定するものとする。又、上記行修飾の設定時に於いて
は、上/下のカーソルキー操作で選択画面を更新するこ
とにより、その更新前の選択画面の項目選択が終了した
(カーソル位置の項目が選択された)とみなし、[選択
/実行]キーが押下されることによって行修飾の設定が
終了したものとして、その行is情報を上記RAM14
内の行修飾バッフ1に文書行に対応付けTg込む。又、
上記行修飾表示モード時に於いて、非選択の際は、書式
設定で設定された選択状態、又は全文削除で設定された
状態となっており、この際の各設定値をここでは行修飾
標準値と称している。
In addition, to specify a line modification, on the actual machine, the line modification instruction is input by pressing a specific first character key while holding down the [Function] key, but the explanation will be simplified here. To make [Row II! It is assumed that line modification is specified by operating the II key. Also, when setting the above line decoration, 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). It is assumed that the row modification setting is completed by pressing the [Select/Execute] key, and the row is information is stored in the RAM 14 above.
The Tg associated with the document line is stored in the line modification buffer 1 in the file. or,
In the above line decoration display mode, when 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 the line decoration standard value here. It is called.

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

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

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

第11図乃至第16図はそれぞれ上記実施例に於ける縦
横変換印刷の処理フローを示す図であり、第11図は縦
横変換印刷全体の処理フロー、第12図は上記第11図
に於けるステップS1の処理フロー1第13図は上記第
11図に於けるステップS4の処理フロー、第14図は
上記第11図に於けるステップ316,822の処理フ
ロー、第15図は上記第11図に於りるステップ$17
の処理フロー、第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. Process flow 1 of step S1 Fig. 13 shows the process flow of step S4 in Fig. 11 above, Fig. 14 shows the process flow of steps 316 and 822 in Fig. 11 above, and Fig. 15 shows the process flow shown in Fig. 11 above. Steps to enter $17
FIG. 16 shows the processing flow of step 818 in FIG. 11 above.

尚、文書印刷の指定は、実機に於いては、[肉面1キー
を押下した状態で特定の第2の文字キーを押下すること
に」:す、文書印刷の指示入力を行なっているが、ここ
では説明を簡素にするため、[文書印刷1キーで文書印
刷モードを指定するものとプる。又、ここでは、文書作
成中に於いても任意の行数分の部分印刷が可能となるも
ので、この部分印刷の指定も[機能1キーと成る特定キ
ーとの組合わせによって行なわれる。
In addition, to specify document printing, in the actual machine, [press the specific second character key while pressing the meat side 1 key]: I am inputting the instruction to print the document. , Here, to simplify the explanation, it will be assumed that the document print mode is specified using the document print 1 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 by a combination with a specific key that is the function 1 key.

これらの印刷モード下に於いて、「標準印刷/縦横変換
印刷]、更には[横187」Iき1 [左余白]等の指
定がカーソルキー漫び数(lriキーの操作と[選択/
実行]キーの操作により行なわれる。
Under these print modes, you can specify settings such as "Standard printing/Vertical/horizontal conversion printing" or even "Width 187" or "Left margin" by pressing the cursor keys (lri key operation and selecting/
This is done by pressing the [Execute] key.

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

漢字混じり文の入力時に於いては、キーボード30より
入力されたキー人力信号が5110内のCPIJllの
制御1により仮名漢字変換され、RAM14内の文書バ
ッフIIで貯えられる。この際、CP U 14は、P
P112庖介し更にfローダ13を介して4−−ボード
30にスキャン信号を出力し、そのリターン信号をPP
I+7をより人力(、でキー判別を行ないキーコードを
生成する。更に、同キーコードをもとに仮名人力された
漢字指定部分についてRO\・115内の経内、更には
RA M +4内の暫定辞占〜を素゛引し、仮名漢字変
換処理した後、その変換された漢字]−ドを含む入力文
字下コード列を文書バッファに貯える。。
When inputting a sentence containing kanji, the key input signal from the keyboard 30 is converted into kana and kanji by control 1 of CPIJll in 5110, and is stored in document buffer II in RAM 14. At this time, the CPU 14 uses P
A scan signal is output to the 4-board 30 via the P112 and the f loader 13, and the return signal is sent to the PP.
I+7 is manually identified (,) to generate a key code.Furthermore, based on the same key code, for the kanji designated part manually inputted into kana, the text in RO\・115, and furthermore in RAM +4. After quoting the provisional dictionary ~ and performing kana-kanji conversion processing, the input character lower code string including the converted kanji ]- is stored in the document buffer.

上記した文諜入力時に於いて、文書バッファ)ご貯えら
れる入力文字は、cpu+1のυIHのf・に頓次行イ
メージバッファ140上(、′lパターン展開され、L
CDシ制御回路17の表示制(社)、史し=はl−CD
ドライバ51の表示ドライブで1.、− Ciつ50十
に?、i示出プ〕される。
At the time of inputting the above-mentioned literary intelligence, the input characters stored in the document buffer) are immediately expanded into the line image buffer 140 (, 'l pattern and L
CD control circuit 17 display system (company), historical = l-CD
1. In the display drive of the driver 51. , - Ci one to fifty ten? , i is displayed.

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

上記した入力文書に対して、行を単位に文字修飾の指定
を行ないたい場合は、修飾したい行位置の文字列をカー
ソルキー操作で選択し表示して、[礪能]キーと他の特
定キーとの組合わせによる[行修飾]キー操作により行
修飾の指定を行なう。
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 Specify line decoration by operating the [Line modification] key in combination with .

CP U 11は、[行修飾コキーの操作入力を判別す
ると、LCD50の表示モードを文書表示モードから行
修飾表示モードに切換える。この行修飾表示モードでは
、具体例を挙げると、最初に文字量間隔及び改行ピッチ
を選択するための選択画面が表示され、次に文字サイズ
を選択するための選択画面が表示される。この際の文字
量間隔から改行ピッチへの項目切換えは[次項口]キー
操作で行なわれ、選択画面の切換えは上下方向のカーソ
ルキー操作で行なわれ、その各項目選択は左右方向のカ
ーソルキー操作で行なわれる。例えば文字量間隔及び改
行ピッチを選択するだめの選択画面が表示された状態で
、[次項口]キー操作及び左右方向のカーソルキー操作
による項目選択を行なわずに、上下方向のカーソルキー
操作で選択画面切換えを行なうと、上記選択画面上にカ
ーソル表示された文字量間隔が選択されたものとして、
イの制御情報をもつ行修飾情報が上記RAM14内の行
修飾バッファに記憶され、次に新たに表示された選択画
面の項目(ここで文字サイズ)が選択対象となる。又、
上記選択画面の切換えで、例えば「印刷停止」の選択画
面が表示され、カーソルキー操作で「印刷停止布」が選
択され、その後に[選択/実行]キーが操作されると、
「印刷停止布」の制御情報をもつ行修飾情報が上記RA
M14内の行修飾バッファに記憶される。
The CPU 11 switches the display mode of the LCD 50 from the document display mode to the line modification display mode when determining the operation input of the line modification key. In this line modification display mode, to give a specific example, first a selection screen for selecting the character amount interval and line feed pitch is displayed, and then a selection screen for selecting the character size is displayed. At this time, items can be switched from character spacing to line feed pitch by pressing the [Next Item] key, selection screens can be changed by pressing the up and down cursor keys, and each item can be selected by pressing the left and right cursor keys. It will be held in For example, when the selection screen for selecting character spacing and line break pitch is displayed, instead of selecting the item by operating the [Next item] key or operating the left/right cursor keys, select by operating the up/down cursor keys. When the screen is switched, the character amount interval displayed by the cursor on the selection screen above is assumed to have been selected.
The line modification information having the control information of A is stored in the line modification buffer in the RAM 14, and the next item (character size) on the newly displayed selection screen becomes the selection target. or,
By switching the selection screen above, for example, the selection screen for "Stop Printing" is displayed, and "Stop Printing Cloth" is selected by operating the cursor keys, and then the [Select/Execute] key is operated.
The line modification information with the control information of "print stop cloth" is the above RA
Stored in the line modification buffer in M14.

上記した行修飾設定手段に於いて、文書バッフ?に貯え
られた文書の任意の行位置に対する行修飾設定が行なわ
れた後は、同文書バッファ内の既入力文書をカーソルキ
ー操作でLCD50上に表示することにより、同LCD
50上のガイド表示部に、その表示文字列の行、及び桁
と1行当りの字数が表示されるとともに、行修飾インジ
ケータが選択的に表示される。即ち、カーソル操作によ
り成る表示文字列を選択すると、そのカーソル指定され
た表示文字列の行位置、桁位置、及び1行当りの字数が
表示されるとともに、行修飾バッファに貯えられた対応
する行位置の行修飾情報が参照され、同情報が行條v6
標準値と比較されて、上記カーソルにより選択された表
示行に対し行修飾が設定されているか否かが判断される
。ここで、行修飾が設定されていなければ、即ち上記行
修飾情報の内容が上記行修飾様11!値と一致すれば、
行修飾インジケータを点灯させず、又、行修飾が設定さ
れていれば、即ち上記行修飾情報の内容が上記行修飾標
準値と一致しなければ、行修飾インジケータを点灯させ
る。このような行修飾インジケータの表示制御が、カー
ソルキーによって選択された表示文書の全ての行に対し
て行なわれる。このように行修飾インジケータの点灯状
態から、行修飾が行なわれた行位置を容易に確認するこ
とができる。
In the above line decoration setting means, document buffer? After line modification settings have been made for any line position of the document stored in the document buffer, the already input document in the same document buffer can be displayed on the LCD 50 by operating the cursor keys.
In the guide display section above 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 corresponding line stored in the line modification buffer is displayed. The row modification information of the position is referenced, and the same information is
It is compared with the standard value to determine whether or not line decoration is set for the display line selected by the cursor. Here, if the line decoration is not set, that is, the content of the line decoration information is like the line decoration 11! If it matches the value,
The line decoration indicator is not turned on, and if the line decoration is set, that is, the content of the line decoration information does not match the line decoration standard value, the line decoration indicator is turned on. Such line modification indicator display control 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.

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

上記「文書印刷]キー操作で文南印刷モードかが定され
ると、又は、予め定められた[部分印刷1指定のための
特定のキー操作で部分印刷モードが指定されると、L 
CD 50の表示モードが印刷情報の設定モードに切替
わり、印刷情報設定のための選択画面が表示される。こ
こでは先ず、[41印制、/縦横変換印刷]の選択画面
が表示される。ここで、[m横変換印刷〕が選択される
と、次に[縦書/横s]、及び[先頭行位置43]の選
択画面が表示される。この際の選択画面及び選択項目の
切替え、項目選択等は上述した行修飾モード時と同様に
、カーソルキー、[次項口]キー及び[選択2/実行1
キー等により11すわれるが、[先頭行位置43]の選
択項目に於いて、何等、数値(2桁)が設定されず、上
/下のカーソルキーにより次画面に移行すると、ここで
は、予め初期設定されている数値(43)に従う第43
行目(スケール表示)が縦横変換印刷の[印刷先頭行位
置]として設定されたことになる。
When Bunnan print mode is specified by the above "Document print" key operation, or when partial print mode is specified by a predetermined specific key operation for specifying [partial print 1], 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 [41 stamp, /vertical/horizontal conversion printing] is displayed. Here, when [m-horizontal conversion printing] is selected, a selection screen for [vertical writing/horizontal s] and [first line position 43] is displayed next. At this time, the selection screen, switching of selection items, item selection, etc. are the same as in the line modification mode described above, using the cursor key, [Next item] key,
key etc., but if no numerical value (2 digits) is set in the selection item of [First row position 43] and you move to the next screen using the up/down cursor keys, here, the 43rd according to the initial value (43)
This means that the line (scale display) is set as the [Print first line position] for vertical/horizontal conversion printing.

上記印刷情報の設定終了に伴う[選択/実行]キー操作
により、c p u iiは、行修飾バッファに貯えら
れた、印刷対象となる文書の印刷開始行(全文印刷の際
は先頭頁先頭行9部分印刷の際はカーソル指定行)以降
の各行修飾情報を打順に参照して、「印刷停止有」又は
「用紙交換有」の情報をもつ行修飾情報を検出し、上記
印刷開始行から上記検出行までの行数を[印刷指定行数
]として算出した後、印刷ルーチンを実行開始する。こ
の際の縦横変換印刷処理vJ作を第2図乃至第16図を
参照して説明する。
By operating the [Select/Execute] key after completing the above print information settings, CPU ii selects the print start line of the document to be printed (in the case of full-text printing, the first line of the first page) stored in the line modification buffer. When printing 9 parts, 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 stop" or "Paper replacement" is detected, and the above printing starts from the 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. The aspect conversion printing process vJ at this time will be explained with reference to FIGS. 2 to 16.

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

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

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

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

そして、ステップ$3に於いて、LIBバッファのLI
Bを初期化(第2図に示すように、桁番号Pcのみを「
1」、その他をすべてrOJに設定)し、ステップS4
に於いて、LIBの改行位flPt、を予め設定された
行修飾情報の「左指余白」に従い更新する。
Then, in step $3, LIB buffer LI
Initialize B (as shown in Figure 2, change only the digit number Pc to "
1" and set all others to rOJ), and step S4
In this step, the LIB line feed position flPt is updated according to the "left finger margin" of the line modification information set in advance.

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

次に、ステップS9に於いて、レジスタR9に保持して
いる[改行実行位置]が用紙送り方向の印刷可能最大ド
ツト数を表わす特定値例えば「7FFFFFFF (H
)J  (以下、下位−桁分の” F F F F ”
を省略して示す)に達したか否かを判断し、印字可能最
大ドツト数に達していればそのまま処理を終了するが、
印字可能最大ドツト数に達していなければ次のステップ
S8の処理を実7テする。
Next, in step S9, the [Line feed execution position] held in the register R9 is set to a specific value representing the maximum number of printable dots in the paper feed direction, such as "7FFFFFFFF (H
)J (Hereinafter, the lower digits are "F F F F"
), and if the maximum number of printable dots has been reached, the process ends.
If the maximum number of printable dots has not been reached, the next step S8 is actually executed.

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

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

そして、ステップS11に於いて、LIBポインタの示
すアドレスより改行位置領域Pt、の改行位置をCPU
11にロードし、次のステップS12の処理に入る。
Then, in step S11, the CPU determines the line feed position in the line feed position area Pt from the address indicated by the LIB pointer.
11, and enters the process of the next step S12.

このステップS12では、上記LIBの改行位置と上記
レジスタR9に貯えられた[改行実行位[]とが等しい
か否かを判断し、等しい場合にはステップ813にて、
レジスタRIOに保持している[印刷行番号コとLIB
の桁番号Pcに従いRA M 14内の文書バッフ1よ
り展開対象となる文字コードをロードする。その後、ス
テップ814に於いて、LIBの下線接続ビットがON
(“’1”)か否かを判断し、ONでなければステップ
815に於いて上記文字コードの下線ビット(第5図に
示される)がONか否かを判断する。ここで上記文字コ
ードの下線ビットがONであれば、ステップ816に於
いて下線展開処理を行なった後、ステップ317に於い
て文字展開処理を行なう。また、上記ステップS15で
文字コードの下線ビットがONになっていないと判断さ
れた場合は、直ちにステップS11の処理を実行し、そ
の侵、ステップ$18のLIB更新処理を実行する。ま
た、上記ステップ314で下線接続どツ1−がONして
いると判断された場合は、ステップS22に於いて下線
接続展開(文字間部分の下線展開)処理を行なった後、
ステップ818のLIB更新処理を行なう。
In step S12, it is determined whether the line feed position of the LIB and the [line feed execution position] stored in the register R9 are equal. If they are equal, in step 813,
[Print line number and LIB] held in register RIO
The character code to be developed is loaded from the document buffer 1 in the RAM 14 according to the digit number Pc. After that, in step 814, the underline connection bit of LIB is turned ON.
("'1"), and if it is not ON, it is determined in step 815 whether the underlined bit (shown in FIG. 5) of the character code is ON. If the underline bit of the character code is ON, underline development processing is performed in step 816, and then character development processing is performed in step 317. If it is determined in step S15 that the underlined bit of the character code is not turned on, the process in step S11 is immediately executed, and the LIB update process in step $18 is executed. Furthermore, if it is determined in step 314 that the underline connection 1- is ON, in step S22, after performing underline connection development (underline development in the inter-character portion),
LIB update processing in step 818 is performed.

この際の下線展開処理、及び下線接続展開処理の詳細な
フローチャートは第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.

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

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

ここで、上記「印刷行数Jが「0」の場合には、ステッ
プ823に於いてキャリッジリターン及び印刷を実行し
、その印刷処理終了後、上記ステップS5の処理に戻る
Here, if the above-mentioned "number of lines to be printed J" is "0", carriage return and printing are executed in step 823, and after the printing process is completed, the process returns to the above-mentioned step S5.

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

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

以下同様の処理が繰返し実行され、レジスタR9に保持
されている[改行実行位置コが紙送り方向の最大印刷可
能ドツトに等しくなると、その状態がステップ$7で検
出されてM1横変換印81処理を終了する。
Thereafter, similar processing is repeatedly executed, and the line feed execution position stored in register R9 becomes equal to the maximum printable dot in the paper feed direction, and this state is detected in step $7 and the M1 horizontal conversion mark 81 process is performed. end.

次に上記ステップ$1.34 、S16.317、S1
8.822の詳細について、第12図乃至第16図のフ
ローチャートに従って説明する。
Next, the above steps $1.34, S16.317, S1
The details of 8.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ドツ1−
」を印刷可能範囲として印刷制御レジスタ領域のレジス
タR14にセラ1−する。
The process of step S1 in FIG. 11 begins with the step A1 in FIG.
'' is set as the printable range and is stored in register R14 in the print control register area.

次いでステップA2に於いて、レジスタROに[印刷指
定行数]をセットするとともに、レジスタR1に[印刷
残り行数〕をセラ1〜する。
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」をセットする。
Further, in step A3, the print start line number is set in the register R3, and in step A4, "0" is set in the register R7 as the 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.

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

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

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

そして、ステップ八〇に於いて、レジスタR1に保持し
ている[印刷残り行数]をr−1Jした後、ステップA
10に於いて、上記[印刷残り行数]がrOJになった
か否かを判断し、「0」でなければステップA11の処
理に入る。
Then, in step 80, after multiplying the [number of remaining print lines] held in register R1 by r-1J, step A
In step 10, it is determined whether the above-mentioned [number of remaining lines to print] has reached rOJ, 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.

次にステップA?2に於いて、上記[印−終了点]を上
記行ビッヂ分だけ加算し、その更新された[印刷終了点
〕をレジスタR7にセッ]−シ、ステップA13におい
てその[印刷終了点]がrOJ 、!り小さいか否かを
判断する。
Next step A? In Step 2, add the above [mark - end point] by the number of row bits and set the updated [print end point] in register R7] - In step A13, the [print end point] is set to rOJ. ,! Determine whether or not it is small.

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

又、上記ステップA7に於いて、上記[仮印刷開始点]
が上記[印刷可能範囲]より大きいと判断されれた場合
は、ステップA15に於いて、レジスタR3に保持され
ている[印刷開始行番号]をr−1JL、、その後、ス
テップA16の処理に入る。
Also, in step A7 above, the [temporary printing start point]
If it is determined that is larger than the above-mentioned [printable range], in step A15, the [print start line number] held in register R3 is set to r-1JL, and then the process proceeds to step A16. .

更に、ステップAIOに於いて、上記[印刷残り行数]
が「0」になったと判断された場合、あるいはステップ
A13に於いて、上記[印ai了点]が「0」より小さ
いと判断された場合も上記ステップA16の処理に入る
Furthermore, in step AIO, the above [number of remaining lines to print]
If it is determined that the value has become "0", or if it is determined in step A13 that the above-mentioned [mark ai completion point] is smaller than "0", the processing of step A16 is also entered.

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

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

以上でレジスタR2、R3、R6に対するデータセット
処理を終了し、第11図のステップS2の処理に移る。
This completes the data setting process for the registers R2, R3, and R6, and moves on to the process of step S2 in FIG.

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

このLIBの改行位置更新処理は、まず、ステップB1
に於いて、LIBポインタに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 LIB pointer, and furthermore, in step B2, [print start line number] is set in register R3, and register R
Set [Number of printable lines] to 2.

次に、ステップB3に於いて、最小改行位置く第10図
に示すLIBの改行位置PL (t )〜PL (N 
)のうちの最小の値を示す改行位置PL(+))に祇送
り方向の最大印刷可能ドツト数を表わす特定値r7FF
F (H)jをセットする。次にステップB4に於いて
、印刷開始位置を求め、11Bの改行位11(PL)に
セラ1へする。
Next, in step B3, the minimum line feed positions PL (t) to PL (N
), a specific value r7FF representing the maximum number of printable dots in the direction of forwarding is placed at the line feed position PL(+)) representing the minimum value of
Set F (H)j. Next, in step B4, the printing start position is determined and the printing start position is set to cella 1 at line feed position 11 (PL) of 11B.

その後、ステップB5に於いて、改行位置が最小改行位
置より小さいか否かを判断し、改行位置が最小改行位置
より小さければ、ステップB6に於いて、最小改行位置
に改tj位置をセラi−した後、ステップ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, the line feed position is set to the minimum line feed position. After that, the process starts at step B7. If the line feed position is greater than the minimum line feed position, the process directly proceeds to step B7.

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

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

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

第14図は、上記第11図に於けるステップ316の下
線展開処理及びステップ822の下線接続展開処理の詳
細を示すものである。下線展開を行なう場合は、まず、
ステップC1に於いて、下線の長さとして横方向の文字
サイズをセットし、次いでステップC2に於いて、横書
き時は文字の左側、縦書き時は文字の右側の下線展開を
行なう。
FIG. 14 shows details of the underline development process in step 316 and the underline connection development process in step 822 in FIG. 11 above. When performing underline expansion, first,
In step C1, the character size in the horizontal direction is set as the length of the underline, and then in step C2, the underline is developed on the left side of the character when writing horizontally, and on the right side when writing vertically.

以上で下線展開処理を終了する。This completes the underline 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図に於けるステップ317の文
字展開処理の詳細を示すものである。この文字展開処理
は、まず、ステップE1に於いて、改行コードか否かを
判断し、改行コードでなければステップE2に於いてL
IBの罫線接続ビットがONか否かを判断する。LIB
の罫線接続ビットがONしていれば、ステップE3に於
いて文字コードに横罫線コードをセットした後、ステッ
プE4の処理に進み、又、LIBの罫線接続ビットがO
NLでいなければ直ちにステップE4の処理に進む。
FIG. 15 shows details of the character development process in step 317 in FIG. 11 above. 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, L
It is determined whether the ruled line connection bit of IB is ON. L.I.B.
If the ruled line connection bit of LIB is ON, the horizontal ruled line code is set in the character code in step E3, and the process proceeds to step E4, and the ruled line connection bit of LIB is set to O.
If it is not NL, the process immediately proceeds to step E4.

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

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

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

また、上記ステップF2において、最小ゾーンでないと
判断された場合は、ステップF9に於いてLIBの改行
位置に「24」を加え、その後、ステップFIQに於い
てLIBのゾーン番号をr+IJI、て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, in step FIQ, the LIB is updated by changing the zone number of LIB to r+IJI. Finish the process.

また、上記ステップF3に於いて、LIBの下線接続ビ
ットがONしていると判断された場合は、ステップ「1
1に於いてLIBの罫線接続ビットがONLでいるか否
かを判断し、ONL、でいる場合は上記ステップF6の
処理に進み、ONLでいない場合はステップF12の処
理に進む。
In addition, in step F3 above, if it is determined that the underline connection bit of LIB is ON, step “1
In step 1, it is determined whether or not the ruled line connection bit of LIB is ONL. 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
の罫線接続ビットをONし、次いでステップ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.
The ruled line connection bit is turned ON, and then, in step F14, the character size is added to the line feed position of LIB, and then the process proceeds to step F8.

また、上記ステップF12に於いて縦罫線コードでない
と判断された場合は、ステップF15に於いて下線接続
が必要か否かを判断し、下線接続が必要であればステッ
プF16に於いてLIBの下線接続ビットをON[、た
後、上記ステップFi4の処理に進む。
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, in step F16 the LIB underline code is After turning on the connection bit, the process proceeds to step Fi4.

また、上記ステップF15に於いて下線接続が必要でな
いと判断された場合は、ステップF17に於いてLIB
の改行位置に文字ピッチを加えた後、ステップF7に於
いてLIBの桁番号を「+1」し、更にステップF8に
於いてLIBのゾーン番号をrOJにして[、IB更新
処理を終了する。
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 changed to rOJ in step F8, and the IB update process is ended.

上述したような縦横変換印刷処理により、行を単位に、
左桁余白/行ビッヂ/文字間間隔/文字すイズ/回転・
斜体/0扱き等、各種の文字修飾がなされた文書であっ
ても、更には行を単位に印刷開始桁の責なる文書であっ
ても、標準印刷と同様に、かつ任意の指定行をもって縦
横変換印刷が実行でき、更に、この際、行修飾で印刷対
象文書が物理的な印刷可能範囲を越えてしまう場合であ
っても、先頭行より印刷可能な行数だけの印刷が可能と
なる。
By using the above-mentioned aspect conversion printing process, line by line,
Left digit margin/Line bits/Character spacing/Character size/Rotation/
Even if the document has various character modifications such as italics/0 handling, or even documents where the printing start column is determined by line, it can be printed horizontally and vertically in the same way as standard printing, and with arbitrary specified lines. Conversion printing can be executed, and furthermore, even if the document to be printed exceeds the physically printable range due to line modification, it is possible to print only the number of printable lines starting from the first line.

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

[発明の効果] 以上詳記したように本発明の印刷制御方式によれば、文
字の拡大を含む行修Ps機能をもつ文書作成装置に於い
て、印刷対象となる文書の行を単位に、改行位置、桁番
号、及びゾーン番号を含む行情報を記憶する行情報記憶
手段と、行修飾情報の文字サイズのうち紙送り方向に直
交する方向の文字サイズを一要素として印刷可能行数を
求める手段と、紙送り方向の文字サイズによって上記行
情報の改行位置を更新する手段と、上記行情報の改行位
置から印刷用紙送り燈を決定する改行値を求める手段と
、上記行修飾情報の文字サイズの種類と上記改行情報の
ゾーン番号を参照して印刷用ラインバッファに文字パタ
ーンを展開する手段とを備え、印判数構の給紙部に縦方
向に挿入された用紙上に、恰も用紙を横方向に挿入した
ように、行を単位に文字サイズの異なる文書の縦横変換
印刷を行なう構成としたことにより、パーソナルワード
プロセッサに於いて、幅の狭い給紙部を有効に利用し、
行を単位に、IJ数種の文字が湿在した文1を通常の印
刷と同様の印刷結梁となるように縦横変換印刷でき、印
刷機能を大幅に向上できる。
[Effects of the Invention] As described in detail above, according to the print control method of the present invention, in a document creation device having a line correction Ps function including enlargement of characters, line by line of a document to be printed, Calculate the number of printable lines using a line information storage means that stores line information including line break positions, column numbers, and zone numbers, and the font size in the direction perpendicular to the paper feed direction among the font sizes of the line modification information as one element. means for updating the line feed position of the line information according to the font size in the paper feed direction; means for determining a line feed value for determining the printing paper feed light from the line feed position of the line information; and means for updating the font size of the line modification information. It is equipped with a means to develop a character pattern in a printing line buffer by referring to the type and the zone number of the above-mentioned line feed information, and it is possible to load the paper horizontally onto the paper inserted vertically into the paper feed section of several stamps. As shown in the image above, by configuring the configuration to perform portrait/horizontal conversion printing of documents with different font sizes line by line, it is possible to effectively utilize the narrow paper feed area in personal word processors.
Sentence 1, in which IJ characters of several types are mixed together, can be vertically and horizontally converted and printed on a line-by-line basis so that it becomes a printing beam similar to that of normal printing, and the printing function can be greatly improved.

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

第1図は本発明の一実施例に於ける装置の構成を示すブ
ロック図、第2図は上記実施例に於けるLIBの構成を
示す図、第3図は上記実施例に於ける印刷制御レジスタ
領域のレジスタ構成を示す図、第4図は上記実施例に於
ける行修飾情報の構成を示す図、第5図は上記寅fI!
例で扱う漢字コードの構成を示す図、第6図は上記実施
例に於ける行修飾された各種文字の横方向の文字サイズ
を示す図、第7図は上記実施例に於ける行修飾された各
種文字のゾーンを示す図、第8図は上記実施例に於ける
ラインバッファ上に於ける文字パターンの配列状態を示
す図、第9図は上記実施例に於けるラインバッファ上の
文字配置状態を示す図、第10図は上記実施例に於ける
縦横変換印(611ffi埋の動作説明図、第11図乃
至第16図はそれぞれ上記実施例に於ける縦横変換印刷
処理を示すフローチト一ト、第17図は標準En刷の積
みき々び縦古きと、縦横変換印刷の横書き及び縦渇きと
を対比して示す図である。 10・・・St(大規模集積回路11ti11・・・C
P LJ、12・・・周辺制(社)回路(PPI)、1
3・・・デコーダ(DCE>、14・・・RA N−1
,15・・・ROM、16・・・カセッ1〜インターフ
ェイス回路(CMT−INTF>、17・・・L CD
 ill 11]回路(LCDC)、18・・・プリン
タコントローラ(PRTC)、19・・・クロックジェ
ネレータ(CG)、20・・・発振器(O20)、30
・・・キーボード(KB)、40・・・データレコーダ
(CMT)、41・・・CMTアダプタ、50・・・液
晶ディスプレイ(LCD>、51・・・LCDドライバ
(LCD−DRV)、60・・・シリアルプリンタ(P
RT)、70・・・フロッピィディスクドライブ(FD
D)、71・・・フロッピィディスクコントローラ(F
DC)、140・・・行イメージバッファ(D−8U 
F ) 、141・・・ラインバッファ(L8)、LI
B・・・行情報ブロック、Pt・・・改行位置領域、P
c・・・桁番号領域、Pz・・・ゾーン番号領域、RO
−R14・・・レジスタ。SC・・・スケール。 出願人代理人弁理士 鈴 江 武 彦 第2rA 室 、−一 ア− 薯 郊 丈1A:町オ同  N=Q刷因粕行ムうラインバッファ
五9支乍バターシのニメ゛第8図 n−m&j        n+3f?     n”
2t’f  n*lff    nJ了ライ〉バッフ7
とe9文苫酌b1 第9図 第11図 (随り1) 第12図(+91) 第12図 (にの2) 人市了今白りτ館丁イ立】【更顯 第13図 (珀の1) 第13図 ・(辻の2) 千嫁漂聞      下φ隼典違腺閉 第14図 文字1開 第15図 第16図  (吃の1) 第16図(峰の2) 牌牟・軸1″! 談榎月史、帽言こ 第17 将卒・、■ぎ 原1交撞・縦1き
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. A diagram showing the register configuration of the register area, FIG. 4 is a diagram showing the configuration of line modification information in the above embodiment, and FIG. 5 is a diagram showing the configuration of the line modification information in the above embodiment.
A diagram showing the structure of the kanji code used in the example, Figure 6 is a diagram showing the horizontal character size of various characters with line modifications in the above example, and Figure 7 is a diagram showing the horizontal character sizes of various characters with line modifications in the above example. FIG. 8 is a diagram showing the arrangement of character patterns on the line buffer in the above embodiment. FIG. 9 is a diagram showing the arrangement of characters on the line buffer in the above embodiment. Figure 10 is an explanatory diagram of the operation of the vertical/horizontal conversion mark (611ffi) in the above embodiment, and Figures 11 to 16 are flowcharts each showing the vertical/horizontal conversion printing process in the above embodiment. , FIG. 17 is a diagram showing a comparison between the vertical aging of standard En printing and the horizontal writing and vertical aging of vertical/horizontal conversion printing. 10...St (Large-scale integrated circuit 11ti11...C
P LJ, 12... Peripheral system circuit (PPI), 1
3...Decoder (DCE>, 14...RA N-1
, 15...ROM, 16...Cassette 1 to interface circuit (CMT-INTF>, 17...L CD
ill 11] circuit (LCDC), 18... printer controller (PRTC), 19... clock generator (CG), 20... oscillator (O20), 30
...Keyboard (KB), 40...Data recorder (CMT), 41...CMT adapter, 50...Liquid crystal display (LCD>, 51...LCD driver (LCD-DRV), 60...・Serial printer (P
RT), 70... Floppy disk drive (FD
D), 71... Floppy disk controller (F
DC), 140... line image buffer (D-8U
F), 141...line buffer (L8), LI
B... Line information block, Pt... Line break position area, P
c... Digit number area, Pz... Zone number area, RO
-R14...Register. SC...Scale. Patent attorney representing the applicant Suzue Takehiko 2rA Room, -1A- Takeshi Soko 1A: Same as town m&j n+3f? n”
2t'f n*lff nJryōrai〉Buff 7
and e9buntomokuse b1 Figure 9 Figure 11 (Adopt 1) Figure 12 (+91) Figure 12 (Nino 2) Human market now white τkanchoi standing] [More red Figure 13 ( 1) Fig. 13 - (Tsuji 2) Sen-yome drifting Lower φ Hayabusaden Gland Closed Fig. 14 Character 1 Open Fig. 15 Fig. 16 (Tsu no 1) Fig. 16 (Mine 2) Tile Mu/Axis 1″! Tsukihiro Danen, Hat Kotoko No. 17 General Staff, ■Gihara 1st grade/Vertical 1ki

Claims (2)

【特許請求の範囲】[Claims] (1)、文字の拡大を含む行修飾機能をもつ文書作成装
置に於いて、印刷対象となる文書の行を単位に、改行位
置、桁番号、及びゾーン番号を含む行情報を記憶する行
情報記憶手段と、行修飾情報の文字サイズのうち紙送り
方向に直交する方向の文字サイズを一要素として印刷可
能行数を求める手段と、紙送り方向の文字サイズによっ
て上記行情報の改行位置を更新する手段と、上記行情報
の改行位置から印刷用紙送り量を決定する改行値を求め
る手段と、上記行修飾情報の文字サイズの種類と上記改
行情報のゾーン番号を参照して印刷用ラインバッファに
文字パターンを展開する手段とを具備し、行を単位に文
字サイズの異なる文書の縦横変換印刷を行なうことを特
徴とする印刷制御方式。
(1) Line information that stores line information including line break positions, column numbers, and zone numbers for each line of a document to be printed in a document creation device that has a line modification function that includes character enlargement. A storage means, a means for determining the number of printable lines using as one element the character size in the direction perpendicular to the paper feed direction among the character sizes in the line modification information, and updating the line break position of the above line information based on the character size in the paper feed direction. means for determining a line feed value for determining the printing paper feed amount from the line feed position of the line information; 1. A print control method, comprising means for developing a pattern, and performing vertical/horizontal conversion printing of a document with different font sizes line by line.
(2)、印刷対象となる文書の各行に対応する行情報か
ら最小の改行位置を検索し、その行位置と用紙送り方向
の印刷ヘッド位置から改行値を求めて、同改行値に従い
用紙送りを行なう特許請求の範囲第1項記載の印刷制御
方式。
(2) 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.
JP60247566A 1985-11-05 1985-11-05 Printing control system Pending JPS62105640A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
JPS62105640A true JPS62105640A (en) 1987-05-16

Family

ID=17165398

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS62105640A (en)

Similar Documents

Publication Publication Date Title
KR100453355B1 (en) Character information processor for printing
JPS62105640A (en) Printing control system
KR920007696B1 (en) Printing control system
JPS60176137A (en) Sentence generating device
JPS6010348B2 (en) Automatic conversion method for half-width and full-width characters
JPS62108063A (en) Printing control system
JPS61286887A (en) Document generator
JPS59100941A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JP2573174B2 (en) Document creation device
JPH0511319B2 (en)
JP2607044B2 (en) Document creation device and display output control method in document creation device
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JPS6015181A (en) Electronic equipment
JPS62108067A (en) Printing control system
JPS62108068A (en) Printing control system
JPS62108065A (en) Printing control system
JPS62105641A (en) Print control system
JPS61286922A (en) Document forming device
JPS62108064A (en) Printing control system
JPS62119665A (en) Word processor
JPS61286885A (en) Document generator
JPS61286923A (en) Document forming device
JPS6359658A (en) Document processor
JPS61286891A (en) Document generator
JPS62210533A (en) Print control system