JP4059256B2 - Image forming apparatus and program - Google Patents
Image forming apparatus and program Download PDFInfo
- Publication number
- JP4059256B2 JP4059256B2 JP2005122224A JP2005122224A JP4059256B2 JP 4059256 B2 JP4059256 B2 JP 4059256B2 JP 2005122224 A JP2005122224 A JP 2005122224A JP 2005122224 A JP2005122224 A JP 2005122224A JP 4059256 B2 JP4059256 B2 JP 4059256B2
- Authority
- JP
- Japan
- Prior art keywords
- image forming
- font
- forming apparatus
- prohibition
- text data
- 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 - Fee Related
Links
Images
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
- Document Processing Apparatus (AREA)
Description
本発明は、印刷データにしたがって印刷を行う画像形成装置及び関連する技術に関する。 The present invention relates to an image forming apparatus that performs printing in accordance with print data and a related technique.
従来より、プリンタ等の画像形成装置で印刷する文書の体裁を整えるために、日本語ワードプロセッサが用いられている。当該日本語ワードプロセッサには、行頭禁止文字を前の行に追い込む行頭禁則処理や行末禁止文字を次の行に追い落とす行末禁則処理等の禁則処理を行った上で、印刷データの基礎となる文書データを出力可能であるものが多い。 Conventionally, a Japanese word processor has been used to arrange a document to be printed by an image forming apparatus such as a printer. The Japanese word processor performs document processing that forms the basis of the print data after performing prohibition processing such as prohibition processing for forcing the beginning of a line to the previous line or prohibition processing for forcing the end of a line to the next line. There are many things that can be output.
なお、特許文献1は、プリンタが保持する印字開始位置を制御する調整情報をホストコンピュータが転送する技術を開示している。 Patent Document 1 discloses a technique in which a host computer transfers adjustment information for controlling a print start position held by a printer.
しかし、従来の技術では、プレインテキストデータを画像形成装置で印刷した場合に、禁則を回避できない(例えば、行頭禁止文字が行頭に出てくることや行末禁止文字が行末に出てくることを防止できない)という問題があった。 However, the conventional technology cannot avoid prohibitions when plain text data is printed by an image forming apparatus (for example, preventing line-breaking characters from appearing at the beginning of a line or line-breaking characters from appearing at the end of a line). There was a problem that could not.
本発明は、この問題を解決するためになされたもので、プレインテキストデータを画像形成装置で印刷した場合でも禁則を回避可能な画像形成装置及び印刷データ生成装置を提供することを目的とする。 The present invention has been made to solve this problem, and an object thereof is to provide an image forming apparatus and a print data generating apparatus that can avoid prohibition even when plain text data is printed by an image forming apparatus.
上記課題を解決するため、請求項1の発明は、印刷データにしたがって印刷を行う画像形成装置であって、所定の改行規則にしたがって、前記印刷データに含まれるプレインテキストデータを印刷した場合の行頭文字を特定する特定手段と、前記行頭文字が繰り返し記号に該当するか否かを判定する禁則判定手段と、前記プレインテキストデータのフォント指定が等幅フォントであるか否かを判定するフォント判定手段と、前記禁則判定手段により前記行頭文字が繰り返し文字に該当すると判定され、前記フォント判定手段により前記プレインテキストデータのフォント指定が等幅フォントであると判定された場合に、行頭の繰り返し記号を直前の文字で置換する置換処理を実行する禁則処理手段とを備える。 To solve the above problems, the invention of claim 1, an image forming apparatus that performs printing according to the print data, in accordance with a predetermined line feed rule, the beginning of a line when printing plain text data included in the print data specifying means for specifying a character, the rows and prohibition determining means for determining whether acronym corresponds to the repeating symbol font determining part determines the whether the font specified plaintext data is monospace font immediately before the said is determined corresponding to the bullet repeated characters by prohibition determining means, when the font specification of plain text data is determined to be a monospace font by the font determining part, the beginning of the repetition symbols Forbidden processing means for executing replacement processing for replacement with the above character .
請求項2の発明は、請求項1に記載の画像形成装置において、前記置換処理の許可条件を設定可能である。 The invention of claim 2 is the image forming apparatus according to claim 1, it is possible to set the permit conditions of the replacement process.
請求項3の発明は、請求項1又は請求項2に記載の画像形成装置において、前記置換処理の実行の許可又は不許可を前記置換処理の対象となりうる部分ごとに設定可能である。 According to a third aspect of the present invention, in the image forming apparatus according to the first or second aspect , permission or non-permission of execution of the replacement processing can be set for each portion that can be the target of the replacement processing.
請求項4の発明は、コンピュータで実行されることにより、画像形成装置へ送信する印刷データをプレインテキストデータに基づいて生成するプログラムであって、前記プログラムは前記コンピュータに所定の改行規則にしたがって、前記印刷データに含まれるプレインテキストデータを印刷した場合の行頭文字を特定する特定手順と、前記行頭文字が繰り返し記号に該当するか否かを判定する禁則判定手順と、前記プレインテキストデータのフォント指定が等幅フォントであるか否かを判定するフォント判定手順と、前記禁則判定手順において前記行頭文字が繰り返し記号に該当すると判定され、前記フォント判定手順において前記プレインテキストデータのフォント指定が等幅フォントであると判定された場合に、行頭の繰り返し記号を直前の文字で置換する置換処理を実行する禁則処理手順とを実行させる。 The invention according to claim 4 is a program for generating print data to be transmitted to the image forming apparatus based on plain text data by being executed by a computer, the program according to a predetermined line feed rule in the computer. a specifying step for specifying a bullet when printing plain text data included in the print data, and the constraint determination procedure for determining whether corresponding to the bullet is repeated symbols, the font specification of plain text data In the font determination procedure for determining whether or not the character is a monospaced font, and in the prohibition determination procedure, it is determined that the bullet character is a repeated symbol , and in the font determination procedure, the font designation of the plain text data is a monospace font If it is determined that, the beginning of the repetition symbols To execute the prohibition processing procedure for executing replacement processing for replacing the previous character.
請求項1ないし請求項4の発明によれば、プレインテキストデータを印刷した場合でも禁則を回避可能である。 According to the first to fourth aspects of the present invention, prohibition can be avoided even when plain text data is printed.
また、請求項1ないし請求項4の発明によれば、行頭の繰り返し記号を直前の文字で置換可能であるので、印刷データの基礎となったプレインテキストデータに改変を加えることなく、繰り返し記号が行頭に出てくることを防止可能となる。 Further , according to the inventions of claims 1 to 4 , since the repeated symbol at the beginning of the line can be replaced with the immediately preceding character, the repeated symbol can be changed without modifying the plain text data that is the basis of the print data. It becomes possible to prevent coming out at the beginning of the line.
請求項2の発明によれば、置換処理の許可条件を設定可能であるので、必要な場合のみ、画像形成装置に置換処理を実行させることができる。 According to the second aspect of the present invention, the replacement process permission condition can be set, so that the image forming apparatus can execute the replacement process only when necessary.
請求項3の発明によれば、置換処理の実行の許可又は不許可を設定可能であるので、必要な場合のみ、画像形成装置に置換処理を実行させることができる。
According to the third aspect of the present invention, permission or non-permission of execution of the replacement process can be set, so that the image forming apparatus can execute the replacement process only when necessary.
{第1実施形態}
<構成>
<画像形成システムの全体構成>
図1は、本発明の第1実施形態に係る画像形成システム1Aの全体構成を示すブロック図である。
{First embodiment}
<Configuration>
<Overall configuration of image forming system>
FIG. 1 is a block diagram showing the overall configuration of an
図1に示すように、画像形成システム1Aは、画像形成装置10及びパーソナルコンピュータ(PC;Personal Computer)20を備える。これらの画像形成装置10及びパーソナルコンピュータ20は、ネットワーク30を介して通信可能に接続されている。
As shown in FIG. 1, the image forming system 1 </ b> A includes an
画像形成装置10は、プリンタ機能、スキャナ機能、ファクシミリ機能及びコピー機能を有する複合機である。画像形成装置10は、プリンタ機能により、与えられた印刷データにしたがって印刷を行うことができる。
The
パーソナルコンピュータ20は、PCL6等のプリンタページ記述言語で記述された印刷データを生成する。
The
<画像形成装置の構成>
図2は、画像形成装置10の構成を示すブロック図である。
<Configuration of image forming apparatus>
FIG. 2 is a block diagram illustrating a configuration of the
図2に示すように、画像形成装置10は、MPU(マイクロプロセッサ;MicroProcessor Unit)101、ROM102及びRAM103を備える。MPU101、ROM102及びRAM103によって実現されるコンピュータは、ROM102に格納されたプログラムを実行することにより、画像形成装置10の各構成を統括制御し、画像形成装置10の各種機能を実現している。また、画像形成装置10は、画像データの記憶に用いられる画像メモリ104を備えている。
As illustrated in FIG. 2, the
画像形成装置10のRIP(Raster Image Processor)105は、印刷データを展開してビットマップ形式の画像データへ変換する。
A RIP (Raster Image Processor) 105 of the
ネットワークインターフェースカード(NIC)106は、例えば、イーサネット(登録商標)により、画像形成装置10をネットワーク30に接続する。
A network interface card (NIC) 106 connects the
NCU(網制御装置;Network Control Unit)107及びMODEM(モデム;MOdulator DEModulator)108は、一般公衆電話網を経由した画像データの送受信に用いられる。NCU107は、一般公衆電話網への接続を制御する。NCU107は、通信先の電話番号に対応したダイヤル信号を送出する機能及び着信を検出する機能を備える。MODEM108は、ITU(国際電気通信連合)−T勧告T.30にしたがったファクシミリ伝送制御手順に基づいて、V.17,V.27ter,V.29等にしたがった送信データの変調及び受信データの復調を行う。又は、MODEM108は、これらに加えて、V.37にしたがった送信データの変調及び受信データの復調を行う。MODEM108によって変調された送信データは、NCU107を経由して一般公衆電話網へ送出される。また、MODEM108が復調を行う受信データは、NCU107を経由して一般公衆電話網から与えられる。 An NCU (Network Control Unit) 107 and a MODEM (Modem DEModulator) 108 are used for transmission / reception of image data via a general public telephone network. The NCU 107 controls connection to the general public telephone network. The NCU 107 has a function of sending a dial signal corresponding to a telephone number of a communication destination and a function of detecting an incoming call. MODEM 108 is based on a facsimile transmission control procedure according to ITU (International Telecommunication Union) -T recommendation T.30. 17, V. 27ter, V.L. The transmission data is modulated and the received data is demodulated in accordance with 29 or the like. Alternatively, MODEM 108 can be used in addition to V.V. 37, modulation of transmission data and demodulation of reception data are performed. The transmission data modulated by the MODEM 108 is sent to the general public telephone network via the NCU 107. Also, the reception data that the MODEM 108 demodulates is given from the general public telephone network via the NCU 107.
画像形成装置10は、画像読取部109及び画像記録部110を備える。画像読取部109は、CCD(Charge Coupled Device)イメージセンサ等により画像を読み取り、当該画像に係る画像データを生成する。また、画像記録部110は、電子写真方式により画像データに係る画像を記録媒体上に形成する。
The
画像形成装置10には、ユーザインターフェースとして、操作部111及び表示部112が設けられる。操作部111は、メカニカルスイッチ等の操作者の操作を検出可能な部材を含んで構成され、表示部112は、液晶ディスプレイ等の表示用の部材を含んで構成される。なお、以下では、液晶タッチパネルにより、操作部111及び表示部112が一体のものとして構成されているとして説明を進める。
The
この画像形成装置10では、ネットワーク30を介してパーソナルコンピュータ20から与えられた印刷データをRIP105が画像データへ変換し、当該画像データに係る画像を画像記録部110が記録媒体上に形成することにより、ネットワーク30を介してパーソナルコンピュータ20から与えられた印刷データにしたがって印刷を行うことができる。
In the
<パーソナルコンピュータの構成>
図3は、パーソナルコンピュータ20の構成を示すブロック図である。
<Configuration of personal computer>
FIG. 3 is a block diagram showing the configuration of the
図3に示すように、パーソナルコンピュータ20は、CPU201、ROM202及びRAM203を備えるコンピュータである。
As shown in FIG. 3, the
ネットワークインターフェースカード(NIC)204は、例えば、イーサネット(登録商標)により、パーソナルコンピュータ20をネットワーク30に接続する。
A network interface card (NIC) 204 connects the
パーソナルコンピュータ20には、ユーザインターフェースとして、操作部205及び表示部206が設けられる。操作部205は、キーボードやポインティングデバイス等の操作者の操作を検出可能な装置を含んで構成され、表示部206は、液晶ディスプレイ等の表示用の装置を含んで構成される。
The
パーソナルコンピュータ20の補助記憶装置であるハードディスクドライブ(HDD;Hard Disk Drive)207には、パーソナルコンピュータ20で実行されるプログラムであるアプリケーション207a(例えば、レイアウト機能を持たないテキストエディタ)及びプリンタドライバ207bがインストールされている。パーソナルコンピュータ20は、アプリケーション207aが生成したプレインテキストデータ(以下では、単に「テキストデータ」とも称する)に基づいてプリンタドライバ207bが生成した印刷データを画像形成装置10へ送信する。この印刷データは、レイアウト情報を含まないテキストデータの他、文字の属性(サイズ、フォント名、必要なフォントデータ)に関するデータも含んでいる。
A hard disk drive (HDD) 207 which is an auxiliary storage device of the
<設定画面>
画像形成装置10は、テキストデータを含む印刷データが与えられた場合、当該印刷データのテキストデータ部分の印刷にあたって行末禁則処理又は行頭禁則処理(以下では、総称して「禁則処理」とも称する)を実行可能に構成されている。さらに、画像形成装置10では、表示部112に表示される禁則処理設定画面SC1、手動処理設定画面SC2及び置換処理設定画面SC3を用いて、禁則処理の実行に関する設定を行うことができる。以下では、これらの禁則処理設定画面SC1、手動処理設定画面SC2及び置換処理設定画面SC3について順次説明する。
<Setting screen>
When print data including text data is given, the
○禁則処理設定画面;
図4は、表示部112に表示される禁則処理設定画面SC1を示す図である。
○ Prohibition processing setting screen;
FIG. 4 is a diagram showing a prohibition process setting screen SC1 displayed on the
画像形成装置10では、禁則処理設定画面SC1を用いて禁則処理の実行の許可又は不許可を設定可能となっている。より具体的には、画像形成装置10では、禁則処理設定画面SC1に表示される3つの選択肢「否」「自動」及び「手動」から1つを選択することにより、禁則処理の実行の許可又は不許可を設定可能となっている。
In the
ここで、「否」は、禁則処理の対象となりうる部分がテキストデータに含まれていても、テキストデータの全体について禁則処理の実行を一切禁止することを意味している。また、「自動」は、禁則処理の対象となりうる部分がテキストデータに含まれている場合、テキストデータの全体について禁則処理の実行を自動的に許可することを意味している。一方、「手動」は、禁則処理の対象となりうる部分がテキストデータに含まれている場合、禁則処理の対象となりうる部分ごとに禁則処理の実行を手動で許可することを意味している。 Here, “No” means that the prohibition process is completely prohibited from being executed on the entire text data even if the text data includes a portion that can be the target of the prohibition process. “Automatic” means that when the text data includes a portion that can be subject to prohibition processing, execution of the prohibition processing is automatically permitted for the entire text data. On the other hand, “manual” means that if the text data includes a portion that can be subject to prohibition processing, the prohibition processing is manually permitted for each portion that can be subject to prohibition processing.
○手動処理設定画面;
図5は、表示部112に表示される手動処理設定画面SC2を示す図である。この手動処理設定画面SC2は、禁則処理設定画面SC1で「手動」が選択された場合に、禁則処理の対象となりうる部分ごとに禁則処理の実行の許可又は不許可を設定するために用いられる。
○ Manual processing setting screen;
FIG. 5 is a diagram showing a manual processing setting screen SC2 displayed on the
この手動処理設定画面SC2では、禁則処理の対象となりうる部分についての禁則処理の内容(図5では、句点「、」の追い込み)が表示されるとともに、4つの選択肢「処理」「以後すべて処理」「処理しない」及び「以後すべて処理しない」から1つを選択可能となっている。 In this manual process setting screen SC2, the contents of the prohibition process (the pursuit of the phrase “,” in FIG. 5) for the part that can be the target of the prohibition process are displayed, and four options “process” and “all process afterwards” are displayed. One can be selected from “Do not process” and “Do not process all afterwards”.
ここで、「処理」及び「以後すべて処理」は、内容が表示されている禁則処理の実行を許可することを意味しているが、「処理」は、禁則処理の対象となりうる部分が他にある場合には、あらためて手動処理設定画面SC2で禁則処理の実行の許可又は不許可を設定することを意味し、「以後すべて処理」は、禁則処理の対象となりうる部分が他にある場合には、あらためて手動処理設定画面SC2を表示することなく、禁則処理の実行を許可することを意味している。 Here, “process” and “all subsequent processes” mean that the prohibition process whose contents are displayed is allowed to be executed, but “process” has other parts that can be subject to the prohibition process. In some cases, this means that permission or non-permission of prohibition processing is set again on the manual processing setting screen SC2, and "all processing thereafter" means that there are other parts that can be subject to prohibition processing. This means that the execution of the prohibition process is permitted without displaying the manual process setting screen SC2 again.
一方、「処理しない」及び「以後すべて処理しない」は、内容が表示されている禁則処理の実行を不許可とすることを意味しているが、「処理しない」は、禁則処理の対象となりうる部分が他にある場合には、あらためて手動処理設定画面SC2で禁則処理の実行の許可又は不許可を設定することを意味し、「以後すべて処理しない」は、禁則処理の対象となりうる部分が他にある場合には、あらためて手動処理設定画面SC2を表示することなく、禁則処理の実行を不許可とすることを意味している。 On the other hand, “Do not process” and “Do not process all after” mean that the execution of the prohibition process whose contents are displayed is not permitted, but “Do not process” can be the target of the prohibition process. If there are other parts, this means that the prohibition process execution permission or non-permission is set again on the manual process setting screen SC2, and "do not process all after" means that there are other parts that can be subject to the prohibition process. In this case, it means that the execution of the prohibition process is not permitted without displaying the manual process setting screen SC2 again.
○置換処理設定画面;
図6は、表示部112に表示される置換処理設定画面SC3を示す図である。この置換処理設定画面SC3は、後述する置換処理に関する設定を行うために用いられる。
○ Replacement processing setting screen;
FIG. 6 is a diagram showing a replacement process setting screen SC3 displayed on the
この置換処理設定画面SC3では、3つの選択肢「同一文字種のみ置換」「無条件で置換」「置換なし」のうちの1つを選択可能となっている。これらの選択肢の意味については、後述する置換処理についての説明においてあわせて説明する。 On the replacement processing setting screen SC3, one of three options “replace only the same character type”, “replace unconditionally”, and “no replacement” can be selected. The meanings of these options will be described together in the description of the replacement process described later.
<動作>
以下では、禁則処理に係る画像形成装置10(RIP105)の動作について、図7及び図8のフローチャートを参照しながら説明する。
<Operation>
Hereinafter, the operation of the image forming apparatus 10 (RIP 105) related to the prohibition process will be described with reference to the flowcharts of FIGS.
図7及び図8に示すフローチャートの最初の第1のループ処理(ステップS101〜S103)では、プリンタページ記述言語で記述された印刷データに含まれるコマンド(「オペレータ」「オペコード」又は「インストラクション」とも呼ばれる)がテキスト描画コマンドであるか否かが、印刷データの始端から終端まで順次解析される。 In the first loop processing (steps S101 to S103) in the flowcharts shown in FIGS. 7 and 8, commands (“operator”, “opcode”, or “instruction”) included in the print data described in the printer page description language are used. Is called a text drawing command, the print data is sequentially analyzed from the beginning to the end.
第1のループ処理のステップS102では、印刷データ中の着目しているコマンドが、テキストデータを描画するためのテキスト描画コマンドである場合、ステップS105への移行が行われ、テキスト描画コマンド以外のコマンドである場合、コマンドの解析が印刷データの終端まで終了していない限り、第1のループ処理が継続される。 In step S102 of the first loop processing, when the command of interest in the print data is a text drawing command for drawing text data, the process proceeds to step S105, and commands other than the text drawing command are executed. If the command analysis is not complete until the end of the print data is completed, the first loop processing is continued.
そして、コマンドの解析が印刷データの終端まで終了すると、第1のループ処理が終了して禁則処理に係る動作も終了し、しかる後に、印刷データを展開した画像データがRIP105から画像記録部110へ出力され、画像記録部110において印刷データにしたがった印刷処理が行われる。
When the analysis of the command is completed up to the end of the print data, the first loop process is completed and the operation related to the prohibition process is also completed. Thereafter, the image data in which the print data is developed is transferred from the
続いて、ステップS105〜S114について説明する。 Next, steps S105 to S114 will be described.
ステップS105では、着目しているテキスト描画コマンドの描画対象となるテキストデータのフォント指定が等幅フォントであるか否かが判定され、等幅フォントである場合には、ステップS106への移行が行われ、等幅フォントでない場合(プロポーショナルフォントである場合)には、ステップS101へ戻って第1のループ処理が再開される。 In step S105, it is determined whether or not the font designation of the text data to be drawn by the focused text drawing command is a monospaced font. If the text data is a monospaced font, the process proceeds to step S106. If it is not a monospaced font (if it is a proportional font), the process returns to step S101 and the first loop process is resumed.
続いて、着目しているテキスト描画コマンドの描画対象となるテキストデータが取得され(ステップS106)、行頭から行末までの文字数すなわち1行あたりの文字数が算出される(ステップS107)。 Subsequently, text data to be drawn by the focused text drawing command is acquired (step S106), and the number of characters from the beginning of the line to the end of the line, that is, the number of characters per line is calculated (step S107).
続く第2のループ処理(ステップS108〜S114)では、行末文字及び行頭文字が禁則条件に該当するか否かが、テキストデータの始端から終端まで順次チェックされる。 In the subsequent second loop process (steps S108 to S114), it is sequentially checked from the beginning to the end of the text data whether or not the end-of-line character and the beginning-of-line character satisfy the prohibition condition.
第2のループ処理では、行頭からの文字数がステップS107で算出された文字数となったところで改行を行うという改行規則にしたがってテキストデータを印刷した場合の行末文字及び行頭文字が特定された後に(ステップS109)、行末文字が行末禁則条件に該当するか否かが判定され(ステップS110)、行頭文字が行頭禁則条件に該当するか否かが判定される(ステップS111)。そして、ステップS110において行末文字が行末禁則条件に該当すると判定され、禁則処理の実行が許可されている場合、行末禁則条件への該当を回避するための行末禁則処理が実行されるとともに(ステップS112)、ステップS111において行頭文字が行頭禁則条件に該当すると判定され、禁則処理の実行が許可されている場合、行頭禁則条件への該当を回避するための行頭禁則処理が実行される。 In the second loop processing, after the end-of-line character and the initial character when the text data is printed in accordance with the line feed rule that performs a line break when the number of characters from the beginning of the line reaches the number of characters calculated in step S107 (step S109), it is determined whether or not the end-of-line character corresponds to the end-of-line prohibition condition (step S110), and it is determined whether or not the start-of-line character corresponds to the end-of-line prohibition condition (step S111). Then, when it is determined in step S110 that the end-of-line character corresponds to the end-of-line prohibition condition and execution of the prohibition process is permitted, the end-of-line prohibition process for avoiding corresponding to the end-of-line prohibition condition is executed (step S112). ), It is determined in step S111 that the bullet character corresponds to the forbidden rule condition, and when execution of the forbidden process is permitted, the forbidden rule process for avoiding corresponding to the forbidden rule condition is executed.
ここで、行末文字が行末禁則条件に該当するのは、行末文字が所定の行末禁止文字、例えば、「(」「[」等の始まりカッコ類である場合であり、行末禁則処理とは、例えば、行末文字を次の行の行頭に移動させる追い出し処理(改行位置変更処理)である。 Here, the end-of-line character corresponds to the forbidden end-of-line condition when the end-of-line character is a predetermined end-of-line forbidden character, for example, a parenthesis such as “(”, “[”, etc. This is an eviction process (line feed position change process) for moving the end-of-line character to the beginning of the next line.
また、行頭文字が行頭禁則条件に該当するのは、行頭文字が所定の行頭禁止文字、例えば、「、」「。」等の句読点や「)」「]」の受けカッコ類や「々」「ゝ」等の繰り返し記号である場合であり、行頭禁則処理とは、例えば、「、」「。」等の句読点や「)」「]」の受けカッコ類等の行頭禁止文字を前の行の行末に移動させる追い込み処理(改行位置変更処理)や、「々」「ゝ」等の行頭の繰り返し記号を直前の文字で置換する置換処理である。 In addition, bullets fall under the bullet prohibition condition because the bullet is a predetermined bullet prohibited character, for example, punctuation marks such as “,” “.”, Parentheses such as “)” “]”, “ In the case of a repetitive symbol such as “ゝ”, the prohibition processing is, for example, a punctuation mark such as “,” “.”, Or a parenthesis character such as “)”, “]”, etc. This is a chasing process (line feed position changing process) for moving to the end of a line, or a replacement process for replacing a repeated symbol at the beginning of a line such as “「 ”or“ ゝ ”with the immediately preceding character.
なお、当該置換処理は、置換処理設定画面SC3で、「同一文字種のみ置換」が選択されたときは、漢字の繰り返し記号「々」の直前の文字が漢字である場合又はカナの繰り返し記号「ゝ」の直前の文字がカナである場合のみ実行が許可され、「無条件で置換」が選択されたときは、直前の文字が改行等の制御コードでない限り実行が許可される。一方、当該置換処理は、先述の置換処理設定画面SC3で、「置換なし」が選択された場合は実行が不許可とされる。このように置換処理の許可条件を設定可能とすることにより、必要な場合のみ、画像形成装置10に置換処理を実行させることができるようになる。
In the replacement process, when “replace only the same character type” is selected on the replacement process setting screen SC3, the character immediately before the kanji repeat symbol “people” is a kanji character or the kana repeat symbol “ゝ” Execution is permitted only when the character immediately before “” is kana, and when “unconditionally replace” is selected, execution is permitted unless the immediately preceding character is a control code such as a line feed. On the other hand, execution of the replacement process is not permitted when “no replacement” is selected on the above-described replacement process setting screen SC3. Thus, by making it possible to set the permission conditions for the replacement process, the
また、当該置換処理は、印刷データの基礎となったテキストデータに改変を加えることなく、繰り返し記号が行頭に出てくることを防止可能であるという利点を有するとともに、文字数を変化させないため、テキストデータの改行位置を変化させることもなく、容易に実行可能であるという利点をも有している。 In addition, the replacement process has the advantage that it is possible to prevent repeated symbols from appearing at the beginning of a line without modifying the text data that is the basis of the print data, and the number of characters is not changed. There is also an advantage that it can be easily executed without changing the line feed position of the data.
なお、第2のループ処理におけるテキストデータの始端から終端までのチェック終了後には、ステップS101への移行が行われ、第1のループ処理が再開される。 Note that after the check from the start to the end of the text data in the second loop processing is completed, the process proceeds to step S101 and the first loop processing is resumed.
このような画像形成装置10の動作により、テキストデータの印刷を行った場合でも禁則を回避可能であるとともに、禁則処理の許可又は不許可を禁則処理設定画面SC1、手動処理設定画面SC2及び置換処理設定画面SC3で設定可能であるので、必要な場合のみ、画像形成装置10に禁則処理を実行させることができる。
By such an operation of the
{第2実施形態}
本発明の第2実施形態に係る画像形成システム1Bは、第1実施形態に係る画像形成システム1Aと類似の構成を有している。したがって、図1〜図3についての第1実施形態の説明は、第2実施形態についてもほぼ当てはまる。
{Second Embodiment}
An image forming system 1B according to the second embodiment of the present invention has a configuration similar to that of the
しかし、第2実施形態においては、図7のフローチャートの禁則処理が画像形成装置10ではなく、パーソナルコンピュータ20にインストールされたプリンタドライバ207bで実行されている点と、図4〜図6に示す禁則処理設定画面SC1、手動処理設定画面SC2及び置換処理設定画面SC3が、パーソナルコンピュータ20の表示部206に表示され、操作部205を用いたGUI操作により選択肢の選択が可能になっている点とが、第1実施形態と異なっている。
However, in the second embodiment, the prohibition process in the flowchart of FIG. 7 is executed not by the
このようなプリンタドライバ207bによっても、テキストデータの印刷を行った場合でも禁則を回避可能であるとともに、禁則処理の許可又は不許可を禁則処理設定画面SC1、手動処理設定画面SC2及び置換処理設定画面SC3で設定可能であるので、必要な場合のみ、画像形成装置10に禁則処理を実行させることができる。
Even with such a
{変形例}
上述の実施形態では、「々」「ゝ」等の繰り返し記号が行頭にある場合の禁則処理は、「々」「ゝ」等の繰り返し記号を直前の文字で置換する置換処理であったが、「々」「ゝ」等の繰り返し記号を前の行の行末へ移動する処理や、「々」「ゝ」等の繰り返し記号の直前の文字を次の行の行頭へ移動する処理であってもよい。また、繰り返し記号を含む単語が地名等の固有名詞である場合に置換処理を禁止することも妨げられない。
{Modifications}
In the above-described embodiment, the forbidden process when a repeated symbol such as “people” or “ゝ” is at the beginning of the line is a replacement processing for replacing the repeated symbol such as “people” or “ゝ” with the immediately preceding character. Even if it is a process to move the repetition symbol such as “people” or “ゝ” to the end of the previous line, or a process to move the character immediately before the repetition symbol such as “people” or “ゝ” to the beginning of the next line Good. Also, prohibiting the replacement process when a word including a repetition symbol is a proper noun such as a place name is not prevented.
1A,1B 画像形成システム
10 画像形成装置
20 パーソナルコンピュータ
30 ネットワーク
105 RIP
207a アプリケーション
207b プリンタドライバ
SC1 禁則処理設定画面
SC2 手動処理設定画面
SC3 置換処理設定画面
1A, 1B
Claims (4)
所定の改行規則にしたがって、前記印刷データに含まれるプレインテキストデータを印刷した場合の行頭文字を特定する特定手段と、
前記行頭文字が繰り返し記号に該当するか否かを判定する禁則判定手段と、
前記プレインテキストデータのフォント指定が等幅フォントであるか否かを判定するフォント判定手段と、
前記禁則判定手段により前記行頭文字が繰り返し記号に該当すると判定され、前記フォント判定手段により前記プレインテキストデータのフォント指定が等幅フォントであると判定された場合に、行頭の繰り返し記号を直前の文字で置換する置換処理を実行する禁則処理手段と、
を備えることを特徴とする画像形成装置。 An image forming apparatus that performs printing according to print data,
A specifying means for specifying a bullet when printing plain text data included in the print data according to a predetermined line feed rule;
A prohibition judging means for judging whether or not the bullet corresponds to a repetition symbol ;
Font determining means for determining whether the font designation of the plain text data is a monospaced font;
Wherein the prohibition determining means is determined that the bullet corresponds to the repetition symbol if the font specification of the plain text data is determined to be a monospace font by the font determining part, the beginning of the repetition symbols preceding character A prohibition processing means for executing a replacement process to be replaced with,
An image forming apparatus comprising:
前記置換処理の許可条件を設定可能であることを特徴とする画像形成装置。 The image forming apparatus according to claim 1,
An image forming apparatus, wherein permission conditions for the replacement process can be set .
前記置換処理の実行の許可又は不許可を前記置換処理の対象となりうる部分ごとに設定可能であることを特徴とする画像形成装置。 The image forming apparatus according to claim 1, wherein:
An image forming apparatus , wherein permission or disapproval of execution of the replacement process can be set for each portion that can be the target of the replacement process .
所定の改行規則にしたがって、前記印刷データに含まれるプレインテキストデータを印刷した場合の行頭文字を特定する特定手順と、A specific procedure for specifying a bullet when printing plain text data included in the print data according to a predetermined line feed rule;
前記行頭文字が繰り返し記号に該当するか否かを判定する禁則判定手順と、A forbidden determination procedure for determining whether the bullet corresponds to a repeated symbol; and
前記プレインテキストデータのフォント指定が等幅フォントであるか否かを判定するフォント判定手順と、A font determination procedure for determining whether the font designation of the plain text data is a monospaced font;
前記禁則判定手順において前記行頭文字が繰り返し記号に該当すると判定され、前記フォント判定手順において前記プレインテキストデータのフォント指定が等幅フォントであると判定された場合に、行頭の繰り返し記号を直前の文字で置換する置換処理を実行する禁則処理手順と、If it is determined in the prohibition determination procedure that the bullet character corresponds to a repeated symbol, and the font determination procedure determines that the font designation of the plain text data is a monospaced font, the repeated character at the beginning of the line is changed to the immediately preceding character. A forbidden processing procedure for executing the replacement processing to be replaced with,
を実行させることを特徴とするプログラム。A program characterized by having executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005122224A JP4059256B2 (en) | 2005-04-20 | 2005-04-20 | Image forming apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005122224A JP4059256B2 (en) | 2005-04-20 | 2005-04-20 | Image forming apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006301916A JP2006301916A (en) | 2006-11-02 |
JP4059256B2 true JP4059256B2 (en) | 2008-03-12 |
Family
ID=37470132
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005122224A Expired - Fee Related JP4059256B2 (en) | 2005-04-20 | 2005-04-20 | Image forming apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4059256B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6142591B2 (en) * | 2013-03-13 | 2017-06-07 | 株式会社リコー | Prohibition processing program, prohibition processing device, prohibition processing method, and printing system |
-
2005
- 2005-04-20 JP JP2005122224A patent/JP4059256B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006301916A (en) | 2006-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4259561B2 (en) | Print control apparatus and program | |
JP4329822B2 (en) | Control device, control method, and control program | |
JP5014284B2 (en) | Image processing apparatus, image processing method, and program | |
JP4890990B2 (en) | Image processing apparatus, control method and program for the image processing apparatus | |
EP2367109A2 (en) | Information processing system, information processing apparatus, cooperative job execution method, and non-transitory computer-readable recording medium encoded with cooperative job execution program | |
US11341597B2 (en) | Image processing method, image processing apparatus, and storage medium | |
KR100556652B1 (en) | Image processing device, image processing method, and recording medium | |
US8422054B2 (en) | Remote copy system, image forming apparatus, control method therefor, and storage medium | |
JP5147583B2 (en) | Image processing apparatus and method | |
JP2007013288A (en) | Image forming apparatus and image forming system | |
JP4942688B2 (en) | Image forming apparatus, print preview image display program | |
US8248635B2 (en) | Image editing apparatus, image editing method, image processing apparatus, and method for controlling image processing apparatus | |
JP4059256B2 (en) | Image forming apparatus and program | |
JP4323742B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
JP2008194888A (en) | Printing apparatus, its controlling method, program and storing medium | |
US8269986B2 (en) | Image processing apparatus and image processing method | |
KR100370202B1 (en) | Printer and method of processing print data thereof | |
JP4433055B2 (en) | Image forming method, image forming program, and image forming apparatus | |
JP2007122687A (en) | Print processing system and program | |
JP2008134817A (en) | Printing system, printing control device and program | |
JP2011254479A (en) | Image formation device | |
US10671897B2 (en) | Image processing apparatus | |
JP4992737B2 (en) | Image reading device | |
JP4646876B2 (en) | Print data generator | |
JP2003271335A (en) | Printer and print method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070824 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070828 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071029 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20071029 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20071127 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071210 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101228 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101228 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111228 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121228 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131228 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131228 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |