Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0437791B2 - - Google Patents
[go: Go Back, main page]

JPH0437791B2 - - Google Patents

Info

Publication number
JPH0437791B2
JPH0437791B2 JP60099294A JP9929485A JPH0437791B2 JP H0437791 B2 JPH0437791 B2 JP H0437791B2 JP 60099294 A JP60099294 A JP 60099294A JP 9929485 A JP9929485 A JP 9929485A JP H0437791 B2 JPH0437791 B2 JP H0437791B2
Authority
JP
Japan
Prior art keywords
line
pattern
character
output
vertical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60099294A
Other languages
Japanese (ja)
Other versions
JPS61258766A (en
Inventor
Koji Hirasawa
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60099294A priority Critical patent/JPS61258766A/en
Publication of JPS61258766A publication Critical patent/JPS61258766A/en
Publication of JPH0437791B2 publication Critical patent/JPH0437791B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 〔概要〕 行単位に出力データに関する印字パターンを組
立て、印字出力する印刷制御装置において、縦拡
大(4倍拡大を含む。以下、同様。)の文字出力
について、まず縦拡大制御記号が含まれる行の通
常文字パターンの出力を、改行ピツチを0として
無改行で行い、次に縦拡大文字の上側パターン出
力を、縦拡大の開始ビツト位置などを指定して行
い、さらに縦拡大文字の下側パターンを、次行の
通常文字パターンと共に出力する手段を設けるこ
とにより、縦拡大文字の出力制御を簡単に行い得
るようにした縦拡大文字印字制御装置を開示して
いる。
Detailed Description of the Invention [Summary] In a print control device that assembles and prints a print pattern related to output data line by line, when outputting characters with vertical enlargement (including 4x enlargement; the same applies hereinafter), first the vertical The normal character pattern of the line containing the expansion control symbol is output without a line break with the line feed pitch set to 0. Next, the upper pattern of the vertically expanded character is output by specifying the vertical expansion start bit position, etc. This invention discloses a vertically enlarged character printing control device which can easily control the output of vertically enlarged characters by providing means for outputting the lower pattern of the vertically enlarged characters together with the normal character pattern of the next line.

〔産業上の利用分野〕[Industrial application field]

本発明は、例えば日本語ワードプロセツサ等の
文書作成装置において作成された文書を、ドツト
プリンタ等に出力する印字制御装置に係り、特に
パターンが複数の行にわたる縦拡大文字を出力可
能とした縦拡大文字印字制御装置に関するもので
ある。
The present invention relates to a print control device that outputs a document created in a document creation device such as a Japanese word processor to a dot printer or the like. This invention relates to a character printing control device.

〔従来の技術〕[Conventional technology]

第7図は従来の印字方式の例を示している。例
えば文書作成装置により作成された文書フアイル
40の内容をプリンタ46へ出力する指示がなさ
れた場合、印字処理部41およびプリンタ制御部
43は、次のように印字制御を行う。
FIG. 7 shows an example of a conventional printing method. For example, when an instruction is given to output the contents of a document file 40 created by a document creation device to the printer 46, the print processing section 41 and the printer control section 43 perform printing control as follows.

印字処理部41は、文字フアイル40から1
行分のJISコードを読出し、必要に応じて印刷
メニユーで指定された処理(禁則、さし込み)
等を行い、JISコードバツフア42に1行分の
データを組立てる。
The print processing unit 41 prints the character files 40 to 1.
Reads the JIS code for a line and processes specified in the print menu as necessary (kinzoku, insert)
etc., and assemble one line of data into the JIS code buffer 42.

そして、JISコードバツフア42のアドレス
等のパラメータを指定して、WRITEコマンド
を発行し、プリンタ制御部43に出力を依頼す
る。
Then, it specifies parameters such as the address of the JIS code buffer 42, issues a WRITE command, and requests the printer control unit 43 to output.

プリンタ制御部43は、指示されたパラメー
タに従つて、キヤラクタジエネレータ44から
各文字コードに対応するパターンを得て、1行
分の印字パターンを1行パターンバツフア45
に作成する。
The printer control unit 43 obtains a pattern corresponding to each character code from the character generator 44 according to the instructed parameters, and converts the print pattern for one line into a one-line pattern buffer 45.
Create to.

パターン作成後、プリンタ46を駆動し、1
行分のパターンの印字および改行動作の制御を
行う。
After creating the pattern, drive the printer 46 and print 1
Controls printing of line patterns and line feed operations.

印字処理部41は、文書フアイル40の文書
データが終わるまで、処理以下を繰り返し実
行する。
The print processing section 41 repeatedly executes the following steps until the document data in the document file 40 is completed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来方式によれば、出力を1行単位で管理
し、1行単位にパターン作成を行うようにしてい
るため、1行単位に印字と改行とが繰り返される
ことになる。従つて、パターンが複数行にわたる
ような縦拡大文字の印字出力ができないという問
題があつた。
According to the above-mentioned conventional method, the output is managed on a line-by-line basis and a pattern is created on a line-by-line basis, so printing and line feed are repeated on a line-by-line basis. Therefore, there was a problem in that it was not possible to print out vertically enlarged characters in which the pattern spanned multiple lines.

即ち、第7図において、パターンを作成するプ
リンタ制御部43が、縦拡大文字のパターンを作
成する場合、その文字コードと、縦拡大を指示す
るコード情報とが必要となるが、文書フアイル4
0においては、これらは2行分のデータにまたが
る。そのため、プリンタ制御部43において、1
行ごとの出力制御では、パターン作成と改行制御
とを順序正しく実行できないという問題がある。
That is, in FIG. 7, when the printer control unit 43 that creates a pattern creates a pattern of vertically enlarged characters, the character code and code information for instructing vertical enlargement are required, but the document file 4
At 0, these span two rows of data. Therefore, in the printer control unit 43, 1
Line-by-line output control has a problem in that pattern creation and line feed control cannot be executed in the correct order.

なお、従来方式には、プリンタ制御部43が、
メモリ上において複数行のコード情報を参照でき
るようにし、縦拡大文字の出力を可能としたもの
があるが、この場合、印字処理部41とプリンタ
制御部43とのインタフエースが複雑になり、プ
リンタ制御部43の変更が大きいという問題があ
る。
Note that in the conventional method, the printer control unit 43
There are devices that allow multiple lines of code information to be referenced in memory and output vertically enlarged characters, but in this case, the interface between the print processing section 41 and the printer control section 43 becomes complicated, and the printer There is a problem that the change in the control section 43 is large.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロツク図を示してい
る。
FIG. 1 shows a basic block diagram of the present invention.

文書フアイル10は、印刷が要求された文書デ
ータが格納されたフアイルである。第(n+1)
行目の「B」の文字が、第n行目の縦拡大制御記
号VCによつて、縦拡大パターンとなるよう指定
されている。なお、この縦拡大文字の指定は、例
えば文書作成装置において、従来知られた横拡大
文字の指定等と同様に行われると考えてよい。
The document file 10 is a file in which document data requested to be printed is stored. (n+1)th
The character "B" in the row is specified to be a vertical expansion pattern by the vertical expansion control symbol VC in the n-th line. Note that this designation of vertically enlarged characters can be considered to be performed in the same manner as the designation of conventionally known horizontally enlarged characters, for example, in a document creation device.

印字処理部11において、行データ読出し部1
2は、例えばフロツピイ・デイスクに格納された
文書フアイル10のデータを、1行ずつ読出す処
理を実行する。縦拡大制御記号チエツク部13
は、行データ読出し部12が読出したデータを調
べ、縦拡大制御記号VCがあるか否かをチエツク
する。
In the print processing section 11, the line data reading section 1
2 executes a process of reading out the data of the document file 10 stored, for example, on a floppy disk, line by line. Vertical expansion control symbol check section 13
examines the data read by the row data reading section 12 and checks whether there is a vertical enlargement control symbol VC.

無改行データ出力部14は、縦拡大制御記号
VCがある行について、プリンタ制御部21に対
し、改行ピツチが「0」の出力依頼を行うもので
ある。縦拡大パラメータ出力部15は、縦拡大の
パターン作成に関するパラメータ19を、プリン
タ制御部21へ通知するものである。
The non-line feed data output section 14 is a vertical expansion control symbol.
For a line with a VC, a request is made to the printer control unit 21 to output a line feed pitch of "0". The vertical enlargement parameter output unit 15 notifies the printer control unit 21 of parameters 19 related to vertical enlargement pattern creation.

次行データ出力部16は、縦拡大の上側パター
ンを重ね打ちさせるため、その縦拡大文字のコー
ドが格納された次行のデータをプリンタ制御部2
1へ送出するものである。
In order to overprint the vertically enlarged upper pattern, the next line data output unit 16 outputs the next line data in which the code of the vertically enlarged character is stored to the printer controller 16.
1.

印字データは、JISコードバツフア17および
拡張行バツフア18を介して、印字処理部11か
らプリンタ制御部21へ渡される。拡張行バツフ
ア18には、JISコードバツフア17の文字に対
応して、縦拡大を示す情報が格納される。
Print data is passed from the print processing section 11 to the printer control section 21 via the JIS code buffer 17 and the extended line buffer 18. The expansion line buffer 18 stores information indicating vertical expansion corresponding to the characters in the JIS code buffer 17.

プリンタ制御部21は、フアームウエアおよび
ハードウエア回路によつて構成されるものであ
る。プリンタ制御部21において、パターン読出
し部22は、文字コードに対応するパターンをキ
ヤラクタジエネレータ20から読出すものであ
る。縦拡大パターン生成部23は、キヤラクタジ
エネレータ20から読出したパターンについて、
ドツトを縦方向に2個連続させることにより、縦
拡大のパターンを作成するものである。プリンタ
駆動部24は、プリンタ25を駆動し、印字出力
を行う。
The printer control section 21 is composed of firmware and hardware circuits. In the printer control section 21, a pattern reading section 22 reads out a pattern corresponding to a character code from the character generator 20. Regarding the pattern read from the character generator 20, the vertical expansion pattern generation unit 23
By making two dots consecutive in the vertical direction, a vertically enlarged pattern is created. The printer drive section 24 drives the printer 25 to perform printout.

〔作用〕[Effect]

第1図において、行データ読出し部12によ
り、第n行目のデータが読出されると、縦拡大制
御記号チエツク部13によつて、縦拡大制御記号
VCが検出される。これにより、無改行データ出
力部14は、その行について、改行ピツチが
「0」のWRITEコマンドを発行する。なお、こ
のとき拡張行バツフア18で縦拡大の文字位置を
通知する。これにより、プリンタ25には、出力
25aのような印字がなされることになる。印字
ヘツド26は移動しない。
In FIG. 1, when the row data reading unit 12 reads out the n-th row data, the vertical expansion control symbol check unit 13 checks the vertical expansion control symbol.
VC is detected. As a result, the non-line feed data output unit 14 issues a WRITE command with a line feed pitch of "0" for that line. At this time, the expansion line buffer 18 notifies the vertically expanded character position. As a result, the printer 25 will print something like the output 25a. Print head 26 does not move.

次に、縦拡大パラメータ出力部15は、
WWRITE(拡張ライト)コマンドにより、縦拡
大に関するパラメータ19を通知する。そして、
次行データ出力部16により、第(n+1)行目
のデータを、プリンタ制御部21へWRITEコマ
ンドにより送る。拡張行バツフア18には、「B」
の文字コードに対応する位置に、縦拡大を示すフ
ラグをセツトする。
Next, the vertical expansion parameter output section 15
The WWRITE (extension write) command notifies parameters 19 regarding vertical enlargement. and,
The next line data output unit 16 sends the (n+1)th line data to the printer control unit 21 using a WRITE command. "B" is in the expansion line buffer 18.
A flag indicating vertical expansion is set at the position corresponding to the character code.

縦拡大パターン生成部23は、パターン読出し
部22が読出した「B」のパターンから、パラメ
ータ19で指定された情報に基づいて、縦拡大パ
ターンを生成し、プリンタ駆動部24へ制御を渡
す。これにより、出力25bのように、「B」の
上側パターンが印字されることになる。なお、こ
の印字後、所定のピツチで改行される。
The vertical enlarged pattern generation section 23 generates a vertical enlarged pattern from the "B" pattern read by the pattern reading section 22 based on the information specified by the parameter 19, and passes control to the printer drive section 24. As a result, the upper pattern of "B" is printed as in the output 25b. Note that after this printing, line feed is performed at a predetermined pitch.

さらに、第(n+1)行目の通常文字パターン
と「B」の文字の下側パターンとが印字されて、
出力25cのようになる。通常文字パターンの最
下段ビツト位置と、縦拡大文字の下側パターンに
おける最下段ビツト位置とは、一致するよう定め
られるため、通常文字パターンと縦拡大文字の下
側パターンとは、同時に印字することが可能であ
る。
Furthermore, the normal character pattern of the (n+1)th line and the lower pattern of the character "B" are printed,
The output will be as shown in 25c. The lowest bit position of the regular character pattern and the lowest bit position of the lower pattern of the vertically enlarged character are determined to match, so the regular character pattern and the lower pattern of the vertically enlarged character must be printed at the same time. is possible.

以上のように、第n行目の通常文字パターン
の印字、縦拡大文字の上側パターンの印字、
第(n+1)行目の通常文字パターンおよび縦拡
大文字の下側パターンの印字がなされるので、本
発明によれば。プリンタ制御部21は、複数行を
意識することなく、縦拡大文字を印字制御でき
る。
As described above, printing of the normal character pattern on the nth line, printing of the upper pattern of vertically enlarged characters,
According to the present invention, the normal character pattern of the (n+1)th line and the lower pattern of the vertically enlarged character are printed. The printer control unit 21 can control printing of vertically enlarged characters without being aware of multiple lines.

〔実施例〕〔Example〕

第2図は印字処理部の一実施例説明図、第3図
はプリンタ制御部の一実施例制御説明図、第4図
はWRITEコマンドパラメータの例、第5図は縦
拡大パラメータ説明図、第6図は本発明を用いた
文書作成装置の例を示す。
Fig. 2 is an explanatory diagram of an embodiment of the print processing unit, Fig. 3 is an explanatory diagram of control of an embodiment of the printer control unit, Fig. 4 is an example of WRITE command parameters, Fig. 5 is an illustration of vertical enlargement parameters, FIG. 6 shows an example of a document creation device using the present invention.

第2図は、第1図図示印字処理部11の処理内
容をフローチヤートの形で表している。文書の印
刷指示に対して、まず第2図図示処理P1によ
り、出力される文字コード列が格納された文書フ
アイル10への行ポインタを設定する。そして、
処理P2によつて、例えばJISコードによる1行
分の文字コードを読出す。
FIG. 2 shows the processing contents of the print processing section 11 shown in FIG. 1 in the form of a flowchart. In response to an instruction to print a document, a line pointer to the document file 10 in which the character code string to be output is stored is first set in the process P1 shown in FIG. and,
In process P2, a character code for one line based on, for example, JIS code is read out.

処理P3の判定において、縦拡大制御記号が検
出されなければ、従来同様、処理P4により、印
刷メニユーで指定された改行ピツチを設定し、処
理P5によりWRITEコマンドを発行する。その
後、処理P1へ戻る。
If no vertical enlargement control symbol is detected in the determination in process P3, the line feed pitch specified in the print menu is set in process P4, and a WRITE command is issued in process P5, as in the conventional process. After that, the process returns to process P1.

処理P3の判定において、縦拡大制御記号が検
出されたならば、処理P6により、拡張行を作成
し、縦拡大の上側パターンを示す縦拡大フラグを
セツトする。そして、処理P7により、パラメー
タの改行ピツチを「0」にして、処理P8により
WRITEコマンドを発行する。
If a vertical expansion control symbol is detected in the determination in process P3, an expansion line is created in process P6, and a vertical expansion flag indicating the upper pattern of vertical expansion is set. Then, by process P7, the line break pitch of the parameter is set to "0", and by process P8,
Issue a WRITE command.

次に処理P9によつて、後述する縦拡大パラメ
ータを作成し、処理P10により、そのパラメー
タを通知するためのEWRITEコマンドを発行す
る。
Next, in process P9, a vertical enlargement parameter, which will be described later, is created, and in process P10, an EWRITE command for notifying the parameter is issued.

処理P11により、次の1行を文書フアイル1
0から得て、処理P12により、拡張行に縦拡大
フラグをセツトし、処理P13により、WRITE
コマンドを発行する。これにより、縦拡大文字の
上側パターンが印字されることになる。その後、
処理P3へ戻り、同様に処理を繰り返し、次行の
通常文字パターンと縦拡大文字の下側パターンと
を出力する。
By processing P11, the next line is transferred to document file 1.
0, a vertical expansion flag is set in the extended line by process P12, and WRITE is obtained by process P13.
Issue a command. As a result, the upper pattern of the vertically enlarged character is printed. after that,
Returning to process P3, the process is repeated in the same manner to output the next line's normal character pattern and the lower pattern of the vertically enlarged character.

プリンタ制御部21は、フアームウエアによつ
て、第3図図示のように制御する。処理P20に
よりコマンドを待つている状態で、コマンドが通
知されると、処理P21によりコマンドコードを
デコーダする。WRITEコマンドであれば、処理
P22により、1文字ずつJISコードを読出し、
処理P23により、キヤラクタジエネレータ20
からパターンを得る。
The printer control unit 21 is controlled by firmware as shown in FIG. When a command is notified while waiting for a command in process P20, the command code is decoded in process P21. If it is a WRITE command, read the JIS code one character at a time by processing P22,
By processing P23, the character generator 20
Get the pattern from.

処理P24の判定により、縦拡大が必要な場合
には、処理P25により、縦拡大パターンを作成
する。なお、この拡大パターン作成は、予め通知
された縦拡大パラメータにより指示された範囲で
行う。そして、1行分のパターンを組立てたなら
ば、処理P26により、プリンタを駆動し、処理
P20へ戻る。
If vertical enlargement is necessary as determined in process P24, a vertical enlargement pattern is created in process P25. Note that this enlarged pattern creation is performed within the range specified by the vertical enlargement parameter notified in advance. Once the pattern for one line has been assembled, the printer is driven in process P26, and the process returns to process P20.

コマンドがEWRITEコマンドである場合には、
処理P28により、縦拡大パラメータを受信し、
縦拡大が必要であることを記憶して、処理P20
へ戻る。
If the command is an EWRITE command,
Through process P28, vertical enlargement parameters are received,
Remembering that vertical enlargement is necessary, proceed to process P20.
Return to

プリンタ制御部21へ伝達されるWRITEコマ
ンドのパラメータは、第4図図示のようになつて
いる。コマンドコードC1は、フアームウエアの
エントリを示すものである。改行ビツチC2は、
印字後に印字用紙を進めるピツチを示す。パター
ン展開ドツトC3は、パターンを展開するドツト
幅を示す。JIS行バツフアアドレスC4は、JIS行
バツフア17の先頭アドレスを示す。拡張行バツ
フアアドレスC5は、拡張行バツフア18の先頭
アドレスを示す。なお、この他にも、種々のパラ
メータがあるが、詳細な説明は省略する。拡張行
バツフア18は、前述のように、JIS行バツフア
17に対応して、縦拡大に関する指示情報が格納
されるものである。縦拡大の上側パターンや縦拡
大の下側パターンなどを区別するフラグが設けら
れる。
The parameters of the WRITE command transmitted to the printer control unit 21 are as shown in FIG. Command code C1 indicates firmware entry. Line break bit C2 is
Indicates the pitch at which the printing paper is advanced after printing. The pattern development dot C3 indicates the dot width for developing the pattern. The JIS line buffer address C4 indicates the start address of the JIS line buffer 17. The extended row buffer address C5 indicates the start address of the extended row buffer 18. Note that there are various other parameters, but detailed explanations will be omitted. As described above, the expansion line buffer 18 stores instruction information regarding vertical expansion in correspondence with the JIS line buffer 17. A flag is provided to distinguish between an upper pattern of vertical expansion, a lower pattern of vertical expansion, and the like.

EWRITEコマンドにより、プリンタ制御部2
1に伝達される縦拡大パラメータには、例えば縦
拡大開始ビツト、縦拡大終了ビツト、縦拡大上線
位置情報がある。
By the EWRITE command, printer control unit 2
The vertical expansion parameters transmitted to 1 include, for example, a vertical expansion start bit, a vertical expansion end bit, and vertical expansion overline position information.

第5図イ,ロに示すように、縦拡大開始ビツト
は、その行に置かれた拡大されたパターンが、拡
大されたパターン全体の何ビツト目から始まるの
かを示すものであり、縦拡大終了ビツトは、その
行に置かれた拡大されたパターンが、拡大された
パターン全体の何ビツト目までに位置するかを示
す。縦拡大開始ビツトと縦拡大終了ビツトとの間
が、拡大範囲となる。縦拡大開始ビツトが0の場
合には、上線だけを印字する。
As shown in FIG. The bit indicates the number of bits in the entire enlarged pattern in which the enlarged pattern placed in that row is located. The area between the vertical expansion start bit and the vertical expansion end bit is the expansion range. If the vertical expansion start bit is 0, only the overline is printed.

縦拡大上線位置は、第5図ハ図示のように、縦
拡大の上線を行の何ドツト目から引くのかを示
す。
The vertical expansion overline position indicates from which dot in the row the vertical expansion overline is drawn, as shown in FIG. 5C.

こられの開始/終了ビツトは、パターンの1番
上が1であり、1番下が60(30×30ドツト文字の
場合)である。24×24ドツト文字では、1番下が
48である。拡大されたパターンは、必ず行の下か
ら詰められるので、パターンをどこから置くのか
を指定するパラメータは必要ない。
These start/end bits are 1 at the top of the pattern and 60 at the bottom (for a 30x30 dot character). In 24×24 dot characters, the bottom is
It is 48. Expanded patterns are always filled from the bottom of the line, so no parameter is needed to specify where the pattern should start.

これらのパタメータにより、例えば印刷メニユ
ーにおける種々の改行ピツチに対し、文字パター
ンが分割されることなく、印字できることとな
る。
By using these parameters, for example, printing can be performed at various line feed pitches in a print menu without dividing the character pattern.

以上の実施例では、縦長の拡大パターンについ
て説明したが、縦・横それぞれ2倍ずつ拡大する
いわゆる4倍拡大の文字印字も同様に可能であ
る。4倍拡大の場合、縦に拡大した文字パターン
を構成するドツトが、横に2個ずつ並べられると
考えてよい。4倍拡大文字に関する指示情報につ
いても、同様に拡張行バツフア18におけるプラ
グにより、プリンタ制御部21に通知することが
可能である。この他、拡張行バツフア18の拡張
行には、必要に応じて、例えばゴシツク文字、12
ポイント文字等の指示フラグを設けることも可能
である。
In the above embodiments, a vertically elongated enlarged pattern has been described, but it is also possible to print characters in a so-called 4 times enlarged manner in which the characters are enlarged twice in both the vertical and horizontal directions. In the case of 4x enlargement, it can be thought that the dots that make up the vertically enlarged character pattern are arranged horizontally, two by two. Instruction information regarding quadruple enlarged characters can also be notified to the printer control section 21 by a plug in the expansion line buffer 18. In addition, the expansion line of the expansion line buffer 18 may contain, for example, Gothic characters, 12
It is also possible to provide an instruction flag such as a point character.

第6図は、本発明を適用した文書作成装置の構
成例を示している。
FIG. 6 shows an example of the configuration of a document creation device to which the present invention is applied.

文書作成編集処理部32は、キーボード制御部
31を介して、キーボード30から文字情報を入
力すると、表示制御部33により、デイスプレイ
34に表示しつつ、文書フアイル10に文書を作
成する。キーボード30から印刷指示があると、
印字処理部11は、文字フアイル10から入力バ
ツフア35に、JISコードを読出し、第2図に示
すような処理を実行する。これにより、プリンタ
制御部21は、1行パターンバツフア36に文字
パターンをセツトし、プリンタ25を駆動する。
出力するJISコードに所定の縦拡大制御記号があ
れば、縦拡大文字を含むパターンの印字出力がな
されることになる。
When character information is input from the keyboard 30 via the keyboard control section 31, the document creation/editing processing section 32 creates a document in the document file 10 while displaying it on the display 34 using the display control section 33. When there is a print instruction from the keyboard 30,
The print processing unit 11 reads the JIS code from the character file 10 into the input buffer 35, and executes the processing shown in FIG. As a result, the printer control section 21 sets the character pattern in the one-line pattern buffer 36 and drives the printer 25.
If the JIS code to be output includes a predetermined vertical expansion control symbol, a pattern including vertical expansion characters will be printed out.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、縦拡大
文字の出力にあたつて、無改行、即ち改行ピツチ
が「0」の指定により、プリンタ・フアームウエ
アに対し、2行分のデータを渡す必要がなくな
り、印字処理を行うアプリケーシヨンと、プリン
タを制御するフアームウエアとのインタフエース
を簡明にすることができるようになる。これによ
り、既存の装置を大幅に改造することなく、縦拡
大の印字出力を行うことができるようになつた。
例えば拡張行にゴシツク文字等の指示フラグを設
けることにより、ゴシツク文字等の縦拡大も可能
である。
As explained above, according to the present invention, when outputting vertically enlarged characters, two lines of data are passed to the printer firmware by specifying no line breaks, that is, the line feed pitch is "0". This eliminates the need for this, and it becomes possible to simplify the interface between the application that performs printing processing and the firmware that controls the printer. This has made it possible to output vertically enlarged printout without significantly modifying existing equipment.
For example, by providing a flag indicating Gothic characters or the like in the expansion line, vertical expansion of Gothic characters or the like is also possible.

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

第1図は本発明の原理ブロツク図、第2図は印
字処理部の一実施例処理説明図、第3図はプリン
タ制御部の一実施例制御説明図、第4図は
WRITEコマンドパラメータの例、第5図は縦拡
大パラメータ説明図、第6図は本発明を用いた文
書作成装置の例、第7図は従来方式の例を示す。 図中、11は印字処理部、13は縦拡大制御記
号チエツク部、14は無改行データ出力部、15
は縦拡大パラメータ出力部、16は次行データ出
力部、18は拡張行バツフア、21はプリンタ制
御部を表す。
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is an explanatory diagram of processing of an embodiment of the print processing section, Fig. 3 is an explanatory diagram of control of an embodiment of the printer control section, and Fig. 4 is an illustration of the control of an embodiment of the printer control section.
An example of WRITE command parameters, FIG. 5 is an explanatory diagram of vertically enlarged parameters, FIG. 6 is an example of a document creation device using the present invention, and FIG. 7 is an example of a conventional system. In the figure, 11 is a print processing section, 13 is a vertical enlargement control symbol check section, 14 is a non-line feed data output section, 15
16 represents a vertical expansion parameter output unit, 16 represents a next line data output unit, 18 represents an expansion line buffer, and 21 represents a printer control unit.

Claims (1)

【特許請求の範囲】 1 行単位に出力データを得て、該出力データに
基づき印字パターンを生成し、印字出力するプリ
ンタ制御部21を備えた印字制御装置において、 出力する行単位の文字コード・データ中に、次
行の対応する位置における文字コードによつて示
される文字のパターンを、現在の行にまたがるよ
うに縦方向に拡大することを指示する縦拡大制御
記号があるか否かをチエツクする手段13と、 該チエツク手段が縦拡大制御記号を検出したと
きに、出力する行データと共に上記プリンタ制御
部21に渡す拡張行に、縦拡大文字の指示をセツ
トし、改行ピツチを0とする印字出力を、上記プ
リンタ制御部21に指示する手段14と、 縦拡大のパターン作成に必要なパラメータを上
記プリンタ制御部21へ送出する手段15と、 次行の文字コード・データを縦拡大文字のパタ
ーン作成用に送出し、上記プリンタ制御部21に
対し、縦拡大の上側パターンの出力を指示する手
段16とを備え、 上記プリンタ制御部21は、縦拡大文字出力に
対し、縦拡大制御記号が含まれる行の通常文字パ
ターンの出力、縦拡大文字の上側パターンの重ね
打ち出力、および次行の通常文字パターンと当該
縦拡大文字の下側パターンとの出力を行うように
したことを特徴とする縦拡大文字印字制御装置。
[Scope of Claim] A printing control device including a printer control unit 21 that obtains output data line by line, generates a print pattern based on the output data, and outputs the printout, comprising: a character code for each line to be output; Checks whether there is a vertical expansion control symbol in the data that instructs the character pattern indicated by the character code at the corresponding position on the next line to be expanded vertically to span the current line. means 13 for checking, when the checking means detects a vertical expansion control symbol, sets an instruction for vertical expansion characters in the expansion line passed to the printer control unit 21 together with the line data to be output, and sets the line feed pitch to 0; means 14 for instructing the printer control section 21 to print out; means 15 for sending parameters necessary for creating a vertically enlarged pattern to the printer control section 21; and a means 16 for instructing the printer control section 21 to output the vertically enlarged upper pattern for pattern creation; It is characterized by outputting the normal character pattern of the included line, overprinting the upper pattern of the vertically enlarged character, and outputting the normal character pattern of the next line and the lower pattern of the vertically enlarged character. Vertical enlarged character printing control device.
JP60099294A 1985-05-10 1985-05-10 Controlling system for printing vertically enlarged character Granted JPS61258766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60099294A JPS61258766A (en) 1985-05-10 1985-05-10 Controlling system for printing vertically enlarged character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60099294A JPS61258766A (en) 1985-05-10 1985-05-10 Controlling system for printing vertically enlarged character

Publications (2)

Publication Number Publication Date
JPS61258766A JPS61258766A (en) 1986-11-17
JPH0437791B2 true JPH0437791B2 (en) 1992-06-22

Family

ID=14243616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60099294A Granted JPS61258766A (en) 1985-05-10 1985-05-10 Controlling system for printing vertically enlarged character

Country Status (1)

Country Link
JP (1) JPS61258766A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0773935B2 (en) * 1985-06-14 1995-08-09 株式会社東芝 Document creation device
JPH0692167B2 (en) * 1985-06-14 1994-11-16 株式会社東芝 Document creation device
JPH0773934B2 (en) * 1985-06-14 1995-08-09 株式会社東芝 Document creation device
JPH07102716B2 (en) * 1985-11-22 1995-11-08 カシオ計算機株式会社 Text printing control device
JPH0616764Y2 (en) * 1989-07-31 1994-05-02 株式会社新興製作所 Dot matrix printer
JP2793349B2 (en) * 1990-09-28 1998-09-03 キヤノン株式会社 Printing equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58110262A (en) * 1981-12-25 1983-06-30 Fujitsu Ltd Printer device
JPS59796A (en) * 1982-06-28 1984-01-05 Yokogawa Hokushin Electric Corp Dot printer

Also Published As

Publication number Publication date
JPS61258766A (en) 1986-11-17

Similar Documents

Publication Publication Date Title
US4715006A (en) Image forming apparatus
JPH0437791B2 (en)
JPS59201870A (en) Printer
JPS6364086A (en) Output unit
JPS5911439A (en) output method
JPS63254516A (en) Printer control system
JPS62255992A (en) Character output method
JP2614251B2 (en) Printer print control method
JPS6160121A (en) Graphic print processing system
JP2966847B2 (en) Character processor
JP2958017B2 (en) Output control apparatus and method
JPS60129267A (en) Printing system for letter and the like
JP2685724B2 (en) Document processing method
JP2636312B2 (en) Printer interface device
EP0143995A2 (en) Dot-matrix printer
JPS62241063A (en) Sentence producing device
JPH0213631B2 (en)
JPS61287379A (en) Printing control system
JPH0281654A (en) Halftone longitudinal connection of serial dot printer
JPS62199458A (en) document processing device
JPS594710B2 (en) pattern generator
JPS62216756A (en) Controlling system for printing vertical rule
JPS63312854A (en) How to print on a Japanese word processor
JPH04292962A (en) recording device
JPS6373418A (en) Chinese character printer controller