JPS62108064A - Printing control system - Google Patents

Printing control system

Info

Publication number
JPS62108064A
JPS62108064A JP60247570A JP24757085A JPS62108064A JP S62108064 A JPS62108064 A JP S62108064A JP 60247570 A JP60247570 A JP 60247570A JP 24757085 A JP24757085 A JP 24757085A JP S62108064 A JPS62108064 A JP S62108064A
Authority
JP
Japan
Prior art keywords
line
print
register
printing
printable
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
JP60247570A
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 JP60247570A priority Critical patent/JPS62108064A/en
Publication of JPS62108064A publication Critical patent/JPS62108064A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To make the column and row conversion printing of the setted line number content or the printable line number content corresponding to a line modification possible, by a method wherein the printable range is obtained from the top line position, the printable line number corresponding to a line modification is obtained from this printable range, and the printing start line and the printing end line are set. CONSTITUTION:The top line position 27 dot is utilized as a printable range and set to the register R14 of print control register area. The print indication line number is set to the register R0 and at the same time, the print remaining line number is set to the register R1. Further, the print start line sequence number is set to the register R3 and 0 is set to the register R7 as the print end point. Then, the vertical letter size of the letter on the line given by the print start line sequence number stored in the register R3 is loaded. Thereafter, the print end point stored in the register R7 and the vertical letter size are added to be written into the register R5 as the temporary print start point. If the temporary print start point is less than the printable range, the temporary print start point is set to the register R4 as the print start point.

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(液晶ディス
プレイ)を用い、文書ファイル機構に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, various innovations and improvements have been made, such as using an LCD (liquid crystal display) for the display mechanism and a CMT (cassette magnetic tape device) or micro-floppy disk drive for the document file mechanism, making it smaller, lighter, and less expensive. A document creation device called a personal word processor has been realized at a low price.

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

又、印刷機構に於いても取扱可能な用紙サイズには大き
な制約を受け、例えばB4サイズの用紙を横方向に給紙
部に挿入可能な印り1機構を備えることは、装置の大型
化、重ω化、高価格化を招き、所期の目的を達成できな
い。
In addition, the printing mechanism is also subject to significant restrictions on paper sizes that can be handled; for example, providing a marking 1 mechanism that can insert B4-sized paper horizontally into the paper feed section requires an increase in the size of the device; This will lead to increased weight 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.

しかしながら、通常の印刷方式による印刷では印イ11
磯偶の印刷可能範囲によって用紙の桁方向の印じり可能
範囲が制限されるのに対して、上記縦横変換印1111
方式による印刷では用紙の行方向の印刷範囲が制限され
る。この際の標準印刷と縦横変換印刷の各印刷フオーム
を第17図(a)乃至(d)に示している。即ち、同図
(a>は標準・横書き印刷、同図(b)は標準・縦書き
印Wす、同図(C)は縦横変換・横書き印刷、同図(d
)は縦横変換・縦書き印刷の各フオームを示している。
However, when printing using a normal printing method, the print
While the printable range of the Isogu in the digit direction of the paper is limited, the above-mentioned vertical/horizontal conversion mark 1111
In printing using this method, the printing range in the line direction of the paper is limited. The printing forms of the standard printing and the vertical/horizontal conversion printing at this time are shown in FIGS. 17(a) to 17(d). That is, the same figure (a> is standard/horizontal writing printing, the same figure (b) is standard/vertical writing mark W, the same figure (C) is vertical/horizontal conversion/horizontal writing printing, the same figure (d) is
) indicates each form of vertical/horizontal conversion/vertical printing.

従って、従来では、縦横変換印刷によ゛り印刷したとき
、行ピッチが固定されていたり、又、可変できる場合で
あっても印刷可能な範囲を越える行ピッチが指定された
際は全く印刷を実行しないは能構成としていた。又、従
来の[t!変換印111では、上記行ピッチに限らず、
文字サイズ、文字間、行間等も固定され、従って縦横変
換印刷の際は通常の印刷と全く異なる印刷結果となって
しまうという欠点を有していた。
Therefore, conventionally, when printing using aspect conversion printing, even if the line pitch is fixed or variable, if a line pitch that exceeds the printable range is specified, printing is not performed at all. The play was a Noh composition. Also, the conventional [t! The conversion mark 111 is not limited to the above line pitch,
Character size, character spacing, line spacing, etc. are also fixed, and therefore, when performing portrait/horizontal conversion printing, the printing result has a drawback that it is completely different from normal printing.

[発明の目的1 本発明は上記実情に鑑みなされたもので、行を単位に、
複数種の文字が混在した文書を通常の印刷と同様の印刷
結果となるように縦横変換印刷できる印刷制御方式を提
供することを目的とし、特に、設定された行数分、又は
行修飾に応じた印刷可能行数分の縦横変換印刷を行なう
ことのできる印刷!iIl ’IjO方式を提供するこ
とを目的とする。
[Object of the invention 1 The present invention has been made in view of the above circumstances, and it is possible to
The purpose is to provide a print control method that can print a document containing multiple types of characters in portrait/horizontal conversion so that the print result is the same as normal printing. Printing that can perform vertical and horizontal conversion printing for the number of printable lines! The purpose of this invention is to provide an iIl'IjO method.

[発明の概要] 本発明は、行修飾設定手段と、縦横変換印刷の指定手段
と、縦横変換印刷モードに於いて印刷用紙上の先頭行位
置を指定する手段と、この指定された先頭行位置から印
刷可能範囲を求める手段と、この印刷可能範囲から行修
飾に応じた印刷可能行数を求める手段と、印刷開始行及
び印刷終了行を設定する手段とを備え、印刷機構の給紙
部に縦方向に挿入された用紙上に、恰も用紙を横方向に
挿入したように、上記設定された行数分、又は行修飾に
応じた印刷可能行数分の縦横変換印刷を行なうことので
きる構成としたもので、これにより、パーソナルワード
プロセッサに於いて、幅の狭い給紙部を有効に利用し、
行を単位に、上記設定された行数分、又は行修飾に応じ
た印刷可能行数分の1縦横変換印刷を行なうことができ
、印刷機能を大幅に向上できる。
[Summary of the Invention] The present invention provides a line modification setting means, a means for specifying vertical/horizontal conversion printing, a means for specifying a first line position on printing paper in the vertical/horizontal conversion printing mode, and a means for specifying a first line position on a print sheet in the vertical/horizontal conversion printing mode. A means for determining a printable range from the printable range, a means for determining the number of printable lines according to the line modification from this printable range, and a means for setting a print start line and a print end line, A configuration that can perform vertical/horizontal conversion printing on paper inserted vertically, as if the paper were inserted horizontally, for the set number of lines or the number of printable lines according to the line modification. This allows for effective use of the narrow paper feed area in personal word processors.
It is possible to perform vertical/horizontal conversion printing on a line-by-line basis for the set number of lines or the number of printable lines according to the line modification, 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)等の機構部名々の入出力制
御を行なう入出力制御回路部それぞれを制御対象とし、
g置全体の制御を司る処理装置(CPU’)、更には、
辞書領域、文字フォント領域、70グラム領域等をもつ
ROM及びRA Mでなる内部記憶部等とともに1チツ
プ化した大規模集積回路装置であり、実機に於いては1
00ビンの端子構造をもって構成され、特願昭59−2
04455号、特願昭59−204456号、特願昭5
9・−204462号等に示される半導体集積回路技術
をもとに実現している。以下この大規模集積回路装置を
スーパインテグレーション又は$1と呼称する。
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 of mechanical units such as a serial printer (PRT) is controlled,
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, 70 gram area, etc.
It is constructed with a terminal structure of 00 pin, and is patented in patent application 1986-2.
No. 04455, Japanese Patent Application No. 1983-204456, Japanese Patent Application No. 1983
This is realized based on the semiconductor integrated circuit technology disclosed in No. 9.-204462 and the like. Hereinafter, this large-scale integrated circuit device will be referred to as superintegration or $1.

11乃至19はそれぞれ上記3110の内部構成要素で
ある。このうち、11は装置全体の制御を司るCPUで
あり、ここではキー人力判別、仮名漢字変換、文書の編
集校正等の処理に加え、行属性情報に従う行単位の文字
修飾、及び印刷停止制御を含む行水篩処理を実行する。
11 to 19 are internal components of the above 3110, respectively. Of these, 11 is the CPU that controls the entire device, and in addition to processing such as manual key recognition, kana-kanji conversion, document editing and proofreading, it also performs line-by-line character decoration according to line attribute information and print stop control. Execute the row water sieving process that includes.

尚、実開に於いてはこのc p u ilを780相当
の論理構造としている。
In actual practice, this CPU has a logical structure equivalent to that of the 780.

又、図に於いては、5110内部のシステムバスに繋が
る外部のバス、接続端子、更には5110内部に設けら
れるカウンタ/タイマ等、この発明に直接関係しないO
シックを省略して示している。 ・12乃至18はそれ
ぞれ上記CP U 11の内部システムバスに接続され
る5110の内部構成要素である。
The diagram also shows external buses connected to the system bus inside the 5110, connection terminals, counters/timers provided inside the 5110, etc. that are not directly related to this invention.
Chic is omitted. - 12 to 18 are internal components of 5110 that are connected to the internal system bus of the CPU 11, respectively.

このうち、12は周辺制御回路(双方向インターフェイ
ス回路)であり、3ボートのうちの一つのボートがキー
ボードスキャンデータの出力(4ビツト)とカセット書
込みデータの出力(1ビツト)に用いられ、他の一つの
ボートがキーボードリターン信号の入力(8ビツト〉に
用いられる。この周辺制御回路を以下PPIと呼称する
。実機に於いてはこのPP112を8255相当の論理
構造としている。1 13は上記PP112のキーボードスキャンデータ出力
(4ビツト)を受けて該データをデコードし、9種のス
キャン信号としてキーボードに送出するデコーダ(DC
E)である。
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 bit), and the other One port is used for keyboard return signal input (8 bits). This peripheral control circuit is hereinafter referred to as PPI. In the actual machine, this PP112 has a logic structure equivalent to 8255. 1 to 13 are the above PP112 A decoder (DC) receives the keyboard scan data output (4 bits), decodes the data, and sends it to the keyboard as 9 types of scan signals.
E).

14はRAMであり、ここでは、文書バッファ領域、行
ri篩情報領域、外字パターン領域、暫定辞♂領11!
等に加えて、入力文書の行を単位に、改17伶冒/桁番
号2/ゾーン番号を含む行情報ブロック(L ine 
Inforiation  Block:以下LIBと
称す)、及び行ピッチ/文字量/文字サイズを含む行修
飾情報の各領域(LIBバッファ、及び行修飾バッファ
)が確保されるとともに、縦横変換印刷を含む印刷実行
時に於ける各種の変数、ポインタ値等を貯える印刷制御
レジスタ領tii! (RO〜R14)が確保され、更
には行イメージバッファ(D−BUF)140 、ライ
ンバッファ(LB)141等の領域が確保されるもので
、そのLIBバッファに貯えられたLIB、行修飾バッ
ファに貯えられた行修飾情報、及び印刷料■レジスタ領
域(RO〜R14)の詳細は第2図乃至第4図に示され
ている。
14 is a RAM, which includes a document buffer area, a line ri sieve information area, a non-standard character pattern area, and a provisional word area 11!
In addition to the above, line information blocks (Line
Information Block (hereinafter referred to as LIB) and each area of line modification information including line pitch/character amount/character size (LIB buffer and line modification buffer) are secured. Print control register area that stores various variables, pointer values, etc. (RO to R14) are secured, and areas such as the row image buffer (D-BUF) 140 and line buffer (LB) 141 are secured, and the LIB stored in the LIB buffer and the row modification buffer are Details of the stored line modification information and printing charge register areas (RO to 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はCPU11の制御の下に外部記憶となるオーディ
オカセット磁気テープ装置を用いたデータレコーダ(C
MT)の読出し/書込み制御を行なうカセットインター
フェイス回路(CMT−INTF)であり、データ書込
み時に於いては、書込み開始に先立ち、リーダ部として
約10秒間オール” 1 ”のデータを出力し、その後
にPP112より出力されるビットシリアルのカセット
書込みデータ(行修飾領域データ/文書領域データ7外
字パターン頃域データ/′語句登録領域データ/暫定辞
書領域データ等)を出力し、その後にトレーラ部として
約2秒間オール“O°′のデータを出力する。
16 is a data recorder (C
This is a cassette interface circuit (CMT-INTF) that performs read/write control of the MT). When writing data, the reader section outputs all "1" data for about 10 seconds before starting writing, and then The bit serial cassette writing data (line modification area data/document area data 7 external character pattern area data/'phrase registration area data/temporary dictionary area data, etc.) output from the PP112 is output, and then approximately 2 Outputs all "O°' data for a second.

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

18はプリンタコントローラ(PRTC)であり、CP
tJllの創面の下に、RA〜114を介してプリント
イメージデータを出力する。
18 is a printer controller (PRTC), and CP
Print image data is output under the wound surface of tJll via RA~114.

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は基本クロックを生成し、3110内部のクロック
ジェネレータ19に供給する発振器(O20)。
20 is an oscillator (O20) that generates a basic clock and supplies it to the clock generator 19 inside 3110;

−30は同じ<5110内部のPPr12及びデコーダ
13に接続されたキーボード(KB>、40は書込みデ
ータを録音可能なアナログ量の信号に変換するD/A変
換器と再生されたアナログ量の信号をデジタル信号に変
換するA / D変換器を有してなるCMTアダプタ4
1を介して5110内部のカセットインターフェイス回
路16に接続されたオーディオカセット磁気テープ装置
を用いてなるデータレコーダ(CMT)、50はLCD
ドライバ(L CD、−DRv)51を介り、、TS1
10内BII (7) L CD制御回路17に接続さ
れた液晶ディスプレイ(以下LCDと称す)、60は同
プリンタコントローラ18に接続されたシリアルプリン
タである。70は3.5吋のマイクロフロッピィディス
クドライブ(FDD)であり、フロッピィディスクコン
トローラ(FDC)71を介して8110内部のCPt
Jllの内部システムバスに接続される。
-30 is a keyboard (KB>) connected to the PPr 12 and decoder 13 inside the same <5110; 40 is a D/A converter that converts write data into recordable analog signals; CMT adapter 4 having an A/D converter for converting into a digital signal
1, a data recorder (CMT) using an audio cassette magnetic tape device connected to the cassette interface circuit 16 inside 5110; 50 is an LCD;
Via the driver (LCD, -DRv) 51, TS1
10 BII (7) L A liquid crystal display (hereinafter referred to as LCD) connected to the CD control circuit 17, and 60 a serial printer connected to the same printer controller 18. 70 is a 3.5 inch micro floppy disk drive (FDD), and the CPt inside 8110 is connected via a floppy disk controller (FDC) 71.
Connected to Jll's internal system bus.

ここで、上記シリアルプリンタ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図に示すRA M 14内のLIBバ
ッファに貯えられたLIBの構成を示・す図であり、文
書の各行に対応して設けられるLIBは、それぞれ2バ
イト構成の改行位置6jittiliPt、、7ビツト
構成の桁番号領域Pc、6ビツト構成のゾーン番号領域
Pz、更には下i接続ビット、罫線接続ビット、右半角
指定ピット等からなる。このLIBの初期設定は、桁番
号領域Pcのみに桁番号値「1」 (第1桁)を設定し
、改行位置領域PL、及びゾーン番号領域Pzにそれぞ
れrOJを設定する。このLIB内の各領域はLIBポ
インタにより指定される。
FIG. 2 is a diagram showing the configuration of LIB stored in the LIB buffer in the RAM 14 shown in FIG. It consists of a position 6jittiliPt, a 7-bit digit number area Pc, a 6-bit zone number area Pz, a lower i connection bit, a ruled line connection bit, a right half-width designation pit, and the like. In the initial settings of this LIB, a digit number value "1" (first digit) is set only in the digit number area Pc, and rOJ is set in each of the line feed position area PL and the zone number area Pz. Each area within this LIB is designated by a LIB pointer.

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

第4図は上記第1図に示すRAMI、i内の行修飾バッ
ファに貯えられる行r:i飾情報の構成を示したもので
、ここでは、白抜きの有無に1ビツト(“1”;有/゛
O”;無)を割付け、回転・斜体に3ピツト(”’00
0”:回転・斜体指定無、°“001°′:回転1(9
0°)、“010”:回転2 (180°)、”011
”:回転3 (270°)、” i o o”;斜体指
定)を割付け、文字サイズに4ビツト(0001”;サ
イズ1 (24x24ドツト)〜“1001”:サイズ
9(576x576ドツト))を割付け、印刷停止の有
無に1ビツト(”1”:停止有/゛′○″:停止無)を
割付け、文字量間隔に2ビツト(“’oo”:文字間0
(Oドツト)〜”11”:文字間3(12ドツト))を
割付け、行ピッチに4ピツト(゛″1111″’:a1
111″’:a行B>チ/120>、“oooo″;改
行O(改行810インチ/120)、“’0001”:
改行H(改行d;+8インチ/120)、”0010”
;改行K(改行量:+16インチ/120)、“ooi
i”;改行E(改行量;+20インチ/120)、”0
100′”;改行1(改行邑;+30インチ、/120
)〜゛0111”:改行4(改行量;+60インチ/1
20))を割付け、用紙交換の有無に1ビツト(“1パ
:用紙交換有、7 in Ol+ 、用紙交換無)を割
付け、衣桁余白に1バイト(−9〜63桁)を割付けて
いる。
FIG. 4 shows the structure of the row r:i decoration information stored in the row decoration buffer in the RAMI i shown in FIG. 1. Here, 1 bit (“1”; Assign “Yes/゛O”; No) and 3 pits (”’00”) to rotate/italic.
0": No rotation/oblique designation, °"001°': Rotation 1 (9
0°), “010”: Rotation 2 (180°), “011”
”: Rotation 3 (270°), “i o o” (italic designation) is assigned, and the font size is assigned 4 bits (0001”; Size 1 (24 x 24 dots) to “1001”: Size 9 (576 x 576 dots)). , 1 bit ("1": Stopped/"'○": No stop) is assigned to the presence or absence of printing stop, and 2 bits are assigned to the character spacing ("'oo": 0 character spacing).
(O dot) ~ "11": Character spacing of 3 (12 dots)) is assigned, and the line pitch is 4 pits ("1111": a1
111″': a line B>chi/120>, “oooo”; line feed O (line feed 810 inches/120), “’0001”:
Line feed H (line feed d; +8 inches/120), “0010”
; Line feed K (line feed amount: +16 inches/120), “ooi
i”; line feed E (line feed amount; +20 inches/120), “0
100'"; line break 1 (line break; +30 inch, /120
)~゛0111”: Line feed 4 (Line feed amount; +60 inches/1
20)), one bit (“1 pass: paper exchanged, 7 in Ol+, no paper exchanged”) is assigned to the presence or absence of paper exchange, and one byte (-9 to 63 digits) is assigned to the column margin.

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

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

第7図は各種外部文字のゾーンの定義を説明するだめの
図であり、ここでは、全角< 24x 24ドツト)7
4倍角(48x 48ドツト)/斜体の各文字を例にそ
のゾーン境界を破線で示している。
Figure 7 is a diagram used to explain the definition of zones for various external characters.
For example, each quadruple-width (48 x 48 dots)/italic character is shown with its zone boundary indicated by a broken line.

尚、行修飾の指定は、実機に於いては[機能]キーを押
下した状態で特定の第1の文字キーを押下することによ
り行修飾の指示入力を行なっているか、ここでは説明を
簡素にするため、[行修飾]キーの操作で行修飾を指定
するものとする。又、上記行嬬飾の設定時に於いては、
上/下のカーソルキー操作で選択画面を更新することに
より、その更新前の選択画面の項目選択が終了した(カ
ーソル位置の項目が選択された)とみなし゛、〔選択/
′実実行主キー押下されることによって行修飾の設定が
終了したものとして、その行修飾情報を上記RAM14
内の行修飾バッフ?に文書行に対応付けて出込む。又、
上記行修飾表示モード時に於いて、非選択の際は、古式
設定で設定された選択状態、又は全文削除で設定された
状態となっており、この際の各設定値をここでは行修飾
標準値と称している。
In addition, to specify the line modification, on the actual machine, the line modification instruction is input by pressing the specific first character key while holding down the [Function] key, or the explanation will be simplified here. Therefore, specify the line qualifier by operating the [Line qualifier] key. In addition, when setting the above-mentioned formality,
By updating the selection screen using the up/down cursor keys, it is assumed that the item selection on the selection screen before the update has been completed (the item at the cursor position has been selected).
'It is assumed that the line decoration setting is completed by pressing the actual execution primary key, and the line decoration information is stored in the RAM 14 above.
Row qualification buffer within? The text is exported in association with the document line. or,
In the line decoration display mode mentioned above, when it is not selected, it is in the selected state set in the old setting or the state set in full text deletion, and each setting value at this time is the line decoration standard value. It is called.

第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 aspect conversion printing operation.

ここで、用紙上のSCは、印刷機構の給紙部(用紙挿入
口)に設けられた印刷位置を示すスケールであり、ここ
では27ドツトの印字幅(全角文字サイズ:24ドツI
・十文字間:3ドツトの文字ピッチに相当する印字幅)
を単位に0〜m 〈実機では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 I).
・Cross character spacing: Print width equivalent to 3-dot character pitch)
The scale is scaled from 0 to m (m = 56 on the actual machine). 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図はw
1横変換印e11全体の処理フロー、第12図は上記第
11図に於けるステップS1の処理フロー、第13図は
上記第11図に於けるステップS4の処理フロー1第1
4図は上記第11因に於けるステップ816.S22の
処理フロー、第15図は上記第11図に於けるステップ
317の処理フロー、第16図は上記第11図に於ける
ステップ818の処理フローをそれぞれ示している。
11 to 16 are diagrams showing the processing flow of aspect conversion printing in the above embodiment, respectively, and FIG.
12 is the processing flow of step S1 in FIG. 11, and FIG. 13 is the processing flow 1 of step S4 in FIG. 11.
Figure 4 shows step 816 in factor 11 above. The processing flow of S22, FIG. 15 shows the processing flow of step 317 in FIG. 11, and FIG. 16 shows the processing flow of step 818 in FIG. 11.

尚、文書印刷の指定は、実機に於いては、[機能]キー
を押下した状態で特定の第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 [Function] key, but this is explained here. To simplify the process, assume 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 while creating a document, and this partial printing is also specified in combination with a specific key that is the [Function] key.

これらの印刷モード下に於いて、[標準印刷/′余白1
等の指定がカーソルキー及び数値キーの操作と[選択/
実行]キーの操作により行なわれる。
Under these print modes, [Standard Print/'Margin 1
etc. can be specified using the cursor keys and numeric keys and [Select/
This is done by pressing the [Execute] key.

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

漢字混じり文の入力時に於いては、キーボード30より
入力されたキー人力信号が5110内のCP U 11
の制御により仮名漢字変″換され、RAM14内の文書
バッファに貯えられる。この際、CP U 11は、P
P112を介し更にデコーダ13を介してキーボード3
0にスキャン信号を出力し、そのリターン信号をPP1
12をより入力してキー判別を行ないキーコードを生成
する。更に、同キーコードをもとに仮名人力された漢字
指定部分についてROM15内の辞書、更にはRA M
 14内の暫定辞書等を索引し、仮名漢字変換処理した
後、その変換された漢字コードを含む入力文字コード列
を文言バッファに貯える。
When inputting a sentence containing kanji, the key input signal from the keyboard 30 is sent to the CPU 11 in the 5110.
is converted into kana-kanji and stored in the document buffer in the RAM 14. At this time, the CPU 11
via P112 and further via the decoder 13 to the keyboard 3.
0, and output the return signal to PP1.
12 to perform key discrimination and generate a key code. Furthermore, the dictionary in the ROM 15, and furthermore the RAM
14, and after performing kana-kanji conversion processing, input character code strings including the converted kanji codes are stored in a text buffer.

上記した文言入力時に於いて、文書バッファに桁えられ
る入力文字は、CP U 11の制御の下に順次行イメ
ージバッファ140上にパターン展開され、LCD制御
回路17の表示制御、更にはLCDドライバ51の表示
ドライブでL CD 50上に表示出力される。
During the above-described text input, the 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 then are controlled by the display control of the LCD control circuit 17 and further by the LCD driver 51. The display drive outputs the data to be displayed on the LCD 50.

このようにして入力された既入力文書は、カーソルキー
操作により、LCD50上に所定桁数の文字列をもって
任意に表示でき、文書の校正、訂正等に供される。
The already-input 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.

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

CP IJ 11は、[行修飾]キーの操作入力を判別
すると、LCD50の表示モードを文書表示モードから
行嬬飾表示モードに切換える。この行修飾表示モードで
は、具体例を挙げると、最初に文字量間隔及び改行ピッ
チを選択するための選択画面が表示され、次゛に文字サ
イズを選択するための選択画面が表示される。この際の
文字量間隔から改行ピッチへの項目切換えは[数項目]
キー操作で行なわれ、選択画面の切換えは上下方向のカ
ーソルキー操作で行なわれ、その各項目選択は左右方向
のカーソルキー操作で行なわれる。例えば文字量間隔及
び改行ピッチを選択するための選択画面が表示された状
態で、[数項目]キー操作及び左右方向のカーソルキー
操作による項目選択を行なわずに、上下方向のカーソル
キー操作で選択画面切換えを行なうと、上記選択画面上
にカーソル表示された文字量間隔が選択されたものとし
て、その制御情報をもつ行修飾情報が上記RAM14内
の行修飾バッファに記憶され、次に新たに表示された選
択画面の項目くここで文字サイズ)が選択対象となる。
When the CP IJ 11 determines that the [Line Modification] key has been input, it switches the display mode of the LCD 50 from the document display mode to the line decoration display mode. In this line modification display mode, to give a specific example, first a selection screen is displayed for selecting character spacing and line break pitch, and then a selection screen for selecting character size is displayed. At this time, the item switching from character spacing to line break pitch is [several items]
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 items by operating the [Several Items] key or 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 amount interval displayed by the cursor on the selection screen has been selected, and the line modification information with the control information is stored in the line modification buffer in the RAM 14, and then newly displayed. The selected items on the selection screen (here font size) will be selected.

又、上記選択画面の切換えで、例えば「印刷停止」の選
択画面が表示され、カーソルキー操作で「印刷停止有J
 h<選択され、その後に[選択/実行]キーが操作さ
れると、「印刷停止有」の制御情報をもつ行修飾情報が
上記RAM14内の行修飾バッファに記憶される。
In addition, by switching the selection screen above, for example, a selection screen for "Printing Stop" is displayed, and by operating the cursor keys, "Printing Stopped" can be selected.
When h< is selected and the [Select/Execute] key is operated thereafter, line modification information having control information of "printing stopped" is stored in the line modification buffer in the RAM 14.

上記した行灯s設定手段に於いて、文書バッファに貯え
られた文書の任意の行位置に対する行修飾設定が行なわ
れた後は、同文書バッファ内の既入力文書をカーソルキ
ー操作でLCD50上に表示することにより、同L C
D 50上のガイド表示部に、その表示文字列の行、及
び桁と1行当りの字数が表示されるとともに、行修飾イ
ンジケータが選択的に表示される。即ち、カーソル操作
により成る表示文字列を選択すると、そのカーソル指定
された表示文字列の行位置、桁位置、及び1行当りの字
数が表示されるとともに、行修飾バッフ?に貯えられた
対応する行位置の行修飾情報が参照され、同情報が行修
飾標準値と比較されて、上記カーソルにより選択された
表示行に対し行修飾が設定されているか否かが判断され
る。ここで、行嗜飾が設定されていなければ、即ち上記
行修飾情報の内容が上記行修飾標準値と一致すれば、行
修飾インジケータを点灯させず、又、行修飾が設定され
ていれば、即ち上記行修飾情報の内容が上記行修飾標準
値と一致しなければ、行修飾インジケータを点灯させる
。このような行修飾インジケータの表示制御が、カーソ
ルキーによって選択された表示文書の全ての行に対して
行なわれる。このように行修飾インジケータの点灯状態
から1行修飾が行なわれた行位置を容易に確認すること
ができる。
In the above-mentioned andon s setting means, after the line modification setting is performed for any line position of the document stored in the document buffer, the already inputted document in the document buffer is displayed on the LCD 50 by operating the cursor keys. By doing so, the same L C
The guide display section on the D 50 displays the line, digit, and number of characters per line of the displayed character string, and selectively displays a line modification indicator. 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 modification 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 line decoration information matches the line decoration standard value, the line decoration indicator will not be lit, and if the line decoration is set, That is, if the contents of the row modification information do not match the row modification standard value, the row modification 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 way, it is possible to easily confirm the line position where the one-line modification has been performed based on the lit state of the row modification indicator.

次に、上記した[文書印刷]キーで文書印刷モードな指
定した際、又は、予め定められた[部分印刷]iI定の
ための特定のキー操作で部分印刷モードを指定した際の
縦横変換印刷の処理動作について第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 predetermined [Partial Print] iI setting, portrait/horizontal conversion printing is performed. The processing operation will be explained with reference to FIGS. 2 to 16.

上記[文書印刷]キー操作で文書印刷モードが指定され
ると、又は、予め定められた[部分中el+ ]指定の
ための特定のキー操作で部分印刷モードが指定されると
、L CD 50の表示モードが印刷情報の設定モード
に切替わり、印刷情報設定のための選択画面が表示され
る。ここでは先ず、[r!IA準印刷/l横変換印剛]
の選択画面が表示される。ここで、[縦横変換印刷]が
選択されると、次に[1!/横!! ] 、 及ヒ[先
頭行使i!f 43 ] ノ1択画面が表示される。こ
の際の選択画面及び選択項1の切替え、項目選択等は上
述した行修飾モード時と同様に、カーソルキー、[数項
目1キー及び[選択/実行コキー男により行なわれるが
、[先頭行位置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 middle el+], the LCD 50 The display mode switches to the print information setting mode, and a selection screen for setting the print information is displayed. First of all, [r! IA semi-print/l horizontal conversion seal]
The selection screen will be displayed. Here, when [Aspect/Horizontal conversion printing] is selected, the next [1! /beside! ! ], and [first exercise i! f43] The 1 selection screen is displayed. At this time, switching between the selection screen and selection item 1, item selection, etc. are performed using the cursor key, [Several items 1 key, and [Select/Execute key] in the same way as in the line modification mode described above. 43], if a numerical value (2 digits) is not set and you move to the next screen using the up/down cursor keys, here the 43rd value according to the preset initial value (43) is displayed. This means that the line (scale display) is set as the [printing first line position] for vertical/horizontal conversion printing.

上記印刷情報の設定終了に伴う[選択/実行]キー操作
により、CPU11は、行修飾バッファに貯えられた、
印刷対像となる文書の印刷開始11(全文印刷の際は先
頭頁先頭行9部分印刷の際はカーソル指定行)以降の各
行修飾情報を打順に参照して、「印111停止有」又は
「用紙交換有」の情報をもつ行修飾情報を検出し、上記
印刷開始行から上記検出性までの行数を[印刷指定行数
]として算出した後、印刷ルーチンを実行開始する。こ
の際の縦横変換印刷処理e作を第2図乃至第16図を参
照して説明する。
By operating the [Select/Execute] key upon completion of setting the print information, the CPU 11 selects the information stored in the line modification buffer.
Refer to each line modification information in the printing order after the print start 11 (when printing the entire text, the cursor specified line when printing the 9th line of the first page of the first page) of the document to be printed, and select "Mark 111 Stopped" or " After detecting the line modification information having the information "Paper replacement available" and calculating the number of lines from the print start line to the detectability as the [designated number of print lines], execution of the print routine is started. The aspect conversion printing process e at this time will be explained with reference to FIGS. 2 to 16.

先ず縦横変換印刷の全体の処理動作を第11図のフロー
チャートを参照して説明する。上記した[印刷指定行数
]の算出後、印刷ルーチンの実行に入り、第11図のフ
ローチャートに示す処理が実行される。このとき部分印
刷であれば、まず、ステップS1に於いて、上記印刷開
始行の行番号をし印刷開始行番号コとして上記RAM1
4内の印刷制御レジスタ領域のレジスタR3にセットし
、更に、上記[印刷先頭行位置]と、対応する行位置の
行修飾情報がもつ文字サイズ及び行ピッt、更にはライ
ンバッファ141のドツト構成数に従う定数等をもとに
[印刷可能行数]を求めて、その[印刷可能行数コをレ
ジスタR2にセットするとともに、ラインバッファ14
1のドツト構成数と全角文字印字幅(27ドツト)と[
印刷先頭行位置]から定まる[印刷可能範囲]と、上記
[印刷可能行@]とから[文字展開開始点]を求め、こ
の[文字展開開始点1をレジスタ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 [print designated number of lines], a 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 line number of the print start line is set and the print start line number is stored in the RAM1.
4, set it in register R3 of the print control register area in 4, and also set the above [print first line position], the character size and line pitch t of the line modification information of the corresponding line position, and the dot configuration of the line buffer 141. Find the [number of printable lines] based on a constant that follows the number, set the [number of printable lines] in register R2, and set the number of printable lines in the line buffer 14.
The number of dots in 1, the full-width character printing width (27 dots), and [
[Character development start point] is determined from the [Printable range] determined from [Print first line position] and the above [Printable line @], and this [Character development start point 1] is set in register R6.

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

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

次に、ステップS2に於いては、印刷制御レジスタ領域
の[印字ヘッド位置]を指定するレジスタR8にrOJ
をセットして〔印字ヘッド位置]を初期設定するととも
に、[改行実行位置1を示すレジスタ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 [print head position], and [rOJ is set in register R9 indicating line feed execution position 1 to initialize [line feed execution position].

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

更に、ステップS5に於いて、レジスタR3に貯えられ
ている[印刷開始行番号]を[印刷行番号1としてレジ
スタR10にセットし、レジスタR2に貯えられている
[印刷可能行数]を[印刷行¥1]としてレジスタR1
1にセットし、[文字展開開始点]をレジスタR12及
びレジスタR13にセットする。次いでステップS6に
於いて、印刷対象となる文書に対応する各行のLIBの
改行位置領域PLから、改行位置の最小値を検出し、こ
れを[改行実行位置]としてレジスタR9にセットする
Furthermore, in step S5, the [Print start line number] stored in register R3 is set as [Print line number 1] in register R10, and the [Printable number of lines] stored in register R2 is set as [Print line number]. Line \1] as register R1
1, 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 set in the register R9 as the [line feed execution position].

次に、ステップS9に於いて、レジスタR9に保持して
いる[改行実行位置]が用紙送り方向の印刷可能最大ド
ツト数を表わす特定値例えば[7FFFFFFF(H)
J  (以下、下位−桁分の” F F F F ”を
省略して示す)に達したか否かを判断し、印字可能最大
ドツト数に達していればそのまま処理を終了するが、印
字可能最大ドツト数に達していなければ次のステップS
8の処理を実行する。
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, for example, [7FFFFFFFF(H)].
It is determined whether 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 the subtraction result is converted to "inches". Execute a line break.

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

そして、ステップS11に於いて、LIBポインタの示
すアドレスより改行位置領[PLの改行位置をCP L
l 11にロードし、次のステップ812の処理に入る
Then, in step S11, the line feed position area [PL's line feed position is CP L
11, and the process proceeds to the next step 812.

このステップ3.12では、上記LIBの改行位置と上
記レジスタR9に貯えられた[改行実行位置]とが等し
いか否かを判断し、等しい場合にはステップ813にて
、レジスタR10に保持している[印刷行番号]とLI
Bの桁番号Pcに従いRAM14内の文書バッファより
展開対象となる文字コードをロードする。その後、ステ
ップ314に於いて、LIBの下線接続ピッ]−がON
(“’1”)か否かを判断し、ONでなければステップ
S15に於いて上記文字コードの下線ピット(第5図に
示される)がONか否かを判断する。ここで上記文字コ
ードの下線ビットがONであれば、ステップ816に於
いて下線展開処理を行なった後、ステップ517に於い
て文字展開処理を行なう。また、上記ステップ815で
文字コードの下線ピットがONになっていないと判断さ
れた場合は、直ちにステップ817の処理を実行し、そ
の後、ステップ31BのLIB更新処理を実行する。ま
た、上記ステップ814で下線接続ビットがONしてい
ると判断された場合は、ステップ822に於いて下線接
続展開(文字間部分の下線展開)処理を行なった後、ス
テップ318の118更新処理を行なう。
In this step 3.12, it is determined whether the line feed position of the LIB and the [line feed execution position] stored in the register R9 are equal, and if they are equal, the line feed position is stored in the register R10 in step 813. [Print line number] and LI
The character code to be developed is loaded from the document buffer in the RAM 14 according to the digit number Pc of B. After that, in step 314, LIB's underline connection pin ]- is turned ON.
("'1"), and if it is not ON, it is determined in step S15 whether the underlined pit (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 517. If it is determined in step 815 that the character code underline pit is not turned on, the process in step 817 is immediately executed, and then the LIB update process in step 31B is executed. If it is determined in step 814 that the underline connection bit is ON, step 822 performs underline connection expansion (underline expansion between characters), and then the 118 update process in step 318 is performed. Let's do it.

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

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

次に、ステップ520に於いて、レジスタR11に貯え
られた[印刷行数]をr−IJL、た後、ステップS2
1に於いて、その「印刷行数〕が「0」になったか否か
を判断する。
Next, in step 520, the [number of print lines] stored in the register R11 is r-IJL, and then in step S2
1, it is determined whether the "number of printed lines" has become "0".

ここで、上記[印刷行数]が「0」の場合には、ステッ
プ823に於いてキャリッジリターン及び印刷を実行し
、その印刷処理終了後、上記ステップS5の処理に戻る
Here, if the above-mentioned [print line number] 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.

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

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

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

次に上記ステップS1、S4、S16.817.818
.822の詳細について、第12図乃至第16図のフロ
ーチャートに従って説明する。
Next, steps S1, S4, S16.817.818
.. 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の処理は、まず。The process of step S1 in FIG. 11 is first performed.

第12図のステップA1に於いて、[先頭行位置×27
ドツト」を印刷可能範囲として印刷制御レジスタwA域
のレジスタR14にセットする。
In step A1 of FIG. 12, [first row position x 27
"dot" is set as the printable range in register R14 of the print control register wA area.

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

更に、ステップA3に於いて、レジスタR3に[印刷開
始行番号1をセットし、ステップA4に於いて、レジス
タR7に[印刷終了点]としてrOJをセットする。
Furthermore, in step A3, [print start line number 1] is set in register R3, and in step A4, rOJ is set in register R7 as [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.

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

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

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

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

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

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

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

又、上記ステップA7に於いて、上記[仮印tiill
開始点1が上記[印刷可能時rM〕より大きいと判断さ
れれた場合は、ステップ、へ15に於いて、レジスタR
3に保持されている[印刷開始行番号コをr−IJL、
その後、ステップA1Gの処理に入る。
Also, in step A7 above, the [temporary mark tiill]
If it is determined that the starting point 1 is larger than the above [printable time rM], in step 15, the register R is
[Print start line number r-IJL,
Thereafter, the process starts at step A1G.

更に、ステップAIOに於いて、上記[印刷残り行数]
が10」になったと判断された場合、あるいはステップ
A13に於いて、上記[印刷終了点]がrOJより小さ
いと判断された場合も上記ステップA16の処理に入る
Furthermore, in step AIO, the above [number of remaining lines to print]
10'', or if it is determined in step A13 that the [print end point] is smaller than rOJ, the process also goes to step A16.

このステップA16では、上記[印刷可能範囲コから、
レジスタR4に保持している[印刷開始点]を減算し、
その減算結果を[文字展開開始点]としてレジスタR6
にセットする。
In this step A16, from the above [printable range]
Subtract 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にセットする。
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.

第130は、上記第11図のステップS4に於けるLI
B改行位置を左折余白より更新する場合の詳細を示すも
のである。
No. 130 is the 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ポインタにLrBトップアドレスをセ
ットし、更に、ステップB2に於いて、レジスタR3に
[印刷開始行番号]をセットするとともに、レジスタR
2に【印刷可能行数1をセットする。
This LIB line break position update process begins with step B1.
In step B2, the LrB 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 the number of printable lines to 1 in 2.

次に、ステップB3に於いて、最小改行位置(第10図
に示すしIBの改行位置PL(1)〜PL (N )の
うちの最小の値を示す改行位置PL(+>)に紙送り方
向の最大印刷可能ドツト数を表わす特定値r7FFF 
(H)Jをセットする。次にステップB4に於いて、中
側開始位置を求め、Lr8の改行使if (PL )に
セットする。
Next, in step B3, the paper is fed to the minimum line feed position (PL(+>) showing the minimum value among the line feed positions PL(1) to PL(N) of IB shown in FIG. 10). Specific value r7FFF representing the maximum number of printable dots in the direction
(H) Set J. Next, in step B4, the middle start position is determined and set in the change if (PL) of Lr8.

その後、ステップ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に保持している[印刷開
始行番号]を1−1Jし、次いでステップB8に於いて
L L、Sポインタに「4」を加舜し、更にステップB
9に於いてレジスタR2に保持しτいる[印刷可能行数
]を「−1」する。その後、ステップ[310に於いて
、レジスタR2に保持している[印刷可能行数1がrO
Jになったが否かを判断し、「0」でなければステップ
B4の処理に戻り、「0」に達していればステップB1
1の処理に進む。
In step B7, the [Print start line number] held in register R3 is incremented by 1-1J, then in step B8, "4" is added to the L, S pointers, and then in step B
In step 9, the [number of printable lines] held in the register R2 is set to "-1". After that, in step [310, the number of printable lines 1 held in register R2 is rO
It is determined whether or not it has reached J, and if it is not "0", the process returns to step B4, and if it has reached "0", the process returns to step B1.
Proceed to step 1.

このステップ811ではLr8ポインタにLr8トップ
アドレスをセットし、次いでステップ312に於いてレ
ジスタR2に[印刷可能行数]をセラ1〜する。そして
、ステップ313に於いてLIBポインタの示す改行位
置から最小改行位置を引いた後、ステップBT4に於い
てLIBポインタに「4」を加える。更にステップ8.
15に於いてレジスタR2に保持している[印「す可能
行数1を「−1」した後、ステップ316に於いて[印
刷可能行数]がrOJになったか否かを判断し、[印刷
可能行数1がrOJでなければステップB13にの処理
戻って同様の処理を繰返し実行する。
In step 811, the Lr8 top address is set in the Lr8 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 BT4. Further step 8.
In step 15, the [printable number of lines 1 held in the register R2 is set to "-1", and in step 316, it is determined whether or not the [printable number of lines] has reached rOJ. If the number of printable lines 1 is not rOJ, the process returns to step B13 and the same process is repeated.

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

第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 in the root.

以上で下線展開処理を終了する。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
の罫線接続ビットがONLでいれば、ステップ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 ONL, 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 ONL.
If it is not NL, the process immediately proceeds to step E4.

このステップE4では)<0M15から文字パターンを
ロードし、次いでステップE5に於いてLIBゾーン番
号をロードする。そして、ステップE6に於いて、文字
サイズ、回転、斜体、白抜き等の行修飾情報とゾーン番
号より、文字を拡大処理し、その後、ステップE7に於
いて縦罫線コードか否かを判断し、縦罫線コードでなけ
れば処理終了となる。又、縦罫線コードである場合は、
ステップE8に進み、行間に縦罫線パターンを展開して
処理を終了する。又、上記ステップE1において、改行
コードであると判断された場合は、ステップE9に於い
て、11Bの改行位置に上記印刷可能最大ドツト数を示
す特定値r7FFF(H)」をセットして文字展開処理
を終了する。
In this step E4, the character pattern is loaded from <0M15), and then in step E5, the LIB zone number is loaded. Then, in step E6, the characters are enlarged based on the line modification information such as character size, rotation, italics, outline, 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. 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. If it is determined in step E1 that it is a line feed code, then in step E9, the specified value r7FFF(H) indicating the maximum number of printable dots is set at the line feed position of 11B, and character development is performed. Finish the process.

第16図は、上記第11図のステップ818に示すLI
B更新処理の詳細を示すものである。このLIB更新処
理は、まず、ステップFl、F、2に於いて、横方向の
文字サイズから展開最終ゾーンか否かを判定し、最終ゾ
ーンであればステップF3に於いてLIBの下線接続ビ
ットがONか否かを判断する。上記下線接続ビットがO
Nであれば、更にステップE4に於いて左半角展開後か
否かを判断し、左半角展開後であれば、ステップF5に
於いてLIBの左半角をONLだ後、ステップ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, F, and 2, it is determined from the horizontal character size whether or not it is the final development zone.If it is the final zone, in step F3, the LIB underline connection bit is Determine whether it is ON or not. The above underline connection bit is O
If N, it is further determined in step E4 whether or not the left half-width expansion has been performed, and if the left half-width expansion has been performed, the left half-width of LIB is ONL 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では、iBの改行位置に文字間を加え
、次いでステップF7に於いてLIBの桁番号を「+1
」する。その後、ステップF8に於いてLIBのゾーン
番号を「0」にして118更新処理を終了する。
In this step F6, a character spacing is added to the line feed position of iB, and then in step F7 the digit number of LIB is changed to "+1".
"do. Thereafter, in step F8, the LIB zone number is set to "0" and the 118 update process ends.

また、上記ステップF2において、最小ゾーンでないと
判断された場合は、ステップF9に於いてLIBの改行
位置に「24」を加え、その後、ステップFIOに於い
てLIBのゾーン番号をr+1JL、て11B更新処理
を終了する。
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 FIO, the zone number of LIB is updated to r+1JL and 11B. Finish the process.

また、上記ステップF3に於いて、11Bの下線接続ビ
ットがONLでいると判断された場合は、ステップF1
1に於いてLIBの罫線接続ビットがONしているか否
かを判断し、ONLでいる場合は上記ステップF6の処
理に進み、ONL、ていない場合はステップF12の処
理に進む。
Further, in step F3 above, if it is determined that the underline connection bit of 11B is ONL, step F1
In step 1, 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に於
いてIIBの改行位置に文字サイズを加えた後、上記ス
テップF8の処理に進む。
In this step F12, it is determined whether or not there 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 IIB in step F14, the process proceeds to step F8.

また、上記ステップF12に於いて縦罫線コードでない
と¥’II r!fIされた場合は、ステップF15に
於いて下線接続が必要か否かを判断し、下線接続が必要
であればステップF16に於いてLIBの下線接続ヒツ
トをO,Nt、た後、上記ステップFi4の処理に進む
Also, if it is not a vertical ruled line code in step F12 above, ¥'II r! If fI, it is determined whether or not underline connection is necessary in step F15, and if underline connection is necessary, in step F16 the underline connection hit of LIB is set to O, Nt, and then step Fi4 is performed. Proceed to processing.

また、上記ステップ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 a character pinch 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 ended.

上述したような縦横変換印刷処理により、行を単位に、
左指余白/行ピッチ/文字間間隔/文字すイズ/回転・
斜体/白抜き等、各種の文字修飾がなされた文書であっ
ても、更には行を単位に印刷開始桁の異なる文書であっ
ても、標準印刷と同様に、かつ任息の指定行をもって縦
横変換印刷が実行でき、更に、この際、行修飾で印刷対
象文書が物理的な印刷可能範囲を越えてしまう場合であ
っても、先頭行より印刷可能な行数だけの印す11が可
能となる。
By using the above-mentioned aspect conversion printing process, line by line,
Left finger margin/Line pitch/Character spacing/Character size/Rotation/
Even if the document has various character modifications such as italics/outlined text, or even if the printing start column is different for each line, it can be printed vertically and horizontally using any specified line, just like standard printing. Conversion printing can be executed, and even if the document to be printed exceeds the physically printable range due to line modification, it is possible to print as many lines as can be printed starting from the first line11. Become.

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

[発明の効果] 以上詳記したように本発明の印刷制御方式によれば、行
修飾設定手段と、縦横変換印判の指定手段と、縦ttV
変換印刷モードに於いて印刷用繊上の先頭行位置を指定
する手段と、この指定された先頭行位置から印fil可
能範囲を求める手段と、この印刷可能範囲から行修飾に
応じた印@11可能行数を求める手段と、中側開始行及
び印刷終了行を設定する手段とを備え、印刷機構の給紙
部に縦方向に挿入された用紙上に、恰も用紙を横方向に
挿入したように、上記設定された行数分、又は行修飾に
応じた印刷可能行数分の縦横変換印刷を行なうことので
きる構成としたことにより、パーソナルフードプロセッ
サに於いて、幅の狭い給紙部を有効に利用し、行を単位
に、上記設定された行数分、又は行修飾に応じた印刷可
能行数分の縦横変換印刷を行なうことができ、これによ
って印刷機能を大幅に向上できる。
[Effects of the Invention] As described in detail above, according to the print control method of the present invention, the line modification setting means, the means for specifying a vertical/horizontal conversion stamp, and the vertical/horizontal conversion stamp designating means,
A means for specifying the first line position on the printing fiber in the conversion printing mode, a means for obtaining a printable range from this specified first line position, and a mark corresponding to the line modification from this printable range. It is equipped with a means for determining the possible number of lines and a means for setting a middle start line and a printing end line, so that it appears as if the paper is inserted horizontally on the paper that is inserted vertically into the paper feed section of the printing mechanism. In addition, by having a configuration that can perform vertical/horizontal conversion printing for the number of lines set above or the number of printable lines according to the line modification, it is possible to use a narrow paper feed section in a personal food processor. It is possible to effectively utilize this feature to perform vertical/horizontal conversion printing on a line-by-line basis for the set number of lines or the number of printable lines according to the line modification, thereby greatly improving the printing function.

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

第1図は本発明の一実t?i例に於ける装置の構成を示
すブロック図、第2図は上記実施例に於Gjるし+8の
構成を示す図、第3図は上記実施例に於ける印刷制御レ
ジスタ領域のレジスタ構成を示す図、第4図は上記実施
例に於ける行修飾情報の構成を示す図、第5図は上記実
施例で扱う漢字コードの構成を示す図、第6図は上記実
施例に於ける行修飾された各種文字の横方向の文字サイ
ズを示す図、第7図は上記実施例に於ける行修飾された
各種文字のゾーンを示す図、第8図は上記実施例に於け
るラインバッファ上に於ける文字パターンの配列状態を
示す図、第9図は上記実施例に於けるラインバッファ上
の文字配置状態を示す図、第10図は上記実施例に於け
る縦横変換印刷処理の動作説明図、第11図乃至第16
図はそれぞれ□上記実施例に於ける縦横変換印刷処理を
示すフローチャート、第17図は4!準印刷の横書き及
びisきと、縦横変換印刷の横書き及び根基きとを対比
して示す図である。 10・・・81(大規模集積回路装置)、11・・・C
PU、12・・・周辺制御回路(PPI)、73・・・
デコーダ(DCE>、14・・・RAM、15・・・R
OM、16・・・カセットインターフェイス回路(CM
T−INTF)、17・・・LCD制御回路(LCDC
)、18・・・プリンタコントローラ(PRTC) 、
+9・・・クロックジェネレータ(CG)、20・・・
発振器(O20)、30・・・キーボード(KB>、 
40・・・データレコーダ(CMT)、41・・・CM
Tアダプタ、50・・・液晶ディスプレイ(LCD)、
51・・・LCDドライバ(LCD−DRV ) 、6
’0・・・シリアルプリンタ(PRT)、70・・・フ
ロッピィディスクドライブ(FDD)、71・・・フロ
ッピィディスクコントローラ(FDC)、140・・・
行イメージバッファ(D−B U F ) 、141・
・・ラインバッファ(LB)、LIB・・・行情報ブロ
ック、PL・・・改行位置領域、Pc・・・桁番号領域
、Pz・・・ゾーン番号領域、RO〜R14・・・レジ
スタ。SC・・・スケール。 出願人代理人 弁理士 鈴 江 武 彦第2図 丈%I l’+7 ”I  N −Q/1slriE相
i)番3ラインバッファL9支1ハ0ター〉切旅〆。 第8図 n◆m才i       n令34?    n◆2t
?  nφ+tt    nsプライ〉ノぐラフ7)−
9文官 酌IL 第9図 第11図 (につ1) 第12図(vLす1) 第12図 (にの2) ノ1市了イト白りτ文ffi立l更1チ「第13図 (
逢の1) 第13図 (yLo)2) 子線1閏      下φ隼肯tk!lp用a14図 文字A開 第1511!J 第16図 (吃の1) 第16図(祐c92) 捏牟・損省き −り貴ヒイ11ジビオ史 権言ニー 第17 将表、跣I 派膓支撞・表1
Figure 1 is one of the fruits of the present invention. FIG. 2 is a block diagram showing the configuration of the device in Example i, FIG. 2 is a diagram showing the configuration of Gj+8 in the above embodiment, and FIG. 3 is a diagram showing the register configuration of the print control register area in the above embodiment. Figure 4 is a diagram showing the structure of the line modification information in the above embodiment, Figure 5 is a diagram showing the structure of the kanji code handled in the above embodiment, and Figure 6 is a diagram showing the structure of the line modification information in the above embodiment. Figure 7 is a diagram showing the horizontal character sizes of various decorated characters, Figure 7 is a diagram showing the zones of various characters with line decoration in the above embodiment, and Figure 8 is a diagram showing the horizontal character sizes of various characters in the above embodiment. FIG. 9 is a diagram showing the arrangement of character patterns on the line buffer in the above embodiment. FIG. 10 is an explanation of the operation of the vertical/horizontal conversion printing process in the above embodiment. Figures 11 to 16
Each figure is a flowchart showing the aspect conversion printing process in the above embodiment, and FIG. 17 is 4! FIG. 7 is a diagram illustrating a comparison between horizontal writing and IS in quasi-printing and horizontal writing and basis in portrait-horizontal conversion printing. 10...81 (Large-scale integrated circuit device), 11...C
PU, 12... Peripheral control circuit (PPI), 73...
Decoder (DCE>, 14...RAM, 15...R
OM, 16...Cassette interface circuit (CM
T-INTF), 17...LCD control circuit (LCDC
), 18... printer controller (PRTC),
+9...Clock generator (CG), 20...
Oscillator (O20), 30...Keyboard (KB>,
40...Data recorder (CMT), 41...CM
T adapter, 50...Liquid crystal display (LCD),
51...LCD driver (LCD-DRV), 6
'0... Serial printer (PRT), 70... Floppy disk drive (FDD), 71... Floppy disk controller (FDC), 140...
Row image buffer (DBUF), 141.
...Line buffer (LB), LIB...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 2nd picture length %I l'+7 "I N -Q/1slriE phase i) No. 3 line buffer L9 branch 1 ha 0 ter〉cut journey〆. Figure 8 n◆m age 34? n◆2t
? nφ+tt ns ply>nograf 7)-
9 Civilian Cup IL Figure 9 Figure 11 (Nitsu 1) Figure 12 (vLsu 1) Figure 12 (Nino 2) (
1) Figure 13 (yLo) 2) Child line 1 leap lower φHayabusaken tk! A14 diagram letter A open No. 1511 for lp! J Figure 16 (1 of 吃) Figure 16 (Yu c92) Fabrication and loss saving Kihii 11 Jibio history Gongen Ni No. 17 General table, 跣 I Distributor, Table 1

Claims (5)

【特許請求の範囲】[Claims] (1)、行修飾設定手段と、縦横変換印刷の指定手段と
、縦横変換印刷モードに於いて印刷用紙上の先頭行位置
を指定する手段と、この指定された先頭行位置から印刷
可能範囲を求める手段と、この印刷可能範囲から行修飾
に応じた印刷可能行数を求める手段と、印刷開始行及び
印刷終了行を設定する手段とを具備し、上記設定された
行数分、又は行修飾に応じた印刷可能行数分の縦横変換
印刷を行なうことを特徴する印刷制御方式。
(1) A line modification setting means, a means for specifying vertical/horizontal conversion printing, a means for specifying the first line position on the printing paper in the vertical/horizontal conversion printing mode, and a printable range from the specified first line position. a means for determining the number of printable lines according to the line decoration from the printable range; a means for setting a print start line and a print end line; A print control method characterized by performing vertical/horizontal conversion printing according to the number of printable lines.
(2)、上記設定された行数値と行修飾に応じた印刷可
能行数値を比較し、値の小さい行数値に従う行数をもつ
て縦横変換印刷を行なう特許請求の範囲第1項記載の印
刷制御方式。
(2) The printing according to claim 1, wherein the set line number and the printable line number according to the line modification are compared, and vertical/horizontal conversion printing is performed with the number of lines according to the smaller line number. control method.
(3)、上記印刷終了行は上記行修飾設定された情報内
の特定の情報により指定される特許請求の範囲第1項記
載の印刷制御方式。
(3) The printing control method according to claim 1, wherein the print end line is specified by specific information in the information set for the line decoration.
(4)、上記印刷終了行は上記行修飾設定された情報内
の印刷停止ビット又は用紙交換ビットである特許請求の
範囲第3項記載の印刷制御方式。
(4) The print control method according to claim 3, wherein the print end line is a print stop bit or a paper exchange bit in the information set for the line decoration.
(5)、上記印刷開始行は部分印刷に於いてカーソルで
示される行位置である特許請求の範囲第1項記載の印刷
制御方式。
(5) The print control method according to claim 1, wherein the print start line is a line position indicated by a cursor in partial printing.
JP60247570A 1985-11-05 1985-11-05 Printing control system Pending JPS62108064A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=17165459

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS62108064A (en)

Similar Documents

Publication Publication Date Title
JPS62108064A (en) Printing control system
Greenwood International cultural differences in software
JPS59221726A (en) Sentence producer
KR920007696B1 (en) Printing control system
JPS62108063A (en) Printing control system
JPS60176137A (en) Sentence generating device
JPH027100B2 (en)
JPS62108068A (en) Printing control system
JPS62108067A (en) Printing control system
JPS62105640A (en) Printing control system
JPS62105641A (en) Print control system
JPS62108065A (en) Printing control system
JPH0511319B2 (en)
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JP2607044B2 (en) Document creation device and display output control method in document creation device
JPS61286887A (en) Document generator
JPS6015181A (en) Electronic equipment
JPH0628023B2 (en) Document creation device
JPH01183770A (en) Character processor
JPS60239861A (en) Arabic word processor system
JP2573174B2 (en) Document creation device
JPS594331Y2 (en) Document creation device with practice function
JPS6041118A (en) Character processor
JPH0628024B2 (en) Document creation device
JPS61110260A (en) Character processor