JPS6279142A - Recording device - Google Patents

Recording device

Info

Publication number
JPS6279142A
JPS6279142A JP60220582A JP22058285A JPS6279142A JP S6279142 A JPS6279142 A JP S6279142A JP 60220582 A JP60220582 A JP 60220582A JP 22058285 A JP22058285 A JP 22058285A JP S6279142 A JPS6279142 A JP S6279142A
Authority
JP
Japan
Prior art keywords
paper
inches
printing
size
page
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
JP60220582A
Other languages
Japanese (ja)
Inventor
Kozo Matsumoto
幸三 松本
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 JP60220582A priority Critical patent/JPS6279142A/en
Publication of JPS6279142A publication Critical patent/JPS6279142A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Handling Of Cut Paper (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Sheets, Magazines, And Separation Thereof (AREA)

Abstract

PURPOSE:To make paper in size most suitable for a printing data quantity possible to be automatically selected and printed, by setting at least one side of breadthwise or lengthwise length of a recording pattern down to a parameter, and making it so as to select a recording material of the specified size from a feeding device for feeding. CONSTITUTION:A holding value C of a maximum capital letter number register 208 in lines is read and successively a holding value F of a font size register 209 is read, and when a multiplying value H of both these values is found, this H comes to show length in a line direction in lines where letter numbers are most plenty in one page to be printed, namely, such one that maximum printing width is shown with an inch unit. Next, a judgment of whether the maximum printing value H is larger than 5 inches and 8 inches or not is carried out, and feeding parts 205-207 are driven by H<5, 5<H<8, and 8<H, whereby such paper that has printable width for 5 inches, 8 inches and 10 inches is selected alternatively, and paper feed to a printing mechanism part 204 takes place. Afterward, a letter pattern for a portion of one page is consecutively outputted to this printing mechanism part 204 from a font memory 202, and printing for one page takes place. Thus, letters are printable to the proper paper size all the time.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は入力した文字コードデータの量に対応し、最適
なサイズの用紙を選択的に使用して印字することが可能
な記録装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a recording device that is capable of printing by selectively using paper of an optimal size corresponding to the amount of input character code data.

〔従来技術〕[Prior art]

従来の記録装置或いは印字装置と呼ばれるものには、印
字される用紙のサイズは種々のものが使用できても装置
にセットする用紙としては1種類のみであり、用紙サイ
ズを変更する時は用紙を入れたカセット等をさしかえて
別のサイズの用紙をセットし直す構造のものが多かった
。また近年では、同時に複数種のサイズの用紙がセット
回部であって、いずれかのサイズを選択的に使用するこ
とが可能な印字装置も見られるようになった。
Conventional recording devices or printing devices can print on paper of various sizes, but only one type of paper can be set in the device, and when changing the paper size, it is necessary to change the paper size. Many of them had a structure that required you to replace the cassette, etc. that you inserted and then reload paper of a different size. In recent years, there have also been seen printing devices in which a plurality of sizes of paper can be set at the same time, and one of the sizes can be selectively used.

然しながら従来のこの種の複数サイズ用紙同時搭載型印
字装置の用紙切り換え方法としては、オペレータによる
スイッチ操作等によるマニュアル切り換えか、又は文字
コード等を送出するホストコンピュータ側からの特殊制
御コードによる、いわゆるコマンド切り換えのいずれか
の手段が採られていた。
However, the conventional paper switching method for this type of printer that can simultaneously load multiple sizes of paper is either manual switching by an operator's switch operation, or a so-called command using a special control code from the host computer that sends out a character code, etc. Either means of switching was adopted.

従って、オペレータの操作ミス或いはホストコンピュー
タからの用紙サイズ指定コマンドの誤りがあると、印字
すべきデータ量と紙サイズの不適合により文字の欠落や
はみ出しを生じたり、印字位置のアン/ヘランス等を招
くことがあった。
Therefore, if there is an operator error or an error in the paper size specification command from the host computer, the amount of data to be printed and the paper size may not match, resulting in missing or overflowing characters, or irregularities in the printing position. Something happened.

この種の印字例を第1図に示す。An example of this type of printing is shown in FIG.

第1図(a)は、印字可能幅8インチの用紙に10cp
i  (文字/インチ)の文字ピッチにて80文字を印
字した例であり、文字データ量と紙サイズとが適合した
正常な印字例である。
Figure 1 (a) shows 10 cp on paper with a printable width of 8 inches.
This is an example of printing 80 characters at a character pitch of i (characters/inch), and is a normal printing example in which the amount of character data matches the paper size.

そしてこの印字例で示したものと全く同じデータを誤っ
て5インチ及び10インチの印字幅を有する用紙に印字
した例を第1図(b)及び(c)に示す。
FIGS. 1(b) and 1(c) show examples in which exactly the same data as shown in this printing example was mistakenly printed on paper having printing widths of 5 inches and 10 inches.

第1図(b)の場合は、予定した8インチ幅用紙より狭
い用紙を使用しているため各行の右側の文字が用紙の外
にはみ出しデータが欠如している。一方間図(C)の場
合は印字幅が必要以上に大きい用紙を使用しているため
、紙サイズに比して印字画面サイズが小さく極めて見苦
しい印字になってしまう。
In the case of FIG. 1(b), since the paper is narrower than the planned 8-inch width paper, the characters on the right side of each line protrude outside the paper, and data is missing. On the other hand, in the case of diagram (C), paper with a printing width larger than necessary is used, so the printing screen size is small compared to the paper size, resulting in extremely unsightly printing.

〔目 的〕〔the purpose〕

本発明の目的は、従来の印字装置における上述の欠点に
鑑み、複数種のサイズの用紙がセット可能な印字装置で
あって、入力された文字コード等のデータ量に応じ最適
なサイズの用紙を自動的に選択印字することのできる印
字装置を提供することにある。
In view of the above-mentioned drawbacks of conventional printing devices, an object of the present invention is to provide a printing device that can set paper of multiple sizes, and which prints paper of the optimum size according to the amount of data such as input character codes. An object of the present invention is to provide a printing device that can automatically perform selective printing.

〔実屍例〕[Actual corpse example]

以下1図面を参照しながら本発明の詳細な説明する。本
発明の一実施例をブロック的に示す第2図において、2
01はホストコンピュータ等の上位装置から入力信号v
i200を介して送られてくる文字コードデータ群を少
なくとも1ペ一ジ分格納するためのページバッファであ
る。フォントメモリ202は印字される可能性のある全
文字種のドツトパターンをROM又はRAM内の各文字
コードに対応した位置に記憶したもので、ページバッフ
ァ201より読み出した文字コードデータに対応して文
字ドツトパターンを出力する。
The present invention will be described in detail below with reference to one drawing. In FIG. 2, which shows an embodiment of the present invention in block form, 2
01 is an input signal v from a host computer or other host device.
This is a page buffer for storing at least one page of character code data sent via the i200. The font memory 202 stores dot patterns of all character types that may be printed in ROM or RAM at positions corresponding to each character code. Output the pattern.

203は印字部にあって、印字機構部204と用紙供給
部(1)〜(3)205〜207により構成される。
Reference numeral 203 denotes a printing unit, which includes a printing mechanism unit 204 and paper supply units (1) to (3) 205 to 207.

印字機構部204は、フォントメモリ202から読み出
された文字ドツトパターンを機械的又は電気的に記録材
に記録する。
The printing mechanism unit 204 mechanically or electrically records the character dot pattern read from the font memory 202 onto a recording material.

例えばレーザービームプリンタの場合にはフォントメモ
リ202から読み出されたドツトパターンはシリアル信
号に変換され、感光体上を走査するレーザ光を該シリア
ル信号によって光変調することにより白黒の画像を得る
ように構成されており、この画像を用紙供給部(1)〜
(3)205〜207のいずれかより供給された用紙に
転写・定着して最終的な印字出力を得るものである。
For example, in the case of a laser beam printer, the dot pattern read from the font memory 202 is converted into a serial signal, and a black and white image is obtained by optically modulating a laser beam scanning a photoreceptor with the serial signal. This image is sent to the paper supply unit (1)
(3) The final printed output is obtained by transferring and fixing the image onto the paper supplied from any one of 205 to 207.

未実施例の印字装置では印字可能幅が5インチ、8イン
チ、10インチの3種の用紙が同時にセットされ、それ
ぞれ用紙供給部(1)。
In the unembodied printing device, three types of paper with printable widths of 5 inches, 8 inches, and 10 inches are set at the same time, and each paper feed section (1).

(2)、(3)のいずれかを駆動することにより選択さ
れた用紙にて印字できるよう構成されている。
The printer is configured to be able to print on the selected paper by driving either (2) or (3).

一方、行内最大文字数レジスタ208は、ページバッフ
ァ201に格納されている1ペ一ジ分の文字コードデー
タに基づき、各行のうちで最も文字数の多い行の文字数
を保持している。通常はホストコンピュータから各行の
文字コードデータを入力する際に、その文字数を計数し
つつ、最多文字数の行の文字数を記憶させる。また、フ
ォントサイズレジスタ209は、フオンメモリ202に
格納された文字パターンの1文字当たりの行方向(用紙
の幅方向)の長さく単位;インチ)を保持しておくため
のレジスタであり、通常は一連の印字動作中一定の固定
値を保持する。
On the other hand, the maximum number of characters in a line register 208 holds the number of characters in the line with the largest number of characters among each line, based on the character code data for one page stored in the page buffer 201. Normally, when inputting character code data for each line from a host computer, the number of characters is counted and the number of characters in the line with the largest number of characters is stored. Further, the font size register 209 is a register for holding the length unit (inch) in the line direction (width direction of the paper) per character of the character pattern stored in the font memory 202, and is usually a series of Maintains a constant fixed value during printing operation.

用紙選択制御部210は、上記の行内最大文字数レジス
タ208及びフォントサイズレジスタ209に保持され
た情報を入力し、前記の用紙供給部(1)〜(3)20
5〜207の接続された出力信号線のいずれか1本をア
クティブにして3種の用紙のうちいずれか1種の供給を
指示するものである。
The paper selection control unit 210 inputs the information held in the maximum number of characters in a line register 208 and the font size register 209, and inputs the information held in the above-mentioned paper supply units (1) to (3) 20.
Any one of the connected output signal lines 5 to 207 is activated to instruct feeding of any one of the three types of paper.

用紙選択制御部210の動作を含む本印字装置全体の動
作は不図示のマイクロプロセッサによって制御され、そ
の制御プログラムのうち本発明のポイントである用紙選
択制御部の動作に関しそのフローチャートを第3図に示
す。
The entire operation of this printing apparatus, including the operation of the paper selection control section 210, is controlled by a microprocessor (not shown), and a flowchart of the operation of the paper selection control section, which is the key point of the present invention, is shown in FIG. show.

第3図において、まずステップ301で行内最大文字数
レジスタ208の保持値Cを読み、ステップ302では
フォントサイズレジスタ209の保持値Fを読む。
In FIG. 3, first, in step 301, the value C held in the maximum number of characters in a line register 208 is read, and in step 302, the value F held in the font size register 209 is read.

さらにステップ303では上記Cの値とFの値の乗算を
実行してその結果の値Hを求める。
Furthermore, in step 303, the value of C and the value of F are multiplied, and the resulting value H is obtained.

演算結果Hは、印字される1ページのうちで最も文字数
の多い(行方向に長い)行の行方向長さ、即ち最大印字
幅をインチ単位で表わしたものである。
The calculation result H represents the length in the line direction of the line with the largest number of characters (longest in the line direction) in one page to be printed, that is, the maximum print width in inches.

ステップ304及びステップ305では上記最大印字幅
Hの値が、5インチ及び8インチより大きいか小さいか
の判断を行う。
In steps 304 and 305, it is determined whether the value of the maximum print width H is larger or smaller than 5 inches or 8 inches.

最大印字幅Hが5インチ以下であればステップ306に
、5インチより大きく、8インチ以下であればステップ
307に、8インチより大きければステップ308に進
み、それぞれ用紙供給部(1)、(2)、(3)を駆動
して、5インチ、8インチ、10インチの印字可能幅を
持つ用紙を択一し、印字機構部204に用紙供給を行う
If the maximum printing width H is 5 inches or less, the process proceeds to step 306, if it is greater than 5 inches and less than 8 inches, the process proceeds to step 307, and if it is greater than 8 inches, the process proceeds to step 308. ) and (3) to select paper having printable widths of 5 inches, 8 inches, and 10 inches, and supply the paper to the printing mechanism section 204.

その後ステップ309にてフォントメモリ202から1
ペ一ジ分の文字パターンを順次印字機構部204に出力
し、1ページの印字を行う。
After that, in step 309, 1 is stored from the font memory 202.
Character patterns for one page are sequentially output to the printing mechanism section 204 to print one page.

即ち、本実施例の用紙選択アルゴリズムによれば、印字
しようとする1ページの最大印字幅を調べ、それが印字
できる範囲内で最も印字可能幅の小さい用紙を選択して
印字動作を行うので、常に印字データの行長さに応じて
最適な用紙が自動的に選択される。
That is, according to the paper selection algorithm of this embodiment, the maximum print width of one page to be printed is checked, and the paper with the smallest printable width within the range that can be printed is selected and the printing operation is performed. The most suitable paper is always automatically selected according to the line length of the print data.

尚、本実施例ではホストコンピュータから送られる印字
データの最大印字幅は如何なる場合も10インチを越え
ぬものと仮定し、最も太きなサイズの用紙として印字可
能幅10インチの用紙を使用した。
In this embodiment, it is assumed that the maximum print width of the print data sent from the host computer does not exceed 10 inches in any case, and paper with a printable width of 10 inches is used as the thickest paper size.

仮に最大印字幅が10インチを越える印字データが入力
されると印字可能幅10インチの用紙を使用しても印字
画像がはみ出ることになるが、そのようなシステムの場
合にはさらに大きな印字可能幅を有する用紙を用意して
おけば解決できる訳であり、本発明はかかる例をも包含
するものである。
If print data with a maximum print width exceeding 10 inches is input, the printed image will protrude even if paper with a printable width of 10 inches is used, but in the case of such a system, the printable width is even larger. This problem can be solved by preparing paper having the following characteristics, and the present invention includes such an example.

即ち、使用する用紙の印字可能幅の種類の数及びサイズ
は、上記例に示したものに限る必要はなく、印字装置の
使われ方に応じて任意の用紙種及びサイズを用意してお
けばよい。
In other words, the number of types and sizes of printable paper widths to be used do not have to be limited to those shown in the example above, and any paper type and size can be prepared depending on how the printing device is used. good.

尚、前記実施例では、行内最大文字数と文字パターンの
横方向サイズに応じて印字可能幅の異なる複数種の用紙
を選択する機構としたが。
Incidentally, in the embodiment described above, a mechanism is employed in which a plurality of types of paper having different printable widths are selected depending on the maximum number of characters in a line and the horizontal size of the character pattern.

縦方向(用紙の長さ方向)についても本発明を同様に適
用することができる。
The present invention can be similarly applied to the longitudinal direction (the length direction of the paper).

即ち、1ページの行数と文字パターンの縦方向のサイズ
に応じて印字可能長さの異なる複数種の用紙を選択する
ことも可能である。
That is, it is also possible to select a plurality of types of paper having different printable lengths depending on the number of lines on one page and the vertical size of the character pattern.

また、前記実施例では、複数種の用紙印字可能幅をそれ
ぞれ固定値とし、例えば第3図のフローチャート中では
5インチ、8インチとの大小関係を比較しているが、使
用している各々の用紙サイズを周知の光学的手段又は機
械的手段にて検出し、その値と印字データの幅とを比較
するように構成しても良い。
In addition, in the above embodiment, the printable width of multiple types of paper is set to a fixed value, and for example, in the flowchart of FIG. 3, the size relationship is compared with 5 inches and 8 inches. The paper size may be detected by a well-known optical means or mechanical means, and the detected value may be compared with the width of print data.

〔効 果〕〔effect〕

以上説明したように本発明によれば、入力された文字コ
ード等のデータ量即ち印字画面のサイズに応じて最適な
サイズの用紙を選択使用するので、印字データの欠如や
用紙に対する画面サイズの小さすぎ等のアンバランスを
招くことなく、常に適切な用紙サイズにて印字できる印
字装置或いは記録装置を提供できる。
As explained above, according to the present invention, the optimal size of paper is selected and used according to the amount of data such as input character codes, that is, the size of the printing screen. It is possible to provide a printing device or a recording device that can always print on an appropriate paper size without causing imbalance such as overprinting.

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

第1図は、従来の記録装置による印字例を示す図。 第2図は、本発明の記録装置の一実施例についてその中
のデータの流れを示すブロック図、第3図は、第2図の
実施例における用紙選択のフローチャートである。 図中、203は印字部、205〜207は用紙供給部、
210は用紙選択制御部である。 (の
FIG. 1 is a diagram showing an example of printing by a conventional recording device. FIG. 2 is a block diagram showing the flow of data in an embodiment of the recording apparatus of the present invention, and FIG. 3 is a flowchart of paper selection in the embodiment of FIG. In the figure, 203 is a printing unit, 205 to 207 are paper supply units,
210 is a paper selection control section. (of

Claims (1)

【特許請求の範囲】[Claims] 入力されたコードデータに対応したパターンを発生する
パターン発生手段と、発生したパターンを記録材に記録
する記録部とを有する記録装置において、複数サイズの
記録材を選択して供給する供給手段を備え、記録すべき
パターンの横方向または縦方向の少なくとも一方の長さ
をパラメータとして前記供給手段から特定サイズの記録
材を選択して供給することを特徴とする記録装置。
A recording device having a pattern generation means for generating a pattern corresponding to input code data and a recording section for recording the generated pattern on a recording material, the recording device comprising a supply means for selecting and supplying recording materials of a plurality of sizes. . A recording apparatus, characterized in that a recording material of a specific size is selected and supplied from the supplying means using at least one of the horizontal and vertical lengths of the pattern to be recorded as a parameter.
JP60220582A 1985-10-02 1985-10-02 Recording device Pending JPS6279142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60220582A JPS6279142A (en) 1985-10-02 1985-10-02 Recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60220582A JPS6279142A (en) 1985-10-02 1985-10-02 Recording device

Publications (1)

Publication Number Publication Date
JPS6279142A true JPS6279142A (en) 1987-04-11

Family

ID=16753229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60220582A Pending JPS6279142A (en) 1985-10-02 1985-10-02 Recording device

Country Status (1)

Country Link
JP (1) JPS6279142A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02128873A (en) * 1988-11-09 1990-05-17 Nec Corp Printer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02128873A (en) * 1988-11-09 1990-05-17 Nec Corp Printer device

Similar Documents

Publication Publication Date Title
JPS60234856A (en) Recording apparatus
JPH0876644A (en) Image recorder
EP0680199A2 (en) Image processing apparatus and method
US4953033A (en) Image forming apparatus for forming images by use of fonts
JPH0930054A (en) Bar code printing apparatus
JPS6279142A (en) Recording device
EP0273738B1 (en) Printer with erasing function
JPS6280081A (en) Recorder
JPS60129266A (en) Line printing system for dot printer
US6345875B1 (en) Field programmable print control
JPH05155124A (en) Color printer
JPH07314737A (en) Printing device and its control method
JPH0825313B2 (en) Print control device
JPH0470155B2 (en)
JP3066191B2 (en) Printing method by thermal printer
JP2637858B2 (en) Method and apparatus for controlling character arrangement position
JP2984156B2 (en) Recording method and apparatus
US7177048B2 (en) N-channel screening tool
JP2514428B2 (en) Output control method and device
JP2989827B2 (en) Document processing device
EP0143995A2 (en) Dot-matrix printer
JPS61202852A (en) Recorder
JPS60203476A (en) Recorder
JPH07287477A (en) Image forming device
JPS6158770A (en) Printing device