JPH0624107A - Printer - Google Patents

Printer

Info

Publication number
JPH0624107A
JPH0624107A JP18501192A JP18501192A JPH0624107A JP H0624107 A JPH0624107 A JP H0624107A JP 18501192 A JP18501192 A JP 18501192A JP 18501192 A JP18501192 A JP 18501192A JP H0624107 A JPH0624107 A JP H0624107A
Authority
JP
Japan
Prior art keywords
printing
paper
data
section
print
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
JP18501192A
Other languages
Japanese (ja)
Inventor
Yasusuke Nakajima
庸介 中島
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 JP18501192A priority Critical patent/JPH0624107A/en
Publication of JPH0624107A publication Critical patent/JPH0624107A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To prevent mis-operation of a user by a method wherein a printer for data from an external device detects the size and set status of printing paper, compares them with the safe information in received data to decide whether printing is allowed or not, and warns a printing data generating source when printing is not allowed. CONSTITUTION:When printing control commands regarding character data, printing pages, etc., are input to an input section 11 from a host computer 2, a developing section 12 analyzes the input data and forms bit mapped data most suitable for printing by a printing section 15 on a bit mapped memory. A control section 17 outputs an instruction to a paper feeding section 13 according to the analyzed results to feed paper. After paper feed is completed, a paper size detector 14 detects the longitudinal and lateral sizes and set status of the fed paper to judge whether it is long lengthwise or crosswise. When the printing section executes printing, agreement or disagreement between the printing paper feeding direction and the printing direction designated by a user is detected, and when disagreement is detected, the data are transferred to the host computer 2 via a transfer section 16.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ホストコンピュータ等
の外部装置からデータを受信して頁単位で印刷を行なう
印刷装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus which receives data from an external device such as a host computer and prints in page units.

【0002】[0002]

【従来の技術】従来の印刷装置ではホストコンピュータ
から縦長の印字を指定した場合、印刷用紙の挿入方向が
横長である場合はホストコンピュータの指定に従って横
長の印刷用紙にそのまま縦長の印字を行なうように構成
されている。
2. Description of the Related Art In a conventional printing apparatus, when portrait printing is designated by a host computer, and if the insertion direction of the printing paper is landscape orientation, the portrait printing is performed as it is on the landscape printing paper according to the designation of the host computer. It is configured.

【0003】[0003]

【発明が解決しようとする課題】したがって上記従来例
では、図11に示すように印字データの下部部分が印刷
用紙からはみ出るため印刷用紙に印字されない。また印
刷用紙の右部に不必要な空白ができてしまうため、意図
した印刷結果が得られないという欠点がある。
Therefore, in the above-mentioned conventional example, as shown in FIG. 11, the lower part of the print data is not printed on the printing paper because it protrudes from the printing paper. Further, there is a disadvantage that an intended print result cannot be obtained because an unnecessary blank is formed on the right side of the printing paper.

【0004】従来このような印刷操作はユーザの不注意
として扱われている。このため、フロッピーディスク等
に格納された文書情報を印刷する場合はユーザはその都
度ホストコンピュータに印刷対象の文書情報を表示し
て、好適な印刷用紙の大きさや設置方向を確認しなけれ
ばならなかった。
Conventionally, such a printing operation is treated as careless by the user. Therefore, when printing the document information stored in a floppy disk or the like, the user must display the document information to be printed on the host computer each time and check the suitable size and orientation of the printing paper. It was

【0005】そこで、本発明の目的は、上述の点に鑑み
て、印刷操作に係わるユーザの操作ミスを阻止すること
の可能な印刷装置を提供することにある。
Therefore, in view of the above points, an object of the present invention is to provide a printing apparatus capable of preventing a user's operation error relating to a printing operation.

【0006】[0006]

【課題を解決するための手段】このような目的を達成す
るために、本発明は、印刷対象の印刷用紙のサイズおよ
び設置状態を検知する検知手段と、印刷データに付加さ
れた制御情報の示す印刷用紙のサイズおよび設置状態
と、前記検知手段により検知された印刷用紙のサイズお
よび設定状態とを一致比較することにより印字の可否判
定を行なう判定手段と、該判定手段により印字不可の判
定が得られた場合は、前記印刷データの発生源に対して
警告信号を送出する警告手段とを具えたことを特徴とす
る。
In order to achieve such an object, the present invention shows a detection means for detecting the size and installation state of a print sheet to be printed, and control information added to print data. Judgment means for judging whether or not printing is possible by comparing the size and installation state of the printing paper with the size and setting state of the printing paper detected by the detection means, and the judgment of unprintable by the judgment means. And a warning means for sending a warning signal to the print data generation source.

【0007】[0007]

【作用】本発明では、印刷用紙の設置状態について、設
置の印刷用紙と印刷データ発生源側から指示された情報
を一致比較することにより実際に印刷を行なう前に印刷
用紙の設置ミスを検出する。また警告信号を受けた印刷
データ発生源では警告表示を行なうことでユーザは印刷
用紙の設置ミスを知ることができる。
According to the present invention, regarding the installation state of the printing paper, the installation error of the printing paper is detected before the actual printing by comparing the installed printing paper with the information instructed from the print data source side. . In addition, the print data generation source that has received the warning signal displays a warning so that the user can know the setting error of the printing paper.

【0008】[0008]

【実施例】以下添付図面を参照して、本発明に係る一実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

【0009】図1は本発明に係る出力装置の一部を構成
する制御回路の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a control circuit which constitutes a part of an output device according to the present invention.

【0010】図において1は本発明を適用した出力装置
であり2はホストコンピュータや端末装置といった外部
装置である。本例ではホストコンピュータを用いる。1
1はホストコンピュータ2から転送されるデータを受信
するための入力部である。12は入力部11が入力した
データを解析し一頁分のビットマップデータをメモリ上
に作成する展開部である。13は前述ビットマップデー
タを印刷するための印刷用紙を給紙する給紙部である。
In the figure, 1 is an output device to which the present invention is applied, and 2 is an external device such as a host computer or a terminal device. In this example, a host computer is used. 1
Reference numeral 1 is an input unit for receiving data transferred from the host computer 2. Reference numeral 12 is a development unit that analyzes the data input by the input unit 11 and creates one page of bitmap data on the memory. Reference numeral 13 denotes a paper feeding unit that feeds printing paper for printing the above-mentioned bitmap data.

【0011】14は給紙部13によって給紙した印刷用
紙の縦方向の長さと横方向の長さを光センサ等を用いて
検出する紙サイズ検知部(本発明の検知手段)である。
15はビットマップデータを印刷用紙に印字するための
印字部である。16は本印刷装置15の紙なしや紙づま
りといった内部状態をコマンド形式のデータとして外部
に転送するための転走部である。17は本構成の制御回
路をさまざまな形で制御する制御部である。
Reference numeral 14 is a paper size detection unit (detection means of the present invention) for detecting the length in the vertical direction and the length in the horizontal direction of the printing paper fed by the paper feeding unit 13 using an optical sensor or the like.
Reference numeral 15 is a printing unit for printing the bitmap data on the printing paper. Reference numeral 16 denotes a rolling unit for transferring the internal state of the printing apparatus 15 such as paper out or paper jam to the outside as command format data. Reference numeral 17 is a control unit for controlling the control circuit of this configuration in various forms.

【0012】以上の構成より成る本実施例での制御回路
の処理手順を、図2〜図5に示すフローチャートに従っ
て以下に説明する。図2は本出力装置が一頁出力する際
の制御手順を示す。まずステップ21において印刷用の
ビットマップデータの作成を行なう。印字データ作成の
詳細手順を図3に示す。すなわちはじめに図3のステッ
プ31においてホストコンピュータ2からの送信データ
を入力部11によって入力する。この時の入力データは
文字データや、また印刷ページを形成するための様々な
印字制御を行なうコマンドである。コマンドはフォーマ
ットは図6に示すような形態であり、コマンドバイト6
a、パラメータ6b、ターミネータ6cの3つの部分よ
り成る。通常コマンドバイト6aによってコマンドの種
類を示し、パラメータ6bによって当該コマンドに関す
る詳細な指定を行ない、ターミネータ6cによって当該
コマンドの終結を示す。当該コマンドの種類には例えば
印字位置の指定や印刷用紙に対する印字方向、文字の大
きさ、行間隔の指定、改頁等がある。
The processing procedure of the control circuit in the present embodiment having the above-mentioned configuration will be described below with reference to the flowcharts shown in FIGS. FIG. 2 shows a control procedure when the output device outputs one page. First, in step 21, bitmap data for printing is created. A detailed procedure for creating print data is shown in FIG. That is, first, in step 31 of FIG. 3, the transmission data from the host computer 2 is input by the input unit 11. The input data at this time is character data or commands for performing various print controls for forming a print page. The command format is as shown in Fig. 6, and the command byte 6
a, parameter 6b, and terminator 6c. The normal command byte 6a indicates the type of the command, the parameter 6b indicates the detailed specification of the command, and the terminator 6c indicates the end of the command. The type of the command includes, for example, the designation of the print position, the print direction on the printing paper, the size of characters, the designation of the line spacing, the page break, and the like.

【0013】ステップ32では展開部12によって入力
データを解析する。この時の入力データが印字方向の指
定を行なうコマンドである場合は、印字方向格納エリア
「印字方向格納エリア=内部メモリ」に格納する。ステ
ップ33では展開部12によって解析結果をもとに印字
部15が印字を行なうのに最も適した形態のビットマッ
プデータを図8の8bに示すビットマップメモリ上に形
成する。印字データの作成が終わると次にステップ22
において給紙を行なう。
In step 32, the expanding unit 12 analyzes the input data. If the input data at this time is a command for designating the print direction, it is stored in the print direction storage area "print direction storage area = internal memory". In step 33, the developing unit 12 forms the bitmap data in the form most suitable for the printing unit 15 to print on the bitmap memory 8b of FIG. 8 based on the analysis result. After the print data is created, next step 22
Paper is fed at.

【0014】給紙の処理手順を図4に示す。まず図4の
ステップ41において制御部17から給紙部13に対し
て給紙の実行指令が出される。ステップ42では給紙の
終了を待ち、制御部17は給紙が終了した時点でステッ
プ43において紙サイズ検知部14により給紙された印
刷用紙の縦横サイズおよび設置状態の検知を行なう。
FIG. 4 shows the paper feeding processing procedure. First, in step 41 of FIG. 4, the control unit 17 issues a paper feed execution command to the paper feed unit 13. In step 42, the control unit 17 waits for the end of paper feeding, and when the paper feeding is completed, the control unit 17 detects the vertical and horizontal sizes and the installation state of the printing paper fed by the paper size detection unit 14 in step 43.

【0015】当該紙サイズ検知の方法として具体的に考
えられる方法を図9に示す。(a)の方法は、給紙終了
時に印刷用紙のX方向、Y方向に沿って反射型のセンサ
9aを移動機構により動かして印刷用紙の端部を検出
し、印刷用紙の長さを測る方法である。(b)の方法は
給紙終了時に用紙が複数個の穴の開いたトレイに納まる
構造にしておき、光を下部から照射し上部に備えられた
センサ9bが当該照射光を検知することにより長さを測
る方法である。(c)の方法は専用の給紙カセットを給
紙部13に装着する構造にしておき当該給紙カセットに
備えられた凸部が給紙部13のスイッチを押すことによ
って紙の種類を識別し用紙の長さを認識する方法であ
る。
FIG. 9 shows a method that can be specifically considered as the method for detecting the paper size. The method (a) is a method of measuring the length of the printing paper by moving the reflection type sensor 9a along the X direction and the Y direction of the printing paper by the moving mechanism to detect the end portion of the printing paper at the end of feeding. Is. The method (b) has a structure in which the paper is stored in a tray having a plurality of holes at the end of paper feeding, and light is emitted from the lower portion, and a sensor 9b provided on the upper portion detects the emitted light for a long time. It is a method of measuring quality. The method (c) has a structure in which a dedicated paper feed cassette is attached to the paper feed unit 13, and the convex portion provided in the paper feed cassette discriminates the type of paper by pressing the switch of the paper feed unit 13. This is a method of recognizing the length of paper.

【0016】このような方法で検知した前記用紙の縦横
長をもとに、ステップ44で制御部17によって給紙さ
れた印刷用紙が縦長であるのか横長であるのかすなわち
設置状態を判別する。給紙が終了するとステップ23に
おいて制御部17の指示で印字部15が印字を行なう。
Based on the vertical and horizontal lengths of the paper detected by such a method, it is determined in step 44 whether the print paper fed by the control unit 17 is vertical or horizontal, that is, the installation state. When the feeding is completed, in step 23, the printing unit 15 prints according to the instruction of the control unit 17.

【0017】印字の詳細手順を図5に示す。まずステッ
プ51において制御部17により、ステップ44で判別
した印刷用紙の縦長、横長情報と、ステップ32で格納
した図8a印字方向格納エリア内の情報を比較する。こ
のとき、制御部17が本発明の判定手段として動作す
る。
The detailed printing procedure is shown in FIG. First, in step 51, the control unit 17 compares the portrait / landscape information of the printing paper determined in step 44 with the information in the print direction storage area of FIG. 8a stored in step 32. At this time, the control unit 17 operates as the determination unit of the present invention.

【0018】印字用紙の挿入方向とユーザ指定の印字方
向が一致していると判断した場合は印字を許可し、ステ
ップ53において印字部15により印刷用紙への印字を
行なう。一致していないと判断した場合は、印字を許可
せずステップ52において転送部16により状態データ
の転送を行なう。このとき、制御部17と転送部16と
が本発明の警告手段として動作する。ここでいう状態デ
ータは図6に示すホストコンピュータからの送信データ
と同じフォーマット形態であり、すなわち、コマンドバ
イト6aによって転送データであることを示す。パラメ
ータ6bによって印字用紙の挿入方向や大きさが異なる
旨を示し、ターミネータ6cによって当該コマンドの終
結を示す。
When it is determined that the inserting direction of the printing paper and the printing direction designated by the user are coincident with each other, the printing is permitted, and in step 53, the printing unit 15 prints on the printing paper. If it is determined that they do not match, the transfer unit 16 transfers the status data in step 52 without permitting printing. At this time, the control unit 17 and the transfer unit 16 operate as warning means of the present invention. The state data mentioned here has the same format as the transmission data from the host computer shown in FIG. 6, that is, it is indicated by the command byte 6a that it is transfer data. The parameter 6b indicates that the insertion direction and size of the print sheet are different, and the terminator 6c indicates the end of the command.

【0019】ホストコンピュータ等の外部装置は印刷装
置からの当該転送データを受信すると、その旨を図10
に示すようにディスプレイにメッセージ表示する等の処
置を行なうことによりオペレータに知らしめる。オペレ
ータによって紙の挿入方向が変えられると、処理手順を
ステップ41へ戻り給紙からやり直す。
When an external device such as a host computer receives the transfer data from the printing device, the fact is shown in FIG.
The operator is informed by taking a measure such as displaying a message on the display as shown in FIG. When the operator changes the insertion direction of the paper, the process returns to step 41 and paper feeding is started again.

【0020】印字が終了することによって図2に示した
一頁出力手順は終了する。
When the printing is completed, the one-page output procedure shown in FIG. 2 is completed.

【0021】<他の実施例> (1) 印刷装置から送出する状態信号に、紙サイズ検知部
14により検知した印刷用紙サイズ,設置方向を示す情
報を含めてもよい。この場合はホストコンピュータ側で
単なる警告表示の他、印刷データに付加された印刷制御
データの示す印刷用紙サイズ,設置状態と印刷装置側の
印刷用紙のサイズ,設置状態とをメッセージ表示する。
<Other Embodiments> (1) The status signal sent from the printing device may include information indicating the print paper size and installation direction detected by the paper size detection unit 14. In this case, in addition to a simple warning display on the host computer side, a message indicating the print sheet size and installation state indicated by the print control data added to the print data and the print sheet size and installation state on the printer side is displayed.

【0022】[0022]

【発明の効果】以上、説明したように、本発明によれ
ば、印刷前に設置の印刷用紙の設置ミスを検知できるの
で、ユーザは印刷データの内容をその都度確認する必要
はない。
As described above, according to the present invention, it is possible to detect an installation error of the printing paper to be installed before printing, so that the user does not have to check the contents of the print data each time.

【0023】[0023]

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

【図1】本発明に係る制御回路の一例を示すブロック図
である。
FIG. 1 is a block diagram showing an example of a control circuit according to the present invention.

【図2】本発明に係る一頁出力の処理手順を示すフロー
チャートである。
FIG. 2 is a flowchart showing a one-page output processing procedure according to the present invention.

【図3】データ作成の処理手順を示すフローチャートで
ある。
FIG. 3 is a flowchart showing a processing procedure of data creation.

【図4】給紙の処理手順を示すフローチャートである。FIG. 4 is a flowchart illustrating a paper feeding processing procedure.

【図5】印字の処理手順を示すフローチャートである。FIG. 5 is a flowchart showing a printing processing procedure.

【図6】入力コマンド列の一例を示す図である。FIG. 6 is a diagram showing an example of an input command sequence.

【図7】印字方向を説明する概念図である。FIG. 7 is a conceptual diagram illustrating a printing direction.

【図8】RAM使用例を示す図である。FIG. 8 is a diagram showing an example of RAM usage.

【図9】紙サイズ検知方法を示す図である。FIG. 9 is a diagram illustrating a paper size detection method.

【図10】メッセージ表示例を示す図である。FIG. 10 is a diagram showing a message display example.

【図11】従来の印字不都合例を示す図である。FIG. 11 is a diagram showing a conventional printing inconvenience example.

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

1 出力装置 2 ホストコンピュータ 11 入力部 12 展開部 13 給紙部 14 紙サイズ検知部 15 印字部 16 転送部 17 制御部 DESCRIPTION OF SYMBOLS 1 Output device 2 Host computer 11 Input part 12 Development part 13 Paper feed part 14 Paper size detection part 15 Printing part 16 Transfer part 17 Control part

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 印刷対象の印刷用紙のサイズおよび設置
状態を検知する検知手段と、 印刷データに付加された制御情報の示す印刷用紙のサイ
ズおよび設置状態と、前記検知手段により検知された印
刷用紙のサイズおよび設定状態とを一致比較することに
より印字の可否判定を行なう判定手段と、 該判定手段により印字不可の判定が得られた場合は、前
記印刷データの発生源に対して警告信号を送出する警告
手段とを具えたことを特徴とする印刷装置。
1. A detection unit for detecting the size and installation state of a print sheet to be printed, a size and installation state of the print sheet indicated by control information added to the print data, and a print sheet detected by the detection unit. Of the print data and the setting state of the print data are compared with each other, and when the print data is determined to be non-printable, a warning signal is sent to the source of the print data. A printing device, comprising:
JP18501192A 1992-07-13 1992-07-13 Printer Pending JPH0624107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18501192A JPH0624107A (en) 1992-07-13 1992-07-13 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18501192A JPH0624107A (en) 1992-07-13 1992-07-13 Printer

Publications (1)

Publication Number Publication Date
JPH0624107A true JPH0624107A (en) 1994-02-01

Family

ID=16163214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18501192A Pending JPH0624107A (en) 1992-07-13 1992-07-13 Printer

Country Status (1)

Country Link
JP (1) JPH0624107A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6979139B2 (en) 2003-06-27 2005-12-27 King Jim Co., Ltd. Printing apparatus, printing method, and program therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6979139B2 (en) 2003-06-27 2005-12-27 King Jim Co., Ltd. Printing apparatus, printing method, and program therefor

Similar Documents

Publication Publication Date Title
US5538352A (en) Tape printing system
US7409169B2 (en) Image forming apparatus and image forming system
KR101269465B1 (en) Image forming apparatus and method for prevention of printing error thereof
JPH0834141A (en) Printer apparatus
US4814892A (en) Recording apparatus including control error detection
US5678124A (en) Printing apparatus with means of comparing paper size specified by an external apparatus with a calculated paper size
JPH0564926A (en) Printer
JPH0624107A (en) Printer
JP3248811B2 (en) Print control device and print control method
JP2713707B2 (en) Character output device
JP2007011946A (en) Printing system
JPH07261950A (en) Printing state display device
JPH0717290B2 (en) Recording control device
JPH09188039A (en) Image forming device and control method therefor
JP2003154716A (en) Printer
JPH05270097A (en) Method and apparatus for printing
JPH02219134A (en) Data processor
KR100191214B1 (en) Device for sensing sheet remainder and method thereof
JPH0651922A (en) Method and device for output
JPH1035022A (en) Color recorder
JPH08207357A (en) Printing starting line discriminating device
KR19990079459A (en) Backing paper detector
KR100444592B1 (en) Printer capable of re-confirming whether to print-out or not before printing and using the same printing method
JPH06166214A (en) Printer
JP2759161B2 (en) Printing system and printing device