JPH0524301A - Automatic selection of paper in printer - Google Patents

Automatic selection of paper in printer

Info

Publication number
JPH0524301A
JPH0524301A JP3184453A JP18445391A JPH0524301A JP H0524301 A JPH0524301 A JP H0524301A JP 3184453 A JP3184453 A JP 3184453A JP 18445391 A JP18445391 A JP 18445391A JP H0524301 A JPH0524301 A JP H0524301A
Authority
JP
Japan
Prior art keywords
size
paper
printer
printing
print
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
JP3184453A
Other languages
Japanese (ja)
Inventor
Yoshiichi Takeuchi
宣一 武内
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3184453A priority Critical patent/JPH0524301A/en
Publication of JPH0524301A publication Critical patent/JPH0524301A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To start printing as it is without paying attention to the size of paper to be printed by a user, to alter a printing position without altering data and to automatically perform magnification and contraction in matching relation to indicated paper without requiring magnification and contraction using a copy after printing. CONSTITUTION:By the judgment at the point of time when the data from a host computer is converted to an intermediate code or the data of one page is arranged, the smallest paper coinciding with a size is selected and, from the difference between the size of the selected paper and the size of the paper selected by a user and a printing position, the printing position is calculated according to left shifting, centering or right shifting by addition and subtraction. Further, the aspect ratio of the size of the indicated paper and that of the size of a printing region are calculated and the smaller ratio is selected to automatically perform magnification and contraction.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ペ−ジプリンタにおい
て、ユ−ザが用紙サイズに気をとられることなくプリン
トが可能な用紙の自動選択方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of automatically selecting a paper in a page printer, which allows the user to print without being concerned about the paper size.

【0002】[0002]

【従来の技術】従来のペ−ジプリンタ、例えば、静電プ
リンタの場合、ファクシミリではB4判ないしA5判、
コンピュ−タ出力の場合は16ないし18インチサイズ
が各々の最大用紙幅であるが、画像処理や漢字処理の分
野では、さらに大きな記録を必要とする場合がある。静
電記録の場合、高品質の大画面出力を比較的簡単に実現
できるので、既に20,22,24,36,42および
72インチ型の装置が実用化されている。しかし、自動
的にこれらのサイズを切り替える装置は見当らない。ま
た、インパクトプリンタでは、ハガキのような厚い用紙
を使いたいとき、または逆に辞書のような薄い用紙を使
いたいときには、選択範囲が狭くなってしまう。スプロ
ケット孔が邪魔な場合には、印字の後に切り離すのか、
最初から孔のない用紙を使用うのかのいずれにするか
で、選択が限定される。また、プリントの後にカ−ボン
を剥がす手間を、専用機で剥がすか、カ−ボン紙を使わ
ないか、コピ−数だけ何度も印字させるかを決定する必
要がある。なお、プリンタの用紙選択については、例え
ば、『電子科学』1978,4月号、昭和53年4月1日産報出版
発行、pp.14〜17,pp.67〜73に記載されている。
2. Description of the Related Art In the case of a conventional page printer, for example, an electrostatic printer, a B4 or A5 size facsimile is used.
In the case of computer output, the maximum paper width is 16 to 18 inches, but in the fields of image processing and kanji processing, larger recording may be required. In the case of electrostatic recording, high-quality large-screen output can be realized relatively easily, so that 20, 22, 24, 36, 42 and 72-inch type devices have already been put to practical use. However, there is no device that automatically switches between these sizes. Further, in the impact printer, when it is desired to use a thick paper such as a postcard or conversely to use a thin paper such as a dictionary, the selection range becomes narrow. If the sprocket hole is in the way, cut it off after printing,
The choice is limited by whether to use paper without holes from the beginning. In addition, it is necessary to decide whether to remove the carbon after printing with a special machine, to use no carbon paper, or to print as many times as the number of copies. Note that the paper selection of the printer is described, for example, in "Electronic Science", 1978, April issue, April 1, 1978, published by Kobunsho, pp.14-17, pp.67-73.

【0003】[0003]

【発明が解決しようとする課題】従来、プリンタにおい
て印字しようとする場合、複数の用紙が手操作により選
択できるようなプリンタでは、ユ−ザが確認を忘れたた
め、A4判で出力するつもりが、B4判、A3判のサイ
ズで印字したり、あるいは逆にA3で出力するつもりが
A4判のサイズで印字するという例が多く起っている。
また、用紙のサイズが合致していても、ホストコンピュ
−タ側との設定の違いにより、用紙上の印字位置がずれ
て印字され、文章の途中で読み取れなくなることも多く
起っていた。このように、従来のペ−ジプリンタにおい
ては、用紙を選択する場合、ユ−ザによりセットされた
ものをそのまま使用したり、ホストコンピュ−タからの
用紙切り替え命令やユ−ザの設定により切り替えてい
た。また、自動用紙選択機能が設けられているもので
も、完全に自動的に用紙を選択できる訳ではなく、他の
供紙装置から同サイズのものを選択する程度の機能であ
った。なお、この種の印字では、正式な書類でない限
り、例えばリストを出力したい場合や、画面に出力され
ているデ−タを印字したい場合のように、正確な位置に
印字するよりも、多少の位置ずれがあっても全てのデ−
タが完全に印字されていれば良い場合も多い。本発明の
目的は、このような従来の課題を解決し、単純ミスをな
くして、ユ−ザが用紙サイズを気にせずに、正しい用紙
サイズで印字することが可能なプリンタの自動用紙選択
方法を提供することにある。
Conventionally, when a printer is used to print, a printer in which a plurality of paper sheets can be manually selected has the intention that the user forgets the confirmation, so that the output is A4. There are many examples of printing in B4 size and A3 size, or conversely, printing in A4 size while intending to output in A3 size.
In addition, even if the paper size is the same, the print position on the paper is misaligned and printed due to the difference in setting from the host computer side, and it is often impossible to read in the middle of a sentence. As described above, in the conventional page printer, when the paper is selected, the paper set by the user can be used as it is, or the paper can be switched by the paper switching command from the host computer or the setting of the user. Was there. Further, even if the automatic paper selection function is provided, it is not possible to select the paper completely automatically, and it is a function of selecting the paper of the same size from other paper supply devices. It should be noted that this type of printing requires a little more printing than an accurate position, such as when you want to output a list or when you want to print the data output on the screen, unless it is an official document. Even if there is misalignment, all data
In many cases, it is sufficient if the data is completely printed. SUMMARY OF THE INVENTION An object of the present invention is to solve such a conventional problem, eliminate a simple mistake, and allow a user to print with a correct paper size without worrying about the paper size. To provide.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、本発明によるプリンタの自動用紙選択方法は、
(イ)上位のホストコンピュ−タから送られてきた印字
デ−タを、印字文字、拡大・縮小、強調文字、傾斜の情
報を含めた中間コ−ドに変換し、中間コ−ドをバッファ
メモリに記憶して、印字するペ−ジプリンタにおいて、
中間コ−ドへの変換時点ないしペ−ジメモリに1ペ−ジ
分のデ−タを揃えた時点で、印刷に必要なサイズを算出
し、算出したサイズより大きな用紙の中で最も小さい用
紙を選択することに特徴がある。また、(ロ)算出処理
により選択されたサイズとユ−ザが指定した用紙サイズ
の差分と印字位置より、左寄せ、センタリングまたは右
寄せに従って、左寄せの場合には最小印字位置をオフセ
ットとして、センタリングの場合には差分の1/2を、
右寄せの場合には差分をオフセットとして、それぞれ中
間コ−ドの印字位置情報に加算または減算することによ
り、実際の印字位置を求めることにも特徴がある。さら
に、(ハ)算出処理により選択された用紙サイズに合わ
せて、実印字領域サイズを拡大、縮小できるように、用
紙の横縦サイズと実印字領域の横縦サイズの比をそれぞ
れ求め、求めた比の小さい方を選択して、その比だけ実
印字領域を拡大、縮小することにも特徴がある。
In order to achieve the above object, an automatic paper selection method for a printer according to the present invention comprises:
(B) Converts the print data sent from the host computer to an intermediate code that includes information on the printed characters, enlargement / reduction, emphasized characters, and inclination, and buffers the intermediate code. In a page printer that stores in memory and prints,
The size required for printing is calculated at the time of conversion to the intermediate code or at the time when one page of data is prepared in the page memory, and the smallest size of paper larger than the calculated size is calculated. There is a feature in selecting. (B) From the difference between the size selected by the calculation process and the paper size specified by the user and the print position, according to left alignment, centering, or right alignment, in the case of left alignment, the minimum print position is used as an offset, and in the case of centering Is 1/2 of the difference,
In the case of right alignment, the difference is used as an offset, and the actual print position is obtained by adding or subtracting to the print position information of the intermediate code. Further, the ratio between the horizontal and vertical size of the paper and the horizontal and vertical size of the actual print area is calculated and calculated so that the actual print area size can be enlarged or reduced according to the paper size selected by the (c) calculation process. Another feature is that one with a smaller ratio is selected and the actual print area is enlarged or reduced by that ratio.

【0005】[0005]

【作用】本発明においては、上位のホストコンピュ−タ
から送られてきた印字デ−タを、印字文字、拡大、縮小
等の種別、強調文字、傾斜等の情報を含めた中間コ−ド
に変換し、その変換時点ないしペ−ジメモリに1ペ−ジ
分のデ−タを揃えた時点で、印刷に必要なサイズより大
きな用紙の中で最も小さい用紙を選択する。また、選択
されたサイズとユ−ザが指定した用紙サイズの差分と印
字位置より、左寄せ、センタリングまたは右寄せに従っ
て、左寄せの場合には最小印字位置をオフセットとし
て、センタリングの場合には差分の1/2を、右寄せの
場合には差分をオフセットとして、中間コ−ドの印字位
置情報に加算または減算することにより、実際の印字位
置を求める。さらに、ユ−ザが指定した用紙サイズに合
わせて拡大、縮小できるように、用紙の横縦サイズと実
印字領域の横縦サイズの比をそれぞれ求め、そのうちの
小さい方を選択して拡大、縮小処理を行う。これによ
り、ユ−ザはこれから印字しようとするデ−タの用紙サ
イズを気にせずに、直ちに印刷を開始できるとともに、
印字位置の変換も自動的に行い、かつ指定した用紙に合
わせて自動的に拡大、縮小処理を行うことができる。
In the present invention, the print data sent from the host computer of the upper level is converted into an intermediate code including information such as print characters, types of enlargement and reduction, emphasized characters, and inclination. At the time of conversion and at the time of conversion or when one page of data is stored in the page memory, the smallest paper among the paper larger than the size required for printing is selected. Also, according to the difference between the selected size and the paper size specified by the user and the print position, the minimum print position is used as an offset for left alignment, centering, or right alignment, and 1 / of the difference for centering. When 2 is right-justified, the difference is used as an offset to add or subtract to the print position information of the intermediate code to obtain the actual print position. In addition, calculate the ratio of the horizontal and vertical size of the paper to the horizontal and vertical size of the actual print area so that the user can enlarge or reduce the size according to the paper size specified by the user, and select the smaller one to enlarge or reduce. Perform processing. This allows the user to start printing immediately without worrying about the paper size of the data to be printed.
The print position can be automatically converted, and the enlargement / reduction processing can be automatically performed according to the designated paper.

【0006】[0006]

【実施例】以下、本発明の実施例を、図面により詳細に
説明する。図1は、本発明の一実施例を示す用紙選択方
法の説明図であり、図2は、中間コ−ド表と印字用紙上
の印字位置を示す図である。ペ−ジプリンタのコントロ
−ラとしては、プロセッサコントロ−ル方式が採用され
る場合が多く、この利点は、製品上に要求される機能仕
様の殆んどが内部に組込まれるプログラム(ファ−ムウ
ェア)により造り込まれていることである。換言する
と、このプログラムを変更することにより、機能仕様を
変更することが可能であり、従来のワイヤ−ドロジック
のコントロ−ラに比べてはるかに大きな柔軟性を備えて
いる。プリンタコントロ−ラが上位のホストコンピュ−
タから印字デ−タを受信し、1ペ−ジ単位に印字を行う
ペ−ジプリンタにおいては、印字速度や方式(パ−シャ
ルビットマップ/フルビットマップ)、あるいはエラ−
時のバックアップの関係等から、中間コ−ドを使用して
いる場合が多い。中間コ−ドは、図2(a)に示すよう
に、設定される。すなわち、ホストコンピュ−タから送
られてきた印字コ−ドは、プリンタコントロ−ラにおい
て、コントロ−ラに接続されたプリンタに適合する文字
情報、拡大率、その他の属性を決定する中間コ−ドに変
換される。ここで、X,Yは印字位置を示し、CODE
(DATA)は印字する文字、拡大率、強調印字、傾
斜、およびその他の情報が設定されている様子を示して
いる。プリンタコントロ−ラがこの中間コ−ドに変換す
る時点で、印字位置や文字の大きさからその時点での必
要な用紙の大きさを記憶しておく。または、1ペ−ジの
デ−タが揃った時点で印字位置や文字の大きさを調べる
ことにより、必要な用紙サイズを求める。そして、求め
られたこの用紙サイズより大きな用紙のうち、使用され
ている中の最も小さな用紙を選択し、その用紙をセット
して印字する。図2(b)では、印字位置(X,Y)の
移る範囲を示している。横書きの場合には、印字位置
X,Yが、用紙上をX=0,Y=0から(1,0)
(2,0)(3,0)・・・・・と順次1ラインを形成
するように移って行き、ラインフィ−ドした後、(1,
1)(2,1)(3,1)・・・・と移って行くことに
なる。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is an explanatory view of a paper selection method showing an embodiment of the present invention, and FIG. 2 is a view showing an intermediate code table and print positions on a print paper. In many cases, a processor control system is adopted as a controller of a page printer, and this advantage is that a program (firmware) in which most of the functional specifications required for a product are incorporated is used. ) Is built in. In other words, it is possible to change the functional specifications by changing this program, and it has much greater flexibility than the conventional wired logic controller. A printer controller is a host computer with a higher rank
In a page printer that receives print data from a printer and prints in page units, the print speed, method (partial bit map / full bit map), or error
In many cases, an intermediate code is used because of the backup relationship. The intermediate code is set as shown in FIG. That is, the print code sent from the host computer is an intermediate code for determining character information, enlargement ratio and other attributes suitable for the printer connected to the controller in the printer controller. Is converted to. Here, X and Y indicate print positions, and CODE
(DATA) indicates that characters to be printed, enlargement ratio, emphasized printing, inclination, and other information are set. At the time when the printer controller converts this intermediate code, the required paper size at that time is stored from the print position and the size of the character. Alternatively, the required paper size is obtained by checking the print position and the size of the character when the data of one page is completed. Then, of the papers larger than the obtained paper size, the smallest paper in use is selected, and the paper is set and printed. FIG. 2B shows the range in which the print position (X, Y) moves. In the case of horizontal writing, the print positions X and Y change from X = 0, Y = 0 to (1,0) on the paper.
(2,0) (3,0) ... to move to form one line in sequence, and after line feeding, (1,
1) (2, 1) (3, 1) ...

【0007】図1は、本発明の一実施例を示すプリンタ
の用紙選択方法の説明図である。図1において、点線は
印字文字、実線は各用紙の大きさである。図では、左寄
せの場合を示しており、A4判、B4判、およびA3判
の大きさの用紙が左端を基点にそれぞれ重ねられたペ−
ジメモリ上に設定されている。重ねられたペ−ジメモリ
上をユ−ザが指定した大きさの用紙上にコントロ−ラが
設定した文字の大きさ、拡大または縮小率で印字すべき
文字コ−ドを位置決めしていく。印字文字を順次位置決
めしていった場合、A4判の境界を越えた文字があれ
ば、B4判のサイズが選択され、B4判の境界を越えた
文字があれば、A3判のサイズが選択される。図1の場
合、B4判のサイズの用紙が選択されることになる。ま
た、求めたサイズとユ−ザにより指定された用紙の差分
と印字位置から、左寄せの場合には最小印字位置をオフ
セットとして、センタリングの場合には差分の1/2
を、右寄せの場合には差分をオフセットとして、それぞ
れ中間コ−ドの印字位置情報(X,Y)に加算(減算)
することにより、選択された用紙上の印字位置決めを行
うことができる。すなわち、ユ−ザが指定した用紙上に
文字を印字する場合、プリンタコントロ−ラで中間コ−
ドに変換されると、文字の拡大または縮小の指定、およ
び強調印字等により指定された用紙からはみ出す場合
や、指定された用紙より小さく収まってしまう場合が生
じてくる。従って、文字列が収容される最小の用紙を選
択するとともに、選択された用紙上で左寄せ、センタリ
ング、または右寄せにより、最適なフォ−マットを設定
する。また、求めたサイズとユ−ザにより指定された用
紙との比をとって、中間コ−ドの位置情報と拡大率にそ
の比を乗ずることにより、その用紙サイズに合わせた印
字が可能となる。そして、その時に許容される比の範囲
を設定することにより、極端な拡大、縮小を避けること
ができる。
FIG. 1 is an explanatory view of a paper selection method of a printer showing an embodiment of the present invention. In FIG. 1, the dotted line is the print character and the solid line is the size of each sheet. In the figure, the case of left alignment is shown. A4 size, B4 size, and A3 size sheets are stacked on the left end as a reference point.
It is set on the memory. On the overlapped page memory, the character code to be printed is positioned on the paper of the size designated by the user with the character size and the enlargement or reduction ratio set by the controller. When printing characters are sequentially positioned, if there is a character that exceeds the A4 size boundary, the B4 size is selected, and if there is a character that exceeds the B4 size boundary, the A3 size is selected. It In the case of FIG. 1, B4 size paper is selected. In addition, from the obtained size and the difference between the paper and the print position specified by the user, the minimum print position is used as an offset in the case of left alignment, and half the difference in the case of centering
In the case of right alignment, the difference is used as an offset and added (subtracted) to the print position information (X, Y) of the intermediate code.
By doing so, the print positioning on the selected paper can be performed. That is, when printing characters on the paper specified by the user, the printer controller prints an intermediate copy.
When converted to text, the characters may be enlarged or reduced, and may be extruded from the specified paper by emphasizing printing, or may be smaller than the specified paper. Therefore, the optimum format is set by selecting the smallest sheet in which the character string is accommodated and by left-aligning, centering, or right-aligning on the selected sheet. Further, by taking the ratio of the obtained size and the paper designated by the user and multiplying the position information of the intermediate code and the enlargement ratio by the ratio, it is possible to print in accordance with the paper size. .. Then, by setting the range of the ratio allowed at that time, it is possible to avoid extreme expansion and contraction.

【0008】図3は、本発明により左寄せ、センタリン
グ、および右寄せを行った場合の例を示す図である。図
3において、点線で示した部分が実印字領域であり、実
線が用紙を示している。また、aは左方向スペ−ス、b
は右方向スペ−スを示す。ある文字の印字位置をX,Y
とすると、左寄せの場合には、印字位置を(X−a,
Y)に、センタリングの場合には、印字位置を(X+
(b−a)/2,Y)に、右寄せの場合には、印字位置
を(X+b,Y)に、それぞれ変換することになる。
FIG. 3 is a diagram showing an example in which left alignment, centering, and right alignment are performed according to the present invention. In FIG. 3, the portion indicated by the dotted line is the actual print area, and the solid line indicates the paper. Also, a is a leftward space, b
Indicates a rightward space. The print position of a character is X, Y
Then, in the case of left alignment, the print position is (Xa,
In the case of centering in (Y), set the print position to (X +
(Ba) / 2, Y), and in the case of right alignment, the print position is converted to (X + b, Y).

【0009】図4は、本発明により、実印字領域を用紙
サイズに合わせて拡大、縮小を行う例を示す図である。
図4の(a)(b)(c)において、点線で示した部分
が実印字領域であり、実線で示す部分は指定された用紙
である。この場合には、指定された用紙に合わせて、実
印字領域を拡大または縮小し、指定用紙の範囲内に印字
する。図4(a)の場合には、実印字領域が用紙のサイ
ズより大きくはみ出しているため、文字を縮小して用紙
に収容できるようにする。(b)の場合には実印字領域
が用紙のサイズより小さい範囲に収まっているので、文
字を拡大して用紙に適合した範囲に印字できるようにす
る。すなわち、図4(c)のように、それぞれ文字を拡
大または縮小することにより、用紙に合致した大きさの
位置に印字させる。なお、点線の実印字領域の大きさは
1×b1であり、用紙の大きさはa2×b2で表わしてい
る。これらの場合、拡大、縮小率はともに、横方向のサ
イズ比a2/a1,縦方向のサイズ比b2/b1のうち、い
ずれか小さい方が選択される。例えば、指定された用紙
がB4判(257×364mm)で、実印字領域が32
1×404mmである場合には、横方向のa2/a1
0.8、縦方向のb2/b1=0.9であるから、小さい
方の横方向の比率a2/a1=0.8が選択され、この比
率で縮小される。また、拡大、縮小をいくつかの値に限
定して、求めた比率を越えないような最大の値を使用す
ることもできる。例えば、上述の値のときに、0.5を
上限値としているときには、たとえ縮小率が0.8にな
った場合でも0.5の縮小率で実印字範囲を縮小する。
このようにして、図4(c)に示すように、指定された
用紙サイズa2×b2の範囲に収まるように拡大、縮小す
ることにより、印字を実行する。
FIG. 4 is a diagram showing an example in which the actual print area is enlarged or reduced according to the paper size according to the present invention.
In FIGS. 4A, 4B, and 4C, the portion indicated by the dotted line is the actual print area, and the portion indicated by the solid line is the designated paper. In this case, the actual print area is enlarged or reduced according to the designated paper, and printing is performed within the range of the designated paper. In the case of FIG. 4A, since the actual print area is larger than the size of the paper, the characters are reduced so that they can be stored on the paper. In the case of (b), since the actual print area is within the range smaller than the size of the paper, the characters are enlarged so that printing can be performed within the range suitable for the paper. That is, as shown in FIG. 4C, by enlarging or reducing the character, the character is printed at a position corresponding to the size of the paper. The size of the actual printing area indicated by the dotted line is a 1 × b 1 and the size of the paper is a 2 × b 2 . In these cases, the smaller one of the horizontal size ratio a 2 / a 1 and the vertical size ratio b 2 / b 1 is selected for the enlargement and reduction ratios. For example, the specified paper is B4 size (257 x 364 mm) and the actual print area is 32.
In the case of 1 × 404 mm, a 2 / a 1 in the lateral direction =
Since 0.8 and b 2 / b 1 = 0.9 in the vertical direction, the smaller horizontal ratio a 2 / a 1 = 0.8 is selected, and this ratio is reduced. It is also possible to limit the enlargement and reduction to some values and use the maximum value that does not exceed the obtained ratio. For example, when the above value is 0.5 and the upper limit value is 0.5, the actual printing range is reduced at the reduction rate of 0.5 even if the reduction rate becomes 0.8.
In this way, as shown in FIG. 4C, printing is executed by enlarging and reducing the size of the sheet so that it fits within the specified paper size a 2 × b 2 .

【0010】[0010]

【発明の効果】以上説明したように、本発明によれば、
(イ)ホストコンピュ−タからの印字デ−タにより用紙
が自動的に選択されるので、ユ−ザはこれから印字する
デ−タの用紙サイズを気にせずに最適なサイズの用紙に
印字することができる。また、(ロ)選択された用紙サ
イズに対して、左寄せ、センタリング、または右寄せに
より、自動的に印字位置を変更することができる。さら
に、(ハ)ホストコンピュ−タからのデ−タを指定した
用紙サイズに合わせて拡大、または縮小するので、デ−
タの変更やデ−タを作成し直すことなく、また一旦印字
した物をコピ−等により拡大、縮小することも不要とな
る。
As described above, according to the present invention,
(A) Since the paper is automatically selected by the print data from the host computer, the user can print on the optimum size paper without worrying about the paper size of the data to be printed. be able to. Further, (b) the print position can be automatically changed by left-aligning, centering, or right-aligning the selected paper size. Furthermore, (c) the data from the host computer is enlarged or reduced according to the specified paper size.
There is no need to change the data or recreate the data, and to enlarge or reduce the once printed matter by copying or the like.

【0011】[0011]

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

【図1】本発明の第1の実施例を示す用紙選択方法の説
明図である。
FIG. 1 is an explanatory diagram of a paper selection method according to a first embodiment of the present invention.

【図2】本発明で用いられる中間コ−ドの設定と文字の
印字位置を示す図である。
FIG. 2 is a diagram showing settings of intermediate codes and print positions of characters used in the present invention.

【図3】本発明の第2の実施例を示す左寄せ、センタリ
ングまたは右寄せに合わせた変換方法の説明図である。
FIG. 3 is an explanatory diagram of a conversion method for left alignment, centering, or right alignment according to the second embodiment of the present invention.

【図4】本発明の第3の実施例を示す用紙に合わせたデ
−タの拡大、縮小方法の説明図である。
FIG. 4 is an explanatory diagram of a method of enlarging and reducing data according to a sheet according to a third embodiment of the present invention.

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

X X方向座標の印字位置 Y Y方向座標の印字位置 a 左方向スペ−ス b 右方向スペ−ス a1,b1 実印字領域の横縦方向サイズ a2,b2 用紙の横縦方向サイズX X coordinate printing position Y Y coordinate printing position a Left space b Right space a 1 , b 1 Horizontal and vertical size of actual print area a 2 , b 2 Horizontal and vertical size of paper

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 上位のホストコンピュ−タから送られて
きた印字デ−タを、印字文字、拡大・縮小、強調文字、
傾斜の情報を含めた中間コ−ドに変換し、該中間コ−ド
をバッファメモリに記憶して、印字するペ−ジプリンタ
において、上記中間コ−ドへの変換時点ないしペ−ジメ
モリに1ペ−ジ分のデ−タを揃えた時点で、印刷に必要
なサイズを算出し、算出したサイズより大きな用紙の中
で最も小さい用紙を選択することを特徴とするプリンタ
の自動用紙選択方法。
1. The print data sent from a host computer is used as print characters, enlargement / reduction, emphasized characters,
In a page printer for converting to an intermediate code including inclination information, storing the intermediate code in a buffer memory and printing, 1 at the conversion time to the intermediate code or in the page memory. An automatic paper selection method for a printer, wherein the size required for printing is calculated at the time when the data for the pages are prepared, and the smallest paper is selected from the papers larger than the calculated size.
【請求項2】 請求項1に記載されたプリンタの自動用
紙選択方法において、上記算出処理により選択されたサ
イズとユ−ザが指定した用紙サイズの差分と印字位置よ
り、左寄せ、センタリングまたは右寄せに従って、左寄
せの場合には最小印字位置をオフセットとして、センタ
リングの場合には差分の1/2を、右寄せの場合には差
分をオフセットとして、それぞれ中間コ−ドの印字位置
情報に加算または減算することにより、実際の印字位置
を求めることを特徴とするプリンタの自動用紙選択方
法。
2. The automatic paper selection method for a printer according to claim 1, wherein the difference between the size selected by the calculation processing and the paper size designated by the user and the printing position are left-aligned, centered, or right-aligned. In the case of left alignment, the minimum print position is used as an offset, in the case of centering 1/2 of the difference is used, and in the case of right alignment, the difference is used as an offset, and the difference is added or subtracted from the print position information of the intermediate code. An automatic paper selection method for a printer characterized by obtaining the actual print position by
【請求項3】 請求項1または2に記載のプリンタの自
動用紙選択方法において、上記算出処理により選択され
た用紙サイズに合わせて、実印字領域サイズを拡大、縮
小できるように、用紙の横縦サイズと実印字領域の横縦
サイズの比をそれぞれ求め、求めた比の小さい方を選択
して、該比だけ実印字領域を拡大、縮小することを特徴
とするプリンタの自動用紙選択方法。
3. The automatic paper selection method for a printer according to claim 1, wherein the horizontal and vertical sides of the paper are arranged so that the actual print area size can be expanded or reduced according to the paper size selected by the calculation processing. An automatic paper selection method for a printer, characterized in that the ratio between the size and the horizontal and vertical sizes of the actual print area is obtained, the smaller one is selected, and the actual print area is enlarged or reduced by the ratio.
JP3184453A 1991-07-24 1991-07-24 Automatic selection of paper in printer Pending JPH0524301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3184453A JPH0524301A (en) 1991-07-24 1991-07-24 Automatic selection of paper in printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3184453A JPH0524301A (en) 1991-07-24 1991-07-24 Automatic selection of paper in printer

Publications (1)

Publication Number Publication Date
JPH0524301A true JPH0524301A (en) 1993-02-02

Family

ID=16153417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3184453A Pending JPH0524301A (en) 1991-07-24 1991-07-24 Automatic selection of paper in printer

Country Status (1)

Country Link
JP (1) JPH0524301A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05212934A (en) * 1992-02-05 1993-08-24 Nec Corp Cut paper page printer system and automatic contracting/ expanding printing method in said system
JPH06286222A (en) * 1993-04-01 1994-10-11 Star Micronics Co Ltd Printer
WO1997033219A1 (en) * 1996-03-04 1997-09-12 Copyer Co., Ltd. Image processor
JP2013152756A (en) * 1996-11-01 2013-08-08 Seiko Epson Corp Printer control device, method thereof and recording medium
US8659788B2 (en) 2008-06-18 2014-02-25 Seiko Epson Corporation Reduced printing width printer, printer control method, and operation control method
JP2014203217A (en) * 2013-04-03 2014-10-27 シャープ株式会社 Image forming system and image forming method
US11167362B2 (en) 2016-06-23 2021-11-09 Keuro Besitz Gmbh & Co. Edv-Dienstleistungs Kg Sawblade for a circular saw, method for producing a sawblade, and circular sawing machine

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05212934A (en) * 1992-02-05 1993-08-24 Nec Corp Cut paper page printer system and automatic contracting/ expanding printing method in said system
JPH06286222A (en) * 1993-04-01 1994-10-11 Star Micronics Co Ltd Printer
WO1997033219A1 (en) * 1996-03-04 1997-09-12 Copyer Co., Ltd. Image processor
US6266455B1 (en) 1996-03-04 2001-07-24 Copyer Co. Ltd. Image processor
JP2013152756A (en) * 1996-11-01 2013-08-08 Seiko Epson Corp Printer control device, method thereof and recording medium
US8659788B2 (en) 2008-06-18 2014-02-25 Seiko Epson Corporation Reduced printing width printer, printer control method, and operation control method
JP2014203217A (en) * 2013-04-03 2014-10-27 シャープ株式会社 Image forming system and image forming method
US11167362B2 (en) 2016-06-23 2021-11-09 Keuro Besitz Gmbh & Co. Edv-Dienstleistungs Kg Sawblade for a circular saw, method for producing a sawblade, and circular sawing machine

Similar Documents

Publication Publication Date Title
US20050179925A1 (en) Information processing apparatus and method
US8749832B2 (en) Information processing device
JPH0524301A (en) Automatic selection of paper in printer
JPH04357065A (en) Document processing apparatus
US20110157634A1 (en) Printing process device, printing process method, and computer readable storage medium storing printing process program
US6687019B1 (en) Device and method of printing data in multiple copies
US10255007B2 (en) Image processing machine
JPH05238094A (en) Page printer and its controller
JP2006209249A (en) Controller, system, control program for image output and recording medium recorded with image output control program
US7046388B1 (en) Printing system
JP3559783B2 (en) Multifunction device and control method for multifunction device
JP3343280B2 (en) Image forming storage device
JPH0245218B2 (en)
JPH0712720B2 (en) Output device
JPH0441275A (en) Printing device
JPH0773167A (en) Word processor
JPH0447512B2 (en)
JP3339917B2 (en) Image forming storage device
JPH089245B2 (en) Character processor
KR100547154B1 (en) Printing method
JP2001125765A (en) Original printer and recording medium with recorded original print program
JP4730359B2 (en) Printing device
JPH0315579A (en) Printing apparatus
JPS61156087A (en) System of correcting and editing expanded/reduced character
JP2007208780A (en) Image forming apparatus