Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7119344B2 - Printing device and printing method - Google Patents
[go: Go Back, main page]

JP7119344B2 - Printing device and printing method - Google Patents

Printing device and printing method Download PDF

Info

Publication number
JP7119344B2
JP7119344B2 JP2017213281A JP2017213281A JP7119344B2 JP 7119344 B2 JP7119344 B2 JP 7119344B2 JP 2017213281 A JP2017213281 A JP 2017213281A JP 2017213281 A JP2017213281 A JP 2017213281A JP 7119344 B2 JP7119344 B2 JP 7119344B2
Authority
JP
Japan
Prior art keywords
document data
print job
print
order
job
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.)
Active
Application number
JP2017213281A
Other languages
Japanese (ja)
Other versions
JP2019084722A (en
Inventor
伸二 炭
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2017213281A priority Critical patent/JP7119344B2/en
Publication of JP2019084722A publication Critical patent/JP2019084722A/en
Application granted granted Critical
Publication of JP7119344B2 publication Critical patent/JP7119344B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷装置および印刷方法に関する。 The present invention relates to a printing apparatus and printing method.

プリンターは、外部のPC(パーソナルコンピューター)等から印刷ジョブを受信し、受信した印刷ジョブを一旦蓄積し、蓄積した印刷ジョブに基づいて順にドキュメントの印刷を実行する。 A printer receives a print job from an external PC (personal computer) or the like, temporarily accumulates the received print job, and sequentially prints a document based on the accumulated print job.

関連技術として、一括印刷にかかる複数の印刷ジョブの生成順および送信順にかかわらず、ファイル名の表わす順序関係に合致する順序で複数のファイルを印刷する画像形成システムが開示されている(特許文献1参照)。 As a related technology, an image forming system has been disclosed that prints a plurality of files in an order that matches the order relationship indicated by the file names, regardless of the order in which a plurality of print jobs related to batch printing are generated and sent (Patent Document 1). reference).

特開2013‐191177号公報JP 2013-191177 A

プリンターが複数の印刷ジョブを外部から受信し、各印刷ジョブに基づいて複数のドキュメントを印刷するとき、それら複数の印刷結果物としてのドキュメントが所定の順序(例えば、前記文献1であれば、ファイル名の表わす「上期」、「下期」といった順序関係に合致する順序)で印刷されることが期待される。このような状況において、前記所定の順序で印刷されることが期待されている複数のドキュメントとは関係のない他のドキュメントの印刷ジョブをプリンターが外部から受信したとき、印刷ジョブ間の受信のタイミングによっては、当該他のドキュメントが、前記所定の順序で印刷されることが期待される複数のドキュメントの間に紛れ込んでしまうことがあった。 When the printer receives a plurality of print jobs from the outside and prints a plurality of documents based on each print job, the documents as the plurality of print results are in a predetermined order (for example, if the document 1 is a file It is expected to be printed in an order that matches the order relationship such as "first half" and "second half" indicated by the name). In such a situation, when the printer externally receives print jobs for other documents unrelated to the plurality of documents expected to be printed in the predetermined order, timing of reception between print jobs In some cases, the other document has been mixed in among the multiple documents that are expected to be printed in the predetermined order.

本発明は少なくとも上述の課題に鑑みてなされたものであり、期待される順序通りにドキュメントを印刷し、ドキュメントの無用な混在を防止する印刷装置および印刷方法を提供する。 SUMMARY OF THE INVENTION The present invention has been made in view of at least the above problems, and provides a printing apparatus and printing method that prints documents in the expected order and prevents unnecessary mixing of documents.

本発明の態様の1つは、印刷装置は、第1のドキュメントデータの識別情報と、前記第1のドキュメントデータの次に印刷すべき第2のドキュメントデータの識別情報との順序を規定した順序情報を記憶する記憶部と、ドキュメントデータを印刷するための印刷ジョブを外部から受信するジョブ受信部と、前記受信された印刷ジョブを蓄積する蓄積部と、前記第1のドキュメントデータの印刷ジョブの受信後、前記第2のドキュメントデータの印刷ジョブの受信前に、前記順序情報に規定された識別情報を有さない第3のドキュメントデータの印刷ジョブが受信された場合に、前記順序情報に従って、前記蓄積された印刷ジョブの順序の並び替えを行うジョブ並び制御部と、前記並び替え後の印刷ジョブの順序に従って印刷ジョブに基づく印刷を順次実行する印刷処理部と、を備える。 According to one aspect of the present invention, a printing apparatus includes an order specifying the order of identification information of first document data and identification information of second document data to be printed next to the first document data. a storage unit for storing information; a job receiving unit for externally receiving a print job for printing document data; an accumulation unit for accumulating the received print job; After receiving and before receiving the print job of the second document data, if a print job of third document data not having identification information specified in the order information is received, according to the order information, A job order control unit that rearranges the order of the stored print jobs, and a print processing unit that sequentially executes printing based on the print jobs in accordance with the order of the print jobs after the rearrangement.

当該構成によれば、印刷装置は、前記第1のドキュメントデータの印刷ジョブの受信後、前記第2のドキュメントデータの印刷ジョブを受信するよりも先に、前記第3のドキュメントデータの印刷ジョブを受信した場合であっても、前記順序情報に従って、前記第1のドキュメントデータの印刷ジョブの次に前記第2のドキュメントデータの印刷ジョブが並ぶように印刷ジョブの並び替えを行う。従って、前記第1のドキュメントデータの印刷ジョブに基づく印刷と前記第2のドキュメントデータの印刷ジョブに基づく印刷とを続けて実行することができ、印刷結果物としての第1のドキュメントと第2のドキュメントとの間に、無関係な第3のドキュメントが混在することを回避できる。 According to this configuration, after receiving the print job for the first document data, the printing device prints the print job for the third document data before receiving the print job for the second document data. Even if it is received, the print jobs are rearranged according to the order information so that the print job of the second document data is next to the print job of the first document data. Therefore, the printing based on the print job of the first document data and the printing based on the print job of the second document data can be continuously executed, and the first document and the second document as printed results can be printed. It is possible to avoid mixing an irrelevant third document with the document.

本発明の態様の1つは、前記印刷処理部は、前記第1のドキュメントデータの印刷ジョブに基づく印刷および前記第2のドキュメントデータの印刷ジョブに基づく印刷を順に実行した後に、前記第3のドキュメントデータの印刷ジョブに基づく印刷を実行するとしてもよい。
あるいは逆に、前記印刷処理部は、前記第1のドキュメントデータの印刷ジョブに基づく印刷よりも前に、前記第3のドキュメントデータの印刷ジョブに基づく印刷を実行するとしてもよい。
これら構成によれば、いずれにしても第1のドキュメントと第2のドキュメントとが続けて印刷され、第1のドキュメントと第2のドキュメントとの間に第3のドキュメントが混在することを回避できる。
In one aspect of the present invention, the print processing unit performs printing based on the print job of the first document data and printing based on the print job of the second document data in order, and then performs printing based on the print job of the second document data. Printing may be performed based on a print job of document data.
Alternatively, conversely, the print processing unit may execute printing based on the print job of the third document data before printing based on the print job of the first document data.
According to these configurations, in any case, the first document and the second document are printed continuously, and it is possible to avoid the third document from being mixed between the first document and the second document. .

本発明の態様の1つは、前記印刷処理部は、前記第3のドキュメントデータの印刷ジョブが受信されたとき、前記第1のドキュメントデータの印刷ジョブに基づく印刷を開始済みであれば、前記第1のドキュメントデータの印刷ジョブに基づく印刷および前記第2のドキュメントデータの印刷ジョブに基づく印刷を順に実行した後に、前記第3のドキュメントデータの印刷ジョブに基づく印刷を実行し、前記第3のドキュメントデータの印刷ジョブが受信されたとき、前記第1のドキュメントデータの印刷ジョブに基づく印刷の開始前であれば、前記第1のドキュメントデータの印刷ジョブに基づく印刷よりも前に、前記第3のドキュメントデータの印刷ジョブに基づく印刷を実行するとしてもよい。
当該構成によれば、第1のドキュメントと第2のドキュメントとの間に第3のドキュメントが混在することを防ぎつつ、これらすべてのドキュメントを効率よく印刷することができる。
According to one aspect of the present invention, if the print processing unit has already started printing based on the print job of the first document data when the print job of the third document data is received, the After sequentially executing printing based on the print job of the first document data and printing based on the print job of the second document data, printing based on the print job of the third document data is executed, and When the print job of the document data is received, if it is before the start of printing based on the print job of the first document data, before the printing based on the print job of the first document data, the third printing based on the document data print job.
According to this configuration, it is possible to efficiently print all these documents while preventing the third document from being mixed between the first document and the second document.

本発明の態様の1つは、印刷装置は、前記第1のドキュメントデータの印刷ジョブの受信後、所定時間内に前記第2のドキュメントデータの印刷ジョブが受信されない場合に、外部へのエラー通知を含む所定のエラー処理を実行するエラー処理部を備えるとしてもよい。
当該構成によれば、前記第2のドキュメントデータの印刷ジョブが受信できないことを外部に通知したり、前記第2のドキュメントデータの印刷ジョブを待機することを中止したりすることができる。
In one aspect of the present invention, the printing apparatus notifies an error to the outside when the print job of the second document data is not received within a predetermined time after receiving the print job of the first document data. may be provided with an error processing unit that executes predetermined error processing including
According to this configuration, it is possible to notify the outside that the print job of the second document data cannot be received, or to stop waiting for the print job of the second document data.

本発明の態様の1つは、前記識別情報には、ドキュメントデータの第1の属性を識別するための第1識別情報とドキュメントデータの第2の属性を識別するための第2識別情報とが含まれており、前記順序情報は、前記第1識別情報間の順序を規定し且つ前記第1識別情報が共通するドキュメントデータの前記第2識別情報間の順序を規定しており、前記ジョブ並び制御部は、前記順序情報に従って、前記蓄積された印刷ジョブの順序の並び替えを行うとしてもよい。
当該構成によれば、印刷装置は、前記第1のドキュメントデータおよび前記第2のドキュメントデータを含む複数のドキュメントデータ(前記順序情報に規定された識別情報を有するドキュメントデータ)を、第1識別情報間の順序に従って並べ替え、かつ第1識別情報が共通するドキュメントデータ同士を更に細かく第2識別情報間の順序に従って並べ替えた上で印刷の対象とし、それらに対応する印刷結果物の間に第3のドキュメントが混在することも防ぐことができる。
In one aspect of the present invention, the identification information includes first identification information for identifying a first attribute of document data and second identification information for identifying a second attribute of document data. wherein the order information defines the order between the first identification information and defines the order between the second identification information of document data having the same first identification information; The control unit may rearrange the order of the accumulated print jobs according to the order information.
According to this configuration, the printing device can process a plurality of document data (document data having identification information defined in the order information) including the first document data and the second document data as the first identification information. document data having the same first identification information are further rearranged in accordance with the order of the second identification information to be printed, and the printouts corresponding to these are sorted according to the order of the second identification information. 3 documents can be prevented from being mixed.

本発明の態様の1つは、前記第1の属性はユーザー名であるとしてもよい。
当該構成によれば、印刷装置は、ユーザー毎の複数のドキュメントを、予め定めたユーザー間の順序で、かつ同じユーザーの複数のドキュメントを前記第2識別情報間の順序で印刷することができる。これにより、印刷結果において、あるユーザーの複数のドキュメントの間に他のユーザーのドキュメントが混在することを防ぎ、かつ、ユーザー毎の複数のドキュメントをいずれのユーザーに関しても同じ順序で印刷することができる。また、これら各ユーザーのドキュメントの間に、前記第3のドキュメントが混入することも防ぐことができる。
In one aspect of the invention, the first attribute may be a username.
According to this configuration, the printing device can print a plurality of documents for each user in a predetermined order between users and a plurality of documents for the same user in order between the second identification information. As a result, it is possible to prevent the documents of other users from being mixed among the documents of a certain user in the print result, and to print the documents of each user in the same order for any user. . Also, it is possible to prevent the third document from being mixed between the documents of each user.

本発明の技術的思想は、印刷装置という物以外によっても実現される。例えば、印刷装置の各部が実行する処理工程を備えた方法(印刷方法)や、当該方法をコンピューターに実行させるプログラムも、発明として成立する。むろん、プログラムを記憶したコンピューター読み取り可能な記憶媒体も発明として成り立つ。 The technical idea of the present invention can be realized by means other than a printer. For example, a method (printing method) including processing steps executed by each unit of a printing apparatus and a program for causing a computer to execute the method are also established as inventions. Of course, a computer-readable storage medium storing a program also constitutes an invention.

装置構成を簡易的に示す図。The figure which shows an apparatus structure simply. 印刷処理の流れおよび各構成の関わりを簡易的に示すブロック図。FIG. 2 is a block diagram that simply shows the flow of print processing and the relationship between components. 各端末が送信した印刷ジョブのドキュメント名の一例を示す図。FIG. 4 is a diagram showing an example of document names of print jobs sent by each terminal; 印刷ジョブの並び替えの一例を示す図。FIG. 6 is a diagram showing an example of rearrangement of print jobs; 登録外ドキュメント制御工程(ステップS121)を示すフローチャート。4 is a flowchart showing an unregistered document control process (step S121); 印刷ジョブの並び替えの他の例を示す図。FIG. 10 is a diagram showing another example of rearranging print jobs;

以下、各図を参照しながら本発明の実施形態を説明する。なお各図は、本実施形態を説明するための例示に過ぎない。 Hereinafter, embodiments of the present invention will be described with reference to each drawing. Note that each drawing is merely an example for describing the present embodiment.

1.装置構成の概略説明:
図1は、本実施形態にかかる装置構成を簡易的に示している。印刷装置10は、例えば、制御部11、表示部15、操作受付部16、蓄積部17、印刷部18、通信インターフェイス(IF)19等を備える。
制御部11は、CPU11a、ROM11b、RAM11c等を有する1つ又は複数のICや、その他のメモリー等を適宜含んで構成される。制御部11では、CPU11aが、ROM11b等に保存されたプログラムに従った演算処理を、RAM11c等をワークエリアとして用いて実行することにより、印刷装置10の挙動を制御する。制御部11はプログラムA(ファームウェアとも言う。)を搭載しており、プログラムAに従って、通信制御部12、ジョブ並び制御部13、印刷制御部14、エラー処理部21等といった各機能を実現する。制御部11がプログラムA(プログラムAの一部)に従った処理を実行することにより、本発明にかかる印刷方法が実現されると言える。
1. A brief description of the device configuration:
FIG. 1 simply shows the configuration of an apparatus according to this embodiment. The printing device 10 includes, for example, a control unit 11, a display unit 15, an operation accepting unit 16, an accumulation unit 17, a printing unit 18, a communication interface (IF) 19, and the like.
The control unit 11 includes one or a plurality of ICs having a CPU 11a, a ROM 11b, a RAM 11c, etc., and other memories as appropriate. In the control unit 11, the CPU 11a controls the behavior of the printer 10 by executing arithmetic processing according to programs stored in the ROM 11b or the like using the RAM 11c or the like as a work area. The control unit 11 is loaded with a program A (also referred to as firmware), and according to the program A implements functions such as a communication control unit 12, a job sequence control unit 13, a print control unit 14, an error processing unit 21, and the like. It can be said that the printing method according to the present invention is realized by the control unit 11 executing processing according to the program A (part of the program A).

通信IF19は、所定の通信規格に準拠して制御部11が印刷装置10の外との通信を実行するIFの総称である。図1の例では、通信IF19は、通信網40を介して外部の複数の端末30,31…と通信可能である。通信網40は、有線または無線による通信網であり、例えば、ローカルエリアネットワーク(LAN)、インターネット、携帯電話通信回線等を含み得る。蓄積部17は、例えば、ハードディスクドライブ(HDD)やフラッシュメモリー等の記憶媒体によって構成された記憶手段の一種である。 The communication IF 19 is a general term for IFs that allow the control unit 11 to communicate with the outside of the printing apparatus 10 in compliance with a predetermined communication standard. In the example of FIG. 1, the communication IF 19 can communicate with a plurality of external terminals 30, 31 . . . The communication network 40 is a wired or wireless communication network, and may include, for example, a local area network (LAN), the Internet, a mobile phone communication line, and the like. The storage unit 17 is a kind of storage means configured by a storage medium such as a hard disk drive (HDD) or flash memory.

表示部15は、視覚的情報を表示するための手段であり、例えば、液晶ディスプレイ(LCD)や、有機ELディスプレイ等により構成される。表示部15は、ディスプレイと、当該ディスプレイを駆動するための駆動回路とを含む構成であってもよい。操作受付部16は、ユーザーによる操作を受け付けるための手段であり、例えば、物理的なボタンや、タッチパネルや、マウスや、キーボード等によって実現される。むろん、タッチパネルは、表示部15の一機能として実現されるとしてもよい。また、表示部15および操作受付部16を含めて操作パネル等と呼ぶことができる。 The display unit 15 is means for displaying visual information, and is configured by, for example, a liquid crystal display (LCD), an organic EL display, or the like. The display unit 15 may be configured to include a display and a drive circuit for driving the display. The operation receiving unit 16 is means for receiving user's operations, and is realized by, for example, physical buttons, a touch panel, a mouse, a keyboard, and the like. Of course, the touch panel may be implemented as one function of the display unit 15 . Also, the display unit 15 and the operation reception unit 16 can be collectively referred to as an operation panel or the like.

印刷部18は、制御部11による制御下で印刷ジョブに基づく印刷を実行する機構である。印刷部18が採用し得る印刷方式は、知られているように、インクジェット方式や電子写真方式等、様々である。
印刷装置10は、少なくとも印刷機能を有するものであり、印刷機能に加えてスキャナーやファクシミリ等の複数の機能を併せ持った複合機であってもよい。
The printing unit 18 is a mechanism that executes printing based on a print job under the control of the control unit 11 . As is known, there are various printing methods that can be used by the printing unit 18, such as an inkjet method and an electrophotographic method.
The printing apparatus 10 has at least a printing function, and may be a multi-function machine having multiple functions such as a scanner and a facsimile in addition to the printing function.

通信網40に接続する複数の端末30,31は、夫々がオペレーターに操作されることにより、通信網40を介して印刷ジョブを印刷装置10へ送信することが可能である。端末30,31は、例えば、パーソナルコンピューター(PC)、スマートフォン、携帯電話機、タブレット型端末、或いはそれらと同程度の処理能力を有する通信機器によって実現される。印刷装置10および1台以上の前記端末を含む構成を印刷システム1と呼ぶことができる。 A plurality of terminals 30 and 31 connected to the communication network 40 can transmit a print job to the printing apparatus 10 via the communication network 40 by being operated by an operator. The terminals 30 and 31 are implemented by, for example, personal computers (PCs), smart phones, mobile phones, tablet terminals, or communication devices having processing power equivalent to them. A configuration including the printing device 10 and one or more of the terminals can be called a printing system 1 .

2.印刷ジョブの並び替えを伴う印刷処理(第1実施形態):
本実施形態が想定する印刷装置10が印刷するドキュメントについて、幾つかの具体例を交えて説明する。本実施形態では、印刷装置10によって印刷された複数種類のドキュメントのまとまりが、ユーザー毎に提供されるとする。一例として、健康診断を受診した複数の受診者(ユーザー)毎の、複数項目の検査毎の診断書(ドキュメント)が印刷され、それら検査毎の診断書を受診者別にまとめて各受診者へ提供する場面が想定される。また他の例として、複数の社員(ユーザー)毎の、給与や税金や契約に関わる複数のドキュメントが印刷され、それら複数のドキュメントを社員別にまとめて各社員へ提供する場面が想定される。また他の例として、複数の市民(ユーザー)毎の、行政に関する各種ドキュメントが印刷され、それら各種ドキュメントを市民別にまとめて各市民へ提供する場面が想定される。
2. Print processing involving rearrangement of print jobs (first embodiment):
A document to be printed by the printing apparatus 10 assumed in this embodiment will be described with some specific examples. In this embodiment, it is assumed that a set of multiple types of documents printed by the printing apparatus 10 is provided for each user. As an example, for each examinee (user) who has undergone a health checkup, a medical certificate (document) for each examination of multiple items is printed, and the medical certificate for each examination is summarized for each examinee and provided to each examinee. The scene to do is assumed. As another example, it is assumed that a plurality of documents related to salaries, taxes, and contracts are printed for each of a plurality of employees (users), and that the plurality of documents are grouped by employee and provided to each employee. As another example, it is assumed that various documents relating to administration are printed for each of a plurality of citizens (users), and the various documents are compiled for each citizen and provided to each citizen.

このようなユーザー(例えば、受診者や社員や市民)毎の複数種類のドキュメントには、他人に知られるべきでない個人情報や機密情報等が含まれているため、あるユーザー向けの複数のドキュメントのまとまりの中に、他のユーザー向けのドキュメントが混在することは許されない。本実施形態では、このような混在の防止に好適な印刷ジョブの並び替えを伴う印刷処理を、以下のように実行する。 Such multiple types of documents for each user (for example, patients, employees, citizens) contain personal information and confidential information that should not be known to others, so multiple documents for a certain user Documents for other users should not be mixed in the group. In the present embodiment, print processing involving rearrangement of print jobs suitable for preventing such mixture is executed as follows.

図2は、本実施形態にかかる印刷処理の流れおよび当該印刷処理を実現する際の各構成の関わりをブロック図により簡易的に示している。本実施形態では、基本的には、端末30,31や印刷装置10等のコンピューターが扱う電子データとしてのドキュメントを、ドキュメントデータと表記し、ドキュメントデータが表現する内容が印刷媒体に印刷された結果、つまり印刷結果物を、ドキュメントと表記する。ただし、それらを明確に区別して説明しなくても支障がない範囲で、ドキュメントデータを単にドキュメントと呼ぶことも可能である。また、後述の図5の中では、ドキュメントデータを短縮してドキュメントと表記している。
通信制御部12は、通信IF19を介して外部から受信した印刷ジョブを、受信した順に、蓄積部17に確保された所定の記憶領域(待機バッファ17a)へ蓄積する。このような通信IF19および通信制御部12は、ドキュメントデータを印刷するための印刷ジョブを外部から受信するジョブ受信部に該当すると言える。また、通信制御部12は、印刷ジョブを外部から受信するジョブ受信工程(ステップS100)と、受信した印刷ジョブを蓄積部(蓄積部17の待機バッファ17a)へ蓄積するジョブ蓄積工程(ステップS110)とを実行すると言える。ドキュメントデータを印刷するための印刷ジョブとは、例えば、ドキュメントデータや、印刷装置10が解釈可能な制御コード体系に対応したコマンドや、印刷実行に必要な設定情報等を適宜含んだデータのまとまりである。ドキュメントデータを印刷するための印刷ジョブを、単に、ドキュメントデータの印刷ジョブと表現することもある。また、簡単に、印刷ジョブとはドキュメントデータのことであると解してもよい。
FIG. 2 is a block diagram simply showing the flow of print processing according to the present embodiment and the relation of each configuration when realizing the print processing. In this embodiment, basically, documents as electronic data handled by computers such as the terminals 30 and 31 and the printing device 10 are referred to as document data, and the contents expressed by the document data are printed on a print medium. , that is, the printed result is referred to as a document. However, document data can also be simply referred to as a document as long as there is no problem even if they are not clearly distinguished and explained. In addition, in FIG. 5, which will be described later, document data is abbreviated as document.
The communication control unit 12 accumulates print jobs received from outside via the communication IF 19 in a predetermined storage area (standby buffer 17a) secured in the accumulation unit 17 in order of reception. It can be said that the communication IF 19 and the communication control unit 12 as described above correspond to a job receiving unit that receives a print job for printing document data from the outside. Further, the communication control unit 12 performs a job receiving step (step S100) of receiving a print job from the outside, and a job accumulation step (step S110) of accumulating the received print job in the accumulation unit (standby buffer 17a of the accumulation unit 17). and A print job for printing document data is, for example, a set of data that appropriately includes document data, commands corresponding to a control code system that can be interpreted by the printing apparatus 10, setting information necessary for executing printing, and the like. be. A print job for printing document data may simply be referred to as a document data print job. Also, a print job may be simply understood to mean document data.

端末30,31側の処理について説明する。端末30,31の夫々においては、それらを操作するオペレーターによって、ドキュメントデータ生成用のアプリケーションが起動され、当該アプリケーションが生成した複数のドキュメントデータについての印刷指示が入力される。端末30,31は夫々、入力された印刷指示に従い、印刷対象として選択されているドキュメントデータ毎の印刷ジョブを生成し、生成した印刷ジョブを順次、通信網40を介して印刷装置10へ送信する。この結果、印刷装置10側では、通信制御部12が通信IF19を介して印刷ジョブを受信することになる。 Processing on the terminals 30 and 31 side will be described. In each of the terminals 30 and 31, an operator who operates them activates an application for generating document data, and inputs a print instruction for a plurality of document data generated by the application. Each of the terminals 30 and 31 generates a print job for each document data selected as an object to be printed according to the input print instruction, and sequentially transmits the generated print jobs to the printing apparatus 10 via the communication network 40. . As a result, the communication control unit 12 receives the print job via the communication IF 19 on the printing device 10 side.

図3は、端末30,31がそれぞれ印刷装置10へ送信した印刷ジョブの名前(ドキュメント名)を示している。上述した一例のように、健康診断を受診した複数の受診者(ユーザー)毎の、複数項目の検査毎の診断書(ドキュメント)を印刷する場面を想定する。この場合、印刷ジョブ(ドキュメントデータ)毎のドキュメント名は、診断書名(A,B,Cの何れか)および受診者名(UN001,UN002,UN003,UN004,UN005の何れか)を含んでいる。診断書名は、例えば、血液検査の診断結果、視聴覚検査の診断結果、等といった検査項目の診断書名を直接的あるいは間接的に示す所定の文字列である。また、受診者名は、受診者の氏名や個人毎のID番号等、ユーザーを直接的あるいは間接的に示す所定の文字列である。つまり、端末30,31は、予め定められた様式で記述されたドキュメント名を有する印刷ジョブを、印刷装置10へ送信する。 FIG. 3 shows the names (document names) of print jobs sent from the terminals 30 and 31 to the printer 10, respectively. As in the example described above, a situation is assumed in which medical certificates (documents) are printed for each examination of a plurality of items for each of a plurality of examinees (users) who have undergone a health checkup. In this case, the document name for each print job (document data) includes the name of the medical certificate (any of A, B, or C) and the name of the examinee (any of UN001, UN002, UN003, UN004, and UN005). The name of the medical certificate is a predetermined character string that directly or indirectly indicates the name of the medical certificate of the examination item, such as the diagnosis result of a blood test, the diagnosis result of an audiovisual test, or the like. Also, the name of the examinee is a predetermined character string that directly or indirectly indicates the user, such as the name of the examinee or an ID number for each individual. In other words, the terminals 30 and 31 send a print job having a document name written in a predetermined format to the printing device 10 .

印刷ジョブのドキュメント名は、当該印刷ジョブが含んでいるドキュメントデータの識別情報と言える。また、このようなドキュメント名(識別情報)が含んでいる診断書名および受診者名は、夫々にドキュメントデータの属性(ドキュメントデータが表現している検査項目や、ドキュメントデータが表現している内容の対象者であるユーザー)を識別するための識別情報であると言える。ここでは、一例として、ドキュメント名に含まれている受診者名(ユーザー名)を、ドキュメントデータの第1の属性を識別するための第1識別情報と呼び、ドキュメント名に含まれている診断書名を、ドキュメントデータの第2の属性を識別するための第2識別情報と呼ぶ。むろん、第1識別情報および第2識別情報の具体例は、ユーザー名および診断書名に限定されない。 The document name of a print job can be said to be identification information of document data included in the print job. In addition, the name of the medical certificate and the name of the examinee included in such a document name (identification information) are attributes of the document data (inspection items expressed by the document data and contents expressed by the document data). It can be said that it is the identification information for identifying the target person (user). Here, as an example, the patient name (user name) included in the document name is referred to as first identification information for identifying the first attribute of the document data, and the medical certificate name included in the document name is referred to as first identification information. is called second identification information for identifying the second attribute of the document data. Of course, specific examples of the first identification information and the second identification information are not limited to the user name and medical certificate name.

図3の例によれば、端末30は、当該端末30のオペレーターの操作に従い、あるアプリケーションで生成した受診者名UN001,UN002,UN003,UN004,UN005それぞれの診断書名Aのドキュメントデータの各印刷ジョブを印刷装置10へ送信し、かつ別のアプリケーションで生成した受診者名UN001,UN002,UN003,UN004,UN005それぞれの診断書名Bのドキュメントデータの各印刷ジョブを印刷装置10へ送信した。一方、端末31は、当該端末31のオペレーターの操作に従い、あるアプリケーションで生成した受診者名UN001,UN002,UN003,UN004,UN005それぞれの診断書名Cのドキュメントデータの各印刷ジョブを印刷装置10へ送信した。 According to the example of FIG. 3, the terminal 30, according to the operation of the operator of the terminal 30, each print job of the document data of the medical certificate name A generated by a certain application was sent to the printing apparatus 10, and each print job of the document data of the medical certificate name B for each of the patient names UN001, UN002, UN003, UN004, and UN005 generated by another application was sent to the printing apparatus 10. FIG. On the other hand, according to the operation of the operator of the terminal 31, the terminal 31 transmits each print job of the document data of the medical certificate name C of each of the examinee names UN001, UN002, UN003, UN004, and UN005 generated by a certain application to the printing apparatus 10. did.

ジョブ並び制御部13は、予め印刷装置10が記憶する順序情報20(図2)に従って、蓄積部17(待機バッファ17a)に蓄積されている印刷ジョブの順序の並び替えを行う(ジョブ並び制御工程、ステップS120)。このとき、ジョブ並び制御部13は、並び替え後の印刷ジョブを、蓄積部17に確保された所定の記憶領域(プリントキュー17b)へ記憶させる。順序情報20は、ドキュメントの識別情報間の順序(印刷順序)を規定した情報であり、例えば、印刷システム1を統括する立場のオペレーターによって予め印刷装置10の所定の記憶部(例えば、蓄積部17またはRAM11c、あるいは制御部11が有する他のメモリー)に記憶されている。 The job sequence control unit 13 rearranges the order of the print jobs stored in the storage unit 17 (standby buffer 17a) according to the order information 20 (FIG. 2) stored in the printing apparatus 10 in advance (job sequence control step , step S120). At this time, the job sequence control unit 13 stores the rearranged print jobs in a predetermined storage area (print queue 17 b ) secured in the storage unit 17 . The order information 20 is information that defines the order (printing order) among pieces of document identification information. or the RAM 11c, or another memory of the control unit 11).

順序情報20は、第1識別情報間の順序を規定し、且つ、第1識別情報が共通するドキュメントデータの第2識別情報間の順序を規定している。さらに、順序情報20は、順序情報20が順序を規定する識別情報(第1識別情報および第2識別情報)を有さないドキュメントデータ(登録外ドキュメントデータ)についての取り扱いも規定している。登録外ドキュメントデータは、特許請求の範囲における第3のドキュメントデータに該当する。より具体的には、順序情報20は、例えば下記の順序ポリシー1~3を規定している。 The order information 20 defines the order between the first identification information and defines the order between the second identification information of the document data having the same first identification information. Furthermore, the order information 20 also defines handling of document data (unregistered document data) that does not have identification information (first identification information and second identification information) for which the order information 20 defines the order. Unregistered document data corresponds to the third document data in the claims. More specifically, the order information 20 defines, for example, the following order policies 1-3.

順序ポリシー1:印刷ジョブを、受診者名(第1識別情報)の所定順序(UN001,UN002,UN003,UN004,UN005の順序)で並べる。
順序ポリシー2:第1識別情報が共通する印刷ジョブを、診断書名(第2識別情報)の所定順序(A,B,Cの順序)で並べる。
順序ポリシー3:登録外ドキュメントデータの印刷ジョブを、順序情報20が順序を規定する識別情報(第1識別情報および第2識別情報)を有するドキュメントデータ(登録ドキュメントデータ)の印刷ジョブの全てよりも後に並べる。
Order policy 1: Print jobs are arranged in a predetermined order (the order of UN001, UN002, UN003, UN004, and UN005) of the patient's name (first identification information).
Order policy 2: Print jobs having the same first identification information are arranged in a predetermined order (order of A, B, and C) of the name of the medical certificate (second identification information).
Order policy 3: Print jobs of non-registered document data are prioritized over all print jobs of document data (registered document data) having identification information (first identification information and second identification information) for which the order information 20 defines the order. line up later.

図4は、このような順序情報20(順序ポリシー1~3)に従った、ステップS120による印刷ジョブの並び替えの一例を示している。図4の左側には、待機バッファ17aに蓄積されている複数の印刷ジョブのドキュメント名を、待機バッファ17aに蓄積された順で示している。この待機バッファ17a側での並び順(蓄積順)は、印刷ジョブの送信元(例えば、端末30,31)それぞれにおける印刷ジョブの生成や送信のタイミングや、通信網40における通信制御等の各種影響を受けて、結果的にこのようになっているに過ぎない。図4に示すドキュメント名“XXX”は、通信網40に接続するいずれかの端末(端末30,31のいずれか、あるいは端末30,31以外の不図示の端末)から印刷装置10に対して送信され、待機バッファ17aに蓄積された登録外ドキュメントデータの印刷ジョブの一例である。 FIG. 4 shows an example of rearrangement of print jobs in step S120 according to such order information 20 (order policies 1 to 3). The left side of FIG. 4 shows document names of a plurality of print jobs stored in the standby buffer 17a in the order in which they were stored in the standby buffer 17a. The order of arrangement (accumulation order) on the standby buffer 17a side is affected by various factors such as the timing of generation and transmission of print jobs in each of the print job transmission sources (for example, the terminals 30 and 31) and communication control in the communication network 40. This is just the way it is as a result. The document name "XXX" shown in FIG. 4 is transmitted to the printer 10 from one of the terminals (one of the terminals 30 and 31, or a terminal not shown other than the terminals 30 and 31) connected to the communication network 40. This is an example of a print job of non-registered document data stored in the standby buffer 17a.

図4の右側には、プリントキュー17bにおける前記並び替え後の複数の印刷ジョブのドキュメント名を、それらの並び順で示している。つまり、順序情報20に従うことにより、受診者名(第1識別情報)および診断書名(第2識別情報)を含んだドキュメント名の各印刷ジョブ、すなわち登録ドキュメントデータの各印刷ジョブは、ドキュメント名“A‐UN001”,“B‐UN001”,“C‐UN001”,“A‐UN002”,“B‐UN002”,“C‐UN002”,“A‐UN003”,“B‐UN003”,“C‐UN003”,“A‐UN004”,“B‐UN004”,“C‐UN004”,“A‐UN005”,“B‐UN005”,“C‐UN005”の順序でプリントキュー17bに並べられる。また、ドキュメント名“XXX”の印刷ジョブは、プリントキュー17bにおいて、全ての登録ドキュメントデータの印刷ジョブの後に並べられる。 The right side of FIG. 4 shows the document names of the plurality of print jobs after rearrangement in the print queue 17b in the order in which they are arranged. In other words, by following the order information 20, each print job with a document name containing the name of the patient (first identification information) and the name of the medical certificate (second identification information), that is, each print job of the registered document data, is printed with the document name " A-UN001", "B-UN001", "C-UN001", "A-UN002", "B-UN002", "C-UN002", "A-UN003", "B-UN003", "C- UN003", "A-UN004", "B-UN004", "C-UN004", "A-UN005", "B-UN005", and "C-UN005" are arranged in the print queue 17b in this order. Also, the print job with the document name "XXX" is arranged after the print jobs of all registered document data in the print queue 17b.

順序情報20は、このようなドキュメント名“A‐UN001”,“B‐UN001”,“C‐UN001”,“A‐UN002”,“B‐UN002”,“C‐UN002”,“A‐UN003”,“B‐UN003”,“C‐UN003”,“A‐UN004”,“B‐UN004”,“C‐UN004”,“A‐UN005”,“B‐UN005”,“C‐UN005”の順序を、予め規定していると言える。順序情報20は、このような識別情報(ドキュメント名)間の順序を、上述した複数の順序ポリシーにより規定するのではなく、単純なリスト形式で規定するものであってもよい。 The order information 20 includes such document names "A-UN001", "B-UN001", "C-UN001", "A-UN002", "B-UN002", "C-UN002", "A-UN003". ", "B-UN003", "C-UN003", "A-UN004", "B-UN004", "C-UN004", "A-UN005", "B-UN005", "C-UN005" It can be said that the order is defined in advance. The order information 20 may define the order among such pieces of identification information (document names) in a simple list format, instead of using the multiple order policies described above.

印刷制御部14は、前記並び替え後の印刷ジョブの順序に従って印刷ジョブに基づく印刷を順次実行する。具体的には、蓄積部17(プリントキュー17b)における印刷ジョブの並び順に従って印刷ジョブに基づく印刷を順次実行する(印刷処理工程、ステップS130)。つまり、印刷制御部14は、プリントキュー17bにおける並び順が早い印刷ジョブから順に印刷ジョブを読み出し、読み出した印刷ジョブを印刷部18へ転送し、印刷ジョブに基づく印刷を印刷部18に実行させる処理を、繰り返す。印刷制御部14は、プリントキュー17bに1つ以上の印刷ジョブが並んでいるときに、このような処理を実行する。むろん、印刷制御部14は、印刷ジョブに含まれるドキュメントデータを印刷部18が解釈可能なフォーマットのデータに変換する等、適宜必要な処理を行った上で、印刷ジョブを印刷部18へ転送することができる。印刷制御部14(および印刷部18)は印刷処理部に該当すると言える。 The print control unit 14 sequentially executes printing based on the print jobs according to the sorted order of the print jobs. Specifically, printing based on the print jobs is sequentially executed according to the order in which the print jobs are arranged in the storage unit 17 (print queue 17b) (print processing step, step S130). That is, the print control unit 14 reads the print jobs in order from the print job in the print queue 17b in order of the earliest order, transfers the read print jobs to the printing unit 18, and causes the printing unit 18 to execute printing based on the print jobs. repeat. The print control unit 14 executes such processing when one or more print jobs are queued in the print queue 17b. Of course, the print control unit 14 performs appropriate necessary processing, such as converting the document data included in the print job into data in a format that the print unit 18 can interpret, and then transfers the print job to the print unit 18. be able to. It can be said that the print control unit 14 (and the print unit 18) corresponds to the print processing unit.

なお、印刷装置10では、通信制御部12によるジョブ受信工程(ステップS100)およびジョブ蓄積工程(ステップS110)と、ジョブ並び制御部13によるジョブ並び制御工程(ステップS120)と、印刷制御部14による印刷処理工程(ステップS130)とは、夫々の一部を並行して実行可能である。つまり、ジョブ並び制御部13は、待機バッファ17aに順次蓄積される各印刷ジョブの識別情報(ドキュメント名)を監視し、順序情報20に従ってプリントキュー17bに並べることが可能となった夫々のタイミングで各印刷ジョブをプリントキュー17bへ並べる。 In the printing apparatus 10, the job reception process (step S100) and the job accumulation process (step S110) by the communication control unit 12, the job order control process (step S120) by the job order control unit 13, and the print control unit 14 A part of each printing process (step S130) can be executed in parallel. In other words, the job queue control unit 13 monitors the identification information (document name) of each print job sequentially accumulated in the standby buffer 17a, and according to the order information 20, at each timing when it becomes possible to queue the print jobs in the print queue 17b. Each print job is arranged in the print queue 17b.

例えば、現時点で、図4の左側に示す蓄積順が8番目のドキュメント名“B‐UN001”の印刷ジョブまでが待機バッファ17aに蓄積されたとする。この時点までは、ジョブ並び制御部13は、蓄積順が1番目のドキュメント名“A‐UN001”の印刷ジョブを既にプリントキュー17bに並べ終わっている。しかし、蓄積順が2~7番目の6個の印刷ジョブ(図4の左側参照)はいずれも、順序情報20に従ったとき“A‐UN001”の次に並べるべき“B‐UN001”よりも並び順が後であるため、待機バッファ17aに蓄積(待機)されたままであり、プリントキュー17bには並べられていない。そして、ドキュメント名“B‐UN001”の印刷ジョブが待機バッファ17aに蓄積された時点で、ジョブ並び制御部13は、順序情報20に従って、この“B‐UN001”の印刷ジョブをプリントキュー17bの現時点の最後尾に並べ、続けて、蓄積順が6番目のドキュメント名“C‐UN001”の印刷ジョブをプリントキュー17bの現時点の最後尾に並べ、更に、蓄積順が2番目のドキュメント名“A‐UN002”の印刷ジョブをプリントキュー17bの現時点の最後尾に並べる。 For example, it is assumed that, at this time, print jobs up to the document name "B-UN001", which is eighth in the accumulation order shown on the left side of FIG. 4, are accumulated in the standby buffer 17a. Up to this point, the job queue control unit 13 has already queued the print job with the document name "A-UN001", which is the first in the order of accumulation, in the print queue 17b. However, all of the six print jobs (see the left side of FIG. 4) whose accumulation order is second to seventh are higher than "B-UN001" which should be arranged next to "A-UN001" according to the order information 20. Since it is arranged later, it remains accumulated (standby) in the standby buffer 17a and is not arranged in the print queue 17b. When the print job with the document name “B-UN001” is accumulated in the waiting buffer 17a, the job sequence control unit 13 transfers the print job with the document name “B-UN001” to the print queue 17b at the current time in accordance with the order information 20. , then the print job with the document name "C-UN001", which is the sixth in the order of accumulation, is arranged at the end of the print queue 17b at the present time, and further, the print job with the document name "A- The print job UN002'' is arranged at the end of the current print queue 17b.

また、順序情報20に従えば、並び順が最後となるべき登録ドキュメントデータはドキュメント名“C‐UN005”である。従って、図4の左側の例によれば、ジョブ並び制御部13は、蓄積順が16番目のドキュメント名“C‐UN005”の印刷ジョブが待機バッファ17aに蓄積されたとき、この“C‐UN005”の印刷ジョブをプリントキュー17bの現時点の最後尾に並べ、続けて、蓄積順が5番目の登録外ドキュメントデータであるドキュメント名“XXX”の印刷ジョブをプリントキュー17bの現時点の最後尾に並べることとなる。
このようなジョブ並び制御部13による並び替えの結果、プリンキュー17bにおける並び順の通りに複数の印刷ジョブ(図4の例では16個の印刷ジョブ)が印刷部18により印刷される。
Further, according to the order information 20, the document name "C-UN005" is the registered document data that should be arranged last. Therefore, according to the example on the left side of FIG. 4, when the print job with the document name "C-UN005" which is the 16th in the accumulation order is accumulated in the waiting buffer 17a, the job sequence control unit 13 ” is arranged at the current end of the print queue 17b, and subsequently, the print job with the document name “XXX”, which is the unregistered document data whose accumulation order is 5th, is arranged at the current end of the print queue 17b. It will happen.
As a result of such rearrangement by the job arrangement control unit 13, the printing unit 18 prints a plurality of print jobs (16 print jobs in the example of FIG. 4) in the order in which they are arranged in the print queue 17b.

このように本実施形態によれば、印刷装置10は、第1のドキュメントデータの識別情報と、第1のドキュメントデータの次に印刷すべき第2のドキュメントデータの識別情報との順序を規定した順序情報20を記憶している。第1のドキュメントデータ、第2のドキュメントデータ、という表現は、順序情報20に規定されている識別情報を有する2つの登録ドキュメントデータであって、連続して印刷されるべき登録ドキュメントデータの組み合わせを指しているに過ぎない。例えば、ドキュメント名“A‐UN001”のドキュメントデータ(印刷ジョブ)を第1のドキュメントデータと呼んだとき、ドキュメント名“B‐UN001”のドキュメントデータ(印刷ジョブ)が第2のドキュメントデータに該当する。また例えば、ドキュメント名“C‐UN001”のドキュメントデータ(印刷ジョブ)を第1のドキュメントデータと呼んだとき、ドキュメント名“A‐UN002”のドキュメントデータ(印刷ジョブ)が第2のドキュメントデータに該当する。つまり、登録ドキュメントデータの夫々は、他の登録ドキュメントデータとの関係に応じて、第1のドキュメントデータに該当したり第2のドキュメントデータに該当したりする。 Thus, according to this embodiment, the printing apparatus 10 defines the order of the identification information of the first document data and the identification information of the second document data to be printed next to the first document data. Order information 20 is stored. The expressions "first document data" and "second document data" refer to a combination of two pieces of registered document data having identification information defined in the order information 20 and to be printed consecutively. It's just pointing. For example, when the document data (print job) with the document name "A-UN001" is called the first document data, the document data (print job) with the document name "B-UN001" corresponds to the second document data. . Also, for example, when the document data (print job) with the document name "C-UN001" is called the first document data, the document data (print job) with the document name "A-UN002" corresponds to the second document data. do. That is, each registered document data corresponds to the first document data or the second document data depending on the relationship with other registered document data.

そして、ジョブ並び制御部13は、順序情報20に従って、前記蓄積された印刷ジョブの順序の並び替えを行う。この場合、ジョブ並び制御部13は、順序情報20を参照し、第1のドキュメントデータの印刷ジョブの受信後、第2のドキュメントの印刷ジョブの受信前に、登録外ドキュメントデータ(第3のドキュメントデータ)の印刷ジョブが受信されたと判断できる場合に、順序情報20に従って、第1のドキュメントデータの印刷ジョブの次に第2のドキュメントデータの印刷ジョブが並ぶように印刷ジョブの並び替えを行う(ステップS120)、と言える。例えば、図4の左側に示すように、ドキュメント名“A‐UN001”の印刷ジョブの受信(蓄積順1番目)と、ドキュメント名“B‐UN001”の印刷ジョブの受信(蓄積順8番目)との間に、ドキュメント名“XXX”の登録外ドキュメントデータの印刷ジョブが受信された(蓄積順5番目)場合であっても、ジョブ並び制御部13は、順序情報20に従って、図4の右側に示すようにドキュメント名“A‐UN001”の印刷ジョブの次にドキュメント名“B‐UN001”の印刷ジョブが並ぶように前記並べ替えを実行し、ドキュメント名“XXX”の登録外ドキュメントデータの印刷ジョブを登録ドキュメントデータの印刷ジョブよりも後に並べる。 Then, the job sequence control unit 13 rearranges the order of the accumulated print jobs according to the sequence information 20 . In this case, the job sequence control unit 13 refers to the order information 20, and after receiving the print job of the first document data, before receiving the print job of the second document, the non-registered document data (third document data), the print jobs are rearranged according to the order information 20 so that the print job of the first document data is followed by the print job of the second document data ( step S120). For example, as shown on the left side of FIG. 4, a print job with document name "A-UN001" is received (first in the order of accumulation) and a print job with document name "B-UN001" is received (eighth in order of accumulation). Even if a print job of unregistered document data with the document name “XXX” is received during this period (fifth in the order of accumulation), the job sequence control unit 13 follows the sequence information 20 to the right side of FIG. As shown, the rearrangement is executed so that the print job with the document name "A-UN001" is next to the print job with the document name "B-UN001", and the print job of the unregistered document data with the document name "XXX" is arranged. are arranged after the print job of the registered document data.

これにより、第1のドキュメントデータの印刷ジョブに基づく印刷と、第2のドキュメントデータの印刷ジョブに基づく印刷とを続けて実行することができ、これらの印刷の後に、第3のドキュメントデータの印刷ジョブに基づく印刷を実行することができる。つまり、登録ドキュメントデータを、それらの受信順(蓄積順)に関係なく、順序情報20に規定された所定の順序で印刷することができ、かつ、登録ドキュメント(登録ドキュメントデータに対応する印刷結果物)の間に登録外ドキュメント(登録外ドキュメントデータに対応する印刷結果物)が混在することを、確実に回避することができる。 As a result, printing based on the print job of the first document data and printing based on the print job of the second document data can be continuously executed, and after these printing operations, printing of the third document data can be performed. Job-based printing can be performed. In other words, the registered document data can be printed in a predetermined order defined in the order information 20 regardless of their reception order (accumulation order), and the registered document (printed product corresponding to the registered document data) can be printed. ) can be reliably prevented from being mixed with non-registered documents (printed products corresponding to non-registered document data).

また本実施形態によれば、印刷装置10が受信する印刷ジョブが有するドキュメント名(識別情報)には、ドキュメントデータの第1の属性を識別するための第1識別情報とドキュメントデータの第2の属性を識別するための第2識別情報とが含まれている。そして、順序情報20は、第1識別情報間の順序を規定し且つ第1識別情報が共通するドキュメントデータの第2識別情報間の順序を規定している。 According to this embodiment, the document name (identification information) included in the print job received by the printing apparatus 10 includes the first identification information for identifying the first attribute of the document data and the second attribute of the document data. and second identification information for identifying the attribute. The order information 20 defines the order between the first identification information and defines the order between the second identification information of the document data having the same first identification information.

そのため、ジョブ並び制御部13は、順序情報20に従って蓄積部17における印刷ジョブの並び替えを行うことにより、例えば上述のように、受診者名(UN001,UN002,UN003,UN004,UN005の何れか)および診断書名(A,B,Cの何れか)を含んだドキュメント名の各印刷ジョブを、ドキュメント名“A‐UN001”,“B‐UN001”,“C‐UN001”,“A‐UN002”,“B‐UN002”,“C‐UN002”,“A‐UN003”,“B‐UN003”,“C‐UN003”,“A‐UN004”,“B‐UN004”,“C‐UN004”,“A‐UN005”,“B‐UN005”,“C‐UN005”の順序でプリントキュー17bに並べることができる。これにより、印刷部18による印刷結果において、あるユーザー(例えば、受診者名UN001)の複数のドキュメント(診断書名A,B,Cの3種類のドキュメント)の間に、他のユーザー(例えば、受診者名UN002)のドキュメントが混在することを防ぎ、かつ、ユーザー毎の複数のドキュメント(診断書名A,B,Cの3種類のドキュメント)をいずれのユーザーに関しても同じ順序で出力することができる。従って、印刷されたユーザー毎の複数のドキュメント(診断書名A,B,Cの3種類のドキュメント)を、そのままユーザー毎にステープルで綴じる等して、極めて効率的に各ユーザーへ印刷物のまとまりを間違いなく配布することができる。なお、第1のドキュメントデータに対応する印刷結果物を第1のドキュメント、第2のドキュメントデータに対応する印刷結果物を第2のドキュメント、第3のドキュメントデータに対応する印刷結果物を第3のドキュメント、とそれぞれ呼ぶことができる。 Therefore, the job order control unit 13 rearranges the print jobs in the storage unit 17 according to the order information 20 to obtain, for example, the patient name (any of UN001, UN002, UN003, UN004, and UN005) as described above. and each print job with a document name including a medical certificate name (any of A, B, or C), with document names "A-UN001", "B-UN001", "C-UN001", "A-UN002", "B-UN002", "C-UN002", "A-UN003", "B-UN003", "C-UN003", "A-UN004", "B-UN004", "C-UN004", "A -UN005”, “B-UN005”, and “C-UN005” can be arranged in the print queue 17b. As a result, in the print result of the printing unit 18, between a plurality of documents (three types of documents with medical certificate names A, B, and C) of a certain user (eg, patient name UN001) UN002) can be prevented from being mixed, and a plurality of documents for each user (three types of documents with medical certificate names A, B, and C) can be output in the same order for any user. Therefore, a plurality of printed documents for each user (three types of documents with medical certificate names A, B, and C) can be stapled as they are for each user, thereby making it extremely efficient for each user to get the printed matter together. can be distributed without The printed result corresponding to the first document data is the first document, the printed result corresponding to the second document data is the second document, and the printed result corresponding to the third document data is the third document. documents, respectively.

本実施形態は、上述の態様に限定されず種々の態様を含み得る。これまでに説明した実施形態を、便宜上、第1実施形態とも呼ぶ。以下では、第1実施形態以外の各実施形態を、主に第1実施形態と異なる点について説明する。 This embodiment is not limited to the aspects described above and may include various aspects. For the sake of convenience, the embodiment described so far will also be referred to as the first embodiment. Each embodiment other than the first embodiment will be described below mainly with respect to the points different from the first embodiment.

3.第2実施形態:
これまでの説明では、ジョブ並び制御部13は、登録外ドキュメントが登録ドキュメントより後に印刷されるように各印刷ジョブの並べ替えを実行するとした。しかし、これとは逆に、ジョブ並び制御部13は登録外ドキュメントが登録ドキュメントよりも前に印刷されるように各印刷ジョブの並べ替えを実行することもできる。つまり、印刷制御部14は、第1のドキュメントデータの印刷ジョブに基づく印刷よりも前に、第3のドキュメントデータの印刷ジョブに基づく印刷を実行するとしてもよい。このような構成によっても、登録ドキュメントデータを、それらの受信順(蓄積順)に関係なく、順序情報20に規定された所定の順序で印刷することができ、かつ、印刷結果において登録ドキュメントの間に登録外ドキュメントが混在することを、確実に回避することができる。
3. Second embodiment:
In the description so far, the job sequence control unit 13 rearranges the print jobs so that the non-registered document is printed after the registered document. Conversely, however, the job sequence control unit 13 can also rearrange the print jobs so that non-registered documents are printed before registered documents. That is, the print control unit 14 may execute printing based on the print job of the third document data before printing based on the print job of the first document data. With such a configuration as well, the registered document data can be printed in the predetermined order specified in the order information 20 regardless of the order in which they are received (the order in which they are stored). It is possible to reliably avoid the mixture of unregistered documents in

ここで、ジョブ並び制御部13は、登録外ドキュメントを登録ドキュメントよりも前に印刷させようとする場合に、登録外ドキュメントデータが外部から送信されることが予め判っていれば、既に通信制御部12により受信され待機バッファ17aに蓄積された登録ドキュメントデータの印刷ジョブをプリントキュー17bに並べる処理を、保留することができる。しかし実際には、登録外ドキュメントデータが外部から送信されることを、それを受信する前に予め認識しておくことは難しい。そこで、ジョブ並び制御部13は、登録外ドキュメントデータの印刷ジョブが受信されたときの、登録ドキュメントデータの印刷開始状況に応じて、登録外ドキュメントデータを登録ドキュメントデータよりも前に印刷させるか、登録ドキュメントデータよりも後に印刷させるかを分岐するとしてもよい。 Here, if it is known in advance that the unregistered document data will be transmitted from the outside when attempting to print the unregistered document before the registered document, the job sequence control unit 13 already 12 and stored in the standby buffer 17a in the print queue 17b. In practice, however, it is difficult to recognize in advance that unregistered document data will be sent from the outside before receiving it. Therefore, the job sequence control unit 13 causes the non-registered document data to be printed before the registered document data according to the printing start status of the registered document data when the print job of the non-registered document data is received. A branch may be made to determine whether to print after the registered document data.

図5は、第2実施形態においてジョブ並び制御部13が実行する登録外ドキュメント制御工程(ステップS121)をフローチャートにより示している。ジョブ並び制御部13は、第1実施形態で説明したジョブ並び制御工程(ステップS120)と並行して、登録外ドキュメント制御工程(ステップS121)を実行する。 FIG. 5 is a flow chart showing the unregistered document control process (step S121) executed by the job sequence control unit 13 in the second embodiment. The job sequence control unit 13 executes the unregistered document control step (step S121) in parallel with the job sequence control step (step S120) described in the first embodiment.

登録外ドキュメント制御工程(ステップS121)においては、ジョブ並び制御部13は、登録外ドキュメントデータが受信されたか否かを繰り返し判定する(ステップS121a)。具体的には、ジョブ並び制御部13は、待機バッファ17aに順次蓄積される各印刷ジョブの識別情報(ドキュメント名)を監視し、ドキュメント名が登録外ドキュメントデータに該当する印刷ジョブ(例えば、ドキュメント名“XXX”の印刷ジョブ)が待機バッファ17aに蓄積されたことを検知したときに、登録外ドキュメントデータが受信されたと判定し(ステップS121aにおいて“Yes”)、ステップS121bへ進む。 In the unregistered document control step (step S121), the job sequence control unit 13 repeatedly determines whether unregistered document data has been received (step S121a). Specifically, the job sequence control unit 13 monitors the identification information (document name) of each print job sequentially accumulated in the standby buffer 17a, and the print job whose document name corresponds to non-registered document data (for example, document XXX print job) is accumulated in the standby buffer 17a, it is determined that unregistered document data has been received ("Yes" in step S121a), and the process proceeds to step S121b.

ステップS121bでは、ジョブ並び制御部13は、順序情報20が規定する並び順の先頭の登録ドキュメントデータが印刷開始済みであるか否かを判定する。順序情報20が規定する並び順の先頭の登録ドキュメントデータは、当然第1のドキュメントデータの一つに該当し、上述の具体例で言えば、ドキュメント名“A‐UN001”の印刷ジョブが該当する。従って、ジョブ並び制御部13は、現時点で、ドキュメント名“A‐UN001”の印刷ジョブがプリントキュー17bから印刷制御部14によって読み出され印刷部18への転送が開始された後の状況であれば、順序情報20が規定する並び順の先頭の登録ドキュメントデータが印刷開始済みであると判定し(ステップS121bにおいて“Yes”)、当該登録外ドキュメント制御工程(ステップS121)を終了する。 In step S121b, the job sequence control unit 13 determines whether printing of the first registered document data in the sequence defined by the sequence information 20 has already started. The first registered document data in the order defined by the order information 20 naturally corresponds to one of the first document data, and in the above-described specific example, the print job with the document name "A-UN001" corresponds. . Therefore, the job sequence control unit 13, at this point in time, even after the print job with the document name "A-UN001" has been read out from the print queue 17b by the print control unit 14 and transferred to the printing unit 18 has started. For example, it is determined that printing of the first registered document data in the order defined by the order information 20 has already started ("Yes" in step S121b), and the unregistered document control step (step S121) ends.

一方、ジョブ並び制御部13は、現時点において、ドキュメント名“A‐UN001”の印刷ジョブをプリントキュー17bに並べる前であったり、ドキュメント名“A‐UN001”の印刷ジョブをプリントキュー17bに並べた後であっても当該印刷ジョブが印刷制御部14による処理対象となる前であれば、順序情報20が規定する並び順の先頭の登録ドキュメントデータの印刷開始前であると判定し(ステップS121bにおいて“No”)、ステップS121cへ進む。 On the other hand, the job queue control unit 13 has not queued the print job with the document name "A-UN001" in the print queue 17b at the present time, or has queued the print job with the document name "A-UN001" in the print queue 17b. Even if it is later, if the print job is before being processed by the print control unit 14, it is determined that it is before the start of printing of the first registered document data in the order defined by the order information 20 (in step S121b). "No"), the process proceeds to step S121c.

ステップS121bにおいて“Yes”と判定して登録外ドキュメント制御工程(ステップS121)を終了した場合、ジョブ並び制御部13は、ステップS121と並行して実行中のステップS120では、結果的に登録外ドキュメント制御工程(ステップS121)の影響を受けず、第1実施形態で説明した通りの処理を行う。つまり、ジョブ並び制御部13は、受信されたことを検知した登録外ドキュメントデータの印刷ジョブ(例えば、ドキュメント名“XXX”の印刷ジョブ)を、全ての登録ドキュメントデータの印刷ジョブよりも後にプリントキュー17bに並べる(図4参照)。 If the determination in step S121b is "Yes" and the non-registered document control step (step S121) is completed, the job sequence control unit 13 will result in the non-registered document The processing as described in the first embodiment is performed without being affected by the control step (step S121). That is, the job sequence control unit 13 puts the print job of the unregistered document data whose reception has been detected (for example, the print job with the document name “XXX”) in the print queue after all the print jobs of the registered document data. 17b (see FIG. 4).

一方、ステップS121cでは、ジョブ並び制御部13は、ステップS121aで受信されたことを検知した登録外ドキュメントデータの印刷ジョブの、プリントキュー17bの先頭への割り込みを行う。つまり、現在のプリントキュー17bに登録ドキュメントデータの印刷ジョブが並んでいるか否かに関係なく、登録外ドキュメントデータの印刷ジョブをプリントキュー17bの並び順1番目の位置に並べる。 On the other hand, in step S121c, the job sequence control unit 13 interrupts the print job of the non-registered document data detected to be received in step S121a to the head of the print queue 17b. That is, the print job of the non-registered document data is arranged in the first position in the print queue 17b regardless of whether or not the print job of the registered document data is arranged in the current print queue 17b.

ステップS121cの結果、図6の右側に示すように、プリントキュー17bの先頭には、例えば、登録外ドキュメントデータとしてのドキュメント名“XXX”の印刷ジョブが並ぶことになる。ちなみに、図6の左側に示す待機バッファ17a側の印刷ジョブの並び順(蓄積順)は、図4の左側に示す内容と同じである。むろん、図6の右側に示すドキュメント名“XXX”の印刷ジョブ以外の各印刷ジョブ(並び順が2~16番目の各印刷ジョブ)は、ステップS121と並行して実行中のステップS120により、第1実施形態で説明したように順序情報20に従ってプリントキュー17bに並べられたものである。ステップS121cの結果、登録外ドキュメントデータの印刷ジョブ(ドキュメント名“XXX”の印刷ジョブ)が、登録ドキュメントデータの印刷ジョブ(ドキュメント名“A‐UN001”の印刷ジョブ)よりも先に印刷制御部14による処理対象とされ、印刷部18により印刷されることになる。 As a result of step S121c, as shown on the right side of FIG. 6, for example, print jobs with the document name "XXX" as unregistered document data are arranged at the head of the print queue 17b. Incidentally, the arrangement order (accumulation order) of the print jobs on the waiting buffer 17a side shown on the left side of FIG. 6 is the same as the contents shown on the left side of FIG. Of course, each print job other than the print job with the document name "XXX" shown on the right side of FIG. They are arranged in the print queue 17b according to the order information 20 as described in the first embodiment. As a result of step S121c, the print job of the non-registered document data (the print job with the document name “XXX”) is executed by the print control unit 14 before the print job of the registered document data (the print job with the document name “A-UN001”). , and printed by the printing unit 18.

ステップS121cの後、ジョブ並び制御部13は、再びステップS121aの判定を行う。従って、第2実施形態では、登録ドキュメントデータの状況次第では、複数の登録外ドキュメントデータの各印刷ジョブが、順序情報20が規定する並び順の先頭の登録ドキュメントデータの印刷ジョブ(ドキュメント名“A‐UN001”の印刷ジョブ)よりも前にプリントキュー17bに並べられる可能性がある。なお、ジョブ並び制御部13は、プリントキュー17bにおいて、複数の登録外ドキュメントデータの各印刷ジョブを、順序情報20が規定する並び順の先頭の登録ドキュメントデータの印刷ジョブよりも前の並び位置に並べる場合、これら複数の登録外ドキュメントデータ同士の並び順は、受信順(蓄積順)を遵守するものとする。また、ジョブ並び制御部13が、ある登録外ドキュメントデータに関してはステップS121bで“No”と判定してステップS121cを実行し、その後受信された別の登録外ドキュメントデータに関してはステップS121bで“Yes”と判定した場合には、全ての登録ドキュメントデータよりも前に、ある登録外ドキュメントデータが印刷され、かつ全ての登録ドキュメントデータの印刷後に、別の登録外ドキュメントデータが印刷されることとなる。 After step S121c, the job sequence control unit 13 makes the determination of step S121a again. Therefore, in the second embodiment, depending on the status of the registered document data, each print job of the plurality of non-registered document data is the print job of the first registered document data (document name "A -UN001″) may be queued in the print queue 17b. In the print queue 17b, the job sequence control unit 13 places each print job of a plurality of non-registered document data in the sequence position before the print job of the first registered document data in the sequence order defined by the order information 20. When arranging, the order of arrangement of the plurality of non-registered document data shall comply with the order of reception (order of accumulation). Further, the job sequence control unit 13 determines "No" in step S121b for certain unregistered document data, executes step S121c, and determines "Yes" in step S121b for other unregistered document data received thereafter. If it is determined, certain non-registered document data is printed before all registered document data, and another non-registered document data is printed after printing all registered document data.

このような第2実施形態によれば、印刷処理部は、登録外ドキュメントデータ(第3のドキュメントデータ)の印刷ジョブが受信されたとき、第1のドキュメントデータの印刷ジョブに基づく印刷を開始済みであれば、第1のドキュメントデータの印刷ジョブに基づく印刷および第2のドキュメントデータの印刷ジョブに基づく印刷(つまり、登録ドキュメントの印刷)を順に実行した後に、登録外ドキュメントデータの印刷ジョブに基づく印刷を実行する。一方、登録外ドキュメントデータの印刷ジョブが受信されたとき、第1のドキュメントデータの印刷ジョブに基づく印刷の開始前であれば、第1のドキュメントデータの印刷ジョブに基づく印刷(登録ドキュメントの印刷)よりも前に、登録外ドキュメントデータの印刷ジョブに基づく印刷を実行する。当該構成によれば、登録ドキュメントデータを、それらの受信順(蓄積順)に関係なく、順序情報20に規定された所定の順序で印刷することができ、かつ、印刷結果において登録ドキュメントの間に登録外ドキュメントが混在することを、確実に回避することができる。また、登録外ドキュメントデータを登録ドキュメントデータよりも前に印刷の対象とすることで、印刷結果物としての登録外ドキュメントを欲するユーザーを長時間待たせることを回避できる。 According to the second embodiment, when a print job of unregistered document data (third document data) is received, the print processing unit has already started printing based on the print job of the first document data. Then, printing based on the print job of the first document data and printing based on the print job of the second document data (that is, printing of the registered document) are sequentially executed, and then printing based on the print job of the non-registered document data Execute printing. On the other hand, when a print job of non-registered document data is received, if it is before the start of printing based on the print job of the first document data, printing based on the print job of the first document data (printing of the registered document) , the printing based on the print job of the unregistered document data is executed. According to this configuration, the registered document data can be printed in the predetermined order specified in the order information 20 regardless of the order of reception (the order of accumulation) of the registered document data. Mixture of unregistered documents can be reliably avoided. Further, by setting the non-registered document data to be printed before the registered document data, it is possible to avoid making the user who wants the non-registered document as a printed result wait for a long time.

4.第3実施形態:
第1実施形態や第2実施形態において、プログラムAを実行する制御部11は、エラー処理部21(図1)としても機能する。エラー処理部21は、第1のドキュメントデータの印刷ジョブの受信後、所定時間内に第2のドキュメントデータの印刷ジョブが受信されない場合に、外部へのエラー通知を含む所定のエラー処理を実行する。具体的には、エラー処理部21は、順序情報20を参照し、順序情報20が規定する並び順の先頭の登録ドキュメントデータ(最初の第1のドキュメントデータ)の印刷ジョブが通信制御部12により受信されて以降(待機バッファ17aに蓄積されて以降)、第1のドキュメントデータの印刷ジョブの受信後、当該第1のドキュメントデータの印刷ジョブの次に印刷されるべき第2のドキュメントデータの印刷ジョブが通信制御部12により受信されるよりも先に、予め設定された所定時間が経過したか否か、の判定を行う。
4. Third embodiment:
In the first and second embodiments, the control unit 11 that executes the program A also functions as the error processing unit 21 (FIG. 1). If the print job for the second document data is not received within a predetermined time after receiving the print job for the first document data, the error processing unit 21 executes predetermined error processing including error notification to the outside. . Specifically, the error processing unit 21 refers to the order information 20, and the print job of the first registered document data (the first document data) in the order defined by the order information 20 is processed by the communication control unit 12. After being received (after being accumulated in the standby buffer 17a), after the print job of the first document data is received, the printing of the second document data to be printed next to the print job of the first document data. Before the job is received by the communication control unit 12, it is determined whether or not a predetermined time has passed.

例えば、図4や図6の左側を参照すると、エラー処理部21は、ドキュメント名“A‐UN001”の印刷ジョブが受信されたことを契機として、次に印刷すべきドキュメント名“B‐UN001”の印刷ジョブが所定時間内に受信されたか否かを判定する。図4,6の左側の例では、“A‐UN001”の印刷ジョブの蓄積順は1番目であり、“B‐UN001”の印刷ジョブの蓄積順は8番目であり、仮に当該1番目の蓄積から8番目の蓄積の間の経過時間が所定時間を超える場合には、エラー処理部21は、当該所定時間を超えた時点で、エラー処理を実行することになる。 For example, referring to the left side of FIGS. 4 and 6, when the print job with the document name "A-UN001" is received, the error processing unit 21 selects the document name "B-UN001" to be printed next. is received within a predetermined period of time. In the examples on the left side of FIGS. 4 and 6, the order of accumulation of the print job "A-UN001" is first, and the order of accumulation of the print job "B-UN001" is eighth. If the elapsed time from the eighth accumulation to the eighth accumulation exceeds a predetermined time, the error processing unit 21 executes error processing when the predetermined time is exceeded.

同様に、エラー処理部21は、ドキュメント名“B‐UN001”の印刷ジョブが受信されたことを契機として、次に印刷すべきドキュメント名“C‐UN001”の印刷ジョブが所定時間内に受信されたか否かを判定する。図4,6の左側の例では、“B‐UN001”の印刷ジョブよりも、“C‐UN001”の印刷ジョブの方が先に受信されている。そのため、“B‐UN001”の印刷ジョブと“C‐UN001”の印刷ジョブとの関係においては、エラー処理部21が「所定時間が経過した」と判定することは無い。 Similarly, when the print job with the document name "B-UN001" is received, the error processing unit 21 receives the print job with the document name "C-UN001" to be printed next within a predetermined time. determine whether or not In the examples on the left side of FIGS. 4 and 6, the print job "C-UN001" is received earlier than the print job "B-UN001". Therefore, the error processing unit 21 does not determine that "the predetermined time has passed" in the relationship between the print job "B-UN001" and the print job "C-UN001".

同様に、エラー処理部21は、ドキュメント名“C‐UN001”の印刷ジョブが受信されたことを契機として、次に印刷すべきドキュメント名“A‐UN002”の印刷ジョブが所定時間内に受信されたか否かを判定する。図4,6の左側の例では、“C‐UN001”の印刷ジョブよりも、“A‐UN002”の印刷ジョブの方が先に受信されている。そのため、“C‐UN001”の印刷ジョブと“A‐UN001”の印刷ジョブとの関係においては、エラー処理部21が「所定時間が経過した」と判定することは無い。エラー処理部21は、このような判定を、基本的には、順序情報20を参照して認識可能な第1のドキュメントデータおよび第2のドキュメントデータの組み合わせの全てに関して夫々実行する。 Similarly, when the print job with the document name "C-UN001" is received, the error processing unit 21 receives the print job with the document name "A-UN002" to be printed next within a predetermined time. determine whether or not In the examples on the left side of FIGS. 4 and 6, the print job "A-UN002" is received earlier than the print job "C-UN001". Therefore, the error processing unit 21 does not determine that "the predetermined time has passed" in the relationship between the print job "C-UN001" and the print job "A-UN001". The error processing unit 21 basically performs such a determination with reference to the order information 20 for all recognizable combinations of the first document data and the second document data.

エラー処理部21は、エラー処理として、例えば、印刷装置10の表示部15や登録ドキュメントデータの印刷ジョブの送信元(端末30,31)が有する表示部に所定のエラー通知画面を表示させる。エラー通知画面では、印刷装置10が現在送信を待機している第2のドキュメントデータのドキュメント名を表示するなどして、必要な印刷ジョブの送信を促す。あるいは、エラー処理部21は、エラー処理として、登録ドキュメントデータの印刷をキャンセルし、当該キャンセルした旨を前記エラー通知画面において表示するとしてもよい。つまり、ある第1のドキュメントデータの印刷ジョブを受信してから当該第1のドキュメントデータの印刷ジョブの次に印刷されるべき第2のドキュメントデータの印刷ジョブが所定時間内に受信されない場合には、エラー処理部21は、当該第1のドキュメントデータの印刷ジョブおよび当該第1のドキュメントデータ以前に受信済みの登録ドキュメントデータの印刷ジョブを蓄積部17から消去するとともに、前記キャンセルの旨を前記エラー通知画面において表示することができる。 As error processing, the error processing unit 21 displays a predetermined error notification screen on the display unit 15 of the printing apparatus 10 or the display unit of the sender (terminal 30, 31) of the print job of the registered document data. On the error notification screen, the printing apparatus 10 displays the document name of the second document data currently waiting for transmission, and prompts transmission of the necessary print job. Alternatively, the error processing unit 21 may cancel printing of the registered document data and display the cancellation on the error notification screen as the error processing. In other words, when a print job of second document data to be printed next to the print job of the first document data is not received within a predetermined time after the print job of the first document data is received. , the error processing unit 21 deletes the print job of the first document data and the print job of the registered document data received before the first document data from the storage unit 17, and notifies the cancellation of the error. It can be displayed on the notification screen.

このような第3実施形態によれば、印刷装置10は、第2のドキュメントデータの印刷ジョブが受信できないことを外部に通知したり、第2のドキュメントデータの印刷ジョブを待機することを中止(登録ドキュメントデータの印刷をキャンセル)したりすることで、登録ドキュメントデータの印刷のために長時間占有されることを回避することができる。 According to the third embodiment as described above, the printing apparatus 10 notifies the outside that the print job of the second document data cannot be received, or stops waiting for the print job of the second document data ( By canceling the printing of the registered document data, it is possible to avoid being occupied for a long time for printing the registered document data.

1…印刷システム、10…印刷装置、11…制御部、12…通信制御部、13…ジョブ並び制御部、14…印刷制御部、15…表示部、16…操作受付部、17…蓄積部、17a…待機バッファ、17b…プリントキュー、18…印刷部、19…通信IF、20…順序情報、21…エラー処理部、30,31…端末、40…通信網、A…プログラム Reference Signs List 1 printing system 10 printing device 11 control unit 12 communication control unit 13 job sequence control unit 14 print control unit 15 display unit 16 operation reception unit 17 storage unit 17a Waiting buffer 17b Print queue 18 Printing unit 19 Communication IF 20 Order information 21 Error processing unit 30, 31 Terminal 40 Communication network A Program

Claims (9)

第1のドキュメントデータの識別情報と、前記第1のドキュメントデータの次に印刷すべき第2のドキュメントデータの識別情報との順序を規定した順序情報を予め記憶する記憶部と、
ドキュメントデータを印刷するための印刷ジョブを外部から受信するジョブ受信部と、
前記受信された印刷ジョブを蓄積する蓄積部と、
前記第1のドキュメントデータの印刷ジョブの受信後、前記第2のドキュメントデータの印刷ジョブの受信前に、前記順序情報に規定された識別情報を有さない第3のドキュメントデータの印刷ジョブが受信された場合に、前記順序情報に従って、前記蓄積された印刷ジョブの順序の並び替えを行うジョブ並び制御部と、
前記並び替え後の印刷ジョブの順序に従って印刷ジョブに基づく印刷を順次実行する印刷処理部と、を備え
前記識別情報は、印刷ジョブのドキュメント名であることを特徴とする印刷装置。
a storage unit for pre-storing order information defining the order of the identification information of the first document data and the identification information of the second document data to be printed next to the first document data;
a job receiving unit that externally receives a print job for printing document data;
an accumulation unit for accumulating the received print job;
After receiving the print job of the first document data and before receiving the print job of the second document data, a print job of the third document data not having the identification information specified in the order information is received. a job order control unit that rearranges the order of the stored print jobs according to the order information when the print job is received;
a print processing unit that sequentially executes printing based on the print jobs in accordance with the order of the print jobs after the rearrangement ;
A printing apparatus , wherein the identification information is a document name of a print job .
前記印刷処理部は、前記第1のドキュメントデータの印刷ジョブに基づく印刷および前記第2のドキュメントデータの印刷ジョブに基づく印刷を順に実行した後に、前記第3のドキュメントデータの印刷ジョブに基づく印刷を実行することを特徴とする請求項1に記載の印刷装置。 The print processing unit performs printing based on the print job of the first document data and printing based on the print job of the second document data in order, and then performs printing based on the print job of the third document data. 2. The printing device of claim 1, wherein: 前記印刷処理部は、前記第1のドキュメントデータの印刷ジョブに基づく印刷よりも前に、前記第3のドキュメントデータの印刷ジョブに基づく印刷を実行することを特徴とする請求項1に記載の印刷装置。 2. The printing according to claim 1, wherein the print processing unit executes printing based on the print job of the third document data before printing based on the print job of the first document data. Device. 前記印刷処理部は、前記第3のドキュメントデータの印刷ジョブが受信されたとき、前記第1のドキュメントデータの印刷ジョブに基づく印刷を開始済みであれば、前記第1のドキュメントデータの印刷ジョブに基づく印刷および前記第2のドキュメントデータの印刷ジョブに基づく印刷を順に実行した後に、前記第3のドキュメントデータの印刷ジョブに基づく印刷を実行し、前記第3のドキュメントデータの印刷ジョブが受信されたとき、前記第1のドキュメントデータの印刷ジョブに基づく印刷の開始前であれば、前記第1のドキュメントデータの印刷ジョブに基づく印刷よりも前に、前記第3のドキュメントデータの印刷ジョブに基づく印刷を実行することを特徴とする請求項1に記載の印刷装置。 If printing based on the print job of the first document data has been started when the print job of the third document data is received, the print processing unit performs the print job of the first document data. and printing based on the print job of the second document data in sequence, then printing based on the print job of the third document data is performed, and the print job of the third document data is received. When printing based on the print job of the first document data is started, printing based on the print job of the third document data is performed before printing based on the print job of the first document data. 2. The printing apparatus according to claim 1, wherein: 前記第1のドキュメントデータの印刷ジョブの受信後、所定時間内に前記第2のドキュメントデータの印刷ジョブが受信されない場合に、外部へのエラー通知を含む所定のエラー処理を実行するエラー処理部を備えることを特徴とする請求項1~請求項4のいずれかに記載の印刷装置。 an error processing unit that executes predetermined error processing including error notification to the outside when the print job of the second document data is not received within a predetermined time after the print job of the first document data is received; 5. The printing apparatus according to any one of claims 1 to 4, comprising: 第1のドキュメントデータの識別情報と、前記第1のドキュメントデータの次に印刷すべき第2のドキュメントデータの識別情報との順序を規定した順序情報を予め記憶する記憶部と、
ドキュメントデータを印刷するための印刷ジョブを外部から受信するジョブ受信部と、
前記受信された印刷ジョブを蓄積する蓄積部と、
前記第1のドキュメントデータの印刷ジョブの受信後、前記第2のドキュメントデータの印刷ジョブの受信前に、前記順序情報に規定された識別情報を有さない第3のドキュメントデータの印刷ジョブが受信された場合に、前記順序情報に従って、前記蓄積された印刷ジョブの順序の並び替えを行うジョブ並び制御部と、
前記並び替え後の印刷ジョブの順序に従って印刷ジョブに基づく印刷を順次実行する印刷処理部と、を備え、
前記識別情報には、ドキュメントデータの第1の属性を識別するための第1識別情報とドキュメントデータの第2の属性を識別するための第2識別情報とが含まれており、前記順序情報は、前記第1識別情報間の順序を規定し且つ前記第1識別情報が共通するドキュメントデータの前記第2識別情報間の順序を規定しており、
前記ジョブ並び制御部は、前記蓄積部に蓄積された印刷ジョブについて、前記順序情報が規定する前記第1識別情報間の順序に従って並び、かつ、前記第1識別情報が共通する印刷ジョブが、前記順序情報が規定する前記第2識別情報間の順序に従って並ぶように、並び替えを行うことを特徴とする印刷装置。
a storage unit for pre-storing order information defining the order of the identification information of the first document data and the identification information of the second document data to be printed next to the first document data;
a job receiving unit that externally receives a print job for printing document data;
an accumulation unit for accumulating the received print job;
After receiving the print job of the first document data and before receiving the print job of the second document data, a print job of the third document data not having the identification information specified in the order information is received. a job order control unit that rearranges the order of the stored print jobs according to the order information when the print job is received;
a print processing unit that sequentially executes printing based on the print jobs in accordance with the order of the print jobs after the rearrangement;
The identification information includes first identification information for identifying a first attribute of document data and second identification information for identifying a second attribute of document data, and the order information is , prescribing the order between the first identification information and prescribing the order between the second identification information of document data having the same first identification information;
The job sequence control unit arranges the print jobs stored in the storage unit according to the order between the first identification information specified by the order information, and the print jobs having the common first identification information are selected from the A printing apparatus, wherein rearrangement is performed so that the second identification information is arranged in accordance with the order of the second identification information defined by the order information.
前記第1の属性はユーザー名であることを特徴とする請求項6に記載の印刷装置。 7. The printing device of claim 6, wherein the first attribute is a user name. 前記識別情報は、印刷ジョブのドキュメント名であることを特徴とする請求項6または請求項7に記載の印刷装置。 8. A printing apparatus according to claim 6 , wherein said identification information is a document name of a print job. ドキュメントデータを印刷するための印刷ジョブを外部から受信するジョブ受信工程と、
前記受信された印刷ジョブを蓄積部へ蓄積するジョブ蓄積工程と、
記憶部に予め記憶された順序情報であって、第1のドキュメントデータの識別情報と前記第1のドキュメントデータの次に印刷すべき第2のドキュメントデータの識別情報との順序を規定した前記順序情報を参照し、前記第1のドキュメントデータの印刷ジョブの受信後、前記第2のドキュメントデータの印刷ジョブの受信前に、前記順序情報に規定された識別情報を有さない第3のドキュメントデータの印刷ジョブが受信されたと判断した場合に、前記順序情報に従って、前記蓄積された印刷ジョブの順序の並び替えを行うジョブ並び制御工程と、
前記並び替え後の印刷ジョブの順序に従って印刷ジョブに基づく印刷を順次実行する印刷処理工程と、を備え
前記識別情報は、印刷ジョブのドキュメント名であることを特徴とする印刷方法。
a job receiving step of receiving from the outside a print job for printing document data;
a job accumulation step of accumulating the received print job in an accumulation unit;
Order information stored in advance in a storage unit, which defines the order of the identification information of the first document data and the identification information of the second document data to be printed next to the first document data. with reference to information, after receiving the print job of the first document data and before receiving the print job of the second document data, third document data not having identification information defined in the order information; a job order control step of rearranging the order of the stored print jobs according to the order information when it is determined that the print jobs are received;
a print processing step of sequentially executing printing based on the print jobs in accordance with the order of the rearranged print jobs ;
A printing method , wherein the identification information is a document name of a print job .
JP2017213281A 2017-11-02 2017-11-02 Printing device and printing method Active JP7119344B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017213281A JP7119344B2 (en) 2017-11-02 2017-11-02 Printing device and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017213281A JP7119344B2 (en) 2017-11-02 2017-11-02 Printing device and printing method

Publications (2)

Publication Number Publication Date
JP2019084722A JP2019084722A (en) 2019-06-06
JP7119344B2 true JP7119344B2 (en) 2022-08-17

Family

ID=66762013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017213281A Active JP7119344B2 (en) 2017-11-02 2017-11-02 Printing device and printing method

Country Status (1)

Country Link
JP (1) JP7119344B2 (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000062292A (en) 1998-08-21 2000-02-29 Canon Inc PRINTING SYSTEM, PRINTING SYSTEM CONTROL METHOD, AND COMPUTER-READABLE STORAGE MEDIUM
JP2006350943A (en) 2005-06-20 2006-12-28 Canon Inc PRINT CONTROL DEVICE, ITS CONTROL METHOD, COMPUTER PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM
JP2006350945A (en) 2005-06-20 2006-12-28 Canon Inc Printing control apparatus and printing control method
JP2007026186A (en) 2005-07-19 2007-02-01 Ricoh Co Ltd Server device, print completion notification method, program, computer-readable recording medium, host terminal device, and network printer system
JP2010224704A (en) 2009-03-23 2010-10-07 Konica Minolta Business Technologies Inc Image processing device, method and program for controlling the same
JP2010221468A (en) 2009-03-23 2010-10-07 Konica Minolta Business Technologies Inc Image output device, method for controlling image output device, and control program for image output device
US20100328721A1 (en) 2009-06-29 2010-12-30 Kabushiki Kaisha Toshiba Print job managing apparatus, print job managing system, and print job managing method
JP2013191177A (en) 2012-03-15 2013-09-26 Konica Minolta Inc Image forming system, information device, image forming apparatus, computer program, and method of printing document
JP2014176971A (en) 2013-03-13 2014-09-25 Ricoh Co Ltd Image formation apparatus and printer driver for making printing settings therefor
JP2015162075A (en) 2014-02-27 2015-09-07 理想科学工業株式会社 Print job generation device
JP2016064551A (en) 2014-09-24 2016-04-28 株式会社リコー Information processing equipment, information processing method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11277852A (en) * 1998-03-30 1999-10-12 Fuji Xerox Co Ltd Image data printer and printing control method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000062292A (en) 1998-08-21 2000-02-29 Canon Inc PRINTING SYSTEM, PRINTING SYSTEM CONTROL METHOD, AND COMPUTER-READABLE STORAGE MEDIUM
JP2006350943A (en) 2005-06-20 2006-12-28 Canon Inc PRINT CONTROL DEVICE, ITS CONTROL METHOD, COMPUTER PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM
JP2006350945A (en) 2005-06-20 2006-12-28 Canon Inc Printing control apparatus and printing control method
JP2007026186A (en) 2005-07-19 2007-02-01 Ricoh Co Ltd Server device, print completion notification method, program, computer-readable recording medium, host terminal device, and network printer system
JP2010224704A (en) 2009-03-23 2010-10-07 Konica Minolta Business Technologies Inc Image processing device, method and program for controlling the same
JP2010221468A (en) 2009-03-23 2010-10-07 Konica Minolta Business Technologies Inc Image output device, method for controlling image output device, and control program for image output device
US20100328721A1 (en) 2009-06-29 2010-12-30 Kabushiki Kaisha Toshiba Print job managing apparatus, print job managing system, and print job managing method
JP2013191177A (en) 2012-03-15 2013-09-26 Konica Minolta Inc Image forming system, information device, image forming apparatus, computer program, and method of printing document
JP2014176971A (en) 2013-03-13 2014-09-25 Ricoh Co Ltd Image formation apparatus and printer driver for making printing settings therefor
JP2015162075A (en) 2014-02-27 2015-09-07 理想科学工業株式会社 Print job generation device
JP2016064551A (en) 2014-09-24 2016-04-28 株式会社リコー Information processing equipment, information processing method, and program

Also Published As

Publication number Publication date
JP2019084722A (en) 2019-06-06

Similar Documents

Publication Publication Date Title
US8625138B2 (en) Server apparatus, image forming system, and method of managing print data
US9864553B2 (en) Information processing apparatus configured to display icon
EP2453348A2 (en) Image forming system, image forming method, server, and image forming apparatus
JP5747877B2 (en) Image processing linkage system, image processing linkage method, portable information device, image processing device, and linkage program
US9160888B2 (en) Information processing apparatus, user information management control method, and storage medium
US9277084B2 (en) Data processing device, data processing system, and data processing method
JP2020074588A (en) Image processing apparatus, image processing apparatus control method, and program
US9313342B2 (en) Image reading apparatus, image reading method, image reading system, and storage medium
US9813581B2 (en) Improving workflow processing efficiency of information processing system, information processing method, and device via workload distribution
JP6127689B2 (en) Printing apparatus and printing system
CN103543967B (en) Image processing device and method
US20100182630A1 (en) Secure Printing
US20130057884A1 (en) Information processing apparatus, computer program, and control method
JP7119344B2 (en) Printing device and printing method
JP2013095024A (en) Printing apparatus, printing system, printer driver, and printing method
JP2020010222A (en) Information processing apparatus and information processing program
CN107577442A (en) Processing request management system, device and method
JP6136671B2 (en) Print job management method, print job management program, recording medium, and digital printing apparatus
JP2018151706A (en) Print system, image formation device, and program
US20150277830A1 (en) Job processing apparatus, information displaying apparatus, information processing system, job item displaying method, and program
US20120327462A1 (en) Image processing apparatus, image forming system, and image output method
JP6766447B2 (en) Server, gateway device, image forming device, print processing method and print processing program
US20110264458A1 (en) System and method for assigning a seat based on usage situations of printing apparatus
JP2014235620A (en) Image forming system and image forming apparatus
JP2014024262A (en) Image forming device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201009

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211020

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220208

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220407

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20220407

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20220420

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20220426

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: 20220705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220718

R150 Certificate of patent or registration of utility model

Ref document number: 7119344

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150