JPH07179001A - Character processing device - Google Patents

Character processing device

Info

Publication number
JPH07179001A
JPH07179001A JP5324745A JP32474593A JPH07179001A JP H07179001 A JPH07179001 A JP H07179001A JP 5324745 A JP5324745 A JP 5324745A JP 32474593 A JP32474593 A JP 32474593A JP H07179001 A JPH07179001 A JP H07179001A
Authority
JP
Japan
Prior art keywords
paper
size
carriage
printer
printing
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
JP5324745A
Other languages
Japanese (ja)
Inventor
Koji Kawamura
興二 川村
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 JP5324745A priority Critical patent/JPH07179001A/en
Publication of JPH07179001A publication Critical patent/JPH07179001A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize automatic printing, in which the size and set position of recording paper are matched, by a method wherein a printer controlling means, by which sentences, figures and the like set by a format setting means are printed at the predetermined position detected by a paper size recognizing means of recording paper, is equipped. CONSTITUTION:When a paper 6 is set, a carriage is moved from left to right so as to scan the paper 9 once. The platen of a printer part acts as a reflector 8, the light reflected from which is received at all times by the light receiving part 6 of a sensor part 7 provided at the side of the carriage and the reflectance of which changes at the site that the paper 9 is present. By the change just mentioned above, a switch is turned ON, resulting in detecting the left edge of the paper 9. During further movement of the carriage, the reflectance changes at the right edge of the paper 9, resulting in turning OFF the switch so as to detect the right edge of the paper 9. By turning ON/OFF of the switch, the left and right edges of the paper and the breadth of the paper 9 is found out, resulting in recognizing the size of the paper. Further, by the distance between the positions of the left and right edges of the paper 9 and the home position of the carriage, the position of the paper 9 on the carriage is recognized. Furthermore, a controlling part sets the format of an edited plane so as to match to the size of the paper.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プリンタを備えた文字
処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device equipped with a printer.

【0002】[0002]

【従来の技術】従来から知られているワードプロセッサ
(文字処理装置)では、文章編集を行う際に、印刷しよ
うとする紙サイズに編集画面の書式を予め設定してから
編集を始めていた。また印刷時には、所定された位置に
紙をセットしていた。
2. Description of the Related Art In a conventionally known word processor (character processing device), when a text is edited, a format of an edit screen is preset to a paper size to be printed before starting the edit. Further, at the time of printing, the paper was set at a predetermined position.

【0003】[0003]

【発明が解決しようとする課題】従来から知られている
ワードプロセッサでは、文章を編集する前には必ず編集
画面の書式を印刷用紙のサイズに合わせて設定してい
た。これは、編集書式と印刷用紙のサイズが違っている
と不具合が起こるからである。しかも、印刷用紙を所定
の位置にセットしないで、ずらした位置で印刷すると紙
からはみ出してしまうという不都合がみられた。
In the conventionally known word processor, the format of the editing screen is always set according to the size of the printing paper before the text is edited. This is because a problem occurs if the edit format and the size of the printing paper are different. Moreover, when the printing paper is printed at the shifted position without being set at the predetermined position, the printing paper runs off the paper.

【0004】よって本発明の目的は上述の点に鑑み、記
録紙のサイズおよびセット位置に合わせた自動印刷を可
能とした文字処理装置を提供することにある。
Therefore, in view of the above points, an object of the present invention is to provide a character processing device capable of automatic printing in accordance with the size and setting position of recording paper.

【0005】[0005]

【課題を解決するための手段】かかる目的を達成するた
めに、本発明は処理された文章,図形等を印刷するため
のプリンタを備えた文字処理装置において、前記プリン
タに装着された記録紙の両端を検知して当該記録紙のサ
イズを認識する紙サイズ認識手段と、前記紙サイズ認識
手段の出力に応答して、編集画面の書式を当該記録紙に
合わせた設定とする書式設定手段と、前記紙サイズ認識
手段により検知された当該記録紙の所定位置に、前記書
式設定手段で設定された文章,図形等を印刷するプリン
タ制御手段とを具備したものである。また、前記記録紙
のサイズに合わせて、編集文書を拡大もしくは縮小印刷
することも可能とした。
In order to achieve such an object, the present invention is a character processing apparatus equipped with a printer for printing processed sentences, graphics, etc., in which a recording paper attached to the printer is used. Paper size recognition means for recognizing the size of the recording paper by detecting both ends, and format setting means for setting the format of the editing screen to match the recording paper in response to the output of the paper size recognition means, Printer control means for printing the sentences, figures, etc. set by the format setting means is provided at a predetermined position of the recording paper detected by the paper size recognition means. Further, the edited document can be enlarged or reduced according to the size of the recording paper.

【0006】[0006]

【作用】本発明では、プリンタのキャリッジ(ヘッド受
け部)等に紙サイズを認識するセンサーを装着する。そ
して、プリンタに紙をセットすると一度キャリッジが紙
を走査するなどして、装着された紙の両端を検知し、紙
の幅から紙サイズと位置を認識する。従って、編集画面
の書式を印刷用紙と同サイズに設定することができる。
しかも、紙の位置を認識してるので、印刷用紙がどの位
置にあっても、紙のあるところに正確に印刷させること
ができる。
In the present invention, the sensor for recognizing the paper size is mounted on the carriage (head receiving portion) of the printer. When the paper is set in the printer, the carriage scans the paper once to detect both ends of the mounted paper and recognize the paper size and position from the width of the paper. Therefore, the format of the edit screen can be set to the same size as the print paper.
Moreover, since the position of the paper is recognized, it is possible to accurately print the position of the paper regardless of the position of the printing paper.

【0007】[0007]

【実施例】以下、図面を参照して、本発明の実施例を詳
細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0008】図1は、本発明の一実施例を示すブロック
図である。図1において、1は印刷を行う手段を有する
プリンタ、2はプリンタにセットされた用紙の両端を検
知し、サイズと位置を認識するための手段を有する認識
装置(センサー)、3は編集画面を表示する手段を有す
る表示装置、4はセンサーによって認識されたサイズ
を、信号に変えて表示装置に送信し、表示画面を同サイ
ズに書式設定する為の制御を行う手段を有する制御装置
である。
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, 1 is a printer having means for printing, 2 is a recognition device (sensor) having means for detecting both ends of paper set in the printer, and recognizing size and position, 3 is an editing screen The display device 4 having means for displaying is a control device having means for controlling the size recognized by the sensor to be converted into a signal and transmitted to the display device to format the display screen to the same size.

【0009】図2は、図1に示したセンサー2の構成図
である。図2において、5は発光部(LED)、6は受
光部、7はセンサー部、8は反射板、9は紙である。
FIG. 2 is a block diagram of the sensor 2 shown in FIG. In FIG. 2, 5 is a light emitting unit (LED), 6 is a light receiving unit, 7 is a sensor unit, 8 is a reflector, and 9 is paper.

【0010】図3は、センサー部7の取り付け状態を示
す斜視図である。図3において、10はプリンタにおけ
るヘッド部、11はヘッド受け部(キャリッジ)であ
る。
FIG. 3 is a perspective view showing a mounting state of the sensor section 7. In FIG. 3, 10 is a head unit in the printer, and 11 is a head receiving unit (carriage).

【0011】すなわち、センサー部はフォトリフレクタ
型の光源スイッチにより構成される。反射板から反射し
てくるLEDの光は受光部が常に検出しているが、紙の
あるところで反射率が変化する。従って、反射率の変化
によりスイッチが入りこれにより紙の端を検出する。
That is, the sensor section is composed of a photoreflector type light source switch. The light of the LED reflected from the reflection plate is always detected by the light receiving section, but the reflectance changes where there is paper. Therefore, the switch is turned on by the change of the reflectance, and thereby the edge of the paper is detected.

【0012】図4は、本実施例の制御手順を示すフロー
チャートである。図4において、S1でプリンタに紙が
セットされているかの判定をし、セットされていなけれ
ば元に戻り、セットされていればS2に進む。S2でセ
ットされた紙の両端を検知し、サイズの位置認識を行
う。S3で紙サイズと編集画面の書式を比較する。同じ
場合は終了、違っていた場合はS4に進む。S4で印刷
用紙と同じサイズに編集画面の書式を設定し、終了す
る。
FIG. 4 is a flow chart showing the control procedure of this embodiment. In FIG. 4, it is determined in S1 whether or not paper is set in the printer. If it is not set, the process returns to the original state, and if it is set, the process proceeds to S2. Both ends of the paper set in S2 are detected, and size position recognition is performed. In S3, the paper size and the format of the edit screen are compared. If they are the same, the process ends. In S4, the format of the edit screen is set to the same size as the print paper, and the process ends.

【0013】このように本実施例によるワードプロセッ
サにおいては、まず、編集後印刷をするという目的で文
章の編集を行う前にプリンタに紙をセットする。紙がセ
ットされると、キャリッジが一度紙を走査するように左
から右へ移動を開始する(図3)。
As described above, in the word processor according to the present embodiment, first, the paper is set in the printer before editing the text for the purpose of printing after editing. When the paper is set, the carriage begins to move from left to right so that it scans the paper once (FIG. 3).

【0014】プリンタ部のプラテン(背面板)は反射板
になっており、キャリッジの横に取りつけられたセンサ
ー受光部が反射板からの光を常に受光しているが、紙が
有るところでその反射率が変化する。これでまずスイッ
チが入り、紙の左端を検出する。さらに移動すると、今
度は紙の右端で反射率が変化し、スイッチが切れ、紙の
右端を検出する。
The platen (rear plate) of the printer section is a reflecting plate, and the sensor light receiving section mounted on the side of the carriage always receives the light from the reflecting plate. Changes. Now the switch is turned on and the left edge of the paper is detected. When it moves further, the reflectance changes at the right edge of the paper, and the switch is turned off to detect the right edge of the paper.

【0015】スイッチのON/OFFにより紙の左端と
右端により紙の幅が分かるので、これにより紙のサイズ
を認識できる。また、キャリッジのホームポジションか
ら検知した紙の左端までの距離により、紙の位置を認識
する。
Since the width of the paper can be known from the left end and the right end of the paper by turning the switch ON / OFF, the size of the paper can be recognized. In addition, the position of the paper is recognized based on the distance from the home position of the carriage to the detected left edge of the paper.

【0016】紙のサイズを認識すると、制御部が編集画
面の書式を紙サイズにあわせて設定する。制御部の手順
は図4に示したフローチャートに従って実行される。
When the paper size is recognized, the control unit sets the format of the editing screen according to the paper size. The procedure of the control unit is executed according to the flowchart shown in FIG.

【0017】判別できる紙の種類は、A4,B5,B
4,葉書のそれぞれ縦置き・横置きである。つまり、文
章編集前に使用者が自ら行っていた書式設定を、プリン
タに紙をセットするだけで制御部が自動的に行ってくれ
る訳である。
The types of paper that can be discriminated are A4, B5 and B.
4. Postcards are placed vertically and horizontally, respectively. In other words, the control unit automatically performs the format setting that the user himself / herself had done before the text editing, just by setting the paper on the printer.

【0018】更なる効果として、印刷時において今まで
紙のセットは紙サイズにより決められた位置(普通シル
ク等で明記されている)があったが、本実施例によれ
ば、プリンタ部のどの位置に紙をセットしてもサイズと
位置を検知するので、紙がどこにあっても正確な位置に
印刷することができる。
As a further effect, at the time of printing, the set of paper has a position determined by the paper size (specified by ordinary silk etc.). Since the size and position are detected even if the paper is set at the position, it is possible to print at the correct position no matter where the paper is.

【0019】次に、他の実施例について説明する。Next, another embodiment will be described.

【0020】他の実施例 図5は、他の実施例を示したフローチャートである。こ
こで述べる実施例では、編集した文章を印刷する時に、
プリンタにセットされた紙のサイズにあわせて拡大、縮
小印刷をする例を示す。なお、ブロック構成は図1と同
じである。また、紙サイズ認識手順は前実施例と同じで
ある。
Other Embodiments FIG. 5 is a flowchart showing another embodiment. In the embodiment described here, when printing the edited text,
An example of enlarging / reducing printing according to the size of the paper set in the printer is shown. The block configuration is the same as in FIG. The paper size recognition procedure is the same as in the previous embodiment.

【0021】図5において、S11でプリンタに紙がセ
ットされているか否かの判定を行ない、セットされてい
なければ元に戻り、セットされていればS12に進む。
S12でセットされた紙のサイズの認識を行う。認識す
る紙サイズはA4,B4,B5,葉書でそれぞれ縦置き
のみである。S13で認識した紙サイズと編集画面の書
式を比較する。同じ場合はS15で等倍印刷処理を行
い、違っていた場合はS14に進む。S14で印刷する
紙サイズにあわせて拡大もしくは縮小印刷の処理を行
う。印刷が終了するとフローも終了する。
In FIG. 5, it is determined in S11 whether or not paper is set in the printer. If it is not set, the process returns to the original state, and if it is set, the process proceeds to S12.
The size of the paper set in S12 is recognized. The recognized paper sizes are A4, B4, B5, and postcards, which are only placed vertically. The paper size recognized in S13 and the format of the edit screen are compared. If they are the same, the same-size printing process is performed in S15, and if they are different, the process proceeds to S14. Enlargement or reduction printing is performed according to the paper size to be printed in S14. When printing is finished, the flow is finished.

【0022】次に、拡大もしくは縮小印刷の処理につい
て説明する。まず、文字の大きさ、文字ピッチ、行ピッ
チに関して下表の倍率により変化させる。
Next, enlargement or reduction printing processing will be described. First, the character size, character pitch, and line pitch are changed according to the magnifications in the table below.

【0023】 いま、ワードプロセッサの編集画面がA4縦のサイズで
使用者が文章を作成していたとする。編集が終わってB
4縦サイズの原稿に印刷しようとしてプリンタにB4用
紙をセットし、印刷を指定すると、センサーが紙のサイ
ズをB4縦サイズと認識する。制御装置において、A4
縦サイズをB4縦サイズに表の倍率に従って展開した
後、拡大印刷を開始する。逆にB5サイズの紙をプリン
タにセットして印刷を指定すると、同じく表の倍率に従
ってA4サイズからB5サイズへの縮小印刷を開始す
る。つまり使用者は印刷用紙サイズを考えずに自分の編
集しやすい書式で編集することができる。また、とりあ
えずA4で印刷した後、コピー機でB4に拡大コピーや
B5に縮小コピーをして、希望の原稿を作るといった2
度手間もなくなるといった効果がある。
[0023] Now, suppose that the edit screen of the word processor is A4 portrait size and the user is creating a sentence. After editing, B
When B4 paper is set in the printer to print on a document of 4 portrait size and printing is designated, the sensor recognizes the paper size as B4 portrait size. In the control device, A4
After the vertical size is expanded to B4 vertical size according to the magnification of the table, enlarged printing is started. Conversely, when B5 size paper is set in the printer and printing is designated, reduction printing from A4 size to B5 size is also started in accordance with the magnification in the table. In other words, the user can edit in a format that is easy for him to edit, without considering the print paper size. Also, after printing in A4 for the time being, make a desired original by making an enlarged copy to B4 or a reduced copy to B5 with a copier.
It has the effect of eliminating the hassle.

【0024】[0024]

【発明の効果】以上説明したとおり本発明によれば、使
用者がワードプロセッサで文章編集する際、プリンタに
紙をセットするだけで印刷用紙に合わせた書式に自動的
に設定される為、作業効率が上がる。しかも、紙とプリ
ンタのどの位置にセットしても正確に印刷される為、紙
のセットに神経をつかわなくてよい。
As described above, according to the present invention, when a user edits a text with a word processor, the user can simply set the paper in the printer and the format is automatically set according to the printing paper. Goes up. Moreover, since the printing is performed accurately regardless of the position of the paper and the printer, it is not necessary to set the paper.

【0025】さらに、印刷用紙の事は考えずに自分の見
やすい表示画面、つまり編集しやすい用紙サイズの書式
で編集することができる。
Further, it is possible to edit in a display screen which is easy to see, that is, a format of a paper size which is easy to edit, without considering printing paper.

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

【図1】本発明を適用したワードプロセッサを示すブロ
ック構成図である。
FIG. 1 is a block diagram showing a word processor to which the present invention is applied.

【図2】図1に示したセンサー2の詳細な構成図であ
る。
FIG. 2 is a detailed configuration diagram of the sensor 2 shown in FIG.

【図3】センサー部7の取り付け状態を示す斜視図であ
る。
FIG. 3 is a perspective view showing a mounting state of a sensor unit 7.

【図4】本発明の一実施例における動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing an operation in one embodiment of the present invention.

【図5】その他の実施例における動作を示すフローチャ
ートである。
FIG. 5 is a flowchart showing an operation in another embodiment.

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

1 プリンタ 2 センサー 3 表示装置 4 制御装置 5 LED 6 受光部 7 センサー部 8 反射板 9 紙 10 ヘッド部 11 キャリッジ S1 プリンタに紙がセットされているか否かの判定処
理 S2 セットされた紙サイズの判別処理 S3 紙のサイズと表示画面の書式サイズを比較する処
理 S4 紙のサイズと表示画面の書式サイズを同じに設定
する処理 S11 プリンタに紙がセットされているか否かの判定
処理 S12 セットされた紙サイズの判別処理 S13 紙のサイズと表示画面のサイズの比較処理 S14 印刷用紙のサイズに合わせた拡大印刷、もしく
は縮小印刷の処理
1 Printer 2 Sensor 3 Display Device 4 Control Device 5 LED 6 Light Receiving Section 7 Sensor Section 8 Reflector 9 Paper 10 Head Section 11 Carriage S1 Judgment Process Whether Paper Is Set in Printer S2 Discrimination of Set Paper Size Process S3 Process for comparing paper size and display screen format size S4 Process for setting paper size and display screen format size to the same S11 Process for determining whether or not paper is set in printer S12 Paper set Size determination processing S13 Comparison processing of paper size and display screen size S14 Processing of enlarged printing or reduced printing according to size of printing paper

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 3/12 V 17/21 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06F 3/12 V 17/21

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 処理された文章,図形等を印刷するため
のプリンタを備えた文字処理装置において、 前記プリンタに装着された記録紙の両端を検知して当該
記録紙のサイズを認識する紙サイズ認識手段と、 前記紙サイズ認識手段の出力に応答して、編集画面の書
式を当該記録紙に合わせた設定とする書式設定手段と、 前記紙サイズ認識手段により検知された当該記録紙の所
定位置に、前記書式設定手段で設定された文章,図形等
を印刷するプリンタ制御手段とを具備したことを特徴と
する文字処理装置。
1. A character processing apparatus comprising a printer for printing processed sentences, figures, etc., a paper size for recognizing the size of the recording paper by detecting both ends of the recording paper attached to the printer. Recognizing means, format setting means for setting the format of the editing screen to match the recording paper in response to the output of the paper size recognizing means, and the predetermined position of the recording paper detected by the paper size recognizing means And a printer control means for printing the sentences, figures, etc. set by the format setting means.
【請求項2】 請求項1において、前記記録紙のサイズ
に合わせて、編集文書を拡大もしくは縮小印刷すること
を特徴とする文字処理装置。
2. The character processing apparatus according to claim 1, wherein the edited document is enlarged or reduced in size according to the size of the recording paper.
JP5324745A 1993-12-22 1993-12-22 Character processing device Pending JPH07179001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5324745A JPH07179001A (en) 1993-12-22 1993-12-22 Character processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5324745A JPH07179001A (en) 1993-12-22 1993-12-22 Character processing device

Publications (1)

Publication Number Publication Date
JPH07179001A true JPH07179001A (en) 1995-07-18

Family

ID=18169215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5324745A Pending JPH07179001A (en) 1993-12-22 1993-12-22 Character processing device

Country Status (1)

Country Link
JP (1) JPH07179001A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10638008B2 (en) 2016-07-21 2020-04-28 Hewlett-Packard Development Company, L.P. Edge detection using an invisible spectrum scan

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10638008B2 (en) 2016-07-21 2020-04-28 Hewlett-Packard Development Company, L.P. Edge detection using an invisible spectrum scan

Similar Documents

Publication Publication Date Title
EP1744537A1 (en) Image processing apparatus and control method
US6011877A (en) Apparatus and method for determining the directional orientation of a document image based upon the location of detected punctuation marks within the document image
JP3573863B2 (en) Blank page detection / identification method, blank page detection / identification system, print system using the same, facsimile machine using the same, and computer program product using the same
GB2401742A (en) Determining differences between scanned documents
JP2000175002A (en) Document image forming system
JP2009027396A (en) Printer
JPH07152865A (en) Device and method for recognizing information
GB2170934A (en) Automatic printer margin setting device
JP2008153890A (en) Image forming apparatus, program and finish information generation method
US20050219576A1 (en) Image scanning method and apparatus
JPH07179001A (en) Character processing device
US6415117B1 (en) Smart cover page for duplex copier jobs
JP4006417B2 (en) Document reader
US9132669B2 (en) Printing control apparatus, printing control method, and storage medium
JP2004358714A (en) Multifunction printer, label printing method and program
JPH0983691A (en) Picture processor and its method
JP3386280B2 (en) Book document image reading device
JP5020580B2 (en) Image reading device
JP3384210B2 (en) Image forming device
JP2001016406A (en) Image forming device and image forming method
JP2003319142A (en) Image forming apparatus
JP2002112010A (en) Digital copying device
JPH0514606Y2 (en)
JP2003255472A (en) Image reading method, image reader, and image forming method and image forming apparatus
JP3312958B2 (en) Electronic filing equipment