Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6353957B2 - - Google Patents
[go: Go Back, main page]

JPS6353957B2 - - Google Patents

Info

Publication number
JPS6353957B2
JPS6353957B2 JP1135381A JP1135381A JPS6353957B2 JP S6353957 B2 JPS6353957 B2 JP S6353957B2 JP 1135381 A JP1135381 A JP 1135381A JP 1135381 A JP1135381 A JP 1135381A JP S6353957 B2 JPS6353957 B2 JP S6353957B2
Authority
JP
Japan
Prior art keywords
line
fcb
paper
channel
paper feed
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.)
Expired
Application number
JP1135381A
Other languages
Japanese (ja)
Other versions
JPS57125486A (en
Inventor
Kazuo Matsuzaki
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.)
Koki Holdings Co Ltd
Original Assignee
Hitachi Koki 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 Hitachi Koki Co Ltd filed Critical Hitachi Koki Co Ltd
Priority to JP1135381A priority Critical patent/JPS57125486A/en
Publication of JPS57125486A publication Critical patent/JPS57125486A/en
Publication of JPS6353957B2 publication Critical patent/JPS6353957B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/16Means for paper feeding or form feeding

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Handling Of Sheets (AREA)
  • Controlling Rewinding, Feeding, Winding, Or Abnormalities Of Webs (AREA)

Description

【発明の詳細な説明】 本発明は例えばラインプリンタ等の印字装置に
おいて、特定のチヤネル指定による紙送り命令に
従つて紙送り動作を実行する紙送り制御装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a paper feed control device that executes a paper feed operation in a printing device such as a line printer, in accordance with a paper feed command specified by a specific channel.

第1図に一般的な紙送り制御装置における用紙
制御バツフア(以下FCBという)の構成例を示
す。第1図においては印刷用紙の1行に対して
FCBの1個のアドレスが割り当てられ、各アド
レスには特定のチヤネルコードを記憶させておく
ことができる。第1図においてPビツトはパリテ
イビツトを、Fビツトは最終行であることを示す
ビツトである。図示の例では、印刷用紙の第1行
はFCBのアドレス1に対応し、この第1番地に
チヤネルコード1が書き込まれている。また、印
刷用紙の第15行が最終行であつて、これはFCB
のアドレス15に対応する。この第15番地のFビツ
トが論理値1とされ、ここにチヤネルコード9が
書き込まれている。
FIG. 1 shows an example of the configuration of a paper control buffer (hereinafter referred to as FCB) in a general paper feed control device. In Figure 1, for one line of printing paper
One address of the FCB is assigned, and each address can store a specific channel code. In FIG. 1, the P bit is a parity bit, and the F bit is a bit indicating that it is the last row. In the illustrated example, the first line of the printing paper corresponds to address 1 of the FCB, and channel code 1 is written at this first address. Also, the 15th line of the printing paper is the last line, which is FCB
Corresponds to address 15. The F bit at address 15 is set to a logical value of 1, and a channel code of 9 is written here.

第1図に示したようなFCBを有する紙送り制
御装置は、概略次のように動作する。なお以下の
説明においてスキツプコマンドとは、特定のチヤ
ネルを指定することにより、予めそのチヤネルが
定義されている行まで紙送りを実行させる紙送り
命令のことである。
A paper feed control device having an FCB as shown in FIG. 1 operates roughly as follows. Note that in the following explanation, a skip command is a paper feed command that specifies a specific channel and causes the paper to be fed to a line where that channel is defined in advance.

まずスキツプコマンドを受信すると、紙送り制
御装置はそのコマンドで指定されたチヤネルコー
ドを一時記憶する。次にFCBをアクセスし、記
憶しておいたチヤネルコードとFCBから読み出
されたチヤネルコードが一致するまでFCBアド
レスを更新していくと同時に、別に設けたスペー
スカウンタを0から順に1を加算していく。チヤ
ネルコードが一致したら、その時点でスペースカ
ウンタが示す値だけ紙送りを実行する。もし上記
動作の途中でFビツトが論理値1であることを検
出した場合には、FCBアドレスを1にリセツト
し、スペースカウンタを+1した後上記動作を続
行する。以上によりスキツプコマンドに従つて紙
送り動作を実行することができる。
First, upon receiving a skip command, the paper feed control device temporarily stores the channel code specified by the command. Next, the FCB is accessed and the FCB address is updated until the stored channel code and the channel code read from the FCB match. At the same time, a space counter provided separately is incremented by 1 starting from 0. To go. When the channel codes match, the paper is fed by the value indicated by the space counter at that point. If it is detected that the F bit has a logical value of 1 during the above operation, the FCB address is reset to 1, the space counter is incremented by 1, and the above operation is continued. As described above, the paper feeding operation can be executed in accordance with the skip command.

ここで第1図に示すようなFCBを用いた紙送
り制御装置は次に述べる欠点を有する。すなわ
ち、印刷用紙の1行に対しては1個のチヤネルコ
ードしか与えることができないという点であり、
このことは用紙制御テープ(以下FCTという)
を用いた紙送り制御装置と比較した場合に顕著な
欠点となる。
Here, a paper feed control device using an FCB as shown in FIG. 1 has the following drawbacks. In other words, only one channel code can be given to one line of printing paper.
This means that the paper control tape (hereinafter referred to as FCT)
This is a significant drawback when compared to a paper feed control device using

第2図に示すようにFCTにおいては印刷用紙
の1行に対して複数のチヤネル番号を与えること
ができる。第2図の例では印刷用紙の第9行に対
して、チヤネル番号2、3及び4が与えられてい
る。このように印刷用紙の1行に対して複数のチ
ヤネル番号を与えることができれば、異なるスキ
ツプコマンドによつて同一行への紙送り動作を実
行することができ、これは例えば印刷装置におい
て帳票などを特定の形式に従つて印刷するための
制御を行う場合に非常に有用である。ところが第
1図に示したようなFCBを有する一般的な紙送
り制御装置では、このような処理を行うことがで
きない。
As shown in FIG. 2, in FCT, multiple channel numbers can be assigned to one line of printing paper. In the example of FIG. 2, channel numbers 2, 3, and 4 are assigned to the 9th line of the printing paper. If multiple channel numbers can be assigned to one line of printing paper in this way, paper feeding operations to the same line can be executed using different skip commands. This is very useful when controlling printing according to a specific format. However, a general paper feed control device having an FCB as shown in FIG. 1 cannot perform such processing.

FCBを用いた紙送り制御装置において、上述
した欠点をなくすために、従来2通りの方法が試
みられている。
In order to eliminate the above-mentioned drawbacks in a paper feed control device using an FCB, two methods have been tried in the past.

第1の技術的に簡便な方法はFCBをFCTとま
つたく同様の構成とし、印刷用紙の1行に対して
FCBの1個のアドレスを割り当て、さらに各チ
ヤネル番号毎にFCBの専用ビツトを割り当てる
方法である。この方法によるFCBの構成例を第
3図に示す。第3図は第2図に示したFCTと同
様の構成とした場合を示している。
The first technically simple method is to configure the FCB to be exactly the same as the FCT, and to
This method allocates one FCB address and further allocates dedicated bits of the FCB for each channel number. An example of the configuration of an FCB using this method is shown in FIG. FIG. 3 shows a configuration similar to the FCT shown in FIG. 2.

第3図に示したようなFCBを用いた紙送り制
御装置の動作は、次のように行われる。紙送り制
御装置はスキツプコマンドを受信した後、そのコ
マンドで指定されたチヤネル番号に割り当てられ
たFCBのビツトが論理値1となるまでFCBアド
レスを更新し、同時にスペースカウンタを0から
順次1を加算していく。上記FCBのビツトが論
理値1となつた時点で、スペースカウンタが示す
値だけ紙送り動作を実行する。途中でFビツトが
論理値1であることを検出した場合の動作は第1
図の説明と同様である。この方法によれば前述の
欠点をなくすことができる。しかし、第3図から
も分かるように、この方法ではパリテイビツトを
含めるとFCBの1個のアドレスについて14ビツ
トのデータビツトを要するため、FCBの記憶容
量が増加し、高価になるという欠点がある。
The paper feed control device using the FCB as shown in FIG. 3 operates as follows. After receiving the skip command, the paper feed control device updates the FCB address until the FCB bit assigned to the channel number specified by the command becomes a logical value of 1, and at the same time changes the space counter from 0 to 1. are added. When the bit of the FCB becomes logical 1, the paper feed operation is executed by the value indicated by the space counter. If it is detected that the F bit has a logical value of 1 in the middle, the operation is as follows.
It is the same as the explanation of the figure. According to this method, the above-mentioned drawbacks can be eliminated. However, as can be seen from FIG. 3, this method requires 14 data bits for one address of the FCB, including the parity bit, which has the drawback of increasing the storage capacity of the FCB and making it expensive.

第2の解決方法は第1の方法の欠点をさらに改
善し、FCBに継続指示ビツト記憶域(以下Cビ
ツトという)を設けることにより、印刷用紙の1
行に対してFCBの複数のアドレスが割り当てら
れるようにしたものである。この方法による
FCBの構成例を第4図に示す。この場合紙送り
制御装置は概略次のように動作する。
The second solution further improves the shortcomings of the first method and provides a continuation instruction bit storage area (hereinafter referred to as C bit) in the FCB.
This allows multiple FCB addresses to be assigned to a row. By this method
Figure 4 shows an example of the configuration of an FCB. In this case, the paper feed control device operates roughly as follows.

まず、スキツプコマンドを受信するとそのコマ
ンドで指定されたチヤネルコードを一時記憶す
る。次にFCBをアクセスし、記憶しておいたチ
ヤネルコードとFCBから読み出されたチヤネル
コードが一致するまでFCBアドレスを更新し、
同時にスペースカウンタを0から順に1を加算し
ていく。ただし、前記Cビツトが論理値1である
ことを検出した場合にはFCBアドレスのみ更新
し、スペースカウンタは1を加算しないようにす
る。チヤネルコードが一致したらその時点でスペ
ースカウンタが示す値だけ紙送りを実行する。途
中でFビツトが論理値1であることを検出した場
合の動作は第1図に関する説明と同様である。こ
の方法によれば、印刷用紙の1行に対して複数の
チヤネルコードを与えることができ、さらに前記
第1の方法の欠点もある程度改善される。
First, when a skip command is received, the channel code specified by the command is temporarily stored. Next, access the FCB and update the FCB address until the stored channel code and the channel code read from the FCB match,
At the same time, the space counter is sequentially incremented by 1 from 0. However, if it is detected that the C bit has a logical value of 1, only the FCB address is updated and the space counter is not incremented by 1. When the channel codes match, paper is fed by the value indicated by the space counter at that point. The operation when it is detected that the F bit has a logical value of 1 during the process is the same as the explanation regarding FIG. According to this method, a plurality of channel codes can be given to one line of printing paper, and the drawbacks of the first method are also improved to some extent.

しかしながら上記第2の方法によつても解消さ
れない欠点がある。この欠点は前述した従来技術
のすべてに共通するものである。すなわち、印刷
用紙の1行に対してFCBの1個以上のアドレス
を割り当てる必要があるため、FCBは少なくと
も印刷用紙の1頁内の行数分の記憶容量を有して
いなければならないという点である。この欠点は
特に印刷用紙の1頁の行数が多く、かつ1頁内に
1個または数個のチヤネルコードしか存在しない
場合に顕著である。例えば印刷用紙の1頁の行数
が66行であり、第1行にチヤネル1が、第66行に
チヤネル9が設定され、その他の行にはチヤネル
コードが設定されない場合を想定する。この場
合、チヤネルコードは1頁内に2個しかないにも
かかわらず、FCBは1番地から66番地まで必要
であり、FCBの2番地から65番地まではチヤネ
ルコードが存在しないまま浪費される形となる。
また印刷用紙が第2行に停止しているときにチヤ
ネル1を指定するスキツプコマンドを受信した場
合、紙送り量を決定するために紙送り制御装置は
FCBを65回アクセスしなければならず、そのた
めに費される時間に制約され処理能力に限界が生
じる。
However, there are drawbacks that cannot be overcome even with the second method. This drawback is common to all of the prior art techniques mentioned above. In other words, since it is necessary to allocate one or more FCB addresses to one line of printing paper, the FCB must have a storage capacity at least equal to the number of lines on one page of printing paper. be. This drawback is particularly noticeable when one page of printing paper has a large number of lines and only one or a few channel codes exist on one page. For example, assume that one page of printing paper has 66 lines, channel 1 is set to the first line, channel 9 is set to the 66th line, and no channel code is set to the other lines. In this case, even though there are only two channel codes on one page, FCBs are required from addresses 1 to 66, and FCBs from addresses 2 to 65 are wasted without channel codes. becomes.
In addition, if a skip command specifying channel 1 is received while the printing paper is stopped at the second line, the paper feed control device determines the paper feed amount.
The FCB must be accessed 65 times, which limits processing power due to time constraints.

実際ここに想定したようなFCBの構成で紙送
り制御装置が使用される場合が少なくないため、
従来技術における上述の欠点は克服されるべきで
ある。
In fact, paper feed control devices are often used in the FCB configuration assumed here, so
The above-mentioned drawbacks in the prior art should be overcome.

以上述べたように、FCBを用いた従来の紙送
り制御装置においては、印刷用紙の1行に対して
複数のチヤネルコードを与えられるようにした上
で、FCBの記憶容量を節約しかつ処理時間を短
縮するということができなかつた。
As described above, in conventional paper feed control devices using FCB, multiple channel codes can be given to one line of printing paper, and the storage capacity of FCB can be saved and processing time can be reduced. It was not possible to shorten it.

本発明の目的は、上記したFCBを用いた従来
の紙送り制御装置における欠点をなくし、印刷用
紙の1行に対して複数のチヤネルコードを与える
ことができるようにした上で、FCBの記憶容量
を節約し、かつ紙送り制御に要する処理時間を短
縮することである。
An object of the present invention is to eliminate the drawbacks of the conventional paper feed control device using the FCB described above, to make it possible to give a plurality of channel codes to one line of printing paper, and to improve the storage capacity of the FCB. The objective is to save time and reduce the processing time required for paper feed control.

本発明は、FCBを用いた紙送り制御装置にお
いて、各々のチヤネルコードが印刷用紙の第何行
目に設定されているのかを検出すれば紙送り制御
の処理を実行できる点に着目し、FCB内で各々
のチヤネルコードに対して必要に応じて記憶領域
を割り当て、該記憶領域に各々のチヤネルコード
が設定されている印刷用紙の1頁内の行数を記憶
するようにし、かつ印刷用紙の現在位置の行数を
示すカウンタを設け、該カウンタのデータと前記
FCBから読み出されたデータとを演算して紙送
り制御の処理を実行するようにしたものである。
The present invention focuses on the fact that in a paper feed control device using FCB, paper feed control processing can be executed by detecting which line of printing paper each channel code is set. A storage area is allocated as necessary for each channel code within the storage area, and the number of lines on one page of printing paper to which each channel code is set is stored in the storage area, and A counter indicating the number of lines at the current position is provided, and the data of the counter and the
The paper feeding control process is executed by calculating the data read from the FCB.

本発明の具体的な一実施例のブロツク図を第5
図に、第5図に用いられるFCBの構成例を第6
に示す。
A block diagram of a specific embodiment of the present invention is shown in Figure 5.
Figure 6 shows an example of the configuration of the FCB used in Figure 5.
Shown below.

以下、第5図及び第6図を用いて本発明の一実
施例について説明する。
An embodiment of the present invention will be described below with reference to FIGS. 5 and 6.

第5図において、1はデータソース、2は
FCB、3はコマンドレジスタ、4はアドレスコ
ントローラ、11は紙送りコントローラ、12は
演算器、13はラインカウンタ、14はスペース
カウンタ、21はデコーダ、22はチヤネルカウ
ンタ、23はコンパレータ、31は紙送りドライ
バである。
In Figure 5, 1 is the data source and 2 is the data source.
FCB, 3 is a command register, 4 is an address controller, 11 is a paper feed controller, 12 is an arithmetic unit, 13 is a line counter, 14 is a space counter, 21 is a decoder, 22 is a channel counter, 23 is a comparator, 31 is a paper feed It's a driver.

まず、データソース1によりスキツプコマンド
が発行されるのに先立つて、紙送り制御の処理に
必要な制御データがデータソース1により線1a
を介してFCB2にロードされる。FCB2には、
第6図の例に示されるように、0番地に印刷用紙
の1頁分の行数がロードされ、1番地に制御コー
ド(FF)16がロードされ、以下各チヤネル番号が
印刷用紙の先頭行から第何行目に設定されている
かを示すデータが順次ロードされる。なお、各チ
ヤネル番号の設定位置を示すデータは各チヤネル
番号ごとに制御コード(FF)16によつて区分され
る形でロードされる。第6図の例では印刷用紙1
頁の長さは66行であり、チヤネル1は1頁の先頭
行に設定され、以下先頭行から第10行目、20行
目、41行目、60行目にチヤネル2、第12行目、41
行目にチヤネル3、第41行目、50行目にチヤネル
4、第65行目にチヤネル9がそれぞれ設定されて
おり、チヤネル5〜8、11及び12は設定されてい
ない。第41行目にはチヤネル2、3及び4が設定
されているわけである。
First, before data source 1 issues a skip command, data source 1 transmits control data necessary for paper feed control processing to line 1a.
Loaded into FCB2 via . FCB2 has
As shown in the example in Figure 6, the number of lines for one page of printing paper is loaded into address 0, the control code (FF) 16 is loaded into address 1, and the following channel numbers are assigned to the first line of printing paper. Data indicating which line is set is sequentially loaded. Note that data indicating the setting position of each channel number is loaded in a form classified by control code (FF) 16 for each channel number. In the example in Figure 6, printing paper 1
The length of the page is 66 lines, and channel 1 is set in the first line of the page, channel 2 is set in the 10th line, 20th line, 41st line, and 60th line from the first line, and channel 2 is set in the 12th line. , 41
Channel 3 is set in the row, channel 4 is set in the 41st line, channel 4 is set in the 50th line, channel 9 is set in the 65th line, and channels 5 to 8, 11 and 12 are not set. Channels 2, 3, and 4 are set on the 41st line.

以上のロードが終了し、データソース1より線
1aを介してスキツプコマンドが発行された後、
第5図の実施例は以下に述べるように動作する。
After the above loading is completed and a skip command is issued from data source 1 via line 1a,
The embodiment of FIG. 5 operates as described below.

まずコマンドレジスタ3によりスキツプコマン
ドの内容が解読され、指定チヤネルコードが線3
b上にセツトされる。次に線3aを介してFCB
2に対するアクセスの開始を指示する信号が送出
され、これによりアドレスコントローラ4は線4
aを介してFCB2に対して0番地を指定する。
ここでチヤネルカウンタ22は予め0にリセツト
されているものとする。FCB2から読み出され
たデータが(FF)16であつた場合、デコーダ21
によつて線21a上に信号が送出され、この信号
が信号なしとなつたときにチヤネルカウンタ22
は1だけ加算される。チヤネルカウンタ22の値
は線22aを介してコンパレータ23へ送られ
る。紙送りコントローラ11は線3a上に信号が
送出され、FCB2に対するアクセスが開始され
た後、線3b及び線22a上の値が一致し、コン
パレータ23より線23aを介して信号を受信す
るまでの間、線11cを介してアドレスコントロ
ーラ4に信号を与えることにより、線4a上のア
ドレスを1だけ加算し続ける。以上により、線2
3a上に信号が出力された時点で、スキツプコマ
ンドによつて指定されたチヤネル番号の第1設定
位置を示すデータがFCB2より線2a上に出力
される。このとき紙送りコントローラ11は線1
1aを介し演算器12に対して演算の開始を指令
する。ここでラインカウンタ13は、印刷用紙の
現在位置が1頁の先頭行から第何行目なのかを示
すもので、この値が線13a上に送出されてい
る。またFCB2に対するロードシーケンスの最
初で印刷用紙の1頁分のデータソース1から送ら
れてきた際に、これがコマンドレジスタ3により
解読され、その値が線3cを介してラインカウン
タ13の内部で計数動作を実行する部分とは別に
設けられたレジスタに蓄えられている。さらにラ
インカウンタ13は印刷用紙が1行送られるたび
に紙送りドライバ31より返信される線31a上
の信号によりカウントアツプされ、その値が前記
内部に設けられたレジスタの示す値に一致した場
合その計数値は0にリセツトされる。
First, the content of the skip command is decoded by command register 3, and the specified channel code is displayed on line 3.
b. Then FCB via line 3a
A signal is sent instructing the start of an access to line 2, which causes address controller 4 to access line 4.
Specify address 0 for FCB2 via a.
Here, it is assumed that the channel counter 22 has been reset to 0 in advance. If the data read from FCB2 is (FF) 16 , the decoder 21
A signal is sent out on the line 21a by the channel counter 22 when this signal becomes no signal.
is added by 1. The value of channel counter 22 is sent to comparator 23 via line 22a. The paper feed controller 11 receives a signal on the line 3a and starts accessing the FCB 2, until the values on the line 3b and line 22a match, and a signal is received from the comparator 23 via the line 23a. , continues to increment the address on line 4a by one by providing a signal to address controller 4 via line 11c. From the above, line 2
At the time the signal is output on line 2a, data indicating the first setting position of the channel number specified by the skip command is output from FCB 2 on line 2a. At this time, the paper feed controller 11
It instructs the arithmetic unit 12 to start calculation via 1a. Here, the line counter 13 indicates which line from the first line of one page the current position of the printing paper is, and this value is sent out on the line 13a. Also, when the data for one page of printing paper is sent from the data source 1 at the beginning of the load sequence to the FCB 2, this is decoded by the command register 3, and the value is counted inside the line counter 13 via the line 3c. It is stored in a register separate from the part that executes it. Furthermore, the line counter 13 is incremented by a signal on the line 31a sent back from the paper feed driver 31 every time the printing paper is fed one line, and if the value matches the value indicated by the register provided inside, the line counter 13 counts up. The count value is reset to zero.

線11aを介し演算開示の指令を受けた演算器
12は次式で示される演算を実行する。
The arithmetic unit 12, which receives the instruction to start the calculation via the line 11a, executes the calculation expressed by the following equation.

〔FCB〕−〔LINE CNTR〕=N 上式において、 〔FCB〕:FCB2より読み出された線2a上の値 〔LINE CNTR〕:ラインカウンタ13のカウン
ト値示す線13a上の値 N:演算結果 を示す。
[FCB] - [LINE CNTR] = N In the above formula, [FCB]: Value on line 2a read from FCB2 [LINE CNTR]: Value on line 13a indicating the count value of line counter 13 N: Calculation result shows.

上式の演算を実行した結果、Nの値が正ならば
その値が線12b上に出力され、紙送りコントロ
ーラ11は線12a上に信号が出力されないこと
により演算結果が正であることを認識し、線11
d上に信号を送出してNの値をスペースカウンタ
14にロードする。線11d上のロード信号が信
号なしとなつたとき紙送りドライバ31は紙送り
動作を開始し、印刷用紙を1行送るたびに線31
a上に信号を送出することによりラインカウンタ
13をカウントアツプしていくと同時にスペース
カウンタ14をカウントダウンし、スペースカウ
ンタ14の値が0になるまで紙送りを続行する。
As a result of executing the above equation, if the value of N is positive, that value is output on the line 12b, and the paper feed controller 11 recognizes that the calculation result is positive because no signal is output on the line 12a. and line 11
d to load the value of N into the space counter 14. When the load signal on the line 11d becomes non-signal, the paper feed driver 31 starts the paper feeding operation, and every time the printing paper is fed one line, the line 31
By sending a signal onto the line a, the line counter 13 is counted up and at the same time the space counter 14 is counted down, and paper feeding is continued until the value of the space counter 14 becomes 0.

もし前記演算結果Nの値が0または負であつた
場合には動作は次のようになる。まず演算器12
により線12a上に信号が出力される。これによ
り紙送りコントローラ11はNの値が0または負
であることを認識し、線11d上には信号を出力
せず、代りに線11c上に信号を出力し、アドレ
スコントローラ4に対してアドレスの更新を指令
する。この結果FCB2からは指定されたチヤネ
ル番号の第2設定位置を示すデータが出力される
はずである。このデータが制御コード(FF)16
なかつた場合、紙送りコントローラ11は再び線
11aを介して演算開始の指令を出し、演算結果
が正になるまでこの動作を繰り返し、正になれば
前述の動作により紙送り動作を実行する。もし上
記動作を繰り返している間にFCBから制御コー
ド(FF)16が読み出された場合、第5図の実施例
は上記と異なつた動作を実行する。紙送りコント
ローラ11は線12aを介して直前の演算結果が
0または負であることを認識しているので、線2
1aを介して制御コード(FF)16が読み出された
ことを検出すると、演算開始の指令は出さず、線
11bを介しアドレスコントローラ4及びチヤネ
ルカウンタ22をそれぞれ0番地及び数0を示す
ようにリセツトする。この結果FCB2からは1
頁分の行数を示すデータが読み出される。これに
続いて紙送りコントローラ11は線11eを介し
て演算器12に前述した式にて示される演算を実
行させるが、演算結果Nはこの場合線12b上に
出力されず演算器12内の一時記憶域に記憶され
る。次に紙送りコントローラ11はコンパレータ
23から線23aを介して信号を受信するまでア
ドレスコントローラ4にアドレスの更新を指示
し、線23aにより信号を受信すると線11aを
介して演算の開始を指令する。このとき演算器1
2は次式で示される演算を実行する。
If the value of the calculation result N is 0 or negative, the operation is as follows. First, the arithmetic unit 12
A signal is output on line 12a. As a result, the paper feed controller 11 recognizes that the value of N is 0 or negative, does not output a signal on the line 11d, but outputs a signal on the line 11c instead, and sends an address to the address controller 4. command to update. As a result, the FCB 2 should output data indicating the second setting position of the designated channel number. If this data is not control code (FF) 16 , the paper feed controller 11 again issues a command to start calculation via the line 11a, repeats this operation until the calculation result becomes positive, and if it becomes positive, the above-mentioned The paper feed operation is executed by the operation. If the control code (FF) 16 is read from the FCB while repeating the above operations, the embodiment of FIG. 5 performs a different operation than above. The paper feed controller 11 recognizes via the line 12a that the previous calculation result is 0 or negative, so the line 2
When it is detected that control code (FF) 16 has been read out via line 11a, the command to start calculation is not issued, and the address controller 4 and channel counter 22 are controlled to indicate address 0 and number 0, respectively, via line 11b. Reset. As a result, 1 from FCB2
Data indicating the number of lines for a page is read. Subsequently, the paper feed controller 11 causes the arithmetic unit 12 to execute the arithmetic operation shown by the above-mentioned formula via the line 11e, but the arithmetic result N is not output on the line 12b in this case, but is stored temporarily in the arithmetic unit 12. Stored in storage. Next, the paper feed controller 11 instructs the address controller 4 to update the address until it receives a signal from the comparator 23 via the line 23a, and when the signal is received via the line 23a, it instructs the start of calculation via the line 11a. At this time, computing unit 1
2 executes the operation shown by the following equation.

〔TREG〕+〔FCB〕=M 上式において、 〔TREG〕:演算器12内の一時記憶域に記憶さ
れている値(=N) M:演算結果 を示す。この演算結果Mは必ず正の値となるの
で、上記演算が実行された後は前述した演算結果
Nが正となつた場合と同様の動作が行われ、紙送
り動作が実行される。この場合の処理はスキツプ
コマンドによつて指定されたチヤネル番号の設定
位置が印刷用紙の現在位置と同一頁内にないた
め、次の頁におけるそのチヤネル番号の第1設定
位置まで紙送りを実行するということを意味す
る。
[TREG]+[FCB]=M In the above equation, [TREG]: Value stored in the temporary storage area in the arithmetic unit 12 (=N) M: Indicates the calculation result. Since the calculation result M is always a positive value, after the above calculation is performed, the same operation as in the case where the calculation result N is positive is performed, and the paper feeding operation is performed. In this case, the setting position of the channel number specified by the skip command is not on the same page as the current position of the printing paper, so the paper is fed to the first setting position of that channel number on the next page. means to carry out.

なお、第6図に示したFCBの構成例はあくま
でも一例であつてFCB2第6図の構成に限定さ
れるものではない。またFCB2にロードされる
制御コード(FF)16に限定されることはなく、各
チヤネルの設定位置を示すデータと識別できるコ
ードでありさえすればいかなるコードであつても
良い。
Note that the configuration example of the FCB shown in FIG. 6 is just an example, and the configuration of the FCB 2 is not limited to that shown in FIG. 6. Further, the control code (FF) 16 loaded into the FCB 2 is not limited to 16, and may be any code as long as it can be identified as data indicating the setting position of each channel.

第7図の本発明の他の実施例を示すブロツク図
を、第7図に用いられるFCBの構成例を第8図
に示す。なお第8図における各チヤネル番号の設
定位置は第6図とまつたく同じである。以下、第
7図および第8図により本発明の他の実施例を説
明する。
FIG. 7 is a block diagram showing another embodiment of the present invention, and FIG. 8 shows an example of the configuration of the FCB used in FIG. 7. The setting positions of each channel number in FIG. 8 are exactly the same as in FIG. 6. Other embodiments of the present invention will be described below with reference to FIGS. 7 and 8.

第7図の実施例でその構成において第5図と大
きく異なる点はコマンドレジスタ3とアドレスコ
ントローラ4との間にアドレスポインタ41を設
け第5図におけるチヤネルカウンタ22及びコン
パレータ23を削除したことである。その他の構
成は第5図と同様である。
The major difference in the configuration of the embodiment shown in FIG. 7 from that shown in FIG. 5 is that an address pointer 41 is provided between the command register 3 and the address controller 4, and the channel counter 22 and comparator 23 in FIG. 5 are deleted. . The other configurations are the same as in FIG. 5.

第7図において、スキツプコマンドの発行に先
立つロードシーケンスは次のように行われる。ま
ずFCB2の0番地に印刷用紙の1頁分の行数が
ロードされる。この点は第5図の実施例とまつた
く変わらない。しかし第7図においては、その次
の1番地に制御コード(FF)16がロードされる必
要はなく、チヤネル1の第1設定位置を示すデー
タがすぐにロードされてよい。以下第8図の構成
例に示すような形式でロードが行われるが、各チ
ヤネル番号の第1設定位置を示すデータのロード
に先立ち、データソース1から線1aを介してコ
マンドレジスタ3に対し、次に何チヤネルに関す
るデータが転送されるかを通知するコマンドが発
行される。コマンドレジスタ3は線1aを介し
て、FCB2に転送されたデータの数を記憶して
おき、次のデータがFCB2内の何番地にロード
されるのかを認識することができる。よつてコマ
ンドレジスタ3は前記通知コマンドにより次のデ
ータが何チヤネルに関するものかを検知し、線3
bを介してこのチヤネルコードを送出するととも
に、線3dを介して次のデータがロードされるア
ドレスを出力する。この動作により各チヤネルコ
ードに応じて予めアドレスポインタ41内に定め
られたレジスタに線3d上のアドレスが格納され
る。よつてロードシーケンスが終了した時点で、
アドレスポインタ41の各チヤネルコードに対応
するレジスタには、FCB2内でそれぞれのチヤ
ネル番号の第1設定位置を示すデータがロードさ
れているアドレスが格納されていることになる。
In FIG. 7, the loading sequence prior to issuing a skip command is performed as follows. First, the number of lines for one page of printing paper is loaded into address 0 of FCB2. This point is exactly the same as the embodiment shown in FIG. However, in FIG. 7, it is not necessary to load the control code (FF) 16 into the next address 1, and the data indicating the first setting position of channel 1 may be loaded immediately. Loading is performed in the format shown in the configuration example in FIG. 8 below, but before loading data indicating the first setting position of each channel number, data is sent from the data source 1 to the command register 3 via the line 1a. Next, a command is issued to notify how many channels data will be transferred. The command register 3 stores the number of data transferred to the FCB 2 via the line 1a, and can recognize at which address in the FCB 2 the next data will be loaded. Therefore, the command register 3 detects which channel the next data relates to using the notification command, and the command register 3 detects which channel the next data relates to.
It sends out this channel code via line 3d and outputs the address into which the next data will be loaded via line 3d. By this operation, the address on line 3d is stored in a register predetermined in address pointer 41 according to each channel code. Therefore, when the loading sequence is finished,
The register corresponding to each channel code of the address pointer 41 stores an address loaded with data indicating the first setting position of each channel number in the FCB 2.

ロードシーケンス終了後、データソース1より
スキツプコマンドが発行されると、コマンドレジ
スタ3により指定チヤネルコードが線3b上に出
力され、続いてFCB2に対するアクセスの開始
を指示する信号が線3aを介して出力される。こ
れによりアドレスポインタ41から指定チヤネル
コードの第1設定位置を示すデータがロードされ
ているアドレスが線41aを介して出力され、該
アドレス信号はアドレスコントローラ4を経由し
てそのままFCB2へ送られる。その後演算器1
2による演算が直ちに行われ、第5図の実施例と
同様の処理が行われる。ただし、演算結果Nが0
または負となつた後、制御コード(FF)16がFCB
2から読み出された場合の動作は若干異なる。こ
の場合まず第5図の実施例と同様に紙送りコント
ローラ11は像11fを介して信号を送出し、ア
ドレスコントローラ4をリセツトしてFCB2の
0番地のデータすなわち1頁分の行数を示すデー
タを読み出し、演算器12により〔FCB〕−
〔LINE CNTR〕=Nの演算を行わせ、Nの値を
一時記憶させておく。その後線11f上のリセツ
ト信号が信号なしとなつたとき、アドレスポイン
タ41はアクセス開始時と同様に線3b上の指定
チヤネルコードの第1設定位置を示すデータがロ
ードされているアドレスを再び41a上に出力
し、このアドレス信号がアドレスコントローラ4
を経由してそのままFCB2に与えられる。その
後の動作は前述した動作とまつたく同じである。
After the load sequence is completed, when a skip command is issued from data source 1, command register 3 outputs the specified channel code on line 3b, and then a signal instructing the start of access to FCB 2 is output on line 3a. is output. As a result, the address loaded with data indicating the first setting position of the designated channel code is output from the address pointer 41 via the line 41a, and the address signal is sent directly to the FCB 2 via the address controller 4. After that, arithmetic unit 1
2 is immediately performed, and the same processing as in the embodiment of FIG. 5 is performed. However, the calculation result N is 0
Or after becoming negative, control code (FF) 16 becomes FCB
The operation when read from 2 is slightly different. In this case, first, as in the embodiment shown in FIG. 5, the paper feed controller 11 sends out a signal via the image 11f, resets the address controller 4, and sends data at address 0 of the FCB 2, that is, data indicating the number of lines for one page. is read out, and the arithmetic unit 12 calculates [FCB] −
[LINE CNTR]=N is calculated and the value of N is temporarily stored. After that, when the reset signal on the line 11f becomes non-signal, the address pointer 41 returns to the address 41a, where the data indicating the first set position of the designated channel code on the line 3b is loaded, in the same way as at the start of access. This address signal is output to the address controller 4.
It is given directly to FCB2 via . The subsequent operations are exactly the same as those described above.

第6図と第8図を比較すると分かるように、第
7図の実施例によれば、第5図の実施例よりもさ
らにFCBの記憶容量を節約でき、かつFCBをア
クセスする回数を少なくできるので紙送り制御に
要する処理時間をさらに短縮できる。
As can be seen by comparing FIG. 6 and FIG. 8, according to the embodiment of FIG. 7, the storage capacity of the FCB can be further saved than the embodiment of FIG. 5, and the number of times the FCB is accessed can be reduced. Therefore, the processing time required for paper feed control can be further reduced.

本発明によれば、FCB内で各々のチヤネルコ
ードに対して必要に応じて記憶領域を割り当て、
該記憶領域に各々のチヤネルコードが設定されて
いる印刷用紙の1頁内の行数を記憶するように
し、かつ印刷用紙の現在位置の行数を示すカウン
タを設け、該カウンタのデータと前記FCBから
読み出されたデータとを演算して紙送り制御の処
理を実行するようにしたので、印刷用紙の1行に
対して複数のチヤネルコードを設定することがで
き、またFCBの記憶容量を節約することができ、
かつ紙送り制御に要する処理時間を短縮すること
ができる。
According to the present invention, storage areas are allocated as necessary for each channel code within the FCB,
The storage area stores the number of lines in one page of the printing paper to which each channel code is set, and a counter indicating the number of lines at the current position of the printing paper is provided, and the data of the counter and the FCB are stored. Since paper feed control processing is executed by calculating the data read from can,
Moreover, the processing time required for paper feed control can be shortened.

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

第1図は一般的な紙送り制御装置における
FCBの構成例を示す図、第2図はFCTの構成を
示す図、第3図は第1図における欠点を改善する
第1の従来技術におけるFCBの構成例を示す図、
第4図は第1図における欠点を改善する第2の従
来技術におけるFCBの構成例を示す図、第5図
は本発明の一実施例を示すブロツク図、第6図は
第5図の実施例におけるFCBの構成例を示す図、
第7図は本発明の他の実施例を示すブロツク図、
第8図は第7図の実施例におけるFCBの構成例
を示す図である。 図において、1はデータソース、2はFCB、
3はコマンドレジスタ、4はアドレスコントロー
ラ、11は紙送りコントローラ、12は演算器、
13はラインカウンタ、14はスペースカウン
タ、21はデコーダ、22はチヤネルカウンタ、
23はコンパレータ、31は紙送りドライバ、4
1はアドレスポインタである。
Figure 1 shows a typical paper feed control device.
A diagram showing an example of the configuration of an FCB, FIG. 2 is a diagram showing the configuration of an FCT, and FIG. 3 is a diagram showing an example of the configuration of an FCB in the first conventional technology that improves the drawbacks in FIG. 1.
FIG. 4 is a diagram showing an example of the configuration of an FCB in a second conventional technique that improves the drawbacks in FIG. 1, FIG. 5 is a block diagram showing an embodiment of the present invention, and FIG. 6 is an implementation of FIG. A diagram showing an example of the configuration of FCB in the example,
FIG. 7 is a block diagram showing another embodiment of the present invention;
FIG. 8 is a diagram showing an example of the configuration of the FCB in the embodiment of FIG. 7. In the figure, 1 is the data source, 2 is the FCB,
3 is a command register, 4 is an address controller, 11 is a paper feed controller, 12 is a computing unit,
13 is a line counter, 14 is a space counter, 21 is a decoder, 22 is a channel counter,
23 is a comparator, 31 is a paper feed driver, 4
1 is an address pointer.

Claims (1)

【特許請求の範囲】[Claims] 1 印刷用紙の1頁内の各行に対して予め与えら
れるチヤネルコードの設定状態を示す情報を書き
込み得るように構成された用紙制御バツフアを有
し、データソースから送られて来る特定のチヤネ
ルコードを指定する紙送り命令を受信し、該紙送
り命令により指定されたチヤネルコードに応じて
前記用紙制御バツフアの内容を参照して紙送りを
行う紙送り制御装置において、前記用紙制御バツ
フア内で各々のチヤネルコードに対して必要に応
じて記憶領域を割り当て、該記憶領域に印刷用紙
1頁内における各々のチヤネルコードの設定位置
を書き込むようにし、さらに印刷用紙の現在位置
を示すカウンタを設け、該カウンタのデータと前
記紙送り命令による指定チヤネルコードに呼応し
て前記用紙制御バツフアから読み出されたデータ
とを演算して紙送り制御の処理を実行するように
したことを特徴とする紙送り制御装置。
1 It has a paper control buffer configured to be able to write information indicating the setting state of a channel code given in advance to each line within one page of printing paper, and has a paper control buffer configured to write information indicating the setting state of a channel code given in advance to each line on one page of printing paper, and has a paper control buffer configured to write information indicating the setting state of a channel code given in advance to each line on one page of printing paper, In a paper feed control device that receives a specified paper feed command and feeds paper by referring to the contents of the paper control buffer according to the channel code specified by the paper feed command, each A storage area is allocated to the channel code as necessary, the set position of each channel code within one page of printing paper is written in the storage area, and a counter is provided to indicate the current position of the printing paper. and the data read from the paper control buffer in response to the specified channel code by the paper feed command to perform paper feed control processing. .
JP1135381A 1981-01-27 1981-01-27 Paper feed controller Granted JPS57125486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1135381A JPS57125486A (en) 1981-01-27 1981-01-27 Paper feed controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1135381A JPS57125486A (en) 1981-01-27 1981-01-27 Paper feed controller

Publications (2)

Publication Number Publication Date
JPS57125486A JPS57125486A (en) 1982-08-04
JPS6353957B2 true JPS6353957B2 (en) 1988-10-26

Family

ID=11775664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1135381A Granted JPS57125486A (en) 1981-01-27 1981-01-27 Paper feed controller

Country Status (1)

Country Link
JP (1) JPS57125486A (en)

Also Published As

Publication number Publication date
JPS57125486A (en) 1982-08-04

Similar Documents

Publication Publication Date Title
US4658349A (en) Direct memory access control circuit and data processing system using said circuit
US4841475A (en) Data transfer system and method for channels with serial transfer line
US4943936A (en) Print control apparatus controlling utilization state of plural format blocks
US4442485A (en) Dynamically buffered data transfer system for large capacity data source
US4145755A (en) Information transferring apparatus
US5481756A (en) DMA controller mailing auto-initialize halting unit
JPS6353957B2 (en)
US4680699A (en) Terminal control apparatus for parallel execution of data editing and data transmission/reception control
US6615292B1 (en) Data transfer apparatus performing DMA data transfer from non-consecutive addresses
JPS6159920B2 (en)
JP2937945B2 (en) Printer device
JPS6074174A (en) Memory access system
JPH04277850A (en) Descriptor control system
JPH0321850B2 (en)
JPS6288025A (en) Receiving buffer memory control system
JP2000148502A (en) How to write firmware data
JP2800280B2 (en) Printer server
JPH04262417A (en) Printer control system
JPS63835B2 (en)
JPS5827233A (en) Controlling system for printing
JPS6235148B2 (en)
JPS5955528A (en) Data transfer system
JPS60180281A (en) Memory data output system
JP2003187583A (en) Semiconductor storage device and control device
JPH06214939A (en) DMA controller