JPH08179906A - Printer device - Google Patents
Printer deviceInfo
- Publication number
- JPH08179906A JPH08179906A JP6321917A JP32191794A JPH08179906A JP H08179906 A JPH08179906 A JP H08179906A JP 6321917 A JP6321917 A JP 6321917A JP 32191794 A JP32191794 A JP 32191794A JP H08179906 A JPH08179906 A JP H08179906A
- Authority
- JP
- Japan
- Prior art keywords
- paper
- print data
- expansion position
- size
- paper size
- 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
Links
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】
【目的】 A4版用の印刷データをB4の用紙の例えば
中央部分に印刷可能なように、印刷データの用紙番号と
プリンタ装置にセットされた用紙とが一致しない場合で
も見易い状態で印刷可能にすること。
【構成】 印刷データに付随する用紙サイズとプリンタ
装置にセットされた用紙のサイズが異なる場合における
印刷可能な組み合わせを保持する特殊帳票テーブル11
と、この特殊帳票テーブル11に登録された組み合わせ
に該当する場合にビットマップメモリ8上の展開位置情
報が保持された第2の展開位置テーブル6と、第1の展
開位置テーブル5と前記第2の展開位置テーブル6の出
力を切り換える展開位置テーブル切換手段12を具備す
る。これにより前記特殊帳票テーブル11に登録された
印刷可能な組み合わせの場合、印刷データに付随する用
紙サイズとプリンタ装置にセットされた用紙のサイズが
異なる場合でも印刷できる。
(57) [Abstract] [Purpose] The print data for A4 size can be printed on, for example, the central portion of the B4 paper, so that it is easy to see even if the paper number of the print data and the paper set in the printer do not match. To be able to print in a state. [Configuration] A special form table 11 that holds a printable combination when the size of the paper attached to the print data and the size of the paper set in the printer device are different
And a second expansion position table 6 in which expansion position information on the bit map memory 8 is held when a combination registered in the special form table 11 is met, a first expansion position table 5, and the second expansion position table 6. The expansion position table switching means 12 for switching the output of the expansion position table 6 of FIG. Thus, in the case of a printable combination registered in the special form table 11, printing can be performed even if the size of the paper attached to the print data and the size of the paper set in the printer are different.
Description
【0001】[0001]
【産業上の利用分野】本発明は、例えばA版サイズのカ
ット用紙でもB版サイズのカット用紙でも印刷すること
ができるA版B版両用プリンタ装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an A-plate / B-plate printer which can print, for example, both A-plate and B-plate cut sheets.
【0002】[0002]
【従来の技術】従来我が国では印刷物のサイズがB版を
使用することが多かった。しかし外国の印刷物はA版で
あり、ホワイトカラーの生産性を高めるため印刷物のサ
イズを統一することが進行している。2. Description of the Related Art Conventionally, in Japan, the B plate is often used as the size of printed matter. However, foreign printed matter is version A, and uniformized sizes of printed matter are being promoted in order to improve white color productivity.
【0003】我が国における事務能率が外国に比べて低
い点が指摘されているが、その要因の1つとして我が国
の企業や官公庁において使用されていた帳票が、A版と
B版が混在、例えばA4版と、B4版又はB5版が混在
して用いられていることが挙げられている。このような
混在の結果、書類のファイリングの際に事務機器、什器
類にA系・B系の2種類が必要となる等の非効率性が生
じていた。It has been pointed out that the office work efficiency in Japan is lower than that in foreign countries. One of the reasons for this is that the forms used by Japanese companies and government agencies are mixed A and B versions, for example A4. It is mentioned that the plate and the B4 plate or the B5 plate are mixed and used. As a result of such mixing, inefficiencies have arisen, such as the need for two types of office equipment and fixtures, A type and B type, when filing documents.
【0004】この非効率を改善するため、官公庁で使用
される書類を将来的にはA4版で統一することが決定し
ており、従来使用されてきたB4又はB5の帳票をA4
に変更することが行われている。In order to improve this inefficiency, it has been decided that documents used in government offices will be unified in A4 version in the future, and the previously used B4 or B5 forms will be A4.
Is being changed to.
【0005】しかしながら、既に購入済みのB4サイズ
の用紙をA4系への切換えと同時に廃却することは省資
源の観点からみて許されることではない。またB4用紙
が無くなる時期に合わせて一斉に切換えを行うことも考
えられるが、複数の事務所を持つ企業ではこの用紙がな
くなる時期もばらばらのため、A4系の帳票への移行を
スムースに進めるための対策が必要となる。However, from the viewpoint of resource saving, it is not allowed to dispose of B4 size paper which has already been purchased at the same time as switching to the A4 system. It is also possible to switch all at once when the B4 paper runs out, but in companies with multiple offices, the paper runs out at different times, so we can move smoothly to A4 forms. Measures are required.
【0006】従来のA版、B版両用プリンタ装置を図6
について説明する。図6において、30はプリンタ装
置、31は用紙カセット、32は用紙サイズ検出部、3
3は展開位置テーブル、34は印刷データ保持部、35
は用紙比較部、36はビットマップメモリ展開部、37
はビットマップメモリ、38は検索部、39はマルチプ
レクサである。図では、展開位置テーブル33〜ビット
マップメモリ37がプリンタ装置30の外部にあるよう
に記載されているが、実際はこれらは全部プリンタ装置
30の内部にあり、各部の状態をわかり易く説明するた
めこれらを外に記載したものである。FIG. 6 shows a conventional printer device for both A and B versions.
Will be described. In FIG. 6, 30 is a printer device, 31 is a paper cassette, 32 is a paper size detector, and 3 is a paper size detector.
3 is a development position table, 34 is a print data holding unit, 35
Is a paper comparison unit, 36 is a bitmap memory expansion unit, 37
Is a bitmap memory, 38 is a search unit, and 39 is a multiplexer. In the figure, the expansion position table 33 to the bit map memory 37 are described as being outside the printer device 30, but in reality, they are all inside the printer device 30, and these are shown in order to explain the state of each part in an easy-to-understand manner. It is listed outside.
【0007】印刷データ保持部34には帳票に印刷すべ
きデータである印刷データ34−1と、A4とかB4の
如き、これを印刷すべき用紙番号34−2が記載されて
いる。プリンタ装置30にはカット用紙が格納されてい
る用紙カセット31が装置されており、プリンタ装置3
0は用紙サイズ検出部32によりこの用紙カセット31
内の用紙サイズを検出している。In the print data holding section 34, print data 34-1, which is data to be printed on a form, and paper numbers 34-2, such as A4 and B4, on which this should be printed are described. The printer device 30 is equipped with a paper cassette 31 that stores cut paper.
0 indicates that the paper size is detected by the paper size detector 32.
The paper size inside is detected.
【0008】展開位置テーブル33には、印刷データ3
4−1をビットマップメモリ37上に展開するときのそ
の展開位置を示す座標位置が、左端、上端、右端、下端
と用紙サイズを示す用紙番号と対応して記入されてい
る。In the expansion position table 33, the print data 3
Coordinate positions indicating the developed position when 4-1 is expanded on the bit map memory 37 are entered in correspondence with the left edge, the upper edge, the right edge, the lower edge and the sheet number indicating the sheet size.
【0009】用紙カセット31は用紙サイズ毎に専用の
もので構成されているので、プリンタ装置30に用紙カ
セット31がセットされたとき、用紙サイズ検出部32
がこの用紙カセット31をチェックしてそのカット用紙
サイズを検出し、用紙比較部35と、マルチプレクサ3
9を経由して検索部38にこれを通知する。Since the paper cassette 31 is constructed for each paper size, when the paper cassette 31 is set in the printer device 30, the paper size detecting section 32 is used.
Checks the paper cassette 31 to detect the cut paper size, and the paper comparison unit 35 and the multiplexer 3
This is notified to the search unit 38 via 9.
【0010】一方用紙比較部35には、印刷データ保持
部34から、印刷データ34−1に付随する用紙番号3
4−2が印加されており、前記用紙サイズ検出部32か
ら出力された用紙カセット31の用紙サイズと一致した
とき、用紙比較部35は、一致信号を出力し、そのとき
検索部38がその用紙番号に対応する展開位置テーブル
33のエントリーを検索して、展開位置テーブル33よ
り出力されるその左端、上端、右端、下端のデータに基
づきビットマップメモリ展開部36が前記印刷データ3
4−1をビットマップメモリ37に展開し、これにより
用紙カセット31に収納されたカット用紙に対し所定の
印刷が行われる。On the other hand, in the paper comparison unit 35, from the print data holding unit 34, the paper number 3 attached to the print data 34-1
4-2 is applied, and when the paper size of the paper cassette 31 output from the paper size detection unit 32 matches, the paper comparison unit 35 outputs a match signal, and at that time, the search unit 38 outputs the paper. The entry in the expansion position table 33 corresponding to the number is searched, and the bitmap memory expansion unit 36 causes the print data 3 to be output based on the left end, upper end, right end, and lower end data output from the expansion position table 33.
4-1 is expanded in the bit map memory 37, and the predetermined printing is performed on the cut paper stored in the paper cassette 31.
【0011】しかし用紙比較部35で比較の結果、印刷
データ34−1に付随する用紙番号34−2と用紙サイ
ズ検出部32から出力された用紙カセット31の用紙番
号が異なる場合には、用紙比較部35は上位機構にこの
用紙サイズ違いを通知し、誤った用紙に印刷されないよ
うに制御される。However, as a result of the comparison in the paper comparison unit 35, when the paper number 34-2 accompanying the print data 34-1 and the paper number of the paper cassette 31 output from the paper size detection unit 32 are different, the paper comparison is performed. The section 35 notifies the upper mechanism of this difference in paper size, and is controlled so that the wrong paper is not printed.
【0012】オペレータはこの用紙サイズ違いの通知を
受けたとき、この用紙カセット31を印刷データ34−
1に付属した用紙番号34−2の用紙番号の用紙カセッ
トと交換し、用紙比較部35から一致信号が出力するよ
うに処理することになる。When the operator is informed of the difference in the paper size, the operator stores the paper data in the paper cassette 31.
The sheet cassette of the sheet number 34-2 attached to the sheet No. 1 is replaced, and processing is performed so that the coincidence signal is output from the sheet comparison unit 35.
【0013】[0013]
【発明が解決しようとする課題】このような従来の装置
において、用紙の節約のため、例えばA4の印刷データ
をB4の用紙に印刷することが要求される場合、オペレ
ータは、例えばスイッチの操作により制御信号を出力し
て用紙比較部35の比較動作を無効化し、印刷データ3
4−1に付随した用紙番号34−2と用紙サイズ検出部
32が出力した用紙カセット31の用紙番号とが一致し
なくとも用紙カセット31に格納された用紙に印刷デー
タ34−1を印刷させる。In such a conventional apparatus, when it is required to print the print data of A4 on the paper of B4 in order to save the paper, the operator operates the switch, for example. A control signal is output to invalidate the comparison operation of the paper comparison unit 35, and the print data 3
Even if the paper number 34-2 associated with 4-1 does not match the paper number of the paper cassette 31 output by the paper size detection unit 32, the print data 34-1 is printed on the paper stored in the paper cassette 31.
【0014】この場合、印刷データ34−1に付随した
用紙番号34−2がマルチプレクサ39を経由して検索
部38に伝達されるので、この用紙番号34−2に基づ
き、展開位置テーブル33を検索することになるので、
例えばA4の印刷データをB4の用紙に印刷する場合、
即ち印刷データ34−1に付随した用紙番号34−2が
A4であり、用紙カセット31の用紙番号がB4の場
合、展開位置はA4のものが使用されるので、上下左右
のどちらかに片寄った印刷位置になる。しかも用紙比較
部35の動作を停止させるために逆にB4の印刷データ
をA4の用紙に印刷するという誤った動作が行われ、帳
票が切れる可能性もある。In this case, since the paper number 34-2 attached to the print data 34-1 is transmitted to the search unit 38 via the multiplexer 39, the expansion position table 33 is searched based on this paper number 34-2. I will do so
For example, when printing A4 print data on B4 paper,
That is, when the sheet number 34-2 attached to the print data 34-1 is A4 and the sheet number of the sheet cassette 31 is B4, the developing position is A4, so the sheet is deviated to the left, right, up, or down. The print position is reached. Moreover, in order to stop the operation of the paper comparison unit 35, an erroneous operation of printing the print data of B4 on the paper of A4 is performed, and the form may be cut.
【0015】従って本発明の目的は、前記の如き問題点
を改善したA版B版両用プリンタ装置を提供することで
ある。Therefore, an object of the present invention is to provide an A-version / B-version dual-purpose printer device in which the above problems are improved.
【0016】[0016]
【課題を解決するための手段】前記目的を達成するた
め、本発明では、図1に示す如く、特殊帳票テーブル1
1を設けて、印刷データに付随した用紙番号と、この印
刷データが印刷可能な他の用紙番号の組み合わせを記入
する。例えばA4の用紙番号に印刷すべき印刷データを
B4のカット用紙に印刷可能にするとき、特殊帳票テー
ブル11に用紙番号A4と用紙サイズ、B4をペアで登
録する。図1の場合は、この外に、B4の印刷データを
A3のカット用紙に印刷する場合、B5の印刷データを
A4の用紙に印刷する場合がこの特殊帳票テーブル11
に記入された例を示す。In order to achieve the above-mentioned object, in the present invention, as shown in FIG.
1 is provided and the combination of the paper number attached to the print data and another paper number on which this print data can be printed is entered. For example, when the print data to be printed on the A4 paper number can be printed on the B4 cut paper, the paper number A4, the paper size, and B4 are registered as a pair in the special form table 11. In the case of FIG. 1, in addition to this, the special form table 11 is used when printing the print data of B4 on the cut paper of A3 and when printing the print data of B5 on the paper of A4.
Here is an example filled in.
【0017】そしてこの特殊帳票テーブル11に記入さ
れたエントリーに対応してそのカット用紙上の印刷位置
を示す左端、上端、右端、下端が記入された第2展開位
置テーブル6が設けられている。A second development position table 6 in which the left end, the upper end, the right end, and the lower end, which indicate the printing positions on the cut sheet, are provided corresponding to the entries entered in the special form table 11, is provided.
【0018】またプリンタ装置1には用紙カセット2に
収納されたカット用紙のサイズを検出する用紙サイズ検
出部3、印刷データ4−1及びこれに付随した用紙番号
4−2が保持される印刷データ保持部4、図6に示す従
来の展開位置テーブル33と同じ機能を有する第1展開
位置テーブル5、ビットマップメモリ展開部7、ビット
マップメモリ8、用紙比較部9、用紙サイズエラー抑止
部10、展開位置テーブル切換部12、検索部13、1
4、15、16等が設けられている。Further, the printer device 1 holds print data including a paper size detector 3 for detecting the size of the cut paper stored in the paper cassette 2, print data 4-1 and a paper number 4-2 attached to the print data 4-1. Holding unit 4, first expansion position table 5 having the same function as the conventional expansion position table 33 shown in FIG. 6, bitmap memory expansion unit 7, bitmap memory 8, paper comparison unit 9, paper size error suppression unit 10, Expansion position table switching unit 12, search unit 13, 1
4, 15, 16 and the like are provided.
【0019】[0019]
【作用】印刷データ4−1をそれに付随した用紙番号4
−2に指示された用紙に印刷する場合、例えばA4用の
印刷データをA4の用紙に印刷するとき、用紙サイズエ
ラー抑止部10及び展開位置テーブル切換部12は図1
に示す実線状態にある。Operation: The print data 4-1 is attached to the paper number 4
-2, for example, when printing print data for A4 on A4 paper, the paper size error suppression unit 10 and the expansion position table switching unit 12 are shown in FIG.
It is in the solid line state shown in.
【0020】先ず特殊帳票テーブル11を参照して、印
刷データ4−1に付随した用紙番号4−2と、用紙サイ
ズ検出部3から通知された用紙カセット2の用紙番号と
の組み合わせが、この特殊帳票テーブル11に登録され
ているか否か検出する。例えば用紙番号A4−A4の組
み合わせが登録されているか否かチェックするが、この
ような組み合わせは登録されていないので、用紙サイズ
エラー抑止部10及び展開位置テーブル切換部12は、
図1に示す実線状態のままである。First, referring to the special form table 11, the combination of the paper number 4-2 attached to the print data 4-1 and the paper number of the paper cassette 2 notified from the paper size detecting section 3 is the special combination. It is detected whether or not it is registered in the form table 11. For example, it is checked whether or not a combination of paper numbers A4 to A4 is registered. However, since such a combination is not registered, the paper size error suppression unit 10 and the expansion position table switching unit 12 are
The solid line state shown in FIG. 1 remains.
【0021】従って、用紙比較部9は、印刷データ保持
部4から印刷データ4−1に付随する用紙番号4−2
と、用紙サイズ検出部3から出力された用紙カセット2
の用紙サイズを示す用紙番号とが一致していると通知し
プリンタ装置1は動作する。Therefore, the paper comparison unit 9 outputs the paper number 4-2 from the print data holding unit 4 to the print data 4-1.
And the paper cassette 2 output from the paper size detection unit 3.
The printer device 1 operates by notifying that the paper number indicating the paper size of No. 1 is matched.
【0022】このとき、検索部13が第1展開位置テー
ブル5をアクセスしてその用紙番号に対応する第1展開
位置テーブル5の左端、上端、右端、下端のデータを展
開位置テーブル切換部12を経由してビットマップメモ
リ展開部7に伝達する。これにもとづき、ビットマップ
メモリ展開部7が前記印刷データ4−1をビットマップ
メモリ8に展開し、これにより用紙カセット2に収納さ
れたカット用紙に対し所定の印刷が行われる。At this time, the retrieval unit 13 accesses the first expansion position table 5 and outputs the data of the left end, the upper end, the right end and the lower end of the first expansion position table 5 corresponding to the sheet number to the expansion position table switching unit 12. It is transmitted to the bit map memory expansion unit 7 via. Based on this, the bit map memory expanding section 7 expands the print data 4-1 into the bit map memory 8, and the predetermined printing is performed on the cut paper stored in the paper cassette 2.
【0023】しかし用紙比較部9で比較の結果、印刷デ
ータ4−1に付随する用紙番号4−2と用紙サイズ検出
部3から出力された用紙カセット2の用紙番号が一致し
ないとき、用紙比較部9はプリンタ装置1にこの用紙サ
イズ違いを通知し、プリンタ装置1はオペレータにこれ
を表示等により通知する。オペレータはこの用紙違いの
通知を受けたとき、用紙カセット2を印刷データ4−1
に付随した用紙番号4−2と一致したものに交換するこ
とになる。However, as a result of the comparison in the paper comparison unit 9, when the paper number 4-2 accompanying the print data 4-1 does not match the paper number of the paper cassette 2 output from the paper size detection unit 3, the paper comparison unit Reference numeral 9 notifies the printer device 1 of the difference in paper size, and the printer device 1 notifies the operator of this difference by displaying or the like. When the operator is notified of the difference in the paper, the operator sets the paper cassette 2 to the print data 4-1.
Will be replaced with a paper number that matches the paper number 4-2 attached to.
【0024】ところでA4の印刷データをB4の用紙に
印刷する場合、用紙カセット2はB4用のものがセット
されるので、印刷データ4−1に付随する用紙番号4−
2はA4を示し、用紙サイズ検出部3の出力する用紙番
号はB4を示しており、特殊帳票テーブル11を参照の
結果このA4−B4の組み合わせが登録されているの
で、今度は用紙サイズエラー抑止部10と帳票位置テー
ブル切換部12に対し一致信号が印加され、これらの接
続状態は点線状態に切換え制御される。By the way, when printing the print data of A4 on the paper of B4, the paper cassette 2 for B4 is set, so that the paper number 4-attached to the print data 4-1 is set.
2 indicates A4, and the paper number output by the paper size detection unit 3 indicates B4. As a result of referring to the special form table 11, this combination of A4-B4 is registered, so this time suppressing the paper size error. A coincidence signal is applied to the unit 10 and the form position table switching unit 12, and the connection state of these is controlled to be switched to the dotted line state.
【0025】これにより用紙比較部9は2つの入力信号
がいずれも用紙サイズ検出部3から出力された同一の用
紙番号、例えばB4が入力されるので、用紙比較部9は
一致信号を出力する。As a result, the paper comparing section 9 receives the same input paper number, for example, B4, which is output from the paper size detecting section 3 as the two input signals, so the paper comparing section 9 outputs a coincidence signal.
【0026】このとき第2展開位置テーブル6が前記特
殊帳票テーブル11に連動して読み出され、例えば特殊
帳票テーブルの第1行で前記組み合わせが一致したとき
はその第1行が読み出され、これが展開位置テーブル切
換部12を経由してビットマップメモリ展開部7に伝達
される。At this time, the second expansion position table 6 is read in conjunction with the special form table 11 and, for example, when the combination matches in the first line of the special form table, the first line is read, This is transmitted to the bitmap memory expansion unit 7 via the expansion position table switching unit 12.
【0027】第2展開位置テーブルの第1行には、A4
の印刷データをB4の用紙に印刷するときの、B4の用
紙における左端、上端、右端、下端の各座標位置が記入
されているので、これらにもとづき印刷データ4−1
が、ビットマップメモリ展開部7によりビットマップメ
モリ8に展開され、B4の用紙の所定の位置に、A4の
印刷データを印刷することができる。In the first row of the second expansion position table, A4
When the print data of B is printed on the sheet of B4, the coordinate positions of the left edge, the upper edge, the right edge, and the lower edge of the B4 sheet are entered.
Is expanded in the bitmap memory 8 by the bitmap memory expansion unit 7, and the print data of A4 can be printed at a predetermined position on the paper of B4.
【0028】またB4の印刷データをA4の印刷用紙に
印刷しようとしても、このような組み合わせは特殊帳票
テーブル11には記載されていないので、誤って印刷さ
れることはない。Even if the print data of B4 is to be printed on the print paper of A4, such a combination is not described in the special form table 11 and therefore is not erroneously printed.
【0029】[0029]
【実施例】本発明の一実施例を図2〜図4に基づき説明
する。図2は本発明の一実施例構成図、図3は本発明に
おける第1展開位置テーブル、特殊帳票テーブル、第2
展開位置テーブルの構成状態説明図、図4は本発明にお
ける一実施例の動作説明図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a first expansion position table, a special form table, and a second
FIG. 4 is an explanatory diagram of a configuration state of the expansion position table, and FIG. 4 is an operation explanatory diagram of an embodiment of the present invention.
【0030】図2において、他図と同一記号は同一部を
示し、1はプリンタ装置、2は用紙カセット、3は用紙
サイズ検出部、4は印刷データ保持部、5は第1展開位
置テーブル、6は第2展開位置テーブル、7はビットマ
ップメモリ展開部、8はビットマップメモリ、9は用紙
比較部、10は用紙サイズエラー抑止部、11は特殊帳
票テーブル、12は展開位置テーブル切換部、13、1
4、15、16はそれぞれ検索部、21はマイクロプロ
セッサ、22はフラグを示す。In FIG. 2, the same symbols as those in the other drawings indicate the same parts, 1 is a printer device, 2 is a paper cassette, 3 is a paper size detecting part, 4 is a print data holding part, 5 is a first expansion position table, 6 is a second expansion position table, 7 is a bitmap memory expansion unit, 8 is a bitmap memory, 9 is a paper comparison unit, 10 is a paper size error suppression unit, 11 is a special form table, 12 is an expansion position table switching unit, 13, 1
Reference numerals 4, 15, and 16 respectively denote a search unit, 21 denotes a microprocessor, and 22 denotes a flag.
【0031】プリンタ装置1は印刷データ4−1を用紙
カセット2に格納されたカット用紙に印刷するものであ
る。用紙カセット2はカット用紙が格納されるものであ
って用紙サイズ毎に専用の用紙カセットが使用される。The printer device 1 prints the print data 4-1 on the cut paper stored in the paper cassette 2. The sheet cassette 2 stores cut sheets, and a dedicated sheet cassette is used for each sheet size.
【0032】用紙サイズ検出部3は、プリンタ装置1に
セットされた用紙カセット2の用紙サイズを検出するも
のである。印刷データ保持部4は、用紙カセット2に格
納された用紙に対してプリンタ装置1により印刷すべき
データである印刷データ4−1とこの印刷データ4−1
を印刷すべき用紙サイズを示す用紙番号4−2が記入さ
れている。The paper size detector 3 detects the paper size of the paper cassette 2 set in the printer device 1. The print data holding unit 4 includes print data 4-1 which is data to be printed by the printer 1 on the paper stored in the paper cassette 2 and the print data 4-1.
A paper number 4-2 indicating the paper size to be printed is entered.
【0033】第1展開位置テーブル5は、図6に示す従
来例の展開位置テーブル33と同様のものであって、用
紙サイズに対応してビットマップメモリ8上の展開位置
である座標位置が、左端、上端、右端、下端として記入
されている。図3(A)はこの第1展開位置テーブル5
の詳細を示し、M行のサイズの例を示す。例えば用紙サ
イズ(1)はB5、用紙サイズ(2)はA4、用紙サイ
ズ(3)はB4を示す。The first expansion position table 5 is similar to the expansion position table 33 of the conventional example shown in FIG. 6, and the coordinate position which is the expansion position on the bit map memory 8 corresponding to the paper size is It is filled in as the left edge, top edge, right edge, and bottom edge. FIG. 3A shows the first expanded position table 5
And the example of the size of M rows. For example, the paper size (1) indicates B5, the paper size (2) indicates A4, and the paper size (3) indicates B4.
【0034】第2展開位置テーブル6は、印刷データ4
−1に付随する用紙番号で示される用紙サイズと、プリ
ンタ装置1にセットされている用紙カセット2に格納さ
れたカット用紙のサイズとが異なる組み合わせの場合に
おいて、この組み合わせで印刷が許容されている場合、
ビットマップメモリ8上に印刷データ4−1の展開位置
を示す左端、上端、右端、下端が記入されている。図3
(C)はこの第2展開位置テーブル6の詳細を示し、N
行のサイズの例を示す。例えば1行目はA4の印刷デー
タをB4のカット用紙に印刷するときの各展開位置の左
端、上端、右端、下端を示し、2行目はB4の印刷デー
タをA3のカット用紙に印刷するときの各展開位置の左
端、上端、右端、下端を示す。そしてこの各行のエント
リーは、後述する特殊帳票テーブル11の各行と対応し
ている。The second expansion position table 6 is used for the print data 4
In the case of a combination in which the paper size indicated by the paper number associated with -1 and the size of the cut paper stored in the paper cassette 2 set in the printer device 1 are different, printing is permitted by this combination. If
The left end, the upper end, the right end, and the lower end indicating the developed position of the print data 4-1 are written on the bitmap memory 8. FIG.
(C) shows the details of the second expanded position table 6, N
An example of line size is shown. For example, the first line indicates the left end, the upper end, the right end, and the lower end of each expansion position when printing the A4 print data on the B4 cut paper, and the second line indicates when the B4 print data is printed on the A3 cut paper. The left end, the upper end, the right end, and the lower end of each expanded position of are shown. The entry of each row corresponds to each row of the special form table 11 described later.
【0035】この第2展開位置テーブル6に記入される
展開位置情報は、用紙カセット2に格納された用紙の中
央部分に印刷され、周囲に余白を確保するようにその左
端、上端、右端、下端が記入されている。勿論これのみ
に限定されず、特定の位置に印刷するように構成するこ
とができる。The expansion position information entered in the second expansion position table 6 is printed on the central portion of the paper stored in the paper cassette 2, and its left end, upper end, right end, and lower end are secured so as to secure a margin around it. Is entered. Of course, the present invention is not limited to this, and it may be configured to print at a specific position.
【0036】ビットマップメモリ展開部7は、第1展開
位置テーブル5又は第2展開位置テーブル6より読み出
された展開位置にもとづき印刷データ4−1をビットマ
ップメモリ8に展開するものである。The bit map memory expansion unit 7 expands the print data 4-1 in the bit map memory 8 based on the expansion position read from the first expansion position table 5 or the second expansion position table 6.
【0037】ビットマップメモリ8は、プリンタ装置1
により用紙カセット2内に格納されたカット用紙上に印
刷されるべきビット情報が展開されるものである。用紙
比較部9は、2つの入力端から入力された用紙番号、用
紙サイズ等が一致するか比較するものである。The bitmap memory 8 is used for the printer device 1.
The bit information to be printed on the cut paper stored in the paper cassette 2 is expanded by. The paper comparison unit 9 is for comparing whether the paper numbers, paper sizes, and the like input from the two input ends match.
【0038】用紙サイズエラー抑止部10は前記用紙比
較部9に入力される一方のデータを印刷データ4−1に
付随した用紙番号4−2にするか前記用紙サイズ検出部
3から出力された用紙サイズにするのか選択するもので
ある。最初は前記用紙番号4−2を用紙比較部9に選択
出力するが、後述するように、特殊帳票テーブル11に
予め登録されている用紙番号と用紙サイズの組み合わせ
のとき、前記用紙サイズ検出部3から入力された用紙サ
イズを用紙比較部9に選択出力するものである。The paper size error suppression unit 10 uses one of the data input to the paper comparison unit 9 as the paper number 4-2 attached to the print data 4-1 or the paper output from the paper size detection unit 3. It is something to choose whether to make it size. Initially, the paper number 4-2 is selectively output to the paper comparison unit 9, but as will be described later, when the combination of the paper number and the paper size registered in the special form table 11 in advance, the paper size detection unit 3 is used. The paper size input from is selected and output to the paper comparison unit 9.
【0039】特殊帳票テーブル11は、印刷データ4−
1に付随した用紙番号と、プリンタ装置1にセットされ
ている用紙カセット2に格納されたカット用紙の用紙サ
イズが異なる場合において、プリンタ装置1で印刷可能
な組み合わせを示すものである。図3(B)はこの特殊
帳票テーブル11の詳細を示し、N行のサイズの例を示
す。例えば1行目の用紙番号(1)はA4を、用紙サイ
ズ(1)はB4を示し、2行目の用紙番号(2)はB4
を、用紙サイズ(2)はA3を示している。そして特殊
帳票テーブル11と第2展開位置テーブル6は、各行対
応に連動して検索される。The special form table 11 includes print data 4-
1 shows combinations that can be printed by the printer device 1 when the paper number associated with 1 and the paper size of the cut paper stored in the paper cassette 2 set in the printer device 1 are different. FIG. 3B shows the details of the special form table 11 and shows an example of the size of N rows. For example, the paper number (1) on the first line is A4, the paper size (1) is B4, and the paper number (2) on the second line is B4.
And the paper size (2) is A3. Then, the special form table 11 and the second expansion position table 6 are searched in association with each row.
【0040】印刷位置テーブル切換部12は第1展開位
置テーブル5から出力されるビットマップメモリ8に対
する展開位置データと、特殊帳票テーブルと連動して第
2展開位置テーブル6から出力されるビットマップメモ
リ8に対する展開位置データとをビットマップメモリ展
開部7に切換出力するものである。最初は第1展開位置
テーブル5から出力される展開位置データを選択出力す
るが、前記特殊帳票テーブル11に予め登録されている
用紙番号と用紙サイズの組み合わせのとき、前記第2展
開位置テーブル6から出力される展開位置データを選択
出力するものである。The printing position table switching unit 12 outputs the expansion position data for the bitmap memory 8 output from the first expansion position table 5 and the bitmap memory output from the second expansion position table 6 in conjunction with the special form table. The expansion position data for 8 are switched and output to the bit map memory expansion section 7. Initially, the expansion position data output from the first expansion position table 5 is selectively output, but when the combination of the paper number and the paper size registered in advance in the special form table 11 is used, the expansion position data is output from the second expansion position table 6. The output position data to be output is selectively output.
【0041】検索部13は、第1展開位置テーブル5の
用紙サイズの項目を順次検索して、用紙サイズ検出部3
から出力された用紙サイズがこれに登録されているか否
かを検出するものである。The retrieving unit 13 sequentially retrieves the paper size item in the first expansion position table 5, and the paper size detecting unit 3
It is to detect whether or not the paper size output from is registered in this.
【0042】検索部14は特殊帳票テーブル11の用紙
番号の項目を順次検索して、印刷データ4−1に付随し
た用紙番号がこれに登録されているか否かを検出するも
のである。The retrieval unit 14 sequentially retrieves the sheet number item in the special form table 11 to detect whether or not the sheet number associated with the print data 4-1 is registered therein.
【0043】検索部15は特殊帳票テーブル11の用紙
サイズの項目を、前記検索部14と連動して順次検索し
て、用紙サイズ検出部3から出力された用紙サイズがこ
れに登録されているか否かを検出するものである。The search unit 15 sequentially searches the paper size item of the special form table 11 in cooperation with the search unit 14, and determines whether the paper size output from the paper size detection unit 3 is registered therein. It is to detect that.
【0044】検索部16は第2展開位置テーブルの各項
目を、前記検索部14と連動して読み出し、その左端、
上端、右端、下端の各データを展開位置テーブル切換部
12に出力するものである。The search unit 16 reads each item of the second expanded position table in conjunction with the search unit 14, and reads the left end of the item.
The upper end, right end, and lower end data are output to the expansion position table switching unit 12.
【0045】マイクロプロセッサ21は、プリンタ装置
1を制御するものであり、例えば後述する図4、図5に
示す如き制御動作を行うものである。マイクロプロセッ
サ21は前記検索部14、15が連動して特殊帳票テー
ブル11の同一行を検索して得られた用紙番号と用紙サ
イズの組み合わせが印刷データ4−1に付随した用紙番
号4−2と用紙サイズ検出部3の出力した用紙サイズと
一致したとき、フラグ22をオンにする。これに基づ
き、用紙サイズエラー抑止部10及び展開位置テーブル
切換部12がそれぞれ点線状態に切換え制御され、用紙
サイズエラー抑止部10は用紙比較部9に対し用紙サイ
ズ検出部3から入力された用紙サイズを送出し、用紙サ
イズエラー抑止動作を行う。またビットマップメモリ展
開部7に対しては、第2展開位置テーブル6から読み出
された展開位置が送出される。The microprocessor 21 controls the printer device 1 and performs a control operation as shown in FIGS. 4 and 5, which will be described later. In the microprocessor 21, the combination of the paper number and the paper size obtained by searching the same line of the special form table 11 in cooperation with the search units 14 and 15 is the paper number 4-2 attached to the print data 4-1. When the paper size detected by the paper size detection unit 3 matches, the flag 22 is turned on. Based on this, the paper size error suppression unit 10 and the expansion position table switching unit 12 are each controlled to be switched to the dotted line state, and the paper size error suppression unit 10 instructs the paper comparison unit 9 to input the paper size input from the paper size detection unit 3. Is sent and the paper size error suppression operation is performed. Further, the expansion position read from the second expansion position table 6 is sent to the bitmap memory expansion unit 7.
【0046】次に図2の本発明の一実施例の動作を図4
に示すフローチャートに基づき説明する。図2におい
て、上位機構から印刷データ保持部4に印刷データ4−
1と用紙番号4−2が記入されたとき、プリンタ装置1
に対し上位機構から起動信号が送出される。これにより
プリンタ装置1が起動され、図4に示す動作を行う。Next, the operation of the embodiment of the present invention shown in FIG. 2 will be described with reference to FIG.
It will be described based on the flowchart shown in FIG. In FIG. 2, the print data 4-
1 and the paper number 4-2 are entered, the printer device 1
A start signal is sent from the upper mechanism to the. As a result, the printer device 1 is activated and the operation shown in FIG. 4 is performed.
【0047】(1)用紙比較部9は印刷データ4−1に
付随した用紙番号4−2と、プリンタ装置1にセットさ
れた用紙カセット2に格納されたカット用紙を示す用紙
サイズ検出部3から入力された用紙サイズとを比較す
る。(1) The paper comparing unit 9 detects the paper number 4-2 attached to the print data 4-1 and the paper size detecting unit 3 indicating the cut paper stored in the paper cassette 2 set in the printer 1. Compare the entered paper size.
【0048】(2)用紙比較部9において、これら用紙
番号と用紙サイズとが一致すれば、用紙比較部9はプリ
ンタ装置1のマイクロプロセッサ21に対して一致信号
を出力する。(2) If the paper number and the paper size match in the paper comparison unit 9, the paper comparison unit 9 outputs a match signal to the microprocessor 21 of the printer device 1.
【0049】(3)これによりマイクロプロセッサ21
は、検索部13に対し第1展開位置テーブル5の用紙サ
イズの項を上より順次検索させる。 (4)マイクロプロセッサ21は、検索部13のこの検
索により、第1展開位置テーブル5において、用紙サイ
ズ検出部3から伝達された用紙サイズが検出されたか否
かをチェックする。(3) As a result, the microprocessor 21
Causes the search unit 13 to sequentially search for the item of paper size in the first development position table 5 from the top. (4) The microprocessor 21 checks whether or not the paper size transmitted from the paper size detection unit 3 is detected in the first expansion position table 5 by this search of the search unit 13.
【0050】(5)マイクロプロセッサ21は、この用
紙サイズが第1展開位置テーブル5の用紙サイズの項に
おいて検出されたとき、この検出された用紙サイズと同
一の行の展開位置、即ち左端、上端、右端、下端を出力
させ、展開位置テーブル切換部12を経由してビットマ
ップメモリ展開部7にこれらを送出する。(5) When this paper size is detected in the paper size section of the first development position table 5, the microprocessor 21 develops positions on the same line as the detected paper size, that is, the left end and the top end. , The right end and the lower end are output, and these are sent to the bitmap memory expansion unit 7 via the expansion position table switching unit 12.
【0051】(6)ビットマップメモリ展開部7は、こ
れらの展開位置情報にもとづき印刷データ4−1をビッ
トマップメモリ8上に展開する。 (7)プリンタ装置1は、このビットマップメモリ8上
に展開された印刷データを、用紙カセット2に格納され
たカット用紙に対して印刷を実行する。このようにして
印刷実行したあと、マイクロプロセッサ21はこの印刷
結果を上位機構に報告し、印刷終了となる。(6) The bitmap memory expansion unit 7 expands the print data 4-1 on the bitmap memory 8 based on the expansion position information. (7) The printer device 1 prints the print data expanded on the bitmap memory 8 on the cut paper stored in the paper cassette 2. After the printing is executed in this way, the microprocessor 21 reports the printing result to the higher-level mechanism, and the printing ends.
【0052】(8)前記(4)において、第1展開位置
テーブル5より用紙サイズ検出部3から伝達された用紙
サイズが検出されないとき、マイクロプロセッサ21は
上位機構に対してエラー報告を行い、終了する。(8) In the above (4), when the paper size transmitted from the paper size detecting unit 3 is not detected from the first expansion position table 5, the microprocessor 21 reports an error to the upper mechanism and ends. To do.
【0053】(9)また、前記(2)において、用紙比
較部9における用紙番号と用紙サイズの比較結果が一致
しなかったとき、マイクロプロセッサ21は、特殊帳票
テーブル11を検索制御する。即ち、検索部14と15
を連動してこの特殊帳票テーブル11に記入されている
用紙番号と用紙サイズを1行ずつ順次読み出し、これら
が前記印刷データ4−1に付随した用紙番号4−2及び
用紙サイズ検出部3から出力された用紙サイズと一致す
るか否か検索する。(9) Further, in the above (2), when the comparison result of the paper number and the paper size in the paper comparing unit 9 does not match, the microprocessor 21 controls the search of the special form table 11. That is, the search units 14 and 15
The paper number and the paper size entered in the special form table 11 are sequentially read line by line, and these are output from the paper number 4-2 and the paper size detection unit 3 attached to the print data 4-1. It is searched whether it matches the specified paper size.
【0054】(10)一致項目があれば、この用紙番号
と用紙サイズの組み合わせは印刷可能なものとマイクロ
プロセッサ21は判断し、フラグ22をオンにする。 (11)それからマイクロプロセッサ21は用紙サイズ
エラー抑止部10を点線の状態に切換えるので、用紙比
較部9の2つの入力端にはいずれも用紙サイズ検出部3
から入力された同一の用紙サイズが入力されるので、用
紙比較部9は不一致を示す信号は出力せず、一致信号を
出力する。(10) If there is a matching item, the microprocessor 21 determines that this combination of paper number and paper size is printable, and turns on the flag 22. (11) Then, the microprocessor 21 switches the paper size error suppression unit 10 to the state of the dotted line, so that the paper size detection unit 3 is provided at each of the two input ends of the paper comparison unit 9.
Since the same paper size input from the above is input, the paper comparison unit 9 does not output the signal indicating the mismatch, but outputs the match signal.
【0055】(12)マイクロプロセッサ21は、ま
た、展開位置テーブル切換部12を点線の状態に切換え
る。 (13)これにより、前記検索部14、15と連動して
動作する検索部16により第2展開位置テーブル6が読
み出されて前記用紙番号と用紙サイズの組み合わせに応
じた展開位置、即ち左端、上端、右端、下端が展開位置
テーブル切換部12を経由してビットマップメモリ展開
部7にこれらを送出する。これにより前記(6)、
(7)と同じ処理が行われ、今度は第1展開位置テーブ
ル5の展開位置情報ではなく、その用紙番号と用紙サイ
ズの組み合わせに好適な展開フォーマットである第2展
開位置テーブル6より読み出された展開位置情報に基づ
き印刷が行われる。(12) The microprocessor 21 also switches the expansion position table switching unit 12 to the state indicated by the dotted line. (13) As a result, the second developing position table 6 is read by the searching unit 16 that operates in cooperation with the searching units 14 and 15, and the developing position corresponding to the combination of the paper number and the paper size, that is, the left end, The upper end, the right end, and the lower end are sent to the bitmap memory expansion unit 7 via the expansion position table switching unit 12. As a result, (6),
The same processing as (7) is performed, and this time, not the expansion position information of the first expansion position table 5, but the second expansion position table 6 which is the expansion format suitable for the combination of the paper number and the paper size is read. Printing is performed based on the expanded position information.
【0056】(14)前記(10)において、一致項目
がなければ、この用紙番号と用紙サイズの組み合わせで
は印刷できないものとマイクロプロセッサ21は判断
し、上位機構にエラー報告を行うことになる。(14) If there is no matching item in (10), the microprocessor 21 determines that printing cannot be performed with this combination of paper number and paper size, and reports an error to the host mechanism.
【0057】本発明の第2実施例の動作を図5に示すフ
ローチャートに基づき説明する。図2において、上位機
構から印刷データ保持部4に印刷データ4−1と用紙番
号4−2が記入されたとき、プリンタ装置1に対し上位
機構から起動信号が送出される。これによりプリンタ装
置1が起動され、図5に示す動作を行う。図4では先ず
用紙比較部9が動作を行ったが、図5に示す第2実施例
では、まず特殊帳票テーブル11が検索される。The operation of the second embodiment of the present invention will be described based on the flowchart shown in FIG. In FIG. 2, when the print data 4-1 and the sheet number 4-2 are written in the print data holding unit 4 from the upper mechanism, a start signal is sent from the higher mechanism to the printer device 1. As a result, the printer device 1 is activated and the operation shown in FIG. 5 is performed. In FIG. 4, the paper comparison unit 9 first operates, but in the second embodiment shown in FIG. 5, the special form table 11 is searched first.
【0058】(1)マイクロプロセッサ21は、先ず特
殊帳票テーブル11を検索制御する。即ち、検索部14
と15を連動して、特殊帳票テーブル11に記入されて
いる用紙番号と用紙サイズを1行ずつ順次読み出し、特
殊帳票テーブル11より読み出した用紙番号が印刷デー
タ4−1に付随した用紙番号と一致し、かつそのとき特
殊帳票テーブル11より読み出した用紙サイズが用紙サ
イズ検出部3から通知された用紙サイズと一致するか否
か検索する。(1) The microprocessor 21 first searches and controls the special form table 11. That is, the search unit 14
And 15 are linked, the paper number and the paper size entered in the special form table 11 are sequentially read line by line, and the paper number read from the special form table 11 is made to match the paper number attached to the print data 4-1. Then, it is searched whether or not the paper size read from the special form table 11 at that time matches the paper size notified from the paper size detection unit 3.
【0059】(2)これにより、特殊帳票テーブル11
から読み出した用紙番号と用紙サイズの組み合わせが、
印刷データ4−1に付随した用紙番号4−2と用紙サイ
ズ検出部3から通知された用紙サイズの組み合わせと一
致するか否か判断する。つまり特殊帳票テーブル11に
一致項目が存在するか否かをマイクロプロセッサ21は
判断する。一致項目があれば、この用紙番号と用紙サイ
ズの組み合わせは印刷可能なものと判断し、フラグ22
をオンにする。(2) As a result, the special form table 11
The combination of paper number and paper size read from is
It is determined whether or not the combination of the paper number 4-2 attached to the print data 4-1 and the paper size notified from the paper size detection unit 3 matches. That is, the microprocessor 21 determines whether or not there is a matching item in the special form table 11. If there is a matching item, it is determined that this combination of paper number and paper size is printable, and the flag 22
Turn on.
【0060】(3)それからマイクロプロセッサ21は
用紙サイズエラー抑止部10を点線の状態に切換えるの
で、用紙比較部9の2つの入力端にはいずれも用紙サイ
ズ検出部3から送出された同一の用紙サイズが入力さ
れ、用紙比較部9は不一致を示す信号は出力せず、一致
信号を出力する。(3) Then, the microprocessor 21 switches the paper size error suppression unit 10 to the state of the dotted line, so that the two paper inputs of the paper comparison unit 9 are the same paper sent from the paper size detection unit 3. The size is input, and the paper comparison unit 9 does not output a signal indicating inconsistency but outputs a coincidence signal.
【0061】(4)またマイクロプロセッサ21は、展
開位置テーブル切換部12を点線の状態に切換える。 (5)これにより、前記検索部14、15と連動して動
作する検索部16により、第2展開位置テーブル6が読
み出されて前記用紙番号と用紙サイズの組み合わせに応
じた展開位置、即ち左端、上端、右端、下端が展開位置
テーブル切換部12を経由してビットマップメモリ展開
部7にこれらを送出する。(4) Further, the microprocessor 21 switches the expansion position table switching section 12 to the dotted line state. (5) As a result, the search unit 16 that operates in conjunction with the search units 14 and 15 reads the second expansion position table 6 and expands the position corresponding to the combination of the paper number and the paper size, that is, the left end. , The upper end, the right end, and the lower end are sent to the bitmap memory expansion unit 7 via the expansion position table switching unit 12.
【0062】(6)ビットマップメモリ展開部7は、こ
れらの展開位置情報に基づき印刷データ4−1をビット
マップメモリ8上に展開する。 (7)プリンタ装置1は、このビットマップメモリ8上
に展開された印刷データを、用紙カセット2に格納され
たカット用紙に対して印刷を実行する。このように印刷
実行したあと、マイクロプロセッサ21はこの印刷結果
を上位機構に報告し、印刷終了となる。(6) The bitmap memory expansion unit 7 expands the print data 4-1 on the bitmap memory 8 based on the expansion position information. (7) The printer device 1 prints the print data expanded on the bitmap memory 8 on the cut paper stored in the paper cassette 2. After executing the printing in this way, the microprocessor 21 reports the printing result to the higher-level mechanism, and the printing ends.
【0063】(8)前記(2)において、一致項目がな
ければ、用紙サイズエラー抑止部10及び展開位置テー
ブル切換部12は切換られず、実線に示す状態にある。
従って用紙比較部9は印刷データ4−1に付随した用紙
番号4−2と、プリンタ装置1にセットされた用紙カセ
ット2に格納されたカット用紙を示す用紙サイズ検出部
3か入力された用紙サイズとを比較する。(8) If there is no matching item in (2), the paper size error suppression unit 10 and the expansion position table switching unit 12 are not switched and are in the state shown by the solid line.
Therefore, the paper comparison unit 9 receives the paper number 4-2 attached to the print data 4-1 and the paper size detection unit 3 indicating the cut paper stored in the paper cassette 2 set in the printer device 1 or the input paper size. Compare with.
【0064】(9)用紙比較部9において、これら用紙
番号と用紙サイズとが一致すれば、用紙比較部9はマイ
クロプロセッサ21に対して一致信号を出力する。 (10)これによりマイクロプロセッサ21は、検索部
13に対し第1展開位置テーブル5の用紙サイズの項を
例えば第1行より順次検索させる。(9) If the paper number and the paper size match in the paper comparison unit 9, the paper comparison unit 9 outputs a match signal to the microprocessor 21. (10) As a result, the microprocessor 21 causes the search unit 13 to sequentially search the item of the paper size of the first expansion position table 5 from the first line, for example.
【0065】(11)マイクロプロセッサ21は検索部
13のこの検索により、第1展開位置テーブル5におい
て、用紙サイズ検出部3から伝達された用紙サイズが検
出されたか否かをチェックする。(11) The microprocessor 21 checks whether or not the paper size transmitted from the paper size detection unit 3 is detected in the first expansion position table 5 by this search of the search unit 13.
【0066】(12)マイクロプロセッサ21は、この
用紙サイズ検出部3から伝達された用紙サイズが、第1
展開位置テーブル5の用紙サイズの項において検出され
たとき、この検出された用紙サイズと同一の行の展開位
置情報、即ち左端、上端、右端、下端を出力させ、展開
位置テーブル切換部12を経由してビットマップメモリ
展開部7にこれらを送出する。これにより前記(6)、
(7)と同じ処理が行われ、今度は第1展開位置テーブ
ル5から出力された展開位置情報にもとづき印刷が行わ
れる。(12) The microprocessor 21 determines that the paper size transmitted from the paper size detection unit 3 is the first
When it is detected in the paper size section of the expansion position table 5, the expansion position information of the same line as the detected paper size, that is, the left end, the upper end, the right end and the lower end is output, and is output via the expansion position table switching unit 12. Then, these are sent to the bitmap memory expansion unit 7. As a result, (6),
The same process as (7) is performed, and printing is performed based on the expansion position information output from the first expansion position table 5 this time.
【0067】(13)前記(11)において、第1展開
位置テーブル5の用紙サイズの項において、用紙サイズ
検出部3から伝達された用紙サイズが検出されなかった
とき、マイクロプロセッサ21は上位機構に対しエラー
報告を行う。(13) In (11), when the paper size transmitted from the paper size detecting unit 3 is not detected in the paper size section of the first expansion position table 5, the microprocessor 21 is set to the upper mechanism. Report an error.
【0068】(14)また前記(9)において、用紙比
較部9における用紙番号と用紙サイズとが一致しなけれ
ば用紙比較部9は上位機構に対してエラー報告を行う。
なおこのエラー報告は、マイクロプロセッサ21を通し
て行うこともできる。(14) Further, in (9), if the paper number and the paper size in the paper comparing unit 9 do not match, the paper comparing unit 9 reports an error to the upper mechanism.
It should be noted that this error report can also be made through the microprocessor 21.
【0069】図5に示す本発明の第2実施例によれば、
最初に特殊帳票テーブル11を検索するので、印刷デー
タに付随する用紙番号と、用紙カセット2に格納された
カット用紙の用紙サイズが異なる場合には、速やかに印
刷を行うことができる。According to the second embodiment of the present invention shown in FIG. 5,
Since the special form table 11 is searched first, when the paper number attached to the print data and the paper size of the cut paper stored in the paper cassette 2 are different, it is possible to print quickly.
【0070】前記説明ではカット用紙を使用した例につ
いて説明したが、本発明は勿論これのみに限定されるも
のではない。In the above description, an example in which cut paper is used has been described, but the present invention is not limited to this.
【0071】[0071]
【発明の効果】請求項1に記載された本発明によれば、
印刷データに付随して指定された用紙と、プリンタ装置
にセットされた用紙とのサイズが異なる場合でも特殊帳
票テーブルに登録された組み合わせのものについては、
利用し易い印刷位置で印刷することができる。According to the present invention described in claim 1,
Even if the size of the paper specified along with the print data and the size of the paper set in the printer are different, for the combinations registered in the special form table,
It is possible to print at a print position that is easy to use.
【0072】請求項2に記載された本発明によれば、用
紙比較部より不必要に用紙サイズエラー信号が出力され
ることを抑制することができる。請求項3に記載された
本発明によれば、印刷データに付随する用紙サイズより
も、プリンタ装置にセットされた用紙のサイズが大きな
場合でもプリンタ装置にセットされた用紙の略中央部分
に、周囲に余白を残しながら印刷することができる。According to the second aspect of the present invention, it is possible to suppress unnecessary output of the paper size error signal from the paper comparing section. According to the third aspect of the present invention, even if the size of the paper set in the printer is larger than the size of the paper attached to the print data, the periphery of the paper set in the printer is substantially centered. You can print while leaving a margin.
【図1】本発明の原理構成図を示す。FIG. 1 shows a principle configuration diagram of the present invention.
【図2】本発明の一実施例構成図を示す。FIG. 2 shows a configuration diagram of an embodiment of the present invention.
【図3】本発明における第1展開位置テーブル、特殊帳
票テーブル、第2展開位置テーブル説明図を示す。FIG. 3 is an explanatory diagram of a first expansion position table, a special form table, and a second expansion position table according to the present invention.
【図4】本発明の第1実施例の動作説明図を示す。FIG. 4 shows an operation explanatory diagram of the first embodiment of the present invention.
【図5】本発明の第2実施例の動作説明図を示す。FIG. 5 shows an operation explanatory diagram of the second embodiment of the present invention.
【図6】従来例を示す。FIG. 6 shows a conventional example.
1 プリンタ装置 2 用紙カセット 3 用紙サイズ検出部 4 印刷データ保持部 5 第1展開位置テーブル 6 第2展開位置テーブル 7 ビットマップメモリ展開部 8 ビットマップメモリ 9 用紙比較部 10 用紙サイズエラー抑止部 11 特殊帳票テーブル 12 展開位置テーブル切換部 13、14、15、16 検索部 21 マイクロプロセッサ 22 フラグ 30 プリンタ装置 31 用紙カセット 32 用紙サイズ検出部 33 展開位置テーブル 34 印刷データ保持部 34−1 印刷データ 34−2 用紙番号 35 用紙比較部 36 ビットマップメモリ展開部 37 ビットマップメモリ 38 検索部 39 マルチプレクサ 1 Printer device 2 Paper cassette 3 Paper size detection unit 4 Print data holding unit 5 First expansion position table 6 Second expansion position table 7 Bit map memory expansion unit 8 Bit map memory 9 Paper comparison unit 10 Paper size error suppression unit 11 Special Form table 12 Expanded position table switching unit 13, 14, 15, 16 Search unit 21 Microprocessor 22 Flag 30 Printer device 31 Paper cassette 32 Paper size detection unit 33 Expanded position table 34 Print data holding unit 34-1 Print data 34-2 Paper number 35 Paper comparison unit 36 Bitmap memory expansion unit 37 Bitmap memory 38 Search unit 39 Multiplexer
Claims (3)
を指定する用紙情報が付随しており、また、印刷データ
を展開するビットマップメモリ、印刷データをビットマ
ップメモリに展開する展開手段、ビットマップメモリ上
のどの位置に印刷データを展開するのかを示す展開位置
情報を保持する第1の展開位置テーブル、プリンタ装置
にセットされている用紙のサイズを検出する用紙サイズ
検出手段を備えたプリンタ装置において、 印刷データに付随する用紙サイズとプリンタ装置にセッ
トされた用紙のサイズが異なる場合における印刷可能な
組み合わせを保持する特殊帳票テーブルと、この特殊帳
票テーブルに登録された組み合わせに該当する印刷デー
タをビットマップメモリ上のどの位置に展開するのかを
示す展開位置情報が保持された第2の展開位置テーブル
と、 前記特殊帳票テーブルに登録された印刷可能な組み合わ
せの場合に前記第1の展開位置テーブルと前記第2の展
開位置テーブルの出力を切り換える展開位置テーブル切
換手段を具備したことを特徴とするプリンタ装置。1. A print data to be printed is accompanied by paper information for designating a paper size, a bitmap memory for expanding the print data, a developing means for expanding the print data in the bitmap memory, and a bitmap. In a printer device including a first expansion position table that holds expansion position information indicating in which position on the memory the print data is expanded, and a paper size detection unit that detects the size of the paper set in the printer device. , A special form table that holds a printable combination when the size of the paper attached to the print data and the size of the paper set in the printer are different, and the print data corresponding to the combination registered in this special form table Expanded position information indicating where to expand in map memory is retained The second expansion position table and the expansion position table switching means for switching the output of the first expansion position table and the second expansion position table in the case of a printable combination registered in the special form table. A printer device.
用紙サイズの組み合わせのとき、印刷データに付随する
用紙サイズと、プリンタ装置にセットされている用紙の
サイズが異なる場合でも、印刷データに付随した用紙情
報とプリンタ装置にセットされた用紙サイズが一致する
か否かを検出する用紙比較手段から不一致信号が出力し
ないように、用紙比較手段の入力を切り換える用紙サイ
ズエラー抑止手段を具備したことを特徴とする請求項1
記載のプリンタ装置。2. When a combination of paper sizes registered in the special form table is used, even if the paper size attached to the print data and the size of the paper set in the printer device are different, they are attached to the print data. A paper size error suppressing means for switching the input of the paper comparing means is provided so that a non-matching signal is not outputted from the paper comparing means for detecting whether the paper information and the paper size set in the printer match. Claim 1
The printer device described.
データがプリンタ装置にセットされた用紙の中央部分に
印刷され、周囲に余白を確保するように、ビットマップ
メモリ上の展開位置情報が記入されていることを特徴と
する請求項1記載のプリンタ装置。3. The second expansion position table stores the expansion position information on the bitmap memory so that print data is printed on the central portion of the paper set in the printer device and a margin is secured around the print data. The printer device according to claim 1, wherein the printer device is filled in.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6321917A JPH08179906A (en) | 1994-12-26 | 1994-12-26 | Printer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6321917A JPH08179906A (en) | 1994-12-26 | 1994-12-26 | Printer device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08179906A true JPH08179906A (en) | 1996-07-12 |
Family
ID=18137857
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6321917A Withdrawn JPH08179906A (en) | 1994-12-26 | 1994-12-26 | Printer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08179906A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8179559B2 (en) | 2000-12-22 | 2012-05-15 | Ricoh Company, Ltd. | Image forming apparatus with a substitute recording medium for an unavailable recording medium and method thereof |
| WO2018131958A1 (en) * | 2017-01-16 | 2018-07-19 | Hp Printing Korea Co., Ltd. | Outputting plurality of images having different sizes |
-
1994
- 1994-12-26 JP JP6321917A patent/JPH08179906A/en not_active Withdrawn
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8179559B2 (en) | 2000-12-22 | 2012-05-15 | Ricoh Company, Ltd. | Image forming apparatus with a substitute recording medium for an unavailable recording medium and method thereof |
| US8730513B2 (en) | 2000-12-22 | 2014-05-20 | Ricoh Company, Ltd. | Image forming apparatus, and method for forming images on recording media such as paper having different sizes |
| US8760711B2 (en) | 2000-12-22 | 2014-06-24 | Ricoh Company, Ltd. | Image forming apparatus, method, and computer-readable storage medium for forming images on recording media such as paper having different sizes |
| US9224078B2 (en) | 2000-12-22 | 2015-12-29 | Ricoh Company, Ltd. | Image forming apparatus, method, and computer-readable storage medium for forming images on recording media such as paper having different sizes |
| US9607252B2 (en) | 2000-12-22 | 2017-03-28 | Ricoh Company, Ltd. | Image processing apparatus, image forming system, and printing method that decide whether to store, print and not store, or print and store image data |
| US10115043B2 (en) | 2000-12-22 | 2018-10-30 | Ricoh Company, Ltd. | Image processing apparatus, image forming system, and printing method that decide whether to store, print and not store, or print and store image data |
| WO2018131958A1 (en) * | 2017-01-16 | 2018-07-19 | Hp Printing Korea Co., Ltd. | Outputting plurality of images having different sizes |
| CN109689380A (en) * | 2017-01-16 | 2019-04-26 | 惠普打印机韩国有限公司 | Output has various sizes of multiple images |
| US11080571B2 (en) | 2017-01-16 | 2021-08-03 | Hewlett-Packard Development Company, L.P. | Outputting plurality of images having different sizes |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2743290B2 (en) | Control device for recording device | |
| EP1811430B1 (en) | Printer | |
| JPH04298766A (en) | Image processor | |
| EP0503902B1 (en) | Output method and apparatus using the same | |
| JPH08179906A (en) | Printer device | |
| JP2010137449A (en) | Printing control device | |
| JP3852728B2 (en) | Printing apparatus and information processing apparatus | |
| JP2001001596A (en) | Editing function setting device and method, printer driver, and printer | |
| JPH0367824A (en) | Document printing method | |
| JPH05216604A (en) | Information processing system | |
| JP2003127502A (en) | Printing equipment | |
| JPH06274593A (en) | Electronic filing device | |
| JPH11217131A (en) | PRINTING APPARATUS, PRINT CONTROLLER, AND METHOD USED FOR THEM | |
| JPH0326561A (en) | printing device | |
| JPS62273872A (en) | information processing equipment | |
| JPH10228362A (en) | Printing system | |
| JPH06237350A (en) | Print error recovery system for facsimile equipment | |
| JPH10235973A (en) | PRINTING SYSTEM AND PRINT CONTROL METHOD IN PRINTING SYSTEM | |
| JPH02266759A (en) | Copying machine | |
| JP2003091211A (en) | Image forming device | |
| JPH03166979A (en) | Printer control method | |
| JP3293337B2 (en) | Printer device | |
| JPH04275171A (en) | Image data printing apparatus | |
| JPH106587A (en) | Printer | |
| JPH11291200A (en) | Arrangement condition correctness judging device for object to be cut |
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: 20020305 |