WO2013129138A1 - 印刷データ処理装置、非一時的記録媒体、及び画像形成装置 - Google Patents

印刷データ処理装置、非一時的記録媒体、及び画像形成装置 Download PDF

Info

Publication number
WO2013129138A1
WO2013129138A1 PCT/JP2013/053688 JP2013053688W WO2013129138A1 WO 2013129138 A1 WO2013129138 A1 WO 2013129138A1 JP 2013053688 W JP2013053688 W JP 2013053688W WO 2013129138 A1 WO2013129138 A1 WO 2013129138A1
Authority
WO
WIPO (PCT)
Prior art keywords
analysis
print data
unit
text
data processing
Prior art date
Application number
PCT/JP2013/053688
Other languages
English (en)
French (fr)
Inventor
登志洋 世古
Original Assignee
京セラドキュメントソリューションズ株式会社
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 京セラドキュメントソリューションズ株式会社 filed Critical 京セラドキュメントソリューションズ株式会社
Priority to US14/380,695 priority Critical patent/US9864935B2/en
Priority to CN201380010604.8A priority patent/CN104136225B/zh
Priority to EP13754809.5A priority patent/EP2821233B1/en
Publication of WO2013129138A1 publication Critical patent/WO2013129138A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1827Accessing generic data, e.g. fonts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • G06F3/1248Job translation or job parsing, e.g. page banding by printer language recognition, e.g. PDL, PCL, PDF
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1801Input data handling means
    • G06K15/181Receiving print data characterized by its formatting, e.g. particular page description languages

Definitions

  • the present invention relates to a print data processing apparatus that analyzes print data, a non-temporary recording medium, and an image forming apparatus.
  • print data When printing a document or image created on a computer, print data is generated in a predetermined PDL (Page Description Language) and output to the printer to instruct printing. Is common.
  • PDL Physical Description Language
  • print data can be analyzed by a PDL analysis unit (print data processing device) and output by printing through a drawing process (a process for forming a drawn image) or the like.
  • Switching of the PDL analysis unit has been supported by performing emulation automatically based on print data or by setting the PDL of the printer main body from the operation panel.
  • Garbage output means that print data information is printed as text. Garbage output is often large because the PDL analysis unit analyzes until the end of the print data.
  • Patent Document 1 discloses a technique for switching to another PDL analysis unit when an error occurs in any of a plurality of PDL analysis units.
  • the problem to be solved by the present invention is that error page output cannot be suppressed unless the print data processing apparatus is switched.
  • the print data processing apparatus of the present invention includes an analysis processing unit capable of analyzing print data in a specific language, and a code outside the character allocation range during text processing based on a character code group at the time of analysis by the analysis processing unit.
  • a text counter that counts the number of processes, and an interrupting unit that interrupts the analysis of the print data when the count at the text counter exceeds a predetermined first threshold value.
  • the storage medium of the present invention is a computer-readable non-transitory recording medium that records a print data processing program, and the print data processing program can analyze the print data in a specific language on the computer.
  • a text count procedure for counting the number of codes processed outside the character allocation range during text processing based on a character code group, and a count number in the text count procedure is a predetermined first
  • the image forming apparatus of the present invention includes a print data processing device and an output engine unit that outputs the print data analyzed by the print data processing device by printing.
  • the print data processing apparatus includes: an analysis processing unit capable of analyzing print data in a specific language; and processing of codes outside a character allocation range during text processing based on a character code group at the time of analysis by the analysis processing unit A text counter that counts the number, and an interruption unit that interrupts the analysis of the print data when the count value of the text counter exceeds a predetermined first threshold.
  • FIG. 2 is a block diagram showing a schematic configuration of a main part of an image forming apparatus having a PDL analysis unit. It is a block diagram which shows the structure of the PDL analysis part of FIG. It is a figure which shows the table
  • This object is realized by interrupting the analysis of the print data when the number of processed codes outside the character allocation range reaches a predetermined first threshold during text processing based on the character code group.
  • the present invention is applied to an image forming apparatus having a plurality of print data processing apparatuses.
  • application to an image forming apparatus having only a single print data processing apparatus is also possible.
  • FIG. 1 is a block diagram illustrating a schematic configuration of a main part of an image forming apparatus having a PDL analysis unit according to an embodiment of the present invention.
  • the image forming apparatus 1 includes at least a printer such as a digital multifunction peripheral having a function of outputting by printing.
  • the image forming apparatus 1 performs output by printing based on the input PDL data as print data.
  • the image forming apparatus 1 according to the present embodiment includes a data acquisition unit 3, an operation panel 5, and a control unit 9.
  • the data acquisition unit 3 is an interface that receives PDL (Page Description Language) data from other devices.
  • PDL Peage Description Language
  • the operation panel 5 includes a touch panel type liquid crystal display screen.
  • the operation panel 5 displays an operation input to the image forming apparatus 1 and an operation status.
  • the control unit 9 is a control element such as a CPU (Central Process Unit).
  • the control unit 9 is a ROM (Read A program in a storage unit (not shown) such as a “Only Memory” or a hard disk is executed to perform various controls and operations of the image forming apparatus 1.
  • control unit 9 executes a print data processing program in the storage unit.
  • the control unit 9 includes a PDL switching unit 11, PDL analysis units 13 a, 13 b, 13 c... 13 n as a plurality of print data processing apparatuses, a device control unit 15, and a drawing processing unit 17 as functional configurations.
  • the PDL switching unit 11 switches the PDL analysis units 13a, 13b, 13c,.
  • the PDL switching unit 11 performs fixed switching of the PDL analysis unit by setting from the operation panel 5.
  • the PDL switching unit 11 analyzes the header of the input PDL data and selectively switches to the corresponding PDL analysis unit.
  • PDL analysis units 13a, 13b, 13c,... 13n correspond to different PDLs.
  • the PDL analysis units 13a, 13b, 13c,... 13n read and analyze the PDL data upon activation.
  • Each PDL analysis unit generates intermediate data from the analyzed PDL data and outputs the intermediate data to the drawing processing unit 17. Details of the PDL analysis units 13a, 13b, 13c,... 13n will be described later.
  • the drawing processing unit 17 performs a drawing process for forming a bitmap drawing image from the input intermediate data according to a command from the PDL analyzing units 13a, 13b, 13c,. From the drawn image, a final output image is formed through screen processing or the like. The output image is output by printing by the output engine unit.
  • the device control unit 15 sets a device such as a tray used for printing output according to a command from the PDL analysis units 13a, 13b, 13c,.
  • FIG. 2 is a block diagram showing a configuration of the PDL analysis unit of FIG.
  • the PDL analysis units 13a, 13b, 13c,... 13n have the same functional configuration except for the corresponding PDL. Therefore, only the details of the PDL analysis unit 13a will be described.
  • the PDL analyzing unit 13a performs processing of codes outside the character allocation range (hereinafter referred to as “out-of-range code”) more than normal analysis processing during text processing based on a character code table (character code group) of PDL data. If there are many, there is an analysis error and the analysis process is interrupted.
  • the analysis error in this embodiment is determined by the PDL analysis unit 13a analyzing PDL data of non-compatible PDL. That is, when non-compatible PDL data is analyzed, the appearance rate of out-of-range codes increases because the information of the PDL data is processed as text as it is. An analysis error occurs due to an increase in the appearance rate of out-of-range codes.
  • the PDL analysis unit 13 a includes an analysis processing unit 19, a text counter 21, an interruption unit 23, a command counter 25, a reset unit 27, an error display unit 29, and a selection unit 31.
  • the analysis processing unit 19 reads and analyzes PDL data.
  • the analysis processing unit 19 can analyze PDL data based on specific PDL (corresponding PDL).
  • the analysis processing unit 19 performs text processing based on the character code table for the character code of the PDL data at the time of analysis.
  • the analysis processing unit 19 performs processing (for example, image processing) other than text processing on a specific command (for example, start command for image processing) through command processing (for example, start of image processing).
  • a specific command for example, start command for image processing
  • command processing for example, start of image processing.
  • the character code table there are various character code tables such as Shift_JIS and ASCII. This embodiment will be described using the ASCII code table shown in FIG.
  • FIG. 3 is a diagram showing a table of ASCII codes.
  • the text counter 21 counts the number of out-of-range codes processed during text processing during PDL data analysis.
  • 0x00 to 0x1F are control codes, and no characters are assigned.
  • no character is assigned to 0 ⁇ 80 and subsequent characters.
  • these codes are out-of-range codes.
  • the text counter 21 counts the number of processed out-of-range codes.
  • the interruption unit 23 interrupts the analysis on the PDL data when the count number in the text counter 21 reaches a predetermined first threshold value.
  • the first threshold is set in a range in which it can be detected that the number of out-of-range codes is larger than that in the normal analysis processing.
  • the first threshold can be set to 100, for example.
  • the first threshold value is arbitrary and can be appropriately changed according to the processing speed of the analysis processing unit 19 and the PDL.
  • the command counter 25 counts the number of command processes during PDL data analysis.
  • the reset unit 27 resets the count number of the text counter 21 when the count number of the command counter 25 reaches a predetermined second threshold value. That is, the reset unit 27 is configured to reset the count number of the text counter 21 in the case of normal analysis processing.
  • Judgment that it is normal analysis processing is based on the fact that there is a high possibility that the PDL data and the PDL analysis unit 13a correspond to each other when command processing (command execution) can be performed.
  • the second threshold value of the reset unit 27 can be determined as normal analysis processing if command processing is performed even once. Therefore, the second threshold value of the reset unit 27 can be set to 1 or more. However, the second threshold value of the reset unit 27 is, for example, about 20 in consideration of the error range and the processing speed of the analysis processing unit 19.
  • the error display unit 29 displays an analysis error on the operation panel 5 of the image forming apparatus 1 when the analysis of PDL data is interrupted.
  • the selection unit 31 causes the operation panel 5 to select the suspension or continuation of the suspended analysis according to the display of the analysis error by the error display unit 29.
  • FIG. 4 is a flowchart showing PDL data analysis processing (analysis procedure) by the PDL analysis unit.
  • the flowchart of FIG. 4 starts when the PDL switching unit 11 activates any of the PDL analysis units 13a, 13b, 13c,... 13n in accordance with the setting on the operation panel 5 of FIG.
  • step S1 the analysis processing unit 19 reads PDL data. That is, the analysis processing unit 19 of the activated PDL analysis unit reads the PDL data and starts analysis. Thereby, a process transfers to step S2.
  • step S2 the command counter 25 determines whether text processing is being performed. In this processing, the command counter 25 detects whether or not the PDL data command processing has been performed by the analysis processing unit 19.
  • step S3 If no command processing is performed, text processing of PDL data is performed (YES), and the process proceeds to step S3. On the other hand, if command processing is performed, processing other than text processing based on the command processing is performed (NO), and the process proceeds to command processing.
  • step S3 the text counter 21 determines whether the code is out of range (text counting procedure). In this process, the text counter 21 detects whether the character code being processed is an out-of-range code.
  • the out-of-range code is a code from 0 ⁇ 00 to 0 ⁇ 1F or a code after 0 ⁇ 80.
  • step S4 If the code is out of range (YES), the process proceeds to step S4. If the code is not out of range (code within range) (NO), the process proceeds to step S6.
  • step S4 the text counter 21 counts out-of-range codes (text counting procedure). In this process, out-of-range codes detected by the text counter 21 are counted. Then, the process proceeds to step S5.
  • step S5 the interruption unit 23 determines whether or not the out-of-range code count is equal to or less than the first threshold (interruption procedure). In this process, the interruption unit 23 determines whether or not the count number by the text counter 21 is equal to or less than a predetermined first threshold value. If it is less than or equal to the first threshold, the process proceeds to step S6. If it exceeds the first threshold, the process proceeds to step S7.
  • step S6 the drawing processing unit 17 performs drawing processing. That is, the analysis processing unit 19 performs processing for generating intermediate data for the character code being processed. The drawing processing unit 17 generates a bitmap format image based on the intermediate data.
  • step S7 the interruption unit 23 interrupts the analysis (interruption procedure). That is, since the interruption unit 23 determines that an analysis error has occurred in which the number of out-of-range codes is larger than that in the normal analysis process, the analysis unit 19 interrupts the analysis process on the PDL data. Thereby, the process of step S7 is completed and a process transfers to step S8.
  • step S8 the error display unit 29 determines whether or not the job has been canceled (error display procedure and selection procedure). In this process, the error display unit 29 displays an analysis error of PDL data on the operation panel 5 of the image forming apparatus 1. In response to this, the selection unit 31 causes the user to select whether to stop or continue the interrupted analysis process on the operation panel 5.
  • step S6 the process proceeds to step S6 according to the user's intention. Then, drawing processing is performed.
  • FIG. 5 is a flowchart showing command processing.
  • the flowchart of FIG. 5 starts by moving from step S2 of FIG. 4 to command processing.
  • step S21 the command counter 25 counts commands. In this processing, the command processing detected by the command counter 25 is counted. Then, the process proceeds to step S22.
  • step S22 the reset unit 27 determines whether or not the command count number is equal to or smaller than the second threshold value. In this process, the reset unit 27 determines whether or not the count number by the command counter 25 is equal to or less than a predetermined second threshold value.
  • step S6 the drawing process is performed based on the command process.
  • step S23 the process proceeds to step S23.
  • step S23 the reset unit 27 resets the count number of out-of-range codes. That is, the reset unit 27 determines that it is a normal analysis process and resets the count number of the text counter 21. Thereby, even if the out-of-range code is counted during the next text processing, the analysis processing can be prevented from being interrupted by mistake.
  • the PDL analysis unit 13a (13b, 13c... 13n) of the present embodiment includes an analysis processing unit 19 that can analyze PDL data of a specific PDL, and a text based on a character code table at the time of analysis by the analysis processing unit 19.
  • a text counter 21 that counts the number of codes that are out of the character allocation range (out-of-range code) during processing, and the analysis of the PDL data is interrupted when the count at the text counter 21 exceeds a predetermined first threshold.
  • the interruption part 23 to be provided is provided.
  • the interruption unit 23 determines that an analysis error having more out-of-range codes than in the normal analysis processing has occurred when the number of out-of-range codes processed exceeds the first threshold.
  • the interruption unit 23 can interrupt the analysis process for the PDL data of the analysis processing unit 19. By interrupting the analysis process by the interrupt unit 23 based on the number of out-of-range codes, error page output such as garbage output can be suppressed without switching the PDL analysis unit.
  • the PDL analysis unit 13a of the present embodiment includes a command counter 25 that counts the number of processed PDL data commands at the time of analysis, and a text counter 21 when the count number at the command counter 25 exceeds a predetermined second threshold. And a reset unit 27 for resetting the count number.
  • the reset unit 27 determines that the analysis process is a normal analysis process when the number of processed PDL data commands exceeds a predetermined second threshold. Then, the reset unit 27 can reset the count number of the text counter 21. For this reason, even if an out-of-range code is counted during the next text processing, the analysis processing can be prevented from being interrupted by mistake, and the processing can be facilitated.
  • the PDL analysis unit 13a of the present embodiment includes a selection unit 31 that selects whether to stop or continue the analysis of the interrupted PDL data.
  • the analysis of the PDL data is finally stopped and the error page output can be surely suppressed, and the error page output can be performed according to the intention of the user.
  • the convenience for the user can be improved.
  • an error display unit 29 that displays an analysis error when analysis of PDL data is interrupted is provided, and the selection unit 31 selects whether to stop or continue according to the error display.
  • the print data processing program executed by the computer may be stored (recorded) non-temporarily on a computer-readable recording medium, such as a computer ROM, hard disk, external storage device, or portable recording medium.
  • a computer-readable recording medium such as a computer ROM, hard disk, external storage device, or portable recording medium.
  • the external storage device is a memory expansion device that incorporates a storage medium such as a CD-ROM (Compact disk-Read only memory) and is externally connected to an electronic device.
  • the portable recording medium is a recording medium that can be mounted on a recording medium driving device (drive device) and is portable, and includes, for example, a flexible disk, a memory card, a magneto-optical disk, and the like.
  • the program recorded on the recording medium is loaded into RAM of a computer etc., and is performed by CPU (control part). This execution realizes the function of the computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

 特定PDLのPDLデータを解析可能な解析処理部19と、解析処理部19での解析時において、文字コード表に基づくテキスト処理中に文字の割り当て範囲外のコードの処理数をカウントするテキストカウンター21と、テキストカウンター21でのカウント数が所定の第1閾値を超えたときにPDLデータに対する解析を中断する中断部23とを備えたことを特徴とする。

Description

印刷データ処理装置、非一時的記録媒体、及び画像形成装置
 本発明は、印刷データを解析する印刷データ処理装置、非一時的記録媒体、及び画像形成装置に関する。
 コンピューター上で作成された文書や画像等を印刷する際には、所定のPDL(Page Description Language:ページ記述言語)による印刷データを生成し、これをプリンター側に出力することで印刷を指示することが一般的である。プリンターでは、印刷データをPDL解析部(印刷データ処理装置)により解析し、描画処理(描画の画像を形成する処理)等を通じて印刷により出力を行うことができる。
 印刷データに用いられるPDLとしては、PostScriptやPCL(Printer Control Language)等が主流であった。しかし、近年、電子文書フォーマットであるPDF(Portable Document Format)、マークアップ言語のHTML(HyperText
Markup Language)及びXML(Extensible Markup Language)に加え、新たな電子文書フォーマットであるXPS(XML Paper Specification)等も用いられるようになっている。
 このように多種のPDLが存在する状況においては、各PDLに対応する複数のPDL解析部を用意しておき、これを印刷データのPDLに応じて切り替える必要がある。
 PDL解析部の切り替えは、印刷データに基づいて自動的に行うことや、プリンター本体のPDLを操作パネルから設定することで、エミュレーションを行うことにより対応してきた。
 しかし、操作パネルからプリンター本体のPDLを設定する場合には、解析可能なPDLが固定される。しかし、それ以外のPDLによる印刷データに対しては、解析エラーが生じることになる。
 解析エラーが生じた場合は、ガベージ出力等を生じさせる。ガベージ出力とは、印刷データの情報が、テキストとしてそのまま印字されることである。ガベージ出力は、PDL解析部が印刷データの終わりまで解析を行うことで、大量になることが多い。
 これに対し、特許文献1には、複数のPDL解析部の何れかでエラーが生じた場合に、他のPDL解析部に切り替える技術が開示されている。
 しかし、この技術は、PDL解析部が固定されている場合にまで適用することはできない。すなわち、この技術においては、PDL解析部を切り替えない場合には、ガベージ出力等のエラーページの出力を抑制することができないという問題があった。
特開2003-280839号公報
 本発明が解決しようとする課題は、印刷データ処理装置を切り替えないと、エラーページの出力を抑制できないことである。
 本発明の印刷データ処理装置は、特定言語の印刷データを解析可能な解析処理部と、前記解析処理部での解析時において、文字コード群に基づくテキスト処理中に、文字の割り当て範囲外のコードの処理数をカウントするテキストカウンターと、前記テキストカウンターでのカウント数が所定の第1閾値を超えたときに前記印刷データに対する解析を中断する中断部とを備えたことを特徴とする。
 本発明の記憶媒体は、印刷データ処理プログラムを記録する、コンピューターで読取可能な非一時的記録媒体であって、前記印刷データ処理プログラムは、コンピューターに、特定言語の印刷データを解析可能な解析処理手順と、前記解析処理手順において、文字コード群に基づくテキスト処理中に、文字の割り当て範囲外のコードの処理数をカウントするテキストカウント手順と、前記テキストカウント手順でのカウント数が所定の第1閾値を超えたときに前記印刷データに対する解析を中断する中断手順と、を実行させる。
 本発明の画像形成装置は、印刷データ処理装置と、前記印刷データ処理装置により解析された印刷データを印刷により出力する出力エンジン部と、を備える。前記印刷データ処理装置は、特定言語の印刷データを解析可能な解析処理部と、前記解析処理部での解析時において、文字コード群に基づくテキスト処理中に、文字の割り当て範囲外のコードの処理数をカウントするテキストカウンターと、前記テキストカウンターでのカウント数が所定の第1閾値を超えたときに前記印刷データに対する解析を中断する中断部と、を備える。
PDL解析部を有する画像形成装置の要部の概略の構成を示すブロック図である。 図1のPDL解析部の構成を示すブロック図である。 ASCIIコードの表を示す図である。 PDL解析部によるPDLデータの解析処理を示すフローチャートである。 コマンド処理を示すフローチャートである。
 印刷データ処理装置を切り替えなくてもエラーページ出力を抑制することができるという目的を、次のことで実現した。すなわち、この目的について、文字コード群に基づくテキスト処理中に、文字の割り当て範囲外のコードの処理数が所定の第1閾値に達したときに、印刷データに対する解析を中断させることで実現した。
 実施形態としては、複数の印刷データ処理装置を有する画像形成装置へ適用をしている。しかし、単一の印刷データ処理装置のみを有する画像形成装置へ適用することも可能である。
 以下、本発明の実施形態について、図面を参照して説明する。
[画像形成装置]
 図1は本発明の実施形態に係り、PDL解析部を有する画像形成装置の要部の概略の構成を示すブロック図である。
 図1の画像形成装置1は、少なくとも印刷により出力する機能を有するデジタル複合機等のプリンターからなる。画像形成装置1は、入力された印刷データとしてのPDLデータに基づいて、印刷により出力を行うものである。本実施形態の画像形成装置1は、データ取得部3と、操作パネル5と、制御部9とを備えている。
 データ取得部3は、他の機器からのPDL(Page Description Language:ページ記述言語)データを受信するインターフェースである。
 操作パネル5は、タッチパネル式の液晶表示画面等からなる。操作パネル5は、画像形成装置1に対する操作入力や、操作状況等の表示を行わせる。
 制御部9は、CPU(Central Process Unit)等の制御要素である。制御部9は、ROM(Read
Only Memory)やハードディスク等の記憶部(図示せず)内のプログラムを実行して、画像形成装置1の各種制御や作業を行わせる。
 本実施形態では、制御部9は、記憶部の印刷データ処理プログラムを実行する。制御部9は、機能構成として、PDL切替部11、複数の印刷データ処理装置としてのPDL解析部13a,13b,13c・・・13n、デバイス制御部15、及び、描画処理部17を備える。
 PDL切替部11は、PDL解析部13a,13b,13c・・・13nを切り替えて起動させる。このPDL切替部11は、操作パネル5からの設定により、PDL解析部の固定的な切り替えを行う。また、PDL切替部11は、入力されたPDLデータのヘッダーを解析して、対応するPDL解析部に選択的に切り替える。
 PDL解析部13a,13b,13c・・・13nは、それぞれ異なるPDLに対応する。PDL解析部13a,13b,13c・・・13nは、起動によりPDLデータを読み込んで解析する。各PDL解析部は、解析したPDLデータから中間データを生成して、描画処理部17に出力する。なお、PDL解析部13a,13b,13c・・・13nの詳細については後述する。
 描画処理部17は、PDL解析部13a,13b,13c・・・13nからの命令により、入力された中間データからビットマップ形式の描画の画像を形成する描画処理を行う。描画の画像からは、スクリーン処理等を通じて、最終的な出力画像が形成される。出力画像は、出力エンジン部によって印刷により出力される。
 デバイス制御部15は、PDL解析部13a,13b,13c・・・13nからの命令により、印刷の出力に用いられるトレイ等のデバイスを設定する。
[PDL解析部]
 図2は、図1のPDL解析部の構成を示すブロック図である。なお、PDL解析部13a,13b,13c・・・13nは、対応するPDLが異なるだけで、その機能構成は共通している。このため、PDL解析部13aについてのみ詳細を説明する。
 PDL解析部13aは、PDLデータの文字コード表(文字コード群)に基づくテキスト処理中に、通常の解析処理よりも文字の割り当て範囲外のコード(以下、「範囲外コード」という)の処理数が多い場合、解析エラーがあったものとして解析処理を中断させるようになっている。
 本実施形態での解析エラーは、PDL解析部13aが非対応のPDLのPDLデータを解析することにより判断される。すなわち、非対応のPDLデータが解析される場合には、PDLデータの情報がそのままテキストとして処理される等により、範囲外コードの出現率は増加する。そして、範囲外コードの出現率の増加により、解析エラーとなる。
 PDL解析部13aは、解析処理部19と、テキストカウンター21と、中断部23と、コマンドカウンター25と、リセット部27と、エラー表示部29と、選択部31とを備えている。
 解析処理部19は、PDLデータを読み込んで解析するものである。解析処理部19においては、特定PDL(対応するPDL)によるPDLデータが解析可能となっている。
 解析処理部19は、解析時には、PDLデータの文字コードに対して、文字コード表に基づくテキスト処理を行う。解析処理部19は、特定のコマンド(例えばイメージ処理の開始コマンド)に対して、その実行であるコマンド処理(例えばイメージ処理の開始)を通じてテキスト処理以外の処理(例えばイメージ処理)を行う。なお、文字コード表としては、Shift_JISやASCII等の各種の文字コード表がある。本実施形態では、図3に示すASCIIコードの表を用いて説明する。図3は、ASCIIコードの表を示す図である。
 テキストカウンター21は、PDLデータ解析時のテキスト処理中に、範囲外コードの処理数をカウントする。
 図3のASCIIコードの表では、0×00~0×1Fまでがコントロールコードであり、文字が割り当てられていない。このASCIIコードの表では、0×80以降についても文字が割り当てられていない。
 従って、本実施形態では、これらのコードは、範囲外コードとなっている。テキストカウンター21は、その範囲外コードの処理数をカウントする。
 中断部23は、テキストカウンター21でのカウント数が所定の第1閾値に達したときに、PDLデータに対する解析を中断する。第1閾値は、上記のように、通常の解析処理よりも範囲外コードの処理数が多いことを検出できる範囲で設定される。第1閾値を、例えば100等にすることができる。ただし、第1閾値は、任意であり、解析処理部19の処理速度やPDLに応じて適宜変更できる。
 コマンドカウンター25は、PDLデータ解析時のコマンド処理の処理数をカウントする。
 リセット部27は、コマンドカウンター25でのカウント数が所定の第2閾値に達したときに、テキストカウンター21のカウント数をリセットする。すなわち、リセット部27は、通常の解析処理である場合には、テキストカウンター21のカウント数をリセットするようにしている。
 通常の解析処理であるとの判断は、コマンド処理(コマンドの実行)を行うことができた場合に、PDLデータとPDL解析部13aとが対応している可能性が高いことに基づく。
 例えば、イメージの処理を行おうとすると、イメージの処理を開始するためのコマンドが必要となる。そのコマンドが実行できたということは、PDLデータを正しく処理できていることになる。そのため、そのコマンドが実行できたということは、PDLデータとPDL解析部との組み合わせに間違いがある可能性が低くなる。
 リセット部27の第2閾値は、コマンド処理が一度でも行われれば、通常の解析処理であると判断することが可能である。そのため、リセット部27の第2閾値を1以上に設定することができる。ただし、リセット部27の第2閾値は、誤差の範囲や解析処理部19の処理速度を考慮して、例えば20程度とする。
 エラー表示部29は、PDLデータの解析中断時に、画像形成装置1の操作パネル5に解析エラーを表示する。
 選択部31は、エラー表示部29による解析エラーの表示に応じて、中断した解析の中止又は続行を操作パネル5上で選択させる。
[PDL解析部の動作]
 図4は、PDL解析部によるPDLデータの解析処理(解析手順)を示すフローチャートである。
 図4のフローチャートは、図1の操作パネル5での設定に応じて、PDL切替部11がPDL解析部13a,13b,13c・・・13nの何れかを起動することでスタートする。
 ステップS1では、解析処理部19により、PDLデータの読み込みが行われる。すなわち、起動されたPDL解析部の解析処理部19は、PDLデータを読み込んで、解析を始める。これにより、処理はステップS2へ移行する。
 ステップS2では、コマンドカウンター25により、テキスト処理が行われているか否かが判定される。この処理では、コマンドカウンター25は、解析処理部19でPDLデータのコマンド処理が行われたか否かを検出する。
 コマンド処理が行われていない場合は、PDLデータのテキスト処理が行われていることになり(YES)、処理はステップS3へ移行する。一方、コマンド処理が行われた場合は、それに基づくテキスト処理以外の処理が行われるので(NO)、コマンド処理へ移行する。
 ステップS3では、テキストカウンター21により、範囲外コードであるか否かが判定される(テキストカウント手順)。この処理では、テキストカウンター21が、テキスト処理中の文字コードについて、範囲外コードか否かを検出する。範囲外コードは、0×00~0×1Fのコード又は0×80以降のコードである。
 範囲外コードである場合(YES)は、処理はステップS4へ移行する。範囲外コード以外(範囲内のコード)である場合(NO)は、処理はステップS6へ移行する。
 ステップS4では、テキストカウンター21により、範囲外コードのカウントが行われる(テキストカウント手順)。この処理では、テキストカウンター21が検出した範囲外コードをカウントする。そして、処理はステップS5へ移行する。
 ステップS5では、中断部23により、範囲外コードカウント数が第1閾値以下であるか否かが判定される(中断手順)。この処理では、中断部23は、テキストカウンター21によるカウント数が所定の第1閾値以下であるか否かを判断する。第1閾値以下である場合は、処理はステップS6へ移行する。第1閾値を超える場合は、処理はステップS7へ移行する。
 ステップS6では、描画処理部17により、描画処理が行われる。すなわち、解析処理部19は、処理中の文字コードについて、中間データを生成する処理を行う。描画処理部17は、中間データに基づいてビットマップ形式の画像を生成する。
 一方、ステップS7では、中断部23により、解析の中断が行われる(中断手順)。すなわち、中断部23は、通常の解析処理よりも範囲外コードの処理数が多い解析エラーが生じていると判断しているため、解析処理部19のPDLデータに対する解析処理を中断する。これにより、ステップS7の処理が完了して、処理はステップS8へ移行する。
 ステップS8では、エラー表示部29により、ジョブがキャンセルされたか否かが判定される(エラー表示手順及び選択手順)。この処理では、エラー表示部29は、PDLデータの解析エラーを画像形成装置1の操作パネル5に表示する。これに応じ、選択部31は、操作パネル5上で、中断した解析処理の中止又は継続をユーザーに選択させる。
 ユーザーが中止を選択した場合(YES)は、PDLデータによる印刷ジョブを中止して(解析処理を中止して)、図4のフローチャートの処理が終了する。これにより、ガベージ出力等のエラーページ出力が出力されることを抑制することができる。
 一方、続行が選択された場合は(NO)は、ユーザーの意向に応じて、処理はステップS6へ移行する。そして、描画処理が行われることになる。
 図5は、コマンド処理を示すフローチャートである。
 図5のフローチャートは、図4のステップS2からコマンド処理へ移行することでスタートする。
 まず、ステップS21では、コマンドカウンター25により、コマンドのカウントが行われる。この処理では、コマンドカウンター25が検出したコマンド処理をカウントする。そして、処理はステップS22へ移行する。
 ステップS22では、リセット部27により、コマンドカウント数が第2閾値以下であるか否かが判定される。この処理では、リセット部27は、コマンドカウンター25によるカウント数が所定の第2閾値以下であるか否かを判断する。
 第2閾値以下である場合(NO)は、処理は図4のステップS6へ移行して、コマンド処理に基づいて描画処理が行われる。一方、第2閾値を超える場合(YES)は、処理はステップS23へ移行する。
 ステップS23では、リセット部27により、範囲外コードのカウント数のリセットが行われる。すなわち、リセット部27は、通常の解析処理であると判断して、テキストカウンター21のカウント数をリセットする。これにより、次のテキスト処理中に範囲外コードがカウントされたとしても、解析処理が誤って中断されることを防止できる。
 こうしてステップS23が完了し、処理は図4のステップS6へ移行して、コマンド処理に基づいて、描画処理が行われることになる。
[実施形態の効果]
 本実施形態のPDL解析部13a(13b,13c・・・13n)は、特定PDLのPDLデータを解析可能な解析処理部19と、解析処理部19での解析時において、文字コード表に基づくテキスト処理中に文字の割り当て範囲外のコード(範囲外コード)の処理数をカウントするテキストカウンター21と、テキストカウンター21でのカウント数が所定の第1閾値を超えたときにPDLデータに対する解析を中断する中断部23とを備えている。
 すなわち、本実施形態では、中断部23は、範囲外コードの処理数が第1閾値を超えたときに、通常の解析処理よりも範囲外コードが多い解析エラーが生じていると判断する。そして、中断部23は、解析処理部19のPDLデータに対する解析処理を中断することができる。範囲外コードの処理数に基づいて中断部23により解析処理が中断されることにより、PDL解析部を切り替えなくても、ガベージ出力等のエラーページ出力を抑制することができる。
 また、本実施形態のPDL解析部13aは、解析時にPDLデータのコマンドの処理数をカウントするコマンドカウンター25と、コマンドカウンター25でのカウント数が所定の第2閾値を超えたときにテキストカウンター21のカウント数をリセットするリセット部27とを備えている。
 すなわち、本実施形態では、リセット部27は、PDLデータのコマンドの処理数が所定の第2閾値を超えたときに、通常の解析処理であると判断する。そして、リセット部27は、テキストカウンター21のカウント数をリセットすることができる。このため、次のテキスト処理中に範囲外コードがカウントされたとしても、解析処理が誤って中断されることを防止でき、処理の円滑化を図ることができる。
 また、本実施形態のPDL解析部13aは、中断したPDLデータの解析の中止又は継続を選択させる選択部31を備えている。
 従って、本実施形態では、最終的にPDLデータの解析を中止してエラーページ出力を確実に抑制することができ、ユーザーの意向に応じてエラーページ出力を行わせることもできる。これにより、ユーザーの利便性を向上することができる。
 また、本実施形態においては、PDLデータに対する解析の中断時に解析のエラーを表示するエラー表示部29を備え、選択部31がエラーの表示に応じて中止又は継続の選択を行わせる。
 従って、本実施形態では、ユーザーに対して解析エラーが生じたことを確認させながら、解析の中止又は継続の選択を行わせることができる。これにより、選択の確実性を向上させつつ、ユーザーの利便性を向上することができる。
 また、コンピューターに実行させる印刷データ処理プログラムは、コンピューターで読み取り可能な記録媒体、例えば、コンピューターのROMやハードディスク、外部記憶装置または可搬記録媒体等に、非一時的に格納(記録)することができる。
 外部記憶装置とは、CD-ROM(Compact disk-Read only memory)等の記憶媒体を内蔵し、電子機器に外部接続されるメモリ増設装置をいう。可搬記録媒体とは、記録媒体駆動装置(ドライブ装置)に装着でき、かつ、持ち運び可能な記録媒体であって、たとえば、フレキシブルディスク,メモリカード,光磁気ディスク等をいう。
 そして、記録媒体に記録されたプログラムは、コンピューターのRAM等にロードされて、CPU(制御部)により実行される。この実行により、コンピューターの機能が実現される。

Claims (7)

  1.  特定言語の印刷データを解析可能な解析処理部と、
     前記解析処理部での解析時において、文字コード群に基づくテキスト処理中に、文字の割り当て範囲外のコードの処理数をカウントするテキストカウンターと、
     前記テキストカウンターでのカウント数が所定の第1閾値を超えたときに前記印刷データに対する解析を中断する中断部と、
     を備えたことを特徴とする印刷データ処理装置。
  2.  請求項1記載の印刷データ処理装置であって、
     前記解析時に前記特定言語によるコマンドの処理数をカウントするコマンドカウンターと、
     前記コマンドカウンターでのカウント数が所定の第2閾値を超えたときに前記テキストカウンターのカウント数をリセットするリセット部と、
     を備えたことを特徴とする印刷データ処理装置。
  3.  請求項1記載の印刷データ処理装置であって、
     前記中断した解析の中止又は継続を選択させる選択部を備えた、
     ことを特徴とする印刷データ処理装置。
  4.  請求項3記載の印刷データ処理装置であって、
     前記印刷データに対する解析の中断時に前記解析のエラーを表示するエラー表示部を備え、
     前記選択部は、前記エラーの表示に応じて前記選択を行わせる、
     ことを特徴とする印刷データ処理装置。
  5.  印刷データ処理プログラムを記録する、コンピューターで読取可能な非一時的記録媒体であって、
     前記印刷データ処理プログラムは、コンピューターに、
     特定言語の印刷データを解析可能な解析処理手順と、
     前記解析処理手順において、文字コード群に基づくテキスト処理中に、文字の割り当て範囲外のコードの処理数をカウントするテキストカウント手順と、
     前記テキストカウント手順でのカウント数が所定の第1閾値を超えたときに前記印刷データに対する解析を中断する中断手順と、
     を実行させる
    非一時的記録媒体。
  6.  印刷データ処理装置と、前記印刷データ処理装置により解析された印刷データを印刷により出力する出力エンジン部と、を備える画像形成装置であって、
     前記印刷データ処理装置は、
     特定言語の印刷データを解析可能な解析処理部と、
     前記解析処理部での解析時において、文字コード群に基づくテキスト処理中に、文字の割り当て範囲外のコードの処理数をカウントするテキストカウンターと、
     前記テキストカウンターでのカウント数が所定の第1閾値を超えたときに前記印刷データに対する解析を中断する中断部と、を備える、
    画像形成装置。
  7.  請求項6記載の画像形成装置であって、
     前記画像形成装置は、前記印刷データ処理装置を複数備える
    画像形成装置。
PCT/JP2013/053688 2012-02-29 2013-02-15 印刷データ処理装置、非一時的記録媒体、及び画像形成装置 WO2013129138A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US14/380,695 US9864935B2 (en) 2012-02-29 2013-02-15 Printing data processing device, non-transitory storage medium, and image forming apparatus
CN201380010604.8A CN104136225B (zh) 2012-02-29 2013-02-15 印刷数据处理装置、非暂时性记录介质以及图像形成装置
EP13754809.5A EP2821233B1 (en) 2012-02-29 2013-02-15 Print data processing device, non-temporary recording medium, and image-forming device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012044331A JP5437416B2 (ja) 2012-02-29 2012-02-29 印刷データ処理装置及びプログラム
JP2012-044331 2012-02-29

Publications (1)

Publication Number Publication Date
WO2013129138A1 true WO2013129138A1 (ja) 2013-09-06

Family

ID=49082340

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/053688 WO2013129138A1 (ja) 2012-02-29 2013-02-15 印刷データ処理装置、非一時的記録媒体、及び画像形成装置

Country Status (5)

Country Link
US (1) US9864935B2 (ja)
EP (1) EP2821233B1 (ja)
JP (1) JP5437416B2 (ja)
CN (1) CN104136225B (ja)
WO (1) WO2013129138A1 (ja)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6158735B2 (ja) 2014-03-28 2017-07-05 京セラドキュメントソリューションズ株式会社 画像形成装置、描画処理方法及びプログラム
JP5968373B2 (ja) 2014-07-24 2016-08-10 キヤノン株式会社 印刷装置、情報処理方法及びプログラム
WO2016203957A1 (ja) * 2015-06-17 2016-12-22 株式会社ダイセル 硬化性組成物、及び成形体
CN108417099B (zh) * 2018-01-30 2020-09-18 王志强 用于监管教学过程的方法、装置及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02156325A (ja) * 1988-12-08 1990-06-15 Ricoh Co Ltd コンピュータ端末装置
JPH0863309A (ja) * 1994-08-24 1996-03-08 Fujitsu Ltd 共用印刷装置
JPH0981342A (ja) * 1995-09-19 1997-03-28 Canon Inc 印刷システム
JP2003280839A (ja) 2002-03-26 2003-10-02 Kyocera Mita Corp プリンタドライバ及びそれを搭載した印刷制御装置
JP2009125990A (ja) * 2007-11-21 2009-06-11 Kyocera Mita Corp 画像形成装置、メモリ管理プログラム及びメモリ管理方法
JP2010284924A (ja) * 2009-06-12 2010-12-24 Ricoh Co Ltd 画像形成装置および画像形成プログラム

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW388832B (en) * 1997-11-26 2000-05-01 Seiko Epson Corp Printing apparatus and its control method
US20040021892A1 (en) * 2002-08-02 2004-02-05 Toshiba Tec Kabushiki Kaisha Method and apparatus for printing
US7649639B2 (en) * 2004-03-12 2010-01-19 Fuji Xerox Co., Ltd. Device usage limiting method, apparatus and program
JP4994582B2 (ja) * 2004-06-29 2012-08-08 キヤノン株式会社 データ通信を行うデータ処理装置、データ処理装置の制御方法、及びコンピュータプログラム
JP2006270796A (ja) 2005-03-25 2006-10-05 Fuji Xerox Co Ltd 印刷システムおよび画像読取装置およびその制御方法
JP2007069359A (ja) * 2005-09-02 2007-03-22 Canon Inc 画像形成装置及びその制御方法、プログラム、画像形成システム

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02156325A (ja) * 1988-12-08 1990-06-15 Ricoh Co Ltd コンピュータ端末装置
JPH0863309A (ja) * 1994-08-24 1996-03-08 Fujitsu Ltd 共用印刷装置
JPH0981342A (ja) * 1995-09-19 1997-03-28 Canon Inc 印刷システム
JP2003280839A (ja) 2002-03-26 2003-10-02 Kyocera Mita Corp プリンタドライバ及びそれを搭載した印刷制御装置
JP2009125990A (ja) * 2007-11-21 2009-06-11 Kyocera Mita Corp 画像形成装置、メモリ管理プログラム及びメモリ管理方法
JP2010284924A (ja) * 2009-06-12 2010-12-24 Ricoh Co Ltd 画像形成装置および画像形成プログラム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2821233A4

Also Published As

Publication number Publication date
CN104136225B (zh) 2016-06-01
JP5437416B2 (ja) 2014-03-12
US9864935B2 (en) 2018-01-09
US20170154250A9 (en) 2017-06-01
EP2821233A4 (en) 2015-11-04
US20150015904A1 (en) 2015-01-15
CN104136225A (zh) 2014-11-05
EP2821233A1 (en) 2015-01-07
EP2821233B1 (en) 2020-05-13
JP2013180435A (ja) 2013-09-12

Similar Documents

Publication Publication Date Title
JP5621793B2 (ja) 印刷システム、印刷制御装置、および印刷制御プログラム
WO2013129138A1 (ja) 印刷データ処理装置、非一時的記録媒体、及び画像形成装置
US6958822B2 (en) Variable cancel of future print jobs
US20140173429A1 (en) Information processing apparatus, control method therfor, and storage medium
US10534986B2 (en) Printing apparatus having interpreters interpreting print data, printing method, and storage medium
US10062021B2 (en) Image processing apparatus, information processing method and storage medium
JP2007233591A (ja) プリンタドライバおよびそのテスト印刷方法、印刷装置
JP2012187761A (ja) 印刷装置
US20080180730A1 (en) Host device and printing control method thereof
CN101751237B (zh) 信息处理装置及信息处理方法
JP5651767B2 (ja) 印刷データ処理装置及びプログラム並びに画像形成装置
JP2009140071A (ja) プリンタドライバ及びプリンタコントローラ
US20170206442A1 (en) Print data processing apparatus
JP6187110B2 (ja) 印刷制御装置及びプログラム
US8542392B1 (en) Print control apparatus, image forming system, and non-transitory computer-readable medium
JP5948760B2 (ja) 画像形成装置及びその作動方法
JP2006256075A (ja) 印刷装置及び印刷制御方法
US10698643B2 (en) Apparatus and method for forming image for the same
JP4558239B2 (ja) 印刷装置
US10275694B2 (en) Image forming apparatus and image forming system having binding unit capable of performing binding, and control method for the binding unit
US10860267B2 (en) Information processing apparatus that sets print settings, method of controlling the same, and non-transitory computer-readable storage medium
JP5200668B2 (ja) 画像形成装置、印刷制御方法、印刷制御プログラム、及びそのプログラムを記録した記録媒体
JP5745389B2 (ja) 画像形成装置及び画像形成プログラム
JP6433529B2 (ja) 印刷装置、制御方法及びプログラム
KR100675376B1 (ko) 인쇄진행 상태표시기능을 구비한 호스트장치 및 그인쇄진행 상태표시방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13754809

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14380695

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2013754809

Country of ref document: EP