JPH03161828A - Printer controller - Google Patents

Printer controller

Info

Publication number
JPH03161828A
JPH03161828A JP1300734A JP30073489A JPH03161828A JP H03161828 A JPH03161828 A JP H03161828A JP 1300734 A JP1300734 A JP 1300734A JP 30073489 A JP30073489 A JP 30073489A JP H03161828 A JPH03161828 A JP H03161828A
Authority
JP
Japan
Prior art keywords
reset
item
information
printer
instruction
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
JP1300734A
Other languages
Japanese (ja)
Inventor
Satoshi Ogawa
聡 小川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP1300734A priority Critical patent/JPH03161828A/en
Publication of JPH03161828A publication Critical patent/JPH03161828A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To freely select a reset item initialized with a reset instruction by providing a control information with an instruction for initializing a specific item and internal information relating to printing and providing a printer controller with a means for selecting whether the device is initialized or not with the instruction relating to the specific item. CONSTITUTION:Prior to resetting an item, a control instruction for selecting a reset item is stored in an input buffer (RAM) 7 in the printer controller 1 through a host interface 2(I/F). Reset information storing the existence of reset information in bit information or the like at every item is stored in the RAM 7 by a control program stored in a ROM 5 based upon the reset information. On the other hand, an item not to be reset is selected from a front panel operation part 8 or the like and its reset information is similarly stored in the RAM 7. Consequently, the reset instruction can be more widely utilized and time and labor required for resetting can be saved.

Description

【発明の詳細な説明】 (産業上の技術分野) 本発明は、文字情報あるいは画像情報を送出するワード
プロセッサ,オフィスコンピュータ,パーソナルコンピ
ュータ等の情報処理装置(以下、ホストマシンという)
と、プリンターエンジンに接続されていて、ホストマシ
ンから送られる印字データ及び制御命令に従って画像イ
メージデータを作成し、プリンターエンジンに画像イメ
ージデータを転送し、印字画像出力を得るプリンタ制御
装置に関する。
Detailed Description of the Invention (Industrial Technical Field) The present invention relates to an information processing device (hereinafter referred to as a host machine) such as a word processor, office computer, or personal computer that sends character information or image information.
The present invention relates to a printer control device that is connected to a printer engine, creates image data according to print data and control instructions sent from a host machine, transfers the image data to the printer engine, and obtains a print image output.

(従来の技術) 従来、ホストマシンとプリンターエンジンとの間に授受
される印字データ及び制御命令に従って画像イメージデ
ータを作成するプリンタ制御装置において、ホストマシ
ンからプリンタ制御装置にリセット命令を送った場合の
フローを示すと第4図のような処理が行われていた。
(Prior Art) Conventionally, in a printer control device that creates image data according to print data and control commands exchanged between a host machine and a printer engine, when a reset command is sent from the host machine to the printer control device, In the flowchart, the processing as shown in FIG. 4 was performed.

即ち、プリンタ制御装置にホストマシンからリセット命
令が送られると(81)、リセット命令をインプットバ
ッファ一(R A M)に一時格納し、次にROM内に
格納されている制御プログラムにより、リセット命令で
あることが認識される。その後、制御プログラムにより
オートラップ(S2),キャラクターピッチ(83),
ラインピッチ(S4),フォント(S5)等のモードセ
ット情報に対し、それらのリセット項目が順番にリセッ
トされていく。
That is, when a reset command is sent to the printer control device from the host machine (81), the reset command is temporarily stored in the input buffer (RAM), and then the reset command is executed by the control program stored in the ROM. It is recognized that After that, the control program automatically laps (S2), character pitch (83),
For mode set information such as line pitch (S4) and font (S5), these reset items are reset in order.

そして、RAMにあるワークエリアで生或されたダウン
ロードフォント(ローテーションフォントを含む)(S
6)及びマクロ定義(S7)も全て無条件にクリヤー(
リセット)されていた。
Downloaded fonts (including rotation fonts) (S
6) and macro definitions (S7) are all cleared unconditionally (
reset).

(発明が解決しようとする課題) 上記リセット命令による処理方式において、あるユーザ
ーがある画像イメージをダウンロードし、これをマクロ
で定義しておいて、このマクロ定義だけは頻繁に使用す
るのでリセットされないようにしたい場合がある。しか
し、一旦ホストマシンからプリンタ制御装置にリセット
命令があると、無条件で上記マクロ定義されたあるダウ
ンロードもリセットされるので,ユーザーはその都度、
ダウンロードし、マクロ定義を仕直す必要があり,使用
上、極めて不便であった。
(Problem to be Solved by the Invention) In the above-mentioned processing method using the reset command, a user downloads a certain image and defines it in a macro, and since this macro definition is used frequently, he prevents it from being reset. There are cases where you want to However, once a reset command is issued from the host machine to the printer control device, the download defined by the above macro is also reset unconditionally, so the user must
It was extremely inconvenient to use as it required downloading and redoing macro definitions.

(発明の目的) 本発明は上述した不具合を解決し、ユーザーが自由にリ
セット命令によって初期化されるリセット項目を選ぶこ
とのできるプリンタ制御装置を提供することを目的とす
る。
(Object of the Invention) An object of the present invention is to solve the above-mentioned problems and provide a printer control device that allows a user to freely select reset items to be initialized by a reset command.

(構或および作用) 本発明は上記目的を達或するため、ホストマシン及びプ
リンタエンジンに接続されていて、該ホストマシンから
送られる印字データ及び制御命令に従って画像イメージ
データを形成し,前記プリンタエンジンに画像イメージ
データを転送し印字画像出力を得るプリンタ制御装置に
おいて、前記制御命令は印字に係る特定の項目及び内部
状態を初期化する命令を有し、上記特定の項目に関して
の命令によって初期化するか否かを選択できる手段を有
することを特徴とする。
(Structure and Operation) In order to achieve the above object, the present invention is connected to a host machine and a printer engine, forms image data according to print data and control instructions sent from the host machine, and connects the printer engine to the printer engine. In a printer control device that transfers image data to a printer and obtains a printed image output, the control command includes a command for initializing specific items and internal states related to printing, and is initialized by the command regarding the specific items. It is characterized by having a means for selecting whether or not.

本発明は従来からあるリセット命令に加えて、初期化さ
れるリセット項目と、初期化されない項目を選択できる
リセット命令を設定でき、ユーザーの多様なニーズに答
えることができる。
In addition to the conventional reset command, the present invention can set a reset command that allows selection of reset items to be initialized and items not to be initialized, and can meet various needs of users.

(実施例) 第1図は本発明を実施するためのプリンタ制御装置のブ
ロック図であり、1はプリンタ制御装置で、設定されて
いる制御モードに従ってホストマシン2からの受信デー
タをプリンターエンジン3へ出力する画像イメージデー
タに変換する。4はマイクロ・コンピュータ(C P 
U)で、制御プログラム,印字される文字,記号等のパ
ターンデータを記憶しているROM5及びプリンターの
モードセットメモリーに使用される不揮発性メモリー6
のデータに従ってホストマシン2からのデータ処理及び
その他の制御を行なう。7はRAMでCPU4が処理す
るとこのワークメモリー、ホストマシン2からの受信デ
ータを一時記憶するインプットバッファ一,プリンター
エンジン3へ出力する画像イメージデータをビットマッ
プに展開するビットマップメモリーに使用する。更に本
実施例においては、リセット項目を選択するリセット命
令を、ROMS内の制御プログラムにより各項目ごとに
リセットの有無を示すビット情報等に格納したリセット
情報(第3図(1)参照)や、または、フロントパネル
操作部8等からリセットしたくない選ばれた項目のリセ
ット情報(第3図(2)参照)、ー4 一 を格納してある。
(Embodiment) FIG. 1 is a block diagram of a printer control device for carrying out the present invention, in which 1 is a printer control device that sends received data from a host machine 2 to a printer engine 3 according to a set control mode. Convert to image data for output. 4 is a microcomputer (CP
U), a ROM 5 that stores control programs, pattern data such as characters and symbols to be printed, and a non-volatile memory 6 used for the printer's mode set memory.
Data processing from the host machine 2 and other controls are performed according to the data. A RAM 7 is used for processing by the CPU 4 as a work memory, an input buffer 1 for temporarily storing data received from the host machine 2, and a bitmap memory for developing image data to be output to the printer engine 3 into a bitmap. Furthermore, in this embodiment, a reset command for selecting a reset item is stored in bit information indicating whether or not to reset for each item by a control program in the ROMS (see FIG. 3 (1)); Alternatively, reset information (see FIG. 3 (2)) for selected items that do not want to be reset from the front panel operation unit 8 or the like is stored.

なお、上記フロントパネル操作部8は、プリンターの設
定状況を示す表示部またはプリンターのモードセット、
フォント等を切換えるキーやスイッチ等を有する。RO
Mカートリッジ9は、プリンタ制御装置工に内蔵されて
いるフォント以外を使ってプリントしたい時に使うフォ
ントカートリッジまたはプリンターに他の機能(他のプ
リンターのエミュレーション)をさせたい時に使うエミ
ュレーションカードである。また、読書き可能力−1−
リッジ10はRAM7の容量を拡張するRAMカートリ
ッジである。
Note that the front panel operation section 8 includes a display section showing the setting status of the printer, a mode setting of the printer,
It has keys and switches for changing fonts, etc. R.O.
The M cartridge 9 is a font cartridge used when you want to print using fonts other than those built into the printer controller, or an emulation card used when you want the printer to perform other functions (emulation of other printers). Also, the ability to read and write -1-
The ridge 10 is a RAM cartridge that expands the capacity of the RAM 7.

上記プリンタ制御装置I外のホストマシン2,プリンタ
ーエンジン3,フロントパネル操作部8,ROMカート
リッジ9及び読書き可能カートリッジIOは夫々対応す
るインターフェースである2 (I/F) , 3 (
I/F) , 8 (I/F) , 9・10(I/F
)で接続されている。そして、プリンタ制御装置1内の
各構或要素はデータ,アドレス及び信号線の集りである
バス(BUS)11で結合されている。
The host machine 2, printer engine 3, front panel operation unit 8, ROM cartridge 9, and read/write cartridge IO outside the printer control device I are corresponding interfaces 2 (I/F) and 3 (
I/F), 8 (I/F), 9/10 (I/F
) are connected. Each component within the printer control device 1 is connected by a bus (BUS) 11, which is a collection of data, address, and signal lines.

次に本実施例の動作を第2図に示すリセッ1〜フローチ
ャート及び第3図のリセット情報例(1),(2)を用
いて説明する。
Next, the operation of this embodiment will be explained using the reset 1 to flowchart shown in FIG. 2 and reset information examples (1) and (2) shown in FIG. 3.

まず,リセットする前にリセット項目を選択する制御命
令をホストインターフェース2 (I/F)を通してプ
リンタ制御装置1内のインプットバッファ一(RAM7
)に格納する。このリセット項目を基にROMS内の制
御プログラムにより、各項目ごとのリセット情報の有無
をビット情報等に格納したりセッ1〜情報(第3図(1
))をRAM7内に格納する(S1)。
First, before resetting, a control command for selecting a reset item is sent to the input buffer 1 (RAM 7) in the printer control device 1 through the host interface 2 (I/F).
). Based on these reset items, the control program in the ROMS stores the presence or absence of reset information for each item in bit information, etc.
)) is stored in the RAM 7 (S1).

または、フロントパネル操作部8等からリセットしたく
ない項目を選び、そのリセッ1〜情報(第3図(2))
を上記と同様にしてRAM7内に格納する(S2)。
Alternatively, select the item you do not want to reset from the front panel operation section 8, etc., and reset the item from Reset 1 to Information (Figure 3 (2)).
is stored in the RAM 7 in the same manner as above (S2).

例えば、ユーザーが常にダウンロードフォン1〜だけは
リセット命令が送られてもデリー1・シたくないと考え
ているデータをR A M 7に格納しておけばよい。
For example, it is sufficient to store data in the RAM 7 that the user always considers that the download phones 1 to 1 do not want to be reset even if a reset command is sent.

即ち、リセット命令がホストマシン2よりプリンタ制御
装置1に送られて来たとき(S3)、第2図のフローチ
ャートに従い、各リセット項目(オートラップ,キャラ
クターピッチ,ラインピッチ,フォント,ダウンロード
フォント,マクロ等)を,リセットする前に、RAM7
内に格納されている情報(第3図(1)や(2))を基
にリセットの有無(S4)を判断しなからCPU4はリ
セット,非リセッ1−の動作を行なう。つまり、第3図
(1)の場合は全ての項目がリセットされる場合であり
,同図(2)の場合は頻繁に使用されるダウンロード・
フォント項目を除いてリセットされる場合である.した
がって、ユーザーはホストマシンからのリセット命令に
より全ての項目をリセットすることなく、使用頻度の高
いものはリセットされずに済むので、その都度ダウンロ
ードする必要がない。
That is, when a reset command is sent from the host machine 2 to the printer control device 1 (S3), each reset item (auto wrap, character pitch, line pitch, font, download font, macro etc.), before resetting RAM7.
The CPU 4 determines whether or not to reset (S4) based on the information stored therein (FIG. 3 (1) and (2)), and then performs the reset and non-reset 1- operations. In other words, in the case of Figure 3 (1), all items are reset, and in the case of Figure 3 (2), the frequently used download
This is the case when all items except font items are reset. Therefore, the user does not have to reset all items by a reset command from the host machine, and frequently used items do not need to be reset, so there is no need to download them each time.

(発明の効果) 以上説明したように本発明は、リセット命令をホストマ
シンからプリンタ制御装置へ送っても、リセッ1・をし
たくない情報(非リセット項目)をRAM7内に保存し
ておくことが可能になり、リセ一“l− ット命令をより幅広く活用でき、かつ、再設定に要する
時間,手間を省力化することができる。
(Effects of the Invention) As explained above, the present invention stores information (non-reset items) that does not want to be reset in the RAM 7 even if a reset command is sent from the host machine to the printer control device. This allows the reset command to be used more widely, and the time and effort required for resetting can be saved.

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

第1図は本発明を実施するためのプリンタ制御装置のブ
ロック図、第2図は本発明による第1図の動作フローチ
ャートを示す図、第3図は本発明のりセッ1〜情報の各
例を示す図、第4図は従来の動作フローチャートを示す
図である。 1・・・プリンタ制御装置、  2・・・ホス1・マシ
ン、  3・・・プリンターエンジン、 4・・・マイ
クロ・コンピュータ(c p u)、5・・・プログラ
ムROM、 6・・・不揮発性メモリー  7・・・R
AM、  8・・・フロントパネル操作部、  9・・
・ROMカートリッジ、 10・・・読書き可能カート
リッジ、l1・・・バス、 2 (I/F) , 3 
(I/F) , 8 (I/F) ,9・10(I/F
)・・・インターフェース。
FIG. 1 is a block diagram of a printer control device for implementing the present invention, FIG. 2 is a diagram showing an operation flowchart of FIG. 1 according to the present invention, and FIG. FIG. 4 is a diagram showing a conventional operation flowchart. DESCRIPTION OF SYMBOLS 1... Printer control device, 2... Host 1 machine, 3... Printer engine, 4... Micro computer (CPU), 5... Program ROM, 6... Non-volatile Memory 7...R
AM, 8...Front panel operation section, 9...
・ROM cartridge, 10... read/write cartridge, l1... bus, 2 (I/F), 3
(I/F), 8 (I/F), 9/10 (I/F)
)···interface.

Claims (1)

【特許請求の範囲】 ホストマシン及びプリンタエンジンに接続されていて、
該ホストマシンから送られる印字データ及び制御命令に
従って画像イメージデータを形成し、前記プリンタエン
ジンに画像イメージデータを転送し印字画像出力を得る
プリンタ制御装置において、 前記制御命令は印字に係る特定の項目及び内部状態を初
期化する命令を有し、上記特定の項目に関しての命令に
よって初期化するか否かを選択できる手段を有すること
を特徴とするプリンタ制御装置。
[Claims] Connected to a host machine and a printer engine,
In a printer control device that forms image data according to print data and control instructions sent from the host machine, transfers the image image data to the printer engine, and obtains a print image output, the control instructions include specific items related to printing and A printer control device comprising a command for initializing an internal state, and means for selecting whether or not to initialize based on the command regarding the specific item.
JP1300734A 1989-11-21 1989-11-21 Printer controller Pending JPH03161828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1300734A JPH03161828A (en) 1989-11-21 1989-11-21 Printer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1300734A JPH03161828A (en) 1989-11-21 1989-11-21 Printer controller

Publications (1)

Publication Number Publication Date
JPH03161828A true JPH03161828A (en) 1991-07-11

Family

ID=17888461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1300734A Pending JPH03161828A (en) 1989-11-21 1989-11-21 Printer controller

Country Status (1)

Country Link
JP (1) JPH03161828A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010039812A (en) * 2008-08-06 2010-02-18 Renesas Technology Corp Microcomputer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010039812A (en) * 2008-08-06 2010-02-18 Renesas Technology Corp Microcomputer

Similar Documents

Publication Publication Date Title
JP2741325B2 (en) Printing device
US5748861A (en) Image processing apparatus and method therefor
JPH03161828A (en) Printer controller
US4709349A (en) Method for maintaining display/print mode in display printer
JP3544734B2 (en) Multi-panel parameter initialization setting device and initialization setting method
EP0200222A2 (en) Word processor with automatic typewriter mode
US5038279A (en) Direct hot-keying with reset of printer parameters for a secondary application including a typewriter emulator
JP3013577B2 (en) Memory management device and printer with memory management device
JPH0522933B2 (en)
JP3129679B2 (en) Printer
JPH044171A (en) Printer control device
JP2805642B2 (en) Printer device
JPH04213119A (en) Computer system
JP3064719B2 (en) Graph creation device
JP2940140B2 (en) Document data processing device
JP3158693B2 (en) Printer control device
JPS642180Y2 (en)
JPH06161688A (en) Printer
JPH10283349A (en) Document preparing device and recording medium
JPH0612139A (en) Personal computer
JP2839631B2 (en) Personal computer system and configuration change method thereof
JPH0920050A (en) Printing device
JPH05131715A (en) Image forming device
JPH034316A (en) Page printer
JPH07210349A (en) Printing system