JPH0569603A - Recording device - Google Patents

Recording device

Info

Publication number
JPH0569603A
JPH0569603A JP2401716A JP40171690A JPH0569603A JP H0569603 A JPH0569603 A JP H0569603A JP 2401716 A JP2401716 A JP 2401716A JP 40171690 A JP40171690 A JP 40171690A JP H0569603 A JPH0569603 A JP H0569603A
Authority
JP
Japan
Prior art keywords
recording
image
information
area
memory
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.)
Withdrawn
Application number
JP2401716A
Other languages
Japanese (ja)
Inventor
Yoichi Ishijima
洋一 石嶋
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2401716A priority Critical patent/JPH0569603A/en
Publication of JPH0569603A publication Critical patent/JPH0569603A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To obtain a recording device capable of recognizing the allocated state of a memory area about the memory area split in the inside of the recording device itself, in other words, of recognizing the information of an allocated image area from the outside. CONSTITUTION:Both a character inputted by a picture memory 7 and the recording information of an image are mixed and stored. When the recording information is stored in the picture memory 7, the present recording state is registered in an environment setting register 5. A space area based on the recording state registered in the environment setting register 5 is computed by an IA computation part 6 before recording according to indication from the outside. The space area computed by the IA computation part 6 is output as a picture by a printing part 8.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は記録装置に関し、例えば
文字とイメージの混在出力を行なう記録装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording device, and more particularly to a recording device for outputting mixed characters and images.

【0002】[0002]

【従来の技術】従来、この種の装置には、文字とイメー
ジ情報を混在して出力するために、印字情報用のメモリ
を文字情報用とイメージ情報用に分割するように構成さ
れた印字装置がある。
2. Description of the Related Art Conventionally, in this type of apparatus, in order to output a mixture of characters and image information, a printer for printing information is divided into a memory for character information and a printer for image information. There is.

【0003】[0003]

【発明が解決しようとしている課題】しかしながら、上
記従来例では、外部装置が印字情報用メモリをイメージ
情報と文字情報の各メモリ量を算出し、印字装置にイメ
ージ情報と文字情報の各メモリエリアを指定するか、或
は、印字装置自身が内部でメモリエリアを分割している
ため、外部からメモリエリアの割り振りを見ることがで
きなかつた。このため、印字装置は、印字動作中におい
てイメージ情報がメモリエリアより大きい情報量のとき
には、エラーメツセージを出力するように動作する。こ
の場合には、外部でメモリエリアの管理をする手間がい
ると共に、印字前にメモリオーバーの認知ができないと
いう欠点があつた。
However, in the above-mentioned conventional example, the external device calculates the print information memory as the memory amounts of the image information and the character information, and the print device is provided with the memory areas of the image information and the character information. It is not possible to see the allocation of the memory area from the outside because it is specified or the memory area is divided internally by the printing device itself. Therefore, the printing device operates to output an error message when the image information has a larger information amount than the memory area during the printing operation. In this case, there is a drawback that it takes time and effort to manage the memory area externally and that the memory over cannot be recognized before printing.

【0004】本発明は、上述した従来例の欠点に鑑みて
なされたものであり、その目的とするところは、イメー
ジエリアの情報を外部より認識できる記録装置を提供す
る点にある。
The present invention has been made in view of the above-mentioned drawbacks of the conventional example, and an object of the present invention is to provide a recording apparatus capable of recognizing information in an image area from the outside.

【0005】[0005]

【課題を解決するための手段】上述した課題を解決し、
目的を達成するため、本発明に係る記録装置は、文字と
イメージを混在して記録処理する記録装置において、入
力された文字とイメージの記録情報を混在して記憶する
記憶手段と、前記記憶手段で前記記録情報を記憶したと
きに現在の記録状況を登録する登録手段と、記録前に、
外部からの指示に従つて、前記登録手段で登録された記
録状況に基づく空き領域を算出する算出手段と、前記算
出手段で算出された空き領域を画像として出力する出力
手段とを備えることを特徴とする。
[Means for Solving the Problems]
In order to achieve the object, a recording apparatus according to the present invention is a recording apparatus which records a character and an image in a mixed manner, and a storage unit which stores the input character and image record information in a mixed manner, and the storage unit. Registration means for registering the current recording status when the recording information is stored in, and before recording,
It is characterized by comprising a calculating means for calculating an empty area based on the recording condition registered by the registering means and an output means for outputting the empty area calculated by the calculating means as an image in accordance with an instruction from the outside. And

【0006】[0006]

【作用】かかる構成によれば、記憶手段は入力された文
字とイメージの記録情報を混在して記憶し、登録手段は
記憶手段で記録情報を記憶したときに現在の記録状況を
登録し、算出手段は、記録前に、外部からの指示に従つ
て、登録手段で登録された記録状況に基づく空き領域を
算出し、出力手段は算出手段で算出された空き領域を画
像として出力する。
According to this structure, the storage means stores the input character and image record information in a mixed manner, and the registration means registers and calculates the current recording status when the record information is stored in the storage means. Before recording, the means calculates an empty area based on the recording status registered by the registration means according to an instruction from the outside, and the output means outputs the empty area calculated by the calculating means as an image.

【0007】[0007]

【実施例】以下に添付図面を参照して、本発明に係る好
適な実施例を詳細に説明する。図1は本発明の記録装置
の一実施例を示すブロツク図である。同図において、1
は外部(不図示のホストコンピユータ)からの印字情報
を入力、或は、本実施例の印字装置の環境情報をホスト
コンピユータに出力する外部入出力部を示している。2
は本装置全体の制御を行なうCPUを示し、3は後述の
第3のフローチヤートに従つたプログラムやエラー処理
プログラム等を格納したROMを示し、4は各種プログ
ラムのワークエリアとして用いるRAMを示している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing an embodiment of the recording apparatus of the present invention. In the figure, 1
Is an external input / output unit for inputting print information from the outside (a host computer (not shown)) or outputting environmental information of the printing apparatus of this embodiment to the host computer. Two
Is a CPU that controls the entire apparatus, 3 is a ROM that stores a program according to a third flow chart, which will be described later, and an error processing program, and 4 is a RAM that is used as a work area for various programs. There is.

【0008】5は後述する本装置内部の環境情報を登録
(記憶)する環境設定レジスタを示し、6は環境設定レ
ジスタ5の環境情報を元にイメージのメモリエリアを算
出するイメージエリア(IA)算出部を示し、7は文字
やイメージの情報をドツトパターンに展開して記憶する
画像メモリを示し、8は画像メモリ7に展開されたドツ
トパターンに基づいて画像を印字する印字部を示し、9
は本装置内部のデータ,アドレス信号,制御信号のバス
を示している。
Reference numeral 5 denotes an environment setting register for registering (storing) environment information inside the apparatus, which will be described later. Reference numeral 6 denotes an image area (IA) calculation for calculating an image memory area based on the environment information in the environment setting register 5. 7 is an image memory for storing character and image information by developing it into a dot pattern, and 8 is a printing unit for printing an image based on the dot pattern developed in the image memory 7.
Shows buses of data, address signals, and control signals inside the device.

【0009】本実施例は、ROM3をメインメモリとし
た場合、画像メモリ7をサブメモリとしており、この画
像メモリ7を文字情報(コード情報)用とイメージ情報
用とに分割して使用するものである。次に、本実施例の
動作について説明する。図2は本実施例で使用する環境
情報の一例を示す図であり、図3は本実施例によるイメ
ージエリア要求に対応した印字動作の制御手順を説明す
るフローチヤートである。
In the present embodiment, when the ROM 3 is used as the main memory, the image memory 7 is used as the sub memory, and the image memory 7 is divided and used for character information (code information) and image information. is there. Next, the operation of this embodiment will be described. FIG. 2 is a diagram showing an example of environment information used in this embodiment, and FIG. 3 is a flow chart for explaining a control procedure of a printing operation corresponding to an image area request according to this embodiment.

【0010】図2において、20は環境情報であつて、
イメージエリアをIA算出部6が算出するために環境設
定レジスタ5に設定される。本実施例の環境情報として
は、解像度DPI ( dot per inch ) 、画像メモリ容量
(MB:メガバイト)、1行当たりの文字数(C:キヤ
ラクタ)、1ページ当りの行数(L:ライン)、用紙サ
イズ(A列)、文字コード単位(B:バイト)、そし
て、正方形のイメージエリア(I:インチの平方)がパ
ラメータである。ケースNo.1〜5はそれぞれ独立し
た例であり、実際には、ケースNo.1〜5以上のケー
スが考えられるが、仮に5つのケースがあつたとした場
合を図2は示している。パラメータは各ケースに応じた
環境情報であり、イメージエリアは一辺何インチの正方
形になるかを示したものである。
In FIG. 2, 20 is environmental information,
The image area is set in the environment setting register 5 so that the IA calculating unit 6 can calculate the image area. The environmental information of this embodiment includes resolution DPI (dot per inch), image memory capacity (MB: megabyte), number of characters per line (C: character), number of lines per page (L: line), paper. The size (column A), character code unit (B: byte), and square image area (I: square of inch) are parameters. Case No. 1 to 5 are independent examples, and in fact, Case No. Although 1 to 5 or more cases are possible, FIG. 2 shows a case where there are 5 cases. The parameters are environmental information corresponding to each case, and indicate how many inches each side of the image area is a square.

【0011】そこで、イメージエリア要求コマンドが入
力された時の動作を以下に述べる。CPU2は外部入出
力部1からのイメージエリア要求コマンドを入力し(ス
テツプS1,ステツプS2)、解析すると(ステツプS
3)、環境設定レジスタ3から、イメージエリア算出部
4に必要な環境情報20を送る。この環境情報20は、
イメージエリア算出部4にて未使用のイメージエリアを
算出するために使用される(ステツプS4)。この算出
方法について、図2の例を用いて説明する。式として
は、以下の計算式によつて現在未使用のイメージエリア
の領域が算出される。即ち、下式(1)で示すと、
Therefore, the operation when the image area request command is input will be described below. The CPU 2 inputs the image area request command from the external input / output unit 1 (step S1, step S2) and analyzes it (step S).
3) The necessary environment information 20 is sent from the environment setting register 3 to the image area calculation unit 4. This environmental information 20
It is used by the image area calculation unit 4 to calculate an unused image area (step S4). This calculation method will be described using the example of FIG. As the formula, the area of the image area which is not currently used is calculated by the following formula. That is, when expressed by the following formula (1),

【0012】[0012]

【数1】 [Equation 1]

【0013】となる。尚、XはDPIとA列の縦(イン
チ)×横(インチ)の乗算で求められる。上記式(1)
において、Mはサブメモリ容量であつて、単位をdot
としており、下式(2)で表される。即ち、
[0013] It should be noted that X is obtained by multiplying DPI by the length (inch) × width (inch) of column A. Formula (1) above
, M is the sub-memory capacity, and the unit is dot
And is represented by the following equation (2). That is,

【0014】[0014]

【数2】 [Equation 2]

【0015】となる。C*L*B*8は1ページ分の文
字情報のメモリ容量であり、Xは1ページ分の画像メモ
リ7のメモリ容量であつて、それぞれ単位をdotとし
ている。Xについては、次式(3)で表される。即ち、
[0015] C * L * B * 8 is a memory capacity of character information for one page, and X is a memory capacity of the image memory 7 for one page, and the unit is dot. X is represented by the following equation (3). That is,

【0016】[0016]

【数3】 [Equation 3]

【0017】となる。“M−C*L*B*8−X”によ
り、イメージ情報用のメモリ容量が算出され、さらにこ
の算出されたメモリ容量の平方根を求めると、メモリ容
量をドツト単位で正方形にしたときの一辺のドツト数が
算出される。このドツト数を解像度で割ることにより、
正方形の一辺のインチ数への変換が行われ、Iが算出さ
れる。そのイメージエリアの算出結果は、イメージエリ
ア情報として画像メモリ7上にドツトパターン展開され
(ステツプS5)、さらに、印字部8に転送されて、印
字処理される(ステツプS6)。
[0017] The memory capacity for image information is calculated by "M-C * L * B * 8-X". Further, when the square root of the calculated memory capacity is obtained, one side when the memory capacity is squared in dot units The dot number of is calculated. By dividing this dot number by the resolution,
The conversion into the number of inches on one side of the square is performed, and I is calculated. The calculation result of the image area is developed as a dot pattern on the image memory 7 as image area information (step S5), and is further transferred to the printing section 8 for printing processing (step S6).

【0018】本実施例では、イメージエリア情報の印字
出力を、図2に示されるように印字可能な面積(イメー
ジエリア)を正方形とし、その1辺の長さを数値(I)
として示す方法を用いる。以上説明したように、本実施
例によれば、イメージエリアを外部より容易に認知する
ことができる。
In this embodiment, the printout of the image area information has a square printable area (image area) as shown in FIG. 2, and the length of one side is a numerical value (I).
Is used. As described above, according to this embodiment, the image area can be easily recognized from the outside.

【0019】さて、上述した実施例では、イメージエリ
アを数値で印字出力したが、本発明はこれに限定される
ものではなく、本発明の趣旨を逸脱しない範囲であれ
ば、イメージエリア情報の印字出力はメモリ容量を数値
として示す方法、または、印字可能な面積を四角枠で示
す方法等種々変形可能である。また、上述した実施例で
は、イメージエリアの表現を印字出力にて行なつていた
が、本発明はこれに限定されず、本発明の趣旨を逸脱し
ない範囲であれば、外部入出力部1の表示部もしくは接
続されているホストコンピユータに情報を出力してイメ
ージエリアの表現を出力しても良い。
In the above-described embodiment, the image area is printed out as a numerical value. However, the present invention is not limited to this, and the printing of the image area information is within the scope not departing from the gist of the present invention. The output can be modified in various ways such as a method of indicating the memory capacity as a numerical value or a method of indicating the printable area by a square frame. Further, in the above-described embodiment, the image area is expressed by printing, but the present invention is not limited to this, and the external input / output unit 1 may be used as long as it does not deviate from the gist of the present invention. The information of the image area may be output by outputting information to the display unit or the connected host computer.

【0020】上記実施例において、環境情報の登録は、
ハードウエアとしてのスイツチあるいはソフトウエアと
してのスイツチのどちらでも良い。
In the above embodiment, the registration of environmental information is
Either a switch as hardware or a switch as software may be used.

【0021】[0021]

【発明の効果】以上説明したように、本発明によれば、
イメージエリアを外部より容易に認知することができ
る。
As described above, according to the present invention,
The image area can be easily recognized from the outside.

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

【図1】本発明の記録装置の一実施例を示すブロツク図
である。
FIG. 1 is a block diagram showing an embodiment of a recording apparatus of the present invention.

【図2】本実施例で使用する環境情報の一例を示す図で
ある。
FIG. 2 is a diagram showing an example of environment information used in this embodiment.

【図3】本実施例によるイメージエリア要求に対応した
印字動作の制御手順を説明するフローチヤートである。
FIG. 3 is a flowchart illustrating a control procedure of a printing operation corresponding to an image area request according to the present exemplary embodiment.

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

1 外部入出力部 2 CPU 3 ROM 4 RAM 5 環境設定レジスタ 6 IA算出部 7 画像メモリ 8 印字部 9 バス 1 External Input / Output Section 2 CPU 3 ROM 4 RAM 5 Environment Setting Register 6 IA Calculation Section 7 Image Memory 8 Printing Section 9 Bus

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】文字とイメージを混在して記録処理する記
録装置において、入力された文字とイメージの記録情報
を混在して記憶する記憶手段と、前記記憶手段で前記記
録情報を記憶したときに現在の記録状況を登録する登録
手段と、記録前に、外部からの指示に従つて、前記登録
手段で登録された記録状況に基づく空き領域を算出する
算出手段と、前記算出手段で算出された空き領域を画像
として出力する出力手段とを備えることを特徴とする記
録装置。
1. A recording device for recording a character and an image in a mixed manner, and a storage means for storing the input character and image record information in a mixed manner, and a storage means for storing the record information in the storage means. A registration unit that registers the current recording status, a calculation unit that calculates an empty area based on the recording status registered by the registration unit according to an instruction from the outside before recording, and a calculation unit that calculates the free area. A recording apparatus comprising: an output unit that outputs an empty area as an image.
【請求項2】前記空き領域は、少なくともイメージの記
録情報を記憶する領域であることを特徴とする請求項第
1項記載の記録装置。
2. The recording apparatus according to claim 1, wherein the empty area is an area for storing at least image recording information.
JP2401716A 1990-12-12 1990-12-12 Recording device Withdrawn JPH0569603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2401716A JPH0569603A (en) 1990-12-12 1990-12-12 Recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2401716A JPH0569603A (en) 1990-12-12 1990-12-12 Recording device

Publications (1)

Publication Number Publication Date
JPH0569603A true JPH0569603A (en) 1993-03-23

Family

ID=18511553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2401716A Withdrawn JPH0569603A (en) 1990-12-12 1990-12-12 Recording device

Country Status (1)

Country Link
JP (1) JPH0569603A (en)

Similar Documents

Publication Publication Date Title
JP2796628B2 (en) Printing device
JPS63205257A (en) Printing control system
JPH058449B2 (en)
JPH0569603A (en) Recording device
JPS61197252A (en) Image output device
JPH0474740B2 (en)
JPH0753465B2 (en) Printer
JPH0425570B2 (en)
JP2699385B2 (en) Printing device
JP2591021B2 (en) Character pattern generation method
JPS59136281A (en) Printer
JP2690567B2 (en) Printing control device
JP2846766B2 (en) Barcode font creation control device
JPS61232484A (en) Image output unit
JP2699386B2 (en) Image recording device
JPH0263762A (en) Output apparatus
JP2687478B2 (en) Printing device
JP2846211B2 (en) Information processing device
JPH01275074A (en) Printer
JP2803560B2 (en) Printer control device
JP2608393B2 (en) Information processing device
JP2715475B2 (en) Graphic output device
JPH0113128B2 (en)
JPH0790656B2 (en) Document processing method
JP3119094B2 (en) Character output device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980312