JPH04312877A - Test printing of macro-data - Google Patents

Test printing of macro-data

Info

Publication number
JPH04312877A
JPH04312877A JP3079770A JP7977091A JPH04312877A JP H04312877 A JPH04312877 A JP H04312877A JP 3079770 A JP3079770 A JP 3079770A JP 7977091 A JP7977091 A JP 7977091A JP H04312877 A JPH04312877 A JP H04312877A
Authority
JP
Japan
Prior art keywords
macro
printer
data
printing
test
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
JP3079770A
Other languages
Japanese (ja)
Inventor
▲高▼橋 遠
Toushi Takahashi
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3079770A priority Critical patent/JPH04312877A/en
Publication of JPH04312877A publication Critical patent/JPH04312877A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To ensure that a local test printing is performed without receiving a command from a host computer by providing a control part and an indicator device such as a test printing switch on a printer. CONSTITUTION:An indicator device such as a test printing switch 38 is provided on a printer 1. If an instruction to such an effect that test printing is performed, the control part of the printer 1 interprets whether a macrocartridge 37 is loaded in the printer 1. If the macrocartridge 37 is not loaded in the printer, the control part reads test print data in memory on the printer 1 to prepare image data for printing and sends the data to the printing part. In addition, if the macrocartridge 37 is loaded, the control part of the printer 1 reads macro data in the macrocartridge 37 to prepare image data for printing and sends it to the control part. The control part prints data based on the mentioned image data.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ICカード内にマクロ
的に格納された印字データについてテストプリントを行
うためのマクロデータのテストプリント方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a macro data test printing method for test printing print data stored macroscopically in an IC card.

【0002】0002

【従来の技術】従来、例えばノンインパクトページプリ
ンタにおいては、プリンタの機能や印字品位を確認する
ために、テストプリント機能を有している。そして、こ
の機能によって印刷したサンプルを参考にしてプリンタ
の濃度を調節することができるようになっている。
2. Description of the Related Art Conventionally, non-impact page printers, for example, have a test print function in order to check printer functions and print quality. This function makes it possible to adjust the density of the printer by referring to the printed sample.

【0003】通常、上記テストプリントは、用紙を給紙
ユニットにセットし、制御パネルのテストスイッチを押
下することによって開始され、あらかじめ設定されたテ
ストプリント用のイメージが自動的に用紙1ページ分だ
け印刷される。この場合、テストプリント用の印字デー
タは、プリンタ内のメモリにテストプリントデータとし
て格納されており、操作者が上記テストスイッチを押下
すると、プリンタの制御部が上記テストプリントデータ
をメモリから読み出し、印刷部に送ってそれを印刷する
ようにしている。したがって、ホストコンピュータから
コマンドを受けることなく、ローカルにテストプリント
を行うことができる。
Normally, the above-mentioned test print is started by setting paper in the paper feed unit and pressing a test switch on the control panel, and the preset test print image is automatically printed for one page of paper. printed. In this case, the print data for the test print is stored in the memory in the printer as test print data, and when the operator presses the test switch, the printer control unit reads the test print data from the memory and prints it. I send it to the department and have it printed. Therefore, test printing can be performed locally without receiving commands from the host computer.

【0004】0004

【発明が解決しようとする課題】しかしながら、上記従
来のプリンタにおいては、テストプリントされるデータ
はあらかじめプリンタのメモリ内に格納されているもの
が通常の印刷を行う場合の濃度調整に利用することはで
きるものの種々なテストプリントを行うことができない
[Problems to be Solved by the Invention] However, in the above-mentioned conventional printer, the data to be test printed is stored in the printer's memory in advance, but cannot be used for density adjustment when performing normal printing. Although it is possible, it is not possible to perform various test prints.

【0005】プリンタ内のメモリに格納されているテス
トプリントデータ以外のデータについてテスト印刷する
必要がある場合には、ホストコンピュータから特別に設
定した印字データを送らなければならない。この場合、
ホストコンピュータにおいて所定の印字データを設定す
る作業が必要となり、また、ホストコンピュータからの
実行命令を受けるための制御手順が複雑になってしまう
[0005] If it is necessary to test print data other than the test print data stored in the memory within the printer, specially set print data must be sent from the host computer. in this case,
This requires work to set predetermined print data in the host computer, and the control procedure for receiving execution instructions from the host computer becomes complicated.

【0006】本発明は、上記従来のプリンタの問題点を
解決して、格納されたテストプリントデータ以外のデー
タについて、テストプリントを行うことができるととも
に、ホストコンピュータからの指令を受けることなく、
プリンタにおいてローカルにテストプリントを行うこと
ができるマクロデータのテストプリント方法を提供する
ことを目的とする。
[0006] The present invention solves the above-mentioned problems of conventional printers, allows test printing of data other than the stored test print data, and also enables the printing of data without receiving instructions from a host computer.
An object of the present invention is to provide a macro data test printing method that allows test printing to be performed locally on a printer.

【0007】[0007]

【課題を解決するための手段】そのために、本発明のマ
クロデータのテストプリント方法においては、プリンタ
に制御部が設けられるとともに、テストプリントスイッ
チなどの指示手段が設けられていて、該指示手段からテ
ストプリントを行う旨の指示を受けると、上記制御部は
マクロカートリッジがプリンタに装填されているか否か
の判断を行う。
[Means for Solving the Problems] For this purpose, in the macro data test printing method of the present invention, the printer is provided with a control unit and an instruction means such as a test print switch, and the printer is provided with an instruction means such as a test print switch. When receiving an instruction to perform a test print, the control section determines whether a macro cartridge is loaded in the printer.

【0008】プリンタのメモリ内には、テストプリント
データが格納されていて、マクロカートリッジが装填さ
れていない場合には、上記制御部はメモリ内に格納され
たテストプリントデータを読み出し、それをデコード、
編集して印刷を行う。マクロカートリッジが装填されて
いる場合には、上記制御部はホストコンピュータからの
実行命令を受けることなく、マクロカートリッジ内のマ
クロデータを読み出し、該マクロデータをデコード、編
集して印刷を行うようになっている。
Test print data is stored in the memory of the printer, and if the macro cartridge is not loaded, the control section reads the test print data stored in the memory, decodes it, and decodes it.
Edit and print. When the macro cartridge is loaded, the control section reads the macro data in the macro cartridge, decodes and edits the macro data, and prints the macro data without receiving an execution command from the host computer. ing.

【0009】[0009]

【作用】本発明によれば、上記のようにプリンタにテス
トプリントスイッチなどの指示手段が設けられていて、
操作者が該指示手段を操作してテストプリントを行う旨
の指示を与えると、プリンタの制御部は、マクロカート
リッジがプリンタに装填されているか否かの判断を行う
[Operation] According to the present invention, as described above, the printer is provided with an instruction means such as a test print switch,
When the operator operates the instruction means to issue an instruction to perform a test print, the control section of the printer determines whether or not a macro cartridge is loaded in the printer.

【0010】マクロカートリッジがプリンタに装填され
ていない場合には、制御部はプリンタのメモリ内のテス
トプリントデータを読み出し、該テストプリントデータ
をデコード、編集して印刷用イメージデータを作成し、
印刷部に送る。また、マクロカートリッジが装填されて
いる場合には、ホストコンピュータからの実行命令を受
けることなく、プリンタの制御部がマクロカートリッジ
内のマクロデータを読み出し、該マクロデータをデコー
ド、編集して同様に印刷用イメージデータを作成し、印
刷部に送る。
[0010] When the macro cartridge is not loaded in the printer, the control unit reads test print data in the memory of the printer, decodes and edits the test print data to create print image data,
Send to printing department. Additionally, when a macro cartridge is loaded, the printer control unit reads the macro data in the macro cartridge, decodes and edits the macro data, and prints the same without receiving an execution command from the host computer. Create image data for printing and send it to the printing department.

【0011】印刷部では、上記印刷用イメージデータを
受けると、該印刷用イメージデータによって例えば発光
ダイオードアレイを駆動し、感光体ドラムを露光する。
When the printing section receives the printing image data, it drives, for example, a light emitting diode array using the printing image data to expose the photosensitive drum.

【0012】0012

【実施例】以下、本発明の実施例について図面を参照し
ながら詳細に説明する。図1は本発明の実施例を示すマ
クロデータのテストプリント方法のフローチャート、図
2は本発明のマクロデータのテストプリント方法が採用
されるプリンタの概略図、図3は通常時のマクロ登録機
能図、図4は通常時のマクロ実行機能図である。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a flowchart of a macro data test print method showing an embodiment of the present invention, FIG. 2 is a schematic diagram of a printer in which the macro data test print method of the present invention is adopted, and FIG. 3 is a diagram of macro registration functions in normal operation. , FIG. 4 is a diagram of the macro execution function during normal operation.

【0013】図2において、プリンタ1は端末機2から
印刷データを受け入れる制御部3と、印刷を行う印刷部
4で構成されている。制御部3には、セントロニクスイ
ンタフェースなどの外部接続インタフェース部5、受信
バッファ6、マイクロプロセッサ7、フォントメモリ8
、メモリ9及びプリンタインタフェース部10が設けら
れている。上記端末機2から送られる印刷データは、外
部接続インタフェース部5を介して受信バッファ6に供
給される。
In FIG. 2, the printer 1 is composed of a control section 3 that receives print data from a terminal 2, and a printing section 4 that performs printing. The control unit 3 includes an external connection interface unit 5 such as a Centronics interface, a reception buffer 6, a microprocessor 7, and a font memory 8.
, a memory 9 and a printer interface section 10 are provided. Print data sent from the terminal 2 is supplied to a reception buffer 6 via an external connection interface section 5.

【0014】上記メモリ9内には、上記受信バッファ6
内に取り込まれた印刷データに基づいてマイクロプロセ
ッサ7が作成した印刷用イメージデータを格納するため
のページメモリ9a,ホストコンピュータから送られた
マクロデータを登録するためのマクロバッファ9b、テ
ストプリントデータを格納するテストプリントデータバ
ッファ9c、マクロカートリッジ37のマクロデータを
収容するためのオプションROM9dが形成されている
In the memory 9, the reception buffer 6 is stored.
A page memory 9a for storing print image data created by the microprocessor 7 based on print data taken into the internal memory, a macro buffer 9b for registering macro data sent from the host computer, and a macro buffer 9b for storing test print data. A test print data buffer 9c to be stored and an option ROM 9d for accommodating macro data of the macro cartridge 37 are formed.

【0015】また、印刷部4には定型の印刷用紙を自動
的に供給するための印刷用紙供給部11が右側面側に設
けられている。また、印刷部4の内側には、上記印刷用
紙供給部11からの印刷用紙の走行駆動を開始するレジ
ストローラ12、該レジストローラ12まで印刷用紙を
送るクラッチ駆動式のホッピングローラ13、外周に感
光体面を形成した感光体ドラム14、上記感光体面を一
様に帯電する帯電器15、上記感光体面に印刷用イメー
ジデータに対応する静電潜像を形成する発光ダイオード
アレイ16、現像器17、転写器18、定着器19及び
クリーナ20が設けられている。そして、上記印刷部4
の左側面側には、印刷の終了した印刷用紙が排出される
排出部31が設けられている。
The printing section 4 is also provided with a printing paper supply section 11 on the right side for automatically supplying standard printing paper. Also, inside the printing unit 4, there are registration rollers 12 that start driving the printing paper from the printing paper supply unit 11, a clutch-driven hopping roller 13 that transports the printing paper to the registration roller 12, and a photosensitive roller on the outer periphery. A photoreceptor drum 14 on which a photoreceptor surface is formed, a charger 15 that uniformly charges the photoreceptor surface, a light emitting diode array 16 that forms an electrostatic latent image corresponding to printing image data on the photoreceptor surface, a developer 17, and a transfer device. A fixing device 18, a fixing device 19, and a cleaner 20 are provided. Then, the printing section 4
A discharge section 31 is provided on the left side of the printer to discharge printing paper after printing has been completed.

【0016】また、印刷部4には、制御部3との通信及
び印刷部4全体の制御を行うマイクロプロセッサ32が
設けられている。また、上記制御部3と印刷部4との間
は、両者の通信を行うための双方向のシリアルインタフ
ェース33と、ドットイメージデータで形成された印刷
データを転送したり、制御したりするための信号線を持
ったビデオインタフェース34によって接続されている
The printing section 4 is also provided with a microprocessor 32 that communicates with the control section 3 and controls the printing section 4 as a whole. Further, between the control section 3 and the printing section 4, there is a bidirectional serial interface 33 for communication between the two, and a bidirectional serial interface 33 for transferring and controlling print data formed of dot image data. They are connected by a video interface 34 with signal lines.

【0017】ここで、上記シリアルインタフェース33
は、制御部3のプリンタインタフェース部10を介して
マイクロプロセッサ7と印刷部4のマイクロプロセッサ
32とを結び、ビデオインタフェース34も同様に制御
部3のプリンタインタフェース部10を介してマイクロ
プロセッサ7と印刷部4の発光ダイオードアレイ16と
を結んでいる。
[0017] Here, the serial interface 33
connects the microprocessor 7 and the microprocessor 32 of the printing section 4 via the printer interface section 10 of the control section 3; It is connected to the light emitting diode array 16 of section 4.

【0018】上記構成のプリンタ1は、図示しないホス
トコンピュータからの印刷データが端末機2と外部接続
インタフェース部5を介して入力されると、これを受信
バッファ6に取り込む。該受信バッファ6に1ページ分
の印刷データが取り込まれると、感光体ドラム14が回
転し、帯電器15によって感光体の表面が一様に帯電さ
せられ、また、現像器17内の現像剤が攪拌させられる
などの予備動作が行われる。
When print data from a host computer (not shown) is input to the printer 1 having the above configuration via the terminal 2 and the external connection interface section 5, the printer 1 receives the print data into the reception buffer 6. When one page of print data is received in the reception buffer 6, the photoreceptor drum 14 rotates, the charger 15 uniformly charges the surface of the photoreceptor, and the developer in the developer 17 is charged. Preliminary operations such as stirring are performed.

【0019】該予備動作が終了すると、ホッピングロー
ラ13のクラッチがオンされ、印刷用紙供給部11から
印刷用紙が取り出され、レジストローラ12まで送出さ
れる。一方、マイクロプロセッサ7が、上記受信バッフ
ァ6に取り込まれた印刷データに含まれる文字コードを
読み取り、フォントメモリ8を参照して印刷用イメージ
データを作成し、メモリ9内のページメモリ9aに書き
込む。該ページメモリ9aには、例えば印刷用紙1ペー
ジ分の印刷用イメージデータが編集され格納される。
When the preliminary operation is completed, the clutch of the hopping roller 13 is turned on, and the printing paper is taken out from the printing paper supply section 11 and sent to the registration rollers 12. On the other hand, the microprocessor 7 reads the character code included in the print data taken into the reception buffer 6, creates print image data with reference to the font memory 8, and writes it into the page memory 9a in the memory 9. For example, printing image data for one page of printing paper is edited and stored in the page memory 9a.

【0020】また、図示しないホストコンピュータから
印刷データとして直接イメージデータが送られ、端末機
2と外部接続インタフェース部5を介して受信バッファ
6に伝送された場合、マイクロプロセッサ7はこれをそ
のままページメモリ9aの所定のアドレスに書き込む。 また、ビジネスグラフィック印刷の場合などは、印刷デ
ータがホストコンピュータから図形コマンドの形で送ら
れてくるため、マイクロプロセッサ7で印刷データが編
集演算され、イメージデータとして直接ページメモリ9
aに書き込まれる。
Furthermore, when image data is directly sent as print data from a host computer (not shown) and transmitted to the reception buffer 6 via the terminal 2 and the external connection interface section 5, the microprocessor 7 stores it as it is in the page memory. 9a at a predetermined address. In addition, in the case of business graphic printing, print data is sent from the host computer in the form of graphic commands, so the print data is edited and calculated in the microprocessor 7 and directly stored in the page memory 9 as image data.
written to a.

【0021】このようにして、印刷用イメージデータの
解析と編集が完成すると、レジストローラ12に到達し
ている印刷用紙は、転写器18に向かって搬送される。 これと並行して、マイクロプロセッサ7によって印刷用
イメージデータがビデオインタフェース34を介して発
光ダイオードアレイ16に供給され、発光ダイオードア
レイ16が駆動され、感光体ドラム14の外周に静電潜
像が形成される。該感光体ドラム14が矢印aの方向に
回転すると、静電潜像は現像器17によって現像され、
転写器18において印刷用紙に転写される。その後、印
刷用紙は定着器19において定着されて排出部31に排
出される。また、転写の後感光体ドラム14上に残った
トナーは、クリーナ20によって除去される。
[0021] When the analysis and editing of the printing image data is completed in this manner, the printing paper that has reached the registration rollers 12 is conveyed toward the transfer device 18. In parallel with this, the microprocessor 7 supplies printing image data to the light emitting diode array 16 via the video interface 34, the light emitting diode array 16 is driven, and an electrostatic latent image is formed on the outer periphery of the photoreceptor drum 14. be done. When the photosensitive drum 14 rotates in the direction of arrow a, the electrostatic latent image is developed by the developing device 17.
The image is transferred to printing paper in the transfer device 18. Thereafter, the printing paper is fixed in the fixing device 19 and is discharged to the discharge section 31. Further, the toner remaining on the photosensitive drum 14 after the transfer is removed by the cleaner 20.

【0022】このようにして、ホストコンピュータから
受信した印刷データに基づく情報が印刷用紙上に印刷さ
れる。ところで、上記構成のプリンタ1において、ホス
トコンピュータから送られたコマンドの解析や印字デー
タの処理を行うに当たり、一連の処理が何度も繰り返さ
れる場合に、マクロ機能を使用して上記一連の処理にマ
クロ名を付けてメモリにマクロ登録し、必要に応じて読
み出すことができるようになっている。
[0022] In this way, information based on print data received from the host computer is printed on printing paper. By the way, in the printer 1 having the above configuration, when a series of processes are repeated many times when analyzing commands sent from the host computer and processing print data, the macro function can be used to perform the above series of processes. A macro can be registered in memory with a macro name and read out as needed.

【0023】例えば、けい線や文字を含む所定の様式の
中に、文書ごとに異なる文字を記入する場合においては
、けい線の位置や長さなどを規定するためのコマンド及
び様式内の文字の印字データは共通であって、同じ様式
の文書を何度も印刷する場合には同じコマンド及び印字
データがホストコンピュータから送られることになる。 このような時、上記共通のコマンド及び印字データがメ
モリ内にマクロ登録されるようになっている。
For example, when writing different characters for each document in a predetermined form that includes ruled lines and characters, commands for specifying the positions and lengths of the ruled lines and the characters in the form are used. The print data is common, and when printing a document in the same format many times, the same command and print data will be sent from the host computer. In such a case, the common commands and print data mentioned above are registered as macros in the memory.

【0024】次に、通常のマクロデータをホストコンピ
ュータからの指令によって登録するためのマクロ登録機
能について説明する。図3において、36はホストコン
ピュータ、1は該ホストコンピュータ36に接続される
とともに、マクロ識別番号すなわちマクロID番号、マ
クロ登録開始コマンド、印字用の各種コマンド、印字デ
ータ、マクロ登録終了コマンド等の信号を受信するプリ
ンタ、9bは該プリンタ1に内蔵されたメモリ9内に形
成されたマクロバッファである。
Next, a macro registration function for registering normal macro data according to a command from the host computer will be explained. In FIG. 3, 36 is a host computer, 1 is connected to the host computer 36, and signals such as macro identification number, macro ID number, macro registration start command, various printing commands, print data, macro registration end command, etc. The printer 9b that receives the data is a macro buffer formed in the memory 9 built into the printer 1.

【0025】プリンタ1に接続されたホストコンピュー
タ36からマクロID番号、マクロ登録開始コマンドが
送られてくると、プリンタ1は、それ以降マクロ登録終
了コマンドが送られてくるまでホストコンピュータ36
から送られてくるコマンドや印字データなどのマクロデ
ータを、マクロバッファ9bに格納していく。次に、通
常のマクロデータをホストコンピュータ36からの指令
によって実行するためのマクロ実行機能について説明す
る。
When the macro ID number and the macro registration start command are sent from the host computer 36 connected to the printer 1, the printer 1 uses the host computer 36 from then on until the macro registration end command is sent.
Macro data such as commands and print data sent from the computer are stored in the macro buffer 9b. Next, a macro execution function for executing normal macro data according to instructions from the host computer 36 will be explained.

【0026】図4において、プリンタ1に接続されたホ
ストコンピュータ36からマクロID番号及びマクロ実
行コマンドが送られてくると、プリンタ1はマクロ登録
されたコマンドや印字データを順にマクロバッファ9b
から読み出し、コマンド解析や印字データのデコード、
編集等を行い、あたかもホストコンピュータ36からコ
マンドや印字データなどのマクロデータを受信したかの
ように動作して印字を行う。
In FIG. 4, when a macro ID number and a macro execution command are sent from the host computer 36 connected to the printer 1, the printer 1 sequentially stores the macro-registered commands and print data in the macro buffer 9b.
Read from, analyze commands, decode print data,
It performs editing, etc., and prints by operating as if it had received macro data such as commands and print data from the host computer 36.

【0027】ところで、本発明のマクロデータのテスト
プリント方法を採用したプリンタにおいては、テストプ
リントデータを格納するテストプリントデータバッファ
9c及びマクロカートリッジ37のマクロデータを収容
するためのオプションROM9dがメモリ9内に形成さ
れている。そして、プリンタ1の制御パネルには、テス
トプリントを実行するためのテストプリントスイッチが
設けられていて、操作者が該テストプリントスイッチを
押下することによって上記テストプリントデータバッフ
ァ9c内に格納されたテストプリントデータ又はマクロ
カートリッジ37内のマクロデータによってテストプリ
ントを行うことができる。
By the way, in the printer adopting the macro data test print method of the present invention, the test print data buffer 9c for storing the test print data and the option ROM 9d for storing the macro data of the macro cartridge 37 are provided in the memory 9. is formed. The control panel of the printer 1 is provided with a test print switch for executing a test print, and when the operator presses the test print switch, the test print data stored in the test print data buffer 9c is printed. Test printing can be performed using print data or macro data in the macro cartridge 37.

【0028】マクロカートリッジ37内のマクロデータ
によってテストプリントを行う場合には、ホストコンピ
ュータ36からのコマンドを受けることなく、マイクロ
プロセッサ7(図2参照)はマクロカートリッジ37内
のマクロデータをデコード、編集して印刷用イメージデ
ータとしてページメモリ9a内に書き込み、それを印刷
部4に送る。
When performing a test print using the macro data in the macro cartridge 37, the microprocessor 7 (see FIG. 2) decodes and edits the macro data in the macro cartridge 37 without receiving a command from the host computer 36. The image data for printing is written in the page memory 9a and sent to the printing unit 4.

【0029】次に、本発明のマクロデータのテストプリ
ント方法における動作について図1のフローチャートに
基づいて説明する。図1において、1はプリンタ、37
は該プリンタ1に必要に応じて装填されるマクロカート
リッジであり、マクロデータを格納したICカードで構
成される。38はプリンタの制御パネルに設けられたテ
ストプリントスイッチである。ステップS1  操作者
がテストプリントスイッチ38を押下して、ホストコン
ピュータ36を介さないローカルなテストプリントを要
求したか否かを判断する。テストプリントを要求しなか
った場合は、通常の印刷処理を行い、テストプリントを
要求した場合は、ステップS2に進む。ステップS2 
 マクロデータを格納したマクロカートリッジ37がプ
リンタ1に装填されているか否かを判断する。ステップ
S3  装填されていない場合、従来どおりのプリンタ
1のテストプリントデータバッファ9cに格納されたテ
ストプリントデータを読み出しに行く。ステップS4 
 マクロカートリッジ37が装填されていれば、マクロ
カートリッジ37内に格納されているマクロデータを読
み出す。 ステップS5,S6  テストプリントデータ又はマク
ロデータをデコードし、編集処理を施し、印字を行う。
Next, the operation of the macro data test printing method of the present invention will be explained based on the flowchart of FIG. In FIG. 1, 1 is a printer, 37
A macro cartridge is loaded into the printer 1 as needed, and is composed of an IC card storing macro data. 38 is a test print switch provided on the control panel of the printer. Step S1: It is determined whether the operator presses the test print switch 38 and requests local test print without going through the host computer 36. If a test print is not requested, normal printing processing is performed, and if a test print is requested, the process advances to step S2. Step S2
It is determined whether the macro cartridge 37 storing macro data is loaded in the printer 1. Step S3: If the printer 1 is not loaded, the test print data stored in the test print data buffer 9c of the printer 1 is read out as before. Step S4
If the macro cartridge 37 is loaded, the macro data stored in the macro cartridge 37 is read out. Steps S5 and S6 The test print data or macro data is decoded, edited, and printed.

【0030】次に、テストプリントデータ又はマクロデ
ータを解析し印字処理する動作について説明する。印刷
すべきテストプリントデータ又はマクロデータがテスト
プリントデータバッファ9c又はマクロカートリッジ3
7から読み出されると、マイクロプロセッサ7はコード
データ形式のデータを中間コードの形に変換し、印刷用
紙のフォーマットに編集してページメモリ9aに格納す
る。
Next, the operation of analyzing test print data or macro data and performing printing processing will be explained. The test print data or macro data to be printed is stored in the test print data buffer 9c or the macro cartridge 3.
7, the microprocessor 7 converts the code data format data into an intermediate code format, edits it into a printing paper format, and stores it in the page memory 9a.

【0031】次に、マイクロプロセッサ7は上記ページ
メモリ9a内の中間コードに従いフォントメモリ8など
から読み出し、ラスタバッファの指定位置への書込みを
行う。そして、順次ラスタバッファへのフォントパター
ン書込みが行われる。一定の書込みが完了した時点で、
継続するフォントパターン書込みと並行して、ラスタバ
ッファへ書き込まれたドットパターンなどのドットイメ
ージデータがラスタスキャンの形で読み出され、印刷部
4に転送される。この制御動作が順次1ページ分繰り返
し行われる。
Next, the microprocessor 7 reads the intermediate code from the font memory 8 and the like in accordance with the intermediate code in the page memory 9a, and writes it to the specified position in the raster buffer. Then, font patterns are sequentially written into the raster buffer. When a certain amount of writing is completed,
In parallel with the continuous font pattern writing, dot image data such as a dot pattern written to the raster buffer is read out in the form of raster scan and transferred to the printing unit 4. This control operation is sequentially repeated for one page.

【0032】図5はバンドバッファ方式のラスタバッフ
ァの概念図である。図において、21は印刷用紙1ペー
ジ分に相当するドットイメージメモリを示す。ラスタバ
ッファ22はアドレス部が円筒的にアクセス可能な構造
になっている。フォントパターン書込み及び用紙イメー
ジに形成されたドットイメージデータの読出しのために
、ラスタバッファ22は書込みレイヤ23、書込み待ち
レイヤ24及び読出しレイヤ25に分割定義される。 また、書込処理が読出処理に追従することができないな
どのオーバーラン現象が発生しないように、読出速度、
ラスタバッファ22の容量及び分割レイヤ数が設定され
る。
FIG. 5 is a conceptual diagram of a band buffer type raster buffer. In the figure, numeral 21 indicates a dot image memory corresponding to one page of printing paper. The raster buffer 22 has a structure in which the address portion can be accessed in a cylindrical manner. In order to write a font pattern and read dot image data formed on a paper image, the raster buffer 22 is divided into a write layer 23, a write waiting layer 24, and a read layer 25. In addition, the read speed is adjusted to prevent overrun phenomena such as the inability of write processing to follow read processing.
The capacity of the raster buffer 22 and the number of divided layers are set.

【0033】なお、本発明は上記実施例に限定されるも
のではなく、本発明の趣旨に基づき種々変形することが
可能であり、それらを本発明の範囲から排除するもので
はない。
Note that the present invention is not limited to the above-mentioned embodiments, and various modifications can be made based on the spirit of the present invention, and these are not excluded from the scope of the present invention.

【0034】[0034]

【発明の効果】以上、詳細に説明したように本発明によ
れば、プリンタにテストプリントスイッチなどの指示手
段が設けられていて、テストプリントを行う旨の指示が
与えられると、プリンタの制御部は、マクロカートリッ
ジがプリンタに装填されているか否かの判断を行い、装
填されていない場合には、メモリ内に格納されたテスト
プリントデータを読み出し、装填されている場合には、
ホストコンピュータからの実行命令を受けることなく、
マクロカートリッジ内のマクロデータを読み出し、デコ
ード、編集して同様に印刷用イメージデータを作成して
印刷を行う。
As described above in detail, according to the present invention, the printer is provided with an instruction means such as a test print switch, and when an instruction to perform a test print is given, the control section of the printer determines whether the macro cartridge is loaded in the printer, and if it is not loaded, reads the test print data stored in the memory, and if it is loaded,
without receiving execution instructions from the host computer.
The macro data in the macro cartridge is read, decoded, and edited, and print image data is similarly created and printed.

【0035】したがって、ホストコンピュータからの実
行命令を受けることなくテストプリントを行うことがで
きるので、操作性が向上するだけでなく制御手順が簡素
化される。また、ホストコンピュータとの接続をする必
要がないためプリンタ前面だけで操作ができるようにな
る。また、プリンタ単体で多種類の印字が可能となるた
め、マクロカートリッジ内に様々なマクロデータを格納
することによってプリンタ又はマクロカートリッジを販
売する際のデモンストレーションに利用することができ
る。
[0035] Therefore, test printing can be performed without receiving an execution command from the host computer, which not only improves operability but also simplifies the control procedure. In addition, since there is no need to connect to a host computer, operations can be performed only from the front of the printer. Further, since the printer alone can perform various types of printing, storing various macro data in the macro cartridge can be used for demonstrations when selling the printer or the macro cartridge.

【0036】さらに、様々なテストデータをマクロデー
タとしてマクロカートリッジ内に格納することによって
、プリンタの印字品位を向上させることができる。
Furthermore, by storing various test data as macro data in the macro cartridge, the printing quality of the printer can be improved.

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

【図1】本発明の実施例を示すマクロデータのテストプ
リント方法のフローチャートである。
FIG. 1 is a flowchart of a macro data test printing method showing an embodiment of the present invention.

【図2】本発明のマクロデータのテストプリント方法が
採用されるプリンタの概略図である。
FIG. 2 is a schematic diagram of a printer that employs the macro data test printing method of the present invention.

【図3】通常時のマクロ登録機能図である。FIG. 3 is a functional diagram of macro registration during normal operation.

【図4】通常時のマクロ実行機能図である。FIG. 4 is a diagram of macro execution functions during normal operation.

【図5】バンドバッファ方式のラスタバッファの概念図
である。
FIG. 5 is a conceptual diagram of a band buffer type raster buffer.

【符号の説明】[Explanation of symbols]

1      プリンタ 3      制御部 4      印刷部 9      メモリ 36    ホストコンピュータ 37    マクロカートリッジ 38    テストプリントスイッチ 1 Printer 3 Control section 4 Printing Department 9 Memory 36 Host computer 37 Macro cartridge 38 Test print switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  (a)プリンタに設けられた指示手段
からテストプリントを行う旨の指示を受けた時に、プリ
ンタの制御部においてマクロカートリッジがプリンタに
装填されているか否かの判断を行い、(b)マクロカー
トリッジが装填されていない場合には、メモリ内に格納
されたテストプリントデータを読み出し、(c)マクロ
カートリッジが装填されている場合には、ホストコンピ
ュータからの実行命令を受けることなく、マクロカート
リッジ内のマクロデータを読み出し、(d)上記メモリ
から読み出したテストプリントデータ、及びマクロカー
トリッジから読み出したマクロデータのいずれかをデコ
ード、編集して印刷を行うことを特徴とするマクロデー
タのテストプリント方法。
Claim 1: (a) When receiving an instruction to perform a test print from an instruction means provided in the printer, a controller of the printer determines whether or not a macro cartridge is loaded in the printer; b) If the macro cartridge is not loaded, read the test print data stored in the memory; (c) If the macro cartridge is loaded, without receiving an execution command from the host computer; A macro data test characterized by reading the macro data in the macro cartridge, and (d) decoding and editing either the test print data read from the memory or the macro data read from the macro cartridge and printing. Printing method.
JP3079770A 1991-04-12 1991-04-12 Test printing of macro-data Pending JPH04312877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3079770A JPH04312877A (en) 1991-04-12 1991-04-12 Test printing of macro-data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3079770A JPH04312877A (en) 1991-04-12 1991-04-12 Test printing of macro-data

Publications (1)

Publication Number Publication Date
JPH04312877A true JPH04312877A (en) 1992-11-04

Family

ID=13699445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3079770A Pending JPH04312877A (en) 1991-04-12 1991-04-12 Test printing of macro-data

Country Status (1)

Country Link
JP (1) JPH04312877A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5961232A (en) * 1996-12-06 1999-10-05 King Jim Co., Ltd. Character information processor switchable between ordinary and demonstration states

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5961232A (en) * 1996-12-06 1999-10-05 King Jim Co., Ltd. Character information processor switchable between ordinary and demonstration states

Similar Documents

Publication Publication Date Title
US8497999B2 (en) Information processing apparatus and method for displaying a preview image
US6760118B1 (en) Printing device control apparatus and method
JP2000025276A (en) Printing control method and apparatus
JP3639685B2 (en) Printing apparatus and printing control method
US5297876A (en) Page printer with internal and external memories
JPH04312877A (en) Test printing of macro-data
JPH1170717A (en) Print control apparatus and method
JP3466803B2 (en) Laser beam printer, print control method and apparatus
JP2660087B2 (en) Electrophotographic printer
JPH10309841A (en) Print control apparatus and method
JPH11174903A (en) Magnetic printing equipment
JP2026003805A (en) Image forming device
JP4324112B2 (en) Image output apparatus and control method thereof
JPS63191173A (en) Image eraser for copying machine
JP2744463B2 (en) Printing equipment
JP2746768B2 (en) Electrophotographic printer
JPH01114933A (en) Printer
JPH0611550B2 (en) Font pattern processor
JP3281465B2 (en) PRINTING APPARATUS, ITS CONTROL METHOD, AND ITS STATUS DISPLAY METHOD
JP2002236623A (en) Information processing system and information processing method
JP2000147975A (en) PRINTING APPARATUS AND CONTROL METHOD OF PRINTING APPARATUS
JPH1175052A (en) Image processing apparatus and image processing method
JPH08244289A (en) Printer system, information processing apparatus, printer, and control method thereof
JPH04148947A (en) Electrophotographic printer
JPH11348390A (en) Printing apparatus, failure processing method, and storage medium

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990302