JP2758643B2 - Printer - Google Patents
PrinterInfo
- Publication number
- JP2758643B2 JP2758643B2 JP1092215A JP9221589A JP2758643B2 JP 2758643 B2 JP2758643 B2 JP 2758643B2 JP 1092215 A JP1092215 A JP 1092215A JP 9221589 A JP9221589 A JP 9221589A JP 2758643 B2 JP2758643 B2 JP 2758643B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- switch
- data processing
- printer
- processing unit
- 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 - Fee Related
Links
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプリンタに関する。Description: TECHNICAL FIELD The present invention relates to a printer.
従来のプリンタは、上位装置から、文字の種類、文字
サイズ、文字ピッチ数、改行動作等を指示するコードが
送られると、送られたコードに従って動作をしていた。In a conventional printer, when a code indicating a character type, a character size, a character pitch number, a line feed operation, and the like is sent from a higher-level device, the printer operates according to the sent code.
上述した従来のプリンタは、上位装置からコードが送
られないと動作しないので、操作者は、プリンタを動作
させる毎に上位装置を操作しなければならないという欠
点があり、また、上位装置が動作しているときは、プリ
ンタを動作させるために上位装置の動作を中断させなけ
ればならないという欠点もある。The conventional printer described above does not operate unless a code is sent from a higher-level device. Therefore, there is a disadvantage that the operator must operate the higher-level device every time the printer is operated. In such a case, the operation of the host device must be interrupted in order to operate the printer.
本発明のプリンタは、 上位装置から印字に係る指示のために送られたコード
に従って印字をするプリンタにおいて、前記コードを設
定可能なスイッチと、 スイッチにより設定されるコードを表示する表示部
と、 スイッチによりコードが設定され、かつ設定されたコ
ードを実行するように指示されると、スイッチにより設
定されたコードを上位装置から送られたものと同様に処
理するデータ処理部とを有している。〔 〔作用〕 コードを設定するためのスイッチを備え、スイッチの
操作によって設定されたコードを、上位装置から送られ
たコードと同様に実行するので、操作者は上位装置を操
作することなくプリンタを同作させることができる。A printer according to the present invention is a printer that performs printing in accordance with a code sent from a higher-level device for a print instruction, a switch capable of setting the code, a display unit that displays a code set by the switch, and a switch. And a data processing unit for processing the code set by the switch in the same manner as that sent from the host device when the code is set and the instruction to execute the set code is issued. [Operation] A switch for setting the code is provided, and the code set by operating the switch is executed in the same manner as the code sent from the higher-level device, so that the operator can operate the printer without operating the higher-level device. Can be made the same.
次に、本発明の実施例について図面を参照して説明す
る。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 according to the present invention, FIG. 2 is a partial plan view showing an arrangement of a main part of an operation panel unit 14 shown in FIG. 1, and FIG. 6 is a flowchart showing a process of a unit 15.
本実施例のプリンタは、印字部11とインタフェース部
12とデータ格納部13と操作盤部14とデータ処理部15とか
ら構成されている。The printer according to the present embodiment includes a printing unit 11 and an interface unit.
It is composed of 12, a data storage unit 13, an operation panel unit 14, and a data processing unit 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セ
グメントの発光ダイオードで構成されている。データ処
理部15は、インタフェース部12が上位装置から受信した
コードを受付ける従来と同様のモード(以降第1のモー
ドと記す)と、操作盤部14のスイッチ21,22,〜,25の操
作によって設定される8ビットのコードを受付けるモー
ド(以降第2のモードと記す)とを有している。The printing unit 11 performs operations such as printing and line feed according to instructions from the data processing unit 14. The interface unit 12 receives various 8-bit codes sent from an upper device (not shown).
The data storage unit 13 stores, among the codes processed by the data processing unit 15, codes that are held and used, such as codes for setting the number of character pitches, the character size, and the like. The operation panel unit 14 has switches 21, 22, 23, 24, 25 and a display unit 26. The switches 21, 22, 23, 24, and 25 are all turned on when pressed. The display unit 26 is composed of two sets of 7-segment light emitting diodes in order to display 8 bits by a 2-digit hexadecimal number. The data processing unit 15 operates in the same manner as the conventional mode in which the interface unit 12 receives a code received from a higher-level device (hereinafter, referred to as a first mode) and by operating the switches 21, 22, to 25 of the operation panel unit 14. A mode (hereinafter, referred to as a second mode) for receiving a set 8-bit code.
次に、データ処理部15の第2のモードの処理について
説明する。ここでは、説明の都合上、8ビットのコード
を上位4ビットと下位4ビットとに分け、それぞれ1桁
の16進数で表記する。Next, the processing in the second mode of the data processing unit 15 will be described. Here, for convenience of explanation, the 8-bit code is divided into upper 4 bits and lower 4 bits, and each is represented by one digit hexadecimal number.
データ処理部15は、通常は第1のモードになっている
ので、まず第2のモードになるかどうかを判断する(ス
テップ31)。すなわち、操作者がスイッチ21を押しなが
らスイッチ22を1回押すと、データ処理部15は第2のモ
ードになる。第2のモードとなるデータ処理部15は、8
ビットのコードを“00"に初期設定し(ステップ32)、
表示部26に“00"を表示する。次にデータ処理部15は、
第1のモードに戻るかどうかを判断する(ステップ3
3)。すなわち、操作者がスイッチ21を押しながらスイ
ッチ22を2回押すとデータ処理部15は第1のモードに戻
る。第1のモードに戻らないときは、データ処理部15は
スイッチ23,24の操作によるコード設定を受付ける(ス
テップ34)。すなわち、スイッチ23が押される毎にコー
ドの上位4ビッドの値が0→1→2→…→F→0→…と
変化する。また、スイッチ24が押される毎にコードの下
位4ビットの値が上位4ビットの場合と同様に変化す
る。Since the data processing unit 15 is normally in the first mode, the data processing unit 15 first determines whether or not to enter the second mode (step 31). That is, when the operator presses the switch 22 once while pressing the switch 21, the data processing unit 15 enters the second mode. In the second mode, the data processing unit 15
Initialize the bit code to “00” (step 32),
“00” is displayed on the display unit 26. Next, the data processing unit 15
Determine whether to return to the first mode (Step 3
3). That is, when the operator presses the switch 22 twice while pressing the switch 21, the data processing unit 15 returns to the first mode. When the mode is not returned to the first mode, the data processing unit 15 accepts a code setting by operating the switches 23 and 24 (step 34). That is, every time the switch 23 is pressed, the value of the upper 4 bits of the code changes from 0 → 1 → 2 →... → F → 0 →. Each time the switch 24 is pressed, the value of the lower 4 bits of the code changes in the same manner as in the case of the upper 4 bits.
次にデータ処理部15は、このようにして設定されたコ
ードを実行するかどうか判断する(ステップ35)。すな
わち、スイッチ25が押されると、データ処理部15は設定
されたコードを実行する(ステップ36)。文字や改行等
のコードを実行するときは、データ処理部15は、そのコ
ードを印字部11が動作する形式のデータに変換し、変換
したデータを印字部11に出力する。また、文字ピッチ数
や文字サイズを設定するためのコードを実行するとき
は、データ処理部15は、そのコードをデータ格納部13に
格納し、文字等のコードを処理する際に格納したコード
を併用して処理をする。データ格納部13に格納されたコ
ードは、それに代わる新たなコードが格納されるまで保
持される。データ処理部15は、コードを実行すると、ス
テップ33に戻り、第1のモードに戻る判断をするまで上
述の処理を繰返す。Next, the data processing unit 15 determines whether to execute the code thus set (step 35). That is, when the switch 25 is pressed, the data processing unit 15 executes the set code (step 36). When executing a code such as a character or a line feed, the data processing unit 15 converts the code into data in a format in which the printing unit 11 operates, and outputs the converted data to the printing unit 11. Further, 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 stores the code stored when processing the code such as a character. Process in combination. The code stored in the data storage unit 13 is held until a new code replacing it is stored. After executing the code, the data processing unit 15 returns to step 33, and repeats the above-described processing until it determines to return to the first mode.
次に、コードの実行例を示す。 Next, an execution example of the code is shown.
例えば、3つのコード「41、OD、OA」が実行されると
きは、文字「A」が印字され、改行動作が行なわれる。
また、例えば4つのコード「1B、65、32、32」が文字を
縦横それぞれ2倍に拡大するためのコードとすると、こ
のコードが実行されるときは、次からデータ処理部15が
文字コードを受けると、受付けられたコードは縦横2倍
に拡大されて印字される。For example, when three codes “41, OD, OA” are executed, the character “A” is printed and a line feed operation is performed.
Further, for example, if the four codes “1B, 65, 32, 32” are codes for enlarging a character vertically and horizontally twice, when this code is executed, the data processing unit 15 converts the character code from the next. When received, the received code is enlarged and printed twice vertically and horizontally.
以上説明したように本発明は、コードを設定するため
のスイッチを備え、スイッチの操作によって設定された
コードを、上位装置から送られたコードと同様に実行す
ることになり、操作者は、上位装置を操作することなく
プリンタを動作させることができる効果があり、結果的
にプリンタを動作させるために上位装置の動作を中断さ
せる必要がないという効果がある。As described above, the present invention includes a switch for setting a code, and executes the code set by operating the switch in the same manner as the code sent from the higher-level device. There is an effect that the printer can be operated without operating the device, and as a result, there is an effect that it is not necessary to interrupt the operation of the host device in order to operate the printer.
第1図は本発明のプリンタの一実施例を示すブロック
図、第2図は第1図の操作盤部14の主要部の配置を示す
部分平面図、第3図は第1図のデータ処理部15の処理を
示すフローチャートである。 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 according to the present invention, FIG. 2 is a partial plan view showing an arrangement of a main part of an operation panel unit 14 shown in FIG. 1, and FIG. 6 is a flowchart showing a process of a unit 15. 11 Print section, 12 Interface section, 13 Data storage section, 14 Operation panel section, 15 Data processing section, 21, 22, 23, 24, 25 Switch, 26 Display Department, 31,32,33,34,35,36 ... step.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 実開 昭64−34260(JP,U) 実開 昭61−30141(JP,U) (58)調査した分野(Int.Cl.6,DB名) G06F 3/12──────────────────────────────────────────────────続 き Continuation of the front page (56) References Japanese Utility Model Sho 64-34260 (JP, U) Japanese Utility Model Sho 61-30141 (JP, U) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 3/12
Claims (1)
れたコードに従って印字をするプリンタにおいて、 前記コードを設定可能なスイッチと、 スイッチにより設定されるコードを表示する表示部と、 スイッチによりコードが設定され、かつ設定されたコー
ドを実行するように指示されると、スイッチにより設定
されたコードを上位装置から送られたものと同様に処理
するデータ処理部とを有することを特徴とするプリン
タ。1. A printer for performing printing in accordance with a code transmitted from a higher-level device for a printing instruction, comprising: a switch capable of setting the code; a display unit displaying a code set by the switch; When the code is set and instructed to execute the set code, a data processing unit that processes the code set by the switch in the same manner as that transmitted from the higher-level device is provided. Printer.
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 JPH02268320A (en) | 1990-11-02 |
JP2758643B2 true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2877107B2 (en) * | 1996-12-02 | 1999-03-31 | 日本電気株式会社 | Multiple quantum well semiconductor laser |
-
1989
- 1989-04-11 JP JP1092215A patent/JP2758643B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH02268320A (en) | 1990-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4853888A (en) | Programmable multifunction keyboard | |
US4908612A (en) | Computer input-output device | |
JP2734517B2 (en) | Document creation device with multilingual function | |
JP2716135B2 (en) | Computing device | |
JP2913758B2 (en) | Document processing device | |
JP2758643B2 (en) | Printer | |
US4792918A (en) | Programmable controller monitoring system for simultaneous multiple line display of original and updated data program execution | |
JPH05246111A (en) | Printing device | |
JP2520908B2 (en) | Panel input device | |
JPS5831193Y2 (en) | data display device | |
JP2900071B2 (en) | Programming device for programmable controller | |
JP2555036B2 (en) | Character string input device | |
JP2610874B2 (en) | Information processing method | |
US5307448A (en) | Electronic apparatus with display device | |
JP2703608B2 (en) | Document processing method and apparatus | |
JPS63317817A (en) | Keyboard control system | |
JPS62265691A (en) | Multiwindow display unit | |
JPS58217037A (en) | Keyboard input device | |
JPS6038713B2 (en) | Display device control information display method | |
JPH0365718A (en) | Terminal equipment provided with exclusive display device for displaying function | |
JPS61251976A (en) | Label printer | |
JPH0635906A (en) | Table calculation processor | |
JPS61297168A (en) | Printer | |
JPS6045850A (en) | State display system | |
JPH06102981A (en) | Keyboard device |
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 |