JPS61290519A - Output device - Google Patents

Output device

Info

Publication number
JPS61290519A
JPS61290519A JP60132016A JP13201685A JPS61290519A JP S61290519 A JPS61290519 A JP S61290519A JP 60132016 A JP60132016 A JP 60132016A JP 13201685 A JP13201685 A JP 13201685A JP S61290519 A JPS61290519 A JP S61290519A
Authority
JP
Japan
Prior art keywords
command
user
character
fundamental
basic
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
JP60132016A
Other languages
Japanese (ja)
Inventor
Yoshiaki Kawamura
吉章 河村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60132016A priority Critical patent/JPS61290519A/en
Publication of JPS61290519A publication Critical patent/JPS61290519A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To utilize effectively a multifunctional property to the maximum by providing a means for discriminating an information code train which can be specified optionally, and a means for converting an optional information code train which is defined in advance, to an output control command. CONSTITUTION:In case a print data or a printing command is sent from a host computer 1, when a body decides a user command start character #, the following one character is received, and in case of !, a data which is sent is a user command, therefore, the following several characters are received, and a user command analyzing part 26 refers to a fundamental command/user command conversion table 27, and converts this user defining command to a fundamental command. This converted fundamental command is analyzed by a fundamental command analyzing part 22, and a processing corresponding to the analyzed fundamental command is executed by a control part 21.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は任意の情報コード列で出力制御コマンドを指定
できる出力装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an output device that can specify an output control command using an arbitrary information code string.

[開示の概要] 木明細書及び図面は任意の情報コード列により出力制御
コマンドを指定することができ、かつこの任意に指定し
た情報コード列により指定された出力制御コマンドに従
い、情報コード列を出力制御することにより、使い易い
操作者に合ったコード列で出力制御コマンドを定義実行
可能な出力装置を開示するものである。
[Summary of Disclosure] In the tree specification and drawings, an output control command can be specified by an arbitrary information code string, and the information code string can be output in accordance with the output control command specified by the arbitrarily specified information code string. The present invention discloses an output device that can be controlled to define and execute output control commands using code strings that are easy to use and suit the operator.

[従来の技術] 近年、マイクロプロセッサの高性能化、RAM、ROM
など半導体素子の値段の低下などにより印刷時の書体切
り換え、網かけ、文字の回転、拡大、縮小など多数の機
能を備える印刷装置が増加している。しかし、印刷装置
が持っているこれら多数の機能を制御するのは、およそ
人間的でないその印刷装置特有の英数字等から成る符号
列であった。
[Prior art] In recent years, the performance of microprocessors, RAM, and ROM have improved.
Due to the decline in the price of semiconductor devices, an increasing number of printing devices are equipped with a number of functions such as font switching during printing, shading, character rotation, enlargement, and reduction. However, these many functions of a printing device are controlled by a non-human code string consisting of alphanumeric characters and the like unique to the printing device.

L発明が解決しようとする問題点1 以上説明した様に従来の印刷装置においては、その機能
が多いほど符号の組合せである印刷制御コマンドの数も
多く、オペレータもそのコマンド全体を覚えきれないと
いう欠点があった。従って、この複雑な印刷制御コマン
ドを組合せて印刷プログラムを作成する場合、オペレー
タはその都度印刷制御コマンド表を参照するための時間
を要したり、あるいはそれが面倒でせっかく印刷装置が
持っている有用な機能を使わない等の不具合が生じてい
た。
Problems to be Solved by the L Invention 1 As explained above, in conventional printing devices, the more functions there are, the more print control commands that are combinations of codes, and the operator cannot remember all the commands. There were drawbacks. Therefore, when creating a print program by combining these complex print control commands, the operator may have to spend time referencing the print control command table each time, or may find it troublesome to use the useful information that the printing device has. There were problems such as not being able to use certain functions.

L問題点を解決するための手段」 この問題を解決するための一手段として任意に特定可能
な情報コード列を判別する手段と、予め定義された任意
の情報コード列を出力制御コマンドに変換可能な手段と
を備える。
``Means for Solving Problem L'' As a means to solve this problem, there is a means for determining an arbitrarily specifiable information code string, and a means for converting any predefined information code string into an output control command. be equipped with suitable means.

「作用」 かかる構成において制御コマンドをオペレータが登録す
る任意の情報コード列(例えば文字列、記号列)に置き
かえ可能にし、より人間的な覚え易いコマンドによって
その多機能性を最大限に有効に使用することを可能とす
る。
"Function" In such a configuration, the control command can be replaced with any information code string (e.g., character string, symbol string) registered by the operator, and its multifunctionality can be used to the maximum effect with more human-like and easy-to-remember commands. make it possible to

〔実施例] 以下、添付図面に従って1本発明に係る一実施例を詳細
に説明する。
[Embodiment] Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明に係る一実施例の印刷装置の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing the configuration of a printing apparatus according to an embodiment of the present invention.

図において、1は本実施例に対してイメージやコードか
らなるプリントデータ及び印刷コマンドを出力するホス
トコンピュータ、2は本実施例装置の本体、3はホスト
コンピュータ1から送られてくるプリントデータや印刷
コンマントに従い用紙上に永久可視像を形成するドツト
プリンタである。
In the figure, 1 is a host computer that outputs print data and print commands consisting of images and codes to this embodiment, 2 is the main body of the device of this embodiment, and 3 is print data and print data sent from the host computer 1. A dot printer that forms a permanent visible image on paper according to a command.

本体2は主制御を掌る制御部21.ドツトプリンタ3に
対する印刷制御コマンドである基本コマンドを解析する
基本コマンド解析部22.ユーザ定義コマンドの開始を
検出するユーザコマンド検出部23、ユーザ定義コマン
ドの開始キャラクタコードを格納するユーザコマンド開
始キャラクタ格納テーブル24.ユーザ定義コマンドの
開始キャラクタの数を記憶するユーザコ→ンド開始キャ
ラクタカウンタ25、ユーザ定義コマンドを基本コマン
ドに変換するユーザコマンド解析部26゜ユーザ定義コ
マンドと基本コマンドの対応を記憶する基本コマンド拳
ユーザコマンド変換テーブル27、ホストコンピュータ
1から入力されるプリントデータのうちのコードデータ
を対応するパターンデータに変換するパターン変換部2
8を備えている。上述の制御部21を含む本体2はRO
M、RAMを含むアイクロプロセッサにより実現される
The main body 2 includes a control section 21 that performs main control. A basic command analysis unit 22 that analyzes basic commands that are print control commands for the dot printer 3. A user command detection unit 23 that detects the start of a user-defined command; a user command start character storage table 24 that stores the start character code of a user-defined command; A user command start character counter 25 that stores the number of start characters of user-defined commands, a user command analysis unit 26 that converts user-defined commands into basic commands, and a basic command user command that stores the correspondence between user-defined commands and basic commands. a conversion table 27, a pattern conversion unit 2 that converts code data of print data input from the host computer 1 into corresponding pattern data;
It is equipped with 8. The main body 2 including the above-mentioned control section 21 is RO
It is realized by an microprocessor including M and RAM.

以上の構成より成る本実施例で用いるデータ列の例を第
2図に示す。
FIG. 2 shows an example of a data string used in this embodiment having the above configuration.

第2図において、第2図(A)は装置固有の基本コマン
ドを使用して文字列「A」 「B」 「C」のうち文字
「B」だけに網点をかけるためのデータ列を示し、$2
図(B)はユーザ定義コマンドを使用して第2図(A)
と同様の印刷結果を得るデータ列を示している。
In Fig. 2, Fig. 2 (A) shows a data string for halftone dotting only the character ``B'' among the character strings ``A'', ``B'', and ``C'' using basic commands unique to the device. , $2
Figure (B) is the same as Figure 2 (A) using user-defined commands.
This shows a data string that yields a print result similar to .

第2図(A)において、網点開始の基本コマンドはrc
sIJ  r2J  rSJ  rmJ、網゛点終了の
基本コマンドはrcsIJ  r2J  rSJ  r
mJ である、同様のデータ列に対応する本実施列のデ
ータ列を示す第2図(B)においてはユーザコマンド開
始キャラクタがrSJ  rlJの2文字、網点開始、
網点終了のユーザ定義コマンドがそれぞれrA」 ra
」 rlJ r−J  rSJ 、rAJ  rMJr
I」 r−JrE」を示している。このユーザ定義コマ
ンドの登録は以下の様にして行われる。
In Figure 2 (A), the basic command to start halftone dots is rc
sIJ r2J rSJ rmJ, the basic command for finishing halftone dots is rcsIJ r2J rSJ r
In FIG. 2(B), which shows a data string of this embodiment corresponding to a similar data string of mJ, the user command start character is two characters rSJ rlJ, halftone dot start,
Each user-defined command for ending halftone dots is rA.
” rlJ r-J rSJ, rAJ rMJr
I"r-JrE". Registration of this user-defined command is performed as follows.

登録はまずユーザ定義コマンドを入力し続いて対応する
基本コマンド列を入力する。この時ユーザ定義コマンド
の開始キャラクタとして実施例ではra」 rl、Hの
2つのキャラクタがこの順序で連続することを要件とし
ており、ユーザコマンド開始キャラクタ格納テーブル2
4にはこの“#”“t″コード格納される。勿論、ユー
ザ定義コマンドの開始キャラクタはra」 rlJの組
合せでなく例えば「¥J  rl  rSJの3つのキ
ャラクタが連続することを要件として定義しても良い、
つまり、ユーザ定義コマンドの開始キャラクタとしての
要件は通常の印刷用データの一連のデータ列では発生し
ないようなキャラクタコードの組合せであれば何でも良
い。
To register, first input a user-defined command and then input the corresponding basic command string. At this time, in the embodiment, it is required that the two characters ``ra'', ``rl'', and ``H'' be consecutive in this order as the starting characters of the user-defined command, and the user command starting character storage table 2
This "#""t" code is stored in 4. Of course, the starting character of the user-defined command may be defined as a requirement that the three characters ``\J rl rSJ'' are consecutive instead of the combination ``ra'' rlJ.
In other words, the starting character of the user-defined command may be any combination of character codes that does not occur in a series of data strings of normal print data.

ユーザコマンド開始キャラクタカウンタ25には例えば
最初“2”が格納され、「#」を検出すると“1″とな
り次に「!」が検出されると“0″となって、ユーザコ
マンド検出部23がユーザコマンド検出となり1次に「
!」以外が検出されれば、再び“2”に戻る。ここで別
の例として前述の「¥J  「$J  rSJとしてユ
ーザ定義コマンドの開始キャラクタを定義してあれば、
ユーザコマンド開始キャラクタカウンタ25は「¥J 
 Il」 rSJが連続して検出される度に。
For example, the user command start character counter 25 initially stores "2", and when "#" is detected, it becomes "1", and when "!" is detected, it becomes "0", and the user command detection unit 23 A user command is detected and the primary
! If a value other than `` is detected, the value returns to ``2'' again. Here, as another example, if the start character of the user-defined command is defined as the above-mentioned "\J" $J rSJ,
The user command start character counter 25 is "\J
Il” each time rSJ is detected consecutively.

最初の“3″の状態から−2”、“1”、′0”となっ
て、全て一致すればユーザコマンド検w部23によるユ
ーザコマンド検出となる。
The initial state of "3" changes to -2, "1", and '0', and if they all match, the user command detection unit 23 detects the user command.

以上の操作によりユーザ開始コマンドの開始キャラクタ
を登録し、引き続き、網点開始のコマンド列にrAMI
−5J  (又は網点終了のコマンドとして「AMI−
E」)を入力し、続いて対応する基本コマンド列である
rC3I  5  ml  (又はrcsI  25 
 nB)を入力して登録する。
By the above operations, register the start character of the user-initiated command, and then add rAMI to the halftone start command string.
-5J (or "AMI-" as the halftone end command)
"E") followed by the corresponding basic command sequence rC3I 5 ml (or rcsI 25
nB) to register.

次に本発明の全体制御を第3図を用いて説明する。第3
図は本実施例の印刷制御を示すフローチャートである。
Next, the overall control of the present invention will be explained using FIG. 3. Third
The figure is a flowchart showing print control in this embodiment.

図の処理はホストコンピュータ1からプリントデータま
たは印刷コマンドを受は取った時点から開始される。ス
テップS1では入力したデータが改ページコードである
か否かを判別し、改ページコードであればステップS7
へ進み、パターン変換部28によって現在までにドツト
パターン展開されている印刷データをドツトプリンタ8
に出力し印刷結果を得る。またステップs1で改ページ
コードでない場合、ステップS2に進み基本コマンドの
先頭キャラクタを示すrcsIJであるか否かを判別す
る。rcsIJであればステップS3に進み、後に続く
基本コマンド列を示す数キャラクタを受け、これを基本
コマンドとして解析し必要に応じて実行する。またrC
3IJでなければ、ステップS4に進み、ユーザコマン
ド開始キャラクタ即ち「#」であるかを判定し、「#」
であれば後に続くlキャラクタを受けrlJであるかを
判別する。「!」であれば続いて送られてくるデータは
ユーザコマンドであるためステップS5に進み、後に続
く数キャラクタを受゛け、ユーザコマンド解析部26は
基本コマンド・ユーザコマンド変換テーブル27を参照
し、このユーザ定義コマンドを基本コマンドに変換する
。そして必要に応じて変換した基本コマンドを実行する
The process shown in the figure starts when print data or a print command is received from the host computer 1. In step S1, it is determined whether the input data is a page break code, and if it is a page break code, step S7
Then, the print data that has been developed into a dot pattern by the pattern converter 28 is transferred to the dot printer 8.
Output to and get the print result. If it is determined in step s1 that the code is not a page break code, the process proceeds to step S2, where it is determined whether or not it is rcsIJ, which indicates the first character of a basic command. If it is rcsIJ, the process advances to step S3, where it receives several characters indicating a subsequent basic command string, analyzes this as a basic command, and executes it as necessary. Also rC
If it is not 3IJ, the process proceeds to step S4, and it is determined whether it is the user command start character, that is, "#", and "#"
If so, it receives the following l character and determines whether it is rlJ. If it is “!”, the next data sent is a user command, so the process advances to step S5, and after receiving the following several characters, the user command analysis unit 26 refers to the basic command/user command conversion table 27. , convert this user-defined command into a basic command. Then, execute the converted basic commands as necessary.

またステップS4でユーザコマンド開始キャラクタでな
いと判別された時、即ち、rSJ  rlJと続けて米
た場合以外で、基本コマンドでない場合には、そのデー
タはプリントデータであるのでステップS6に進み、一
般のプリントデータの処理を行う、具体的には受信印刷
文字コードをパターン変換部28にて対応するドツトパ
ターンに変換する。
Further, when it is determined in step S4 that it is not a user command start character, that is, if it is not a basic command other than rSJ rlJ followed by a letter, the data is print data, so the process proceeds to step S6, and the general The print data is processed, specifically, the received print character code is converted into a corresponding dot pattern in the pattern converter 28.

以上の説明において、基本コマンドが送られて米た場合
、又はユーザコマンド解析部26で解析され変換された
ユーザ定義コマンドに対応する基本コマンドは基本コマ
ンド解析部22で解析され、制御部21により対応する
処理が実行されることになる。
In the above explanation, when a basic command is sent and received, or a basic command corresponding to a user-defined command analyzed and converted by the user command analysis unit 26 is analyzed by the basic command analysis unit 22 and handled by the control unit 21. The process will be executed.

本実施例ではユーザ定義コマンドとして、網かけ開始、
終了をrAJ  rMJ  rI」 r−J  rSJ
及び、rAJ  rMJ  rIJ  r、−J  r
EJの如く極めてわかり易いキャラクタ列の入力のみで
指゛定でき、基本コマンド列である「C8I」 「5」
rmJ 、rC3IJ  r2J  rSJ  rmJ
 f)如き複雑な覚え難いものと同様な制御コマンドと
して動作する。
In this example, the user-defined commands include start shading,
End rAJ rMJ rI” r-J rSJ
and rAJ rMJ rIJ r, -J r
It can be specified by simply inputting an extremely easy-to-understand character string such as EJ, and the basic command string is "C8I" and "5".
rmJ , rC3IJ r2J rSJ rmJ
It operates as a control command similar to complex and difficult to remember commands such as f).

上述した実施例ではユーザコマンド開始キャラクタ格納
テーブル24、ユーザコマンド[&キャラクタカウンタ
25.基本コマンド二−ザコマンド変換テーブル27の
記憶素子としてRAMを使用しても良いが、磁気バブル
メモリ又はEEFROMなどを用いれば一度定義したユ
ーザコマンドが印刷装置の電源を切っても半永久的に再
び使用可能になる。
In the embodiment described above, the user command start character storage table 24, the user command [& character counter 25. Although RAM may be used as a storage element for the basic command-to-the-command conversion table 27, if a magnetic bubble memory or EEFROM is used, user commands once defined can be reused semi-permanently even if the printer is turned off. It becomes possible.

[発明の効果J 以上説明した様に本発明によれば、非常に覚え難い非人
間的な装置固有の基本制御コマンドをより人間的な覚え
易いユーザ定義コマンドに変換して使用できるので、複
雑で面倒な制御コマンドの使用が簡便化され、出力装置
の持っている多くの機能の有効利用が容易に行えるよう
になるばかりでなく、出力装置以外の分野でもホストコ
ンピュータと各社プリンタ間におけるコマンドコンバー
タとしても利用できる等多くの効果が得られる。
[Effects of the Invention J As explained above, according to the present invention, it is possible to convert basic control commands unique to a device that are extremely difficult to remember and are non-human, into user-defined commands that are more human-like and easy to remember. It not only simplifies the use of troublesome control commands and makes it easier to effectively utilize the many functions of the output device, but also serves as a command converter between a host computer and printers from various manufacturers in fields other than output devices. Many effects can be obtained, such as being able to use it as well.

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

第1図は本発明に係る一実施例の印刷装置の構成を示す
ブロック図、 第2図(A)は基本コマンド列を示す図、第2図(B)
はユーザ定義コマンド列を示す図。 第3図は本実施例の印刷制御を示すフローチャートであ
る。 図中、l・・・ホストコンピュータ、21・・・制御l
f3.23・・・ユーザコマンF[tBm、24・・・
ユーザコマンド開始キャラクタ格納テーブル、25・・
・ユーザコマンド開始キャラクタカウンタ、26・・・
ユーザコマンド解析部、27・・・基本コマンドユーザ
コマンド変換テーブルである。 特許出願人   キャノン株式会社 第1区
FIG. 1 is a block diagram showing the configuration of a printing device according to an embodiment of the present invention, FIG. 2 (A) is a diagram showing a basic command sequence, and FIG. 2 (B)
is a diagram showing a user-defined command string. FIG. 3 is a flowchart showing print control in this embodiment. In the figure, l... host computer, 21... control l
f3.23...User command F[tBm, 24...
User command start character storage table, 25...
・User command start character counter, 26...
User command analysis unit, 27...Basic command user command conversion table. Patent applicant Canon Co., Ltd. District 1

Claims (1)

【特許請求の範囲】[Claims] 任意に特定可能な情報コードを判別する手段と、予め定
義された任意の情報コード列を出力制御コマンドに変換
可能な手段とを備え、前記任意に特定された情報コード
列を判別することにより予め定義された任意の文字列を
出力制御コマンドに変換し、該出力制御コマンドに従い
出力制御することを特徴とする出力装置。
comprising means for determining an arbitrarily specifiable information code and means capable of converting any predefined information code string into an output control command; An output device characterized by converting a defined arbitrary character string into an output control command and controlling output according to the output control command.
JP60132016A 1985-06-19 1985-06-19 Output device Pending JPS61290519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60132016A JPS61290519A (en) 1985-06-19 1985-06-19 Output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60132016A JPS61290519A (en) 1985-06-19 1985-06-19 Output device

Publications (1)

Publication Number Publication Date
JPS61290519A true JPS61290519A (en) 1986-12-20

Family

ID=15071557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60132016A Pending JPS61290519A (en) 1985-06-19 1985-06-19 Output device

Country Status (1)

Country Link
JP (1) JPS61290519A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63216756A (en) * 1987-03-04 1988-09-09 Brother Ind Ltd Printer
JPH0535465A (en) * 1991-07-30 1993-02-12 Hokuriku Nippon Denki Software Kk Page printer
JP2007125736A (en) * 2005-11-01 2007-05-24 Tohoku Ricoh Co Ltd Image forming device and image forming system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63216756A (en) * 1987-03-04 1988-09-09 Brother Ind Ltd Printer
JPH0535465A (en) * 1991-07-30 1993-02-12 Hokuriku Nippon Denki Software Kk Page printer
JP2007125736A (en) * 2005-11-01 2007-05-24 Tohoku Ricoh Co Ltd Image forming device and image forming system

Similar Documents

Publication Publication Date Title
JPS61290519A (en) Output device
JPS6319275A (en) Printer
JPS6145325A (en) Printer
JPH08238814A (en) Printing machine
JPS62211146A (en) Recording apparatus
JPH02273261A (en) Printing control of manually scanning printer
JP2698836B2 (en) Data converter
JPS6057382A (en) Character processor
JP3012269B2 (en) Printing control device
JPH096773A (en) Document preparing device
JPS6322673A (en) Printer
JPH01234244A (en) Multicolor printing apparatus
JPS62251884A (en) Recorder
JPH0561616A (en) Printer control system
JPH026163A (en) Printer
JPH02251465A (en) Recording controller
JPH02106365A (en) Printer
JPS63242561A (en) Font reducing system
JPS6385593A (en) Word processor
JPS61292190A (en) Control code output method
JPH03246716A (en) Document data output controller
JPS62256030A (en) Kanji (chinese character) printer
JPS6351105B2 (en)
JPH0317845U (en)
JPS62122776A (en) Rule printing controller