JPH05147301A - Printer - Google Patents

Printer

Info

Publication number
JPH05147301A
JPH05147301A JP3314396A JP31439691A JPH05147301A JP H05147301 A JPH05147301 A JP H05147301A JP 3314396 A JP3314396 A JP 3314396A JP 31439691 A JP31439691 A JP 31439691A JP H05147301 A JPH05147301 A JP H05147301A
Authority
JP
Japan
Prior art keywords
line
feed amount
underline
character
area
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.)
Granted
Application number
JP3314396A
Other languages
Japanese (ja)
Other versions
JP2683468B2 (en
Inventor
Shigeaki Suzuki
茂晃 鈴木
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 TEC Corp
Original Assignee
Tokyo Electric Co 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP3314396A priority Critical patent/JP2683468B2/en
Publication of JPH05147301A publication Critical patent/JPH05147301A/en
Application granted granted Critical
Publication of JP2683468B2 publication Critical patent/JP2683468B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Landscapes

  • Record Information Processing For Printing (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To adjust feed automatically and largely by comparing feed designated to one line and reference feed when there is an underline-assigned character in the printing data of one line. CONSTITUTION:When processing is started by a central processor, a start address area ADD is set to the front end address 0 of an image buffer, and command reception from a host equipment is stood by through a communication interface. The content of a line feed area LF is transferred to a work area WR on a data completion code, and an underline flag F is examined. Since the edition of a line, in which there is no underline-assigned character, is completed when F=0 holds, the content of the work area WR is added to the content of the start address area ADD, and the next command reception is weighted. Since the edition of a line, in which there is an F-line assigned character, is completed when F=1 holds, the content of the work area WR and preset reference feed are compared.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、外部からラインフィー
ド量を指定することにより1ラインのフィード量を調整
可能なプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer capable of adjusting the feed amount of one line by externally designating the line feed amount.

【0002】[0002]

【従来の技術】従来のこの種のプリンタにおいて、ライ
ンフィード量の指定値が小さい状態で下線指定付のキャ
ラクタ印字を行うと、下線が次ラインの文字と重なって
しまうことがあった。このため、下線指定付のキャラク
タ印字を行う場合にはラインフィード量を大きく設定し
て充分な行間を確保する必要があった。
2. Description of the Related Art In a conventional printer of this type, when a character is printed with an underline designation while the designated value of the line feed amount is small, the underline sometimes overlaps with the character on the next line. Therefore, when performing character printing with underline designation, it is necessary to set a large line feed amount to secure a sufficient line spacing.

【0003】しかしながら、下線指定付キャラクタが存
在するラインと存在しないラインとを印字する場合に下
線が次ラインの文字と重ならないように全体のラインフ
ィード量を大きく設定してしまうと、下線のないライン
の行間が大きくなり過ぎてしまう問題があった。このた
め、下線指定付キャラクタが存在するラインの印字の際
には一旦ラインフィード量を大きく変更する指令を与え
てから印字を制御し、その後もとのラインフィード量に
戻す指令を与えてから下線のないキャラクタの印字を制
御していた。
However, when printing a line with an underlined character and a line with no underlined character, if the overall line feed amount is set large so that the underline does not overlap with the character on the next line, there is no underline. There was a problem that the line spacing became too large. For this reason, when printing a line with an underlined character, the command to change the line feed amount is first given, the printing is controlled, and then the command to return to the original line feed amount is given and then the underline is given. It controlled the printing of non-printed characters.

【0004】[0004]

【発明が解決しようとする課題】このように従来のこの
種のプリンタにおいては、下線指定付キャラクタが存在
するラインと存在しないラインとを印字する場合にその
ラインによってフィード量を変更する指令を与えなけれ
ば一定の行間を得ることができず、処理が複雑となり高
速処理を行えない問題があった。
As described above, in the conventional printer of this type, when a line with an underlined character and a line without the underlined character are printed, a command for changing the feed amount is given according to the line. If it is not, a certain line spacing cannot be obtained, and the processing becomes complicated and high-speed processing cannot be performed.

【0005】そこで本発明は、下線指定付のキャラクタ
印字が存在するラインに対しては充分な行間が得られる
ように自動的にフィード量を大きく調整することがで
き、下線有無を意識してフィード量を変更する指令を与
えることなく所要の行間を確保でき、処理の簡略化及び
高速化を図り得るプリンタを提供しようとするものであ
る。
Therefore, according to the present invention, the feed amount can be automatically adjusted to a large amount so that a sufficient space can be obtained for a line on which character printing with underline designation is present. An object of the present invention is to provide a printer that can secure a required line spacing without giving a command to change the amount, and can simplify the process and speed up the process.

【0006】[0006]

【課題を解決するための手段】本発明は、外部からライ
ンフィード量を指定することにより1ラインのフィード
量を調整可能なプリンタにおいて、1ラインの印字デー
タに下線指定付のキャラクタが存在するか否かを判断す
る下線有無判断手段と、この判断手段により下線指定付
キャラクタ有りが判断されると該当1ラインに対して指
定されたフィード量と予め設定された基準フィード量と
を比較するフィード量比較手段と、この比較手段により
指定フィード量が基準フィード量以下のとき該当1ライ
ンに対するフィード量を強制的に基準フィード量以上と
するフィード量強制調整手段とを備えたものである。
According to the present invention, in a printer in which the feed amount of one line can be adjusted by designating the line feed amount from the outside, is there a character with an underline designation in the print data of one line? An underline presence / absence determining means for determining whether or not there is a feed amount for comparing the feed amount designated for the corresponding one line with a preset reference feed amount when the determination means determines that there is an underline designation character. The comparison means and the feed amount compulsory adjustment means for forcibly setting the feed amount for the corresponding one line to the reference feed amount or more when the designated feed amount is equal to or less than the reference feed amount are provided.

【0007】[0007]

【作用】このような構成により、下線指定付のキャラク
タが存在するラインを印字する際には、たとえ1ライン
の指定フィード量つまりは下線指定付のキャラクタが存
在しないラインのフィード量が基準フィード量以下であ
っても強制的に基準フィード量以上に調整される。従っ
て、下線指定付のキャラクタが存在するラインのフィー
ド量は自動的に下線指定付のキャラクタが存在しないラ
インのフィード量に比べて大きくなり、所要の行間が得
られ、下線が次ラインの文字に重なることはなくなる。
With this configuration, when printing a line with an underlined character, the designated feed amount of one line, that is, the feed amount of a line without an underlined character is the reference feed amount. Even if it is below, it is forcibly adjusted to exceed the reference feed amount. Therefore, the feed amount of the line with the underlined character automatically becomes larger than the feed amount of the line without the underlined character, the required line spacing is obtained, and the underline becomes the character of the next line. There will be no overlap.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は構成を示すブロック図で、1は制御
部本体を構成するCPU(中央処理装置)、2は上記C
PU1が各部を制御するためのプログラムデータ等が格
納されたROM(リード・オンリ・メモリ)、3は各種
キャラクタのビットイメージデータを記憶するCG(キ
ャラクタ・ジェネレータ)用ROM、4は図2に示すよ
うに印字データがビットマップ展開されるイメージバッ
ファ41の他、開始アドレスエリアADD、ラインフィ
ード量エリアLF、マージン量エリアMR、修飾コード
エリアM、ワークエリアWR、下線フラグF等の各種メ
モリエリアが形成されたRAM(ランダム・アクセス・
メモリ)、5はホスト機器(不図示)から送られてくる
印字データを受信する通信インタフェース、6は各種信
号の入出力を行うI/Oポートであり、これらはバスラ
イン7によって相互に接続されている。
FIG. 1 is a block diagram showing the configuration. 1 is a CPU (central processing unit) that constitutes the main body of the control unit, and 2 is the above-mentioned C.
A ROM (read only memory) in which program data for controlling each unit of the PU 1 is stored, 3 is a CG (character generator) ROM for storing bit image data of various characters, and 4 is shown in FIG. In addition to the image buffer 41 in which the print data is bit-mapped, various memory areas such as a start address area ADD, a line feed amount area LF, a margin amount area MR, a modification code area M, a work area WR, and an underline flag F are provided. Formed RAM (random access
Memory 5) is a communication interface for receiving print data sent from a host device (not shown), 6 is an I / O port for inputting / outputting various signals, and these are mutually connected by a bus line 7. ing.

【0010】前記I/Oポート6には、例えばサーマル
ドット形式の印字ヘッド8、上記印字ヘッド8を搭載し
主走査方向に往復移動するキャリッジの駆動系を動作さ
せるキャリッジモータ9、印字用紙を副走査方向に所定
ピッチで搬送するフィード系を動作させるペーパフィー
ドモータ10等が接続されている。
In the I / O port 6, for example, a thermal dot type print head 8, a carriage motor 9 for mounting the print head 8 and operating a drive system of a carriage that reciprocates in the main scanning direction, and a printing paper as a sub-device. A paper feed motor 10 and the like for operating a feed system that conveys at a predetermined pitch in the scanning direction is connected.

【0011】しかして、前記CPU1は図3に示す処理
を実行するようにプログラム制御されている。すなわ
ち、この処理が開始されると、先ず前記開始アドレスエ
リアADDをイメージバッファ41の先頭アドレス
“0”に設定する。次いで、通信インタフェース5を介
してホスト機器からのコマンド受信を待機する。
Therefore, the CPU 1 is program-controlled to execute the processing shown in FIG. That is, when this process is started, first, the start address area ADD is set to the head address "0" of the image buffer 41. Next, it waits for a command to be received from the host device via the communication interface 5.

【0012】ここで、図4(a)に示すようなデータフ
ォーマットのLF(ライン・フィード)セットコマンド
を受信した場合には、そのコマンドに含まれるラインフ
ィード指定量Xを前記ラインフィード量エリアLFに格
納するとともに、マージン指定量Yを前記マージン量エ
リアMRに格納して、次のコマンド受信を待機する。
When an LF (line feed) set command having a data format as shown in FIG. 4A is received, the designated line feed amount X contained in the command is used as the line feed amount area LF. And the specified margin amount Y in the margin amount area MR and waits for the next command reception.

【0013】また、図4(b)〜(d)に示すようなデ
ータフォーマットのプリントコマンドを受信した場合に
は、先ず前記下線フラグFを“0”にリセットする。次
いで、そのコマンドに含まれるデータを順次読込んでデ
ータ処理する。
When a print command having a data format as shown in FIGS. 4B to 4D is received, the underline flag F is first reset to "0". Next, the data included in the command is sequentially read and processed.

【0014】因みに、プリントコマンドにおいてESC
は制御コードであり、この制御コードに続いて印字文字
の修飾コード(例えば0…下線指定無、1…下線指定
有)がセットされている。DAはデータ終了コードであ
る。それ以外の“A”,“B”,“C”,…は印字文字
の文字コードである。
Incidentally, in the print command, ESC
Is a control code, and following this control code, a modifier code of a print character (for example, 0 ... No underline designation, 1 ... Underline designation) is set. DA is a data end code. The other characters "A", "B", "C", ... Are character codes of print characters.

【0015】すなわち、プリントコマンドより読込んだ
1データが制御コードESCの場合には、それに続く文
字修飾コードを修飾コードエリアMに格納する。しかる
後、次の1データの読込みを行う。
That is, when one data read from the print command is the control code ESC, the character modification code following it is stored in the modification code area M. Then, the next one data is read.

【0016】文字コードの場合には、前記CG用ROM
3から該当文字のビットイメージデータ(大きさ:24
ドット×24ドット)を読出す。そして、イメージバッ
ファ41における前記開始アドレスエリアADDの内容
に前記マージン量エリアMRの内容を加算したアドレス
位置から上記ビットイメージデータを編集する。1文字
編集後、前記修飾コードエリアMの内容をチェックす
る。ここで、[M=1]の場合には下線指定有りなの
で、編集した文字データの下側に2ドット分の間隔を開
けて下線(幅:2ドット)を編集する。また、前記下線
フラグFを“1”にセットする。しかる後、次の1デー
タの読込みを行う。[M=0]の場合には下線指定無し
なので、上述したアンダーライン編集処理をパスし、直
ちに次の1データの読込みを行う。
In the case of a character code, the CG ROM
Bit image data of the corresponding character from 3 (size: 24
(Dots × 24 dots) is read. Then, the bit image data is edited from the address position where the content of the margin amount area MR is added to the content of the start address area ADD in the image buffer 41. After editing one character, the contents of the modified code area M are checked. Here, in the case of [M = 1], since an underline is designated, the underline (width: 2 dots) is edited below the edited character data with an interval of 2 dots. Further, the underline flag F is set to "1". Then, the next one data is read. In the case of [M = 0], since there is no underline designation, the above-mentioned underline editing processing is passed, and the next one data is immediately read.

【0017】データ終了コードの場合には、前記ライン
フィード量エリアLFの内容をワークエリアWRに移
す。次いで、前記下線フラグFを調べる(下線有無判断
手段)。ここで、[F=0]の場合には下線指定付キャ
ラクタが存在しないラインの編集終了なので、前記開始
アドレスエリアADDの内容に前記ワークエリアWRの
内容を加算したならば、次のコマンド受信を待機する。
In the case of the data end code, the contents of the line feed amount area LF are moved to the work area WR. Next, the underline flag F is checked (underline presence / absence determining means). Here, in the case of [F = 0], since the editing of the line in which the underlined character does not exist is completed, if the content of the work area WR is added to the content of the start address area ADD, the next command is received. stand by.

【0018】一方、[F=1]の場合には下線指定付キ
ャラクタが存在するラインの編集終了なので、前記ワー
クエリアWRの内容と予め設定されている基準フィード
量(本実施例では“36”とする)とを比較する(フィ
ード量比較手段)。そして、ワークエリアWRの内容が
基準フィード量より小さい場合のみ上記ワークエリアW
Rの内容を強制的に基準フィード量に変更する(フィー
ド量強制調整手段)。しかる後、前記開始アドレスエリ
アADDの内容に前記ワークエリアWRの内容を加算し
たならば、次のコマンド受信を待機する。
On the other hand, in the case of [F = 1], since the editing of the line in which the underlined character exists is completed, the contents of the work area WR and the preset reference feed amount (“36” in this embodiment). And) (feed amount comparison means). Only when the content of the work area WR is smaller than the reference feed amount, the work area W
The contents of R are forcibly changed to the reference feed amount (feed amount forced adjustment means). After that, if the content of the work area WR is added to the content of the start address area ADD, the next command reception is awaited.

【0019】このような構成の本実施例において、今、
図5に示すような印字結果を得ようとする場合、印字デ
ータは、LFコマンドはラインフィード指定量X=3
2、マージン指定量Y=4となる(図4(a))。1ラ
イン目のプリントコマンドは修飾コード=0(下線指定
無し)に対して文字コード“A”,“B”,“C”が付
加される(図4(b))。2ライン目のプリントコマン
ドは修飾コード=1(下線指定有り)に対して文字コー
ド“D”,“E”が付加され、続いて修飾コード=0に
対して文字コード“F”が付加される(図4(c))。
3ライン目のプリントコマンドは修飾コード=0に対し
て文字コード“G”,“H”,“I”が付加される(図
4(d))。
In this embodiment having such a structure,
When trying to obtain the print result as shown in FIG. 5, the print data is the line feed specified amount X = 3 for the LF command.
2, the margin designated amount Y = 4 (FIG. 4A). In the print command of the first line, character codes "A", "B", and "C" are added to the modification code = 0 (no underline designation) (FIG. 4 (b)). In the print command on the second line, the character codes “D” and “E” are added to the decoration code = 1 (the underline is specified), and subsequently the character code “F” is added to the decoration code = 0. (FIG.4 (c)).
In the print command of the third line, the character codes "G", "H", and "I" are added to the modification code = 0 (FIG. 4 (d)).

【0020】以上の各種コマンドがホスト機器から送信
され、通信インタフェース5を介して受信されると、先
ずLFコマンドに対するデータ処理が行われる。すなわ
ち、ラインフィード量エリアLFに“32”がセットさ
れるとともにマージン量エリアMRに“4”がセットさ
れる。なお、開始アドレスエリアADDは“0”となっ
ている。
When the above various commands are transmitted from the host device and received via the communication interface 5, data processing for the LF command is first performed. That is, "32" is set in the line feed amount area LF and "4" is set in the margin amount area MR. The start address area ADD is "0".

【0021】次に1ライン目のプリントコマンドに対す
るデータ処理が行われる。すなわち修飾コードエリアM
に“0”がセットされた状態で、文字“A”,“B”,
“C”がイメージバッファ41の[ADD+MR]=4
ドット目からビットマップ展開される。なお、1文字の
ビットイメージデータは24ドット×24ドットとす
る。
Next, data processing for the print command for the first line is performed. That is, the modified code area M
When "0" is set to, the characters "A", "B",
“C” is [ADD + MR] = 4 in the image buffer 41
The bitmap is expanded from the dot. The bit image data of one character is 24 dots × 24 dots.

【0022】そして、当該プリントコマンドにおけるデ
ータ終了コードDAの読出しに応じてワークエリアWR
にラインフィード量“32”が書込まれ、このとき下線
フラグFは“0”にリセットされたままなので、開始ア
ドレスエリアADDは[0+32]=“32”となる。
The work area WR is read in response to the reading of the data end code DA in the print command.
The line feed amount “32” is written into the line A, and at this time, the underline flag F remains reset to “0”, so that the start address area ADD becomes [0 + 32] = “32”.

【0023】次に2ライン目のプリントコマンドに対す
るデータ処理が行われる。すなわち始めに修飾コードエ
リアMに“1”がセットされた状態で、文字“D”,
“E”がイメージバッファ41の[ADD+MR]=3
6ドット目からビットマップ展開される。またこのと
き、上記修飾コードエリアMの内容が“1”なので、下
線フラグFが“1”にセットされるとともに、文字
“D”,“E”の下側に2ドット分開けて下線が編集さ
れる。因みに下線の幅は2ドット分である。次いで、修
飾コードエリアMに“0”がセットされた状態で、文字
“F”がイメージバッファ41の[ADD+MR]=3
6ドット目から文字“E”に続いてビットマップ展開さ
れる。
Next, data processing for the print command for the second line is performed. That is, with the modification code area M initially set to "1", the character "D",
“E” is [ADD + MR] = 3 in the image buffer 41.
The bitmap is expanded from the 6th dot. At this time, since the content of the modification code area M is "1", the underline flag F is set to "1" and the underline is edited by opening two dots below the characters "D" and "E". To be done. By the way, the width of the underline is 2 dots. Next, with the modification code area M set to "0", the character "F" is displayed in the image buffer 41 as [ADD + MR] = 3.
Bitmap expansion is performed following the character "E" from the sixth dot.

【0024】そして、当該プリントコマンドにおけるデ
ータ終了コードDAの読出しに応じてワークエリアWR
にラインフィード量“32”が書込まれるが、このとき
下線フラグFは“1”にセットされているので、上記ワ
ークエリアWRの内容が強制的に“36”に変更され、
開始アドレスエリアADDは[32+36]=“68”
となる。
Then, the work area WR is read in response to the reading of the data end code DA in the print command.
The line feed amount "32" is written in, but since the underline flag F is set to "1" at this time, the content of the work area WR is forcibly changed to "36",
The start address area ADD is [32 + 36] = “68”
Becomes

【0025】次に3ライン目のプリントコマンドに対す
るデータ処理が行われる。すなわち修飾コードエリアM
に“0”がセットされた状態で、文字“G”,“H”,
“I”がイメージバッファ41の[ADD+MR]=7
2ドット目からビットマップ展開される。
Next, data processing for the print command of the third line is performed. That is, the modified code area M
With "0" set to, the letters "G", "H",
“I” is [ADD + MR] of the image buffer 41 = 7
The bitmap is expanded from the second dot.

【0026】そして、当該プリントコマンドにおけるデ
ータ終了コードDAの読出しに応じてワークエリアWR
にラインフィード量“32”が書込まれ、このとき下線
フラグFは“0”にリセットされているので、開始アド
レスエリアADDは[68+32]=“100”とな
る。
The work area WR is read in response to the reading of the data end code DA in the print command.
Since the line feed amount "32" is written in the line, and the underline flag F is reset to "0" at this time, the start address area ADD becomes [68 + 32] = "100".

【0027】以上のデータ処理が終了した後印字ルーチ
ンが開始され、印字ヘッド8、キャリッジモータ9及び
ペーパフィードモータ10の駆動が制御されて、前記イ
メージバッファ41の内容が印字用紙にプリントアウト
される。
After the above data processing is completed, the print routine is started, the drive of the print head 8, the carriage motor 9 and the paper feed motor 10 is controlled, and the contents of the image buffer 41 are printed out on a print sheet. ..

【0028】この場合において、1ライン目の文字の下
側マージンは1ライン目のラインフィード量が32ドッ
ト、上側マージンが4ドット、文字サイズが24ドット
であるので、[32−4−24]=4ドットである。ま
た2ライン目の文字上側マージンは4ドットである。従
って、1ライン目と2ライン目との行間は8ドットとな
る。
In this case, the lower margin of the character on the first line has a line feed amount of 32 dots on the first line, an upper margin of 4 dots, and a character size of 24 dots, so [32-4-24]. = 4 dots. The upper margin of the character on the second line is 4 dots. Therefore, the line spacing between the first line and the second line is 8 dots.

【0029】一方、2ライン目の文字の下側マージンは
2ライン目のラインフィード量が36ドット、上側マー
ジンが4ドット、文字サイズが24ドットであるので、
[36−4−24]=8ドットである。ただし、文字の
下側に2ドットの間隔を開けて2ドットの幅で下線が引
かれるので、下側マージンは4ドットとなる。また3ラ
イン目の文字上側マージンは4ドットである。従って、
2ライン目と3ライン目との行間も8ドットとなる。
On the other hand, the lower margin of the character on the second line has a line feed amount of 36 dots on the second line, an upper margin of 4 dots, and a character size of 24 dots.
[36-4-24] = 8 dots. However, since an underline is drawn with a width of 2 dots with a space of 2 dots below the character, the lower margin is 4 dots. The upper margin of the character on the third line is 4 dots. Therefore,
The line spacing between the second line and the third line is also 8 dots.

【0030】このように本実施例によれば、下線指定付
のキャラクタ印字が存在しないラインに対しては予め指
定されたラインフィード量で印字を行い、存在するライ
ンに対しては予め指定されたラインフィード量が36ド
ット未満の場合には自動的に36ドットまで大きく調整
して印字を行うようにしたので、下線の有無に係わらず
常に充分な行間を確保することができ、たとえラインフ
ィード量の指定値が小さくても下線が次ラインの文字に
重なってしまうことはなくなる。従って、印字データを
作成する場合に下線有無を意識してフィード量を変更す
る指令を加える必要がなくなるのでデータ作成作業を効
率よく行える上、プリンタ側の処理も簡略化され高速処
理が可能となる。
As described above, according to the present embodiment, lines having no underline designation character printing are printed with a predesignated line feed amount, and existing lines are predesignated. When the line feed amount is less than 36 dots, it is automatically adjusted to a large value up to 36 dots for printing, so it is possible to always secure sufficient line spacing regardless of the presence or absence of an underline. Even if the specified value of is small, the underline will not overlap with the character on the next line. Therefore, when creating print data, it is not necessary to add a command to change the feed amount in consideration of the presence or absence of an underline, so that the data creation work can be performed efficiently, and the processing on the printer side is simplified and high-speed processing is possible. ..

【0031】なお、前記実施例ではシリアルプリンタに
ついて説明したがこれに限定されるものではなく、ライ
ンプリンタであってもよい。またヘッドの種類もサーマ
ル式に限定されるものではなく、インクジェット方式等
であっても同様である。この他、本発明の要旨を逸脱し
ない範囲で種々変形実施可能であるのは勿論である。
Although the serial printer has been described in the above embodiment, the present invention is not limited to this, and may be a line printer. Further, the type of head is not limited to the thermal type, and the same applies to the inkjet type and the like. Of course, various modifications can be made without departing from the scope of the present invention.

【0032】[0032]

【発明の効果】以上詳述したように本発明によれば、下
線指定付のキャラクタ印字が存在するラインに対しては
充分な行間が得られるように自動的にフィード量を大き
く調整することができ、下線有無を意識してフィード量
を変更する指令を与えることなく所要の行間を確保で
き、処理の簡略化及び高速化を図り得るプリンタを提供
できる。
As described above in detail, according to the present invention, it is possible to automatically adjust the feed amount to a large amount so that a sufficient line spacing can be obtained for a line where character printing with underline designation is present. Therefore, it is possible to provide a printer that can secure a required line spacing without giving a command to change the feed amount in consideration of presence or absence of an underline, and can simplify the process and speed up the process.

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

【図1】 本発明の一実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】 図1におけるRAMのメモリ構成図。FIG. 2 is a memory configuration diagram of a RAM in FIG.

【図3】 図1におけるCPUの主要な制御を示す流れ
図。
FIG. 3 is a flowchart showing main control of the CPU in FIG.

【図4】 同実施例で使用する各種コマンドのデータフ
ォーマット図。
FIG. 4 is a data format diagram of various commands used in the embodiment.

【図5】 図4に示す各種コマンドをデータ処理した際
の印字結果を示す図。
FIG. 5 is a diagram showing a print result when data processing of various commands shown in FIG. 4 is performed.

【符号の説明】[Explanation of symbols]

1…CPU、3…CG用ROM、5…通信インタフェー
ス、8…印字ヘッド、41…イメージバッファ。
1 ... CPU, 3 ... CG ROM, 5 ... Communication interface, 8 ... Print head, 41 ... Image buffer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 外部からラインフィード量を指定するこ
とにより1ラインのフィード量を調整可能なプリンタに
おいて、1ラインの印字データに下線指定付のキャラク
タが有るか否かを判断する下線有無判断手段と、この判
断手段により下線指定付キャラクタ有りが判断されると
該当1ラインに対して指定されたフィード量と予め設定
された基準フィード量とを比較するフィード量比較手段
と、この比較手段により指定フィード量が基準フィード
量より小さいとき該当1ラインに対するフィード量を強
制的に基準フィード量以上とするフィード量強制調整手
段とを具備したことを特徴とするプリンタ。
1. An underline presence / absence determining means for determining whether or not there is a character with an underline designation in print data of one line in a printer capable of adjusting the feed amount of one line by externally designating the line feed amount. When the determination means determines that there is an underlined character, the feed amount comparison means compares the feed amount specified for the one line with a preset reference feed amount, and the comparison means specifies the feed amount. A printer comprising: a feed amount compulsory adjusting unit for forcibly setting the feed amount for one line to be equal to or larger than the reference feed amount when the feed amount is smaller than the reference feed amount.
JP3314396A 1991-11-28 1991-11-28 Printer Expired - Fee Related JP2683468B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3314396A JP2683468B2 (en) 1991-11-28 1991-11-28 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3314396A JP2683468B2 (en) 1991-11-28 1991-11-28 Printer

Publications (2)

Publication Number Publication Date
JPH05147301A true JPH05147301A (en) 1993-06-15
JP2683468B2 JP2683468B2 (en) 1997-11-26

Family

ID=18052847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3314396A Expired - Fee Related JP2683468B2 (en) 1991-11-28 1991-11-28 Printer

Country Status (1)

Country Link
JP (1) JP2683468B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57178582A (en) * 1981-04-29 1982-11-02 Casio Comput Co Ltd Underline output system
JPS62263081A (en) * 1986-05-12 1987-11-16 Brother Ind Ltd Printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57178582A (en) * 1981-04-29 1982-11-02 Casio Comput Co Ltd Underline output system
JPS62263081A (en) * 1986-05-12 1987-11-16 Brother Ind Ltd Printer

Also Published As

Publication number Publication date
JP2683468B2 (en) 1997-11-26

Similar Documents

Publication Publication Date Title
JP2692081B2 (en) Image memory address control method
JPS59220832A (en) Postal card printing system of word processor
JPS6256171A (en) Printer having function printing address on surface of postcard
JPH02291013A (en) Method of printing mixed character and graphics
JP2683468B2 (en) Printer
JP2812412B2 (en) Printer control device and method
JPH07177348A (en) Printer device
JPS6243876B2 (en)
JP2572074B2 (en) Character processor
JPH10250160A (en) Printer apparatus
JPS59201870A (en) Printer
JP3391185B2 (en) Drawing processing device
JP2598506B2 (en) Printing control device
JP2958017B2 (en) Output control apparatus and method
JP2650982B2 (en) Printer control device
JPS62208090A (en) Image processor
JPH0583384B2 (en)
JPH0499657A (en) Image supplying device
JPH08108584A (en) Page printer and printing data-processing method
JPH07137392A (en) Printer
JPH0818448B2 (en) Page printer
JPH04176677A (en) Printer
JPH0532021A (en) Printing device
JPH07156494A (en) Printer
JPH02202461A (en) Recording device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070808

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080808

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090808

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090808

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100808

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees