JPH07164686A - Printer - Google Patents

Printer

Info

Publication number
JPH07164686A
JPH07164686A JP5316979A JP31697993A JPH07164686A JP H07164686 A JPH07164686 A JP H07164686A JP 5316979 A JP5316979 A JP 5316979A JP 31697993 A JP31697993 A JP 31697993A JP H07164686 A JPH07164686 A JP H07164686A
Authority
JP
Japan
Prior art keywords
language
setting
printer
print
command
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
JP5316979A
Other languages
Japanese (ja)
Other versions
JP3471870B2 (en
Inventor
Shigeki Hirooka
茂樹 弘岡
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 JP31697993A priority Critical patent/JP3471870B2/en
Publication of JPH07164686A publication Critical patent/JPH07164686A/en
Application granted granted Critical
Publication of JP3471870B2 publication Critical patent/JP3471870B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To effectively print by so selecting which of a host language and a printer language is preferentially set. CONSTITUTION:Data supplied from a host computer 201 is analyzed by a CPU 204. When it is, for example, a host command and a print environment set command, whether or not setting of a relative item by a printer language exists is judged. If it exists, a difference of the both is checked, further whether or not the host language is preferential is checked, and the environment is set by the host language except when the relative item is set, there is the difference and the host language is not preferential.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、印刷方法および装置に
関し、とくにプリンタ(制御)言語に依存せず、あるい
はプリンタ言語にまたがってプリンタ各機能の設定値の
設定を行なうことのできる、プリンタ言語の上位概念に
当たる制御言語(上位言語)を搭載し、かつ一つ以上の
プリンタ言語を有する印刷装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing method and apparatus, and more particularly to a printer language which can set the setting values of each printer function independently of the printer (control) language or across the printer language. The present invention relates to a printing apparatus that has a control language (upper language) that is a superordinate concept of the above and that has one or more printer languages.

【0002】[0002]

【従来の技術】従来この種の印刷装置では、印刷環境を
決めるためにプリンタ言語ごとに独自に制御コマンド群
を用意し、ホストコンピュータ(以下、ホストと略す)
が印字データと共にこの制御コマンドを送信すること
で、ホストから印刷装置に対して種々の動作の指示がな
されていた。具体的な制御コマンドとしては、例えば、
同一ページを複数枚印刷させるコピー枚数指定コマンド
や、文字の書体やサイズを選ぶフォント選択コマンド、
印刷画像の拡大・縮小を指定して、A3紙の画像データ
をA4紙に印刷するような指示をする拡大・縮小コマン
ドなど様々なコマンドがプリンタ制御言語ごとに定義さ
れている。そして、印刷装置はホストコンピュータから
のデータを受信すると、データ解析を行ない印字データ
と制御コマンドの区別を行ない、制御コマンドの場合は
その種類やパラメータを解析して所定の動作あるいは印
刷環境の設定を実行する。
2. Description of the Related Art Conventionally, in this type of printing apparatus, a host computer (hereinafter abbreviated as a host) is provided with a control command group for each printer language to determine the printing environment.
By sending this control command together with the print data, the host has instructed the printer to perform various operations. As a specific control command, for example,
A command to specify the number of copies to print multiple copies of the same page, a font selection command to select the font and size of characters,
Various commands such as an enlargement / reduction command for designating enlargement / reduction of a print image and instructing to print image data of A3 paper on A4 paper are defined for each printer control language. When the printer receives the data from the host computer, it analyzes the data and distinguishes between the print data and the control command. In the case of the control command, the type and parameters are analyzed to set the predetermined operation or print environment. Run.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな印刷装置において、ホストは通常制御コマンドと印
刷データを混在させて1つのデータファイルとして保存
し、必要に応じて印刷装置に送信している。このような
データは、ユーザが直接制御コマンドを入れながら作成
する場合もあれば、ワープロソフトや表計算ソフトのよ
うないわゆるアプリケーションソフトウェア(以下、ア
プリケーションと略す)上で自動的に制御コマンドが挿
入されて作られる場合もある。このため、使用するアプ
リケーションがその機能をサポートしていない場合、プ
リンタが利用したい機能を有していても、そのアプリケ
ーションからはその機能を利用できないという問題点が
あった。また、印刷装置が上位言語を備えており、上位
言語によって前述の機能をサポート可能な場合もある
が、その場合も上位言語による制御コマンドをユーザが
直接データ内に入れる場合と、アプリケーションにより
データ中に上位言語による制御コマンドが挿入される場
合がある。ところが、プリンタ言語と上位言語に同じ機
能についての設定を行なう項目があり、しかもそれらが
食い違っていた場合、一方の設定が優先的に設定され、
他方の設定は無効となってしまう。例えば、プリンタ言
語よりも上位言語の方が優先であれば、上位言語に対応
していないアプリケーションからは上位言語が設定した
印刷環境は変更できなかった。逆に、上位言語よりもプ
リンタ言語の方が優先であれば、既に作成したデータに
おいて印刷環境を変更したい場合、既に制御コマンドが
データに埋め込まれているため、ユーザが直接制御コマ
ンドを挿入する場合は、再度データの中をチェックして
不都合な制御コマンドをすべて修正する必要があり、ア
プリケーションにより設定された場合はアプリケーショ
ンを再実行して指示を与え直す必要があった。
However, in such a printing apparatus, the host mixes the normal control command and the print data as one data file and saves it as one data file, and sends it to the printing apparatus as needed. Such data may be created by the user directly by inputting the control command, or the control command is automatically inserted in so-called application software (hereinafter referred to as application) such as word processing software or spreadsheet software. Sometimes it is made by. Therefore, if the application to be used does not support the function, even if the printer has the function to be used, the application cannot use the function. In some cases, the printing device has a higher-level language and it is possible to support the above-mentioned functions depending on the higher-level language. A control command in a higher-level language may be inserted in. However, if there is an item for setting the same function in the printer language and the upper language, and if they are inconsistent, one of the settings is set preferentially,
The other setting is invalid. For example, if the upper language has priority over the printer language, the printing environment set by the upper language cannot be changed by an application that does not support the upper language. On the other hand, if the printer language has priority over the upper level language and you want to change the printing environment in the already created data, and the control command is already embedded in the data, the user inserts the control command directly. Had to check the data again to correct any inconvenient control commands, and if it was set by the application, the application had to be re-executed and the instruction given again.

【0004】また、上位言語により設定される印刷環境
の設定は直後のプリントジョブのみ、あるいは新たな設
定値が設定されるまで有効であった。このため、直後の
プリントジョブのみに有効な場合は、例え同じ設定項目
を同じ値に設定する場合にでも、毎回上位言語による設
定コマンドを送る必要があり、新たな設定値が設定され
るまで有効な場合には、既に設定された値を初期化する
かあるいはすべての設定項目を毎回設定しないと、前の
プリントジョブの設定を自動的に引き継いでしまい必ず
しも希望の印刷環境にはならなかった。
The setting of the printing environment set by the upper language is effective only for the print job immediately after, or until a new setting value is set. Therefore, if it is effective only for the print job immediately after, even if setting the same setting item to the same value, it is necessary to send the setting command in the upper language every time, and it is effective until a new setting value is set. In such a case, unless the values already set are initialized or all the setting items are not set every time, the setting of the previous print job is automatically taken over, and the desired print environment is not necessarily obtained.

【0005】そこで本発明の目的は以上のような問題を
解消した印刷装置を提供することにある。
Therefore, an object of the present invention is to provide a printing apparatus that solves the above problems.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
本発明は少なくとも1つのプリンタ言語と該プリンタ言
語に依存せず、あるいは当該プリンタ言語にまたがって
プリンタ各機能の設定値の設定を行なうことのできる、
当該プリンタ言語の上位に位置付けられる上位言語とを
搭載した印刷装置において、プリントジョブの中で、前
記プリント言語の設定項目の設定値が、上位言語の設定
項目の設定値と整合しないときに優先順位を設定する設
定手段を具えたことを特徴とする。
In order to achieve the above object, the present invention sets at least one printer language and the setting value of each printer function independently of the printer language or across the printer language. Capable of
In a printing apparatus equipped with a higher-level language positioned higher than the printer language, when the setting value of the print language setting item does not match the setting value of the higher-level language setting item in the print job, the priority order is set. It is characterized by comprising setting means for setting.

【0007】さらに本発明においては、好ましくは前記
上位言語およびプリンタ言語の少なくとも1つの有効範
囲を設定する手段を有することを特徴とする。
Further, the present invention is characterized by preferably having means for setting at least one effective range of the upper language and the printer language.

【0008】さらに本発明においては、好ましくはプリ
ントジョブが前記有効範囲設定手段の設定した設定値を
外れると元の設定状態に復帰する手段を有することを特
徴とする。
Further, the present invention is preferably characterized by further comprising means for returning to the original setting state when the print job deviates from the set value set by the effective range setting means.

【0009】[0009]

【実施例】本実施例では、印刷装置としてレーザービー
ムプリンタを例にとり説明する。
EXAMPLE In this example, a laser beam printer will be described as an example of a printing apparatus.

【0010】本実施例の構成を説明する前に、本実施例
を適用するレーザービームプリンタの構成を図1を参照
して説明する。
Before describing the configuration of this embodiment, the configuration of a laser beam printer to which this embodiment is applied will be described with reference to FIG.

【0011】図1は、本実施例に適用されるレーザービ
ームプリンタ(以下、LBPと略す)の内部構造を示す
断面図で、LBPは不図示のデータ源から文字パターン
の登録や定型書式(フォームデータ)などの登録が行え
る。同図において、1000はLBP本体であり、外部
に製造されているホストコンピュータ(図2の201)
から供給される文字情報(文字コード)やフォーム情報
あるいはマクロ命令などを入力して記憶するとともに、
それらの情報に従って対応する文字パターンやフォーム
パターンなどを作成し、記録媒体である記録紙上に像を
形成する。1012は操作のためのスイッチおよびLE
D表示器などが配されている操作パネル、1001はL
BP1000全体の制御およびホストコンピュータから
供給される文字情報などを解析するプリンタ制御ユニッ
トである。この制御ユニット1001は、主に文字情報
を対応する文字パターンのビデオ信号に変換してレーザ
ドライバ1002に出力する。レーザドライバ1002
は半導体レーザ1003を駆動するための回路であり、
入力されたビデオ信号に応じて半導体レーザ1003か
ら発射されるレーザ光1004をオンオフ切り替えす
る。レーザ1004は回転多面鏡1005で左右方向に
振られ静電ドラム1006上を走査する。これにより、
静電ドラム1006上には文字パターンの静電潜像が形
成される。この潜像は、静電ドラム1006周囲の現像
ユニット1007により現像された後、記録紙に転送さ
れる。この記録紙にはカットシートを用い、カットシー
ト記録紙はLBP1000に装着した用紙カセット10
08に収納され、給紙ローラ1009および搬送ローラ
1010と1011とにより装置内に取り込まれて、静
電ドラム1006に供給される。
FIG. 1 is a cross-sectional view showing the internal structure of a laser beam printer (hereinafter abbreviated as LBP) applied to this embodiment. The LBP is for registering a character pattern from a data source (not shown) and a fixed form (form). Data) etc. can be registered. In the figure, reference numeral 1000 denotes the LBP main body, which is an externally manufactured host computer (201 in FIG. 2).
Input and store the character information (character code) and form information or macro commands supplied from
A corresponding character pattern, form pattern, or the like is created according to the information, and an image is formed on a recording paper, which is a recording medium. 1012 is a switch for operation and LE
An operation panel on which a D display and the like are arranged, 1001 is L
A printer control unit for controlling the entire BP1000 and analyzing character information supplied from a host computer. The control unit 1001 mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to the laser driver 1002. Laser driver 1002
Is a circuit for driving the semiconductor laser 1003,
The laser beam 1004 emitted from the semiconductor laser 1003 is switched on and off according to the input video signal. The laser 1004 is swung in the left-right direction by the rotating polygon mirror 1005 to scan the electrostatic drum 1006. This allows
An electrostatic latent image having a character pattern is formed on the electrostatic drum 1006. The latent image is developed by the developing unit 1007 around the electrostatic drum 1006 and then transferred to the recording paper. A cut sheet is used as the recording paper, and the cut sheet recording paper is the paper cassette 10 mounted on the LBP1000.
No. 08 is accommodated in the apparatus and is taken into the apparatus by the sheet feeding roller 1009 and the conveying rollers 1010 and 1011 and supplied to the electrostatic drum 1006.

【0012】図2は、図1に示したLBP1000の構
成(ホストコンピュータを除く)を説明するブロック図
である。
FIG. 2 is a block diagram illustrating the configuration of the LBP 1000 shown in FIG. 1 (excluding the host computer).

【0013】図において、201はホストコンピュータ
で、画像情報の発生源として文字コード、外字フォント
あるいはフォーム情報またはマクロ登録情報などからな
る情報211をLBP1000に入力し、ページ単位で
文書情報などを印刷するように制御している。203は
前記ホストコンピュータ201からの情報211を入力
インタフェース部202を介して入力し、一時記憶する
受信バッファである。209は文字パターン発生器で、
文字コードに対応するパターン情報を記憶しているRO
Mと、その読み出しを制御する制御回路などを含み、文
字コードを入力すると、そのコードに対応する文字パタ
ーンのアドレスを算出するコードコンバート機能も有し
ている。204はLBPの制御系全体を制御するための
CPUであって、制御プログラムを格納したROMと作
業領域を有するRAMとを含み、内蔵ROMに記憶され
た図3,図4に示す如き制御プログラムを含む当該CP
Uの制御プログラムにより装置全体の制御を行なってい
る。制御プログラムには上位言語解析部と1つ以上のプ
リンタ言語解析部が含まれる。205は文字パターンに
展開されたパターン情報を、印刷イメージに対応して1
ページ分記憶しているページバッファ、206はページ
バッファ203からの各ページのパターン情報を記憶し
ているフレームバッファである。207は出力インタフ
ェース部で、フレームバッファ206よりのパターン情
報に対応したビデオ信号を発生し、印字機構部208と
の間でインタフェース制御を実行している。印字機構部
208は、出力インタフェース部207よりのビデオ信
号を入力し、このビデオ信号に基づいた画像情報を印刷
する。
In FIG. 1, reference numeral 201 denotes a host computer, which inputs information 211 consisting of character codes, external character fonts, form information, macro registration information, etc. as a source of image information into the LBP 1000, and prints document information etc. page by page. Are controlled. A reception buffer 203 receives the information 211 from the host computer 201 via the input interface unit 202 and temporarily stores it. 209 is a character pattern generator,
RO storing pattern information corresponding to character code
It also includes M and a control circuit for controlling the reading thereof, and has a code conversion function of calculating the address of the character pattern corresponding to the code when the character code is input. Reference numeral 204 denotes a CPU for controlling the entire LBP control system, which includes a ROM storing a control program and a RAM having a work area, and stores a control program as shown in FIGS. 3 and 4 stored in a built-in ROM. Including CP
The U control program controls the entire apparatus. The control program includes a higher-level language analysis unit and one or more printer language analysis units. Reference numeral 205 denotes the pattern information expanded into a character pattern, which is set to 1 in correspondence with the print image.
A page buffer stores pages, and a frame buffer 206 stores pattern information of each page from the page buffer 203. An output interface unit 207 generates a video signal corresponding to the pattern information from the frame buffer 206 and executes interface control with the printing mechanism unit 208. The printing mechanism unit 208 inputs the video signal from the output interface unit 207 and prints the image information based on this video signal.

【0014】図3は本実施例におけるメインデータ処理
手順の一例を示すフローチャートである。なお、S1〜
S3は各ステップを示す。
FIG. 3 is a flow chart showing an example of the main data processing procedure in this embodiment. In addition, S1
S3 indicates each step.

【0015】まず、ホストコンピュータから印刷データ
が入力され、受信処理を実行し、(S1)、受信したデ
ータの解析ルーチンを実行する(S2)。次いで、展開
・出力処理を実行し(S3)、その後受信処理に戻る。
First, print data is input from the host computer, reception processing is executed (S1), and an analysis routine of the received data is executed (S2). Next, the expansion / output process is executed (S3), and then the process returns to the reception process.

【0016】図4は本実施例に係る第1の印刷方法にお
ける前記データ解析ルーチンの詳細手順の一例を示すフ
ローチャートである。なお、S11〜S23は各ステッ
プを示す。
FIG. 4 is a flow chart showing an example of a detailed procedure of the data analysis routine in the first printing method according to the present embodiment. Note that S11 to S23 indicate each step.

【0017】まず、上位言語のコマンドであるか否かを
コマンドテーブルによって判断し(S11)、上位言語
のコマンドであれば、さらにそれが印刷環境設定のコマ
ンドであるか否かをコマンドテーブルによって判断し
(S12)、その結果がYESならば、その設定値に関
連のあるプリンタ言語の設定を同一ジョブ内で前もって
行なっているかを、あらかじめ関連する項目について持
っているフラグによって判断する(S13)。S12の
結果がNOならば、上位言語によるその他の処理(例え
ば、プリンタの状態や設定値をホストに返す)を行ない
(S17)、解析処理を終了する。(S13)の結果が
YESならば両者の設定が食い違っているかどうかを対
象設定項目の設定値を参照して判断し(S14)、NO
ならば上位言語による環境設定を行ない(S16)、あ
らかじめ関連する項目について持っているフラグをオン
にして、処理を終了する。S14の結果がYES(食い
違いあり)ならば上位言語優先になっているかどうかを
設定値を参照して判断し(S15)、NO(食い違いな
し)ならば上位言語による環境設定を行ない(S1
6)、あらかじめ関連する項目について持っているフラ
グをオンにして、処理を終了する。S15の結果がYE
Sならば上位言語による環境設定を行ない(S16)、
あらかじめ関連する項目について持っているフラグをオ
ンにして、処理を終了し、NOならば何も行なわずに処
理を終了する。(S11)の結果がNOであれば、それ
が印刷環境設定のコマンドであるか否かをコマンドテー
ブルによって判断し(S18)、その結果がYESなら
ば、その設定値に関連のある上位言語の設定を同一ジョ
ブ内で前もって行なっているかをあらかじめ関連する項
目について持っているフラグによって判断する(S1
9)。S18の結果がNOならば、プリンタ言語による
その他の処理(例えば、印刷データ解析処理)を行ない
(S23)、解析処理を終了する。S19の結果がYE
Sならば両者の設定が食い違っているかどうかを対象項
目の設定値を参照して判断し(S20)、NOならばプ
リンタ言語による環境設定を行ない(S22)、あらか
じめ関連する項目について持っているフラグをオンにし
て、処理を終了する。(S20)の結果がYES(食い
違いあり)ならばプリンタ言語優先になっているかどう
かを設定値を参照して判断し(S21)、NOならば
(食い違いなし)ならばプリンタ言語による環境設定を
行ない(S22)、あらかじめ関連する項目について持
っているフラグをオンにして、処理を終了する。(S2
1)の結果がYESならばプリンタ言語による環境設定
を行ない(S22)、あらかじめ関連する項目について
持っているフラグをオンにして、処理を終了し、NOな
らば何も行なわずに処理を終了する。
First, a command table is used to determine whether or not the command is in a higher-level language (S11). If it is a command in a higher-level language, it is further determined by a command table whether or not it is a command for setting the printing environment. If the result is YES (S12), it is determined whether a printer language setting related to the setting value is set in advance in the same job by a flag that has a related item in advance (S13). If the result of S12 is NO, other processing in the upper language (for example, returning the printer status and setting values to the host) is performed (S17), and the analysis processing ends. If the result of (S13) is YES, it is determined whether or not the two settings are inconsistent with reference to the setting value of the target setting item (S14), and NO
If so, the environment is set in a higher-level language (S16), the flag that is previously set for the related item is turned on, and the process ends. If the result of S14 is YES (mismatch), it is determined whether or not priority is given to the upper language by referring to the set value (S15), and if NO (no disagreement), environment setting is performed in the upper language (S1).
6) Turn on a flag that is associated with a related item in advance and end the process. The result of S15 is YE
If it is S, the environment is set in the upper language (S16),
The flag that is already held for the related item is turned on, and the process is ended. If NO, the process is ended without doing anything. If the result of (S11) is NO, whether or not it is a command for setting the printing environment is determined by the command table (S18), and if the result is YES, the language of the upper language related to the setting value Whether or not the setting is made in advance in the same job is judged by a flag which has a related item in advance (S1).
9). If the result of S18 is NO, other processing in the printer language (for example, print data analysis processing) is performed (S23), and the analysis processing ends. The result of S19 is YE
If it is S, it is judged whether or not the two settings are different by referring to the setting value of the target item (S20), and if it is NO, the environment is set by the printer language (S22), and the flag that is related to the related item is set in advance. Is turned on, and the process ends. If the result of (S20) is YES (mismatch), it is judged whether the printer language is prioritized or not by referring to the set value (S21), and if NO (no disagreement), the environment setting is made in the printer language. (S22) Then, the flag that has the related item in advance is turned on, and the process ends. (S2
If the result of 1) is YES, the environment is set according to the printer language (S22), the flag that has the related item in advance is turned on, and the process is ended. If the result is NO, the process is ended without doing anything. .

【0018】ここで、上位言語とプリンタ言語のいずれ
が有効であるかの設定は、コマンドによってあるいはパ
ネル1012からあらかじめ設定しておくものとする。
Here, it is assumed that which of the upper language and the printer language is valid is set in advance by a command or from the panel 1012.

【0019】以上の処理により、同一プリントジョブ内
に同じ、あるいは設定値によって矛盾が生じるような項
目が、上位言語とプリンタ言語の双方で設定されてお
り、それらに食い違いが生じた場合でも、利用者が真に
有効としたい方の設定を有効とすることができる。
By the above processing, the same print job or the item that causes a contradiction depending on the set value is set in both the upper language and the printer language, and even if there is a discrepancy between them, it can be used. A person who wants to truly enable the setting can be enabled.

【0020】次に、第2の印刷手順の具体例を図5の
(a)〜(d)を用いて示す。
Next, a specific example of the second printing procedure will be described with reference to FIGS.

【0021】図5の(a)〜(d)は、上位言語により
上位言語またはプリンタ言語の設定の有効範囲を定めた
例を図示したものである。
FIGS. 5A to 5D show an example in which the effective range of the setting of the upper language or the printer language is defined by the upper language.

【0022】図5の(a)のように、プリントジョブは
プリンタ言語による印刷環境設定コマンドと印刷データ
の混合物である(ただし、必ずしも図のように印刷環境
設定コマンドの領域と印刷データの領域がきちんと2つ
に分かれているとは限らず、交互に入っていることもあ
る)。ここで、図5の(b)は上位言語による範囲設定
コマンドによって設定された、上位言語およびプリント
言語の印刷環境の有効範囲が、共に次の1プリントジョ
ブである場合の例を図示したものである。この場合、図
のように、上位言語およびプリンタ言語により設定され
た印刷環境の有効範囲が、共に次の1プリントジョブで
あるプリントジョブAのみであり、プリントジョブB以
降は元の印刷環境で印刷を行なうこととなる。また、図
5の(c)は上位言語による範囲設定コマンドによって
設定された印刷環境の有効範囲が、上位言語は上位言語
の同一項目の設定変更があるまでで、プリンタ言語は次
の1プリントジョブのみの場合の例を図示したものであ
る。この場合、プリンタ言語により設定された印刷環境
の有効範囲が、次の1プリントジョブであるプリントジ
ョブAのみであり、上位言語により設定された印刷環境
の有効範囲は上位言語の同一項目の設定変更があるまで
である。同様に、図5の(d)は上位言語による範囲設
定コマンドによって設定された印刷環境の有効範囲が、
上位言語の設定は次の1プリントジョブのみで、プリン
タ言語の設定はプリンタ言語の同一項目の設定変更があ
るまでの場合を図示したものである。
As shown in FIG. 5A, the print job is a mixture of a print environment setting command and print data in the printer language (however, as shown in the figure, the area of the print environment setting command and the area of the print data are not necessarily the same. It is not always properly divided into two, and sometimes they are in alternate. Here, FIG. 5B illustrates an example in which the effective range of the printing environment of the upper language and the print language set by the range setting command in the upper language is the following one print job. is there. In this case, as shown in the figure, the effective range of the print environment set by the upper language and the printer language is only the print job A, which is the next one print job, and the print jobs B and thereafter are printed in the original print environment. Will be performed. Further, FIG. 5C shows that the effective range of the printing environment set by the range setting command in the upper language is the upper language until the setting change of the same item in the upper language, and the printer language is the next one print job. FIG. 6 is a diagram illustrating an example of the case only. In this case, the effective range of the print environment set by the printer language is only print job A, which is the next one print job, and the effective range of the print environment set by the upper language is the setting change of the same item in the upper language. Until there is. Similarly, in FIG. 5D, the effective range of the printing environment set by the range setting command in the upper language is
The setting of the upper language is only for the next one print job, and the setting of the printer language is shown until the setting change of the same item of the printer language.

【0023】上記例において、設定された印刷環境の有
効範囲が1プリントジョブのみとするためには、範囲設
定がコマンドによってあるいはパネル1012から行な
われた時点で、一度すべて印刷環境を例えばCPU20
4内の記憶装置(RAM)の特定の領域に、または記憶
装置の特定の名称で複写しておき、1プリントジョブの
み設定を有効とするためのフラグをオンにしておく。そ
して、プリントジョブが終了する毎にそのフラグを参照
して、フラグがオンであれば記憶装置からすべての印刷
環境を複写して、印刷環境を復元し、フラグをオフにす
る。次に設定された印刷環境の有効範囲が同一項目の設
定変更があるまでの場合の実現法としては、範囲設定が
コマンドによってあるいはパネルから行なわれた時点
で、設定された印刷環境の有効範囲が同一項目の設定変
更があるまでであるというフラグをオンにし、範囲設定
がコマンドによってあるいはパネルから行なわれた時点
からその範囲が変更されるまで、印刷環境を設定するコ
マンド以外による印刷環境の変更を無効とする。
In the above example, in order to set the effective range of the set printing environment to only one print job, once the range setting is performed by a command or from the panel 1012, the entire printing environment is once set to, for example, the CPU 20.
4 is copied to a specific area of the storage device (RAM) or with a specific name of the storage device, and a flag for validating the setting of only one print job is turned on. Then, each time the print job is completed, the flag is referenced, and if the flag is on, all the printing environments are copied from the storage device, the printing environment is restored, and the flag is turned off. As a method of realizing when the effective range of the next set print environment is changed until the setting of the same item is changed, the effective range of the set print environment is set when the range is set by a command or from the panel. Turn on the flag until the setting change for the same item, and change the print environment by commands other than the command to set the print environment until the range is changed by a command or from the time when the range is set from the panel. Invalidate.

【0024】このように、印刷環境設定コマンドの有効
範囲を次の1プリントジョブのみとし、あるいは設定す
ることによって、1プリントジョブのための設定が他の
プリントジョブに影響を及ぼすことを避けることがで
き、また、毎回設定しなくても希望した範囲のプリント
ジョブまでを希望する印刷環境で印刷できる。
As described above, the effective range of the print environment setting command is limited to the next one print job, or by setting it, the setting for one print job can be prevented from affecting other print jobs. In addition, it is possible to print up to a print job in a desired range in a desired printing environment without setting each time.

【0025】<他の実施例>その他の実施例としては以
下のようなものがある。
<Other Embodiments> Other embodiments are as follows.

【0026】前記第1の印刷手順において、各プリンタ
言語の設定項目の設定値が、関連の強い上位言語の設定
項目の設定値と異なる。あるいはつじつまが合わない場
合の優先順位を先の例では上位言語あるいはプリンタ言
語という指定法によって指定していた。それ以外に第2
の印刷手順と同様に、あらかじる関連の強い項目が存在
する項目についてはプリントジョブが終了する毎にリセ
ットされる(オフにされる)フラグを持っておき、その
項目を設定する前に常にフラグを参照し、フラグがオン
であればその項目の設定を無効とし設定を行なわない機
構を用意し、上位言語あるいはプリンタ言語のいずれか
の設定項目が設定された時点で、先のフラグをオンにし
て、そのプリントジョブ内で先に設定されたものを優先
とする印刷方法、または、それと先の実施例で挙げた上
位言語の設定優先、プリンタ言語の設定優先の印刷方法
をホストからのコマンドあるいはパネルから選択する。
In the first printing procedure, the setting value of the setting item of each printer language is different from the setting value of the setting item of the higher-ranking language that is strongly related. Alternatively, in the above example, the priorities in the case where they are not consistent are designated by the designation method of the upper language or the printer language. Other than that, the second
Similar to the printing procedure of, for items that have strongly related items, have a flag that is reset (turned off) each time the print job ends, and always set a flag before setting that item. If the flag is on, prepare a mechanism that invalidates the setting of that item and does not set it, and when the setting item of either the upper language or the printer language is set, turn on the previous flag. The print method that gives priority to the one that was set earlier in the print job, or the print method that gives priority to the setting of the upper language and the setting of the printer language described in the previous embodiment, using a command from the host or Select from the panel.

【0027】さらに第2,第3の印刷手順において、先
の例では有効範囲が次の1プリントジョブあるいは次に
同一項目の設定変更が行なわれるまでであったが、設定
後のプリントジョブのカウンタを内部に持つことによっ
て、上位言語、プリンタ言語それぞれの印刷環境設定コ
マンドの有効範囲をコマンドあるいはパネルからプリン
トジョブ単位で任意に指定する。
Further, in the second and third printing procedures, in the above example, the effective range is until the next one print job or the next setting change of the same item is performed. By having the above, the effective range of the print environment setting command for each of the upper language and the printer language can be arbitrarily specified on a print job basis from the command or the panel.

【0028】さらに上記のような印刷手順で、これまで
の例で述べたように印刷環境の有効範囲の設定と、各プ
リンタ言語の設定項目の設定値が、関連の強い上位言語
の設定項目の設定値と異なる、あるいはつじつまが合わ
ない場合の優先順位の設定とを共に行う。
Further, in the printing procedure as described above, the setting of the effective range of the printing environment and the setting value of the setting item of each printer language are set to the setting items of the higher-ranking languages which are strongly related to each other, as described in the above examples. The priority order is set together when it is different from the set value or inconsistent.

【0029】[0029]

【発明の効果】以上説明したように、本発明によれば上
位言語とプリンタ言語のいずれかの設定を優先するかを
選択できることによって効率的に印刷することができ、
さらに、その設定の有効範囲、あるいは優先順位と有効
範囲の両方を指定することによって一層効率的に印刷が
行なえる。
As described above, according to the present invention, it is possible to print efficiently because it is possible to select which one of the upper language and the printer language is given priority.
Further, by specifying the effective range of the setting, or both the priority order and the effective range, printing can be performed more efficiently.

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

【図1】本発明の実施例を適用するレーザービームプリ
ンタの構成を説明する断面図である。
FIG. 1 is a sectional view illustrating a configuration of a laser beam printer to which an embodiment of the present invention is applied.

【図2】図1に示した本体の制御構成を説明するブロッ
ク図である。
FIG. 2 is a block diagram illustrating a control configuration of the main body shown in FIG.

【図3】本実施例に係る印刷装置における処理手順の一
例を示すフローチャートである。
FIG. 3 is a flowchart illustrating an example of a processing procedure in the printing apparatus according to the present exemplary embodiment.

【図4】本実施例に係る第1の印刷手順におけるデータ
解析ルーチンの詳細手順の一例を示すフローチャートで
ある。
FIG. 4 is a flowchart showing an example of a detailed procedure of a data analysis routine in a first printing procedure according to the present embodiment.

【図5】同第2の印刷手順の具体例を示す図である。FIG. 5 is a diagram showing a specific example of the second printing procedure.

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

201 ホストコンピュータ 202 入力インタフェース部 203 受信バッファ 204 CPU 205 ページバッファ 206 フレームバッファ 207 出力インタフェース部 208 印字機構部 209 文字パターン発生器 201 host computer 202 input interface unit 203 reception buffer 204 CPU 205 page buffer 206 frame buffer 207 output interface unit 208 printing mechanism unit 209 character pattern generator

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1つのプリンタ言語と該プリ
ンタ言語に依存せず、あるいは当該プリンタ言語にまた
がってプリンタ各機能の設定値の設定を行なうことので
きる、当該プリンタ言語の上位に位置付けられる上位言
語とを搭載した印刷装置において、プリントジョブの中
で、前記プリンタ言語の設定項目の設定値が、上位言語
の設定項目の設定値と整合しないときに優先順位を設定
する設定手段を具えたことを特徴とする印刷装置。
1. A high-level language positioned at a higher level of the printer language, which is capable of setting a setting value of each printer function independently of at least one printer language and across the printer language, or across the printer language. In a printing apparatus equipped with and, in the print job, the setting value of the setting item of the printer language does not match with the setting value of the setting item of the higher-level language. Characteristic printing device.
【請求項2】 請求項1において、さらに前記上位言語
およびプリンタ言語の少なくとも1つの有効範囲を設定
する手段を有することを特徴とする印刷装置。
2. The printing apparatus according to claim 1, further comprising means for setting at least one effective range of the upper language and the printer language.
【請求項3】 請求項2において、プリントジョブが前
記有効範囲設定手段の設定した設定値を外れると元の設
定状態に復帰する手段を有することを特徴とする印刷装
置。
3. The printing apparatus according to claim 2, further comprising means for returning to the original setting state when the print job deviates from the set value set by the effective range setting means.
JP31697993A 1993-12-16 1993-12-16 Printing apparatus and processing method Expired - Fee Related JP3471870B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31697993A JP3471870B2 (en) 1993-12-16 1993-12-16 Printing apparatus and processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31697993A JP3471870B2 (en) 1993-12-16 1993-12-16 Printing apparatus and processing method

Publications (2)

Publication Number Publication Date
JPH07164686A true JPH07164686A (en) 1995-06-27
JP3471870B2 JP3471870B2 (en) 2003-12-02

Family

ID=18083072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31697993A Expired - Fee Related JP3471870B2 (en) 1993-12-16 1993-12-16 Printing apparatus and processing method

Country Status (1)

Country Link
JP (1) JP3471870B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002326429A (en) * 2001-04-27 2002-11-12 Sato Corp Printer
JP2011248686A (en) * 2010-05-27 2011-12-08 Konica Minolta Business Technologies Inc Picture formation apparatus and picture formation system
US8149428B2 (en) 2007-04-02 2012-04-03 Seiko Epson Corporation Print controlling apparatus and information processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002326429A (en) * 2001-04-27 2002-11-12 Sato Corp Printer
US8149428B2 (en) 2007-04-02 2012-04-03 Seiko Epson Corporation Print controlling apparatus and information processing apparatus
JP2011248686A (en) * 2010-05-27 2011-12-08 Konica Minolta Business Technologies Inc Picture formation apparatus and picture formation system

Also Published As

Publication number Publication date
JP3471870B2 (en) 2003-12-02

Similar Documents

Publication Publication Date Title
US8497999B2 (en) Information processing apparatus and method for displaying a preview image
US7233403B2 (en) Print control method and apparatus
US7161711B2 (en) Information processing apparatus and method for creating print data and storage medium
JP4027102B2 (en) Information processing apparatus, information processing method, and control program
US20060061793A1 (en) Information processing apparatus and method
JP4777475B2 (en) Information processing apparatus, control method, and storage medium storing computer-readable program
JP3165268B2 (en) Print information processing method and apparatus
US7145688B2 (en) Storage medium holding program and information processing apparatus and information processing method
US20020051169A1 (en) Print control method and apparatus, and print system
JP2004246570A (en) Information processor
JPH10222319A (en) Printing device and printing control method
US7142327B2 (en) Information processing apparatus and print processing method
JP3471870B2 (en) Printing apparatus and processing method
JP3417305B2 (en) Printer, printer control device and image input / output device
JPH03136095A (en) Image forming device
JPH11191042A (en) Data processor, data processing method therefor, and storage medium stored with computer-readable program
US7027170B1 (en) Printing control system for separation printing
JP2000066851A (en) Image forming system, computer readable recording medium recording a print condition setting program, print job converting device and computer readable recording medium recording print job conversion program
JP2007250002A (en) Information processing apparatus, control method and storage medium with computer readable control program stored therein
JPH08335150A (en) Printing system
JP2000172461A (en) File print control method and program recording medium
JPH10193748A (en) Method and system for processing information and recording medium
JPH07168815A (en) Cover page processing method
JP2001043049A (en) Printer drive, electronic computer, print information setting method, and recording medium
JPH11268367A (en) Printer, printer controller, and computer readable recording medium storing program for altering print position

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070912

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090912

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090912

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100912

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees