JPS61265629A - Storage system of printing data - Google Patents

Storage system of printing data

Info

Publication number
JPS61265629A
JPS61265629A JP60108619A JP10861985A JPS61265629A JP S61265629 A JPS61265629 A JP S61265629A JP 60108619 A JP60108619 A JP 60108619A JP 10861985 A JP10861985 A JP 10861985A JP S61265629 A JPS61265629 A JP S61265629A
Authority
JP
Japan
Prior art keywords
printing
data
pattern
address
printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60108619A
Other languages
Japanese (ja)
Inventor
Takao Miehori
三重堀 孝雄
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60108619A priority Critical patent/JPS61265629A/en
Publication of JPS61265629A publication Critical patent/JPS61265629A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To decrease the capacity of a memory by storing an optional one of function codes in a memory together with a printing data as a repeated printing instruction, when executing the printing. CONSTITUTION:After a printer has read out a data of a pattern A, when a repeated printing instruction 1 is read out, the printer executes read-out again from an address 3 in which the first data of the pattern A stored in addresses 4012, 4013 is stored, namely, an address 4000. When the printer reads out a data of a pattern B, and a repeated printing instruction 4 is read out, read-out is executed again from an address 4016. In such a way, it becomes unnecessary to store all the data that are printed by a self-printer.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は印字データの記憶方式、特にプリンタがセルフ
プリントを行うために必要な印字データをプリンタ内部
のメモリに記憶させるための記憶方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a print data storage method, and particularly to a storage method for storing print data necessary for a printer to perform self-printing in a memory inside the printer.

〔従来の技術〕[Conventional technology]

従来、プリンタがセルフプリントを行うために、プリン
タ内部のメモリに印字データを記憶する場合、セルフプ
リントにて印字する印字データは印字する順番にすべて
記憶されなければならなかった。
Conventionally, when storing print data in a memory inside the printer in order for the printer to perform self-printing, all of the print data to be printed by self-printing had to be stored in the order in which they were printed.

例えば、第3図に示されるような印字パターンをセルフ
プリントで印字する場合、印字データは第2図のように
プリンタ内部のメモリに記憶しなけれはならなかった。
For example, when printing a print pattern as shown in FIG. 3 by self-printing, the print data had to be stored in a memory inside the printer as shown in FIG.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように従来の記憶法によれば、セルフプリントによ
シ印字されるデータを、印字される順番にすべて記憶し
なければならないため、どんな印シくターンでも印字量
が増加すれば、それに比例して印字データを記憶してお
くためのメモリの容量も増加させなければならないとい
う問題点かあった。
In this way, according to the conventional memory method, all the data printed by self-printing must be memorized in the order in which they are printed. There was also a problem in that the capacity of the memory for storing print data had to be increased.

本発明の目的は従来のもののこのような問題点を解決し
、メモリ容量が少くてすむ印字データの記憶方式を提供
することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the conventional method and to provide a print data storage method that requires less memory capacity.

〔問題点を解決するための手段〕[Means for solving problems]

本発明によるとプリンタがセルフプリントを行うために
メモリに印字データを記憶させている場合、前記プリン
タが印字を行う際に使用する必要のないファンクシ璽ン
コードのうちの1つのコードをくり返し印字命令として
記憶すべき印字データと共にメモリへ記憶させる手段と
、前記くり返し印字命令に続けてくり返す回数を記憶さ
せる手段と、更にくり返し印字を行う印字パターンの最
初のデータを記憶したメモリのアドレスを記憶させる手
段を有することを特徴とする印字データ記憶方式が得ら
れる。
According to the present invention, when a printer stores print data in its memory in order to perform self-printing, one of the funxy codes that the printer does not need to use when printing is repeatedly used as a print command. means for storing in the memory together with the print data to be stored; means for storing the number of repetitions following the repeat printing command; and means for storing the address of the memory where the first data of the print pattern to be repeatedly printed is stored. A print data storage method is obtained which is characterized by having the following.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図社本発明の記憶方式を第3図の印字パターンに対
して実施した場合のメモリマツプである。
Figure 1 is a memory map when the storage method of the present invention is applied to the print pattern of Figure 3;

尚、プリンタはセルフプリントを行う場合、4000番
地からデータを読み出し印字するものとする。
Note that when the printer performs self-printing, it is assumed that the printer reads data from address 4000 and prints it.

また本実施例ではくり返し印字命令にDC2コード(1
2H)を使用するとととする。
In addition, in this embodiment, the DC2 code (1
2H) is used.

4000番地〜400F番地には印字パターン人のデー
タが記憶されておシ、続(4010番地にはパターンA
K対するくり返し印字命令1が記憶されている。プリン
タがパターン人のデータを読み出した後、<シ返し印字
命令1を読み出した時、プリンタは4012番地及び4
013番地に記憶されたパターン人の最初のデータが記
憶されて込るアドレス3、つま、94000番地から再
び読み出しを行う。4011番地に記憶されたパターン
Aのくり返し回数2で示される回数分、つまシ2回、パ
ターンAのデータを読み出した後、プリンタd4014
番地のORコード(ODn)及び4015番地のLFコ
ード(OAg)を読み出し、第3図の1行目の印字を終
了する。
Addresses 4000 to 400F store the data of the printing pattern person.
A repeat printing command 1 for K is stored. After the printer reads the pattern person data, <When the printer reads the return print command 1, the printer prints the data at addresses 4012 and 4.
Reading is performed again from address 3, which is address 94000, where the first data of the pattern person stored at address 013 is stored. After reading the data of pattern A two times for the number of repetitions 2 of pattern A stored at address 4011, the printer d4014
The OR code (ODn) of the address and the LF code (OAg) of address 4015 are read out, and printing of the first line in FIG. 3 is completed.

4016番地〜4035番地には印字パターンBのデー
タが記憶されておシ、4038番地にはパターンBに対
するくり返し印字命令4が記憶されている。プリンタが
パターンBのデータを読み出し、更に4036番地のO
Rコード及び4037番地のLFコードを読み出し、第
3図の2行目の印字を終えた後、パターンBに対するく
り返し印字命令4を読み出した時、403A番地及び4
03B番地によシ示されたアドレスつまfi4016番
地より再び読み出しを行う。この場合、〈り返し印字命
令4の前にORコード及びL k’コードが記憶されて
いるので、4037番地に記憶されたパターンBのくり
返し回数5によシ示された行数分、つまシ3行分パター
ンBi印字することになる。
Data of print pattern B is stored at addresses 4016 to 4035, and repeat printing command 4 for pattern B is stored at address 4038. The printer reads the data of pattern B and then prints the data at address 4036.
After reading the R code and the LF code at address 4037 and finishing printing the second line in FIG.
Reading is performed again from the address indicated by address 03B or address fi4016. In this case, since the OR code and the L k' code are stored before the repeat printing command 4, the number of lines indicated by the number of repetitions 5 of pattern B stored at address 4037 is printed. Three lines of pattern Bi will be printed.

以上で第3図の印字パターンをすべて印字したことにな
るが、従来の記憶法によ#)第3図の印字パターンを記
憶すると、第2図に示されるように4000番地〜40
87番地、つまり136バイトのメモリ容量が必要なの
に対し、この実施例によれば4000番地〜403B番
地、つま1)60バイトのメモリ容量があればよいこと
がわかる。
With the above steps, all the printing patterns shown in Figure 3 have been printed.If you memorize the printing patterns shown in Figure 3 using the conventional memorization method, the numbers 4000 to 4000 will be printed as shown in Figure 2.
87 address, that is, a memory capacity of 136 bytes, according to this embodiment, it is understood that the memory capacity of addresses 4000 to 403B, i.e., 1) 60 bytes, is sufficient.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、印字を行う際に使用する
必要の逢い7アンクシ曹ンコードのうち任意の1つをく
り返し印字命令として印字データと共にメモリに記憶す
ることによシ、セルフプリントにて印字されるデータを
印字する順番にすべて記憶しておく必要がなくなるため
、従来に比らベメモリ容量を少くできる効果がある。
As explained above, the present invention enables self-printing by repeatedly storing any one of the seven code codes that are necessary for printing in the memory together with print data as a print command. Since it is no longer necessary to store all of the data to be printed in the order in which it is to be printed, there is an effect that the memory capacity can be reduced compared to the conventional method.

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

第1図は本発明を第3図の印字パターンに対し実施した
場合の一例のメモリマツプ、第2図は第3図の印字パタ
ーンに対し従来の記憶法を実施した場合のメモリマツプ
、第3図はl印字パターンの一例である。 l・・・・・・パターンAK対する〈シ返し印字命令、
2・・・・・・パターンAのく多返し印字回数、3・・
・・・・パターンAO最初のデータが記憶されているメ
モリの7ドレス、4・・・・・・パターンBに対するく
夛返し印字命令、5・・・・・・パターンBの〈シ返し
印字回数、6・・・・・・パターンBの最初のデータが
記憶されているメモリのアドレス。
FIG. 1 is an example of a memory map when the present invention is applied to the print pattern shown in FIG. 3, FIG. 2 is a memory map when the conventional memorization method is applied to the print pattern shown in FIG. 3, and FIG. This is an example of a l printing pattern. l...<Return printing command for pattern AK,
2...Number of repeated printing in pattern A, 3...
...7th address of the memory where the first data of pattern AO is stored, 4...Repeat printing command for pattern B, 5...Number of repeat printing of pattern B , 6... Memory address where the first data of pattern B is stored.

Claims (1)

【特許請求の範囲】[Claims] プリンタがセルフプリントを行うためにメモリに印字デ
ータを記憶させている場合、前記プリンタが印字を行う
際に使用する必要のないファンクションコードのうちの
1つのコードをくり返し印字命令として記憶すべき印字
データと共にメモリへ記憶させる手段と、前記くり返し
印字命令に続けてくり返す回数を記憶させる手段と、更
にくり返し印字を行う印字パターンの最初のデータを記
憶したメモリのアドレスを記憶させる手段を有すること
を特徴とする印字データ記憶方式。
If the printer stores print data in its memory for self-printing, the print data should be stored as a repeat print command of one of the function codes that the printer does not need to use when printing. It is characterized by comprising means for storing the same in the memory, means for storing the number of repetitions following the repeat printing command, and means for storing an address of the memory storing the first data of the printing pattern to be repeatedly printed. Print data storage method.
JP60108619A 1985-05-20 1985-05-20 Storage system of printing data Pending JPS61265629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60108619A JPS61265629A (en) 1985-05-20 1985-05-20 Storage system of printing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60108619A JPS61265629A (en) 1985-05-20 1985-05-20 Storage system of printing data

Publications (1)

Publication Number Publication Date
JPS61265629A true JPS61265629A (en) 1986-11-25

Family

ID=14489383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60108619A Pending JPS61265629A (en) 1985-05-20 1985-05-20 Storage system of printing data

Country Status (1)

Country Link
JP (1) JPS61265629A (en)

Similar Documents

Publication Publication Date Title
JPS60141076A (en) Control system of printer
JPS61265629A (en) Storage system of printing data
JPS6321158A (en) Printer output device
JPS6230052A (en) Memorizing method for printing pattern
JPS61292185A (en) Output unit
JPS63131182A (en) Character pattern generation system
JPS58166464A (en) Zap data correction control system
JPH07106649B2 (en) output method
JPS61129683A (en) Character generation system
JPS59114655A (en) Data transfer device
JPS5839380A (en) Character string controller
JPH06183093A (en) Printing equipment
JPH02236754A (en) Information processor
JPS6111844A (en) Recorder
JPH0325645A (en) Swapping system for virtual space
JPH051491B2 (en)
JPS60110460A (en) Former of printing data
JPS634293A (en) Pattern storage system
JPS6235397A (en) Output unit
JPH02239956A (en) Printer control system
JPS627561A (en) Printer
JPS63216773A (en) Printing data developing system
JPH0315939A (en) Printing device
JPS6347795A (en) Character pattern access system
JPH04269565A (en) Document preparing device