JPH02268320A - Printer - Google Patents
PrinterInfo
- Publication number
- JPH02268320A JPH02268320A JP1092215A JP9221589A JPH02268320A JP H02268320 A JPH02268320 A JP H02268320A JP 1092215 A JP1092215 A JP 1092215A JP 9221589 A JP9221589 A JP 9221589A JP H02268320 A JPH02268320 A JP H02268320A
- Authority
- JP
- Japan
- Prior art keywords
- code
- switch
- printer
- data processing
- section
- 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
Links
- 238000000034 method Methods 0.000 claims description 4
- 238000013500 data storage Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000011295 pitch Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- JLQFVGYYVXALAG-CFEVTAHFSA-N yasmin 28 Chemical compound OC1=CC=C2[C@H]3CC[C@](C)([C@](CC4)(O)C#C)[C@@H]4[C@@H]3CCC2=C1.C([C@]12[C@H]3C[C@H]3[C@H]3[C@H]4[C@@H]([C@]5(CCC(=O)C=C5[C@@H]5C[C@@H]54)C)CC[C@@]31C)CC(=O)O2 JLQFVGYYVXALAG-CFEVTAHFSA-N 0.000 description 1
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプリンタに関する。[Detailed description of the invention] [Industrial application field] The present invention relates to printers.
従来のプリンタは、上位装置から、文字の種類、文字サ
イズ、文字ビッヂ数、改行動作等を指示するコードが送
られると、送られたコードに従って動作をしていた。Conventional printers operate in accordance with the sent code when a code instructing the type of character, character size, number of character bits, line feed behavior, etc. is sent from a host device.
上述した従来のプリンタは、上位装置からコードが送ら
れないと動作しないので、操作者は、プリンタを動作さ
せる毎に上位装置を操作しなければならないという欠点
があり、また、上位装置が動作しているときは、プリン
タを動作させるために上位装置の動作を中断させなけれ
ばならないという欠点もある。The above-mentioned conventional printers do not operate unless a code is sent from the higher-level device, so the operator has the disadvantage of having to operate the higher-level device each time the printer is operated. Another drawback is that when the printer is running, the operation of the host device must be interrupted in order to operate the printer.
本発明のプリンタは、
上位装置から印字に係る指示のために送られたコードに
従って印字をするプリンタにおいて、前記コードを設定
可能なスイッチと、
スイッチにより設定されるコードを表示する表示部と、
スイッチにより」−ドが設定され、かつ設定されたコー
ドを実行するように指示されると、スイッチにより設定
されたコードを上位装置から送られたものと同様に処理
するデータ処理部とを有しでいる。〔
〔作用〕
コードを設定するためのスイッチを備え、スイッチの操
作によって設定されたコードを、上位装置から送られた
コードと同様に実行するので、操作者は上位装置を操作
することなくプリンタを同作させることができる。The printer of the present invention is a printer that prints according to a code sent for printing instructions from a host device, and includes: a switch that can set the code; a display section that displays the code set by the switch; and a switch. When the code is set and the set code is instructed to be executed, the controller has a data processing unit that processes the code set by the switch in the same way as the code sent from the host device. There is. [[Function]] It is equipped with a switch for setting a code, and the code set by operating the switch is executed in the same way as the code sent from the host device, so the operator can operate the printer without operating the host device. You can make the same work.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明のプリンタの一実施例を示すブロック図
、第2図は第1図の操作盤部14の主要部の配置を示す
部分平面図、第3図は第1図のデータ処理部15の処理
を示すフローチャートである。FIG. 1 is a block diagram showing an embodiment of the printer of the present invention, FIG. 2 is a partial plan view showing the arrangement of main parts of the operation panel section 14 shown in FIG. 1, and FIG. 3 is a data processing diagram shown in FIG. 1. 3 is a flowchart showing the processing of the unit 15. FIG.
本実施例のプリンタは、印字部11とインタフェース部
12とデータ格納部13と操作盤部14とデータ処理部
15とから構成されている。The printer of this embodiment includes a printing section 11, an interface section 12, a data storage section 13, an operation panel section 14, and a data processing section 15.
印字部11はデータ処理部14の指示に従って印字や改
行等の動作をする。インタフェース部12は上部装@(
不図示)から送られる8ビツトの各種のコードを受信す
る。データ格納部13には、データ処理部15が処理し
たコードのうち、文字ピッチ数や文字サイズ等を設定す
るためのコードなど、保持されて使用されるコードが格
納される。操作盤部14はスイッチ21.22,23゜
24.25と表示部26とを有している。スイッチ21
.22.23.24.25はいずれも押されるとオ・ン
となるスイッチである。表示部26は、8ビツトを2桁
の16進数によって表示するために、2組の7セグメン
トの発光ダイオードで構成されている。データ処理部1
5は、インタフェース部12が上位装置から受信したコ
ードを受付ける従来と同様のモード(以降筒1のモード
と記す)と、操作盤部14のスイッチ21.22.〜2
5の操作によって設定される8ビツトのコードを受付け
るモード(以降筒2のモードと記す)とを有している。The printing unit 11 performs operations such as printing and line feed in accordance with instructions from the data processing unit 14. The interface section 12 has an upper mounting @(
It receives various 8-bit codes sent from (not shown). Among the codes processed by the data processing unit 15, the data storage unit 13 stores codes that are held and used, such as codes for setting the number of character pitches, character size, etc. The operation panel section 14 has switches 21, 22, 23, 24, 25 and a display section 26. switch 21
.. 22, 23, 24, and 25 are all switches that turn on when pressed. The display section 26 is composed of two sets of 7-segment light emitting diodes to display 8 bits in 2-digit hexadecimal numbers. Data processing section 1
5 is a mode similar to the conventional mode (hereinafter referred to as cylinder 1 mode) in which the interface unit 12 accepts a code received from a host device, and switches 21, 22, . ~2
It has a mode (hereinafter referred to as cylinder 2 mode) that accepts an 8-bit code set by the operation of step 5.
次に、データ処理部15の第2のモードの処理について
説明する。ここでは、説明の都合上、8ビツトのコード
を上位4ビツトと下位4ビツトとに分け、それぞれ1桁
の16進数で表記する。Next, the second mode of processing by the data processing section 15 will be explained. Here, for convenience of explanation, the 8-bit code is divided into the upper 4 bits and the lower 4 bits, and each is expressed as a 1-digit hexadecimal number.
データ処理部15は、通常は第1のモードになっている
ので、まず第2のモードになるかどうかを判断する(ス
テップ31)。すなわち、操作者がスイッチ21を押し
ながらスイッチ22を1回押すと、データ処理部15は
第2のモードになる。Since the data processing unit 15 is normally in the first mode, it first determines whether or not it will be in the second mode (step 31). That is, when the operator presses the switch 22 once while pressing the switch 21, the data processing section 15 enters the second mode.
第2のモードとなるデータ処理部15は、8ビツトのコ
ードを00”に初期設定しくステップ32)、表示部2
6に“00″を表示する。次にデータ処理部15は、第
1のモードに戻るかどうかを判断する(ステップ33)
。すなわら、操作者がスイッチ21を押しながらスイッ
チ22を2回押すとデータ処理部15は第1のモードに
戻る。In the second mode, the data processing section 15 initializes the 8-bit code to 00'' (step 32), and displays the display section 2.
Display “00” in 6. Next, the data processing unit 15 determines whether to return to the first mode (step 33).
. That is, when the operator presses the switch 22 twice while pressing the switch 21, the data processing section 15 returns to the first mode.
第1のモードに戻らないときは、データ処理部15はス
イッチ23.24の操作によるコード設定を受付ける(
ステップ34)。すなわち、スイッチ23が押される毎
にコードの上位4ビツトの値がO→1→2→・・・→F
→0→・・・と変化づ°る。また、スイッチ24が押さ
れる毎にコードの下位4ビツトの値が上位4ピツドの場
合と同様に変化する。When not returning to the first mode, the data processing unit 15 accepts code settings by operating the switches 23 and 24 (
Step 34). That is, each time the switch 23 is pressed, the value of the upper 4 bits of the code changes from O→1→2→...→F.
It changes as →0→... Furthermore, each time the switch 24 is pressed, the value of the lower 4 bits of the code changes in the same way as the upper 4 bits.
次にデータ処理部15は、このようにして設定されたコ
ードを実行するかどうか判断する(ステップ35)。す
なわち、スイッチ25が押されると、データ処理部15
は設定されたコードを実行する(゛ステッ°プ36)。Next, the data processing unit 15 determines whether to execute the code set in this way (step 35). That is, when the switch 25 is pressed, the data processing section 15
executes the set code (step 36).
文字や改行等のコードを実行するときは、データ処理部
15は、そのコードを印字部11が動作する形式のデー
タに変換し、変換したデータを印字部11に出力する。When executing a code such as a character or line feed, the data processing section 15 converts the code into data in a format that the printing section 11 operates on, and outputs the converted data to the printing section 11.
また、文字ピッチ数や文字サイズを設定するためのコー
ドを実行するときは、データ処理部15は、そのコード
をデータ格納部13に格納し、文字等のコードを処理す
る際に格納したコードを併用して処理をする。データ格
納部13に格納されたコードは、それに代わる新たなコ
ードが格納されるまで保持される。データ処理部15は
、コードを実行すると、ステップ33に戻り、第1のモ
ードに戻る判断をするまで上述の処理を繰返す。Furthermore, when executing a code for setting the number of character pitches and character size, the data processing unit 15 stores the code in the data storage unit 13, and uses the stored code when processing codes such as characters. Process in combination. The code stored in the data storage unit 13 is held until a new code is stored in its place. After executing the code, the data processing unit 15 returns to step 33 and repeats the above-described process until it determines to return to the first mode.
次に、コードの実行例を示す。Below is an example of how to run the code.
例えば、3つのコードr41、OD、OA」が実行され
るときは、文字rAJが印字され、改行動作が行なわれ
る。また、例えば4つのコードr1B、65.32.3
2」が文字を縦横それぞれ2倍に拡大するためのコード
とすると、このコードが実行されるときは、次からデー
タ処理部15が文字コードを受けると、受付けられたコ
ードは縦横2倍に拡大されて印字される。For example, when three codes r41, OD, and OA are executed, the characters rAJ are printed and a new line operation is performed. Also, for example, four codes r1B, 65.32.3
2" is a code for enlarging a character twice both vertically and horizontally. When this code is executed, the next time the data processing unit 15 receives a character code, the received code will be enlarged twice vertically and horizontally. and printed.
〔発明の効果]
以上説明したように本発明は、コードを設定するための
スイッチを備え、スイッチの操作によって設定されたコ
ードを、上位装置から送られた」−ドと同様に実行覆る
ことになり、操作者は、上位装置を操作することなくプ
リンタを動作させることができる効果があり、結果的に
プリンタを動作させるために上位装置の動作を中断させ
る必要がないという効果がある。[Effects of the Invention] As explained above, the present invention includes a switch for setting a code, and executes the code set by operating the switch in the same way as a code sent from a host device. This has the effect that the operator can operate the printer without operating the host device, and as a result, there is no need to interrupt the operation of the host device in order to operate the printer.
第1図は本発明のプリンタの一実施例を示すブロック図
、第2図は第1図の操作盤部14の主要部の配置を示す
部分平面図、第3図は第1図のデータ格納部15の処理
を示すフローチ17−トである。
11・・・印字部、
12・・・インタフェース部、
13・・・データ格納部、
14・・・操作盤部、
15・・・データ処理部、
21.22,23,24.25・・・スイッチ、26・
・・表示部、
31.32.33.34.35.36・・・ステツプ。
特許出鯖人日木電気株式会社
東北日本電気株式会社FIG. 1 is a block diagram showing an embodiment of the printer of the present invention, FIG. 2 is a partial plan view showing the arrangement of the main parts of the operation panel section 14 shown in FIG. 1, and FIG. 3 is a data storage shown in FIG. 1. 17 is a flowchart 17 showing the processing of the section 15. 11... Printing section, 12... Interface section, 13... Data storage section, 14... Operation panel section, 15... Data processing section, 21.22, 23, 24.25... switch, 26・
...Display section, 31.32.33.34.35.36...Step. Patent Isabajin Nikki Electric Co., Ltd. Tohoku Nippon Electric Co., Ltd.
Claims (1)
ドに従って印字をするプリンタにおいて、前記コードを
設定可能なスイッチと、 スイッチにより設定されるコードを表示する表示部と、 スイッチによりコードが設定され、かつ設定されたコー
ドを実行するように指示されると、スイッチにより設定
されたコードを上位装置から送られたものと同様に処理
するデータ処理部とを有することを特徴とするプリンタ
。[Scope of Claims] 1. A printer that prints according to a code sent from a host device for printing instructions, comprising: a switch that can set the code; and a display section that displays the code set by the switch. , a data processing unit that processes the code set by the switch in the same way as that sent from the host device when the code is set by the switch and the set code is instructed to be executed. Featured printers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1092215A JP2758643B2 (en) | 1989-04-11 | 1989-04-11 | Printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1092215A JP2758643B2 (en) | 1989-04-11 | 1989-04-11 | Printer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH02268320A true JPH02268320A (en) | 1990-11-02 |
JP2758643B2 JP2758643B2 (en) | 1998-05-28 |
Family
ID=14048219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1092215A Expired - Fee Related JP2758643B2 (en) | 1989-04-11 | 1989-04-11 | Printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2758643B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6078602A (en) * | 1996-02-12 | 2000-06-20 | Nec Corporation | Separate confinement heterostructured semiconductor laser device having high speed characteristics |
-
1989
- 1989-04-11 JP JP1092215A patent/JP2758643B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6078602A (en) * | 1996-02-12 | 2000-06-20 | Nec Corporation | Separate confinement heterostructured semiconductor laser device having high speed characteristics |
Also Published As
Publication number | Publication date |
---|---|
JP2758643B2 (en) | 1998-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2734517B2 (en) | Document creation device with multilingual function | |
JPS633982A (en) | Printer | |
JPH02268320A (en) | Printer | |
JPH05246111A (en) | Printing device | |
JPS6015169A (en) | Printer | |
JPH07104903A (en) | Controller for operation display part | |
JPH0343283A (en) | Page printer | |
JPH10240419A (en) | Electric light display keyboard input control system | |
JPH02270575A (en) | Color control printer | |
JPH01202480A (en) | Printer | |
JPS61267124A (en) | Printing controller | |
JPH0375919A (en) | Printing control system | |
KR200162887Y1 (en) | Sharing instrument of printer | |
JPS61211072A (en) | Printer | |
JPH10297051A (en) | Operating board comprising switches having a plurality of functions | |
JPH0511912A (en) | Electronic equipment | |
JPH04205025A (en) | Display color control method for output unit | |
JPS62128780A (en) | Printing apparatus | |
JPH0216066A (en) | Multicolor printer | |
JP2004322525A (en) | Printer | |
JPH02128883A (en) | Serial printer | |
JPH03146382A (en) | Document preparation and printing device | |
JPH0326559A (en) | Printing system of impact printer | |
JPH0447967A (en) | Printing device | |
JPH05138995A (en) | Printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080313 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090313 Year of fee payment: 11 |
|
LAPS | Cancellation because of no payment of annual fees |