JPS62251178A - Printer - Google Patents

Printer

Info

Publication number
JPS62251178A
JPS62251178A JP61095484A JP9548486A JPS62251178A JP S62251178 A JPS62251178 A JP S62251178A JP 61095484 A JP61095484 A JP 61095484A JP 9548486 A JP9548486 A JP 9548486A JP S62251178 A JPS62251178 A JP S62251178A
Authority
JP
Japan
Prior art keywords
printing
mode
pitch
printer
flag
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
JP61095484A
Other languages
Japanese (ja)
Other versions
JPH0780334B2 (en
Inventor
Shigemitsu Tazaki
田崎 重充
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 JP61095484A priority Critical patent/JPH0780334B2/en
Priority to US07/038,712 priority patent/US4891769A/en
Publication of JPS62251178A publication Critical patent/JPS62251178A/en
Publication of JPH0780334B2 publication Critical patent/JPH0780334B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To make the continuous printing possible by enabling the designation of the desired printing of a user by a simple operation, by making the priority mode by a key based on a designation from an operation panel. CONSTITUTION:After the initializing action of printing mechanism by turning ON a power source, a printing mode assigning a printing pitch and printing mode are set at a specific (standard) mode. The flag 29 indicating the above effect is made '1' in RAM 20 and the data and command from a host computer are made to be of a stand-by state for receiving via an interface 1/F 21. Signal flag '1' is stood 27 established in RAM 20 indicating command priority and whether printing is executed is discriminated by the command from the host computer. When the pitches or modes other than those above-mentioned are set by pitch or mode input, CPU makes flag 27 '0'. A CPU reads the flag 27 in RAM 20 in the same way as above-mentioned. Because it is '0', even though the command concerning printing pitch and mode come from the host computer, they are ignored.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、ホストコンピュータ等の外部機器であるデー
タ処理装置から転送されるデータ及びコマンドを受信し
、これを印字するプリンタに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a printer that receives data and commands transferred from a data processing device, which is an external device such as a host computer, and prints them.

〔従来技術〕[Prior art]

従来、ホストコンピュータより転送されたデータを印字
するプリンタにおいては、ユーザーの使用目的に応じて
ホストコンピュータにおいて印字モードや印字ピッチ、
改行ピッチ、紙送り量等を変えたソフトウェアを組み、
データと共に転送して所望の印字出力を得ていた。
Conventionally, in printers that print data transferred from a host computer, the host computer can adjust the print mode, print pitch, etc. depending on the user's purpose of use.
We built software that changed the line feed pitch, paper feed amount, etc.
The desired printout was obtained by transferring the data together with the data.

すなわち、ユーザーが色々な種類の印字出力が得たい場
合や、以前からの印字出力形態を一部変更したい時等は
ホストコンピュータのプログラムを改めて組んたり、従
来のプログラムを組み直す必要かあった。
In other words, when a user wants to obtain various types of print output or partially change the previous print output format, it is necessary to reprogram the host computer or reconfigure the existing program.

簡単な例としてトラフト(下書き用に印字するモード、
印字品位は多少落ちても良い)で印字出力していたもの
をNLQ (NEARLETTERQUA L I T
Y :手紙に近い高品位印字モード)、LQ (LET
TERQUALITY  高品位印字モード)等の高品
位で印字出力を得たい場合や、印字フォーマットの変更
等に合わせて、印字ピッチをパイカビツチ(10cpi
)からエリートピッチ(12cpi)に変えたい場合、
または改行ピッチを1/6インチから1/8インチに変
更したい時など全てポストコンピュータのソフトウェア
を変更しなければならなかった。
A simple example is Traft (printing mode for drafts,
NLQ (NEARLETTERQUA LIT)
Y: High-quality printing mode similar to letters), LQ (LET
If you want to obtain high-quality print output such as TERQUALITY high-quality print mode, or change the print format, you can change the print pitch to 10 cpi.
) to elite pitch (12cpi),
Or if you wanted to change the line break pitch from 1/6 inch to 1/8 inch, you had to change the post computer software.

この点において、従来はプリンタにおいてドラフト印字
とNLQ印字等を切換えるキーや、印字ピッチ、改行ピ
ッチを切換えるキーを設け、これによって印字子−トや
その他ピッチを切換えて、更にポストからはコマンドが
来ない様に細工してデータのみを受信して実行させてい
た。
In this regard, conventional printers have been provided with keys for switching between draft printing, NLQ printing, etc., and keys for switching the printing pitch and line feed pitch. It was modified so that only the data was received and executed.

しかし、この切換えられたモードやピッチ等はホストコ
ンピュータからの異なった印字モードの指定やその他ピ
ッチ等の指定コマンドが来た場合には、そのコマンドに
よる印字モードやピッチ等に切換り、キーにより入力さ
れたモード及びピッチ等の指定は解除される。
However, if a different printing mode specification or other pitch specification command is received from the host computer, the switched mode or pitch etc. will be changed to the printing mode or pitch etc. according to that command, and input using the keys. The specified mode, pitch, etc. are canceled.

この場合、ユーザーがキー入力で印字モードその他の指
定を実行した時は、これまでホストコンピュータから指
定された印字子−トによらず、キー入力による印字子−
トその他指定て印字が実行されることを希望しており、
ホストコンピュータから転送されるコマンドでこの印字
モードその他の指定か切換わってはユーザーの意図に反
し不都合である。
In this case, when the user executes a print mode or other specification by key input, the print character specified by the key input is changed regardless of the print character specified by the host computer.
I would like printing to be executed with other specified settings.
It would be inconvenient and contrary to the user's intention to switch the printing mode or other specifications using a command transferred from the host computer.

特に、プリンタにおいてはパイカピツチである10cp
iとドラフトの印字モードは一般的によく使用されてお
り、ホストコンピュータからのコマンドで指定する場合
は、それ以外のピッチ及びモードでコマンド指定される
場合が多い。例えば12cpiのピッチやNLQモード
での指定で継続して印字したい時などはよくあることで
ある。
Especially for printers, 10cp is a pica-pitch.
The i and draft print modes are commonly used, and when specified by a command from a host computer, other pitches and modes are often specified. For example, it is common to want to print continuously by specifying a pitch of 12 cpi or NLQ mode.

つまり、高機能のプリンタを更にユーザーのその場にお
ける所望のモードで使用したり、或いはホスト側からの
モードで使用したり、該プリンタを更に使い易く、又有
効に使えることが望まれていた。
In other words, it has been desired that a high-performance printer can be used in a mode desired by the user on the spot or in a mode from the host side, making the printer easier to use and more effective.

〔目  的〕〔the purpose〕

以上の点に鑑み、本願発明の目的は上記欠点を除去する
ことにある。
In view of the above points, an object of the present invention is to eliminate the above drawbacks.

又、本発明の目的はプリンタにおいて印字に係る情報を
制御部からのデータに係わらす、直接指定できる第1の
モードと制御部からのデータに基づぎ印字に係る情報を
指定する第2の千−ドを有したプリンタを提供すること
にある。
Another object of the present invention is to provide a first mode in which information related to printing can be directly specified in a printer based on data from the control section, and a second mode in which information related to printing is specified based on data from the control section. The object of the present invention is to provide a printer with 1,000 digits.

又、印字ピッチ等のキーを操作パネル上に設け、電源オ
ンの状態ではあるプリンタでよく使用される特定の干−
ト及びピッチ等に自動的に指定される様にし、この状態
でポストコンピュータから単にデータのみが転送されれ
ば、操作パネル上の指定に従った印字を実行し、また印
字モードや印字ピッチ等を変更するコマンドが転送され
るとそのモード及びピッチで実行するようにしたプリン
タを提供することを目的としている。
In addition, keys for printing pitch, etc. are provided on the operation panel, and when the power is on, keys for printing pitch, etc.
If only the data is transferred from the post computer in this state, printing will be executed according to the specifications on the operation panel, and the printing mode, printing pitch, etc. will be automatically specified. It is an object of the present invention to provide a printer which executes a changing command in the mode and pitch when it is transferred.

これは通常使用されるモード及びピッチからあえて異な
った状態で印字したいというホストからのコマンドの転
送を有効としたものである。
This enables the transfer of a command from the host that wishes to print in a mode and pitch different from the normally used mode and pitch.

また、プリンタをオンラインからオフラインに切換える
ことにより操作パネル上のキー入力を有効とし、前記特
定のモード及びピッチ以外のキー入力指定後オフライン
状態としてホストからのデータを印字する場合には、キ
ー入力の指定のモード等に従い、ホストからのコマンド
によるモード等は無視するようにしたプリンタを提供す
ることを目的としている。
In addition, key input on the operation panel is enabled by switching the printer from online to offline, and when printing data from the host in the offline state after specifying key input other than the specified mode and pitch, key input is The purpose of the present invention is to provide a printer that follows a specified mode, etc. and ignores the mode, etc. based on commands from the host.

また、キー入力指定において、前記標準モードを指定し
た場合(通常使用する印字モード)、再度ホストコンピ
ュータからのコマンドか有効となり、ホストコンピュー
タからのコマンド指定による印字か可能となるプリンタ
を提供することを目的としている。
In addition, when specifying the standard mode (normally used print mode) in the key input specification, commands from the host computer will be valid again, and it is possible to provide a printer that can print based on commands specified from the host computer. The purpose is

〔実施例〕〔Example〕

以下、実施例を挙げて説明する。 Examples will be described below.

第1図は本発明に係るプリンタの外観図である。1は操
作パネルである。それ以外の外観は通常のプリンタと同
じであるので詳細は省略する。
FIG. 1 is an external view of a printer according to the present invention. 1 is an operation panel. The rest of the appearance is the same as a normal printer, so details will be omitted.

第2図は本発明に係る操作パネル1の拡大図てあり、印
字モードを指定する為の千−ドキー2、印字ピッチを指
定する為のピッチキー3及びこれらのキーにより指定さ
れた干−ドやピッチを表示する各種干−トランプ4,5
,6、ピッチランプ7.8,9.10を装備している。
FIG. 2 is an enlarged view of the operation panel 1 according to the present invention, and shows the number key 2 for specifying the printing mode, the pitch key 3 for specifying the printing pitch, and the number and number keys specified by these keys. Various dried playing cards to display the pitch - playing cards 4, 5
, 6, and pitch lamps 7.8 and 9.10.

また、この他オンライン、オフライン切換えの為のセレ
クトキー11、紙送りの為のFFキー12、LPキー1
3、電源のオン状態を示すパワーランプ14、プリンタ
の異常状態を示すアラームランプ15、紙無し状態を示
すペイバーランプ16、オンライン状態、オフライン状
態を示すオンラインランプ17を装備している。
In addition, there is also a select key 11 for switching between online and offline, an FF key 12 for paper feeding, and an LP key 1.
3. Equipped with a power lamp 14 to indicate the power on state, an alarm lamp 15 to indicate the abnormal state of the printer, a paver lamp 16 to indicate the out-of-paper state, and an online lamp 17 to indicate the online state and offline state.

第3図は本発明を機能する為のブロック図である。FIG. 3 is a block diagram for functioning the present invention.

本発明に係るプリンタの制御回路はcpu。The control circuit of the printer according to the present invention is a CPU.

ROM、RAM、Ilo等で構成されている。It is composed of ROM, RAM, Ilo, etc.

CPUIBはコントロールROM19によって制御され
、インターフェースI/F21を介してポストコンピュ
ータから転送されるデータをRAM20内のレシーブバ
ッファに格納し、これをCGROM22によって印字の
キャラクタ等に変換してRAM内にあるプリントバッフ
ァに格納し、これを取り出して印字機構25によって印
字実行する。また、色々なモードやピッチを変更するキ
ー26はl1023を介して読み込まれ、それぞれのモ
ード指定が可能となりホストコンピュータから転送され
るデータはこの指定で印字され、ランプもT1023を
介して指定ランプか点灯される。
The CPUIB is controlled by the control ROM 19, stores data transferred from the post computer via the interface I/F 21 in the receive buffer in the RAM 20, converts it into printing characters etc. by the CGROM 22, and stores the data in the print buffer in the RAM. It is then taken out and printed by the printing mechanism 25. In addition, the keys 26 for changing various modes and pitches are read via l1023, each mode can be specified, the data transferred from the host computer is printed with this specification, and the lamp is also changed to the specified lamp via T1023. It will be lit.

〔動  作〕〔motion〕

以下、本発明の動作を詳細に説明する。第6図は第3図
のROM19に格納された制御プログラムの1例を示す
フローチャートである。
The operation of the present invention will be explained in detail below. FIG. 6 is a flowchart showing an example of a control program stored in the ROM 19 of FIG.

以下、第6図を参照し説明する。プリンタの電源をオン
すると第2図中パワーランプ14が点灯しく第6図Sl
)、l1024を介して印字ヘットをホームポジション
に移動させる等印字機構のイニシャライズ動作を実行し
く第6図82)、その後印字ピッチを10cpi、印字
モードをドラフトモードというプリンタにおいてはよく
使用する特定の(標準)モードに設定し、ランプ7及び
4を点灯する(第6図33,4)。
This will be explained below with reference to FIG. When the printer is turned on, the power lamp 14 in Fig. 2 should light up. Fig. 6 SL
), the initialization operation of the printing mechanism such as moving the print head to the home position via l1024 is carried out (Fig. 6 82), and then a specific ( Standard) mode and turn on lamps 7 and 4 (Fig. 6, 33, 4).

そして、オンライン状態として、RAM20において、
その旨を表わすフラグ29を“1°′とじ、オンライン
ランプ17を点灯しく第6図35)、インターフェース
I/F21を介してホストコンピュータからのデータや
コマンドを受信可能な状態とする(第6図S6)。また
、この時RAM20内に印字ピッチや印字モードがホス
トコンピュータからのコマンド優先になるのか、操作パ
ネル1からのキー優先になるのかのフラグ27をRAM
20内に設ける。
Then, in the online state, in RAM20,
The flag 29 indicating this is set to "1°", the online lamp 17 is turned on (Fig. 6, 35), and data and commands can be received from the host computer via the interface I/F 21 (Fig. 6). S6).At this time, a flag 27 is stored in the RAM 20 indicating whether the print pitch and print mode will be prioritized by commands from the host computer or by keys from the operation panel 1.
20.

前記10cpi、トラフト印字の特定モードにおいては
、コマンド優先とするフラグ27に“1″を立てる。こ
の状態において、ホストコンピュータよりデータやコマ
ンドが入力されるとCPUはRAM20内のこのフラグ
27をア1−レスハスABによって指定し、データバス
DBによって読み出し、” 1 ”であることを確証し
てホストコンピュータからのコマンドによって印字実行
することを判断する。
In the specific mode of 10 cpi, traft printing, the command priority flag 27 is set to "1". In this state, when data or commands are input from the host computer, the CPU specifies this flag 27 in the RAM 20 by the address bus AB, reads it by the data bus DB, confirms that it is "1", and sends the flag 27 to the host computer. Decide whether to print based on a command from the computer.

従って、例えば17cpiの指定命令でA。Therefore, for example, A with a specified command of 17 cpi.

B、C,D、次に12cpi指定命令と印字干−ドNL
Qで1.2.3.4,5、CR(キャリッジリターン)
、LF(ラインフィード)というデータ及びコマンドを
ホストコンピュータより転送すると、A、B、C,Dは
ドラフト印字で17cpi、1,2,3,4.5はNL
Q。
B, C, D, then 12 cpi designation command and printing board NL
1.2.3.4,5 in Q, CR (carriage return)
, LF (line feed) data and commands are transferred from the host computer, A, B, C, and D are draft printing at 17 cpi, and 1, 2, 3, and 4.5 are at NL.
Q.

12cpiで同一ラインに印字しラインフィートを実行
する(第4図)。
Print on the same line at 12 cpi and perform line feet (Figure 4).

これは、RAM20内にどの印字ピッチやどの印字モー
ドで実行するか印字時にみる為の第5図(A)に示す桜
な1バイトのフラグ類2Bを設け、これを印字時にみる
ことにより各種印字を可能としている。このフラグ類2
8はRAM20のあるアドレスの1バイトを割り当てた
もので、第5図(A)に示す様にビット1〜4をピッチ
10.12,17、psの指定フラグとしてビット5〜
7をモードドラフト、NLQ、NLQ”(NLQより更
に高品位)のフラグとして1゛。
This is possible by providing a 1-byte flag 2B in the RAM 20, as shown in Figure 5 (A), to check which printing pitch and which printing mode to use when printing. is possible. This flag class 2
8 is one byte assigned to a certain address in the RAM 20, and as shown in FIG.
7 as a mode draft, NLQ, 1 as a flag for NLQ" (even higher quality than NLQ).

でそのピッチ及びモードか指定されたものとして格納さ
れている。すなわちドラフト、10cpiではフラグ2
8内のビット1と5に“°1°゛が立っている。前記の
例の様に1ライン中に印字のピッチや印字モードが変化
してキャリッジのスピードが変る様な場合、変化にかか
わる印字コマンドを受信し、解読した時点で印字実行さ
れる。
The pitch and mode are stored as specified. i.e. draft, flag 2 at 10cpi
"°1°" is set in bits 1 and 5 in 8. If the printing pitch or printing mode changes during one line and the carriage speed changes as in the example above, Printing is executed when a print command is received and decoded.

この印字実行の時、CPUは常にこのフラグ類28をみ
て印字ピッチや印字モードを検知し、これに合わせて印
字タイミングやキャリッジスピード等を変化させて印字
する。従って印字実行前にこのフラグ類28をその印字
に合わせて変化させる必要がある。例えば前記例では、
17cpi用のフラグ類28(ビット3)を“1°゛と
し、次の印字ピッチ+2cpiのコマンドがきた時点(
第6図57.S8)で印字ピッチが変化し、キャリッジ
スピードが変る為、印字を実行(印字モードの指定コマ
ンドは無かった為ドラフトの印字)シ(第6図89〜5
ll)、次に12cpi、NLQのフラグ28のビット
2゜ビット6を1°°、他を°°0′°に変更しく第6
図5it)、CRで12cpi、NLQ印字を実行する
(CR命令は印字を開始する)。
When executing this printing, the CPU always checks the flags 28 to detect the printing pitch and printing mode, and prints by changing the printing timing, carriage speed, etc. accordingly. Therefore, before printing, it is necessary to change the flags 28 in accordance with the printing. For example, in the above example,
Set flags 28 (bit 3) for 17cpi to "1°", and when the next print pitch + 2cpi command arrives (
Figure 6 57. In step S8), the printing pitch changes and the carriage speed changes, so printing is executed (draft printing as there was no print mode specification command) (Fig. 6, 89-5).
ll), then 12 cpi, change bit 2 and bit 6 of flag 28 of NLQ to 1°, and change the others to °°0'°.
(Fig. 5it), executes 12 cpi, NLQ printing with CR (CR command starts printing).

また、ランプはこの印字ピッチや印字モードのフラグ類
28を出力して点灯させる。これは、ピッチ及びモード
のフラグが“°1°“となっているフラグ類28の1バ
イトをRAM20よりアドレスバスABにより指定し、
データバスDBにより読み出し、アドレスバスABによ
ってI10ボート23の1バイトのエリアを指定し、そ
こにフラグ類28のデータをデータバスDBを介して出
力し、l1023の出力ではインバータ11〜I7を介
して点灯させる。従って、第5図(B)に示す様に印字
状態とランプは1対1に対応し、印字ピッチ、印字モー
ドの切換りによってランプ点灯も切換る。
Further, the lamp outputs flags 28 for the printing pitch and printing mode and is turned on. This is done by specifying 1 byte of the flags 28 whose pitch and mode flags are "°1°" from the RAM 20 using the address bus AB,
It is read by the data bus DB, a 1-byte area of the I10 port 23 is specified by the address bus AB, and the data of the flags 28 is output there via the data bus DB. Turn it on. Therefore, as shown in FIG. 5(B), there is a one-to-one correspondence between the printing state and the lamp, and the lighting of the lamp is also changed by changing the printing pitch and printing mode.

次に、印字終了後オンライン状態ではフラグ29が°゛
1°°になっていることからセレクトキー11の入力の
みが有効となり(第6図S15゜S16,517)、こ
の入力によりオンラインからオフライン状態となる。こ
の時CPUはフラグ29を0°゛として(第6図318
)ピッチキー3、モードキー2、その他のキーの入力も
可能とする(第6図521〜527)。
Next, since the flag 29 is set to °゛1°° in the online state after printing is completed, only the input of the select key 11 is valid (S15゜S16, 517 in Fig. 6), and this input changes the state from online to offline. becomes. At this time, the CPU sets the flag 29 to 0° (318 in Fig. 6).
) It is also possible to input the pitch key 3, mode key 2, and other keys (FIG. 6, 521 to 527).

すなわち、CPUはキーの読み込みをフラグ29によっ
て区別している。
That is, the CPU distinguishes between key readings using the flag 29.

ここで、前記特定モード10cpi、ドラフトモードで
はフラグ27を°゛l°°としてホストコンピユータか
らのコマンド優先としていたが、セレクトキー11の入
力によりオフラインとしく第6図518)、ピッチ又は
モードキー入力で上記以外のピッチ又はモードに設定す
ると、CPUはこの入力で自動的にキーによる印字ピッ
チ、印字モード優先に切換え、フラグ27を” o ”
とする(第6図S28.S29゜530)。
Here, in the specific mode 10cpi and the draft mode, the flag 27 was set to °゛l°°, giving priority to commands from the host computer, but by inputting the select key 11, it was set offline (Fig. 6 518), pitch or mode key input If a pitch or mode other than the above is set with this input, the CPU automatically switches to priority printing pitch and printing mode using keys, and sets flag 27 to "o".
(S28 and S29°530 in Figure 6).

例えば、キーによりピッチ指定で12cpi。For example, 12 cpi with pitch specified by key.

モード指定でNLQモードを指定するとフラグ27を0
°゛、フラグ類28のビット2と6を1″とする(第6
図825〜528)。
If NLQ mode is specified in the mode specification, flag 27 is set to 0.
°゛, set bits 2 and 6 of flags 28 to 1'' (6th
825-528).

又、FFキー、LFキーを操作しても、同様に紙送り動
作を行う(第6図321〜524)。
Further, even if the FF key or LF key is operated, the paper feed operation is performed in the same way (FIG. 6, 321 to 524).

この状態でセレクトキー11の入力でオンライン状態に
戻しく第6図319,520)、ホストコンピュータに
よりl’OCp 1 s  ドラフトモードに戻すコマ
ンドがデータと共に転送された場合、CPUは前記同様
RAM20内のフラグ27を読出し、これが0°°にな
っていることから、キ−で指定されたピッチ及びモード
が優先することを認識しく第6図5IO)、印字ピッチ
、モード関係のコマンドがホストから来ても無視する。
In this state, when inputting the select key 11 returns to the online state (Fig. 6 319, 520), if a command to return to the l'OCp 1 s draft mode is transferred by the host computer together with the data, the CPU uses the data stored in the RAM 20 as described above. The flag 27 is read, and since it is 0°, it is recognized that the pitch and mode specified by the key have priority (Fig. 6, 5IO), and commands related to the printing pitch and mode are coming from the host. Also ignored.

例えば10cpiドラフトでA、B、C,D。For example, A, B, C, D in 10 cpi draft.

17cpi、NLQ+モードで1.2.3.4゜5、C
RLFというデータ及びコマンドか転送されたとしても
A、B、C,D、1.2,3,4゜5は全て12cpi
NLQで印字を実行する。
17cpi, 1.2.3.4°5 in NLQ+ mode, C
Even if RLF data and commands are transferred, A, B, C, D, 1.2, 3, 4°5 are all 12 cpi.
Execute printing with NLQ.

また、ピッチ指定やモード指定によってフラグ28の内
容が変るとランプも前述した様に1対1に対応している
のでランプの点灯もその指定毎に切換る。
Further, when the contents of the flag 28 change due to pitch designation or mode designation, the lighting of the lamps is also changed according to the designation, since the lamps correspond one-to-one as described above.

また、前記キー優先のモードでオンライン状態からセレ
クトキー11によりオフライン状態としく第6図318
)、キー入力によって10cpi、ドラフトを指定する
とく第6図S25.S27.528)CPUはこのピッ
チ及びモードは特定のモード(標準)として、フラグ2
7に°゛1”を立て、キーからのデータではなくホスト
コンピュータからのコマンド優先を再設定する(第6図
S29→■→S7→S8→S9→SIO→Sl 1)、
これによりオンライン状態ではホストのコマンドによる
前記同様の印字実行となる。なお、前記特定のモードの
設定は第2図に示したキー2.3でもよいが、標準モー
ドキーを設け、そのキーの押下により10cpi、ドラ
フトを指定できるようにしても良い。
Also, in the key priority mode, the online state can be changed to the offline state by pressing the select key 11.
), 10 cpi and draft are specified by key input. S27.528) The CPU recognizes this pitch and mode as a specific mode (standard) and sets flag 2.
Set °゛1'' to 7 and reset the command priority from the host computer instead of the data from the key (Fig. 6 S29 → ■ → S7 → S8 → S9 → SIO → Sl 1),
As a result, in the online state, printing is executed in the same way as described above based on commands from the host. Note that the specific mode may be set using keys 2.3 shown in FIG. 2, but a standard mode key may be provided and 10 cpi or draft can be specified by pressing the key.

ここで、オンライン中のランプは前記で述べた様に印字
ピッチや印字モードでフラグ28と1対1に対応してそ
の時の状態を点灯しているが、オフラインにおいては、
本プリンタではこれまでの印字がキー優先で実行された
か、ホストコンピュータからのコマンド優先で実行され
たかを示す為に、フラグ27の’1”、  “0゛°に
よってコマンド優先であれば、フラグ類28の10cp
i、  ドラフトのビットに°゛1゛°を立てそれに対
応したランプを点灯し、キー優先であればフラグ類28
をそのままの状態でランプ表示し、これを区別している
Here, as mentioned above, the lamp during online lighting corresponds to the flag 28 on a one-to-one basis depending on the printing pitch and printing mode, but when offline,
This printer uses the flag 27 '1' and '0゛° to indicate whether printing has been executed with priority given to keys or commands given priority from the host computer. 28 10cp
i. Set the draft bit to °゛1゛° and turn on the corresponding lamp, and if the key is prioritized, flag type 28
This is distinguished by displaying the lamp as it is.

なお、以上の説明は印字ピッチと印字モードをキー優先
させた場合について述べたか、印字に関する他のモード
、例えば紙送りピッチ指定等も上記同様にしてキー優先
、各種ランプ表示することが可能である。
Note that the above explanation is based on the case where the print pitch and print mode are prioritized by keys, but it is also possible to give priority to keys and display various lamps in the same manner as above for other modes related to printing, such as specifying paper feed pitch. .

〔効  果〕〔effect〕

以上説明した様に、電源オンでプリンタでよく使用する
ある特定のモード(標準)に設定し、この状態ではホス
トコンピュータからのコマンドを有効としてコマンド優
先とし、その指定による印字を実行し、また特定モード
(標準)以外を操作パネルからキーにより指定した場合
キーによるモード優先とすることによりユーザーの所望
の印字を簡単な操作で指定でき、継続して印字すること
が可能となる。
As explained above, when the power is turned on, the printer is set to a specific mode (standard) that is often used, and in this state, commands from the host computer are enabled and given command priority, and printing is executed according to that specification. When a mode other than the standard mode is specified using a key from the operation panel, by giving priority to the mode using the key, the user can specify the desired print with a simple operation and can continue printing.

またランプもオンライン中であれば、現在印字している
状態を示し、オフラインにすれば、キー優先かコマンド
優先かの判別が例えばキー優先であれば、・オフライン
となっても以前のランプをそのまま点灯していることに
より、判別専用の特別なランプを用いなくても簡単にで
きる。
Also, if the lamp is online, it indicates the current printing status, and if it is offline, it can be determined whether the key priority or command priority is given.For example, if the lamp is key priority, the previous lamp will remain as it is Since it is lit, identification can be easily performed without using a special lamp.

また、特によく使用する特定のピッチやモードをあらか
じめ設定し、この状態をポストコンピュータからのコマ
ンド優先と兼用し、それ以外のモード等をキー優先とし
ているのでランプ等を少なくできる。
In addition, a particularly frequently used specific pitch or mode is set in advance, and this state is also used as command priority from the post computer, and other modes are given key priority, so the number of lamps etc. can be reduced.

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

第1図は本発明に係る外観図。 第2図は操作パネルの拡大図。 2は千−ドキー、3はピッチキー、4〜6は各種モード
ランプ、7〜10は各1重ピッチランプ、11はオンラ
イン、オフラインを切換えるセレクトキー、17はオン
ライン、オフライン状態を示すランプ。 第3図は本発明を機能させる制御ブロック図。 18はCPU、19はコントC’ −JL/ ROM 
。 20はRAM、21はインターフェース、23はI10
ボート、25は印字機構。 第4図は実施例説明中の印字サンプルを示す図。 第5図(A)はフラグ類28の内容を示す図、第5図(
B)はl1023のランプ点灯回路図。 第6図は本発明の制御フローチャートを示す図。 11はセレクトキー、18はCPU、19はコントロー
ルROM、20はRAM。
FIG. 1 is an external view of the present invention. Figure 2 is an enlarged view of the operation panel. 2 is a thousand-domain key, 3 is a pitch key, 4 to 6 are various mode lamps, 7 to 10 are each single pitch lamps, 11 is a select key for switching between online and offline, and 17 is a lamp that indicates online and offline status. FIG. 3 is a control block diagram for functioning the present invention. 18 is CPU, 19 is control C'-JL/ROM
. 20 is RAM, 21 is interface, 23 is I10
Boat, 25 is the printing mechanism. FIG. 4 is a diagram showing a print sample during the explanation of the embodiment. FIG. 5(A) is a diagram showing the contents of the flags 28, FIG.
B) is a lamp lighting circuit diagram of l1023. FIG. 6 is a diagram showing a control flowchart of the present invention. 11 is a select key, 18 is a CPU, 19 is a control ROM, and 20 is a RAM.

Claims (4)

【特許請求の範囲】[Claims] (1)外部機器と接続可能なプリンタ側において、印字
に係る情報と設定可能であって、印字に係る情報を上記
外部機器からの情報に係わらず指定できる第1のモード
と、 上記外部機器からの情報に基づいて、印字 に係る情報が指定される第2のモードとを有し、 上記印字に係る情報が所定の情報に設定さ れた場合は上記第2のモードを優先し、 上記印字に係る情報が上記所定の情報以外 で設定されていた場合は、上記第1のモードを優先する
様、上記プリンタを制御する制御手段を有したことを特
徴とするプリンタ。
(1) A first mode in which information related to printing can be set on the printer side that can be connected to an external device, and information related to printing can be specified regardless of information from the external device; and a second mode in which information related to printing is specified based on the information, and when the information related to printing is set to predetermined information, priority is given to the second mode, and the information related to printing is A printer characterized in that the printer comprises a control means for controlling the printer so as to give priority to the first mode when such information is set other than the predetermined information.
(2)上記プリンタは外部機器との接続をするか否かを
切換える切換え手段と、印字に係る情報を設定する設定
手段を有したことを特徴とする特許請求の範囲第1項記
載のプリンタ。
(2) The printer according to claim 1, wherein the printer has a switching means for switching whether or not to connect with an external device, and a setting means for setting information related to printing.
(3)上記プリンタは外部機器との接続が行われている
場合は上記切換え手段の入力のみを受付け可能とし、そ
うでない場合は上記設定手段の入力受付け禁止を解除す
ることを特徴とする特許請求の範囲第2項記載のプリン
タ。
(3) A patent claim characterized in that when the printer is connected to an external device, only the input from the switching means can be accepted, and when it is not connected, the prohibition of accepting input from the setting means is canceled. The printer according to item 2 of the range.
(4)上記所定の情報は、所定の印字ピッチ、所定の印
字品位で出力することを特徴とする特許請求の範囲第1
項記載のプリンタ。
(4) The predetermined information is outputted at a predetermined printing pitch and a predetermined print quality.
Printer mentioned in section.
JP61095484A 1986-04-18 1986-04-24 Printer controller Expired - Lifetime JPH0780334B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61095484A JPH0780334B2 (en) 1986-04-24 1986-04-24 Printer controller
US07/038,712 US4891769A (en) 1986-04-18 1987-04-15 Printer having prioritized on-line and off-line modes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61095484A JPH0780334B2 (en) 1986-04-24 1986-04-24 Printer controller

Publications (2)

Publication Number Publication Date
JPS62251178A true JPS62251178A (en) 1987-10-31
JPH0780334B2 JPH0780334B2 (en) 1995-08-30

Family

ID=14138883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61095484A Expired - Lifetime JPH0780334B2 (en) 1986-04-18 1986-04-24 Printer controller

Country Status (1)

Country Link
JP (1) JPH0780334B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0691989A (en) * 1992-09-17 1994-04-05 Canon Inc Printing device and method
JPH07172011A (en) * 1993-12-17 1995-07-11 Nec Corp Printing device
US7170614B1 (en) 1998-11-13 2007-01-30 Minolta Co., Ltd. Image forming apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0691989A (en) * 1992-09-17 1994-04-05 Canon Inc Printing device and method
JPH07172011A (en) * 1993-12-17 1995-07-11 Nec Corp Printing device
US7170614B1 (en) 1998-11-13 2007-01-30 Minolta Co., Ltd. Image forming apparatus

Also Published As

Publication number Publication date
JPH0780334B2 (en) 1995-08-30

Similar Documents

Publication Publication Date Title
US4891769A (en) Printer having prioritized on-line and off-line modes
JPS62251178A (en) Printer
JPS6265253U (en)
JPS60232978A (en) Printer
JPH06286229A (en) Printer
JPH0999607A (en) Printer device and print control system thereof
US5058035A (en) Apparatus which records data on the basis of stored format information
JP3004489B2 (en) Printing device
JPS61123565A (en) Condition display system for printer
JP3347353B2 (en) Printing apparatus and output method and apparatus
JP2578124B2 (en) Serial type color printer
JPS63113625A (en) Printer
JP2003154716A (en) Printer
KR100267235B1 (en) Method for print state control in printer
JP2001334729A (en) Printer, host computer, and printer control method
JPH0275015A (en) Printer
JP2716552B2 (en) Printer connection method
JPS60229780A (en) Electronic typewriter
JPH0313371A (en) Printer
JPH0241274A (en) Printing mode altering system for japanese printer
JPH05193233A (en) Printer control system
JPS63205269A (en) Printer
JPH0511941A (en) Printer
JPH027092B2 (en)
JPH0836476A (en) Data processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term