JPS59223840A - Printer - Google Patents

Printer

Info

Publication number
JPS59223840A
JPS59223840A JP58078609A JP7860983A JPS59223840A JP S59223840 A JPS59223840 A JP S59223840A JP 58078609 A JP58078609 A JP 58078609A JP 7860983 A JP7860983 A JP 7860983A JP S59223840 A JPS59223840 A JP S59223840A
Authority
JP
Japan
Prior art keywords
data
copy
modification
print
skip
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.)
Granted
Application number
JP58078609A
Other languages
Japanese (ja)
Other versions
JPH0313612B2 (en
Inventor
Ryuichi Kamei
隆一 亀井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58078609A priority Critical patent/JPS59223840A/en
Publication of JPS59223840A publication Critical patent/JPS59223840A/en
Publication of JPH0313612B2 publication Critical patent/JPH0313612B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To improve the processing efficiency of a printer by using a modification data used to change partially a horizontal skip data and transferring the result from the processor side to print a copy with which the printing position of the print data is changed. CONSTITUTION:The original data is written to a memory OUT from a page buffer PB and then outputted through a printer control part. In this case, it is decided whether the data is equal to the print data or the skip data. Then the data is written to the different areas of the same address. In case of the print data, the addresses are increased. While no increment is given to the addresses in case of the horizontal skip data. In a copy qualification mode, the address of the memory OUT is selected in response to the number of digits of the supplied character. A selection circuit SEL2 decides whether the contents of modification are equal to the printed data or the horizontal skip data. Then the contents of the OUT are delivered through a printer control part. Thus it is possible to qualify the horizontal skip data. Then the processing efficiency of a printer can be more improved with use of the copy modification of the print data together with the copy modification of the skip data.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、水平スキップデータを用いる印刷装置に関し
、特に該水平スキップデータにコピー修飾を施そうとす
るものである。
DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD OF THE INVENTION The present invention relates to a printing device that uses horizontal skip data, and particularly to a printing device that applies copy modification to the horizontal skip data.

従来技術と問題点 電子写真方式による日本語ラインプリンタ等の印刷装置
では、印刷データはライ) (Write)系のコマン
ドで転送され、ページバッファに格納される。格納され
た印刷データ(オリジナルな印刷データ)をそのまま使
用するのが通富の用法であるが、その一部を他のデータ
に置き換えて(修飾して)印刷する機能が該オリジナル
印刷データに対するコピー修飾と呼ばれる。このコピー
修飾によると帳票等を一部分だけ変更して複数枚印刷す
る場合等の処理が著しく簡単になる。
Prior Art and Problems In a printing device such as a Japanese line printer using an electrophotographic method, print data is transferred by a Write command and stored in a page buffer. The usage of Tsutomi is to use the stored print data (original print data) as is, but the function to replace (modify) part of it with other data and print it is a copy of the original print data. called modification. This copy modification greatly simplifies processing when printing multiple copies of a form with only a portion changed.

一方、1行に空白部分(非印字部分)がある場合、従来
方式では該空白部分スペースコードで埋めるという方法
をとるが、電子写真(レーザプリンタ)では文字の大き
さが9ボ、7ボ、倍角など様々であり(多様性がある)
、空白をスペースで埋めるにはどの程度の空白があるの
か計算せねばならず、厄介である。そこで行を所定ドツ
ト数例えば1文字の横方向ドツト数で区切り、この区切
を絶対アドレスとして、何番目の区切に印字するかを指
定する方式を本発明者は先に開発した。この水平スキッ
プデータと呼ぶ桁方向(水平方向)の印字位置指定デー
タを用いると、スペースで埋めることなく空白部分をと
ばして(スキップして)印字できるので、ソフトの作成
が容易になり、印字速度も向上する。この場合上記の印
刷データと水平スキップデータは対となって扱われるが
、従来のコピー修飾は印刷データについてだけ考慮され
ていたので、水平スキップデータを変更する場合には印
刷データを含む全データを置き換える必要があり、デー
タバス効率および処理速度を低下させる要因となってい
る。
On the other hand, if there is a blank space (non-printing area) in one line, the conventional method is to fill the blank space with a space code, but with electrophotography (laser printers), the character size is 9 font, 7 font, etc. There are various types such as double angle (there is diversity)
, you have to calculate how much space there is to fill it with spaces, which is cumbersome. Therefore, the present inventors have previously developed a method in which a line is divided by a predetermined number of dots, for example, the number of horizontal dots of one character, and this division is used as an absolute address to specify the number of divisions to be printed. By using this horizontal skip data, which specifies the print position in the digit direction (horizontal direction), you can print by skipping blank areas without filling them with spaces, making it easier to create software and speeding up printing. It also improves. In this case, the above print data and horizontal skip data are treated as a pair, but since conventional copy modification was only considered for print data, when changing horizontal skip data, all data including print data is It is necessary to replace the data bus, which reduces data bus efficiency and processing speed.

発明の目的 本発明は、水平スキンプデータにもコピー修飾を施して
、印刷装置の処理効率を一層向上させようとするもので
ある。
OBJECTS OF THE INVENTION The present invention aims to further improve the processing efficiency of a printing device by applying copy modification to horizontal skip data.

発明の構成 本発明は、印刷データと、その一部を変更するコピー修
飾データと、印刷データの桁方向の印刷位置を指定する
水平スキップデータをページバッファに格納して印刷す
る印刷装置において、該水平スキップデータの一部を変
更する修飾データを用い、これを前記コピー修飾データ
と同様に処理装置側から転送して該印刷データの印刷位
置を変更したコピーを印刷するようにしてなることを特
徴とするが、以下図示の実施例を参照しながらこれを詳
細に説明する。
Structure of the Invention The present invention provides a printing device that stores print data, copy modification data that changes part of the data, and horizontal skip data that specifies the print position in the digit direction of the print data in a page buffer. It is characterized by using modification data that changes a part of the horizontal skip data, and transferring this from the processing device side in the same way as the copy modification data to print a copy with the printing position of the print data changed. However, this will be explained in detail below with reference to the illustrated embodiment.

発明の実施例 前述したようにコピー修飾は、ライト系のコマンドで転
送されてページバッファに格納された印刷データに対し
て、その一部を他のデータで置き替えたく修飾した)コ
ピーを印刷するための機能である。第1図はその概略説
明図で、CNOはコピ一番号レジスタ、CMBはコピー
修飾バンファ、SCBはシーケン制御バッファ、PBは
ページバッファ、IMGは印刷イメージである。ページ
バッファPBは1頁分以上のデータを格納できるメモリ
容量を持ち、印刷に当っては1頁分のデータと、それに
似た従って一部修正で済む頁(複数あればその全頁)の
該一部修正データ(コピー修飾用データという)を書込
まれる。図ではコピー修飾用データが書込まれるバッフ
ァはCBMとじてPBとは分離して示しているが、実際
はCMBはPBの一部をなす。印刷はこれらのデータ転
送後に行なわれる。修正で済む頁の印刷も終了する頃、
次の新頁(これは修正では済まないので全データの転送
が必要)のデータが、印刷終了で不要となった行データ
の格納領域から逐次該バッファPBへ書込まれ、該新頁
に対するコピー修飾用データも書込み完了となった時点
で該新頁及びその一部修正頁の印刷が開始される。
Embodiment of the Invention As mentioned above, copy modification prints a copy of print data transferred by a write command and stored in the page buffer, modified to replace part of it with other data. This is a function for FIG. 1 is a schematic explanatory diagram thereof, in which CNO is a copy number register, CMB is a copy modification buffer, SCB is a sequence control buffer, PB is a page buffer, and IMG is a print image. The page buffer PB has a memory capacity that can store data for one page or more, and when printing, it stores one page's worth of data and pages (or all pages if there are multiple pages) that are similar to it and therefore require some modification. Partial correction data (referred to as copy modification data) is written. In the figure, the buffer into which copy modification data is written is shown as CBM, which is separate from PB, but in reality, CMB forms a part of PB. Printing is performed after these data are transferred. By the time I finish printing the pages that only require correction,
The data for the next new page (this does not require modification, so all data must be transferred) is sequentially written to the buffer PB from the storage area for line data that is no longer needed after printing is completed, and copy modification is performed on the new page. When writing of the new page data is completed, printing of the new page and its partially corrected page is started.

コピー修飾機能はi、CM(ロード・コピー・モディフ
ィケーション)コマンドで第2図のようなコピー修飾セ
グメントが各修飾部分に対応して転送され、ページバッ
フアPB上のコピー修飾バッファCMBに格納され、そ
してテキストデータTXTもバッファPBに格納された
とき印刷OKとなる。1つのコピー修飾セグメントは最
大260バイト構成で、図示のように0〜5バイトが制
御データ、6〜260バイトがテキストデータ(TXT
)である。制御データA−Fは、「コピ一番号Aのコピ
ーから連続してB枚のコピーに対し、C行目から連続し
てD行分の各行のE文字目からFバイトを次のテキスト
データで置きかえるJことを意味する。
The copy modification function uses the i, CM (load copy modification) command to transfer copy modification segments as shown in Figure 2 corresponding to each modification part and store them in the copy modification buffer CMB on the page buffer PB. When the text data TXT is also stored in the buffer PB, printing becomes OK. One copy modification segment has a maximum of 260 bytes, and as shown in the figure, 0 to 5 bytes are control data, and 6 to 260 bytes are text data (TXT
). The control data A-F is ``For B copies consecutively starting from the copy number A, use the next text data to fill F bytes from the Eth character of each line for D lines consecutively from the Cth line. Replace J means.

この場合、行数の数え方は第3図に示す通りで、用紙の
ミシン目とミシン目の間をn行とすれば、そのうち1.
2行とn−1,n行が印字禁止領域、3〜n−2行がコ
ピー修飾可能な範囲である。FCBはフォーマント・コ
ントロール・バッファである。同一箇所に対して、複数
個のコピー修飾が指定された場合には、最後のテキスト
が有効となる。また、1ページの印字可能な領域を越え
る行に対する指定はすべて無効となる。さらにテキスト
データにスペースコード(ブランクコード)bを指定す
ると、元の印刷データの一部を消すことができる。
In this case, the number of lines is counted as shown in Figure 3. If there are n lines between the perforations of the paper, 1.
The 2nd line and the n-1 and n lines are print-inhibited areas, and the 3rd to n-2 lines are the copy-modifiable range. FCB is a formant control buffer. If multiple copy modifications are specified for the same location, the last text is valid. Furthermore, all specifications for lines exceeding the printable area of one page are invalid. Furthermore, by specifying a space code (blank code) b to the text data, part of the original print data can be erased.

第1図の例はコピ一番号(第2図の人)がLCN(ロー
ド・コピー・ナンバー)という別のコマンドでレジスタ
CNOに取り込まれ、コピ一番号2.3.5の印刷イメ
ージIMG2.1MG3゜1MG5にコピー修飾する例
を示している。ぺ一シバソファPBにWriteコマン
ドで転送された印刷データは印刷イメージ1MG4にそ
のまま出力されるがIMG2では「定価」に相当する個
所がテキストデータTXTによって請求書に変更される
。1MG3ではその部分が「控え」に、さらに1MG5
では「受領書」に変更される。1MG5では同時に「5
00円」の部分がブランクコードbでスペースに変更さ
れる。シーケンス制御バッツ73CBにはLoad  
F OS C1なるコマンドで各印刷イメージにオーバ
レイ(枠)を付すか(FF)否か(00)が書込まれる
。FFの上段の01は1枚目(オリジナル)を示し、0
0の上段の04は続く4枚のコピーを指す。
In the example in Figure 1, the copy number (person in Figure 2) is loaded into the register CNO by another command called LCN (Load Copy Number), and the print image of copy number 2.3.5 is printed as IMG2.1MG3. An example of copy modification to ゜1MG5 is shown. The print data transferred to the computer sofa PB by the Write command is output as is to the print image 1MG4, but in the IMG2, the part corresponding to "list price" is changed to an invoice by the text data TXT. In 1MG3, that part is "reserved", and in addition, 1MG5
It will be changed to "Receipt". In 1MG5, at the same time “5
00 yen" is changed to a space using blank code b. Sequence control Butts 73CB has Load
With the command FOS C1, whether an overlay (frame) is attached to each print image (FF) or not (00) is written. 01 at the top of FF indicates the first sheet (original), and 0
04 in the upper row of 0 indicates the following four copies.

第4図は本発明の一実施例を示すブロック図である。P
Bは前述のページバッファで、コピー修飾バッファCH
Bはその一部である。SEL 1は文字数・メモリアド
レス選択回路、5EL2は印刷データ・水平ステップデ
ータ選択回路、INCはメモリアドレス・インクリメン
ト回路、OUTは出力バッファメモリである。ページバ
・ソファPB内には第5図に示すようにオリジナルの印
刷データと同じくオリジナルの水平スキップデータが対
となって格納されている。印刷位置の基準は絶対アドレ
スA、B、C,・・・・・・の順であるが、水平スキッ
プデータは印刷データを任意の印刷位置ヘスキソプさせ
る。第5図の例はページバ・ソファPB内にオリジナル
の印刷データとして、第1桁から第8桁までに「ア、イ
、つ、工、オ、力、キ、り」が格納されている場合に、
第1文字「ア」に対しては印刷位置(絶対アドレス)B
ヘスキソプすることを指示し、また第2文字「イ」に対
しては印刷位置りまでスキップすることを指示し、さら
に第4文字「工」に対しては印ti+1位置Gまでスキ
ップすることを指示している。水平スキップデータの0
はスキップせずに印刷位置を単にインクリメントするこ
とを示す。
FIG. 4 is a block diagram showing one embodiment of the present invention. P
B is the page buffer mentioned above, and copy modification buffer CH
B is part of it. SEL1 is a character number/memory address selection circuit, 5EL2 is a print data/horizontal step data selection circuit, INC is a memory address/increment circuit, and OUT is an output buffer memory. As shown in FIG. 5, original horizontal skip data and original horizontal skip data are stored as a pair in the page bar sofa PB, as shown in FIG. The reference for print position is the order of absolute addresses A, B, C, . . . , but the horizontal skip data allows print data to be skipped to any print position. The example in Figure 5 is when "A, I, Tsu, Work, O, Power, Ki, Ri" are stored as original print data in the page bar/sofa PB from the 1st to 8th digits. To,
Print position (absolute address) B for the first character “A”
It also instructs to skip to the print position for the second character "I", and instructs to skip to the print position G for the fourth character "G". are doing. 0 of horizontal skip data
indicates to simply increment the print position without skipping.

印刷データに対するコピー修飾を第5図では印刷データ
修飾と呼び、オリジナル印刷データの第4文字「工」と
第7文字「キ」をそれぞれ「す」と「シ」に修飾する例
を示している。本発明ではこの印刷データに対するコピ
ー修飾と同様に、水平スキップデータにもコピー修飾を
施す。ここではこれを水平スキップデータ修飾と呼ぶ。
The copy modification to print data is called print data modification in Fig. 5, which shows an example of modifying the fourth character "K" and the seventh character "K" in the original print data to "S" and "Shi", respectively. . In the present invention, copy modification is applied to horizontal skip data in the same way as copy modification is applied to this print data. Here, this is called horizontal skip data modification.

第5図の例ではオリジナル水平スキップデータの丸印を
付した第2.3.7文字目の水平スキップデータにコピ
ー修飾を施しである。具体的には第2文字に関する水平
スキップデータをDから0に代え、また第3文字のそれ
を0からEに、さらに第7文字の0をKに代えている。
In the example of FIG. 5, copy modification is applied to the 2nd, 3rd, and 7th character horizontal skip data marked with a circle in the original horizontal skip data. Specifically, the horizontal skip data for the second character is changed from D to 0, that for the third character is changed from 0 to E, and 0 for the seventh character is changed to K.

この結果得られる修飾印刷出力を第5図最下段に示す。The resulting modified print output is shown in the bottom row of FIG.

この例を印刷データ修飾も同時に施されている。In this example, print data modification is also applied at the same time.

上述した印刷データに対する修飾および水平スキップデ
ータに対する修飾は、CPUからソフトウェアによって
容易に行うことができる。しかもCPUから転送する修
飾データは変更のある部分に関する局部的なものである
ため、1ペ一ジ分の全データを転送し直すよりはるかに
バス効率は良く、処理時間も短かくて済む。
The above-described modification of print data and horizontal skip data can be easily performed by software from the CPU. Moreover, since the modification data transferred from the CPU is local to the part that has been changed, the bus efficiency is much better and the processing time is much shorter than retransferring all the data for one page.

第4図の概略動作は次の通りである。コピー修飾に際し
ては、まず印刷の際に元となるオリジナルデータをペー
ジバッファPBよりメモリOUTへ書き込んでこれをプ
リンタ制御部(図示せず)により出力する。この際、印
刷データかスキップデータかを判別して同一アドレスの
異なる部分に書き込む。また書き込みデータが印刷デー
タの場合にはメモリのアドレスをインクリメントして次
のデータの書き込み準備を行なう。しかし水平スキップ
データの場合にはアドレスインクリメントは行なわない
。これは文字に対して印刷位置を指定しているためであ
る。次にコピー修飾の場合は与えられた文字の桁数より
メモリOUTのメモリアドレスを選択して、修飾内容が
印刷データか水平スキップデータかを選択回路5EL2
で判別してメ、そりOUTの内容を変更する。次にこの
メモリ内容をプリンタ制御部により出力することで第5
図の出力が実現できる。
The general operation of FIG. 4 is as follows. In the case of copy modification, first, the original data that becomes the basis for printing is written from the page buffer PB to the memory OUT, and this is output by a printer control section (not shown). At this time, it is determined whether the data is print data or skip data and written to different parts of the same address. If the write data is print data, the memory address is incremented to prepare for writing the next data. However, in the case of horizontal skip data, address increment is not performed. This is because the printing position is specified for the character. Next, in the case of copy modification, the memory address of the memory OUT is selected based on the number of digits of the given character, and the selection circuit 5EL2 selects whether the modification content is print data or horizontal skip data.
, and then change the contents of sled OUT. Next, by outputting this memory content by the printer control unit, the fifth
Figure output can be achieved.

発明の効果 以上述べたように本発明によれば、印刷データの印刷位
置を指定する水平スキップデータをコピー修飾すること
ができるので、同し印刷データを印刷位置だけ変えて複
数枚コピーする場合等のハス効率が改善され、またCP
Uの処理時間が短縮される利点がある。特に印刷データ
に対するコピー修飾と併用すればその効率が一層顕著に
なる。
Effects of the Invention As described above, according to the present invention, it is possible to copy the horizontal skip data that specifies the print position of print data, so it is possible to copy multiple copies of the same print data by changing only the print position. The lotus efficiency has been improved, and the CP
There is an advantage that the processing time of U is shortened. In particular, if it is used in combination with copy modification for print data, its efficiency becomes even more remarkable.

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

第1図は印刷データに対するコピー修飾の説明図、第2
図はそのコピー修飾セグメントの説明図、第3図は行数
の数え方の説明図、第4図は本発明の一実施例を示すブ
ロック図、第5図は印刷データおよび水平スキップデー
タに対するコピー修飾の説明図である。 図中、PBはページハソファ、CMBはコピー修飾バッ
ファである。 出願人 富士通株式会社 代理人弁理士   青   柳     稔第2図 第3図 第4区 PU UT
Figure 1 is an explanatory diagram of copy modification for print data, Figure 2
The figure is an explanatory diagram of the copy modification segment, Fig. 3 is an explanatory diagram of how to count the number of lines, Fig. 4 is a block diagram showing an embodiment of the present invention, and Fig. 5 is a copy of print data and horizontal skip data. It is an explanatory diagram of modification. In the figure, PB is a page buffer, and CMB is a copy modification buffer. Applicant Fujitsu Limited Representative Patent Attorney Minoru Aoyagi Figure 2 Figure 3 District 4 PU UT

Claims (1)

【特許請求の範囲】[Claims] 印刷データと、その一部を変更するコピー修飾データと
、印刷データの桁方向の印刷位置を指定する水平スキッ
プデータをページバッファに格納して印刷する印刷装置
において、該水平スキンプデータの一部を変更する修飾
データを用い、これを前記コピー修飾データと同様に処
理装置側から転送して該印刷データの印刷位置を変更し
たコピーを印刷するようにしてなることを特徴とする印
刷装置。
In a printing device that stores and prints print data, copy modification data that changes part of it, and horizontal skip data that specifies the print position in the digit direction of the print data in a page buffer, a part of the horizontal skip data A printing apparatus characterized in that the printing apparatus uses modification data for changing the print data, transfers the modification data from the processing device side in the same way as the copy modification data, and prints a copy in which the print position of the print data is changed.
JP58078609A 1983-05-04 1983-05-04 Printer Granted JPS59223840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58078609A JPS59223840A (en) 1983-05-04 1983-05-04 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58078609A JPS59223840A (en) 1983-05-04 1983-05-04 Printer

Publications (2)

Publication Number Publication Date
JPS59223840A true JPS59223840A (en) 1984-12-15
JPH0313612B2 JPH0313612B2 (en) 1991-02-22

Family

ID=13666619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58078609A Granted JPS59223840A (en) 1983-05-04 1983-05-04 Printer

Country Status (1)

Country Link
JP (1) JPS59223840A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63125371A (en) * 1986-11-14 1988-05-28 Mitsubishi Electric Corp Copy modification for printer
US4757462A (en) * 1983-12-08 1988-07-12 Ricoh Company, Ltd. Signal processing apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55115137A (en) * 1979-02-26 1980-09-04 Hitachi Ltd Format control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55115137A (en) * 1979-02-26 1980-09-04 Hitachi Ltd Format control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4757462A (en) * 1983-12-08 1988-07-12 Ricoh Company, Ltd. Signal processing apparatus
JPS63125371A (en) * 1986-11-14 1988-05-28 Mitsubishi Electric Corp Copy modification for printer

Also Published As

Publication number Publication date
JPH0313612B2 (en) 1991-02-22

Similar Documents

Publication Publication Date Title
JPS6022234A (en) Form overlay type printer
JPH0378651B2 (en)
JPS59223840A (en) Printer
JP3246142B2 (en) Printing control device
JPS60257254A (en) Character generator for perfection printing
JPH0570856B2 (en)
JPS5911439A (en) Character processor
JPS6166657A (en) Generating device of character for two-side print
JPS5936849A (en) Method for controlling overlay of form
JP2685724B2 (en) Document processing method
JPS6166656A (en) Generating device of character for two-side printing
JP3143118B2 (en) Printer and print image pattern development method
JP2908571B2 (en) Page printer
JPS6246010B2 (en)
JPH0462075A (en) Font data recording system of printer
JPS58107591A (en) Overlapping character pattern generation system
JP2738174B2 (en) Format control method
JPH058454A (en) Bar code printer
JPH0344728A (en) Page printer controller
JPS61289380A (en) Document generator
JPH01208153A (en) Printing control apparatus
JP2002132473A (en) Network printer
JPH05298037A (en) Form overlay type print method
JPH11196265A (en) Image forming device and method for it
JPH04345871A (en) Control circuit for page printer