JPH0739193B2 - Print control method - Google Patents

Print control method

Info

Publication number
JPH0739193B2
JPH0739193B2 JP59089336A JP8933684A JPH0739193B2 JP H0739193 B2 JPH0739193 B2 JP H0739193B2 JP 59089336 A JP59089336 A JP 59089336A JP 8933684 A JP8933684 A JP 8933684A JP H0739193 B2 JPH0739193 B2 JP H0739193B2
Authority
JP
Japan
Prior art keywords
information
print control
print
printing
control information
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 - Lifetime
Application number
JP59089336A
Other languages
Japanese (ja)
Other versions
JPS60232978A (en
Inventor
吉章 河村
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 JP59089336A priority Critical patent/JPH0739193B2/en
Publication of JPS60232978A publication Critical patent/JPS60232978A/en
Publication of JPH0739193B2 publication Critical patent/JPH0739193B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information

Description

【発明の詳細な説明】 [技術分野] 本発明は、外部装置から入力される文書情報から、印刷
制御情報に基づいて印刷情報を生成して印刷する印刷装
置における印刷制御方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control method in a printing apparatus that generates print information based on print control information from document information input from an external device and prints the print information.

[従来技術] 従来、ホストコンピュータ等の外部装置から入力される
文書情報(例えば、文字コード等のコード情報や改頁コ
ード等の制御命令)から印刷情報(例えば、1頁分のパ
ターンデータ)を生成する場合に使用する印刷制御情報
を変更する場合には、ホストコンピュータ等の外部装置
からの設定コマンドにより変更するか、印刷装置に設け
られたデイップスイッチを再設定する必要があった。
[Prior Art] Conventionally, print information (for example, pattern data for one page) is converted from document information (for example, code information such as a character code or a control command such as a page break code) input from an external device such as a host computer. To change the print control information used for generation, it is necessary to change it by a setting command from an external device such as a host computer or reset the dip switch provided in the printing device.

しかし前者はホストコンピュータ等の外部装置に余分な
処理をさせるものであり、また、後者のデイップスイッ
チは通常印刷装置の全面パネルにあることは少なく、印
刷装置内部または後方に配置されていて簡単には再設定
ができないという問題点があつた。
However, the former requires an external device such as a host computer to perform extra processing, and the latter DIP switch is rarely located on the front panel of the printing device, and is easily located inside or behind the printing device. Had a problem that it could not be reset.

[目的] 本発明は上述した従来技術の問題点に鑑みてなされたも
のであって、その目的とするところは、印刷装置または
着脱自在な外部記憶手段に記憶されている印刷制御情報
に基づいて印刷情報の生成を行なうことにより、印刷情
報の生成が印刷装置の置かれている状態に応じて自在な
印刷制御方法を提供することにある。
[Purpose] The present invention has been made in view of the problems of the above-described conventional technology, and its purpose is to provide print control information stored in a printing apparatus or a detachable external storage unit. It is an object of the present invention to provide a print control method in which the print information is generated, and the print information can be freely generated according to the state of the printing apparatus.

[実施例] 以下、添付図面に従つて本発明に係る一実施例を詳細に
説明する。
[Embodiment] An embodiment according to the present invention will be described in detail below with reference to the accompanying drawings.

第1図は本発明に係る一実施例を実施するための印刷装
置の構成を示すブロツク図である。
FIG. 1 is a block diagram showing the configuration of a printing apparatus for carrying out an embodiment according to the present invention.

図において、1は文書情報(例えば、文字コード等のコ
ード情報や改頁コード等の制御命名)を出力するホスト
コンピュータ、2は本実施例の印刷装置本体、3は印刷
制御情報を記憶するカートリッジである。
In the figure, 1 is a host computer that outputs document information (for example, code information such as character codes and control naming such as page break codes), 2 is the printing apparatus main body of this embodiment, and 3 is a cartridge that stores print control information. Is.

本体2は印刷処理に係る主制御を掌る制御部21と、ホス
トコンピュータ1から入力された文書情報中のコード情
報に対応するパターンデータを発生するパターン変換部
22と、該発生されたパターンデータを用紙上に印刷する
ドツトプリンタ部23を備えている。
The main body 2 includes a control unit 21 that controls the main control of the printing process, and a pattern conversion unit that generates pattern data corresponding to code information in the document information input from the host computer 1.
22 and a dot printer section 23 for printing the generated pattern data on a sheet.

さて、本実施例での特徴は印刷制御情報を本体2に着脱
自在に設けられたカートリツジ3から読み出して使用す
ることにある。
The feature of the present embodiment is that the print control information is read from the cartridge 3 detachably mounted on the main body 2 and used.

第2図はカートリツジ3の外観を示す斜視図である。FIG. 2 is a perspective view showing the appearance of the cartridge 3.

図において、カートリツジ3の側面には複数のディップ
スイッチDS1〜DS6が設けられている。
In the figure, a plurality of dip switches DS1 to DS6 are provided on the side surface of the cartridge 3.

図示の配置はスイツチ操作がし易いことを配慮してなさ
れた一例を示すものであるが、これに限るものではな
い。
The arrangement shown in the figure shows an example made in consideration of easy operation of the switch, but the arrangement is not limited to this.

31は本体2のコネクタ24に対して着脱自在に嵌合し、且
つ各種信号を電気的に接続するところのコネクタであ
る。カートリツジ3がコネクタ24に装填されているとき
は各デイップスイッチS1〜DS6の印刷制御情報がコネク
タ31及び24を介して制御部21に読み取られ、種々の印刷
制御情報を簡単に操作で印刷装置本体2へ与えることが
できる。
Reference numeral 31 denotes a connector which is detachably fitted to the connector 24 of the main body 2 and electrically connects various signals. When the cartridge 3 is loaded in the connector 24, the print control information of each of the dip switches S1 to DS6 is read by the control unit 21 via the connectors 31 and 24, and various print control information can be easily operated by the printer main body. Can be given to 2.

簡単な操作とは、例えば一般に印刷制御情報は印刷業務
に合せて多種類のものとなるから、予め各種の印刷制御
情報を記憶した複数のカートリツジを用意しておいて、
これらを簡単な操作で変換することである。或いは印刷
業務によつては1乃至2の印刷制御情報を変えるだけで
良い場合もあるから、印刷装置に対し操作し易い態様で
装填されたカートリツジのデイップスイッチに対して直
接に印刷制御情報の変更操作を行なうことができる。
With simple operation, for example, in general, there are many types of print control information according to the printing work, so a plurality of cartridges storing various print control information in advance are prepared.
It is to convert these with a simple operation. Alternatively, depending on the printing job, it may be sufficient to change only one or two pieces of print control information. Therefore, the print control information can be changed directly with respect to the dip switch of the cartridge which is loaded in the printer so as to be easily operated. Can perform operations.

これらの場合において、各デイップスイッチに対応した
一例の印刷制御情報を示せば、DS1はプリントの行ピツ
チ、DS2は各行における文字ピツチ、DS3は印刷面の上マ
ージン、DS4は同じく下マージン、DS5は印刷行の左マー
ジン、DS6は右マージンである。
In these cases, if one example of print control information corresponding to each DIP switch is shown, DS1 is a line pitch of print, DS2 is a character pitch in each line, DS3 is an upper margin of the printing surface, DS4 is the same lower margin, and DS5 is The left margin of the print line, DS6 is the right margin.

この他に更にデイップスイッチの数を増やしたり、或は
数を増やさないままで印刷枚数(コピー枚数)を指定し
たアンダラインの太さを指定するものと意味付けること
は自由である。
In addition, the number of DIP switches may be further increased, or it may be freely defined to specify the thickness of an underline that specifies the number of prints (the number of copies) without increasing the number.

例えば、本実施例装置の制御部21をRAM,ROMを含むマイ
クロプロセッサで構成すれば、ホストコンピュータから
各種印刷業務の文書情報が入力される時にデイップスイ
ッチDS1〜DS6が如何なる印刷制御情報であるかを意味付
けることは容易だからである。
For example, if the control unit 21 of the apparatus of this embodiment is configured by a microprocessor including RAM and ROM, what print control information the dip switches DS1 to DS6 are when the document information of various printing jobs is input from the host computer. This is because it is easy to give.

第3図は制御部21でマイクロプロセッサが実行する一実
施例の印刷制御処理を示すフローチャートである。
FIG. 3 is a flow chart showing a print control process of one embodiment executed by the microprocessor in the control unit 21.

図の処理には装置のパワーオン時の初期設定時、或いは
カートリツジ3の着脱状態に変化があつたとき、或いは
ホストコンピュータ1から改頁コード(制御命令)を受
け取つた時点で実行する。ここで、例えばカートリツジ
3の着脱状態の変化はコネクタ24の任意2個のピンがカ
ートリツジ3の装填により短絡されたか否かを判別する
ことで容易に知ることができる。また、文書情報中に改
頁コードが含まれるときはホストコンピュータ1から改
頁コードを入力したと判断される。
The process shown in the figure is executed at the time of initial setting when the apparatus is powered on, when the attachment / detachment state of the cartridge 3 is changed, or when a page feed code (control command) is received from the host computer 1. Here, for example, a change in the attachment / detachment state of the cartridge 3 can be easily known by determining whether or not any two pins of the connector 24 have been short-circuited due to the loading of the cartridge 3. When the page information code is included in the document information, it is determined that the page break code is input from the host computer 1.

さて、ステツプS1ではカートリツジ3がコネクタ24に装
填されているか否かを判別する。カートリツジ3が装填
されていないときは該判別がNOになりステツプS2に進ん
でデフォルトの印刷制御情報を使用するモードに設定す
る。デフォルトの印刷制御情報は基準の印刷制御情報と
して予め制御部21内のROMに格納されている。従つて、
本実施例装置では、カートリツジ3が装填されていない
ときでも所定の印刷制御情報に従つて印刷制御処理を実
行する。
Now, in step S1, it is determined whether or not the cartridge 3 is loaded in the connector 24. When the cartridge 3 is not loaded, the determination is NO and the program proceeds to step S2 to set the mode in which the default print control information is used. The default print control information is stored in the ROM in the control unit 21 in advance as reference print control information. Therefore,
In the apparatus of this embodiment, the print control process is executed according to the predetermined print control information even when the cartridge 3 is not loaded.

処理はステツプS9に進み、ホストコンピュータから送ら
れた文書情報に印刷制御情報に基づいて印刷制御処理を
実行する。制御部21のマイクロプロセッサがプログラム
に基づいて実行する主な機能の一例は、用紙を上マージ
ンの位置までフイードし、文字を左マージンの位置から
印字し、文字間に文字ピツチを挿入し、右マージンの位
置で改行コードを強制的に発生し、行間にピツチを挿入
し、下マージンの位置まで各行を印刷し、下マージンの
位置で改頁コードを強制的に発生するものである。
The process proceeds to step S9, and the print control process is executed on the document information sent from the host computer based on the print control information. One example of the main functions that the microprocessor of the control unit 21 executes based on the program is to feed the paper to the position of the upper margin, print the characters from the position of the left margin, insert the character pitch between the characters, and A line feed code is forcibly generated at the margin position, a pitch is inserted between lines, each line is printed up to the lower margin position, and a page break code is forcibly generated at the lower margin position.

また、ステツプS1の判別でカートリツジ3が装填されて
いることを判別したときは該判別がYESになりステツプS
3に進む。続くステツプS8までの処理はカートリツジ3
から印刷制御情報を読み込む処理である。ステツプS3で
はDS1から行ピツチの値をロードし、ステツプS4ではDS2
から文字ピツチの値をロードし、ステツプS5ではDS3か
ら上マージンの値をロードし、ステツプS6ではDS4から
下マージンの値をロードし、ステツプS7ではDS5から左
マージンの値をロードし、ステツプS8ではDS6から右マ
ージンの値をRAMにロードする。
If it is determined in step S1 that the cartridge 3 is loaded, the determination is YES, and step S
Go to 3. The process up to step S8 is Cartridge 3
This is a process for reading print control information from. Load the row pitch values from DS1 in step S3, DS2 in step S4.
To load the value of the character pitch, step S5 to load the value of the upper margin from DS3, step S6 to load the value of the lower margin from DS4, step S7 to load the value of the left margin from DS5, step S8. Now load the value of the right margin from DS6 into RAM.

処理はステツプS9に進みホストコンピュータから送られ
た文書情報を、ロードした印刷制御情報に基づいて印刷
制御処理する。
The process proceeds to step S9 and print control processing is performed on the document information sent from the host computer based on the loaded print control information.

勿論、上述した印刷制御情報のロードはステツプS9のプ
ログラムの実行と同時に必要の都度カートリツジ3から
直接読み出すようにしてもよい。
Of course, the above-mentioned printing control information may be loaded directly from the cartridge 3 whenever necessary at the same time as the execution of the program in step S9.

ホストコンピュータ1から送られた1ページ分の文書情
報の印刷制御情報が終わるとそこにはホストコンピュー
タ1から送られた改頁コードがある。制御部21はその改
頁コードに基づいて再び第3図の処理を実行する。
When the print control information of the document information for one page sent from the host computer 1 ends, there is a page break code sent from the host computer 1. The control unit 21 executes the processing of FIG. 3 again based on the page feed code.

従つて、本実施例装置の印刷制御情報はホストコンピュ
ータ1から送られた1頁分の文書情報の印刷制御処理が
終わると時点毎に変更可能である。
Therefore, the print control information of the apparatus of this embodiment can be changed at each time point when the print control processing of the document information for one page sent from the host computer 1 is completed.

従つて通常の印刷装置が有するのと同様に、オペレータ
の操作によつ印刷動作の一時停止命令をホストコンピュ
ータ1から送り、印刷動作が停止した改頁の区切りで印
刷制御情報を容易に変更できるから操作性が向上する。
Therefore, as in the case of a normal printing device, the host computer 1 sends a temporary stop command of the printing operation by the operation of the operator, and the printing control information can be easily changed at the page break where the printing operation is stopped. Therefore, the operability is improved.

[効果] 以上述べた如く本発明によれば、印刷装置または着脱自
在な外部記憶手段に記憶されている印刷制御情報に基づ
いて印刷情報の生成を行なうことにより、印刷情報の生
成が印刷装置の置かれている状態に応じて自在に決定で
きる。
[Effect] As described above, according to the present invention, the print information is generated based on the print control information stored in the printing apparatus or the detachable external storage unit. You can decide freely according to the state of being placed.

具体的には、着脱自在な外部記憶手段が印刷装置に接続
されていれば、着脱自在な外部記憶手段に記憶されてい
る印刷制御情報に基づいて、外部装置から入力される文
書情報から印刷情報が生成される。一方、着脱自在な外
部記憶手段が印刷装置に接続されていなければ、印刷装
置内部に予め記憶されている印刷制御情報に基づいて、
外部装置から入力される文書情報から印刷情報が生成さ
れる。
Specifically, if the detachable external storage unit is connected to the printing apparatus, the print information is changed from the document information input from the external device based on the print control information stored in the detachable external storage unit. Is generated. On the other hand, if the detachable external storage unit is not connected to the printing apparatus, based on the print control information stored in advance in the printing apparatus,
The print information is generated from the document information input from the external device.

従つて、印刷装置の置かれている状態に応じて文書情報
から印刷情報を生成することができる。
Therefore, the print information can be generated from the document information according to the state in which the printing device is placed.

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

第1図は本発明に係る一実施例の印刷装置の構成を示す
ブロツク図、 第2図はカートリツジの外観を示す斜視図、 第3図は制御部が実行する一実施例の印刷制御処理を示
すフローチヤート、 ここで、1……ホストコンピュータ、2……印刷装置本
体、3……カートリツジ、21……制御部、22……パター
ン変換部、23……ドツトプリンタ部、DS1〜DS6……デイ
ップスイッチである。
FIG. 1 is a block diagram showing the configuration of a printing apparatus according to an embodiment of the present invention, FIG. 2 is a perspective view showing the outer appearance of a cartridge, and FIG. 3 shows a printing control process of an embodiment executed by a control unit. Flowchart shown here, 1 ... Host computer, 2 ... Printing device main body, 3 ... Cartridge, 21 ... Control unit, 22 ... Pattern conversion unit, 23 ... Dot printer unit, DS1 to DS6 ... Dip It is a switch.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】外部装置から入力される文書情報から印刷
情報を生成して印刷する印刷装置における印刷制御方法
であって、 前記文書情報から印刷情報を生成する場合に使用する印
刷制御情報を記憶する着脱自在な外部記憶手段が前記印
刷装置に接続されているか否かを判断する判断工程と、 前記判断工程で前記外部記憶手段が前記印刷装置に接続
されていると判断された場合は、前記外部記憶手段に記
憶されている印刷制御情報に基づいて、前記外部装置か
ら入力される文書情報から印刷情報を生成し、かつ 前記判断工程で前記外部記憶手段が前記印刷装置に接続
されていないと判断された場合は、前記印刷装置内部に
予め記憶されている印刷制御情報に基づいて、前記外部
装置から入力される文書情報から印刷情報を生成する制
御工程とを有することを特徴とする印刷制御方法。
1. A print control method in a printing apparatus for generating print information from document information input from an external device and printing the print information, wherein the print control information used when generating print information from the document information is stored. A determination step of determining whether or not the detachable external storage means is connected to the printing apparatus, and if the determination step determines that the external storage means is connected to the printing apparatus, If the print information is generated from the document information input from the external device based on the print control information stored in the external storage means, and the external storage means is not connected to the printing device in the determining step. If determined, a control step of generating print information from document information input from the external device based on print control information stored in advance in the printing device. Print control method characterized in that it comprises.
JP59089336A 1984-05-07 1984-05-07 Print control method Expired - Lifetime JPH0739193B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59089336A JPH0739193B2 (en) 1984-05-07 1984-05-07 Print control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59089336A JPH0739193B2 (en) 1984-05-07 1984-05-07 Print control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP5240184A Division JPH07108589B2 (en) 1993-09-27 1993-09-27 output method

Publications (2)

Publication Number Publication Date
JPS60232978A JPS60232978A (en) 1985-11-19
JPH0739193B2 true JPH0739193B2 (en) 1995-05-01

Family

ID=13967842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59089336A Expired - Lifetime JPH0739193B2 (en) 1984-05-07 1984-05-07 Print control method

Country Status (1)

Country Link
JP (1) JPH0739193B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4730947A (en) * 1985-08-19 1988-03-15 Citizen Watch Co., Ltd. Printer having a control circuit section of cassette type
JPH0796319B2 (en) * 1986-06-18 1995-10-18 株式会社リコー Hard copy device
JP2517560B2 (en) * 1986-08-30 1996-07-24 キヤノン株式会社 Print control device
JPS63211415A (en) * 1987-02-27 1988-09-02 Sanyo Electric Co Ltd Power source circuit for electronic equipment
JP2638809B2 (en) * 1987-06-15 1997-08-06 富士ゼロックス株式会社 Recording device
JPH0753458B2 (en) * 1987-06-30 1995-06-07 株式会社テック Label printer
JPS6434770A (en) * 1987-07-30 1989-02-06 Tokyo Electric Co Ltd Printer device
GB2211793A (en) * 1987-12-21 1989-07-12 Seikosha Kk Detachable printing-mode selecting device for a selective printer
JPH01163088A (en) * 1987-12-21 1989-06-27 Seikosha Co Ltd Printer
JPH0210951U (en) * 1988-07-06 1990-01-24
JPH0217359U (en) * 1988-07-18 1990-02-05

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56157524A (en) * 1980-05-09 1981-12-04 Fujitsu Ltd Registering system for format check program
JPS5777572A (en) * 1980-10-31 1982-05-14 Mitsubishi Electric Corp Method of format typing for photocomposing machine

Also Published As

Publication number Publication date
JPS60232978A (en) 1985-11-19

Similar Documents

Publication Publication Date Title
JPH0739193B2 (en) Print control method
EP0446928A2 (en) Label printer
JPS60109892A (en) Electronic typewriter
JPH0354924Y2 (en)
KR19980041951A (en) Character Information Processing Device
EP0568765A1 (en) Peripheral unit control panel with smart key
JPH0753460B2 (en) Print control method
US4639151A (en) Electronic typewriter which prints selected portions of a text
JPS6159920B2 (en)
JP2596075B2 (en) Printer
JPS60232974A (en) Printer
JPH07108589B2 (en) output method
JPH0372473B2 (en)
JP2851973B2 (en) Output method and device
JPS61177255A (en) Image output device
JPH01150568A (en) Printer device
JP2693461B2 (en) Printer
JPS62263081A (en) Printer
JPH03189177A (en) Printing image forming system in printer
JPS592872A (en) Discrimination of printer mounting device
JP2647615B2 (en) Output device
JP3098631B2 (en) Tape printing device and tape printing method
JP3067251B2 (en) Document creation device
JPS6158770A (en) Printing device
JPH03247480A (en) Printer

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term