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
JP6957906B2 - Control device - Google Patents
[go: Go Back, main page]

JP6957906B2 - Control device - Google Patents

Control device Download PDF

Info

Publication number
JP6957906B2
JP6957906B2 JP2017046586A JP2017046586A JP6957906B2 JP 6957906 B2 JP6957906 B2 JP 6957906B2 JP 2017046586 A JP2017046586 A JP 2017046586A JP 2017046586 A JP2017046586 A JP 2017046586A JP 6957906 B2 JP6957906 B2 JP 6957906B2
Authority
JP
Japan
Prior art keywords
image data
copies
information
print
copy
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
JP2017046586A
Other languages
Japanese (ja)
Other versions
JP2018149723A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017046586A priority Critical patent/JP6957906B2/en
Publication of JP2018149723A publication Critical patent/JP2018149723A/en
Application granted granted Critical
Publication of JP6957906B2 publication Critical patent/JP6957906B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)

Description

本明細書では、印刷実行部に印刷を実行させるための制御装置を開示する。 In the present specification, a control device for causing a print execution unit to execute printing is disclosed.

特許文献1には、記憶装置内の印刷データを画像出力して用紙に印刷するプリンタが開示されている。プリンタは、ホストマシンから印刷データを受信し、当該印刷データを記憶装置に記憶する。プリンタは、ユーザによって複数部を示す印刷部数が指定される場合に、記憶装置内の印刷データを画像出力して用紙に印刷することを繰り返す。 Patent Document 1 discloses a printer that outputs print data in a storage device as an image and prints it on paper. The printer receives print data from the host machine and stores the print data in the storage device. When the user specifies the number of copies to be printed indicating a plurality of copies, the printer repeatedly outputs the print data in the storage device as an image and prints it on paper.

特開2003−131824号公報Japanese Unexamined Patent Publication No. 2003-131824

特許文献1には明記されていないが、ホストマシンにおいて、印刷対象のN個(Nは1以上の整数)の画像と、M部(Mは2以上の整数)を示す印刷部数と、が指定される場合に、ホストマシンが、N個の画像を表わすN個の印刷データとM部を示す印刷部数情報とをプリンタに送信する構成が考えられる。この場合、プリンタは、当該N個の印刷データと当該印刷部数情報とを記憶装置内に記憶させておけば、当該N個の印刷データに従った印刷を当該印刷部数情報に従った回数だけ繰り返し実行して、ユーザの意図に従った印刷を実現することができる。一方、ホストマシンにおいて、N個の画像とM部を示す印刷部数とが指定される場合に、ホストマシンが、(N×M)個の画像を表わす(N×M)個の印刷データと1部を示す印刷部数情報とをプリンタに送信する構成も想定される。この場合、プリンタは、当該(N×M)個の印刷データを記憶装置内に記憶させる必要があり、記憶装置に記憶されるべきデータ量が多くなってしまう。 Although not specified in Patent Document 1, in the host machine, N images to be printed (N is an integer of 1 or more) and M copies (M is an integer of 2 or more) are specified. In this case, the host machine may transmit N print data representing N images and print copy number information indicating M copies to the printer. In this case, if the printer stores the N print data and the print copy number information in the storage device, the printer repeats printing according to the N print data as many times as the number of times according to the print copy number information. It can be executed to realize printing according to the user's intention. On the other hand, when N images and the number of prints indicating M copies are specified in the host machine, the host machine has (N × M) print data representing (N × M) images and 1 print data. A configuration is also assumed in which information on the number of copies to be printed indicating the number of copies is transmitted to the printer. In this case, the printer needs to store the (N × M) pieces of print data in the storage device, and the amount of data to be stored in the storage device increases.

本明細書では、制御装置のメモリに記憶されるべきデータ量が多くなるのを抑制するための技術を提供する。 The present specification provides a technique for suppressing an increase in the amount of data to be stored in the memory of the control device.

本明細書によって開示される制御装置は、メモリと、端末装置において、互いに異なるN1個(前記N1は2以上の整数)の画像がユーザによって指定される場合に、前記端末装置から、少なくとも前記N1個の画像を表わす少なくともN1個の画像データを含む第1の印刷要求を取得する第1の印刷要求取得部と、前記端末装置において、前記N1個の画像と、M1部(前記M1は2以上の整数)を示す印刷部数と、が前記ユーザによって指定されることに起因して、前記第1の印刷要求が、(N1×M1)個の画像を表わす(N1×M1)個の画像データを含む第1の場合に、前記(N1×M1)個の画像データにおいて、各画像データが他の画像データと一致するのか否かを判断する第1の一致判断処理を実行する第1の一致判断部と、前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記(N1×M1)個の画像データの中から前記N1個の画像データを特定する第1の特定部と、前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記N1個の画像の印刷部数に関係する部数関係情報を生成する関係情報生成部と、前記第1の場合に、前記(N1×M1)個の画像データのうちの特定済みの前記N1個の画像データと、前記部数関係情報と、を前記メモリ内の所定領域に記憶させる第1の記憶制御部であって、前記(N1×M1)個の画像データのうち、特定済みの前記N1個の画像データ以外の(N1×(M1−1))個の画像データは、前記所定領域に記憶されない、前記第1の記憶制御部と、前記N1個の画像データと前記部数関係情報とが前記所定領域に記憶された後に、前記N1個の画像データと前記部数関係情報とを利用して、前記(N1×M1)個の画像の印刷を前記印刷実行部に実行させる第1の印刷制御部と、を備える。 The control device disclosed by the present specification is such that at least the N1 is specified by the user in the memory and the terminal device when N1 images (the N1 is an integer of 2 or more) different from each other are specified by the user. In the terminal device, the first print request acquisition unit that acquires the first print request including at least N1 image data representing the images, the N1 image, and the M1 unit (the M1 is 2 or more). Because the number of copies indicating (an integer of) is specified by the user, the first print request produces (N1 × M1) image data representing (N1 × M1) images. In the first case including, in the (N1 × M1) image data, the first match determination process for determining whether or not each image data matches the other image data is executed. A first specification for specifying the N1 image data from the (N1 × M1) image data by using the unit and the result of the first match determination process in the first case. The unit, the relationship information generation unit that generates the number of copies relationship information related to the number of copies of the N1 image by using the result of the first match determination process in the first case, and the first unit. In the case of, the first storage control unit that stores the specified N1 image data out of the (N1 × M1) image data and the number-of-copy relationship information in a predetermined area in the memory. Of the (N1 × M1) image data, (N1 × (M1-1)) image data other than the specified N1 image data are not stored in the predetermined area. After the first storage control unit, the N1 image data, and the number of copies related information are stored in the predetermined area, the N1 image data and the number of copies related information are used to obtain the above ( It includes a first print control unit that causes the print execution unit to print N1 × M1) images.

上記の構成によれば、制御装置は、(N1×M1)個の画像データにおいて、各画像データが他の画像データと一致するのか否かを判断することによって、(N1×M1)個の画像データの中からN1個の画像データを特定し、特定済みのN1個の画像データをメモリ内の所定領域に記憶させる。この際に、特定済みのN1個の画像データ以外の(N1×(M1−1))個の画像データは、所定領域に記憶されない。従って、制御装置のメモリ内の所定領域に記憶されるべきデータ量が多くなるのを抑制することができる。 According to the above configuration, the control device determines whether or not each image data matches the other image data in the (N1 × M1) image data, thereby determining (N1 × M1) images. N1 image data is specified from the data, and the specified N1 image data is stored in a predetermined area in the memory. At this time, (N1 × (M1-1)) image data other than the specified N1 image data are not stored in the predetermined area. Therefore, it is possible to suppress an increase in the amount of data to be stored in a predetermined area in the memory of the control device.

上記の制御装置を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。 A control method for realizing the above-mentioned control device, a computer program, and a computer-readable recording medium for storing the computer program are also new and useful.

通信システムの構成を示す。The configuration of the communication system is shown. プリンタによって実行される印刷関係処理のフローチャートを示す。The flowchart of the print-related processing executed by the printer is shown. 蓄積処理のフローチャートを示す。The flowchart of the accumulation process is shown. アンコレート印刷が指定されるケースA1とコレート印刷が指定されるケースA2を示す。A case A1 in which uncolate printing is specified and a case A2 in which collate printing is specified are shown. 第2実施例の蓄積処理のフローチャートを示す。The flowchart of the accumulation process of 2nd Example is shown. アンコレート印刷が指定されるケースB1とコレート印刷が指定されるケースB2を示す。A case B1 in which uncolate printing is specified and a case B2 in which collate printing is specified are shown. 決定処理のフローチャートを示す。The flowchart of the decision process is shown. アンコレート部数処理のフローチャートを示す。The flowchart of the uncolate number processing is shown. コレート部数処理のフローチャートを示す。The flowchart of the collate number processing is shown. 第2実施例の特殊なケースを示す。A special case of the second embodiment is shown.

(第1実施例)
(通信システム2の構成;図1)
図1に示されるように、通信システム2は、プリンタ10と、複数個の端末装置100、200と、を備える。各装置、10、100、200は、同じLAN(Local Area Networkの略)4に所属しており、LAN4を介して相互に通信可能である。
(First Example)
(Configuration of communication system 2; FIG. 1)
As shown in FIG. 1, the communication system 2 includes a printer 10 and a plurality of terminal devices 100 and 200. The devices 10, 100, and 200 belong to the same LAN (abbreviation of Local Area Network) 4, and can communicate with each other via the LAN 4.

(プリンタ10の構成;図1)
プリンタ10は、印刷機能を実行可能な周辺装置(即ち、端末装置100等の周辺装置)である。プリンタ10は、印刷実行部12と、入力部14と、ネットワークインターフェース16と、制御部20と、を備える。以下では、インターフェースのことを「I/F」と記載する。印刷実行部12は、インクジェット方式、レーザ方式等の印刷機構を備える。
(Configuration of Printer 10; FIG. 1)
The printer 10 is a peripheral device capable of executing a printing function (that is, a peripheral device such as a terminal device 100). The printer 10 includes a print execution unit 12, an input unit 14, a network interface 16, and a control unit 20. In the following, the interface will be referred to as "I / F". The print execution unit 12 includes a printing mechanism such as an inkjet method or a laser method.

入力部14は、ユーザによる情報の入力を受け付ける。入力部14は、例えば、操作キー、タッチパネル、ICカードリーダ、磁気カードリーダ等を含む。入力部14が操作キー又はタッチパネルである場合には、ユーザは、操作キー又はタッチパネルを操作することによって、情報をプリンタ10に入力することができる。また、入力部14がIC(又は磁気)カードリーダである場合には、ユーザは、情報が記憶されたIC(又は磁気)カードをIC(又は磁気)カードリーダに近づけることによって、当該情報をプリンタ10に入力することができる。 The input unit 14 accepts the input of information by the user. The input unit 14 includes, for example, an operation key, a touch panel, an IC card reader, a magnetic card reader, and the like. When the input unit 14 is an operation key or a touch panel, the user can input information to the printer 10 by operating the operation key or the touch panel. When the input unit 14 is an IC (or magnetic) card reader, the user prints the information by bringing the IC (or magnetic) card in which the information is stored close to the IC (or magnetic) card reader. You can enter in 10.

ネットワークI/F16は、有線通信を実行するためのI/Fであり、LAN4に接続されている。変形例では、ネットワークI/F16は、無線通信を実行するためのI/Fであってもよく、この場合、LAN4は、いわゆる無線LANである。 The network I / F 16 is an I / F for executing wired communication and is connected to the LAN 4. In the modified example, the network I / F 16 may be an I / F for executing wireless communication, and in this case, the LAN 4 is a so-called wireless LAN.

制御部20は、CPU22と、メモリ24と、を備える。CPU22は、メモリ24に記憶されているプログラム26に従って、様々な処理を実行する。メモリ24は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ24内の不揮発性メモリは、ユーザテーブル28を記憶する。また、メモリ24内の揮発性メモリは、一時領域30を備え、メモリ24内の不揮発性メモリは、蓄積領域32を備える。 The control unit 20 includes a CPU 22 and a memory 24. The CPU 22 executes various processes according to the program 26 stored in the memory 24. The memory 24 is composed of a volatile memory, a non-volatile memory, and the like. The non-volatile memory in the memory 24 stores the user table 28. Further, the volatile memory in the memory 24 includes a temporary area 30, and the non-volatile memory in the memory 24 includes a storage area 32.

ユーザテーブル28では、ユーザ名と、パスワードと、が関連付けられる。ユーザ名とパスワードは、例えば、プリンタ10の管理者が、端末装置(例えば100)からプリンタ10にアクセスすることによって、ユーザテーブル28に登録される。ユーザ名は、ユーザを識別するための情報である。パスワードは、当該ユーザを認証するための情報である。なお、以下では、ユーザ名とパスワードの組合せを「ユーザ情報」と記載する。 In the user table 28, the user name and the password are associated with each other. The user name and password are registered in the user table 28, for example, when the administrator of the printer 10 accesses the printer 10 from a terminal device (for example, 100). The user name is information for identifying the user. The password is information for authenticating the user. In the following, the combination of the user name and the password will be described as "user information".

一時領域30は、端末装置(例えば100)から供給される印刷要求及びユーザ情報を一時的に記憶するための領域である。印刷要求は、印刷対象の画像の印刷をプリンタ10に要求するためのコマンドであり、当該画像を表わす画像データを含む。印刷要求が複数個の画像データを含む場合には、複数個の画像データのそれぞれは、一時領域30に順次記憶されて後述の印刷関係処理(図2参照)で利用され、その後一時領域30から削除される。 The temporary area 30 is an area for temporarily storing the print request and the user information supplied from the terminal device (for example, 100). The print request is a command for requesting the printer 10 to print an image to be printed, and includes image data representing the image. When the print request includes a plurality of image data, each of the plurality of image data is sequentially stored in the temporary area 30 and used in the print-related processing (see FIG. 2) described later, and then from the temporary area 30. Will be deleted.

蓄積領域32は、印刷要求に含まれる画像データを蓄積情報(例えばSI1)として記憶するための領域である。蓄積情報は、画像データと印刷部数情報と方法情報とユーザ情報との組合せである。蓄積情報が複数個の画像データを含む場合には、各画像データは、印刷順序を示す順位に関連付けられる。印刷部数情報は、画像データの印刷部数を示す。方法情報は、印刷方法としてコレート印刷又はアンコレート印刷を示す。なお、コレート印刷、アンコレート印刷は、それぞれ、ソート印刷、非ソート印刷と同義である。蓄積情報に含まれるユーザ情報に一致するユーザ情報を入力部14に入力するための動作(例えば、操作キーの操作、ICカードをICカードリーダに近づける動作等)がユーザによって実行されると、当該蓄積情報に含まれる各画像データによって表わされる各画像の印刷が実行される。この場合、蓄積領域32から当該蓄積情報が削除される。 The storage area 32 is an area for storing the image data included in the print request as storage information (for example, SI1). The stored information is a combination of image data, number of copies of print information, method information, and user information. When the stored information includes a plurality of image data, each image data is associated with an order indicating a print order. The number of copies of print information indicates the number of copies of image data to be printed. The method information indicates collate printing or uncollate printing as the printing method. Note that collate printing and uncollate printing are synonymous with sorted printing and non-sorted printing, respectively. When an operation for inputting user information matching the user information included in the stored information into the input unit 14 (for example, an operation of an operation key, an operation of bringing an IC card closer to an IC card reader, etc.) is executed by the user, the said operation is performed. Printing of each image represented by each image data included in the accumulated information is executed. In this case, the stored information is deleted from the storage area 32.

(端末装置100の構成)
端末装置100は、デスクトップPC(Personal Computerの略)、ノートPC、携帯端末等のユーザ端末である。端末装置100は、専用プリンタドライバを記憶している。専用プリンタドライバは、プリンタ10のベンダによって提供されるプログラムであり、プリンタ10が解釈可能な印刷要求をプリンタ10に供給するためのプログラムである。専用プリンタドライバは、例えば、プリンタ10のベンダによって提供されるインターネット上のサーバ(不図示)から端末装置100にインストールされてもよいし、プリンタ10と共に出荷されるメディアから端末装置100にインストールされてもよい。
(Configuration of terminal device 100)
The terminal device 100 is a user terminal such as a desktop PC (abbreviation of Personal Computer), a notebook PC, or a mobile terminal. The terminal device 100 stores a dedicated printer driver. The dedicated printer driver is a program provided by the vendor of the printer 10 and is a program for supplying the printer 10 with a print request that can be interpreted by the printer 10. The dedicated printer driver may be installed on the terminal device 100 from a server (not shown) on the Internet provided by the vendor of the printer 10, or may be installed on the terminal device 100 from the media shipped together with the printer 10. May be good.

端末装置100は、ユーザから印刷の指示を受け付けると、指定画面SC1を表示する。指定画面SC1は、ユーザ情報を指定するためのユーザ情報ボックスと、ドキュメントを指定するためのドキュメントボックスと、印刷部数を指定するための部数ボックスと、印刷方法を指定するための方法ボックスと、を含む。方法ボックスが選択され、その状態が非選択状態から選択状態に移行すると、印刷方法としてアンコレート印刷が指定される、一方、方法ボックスが選択されずに、その状態が非選択状態に維持されると、印刷方法としてコレート印刷が自動的に指定される。 When the terminal device 100 receives a print instruction from the user, the terminal device 100 displays the designated screen SC1. The specification screen SC1 has a user information box for specifying user information, a document box for specifying a document, a number of copies box for specifying the number of copies to be printed, and a method box for specifying a printing method. include. When a method box is selected and its state shifts from the unselected state to the selected state, uncollate printing is specified as the printing method, while the method box is not selected and the state remains unselected. , Collate printing is automatically specified as the printing method.

端末装置100は、指定画面SC1において、ユーザ情報とドキュメントと印刷部数と印刷方法とが指定されると、専用プリンタドライバに従って、指定済みのドキュメントを変換して、プリンタ10が解釈可能な形式を有する画像データを生成する。特に、印刷対象のドキュメントが互いに異なるN1個(N1は2以上の整数)の画像を含み、かつ、M1部(M1は2以上の整数)を示す印刷部数が指定される場合には、端末装置100は、専用プリンタドライバに従って、N1個の画像データと、M1部を示す印刷部数情報と、指定済みの印刷方法を示す方法情報と、を含む印刷要求を生成する。印刷部数情報及び方法情報は、印刷要求内のヘッダ領域に含まれ、N1個の画像データは、印刷要求内のボディ領域に含まれる。端末装置100は、生成済みの印刷要求をプリンタ10に供給する。 When the user information, the document, the number of copies to be printed, and the printing method are specified on the designated screen SC1, the terminal device 100 converts the specified document according to the dedicated printer driver and has a format that can be interpreted by the printer 10. Generate image data. In particular, when the documents to be printed include N1 images (N1 is an integer of 2 or more) different from each other and the number of copies indicating M1 copies (M1 is an integer of 2 or more) is specified, the terminal device 100 generates a print request including N1 image data, print number of copies information indicating M1 copies, and method information indicating a specified printing method according to a dedicated printer driver. The number of copies to be printed and the method information are included in the header area in the print request, and the N1 image data is included in the body area in the print request. The terminal device 100 supplies the generated print request to the printer 10.

ここで、図2を参照して、具体例を説明する。例えば、ユーザが、端末装置100において、2個の画像IM1、IM2を表わすドキュメントDC1と、2部を示す印刷部数と、印刷方法「コレート印刷」と、を指定する状況を想定する。この場合、端末装置100は、専用プリンタドライバを備えているので、2個の画像IM1、IM2を表わす2個の画像データD1、D2と、2部を示す印刷部数情報と、「コレート印刷」を示す方法情報と、を含む印刷要求R1を生成する。端末装置100は、さらに、ユーザによってユーザ情報ボックスに入力されるユーザ名UN1及びパスワードP1を含むユーザ情報を生成する。端末装置100は、印刷要求R1及びユーザ情報をプリンタ10に供給する際に、ドキュメントDC1内の画像IM1、IM2の順序に従って、画像データD1を先に供給し、画像データD2を後に供給する。 Here, a specific example will be described with reference to FIG. For example, it is assumed that the user specifies, in the terminal device 100, the document DC1 representing the two images IM1 and IM2, the number of copies to be printed indicating the two copies, and the printing method "collate printing". In this case, since the terminal device 100 includes a dedicated printer driver, the two image data D1 and D2 representing the two images IM1 and IM2, the number of copies of print information indicating the two copies, and "collate printing" are displayed. Generate a print request R1 that includes the method information shown. The terminal device 100 further generates user information including the user name UN1 and the password P1 entered in the user information box by the user. When the print request R1 and the user information are supplied to the printer 10, the terminal device 100 supplies the image data D1 first and the image data D2 later in the order of the images IM1 and IM2 in the document DC1.

(端末装置200の構成)
図1に戻り、端末装置200の構成を説明する。端末装置200は、専用プリンタドライバに代えて汎用プリンタドライバを記憶している点を除いて、端末装置100と同様である。汎用プリンタドライバは、プリンタ10のベンダとは異なる事業者によって提供され、プリンタ10のベンダを含む複数のプリンタベンダによって提供される様々なプリンタが解釈可能な印刷要求を供給するためのプログラムである。本実施例では、汎用プリンタドライバによって生成される印刷要求は、IPP(Internet Printing Protocolの略)に従った印刷要求である。汎用プリンタドライバは、例えば、プリンタ10のベンダとは異なる事業者によって提供されるインターネット上のサーバから端末装置200にインストールされる。
(Configuration of terminal device 200)
Returning to FIG. 1, the configuration of the terminal device 200 will be described. The terminal device 200 is the same as the terminal device 100 except that a general-purpose printer driver is stored instead of the dedicated printer driver. A general-purpose printer driver is a program provided by a business operator different from the vendor of the printer 10 and for supplying print requests that can be interpreted by various printers provided by a plurality of printer vendors including the vendor of the printer 10. In this embodiment, the print request generated by the general-purpose printer driver is a print request according to IPP (abbreviation of Internet Printing Protocol). The general-purpose printer driver is installed in the terminal device 200 from a server on the Internet provided by a business operator different from the vendor of the printer 10, for example.

端末装置200は、汎用プリンタドライバに従って、指定画面SC1と同様の指定画面を表示することができ、ユーザ情報とドキュメントと印刷部数と印刷方法とが当該指定画面で指定されると、指定済みのドキュメントを変換して、プリンタ10を含む様々なプリンタが解釈可能な形式を有する画像データを生成する。特に、印刷対象のドキュメントがN1個の画像を含み、かつ、M1部を示す印刷部数が指定される場合には、端末装置200は、汎用プリンタドライバに従って、(N1×M1)個の画像データと、1部を示す印刷部数情報と、を含む印刷要求を生成する。即ち、汎用プリンタドライバは、専用プリンタドライバとは異なり、複数部であるM1部を示す印刷部数が指定される場合に、N1個の画像データをM1回に亘ってコピーすることによって、(N1×M1)個の画像データを生成するようにプログラムされている。また、汎用プリンタドライバによって生成される印刷要求は、印刷方法を示す方法情報を含まない。1部を示す印刷部数情報は、印刷要求内のヘッダ領域に含まれ、(N1×M1)個の画像データは、印刷要求内のボディ領域に含まれる。端末装置200は、生成済みの印刷要求をプリンタ10に供給する。 The terminal device 200 can display a designated screen similar to the designated screen SC1 according to the general-purpose printer driver, and when the user information, the document, the number of copies to be printed, and the printing method are specified on the designated screen, the designated document Is converted to generate image data having a format that can be interpreted by various printers including the printer 10. In particular, when the document to be printed contains N1 images and the number of copies indicating M1 is specified, the terminal device 200 sets the image data as (N1 × M1) according to the general-purpose printer driver. Generates a print request including print copy number information indicating one copy. That is, unlike the dedicated printer driver, the general-purpose printer driver copies N1 image data over M1 times when the number of copies indicating M1 copies, which is a plurality of copies, is specified (N1 ×). It is programmed to generate M1) image data. Also, the print request generated by the general-purpose printer driver does not include method information indicating the printing method. The print copy number information indicating one copy is included in the header area in the print request, and (N1 × M1) image data is included in the body area in the print request. The terminal device 200 supplies the generated print request to the printer 10.

端末装置200は、印刷要求をプリンタ10に供給する際に、指定済みの印刷方法に応じた順序に従って、(N1×M1)個の画像データをプリンタ10に供給する。即ち、指定済みの印刷方法がアンコレート印刷である場合には、端末装置200は、N1個の画像のM1部のアンコレート印刷をプリンタ10に実行させるための順序に従って、(N1×M1)個の画像データをプリンタ10に供給する。一方、指定済みの印刷方法がコレート印刷である場合には、端末装置200は、N1個の画像のM1部のコレート印刷をプリンタ10に実行させるための順序に従って、(N1×M1)個の画像データをプリンタ10に供給する。 When the printing request is supplied to the printer 10, the terminal device 200 supplies (N1 × M1) image data to the printer 10 in an order corresponding to the designated printing method. That is, when the specified printing method is uncollate printing, the terminal device 200 (N1 × M1) in order to cause the printer 10 to perform uncollate printing of the M1 portion of the N1 image. The image data of the above is supplied to the printer 10. On the other hand, when the designated printing method is colate printing, the terminal device 200 has (N1 × M1) images in the order for the printer 10 to perform collate printing of the M1 portion of the N1 images. Data is supplied to the printer 10.

ここで、図2を参照して、具体例を説明する。例えば、ユーザが、端末装置200において、ドキュメントDC1と、2部を示す印刷部数と、印刷方法「コレート印刷」と、を指定する状況を想定する。この場合、端末装置200は、汎用プリンタドライバを備えているので、2セットの2個の画像データD1、D2(即ち4個の画像データD1、D2、D1、D2)を生成し、4個の画像データD1、D2、D1、D2と、1部を示す印刷部数情報と、を含む印刷要求R2を生成する。印刷要求R2は、「コレート印刷」を示す方法情報を含まない。端末装置200は、さらに、ユーザによってユーザ情報ボックスに入力されるユーザ名UN1及びパスワードP1を含むユーザ情報を生成する。端末装置200は、印刷要求R2及びユーザ情報をプリンタ10に供給する際に、ドキュメントDC1内の画像IM1、IM2の順序と印刷方法「コレート印刷」とに従って、D1、D2、D1、D2の順序で各画像データをプリンタ10に順次供給する。仮に、印刷方法として「コレート印刷」に代えて「アンコレート印刷」が指定される場合には、端末装置200は、ドキュメントDC1内の画像IM1、IM2の順序と印刷方法「アンコレート印刷」とに従って、D1、D1、D2、D2の順序で各画像データをプリンタ10に順次供給する。 Here, a specific example will be described with reference to FIG. For example, it is assumed that the user specifies the document DC1 and the number of copies to be printed indicating 2 copies, and the printing method "collate printing" in the terminal device 200. In this case, since the terminal device 200 includes a general-purpose printer driver, it generates two sets of two image data D1 and D2 (that is, four image data D1, D2, D1, D2) and four pieces. A print request R2 including image data D1, D2, D1, D2, and print copy number information indicating one copy is generated. The print request R2 does not include method information indicating "collate printing". The terminal device 200 further generates user information including the user name UN1 and the password P1 entered in the user information box by the user. When the print request R2 and the user information are supplied to the printer 10, the terminal device 200 orders the images IM1 and IM2 in the document DC1 and the printing method "collate printing" in the order of D1, D2, D1, and D2. Each image data is sequentially supplied to the printer 10. If "ancolate printing" is specified instead of "collate printing" as the printing method, the terminal device 200 follows the order of the images IM1 and IM2 in the document DC1 and the printing method "ancolate printing". , D1, D1, D2, D2, and each image data is sequentially supplied to the printer 10.

(印刷関係処理;図2)
続いて、図2を参照して、プリンタ10のCPU22がプログラム26に従って実行する印刷関係処理の内容を説明する。印刷関係処理は、プリンタ10の電源が投入されることをトリガとして開始される。
(Print-related processing; Fig. 2)
Subsequently, with reference to FIG. 2, the contents of the print-related processing executed by the CPU 22 of the printer 10 according to the program 26 will be described. The print-related processing is started with the power of the printer 10 being turned on as a trigger.

S10では、CPU22は、ネットワークI/F16を介して、端末装置(例えば100)から印刷要求及びユーザ情報を取得することが開始されることを監視する。CPU22は、端末装置(例えば100)から印刷要求及びユーザ情報を取得することを開始すると、S10でYESと判断して、S12に進む。 In S10, the CPU 22 monitors that the acquisition of the print request and the user information from the terminal device (for example, 100) is started via the network I / F16. When the CPU 22 starts acquiring the print request and the user information from the terminal device (for example, 100), it determines YES in S10 and proceeds to S12.

S12では、CPU22は、取得済みの印刷要求内のヘッダ領域に記述されている印刷部数情報が複数部を示すのか否かを判断する。CPU22は、印刷部数情報が1部を示す場合には、S12でNOと判断して、S14において、蓄積処理(図3参照)を実行する。S14が終了すると、S10に戻る。 In S12, the CPU 22 determines whether or not the number of print copies information described in the header area in the acquired print request indicates a plurality of copies. When the print number information indicates one copy, the CPU 22 determines NO in S12 and executes the accumulation process (see FIG. 3) in S14. When S14 is completed, the process returns to S10.

一方、CPU22は、印刷部数情報が複数部を示す場合には、S12でYESと判断して、S16において、印刷要求内の各情報(即ち、画像データ、複数部を示す印刷部数情報、及び、方法情報)と、ユーザ情報と、を蓄積情報として蓄積領域32に記憶させる。このように、プリンタ10は、印刷部数情報が複数部を示す場合には、S14の蓄積処理を実行せずに、蓄積情報を記憶する。従って、プリンタ10の処理負荷を低減させることができる。S16が終了すると、S10に戻る。 On the other hand, when the number of copies of print information indicates a plurality of copies, the CPU 22 determines YES in S12, and in S16, each information in the print request (that is, image data, information on the number of copies of print indicating the plurality of copies, and Method information) and user information are stored in the storage area 32 as storage information. As described above, when the number of printed copies information indicates a plurality of copies, the printer 10 stores the stored information without executing the storage process of S14. Therefore, the processing load of the printer 10 can be reduced. When S16 is completed, the process returns to S10.

S20では、CPU22は、ユーザ情報が入力部14に入力されることを監視する。CPU22は、ユーザ情報が入力部14に入力される場合に、S20でYESと判断して、S22に進む。 In S20, the CPU 22 monitors that the user information is input to the input unit 14. When the user information is input to the input unit 14, the CPU 22 determines YES in S20 and proceeds to S22.

S22では、CPU22は、取得済みのユーザ情報を利用して、ユーザの認証を実行する。具体的には、CPU22は、取得済みのユーザ情報がユーザテーブル28に登録されている場合には、ユーザの認証が成功したと判断して(S22でYES)、S24に進む。一方、CPU22は、取得済みのユーザ情報がユーザテーブル28に登録されていない場合には、ユーザの認証が失敗したと判断して(S22でNO)、S24をスキップして、S10に戻る。 In S22, the CPU 22 uses the acquired user information to authenticate the user. Specifically, when the acquired user information is registered in the user table 28, the CPU 22 determines that the user authentication has succeeded (YES in S22), and proceeds to S24. On the other hand, if the acquired user information is not registered in the user table 28, the CPU 22 determines that the user authentication has failed (NO in S22), skips S24, and returns to S10.

S24では、CPU22は、蓄積領域32に記憶されている1個以上の蓄積情報の中から、取得済みのユーザ情報を含む蓄積情報(以下では「対象蓄積情報」と呼ぶ)を特定する。次いで、CPU22は、対象蓄積情報に含まれる印刷部数情報を特定する。そして、CPU22は、特定済みの印刷部数情報が「1」を示す場合には、対象蓄積情報に含まれる各画像データによって表される各画像の印刷を印刷実行部12に実行させる。一方、CPU22は、特定済みの印刷部数情報が複数部を示す場合には、対象蓄積情報に含まれる各画像データによって表される各画像の印刷を、特定済みの印刷部数情報に対応する回数に亘って、印刷実行部12に繰り返し実行させる。 In S24, the CPU 22 specifies the stored information (hereinafter, referred to as “target stored information”) including the acquired user information from the one or more stored information stored in the storage area 32. Next, the CPU 22 specifies the number of print copies information included in the target storage information. Then, when the specified number of copies of print information indicates "1", the CPU 22 causes the print execution unit 12 to print each image represented by each image data included in the target storage information. On the other hand, when the specified number of copies of print information indicates a plurality of copies, the CPU 22 sets the number of times of printing each image represented by each image data included in the target storage information to correspond to the specified number of copies of print information. Over the course, the print execution unit 12 is repeatedly executed.

特に、CPU22は、対象蓄積情報が方法情報を含む場合、即ち、対象蓄積情報が端末装置100から取得された印刷要求(例えばR1)に応じた蓄積情報である場合には、当該方法情報によって示される印刷方法(即ちコレート印刷又はアンコレート印刷)に従って、印刷実行部12に印刷を実行させる。一方、CPU22は、対象蓄積情報が方法情報を含まない場合、即ち、対象蓄積情報が端末装置200から取得された印刷要求(例えばR2)に応じた蓄積情報である場合には、印刷方法を指定するための画面をプリンタ10の表示部(不図示)に表示させる。そして、CPU22は、当該画面でユーザによって指定された印刷方法に従って、印刷実行部12に印刷を実行させる。CPU22は、印刷が完了すると、S26において、対象蓄積情報を蓄積領域32から削除する。S26の処理が終了すると、S10に戻る。 In particular, the CPU 22 indicates by the method information when the target storage information includes the method information, that is, when the target storage information is the storage information corresponding to the print request (for example, R1) acquired from the terminal device 100. The print execution unit 12 is made to execute printing according to the printing method (that is, collate printing or uncollate printing). On the other hand, the CPU 22 specifies the printing method when the target storage information does not include the method information, that is, when the target storage information is the storage information according to the print request (for example, R2) acquired from the terminal device 200. The screen for printing is displayed on the display unit (not shown) of the printer 10. Then, the CPU 22 causes the print execution unit 12 to execute printing according to the printing method specified by the user on the screen. When the printing is completed, the CPU 22 deletes the target storage information from the storage area 32 in S26. When the processing of S26 is completed, the process returns to S10.

(蓄積処理;図3)
図3を参照して、蓄積処理の内容を説明する。CPU22は、S30において、印刷要求に含まれる1個以上の画像データのうちの1番目の画像データを取得する。具体的には、CPU22は、1個以上の画像データのうち、最初に受信された1番目の画像データをメモリ24内の一時領域30に記憶させ、一時領域30から1番目の画像データを取得する。CPU22は、2回目以降のS30では、2番目、3番目等の画像データを取得する。以下では、S30で取得されるk番目(kは1以上の各整数)の画像データのことを「k番目の画像データ」と呼ぶ。
(Accumulation process; Fig. 3)
The contents of the accumulation process will be described with reference to FIG. In S30, the CPU 22 acquires the first image data of the one or more image data included in the print request. Specifically, the CPU 22 stores the first image data received first among the one or more image data in the temporary area 30 in the memory 24, and acquires the first image data from the temporary area 30. do. The CPU 22 acquires the second and third image data in the second and subsequent S30s. Hereinafter, the k-th image data (k is each integer of 1 or more) acquired in S30 is referred to as “k-th image data”.

S32では、CPU22は、k番目の画像データのCRC(Cyclic Redundancy Checkの略)値を算出する。CRC値は、2進数によって表される画像データを所定の除数で除算することによって得られる余りである。所定の除数の桁数は、画像データの桁数より極めて小さい値に設定される。CRC値の桁数は、所定の除数の桁数と等しい。一般的に言えば、CRC値は、画像データを要約化した要約値である。2個の画像データにおいて、一方の画像データのCRC値と他方の画像データのCRC値が一致することは、2個の画像データが同じ画像を表わすこと、即ち、2個の画像データが一致することを意味する。一方、一方のCRC値と他方のCRC値が一致しないことは、2個の画像データが異なる画像を表わすこと、即ち、2個の画像データが一致しないことを意味する。例えば、CRC値を利用せずに、2個の画像データのそれぞれの値を比較して、当該2個の画像データが一致するのか否かを判断する比較例の構成が想定される。比較例の構成では、CRC値より極めて大きい桁数を有する2個の画像データを比較する必要があり、プリンタ10の処理負荷が大きい。これに対して、本実施例では、画像データより極めて小さい桁数を有するCRC値を利用するので、比較例の構成と比べて、プリンタ10の処理負荷を低減することができる。なお、変形例では、CPU22は、CRC値とは異なる他の要約値を利用して、2個の画像データを比較してもよい。例えば、CPU22は、所定のハッシュ関数を利用して、k番目の画像データのハッシュ値を算出し、ハッシュ値を利用して、2個の画像データを比較してもよい。 In S32, the CPU 22 calculates the CRC (abbreviation of Cyclic Redundancy Check) value of the kth image data. The CRC value is the remainder obtained by dividing the image data represented by a binary number by a predetermined divisor. The number of digits of the predetermined divisor is set to a value extremely smaller than the number of digits of the image data. The number of digits in the CRC value is equal to the number of digits in the given divisor. Generally speaking, the CRC value is a summary value that summarizes the image data. In two image data, the fact that the CRC value of one image data and the CRC value of the other image data match means that the two image data represent the same image, that is, the two image data match. It means that. On the other hand, the fact that one CRC value and the other CRC value do not match means that the two image data represent different images, that is, the two image data do not match. For example, a configuration of a comparative example is assumed in which the values of the two image data are compared without using the CRC value, and it is determined whether or not the two image data match. In the configuration of the comparative example, it is necessary to compare two image data having an extremely large number of digits than the CRC value, and the processing load of the printer 10 is large. On the other hand, in this embodiment, since the CRC value having an extremely smaller number of digits than the image data is used, the processing load of the printer 10 can be reduced as compared with the configuration of the comparative example. In the modified example, the CPU 22 may compare the two image data by using another summary value different from the CRC value. For example, the CPU 22 may use a predetermined hash function to calculate the hash value of the k-th image data, and use the hash value to compare the two image data.

S34において、CPU22は、k番目の画像データのCRC値がCRCテーブル(例えば図3のCT1)に含まれるいずれかのCRC値に一致するのか否かを判断する。CRCテーブルは、画像データと、当該画像データから算出されるCRC値と、を関連付けて記憶するためのテーブルである。1番目の画像データに対応するS34が実行される際には、CRCテーブルは、CRC値及び画像データを記憶していない。この場合、CPU22は、S34でNOと判断して、S36に進む。また、2番目以降の画像データに対応するS34が実行される際には、CRCテーブルは、少なくとも1個のCRC値及び少なくとも1個の画像データを記憶している。この場合、CPU22は、k番目の画像データのCRC値がCRCテーブルに含まれるいずれかのCRC値に一致する場合には、S34でYESと判断して、S38に進み、k番目の画像データのCRC値がCRCテーブルに含まれるいずれのCRC値にも一致しない場合には、S34でNOと判断して、S36に進む。 In S34, the CPU 22 determines whether or not the CRC value of the k-th image data matches any CRC value included in the CRC table (for example, CT1 in FIG. 3). The CRC table is a table for associating and storing the image data and the CRC value calculated from the image data. When S34 corresponding to the first image data is executed, the CRC table does not store the CRC value and the image data. In this case, the CPU 22 determines NO in S34 and proceeds to S36. Further, when S34 corresponding to the second and subsequent image data is executed, the CRC table stores at least one CRC value and at least one image data. In this case, if the CRC value of the k-th image data matches any CRC value included in the CRC table, the CPU 22 determines YES in S34, proceeds to S38, and proceeds to the k-th image data. If the CRC value does not match any of the CRC values included in the CRC table, it is determined as NO in S34, and the process proceeds to S36.

S36では、CPU22は、k番目の画像データと当該画像データのCRC値とを関連付けてCRCテーブルに記憶させる。ここで、CPU22は、k番目の画像データ及びCRC値の組合せをCRCテーブルに記憶させるべき際に、他の画像データ及びCRC値の組合せがCRCテーブルに存在する場合には、k番目の画像データ及びCRC値の組合せをCRCテーブル内の最下欄に記憶させる。S36が終了すると、S42に進む。 In S36, the CPU 22 stores the k-th image data and the CRC value of the image data in the CRC table in association with each other. Here, when the CPU 22 should store the combination of the k-th image data and the CRC value in the CRC table, if another combination of the image data and the CRC value exists in the CRC table, the k-th image data And the combination of CRC values is stored in the bottom column in the CRC table. When S36 is completed, the process proceeds to S42.

一方、CPU22は、S34でYESと判断する場合には、S36を実行せずに、S38に進む。即ち、k番目の画像データは、CRCテーブルに記憶されない。この場合、S38では、CPU22は、k番目の画像データのCRC値が1番目の画像データのCRC値に一致するのか否かを判断する。CPU22は、k番目の画像データのCRC値が、CRCテーブル内の最上欄に記述されているCRC値(即ち1番目の画像データのCRC値)に一致する場合には、S38でYESと判断して、S40に進む。一方、CPU22は、k番目の画像データのCRC値が、CRCテーブル内の最上欄に記述されているCRC値に一致しない場合には、S38でNOと判断して、S40をスキップし、S42に進む。 On the other hand, if the CPU 22 determines YES in S34, the CPU 22 proceeds to S38 without executing S36. That is, the k-th image data is not stored in the CRC table. In this case, in S38, the CPU 22 determines whether or not the CRC value of the k-th image data matches the CRC value of the first image data. When the CRC value of the k-th image data matches the CRC value described in the top column of the CRC table (that is, the CRC value of the first image data), the CPU 22 determines YES in S38. Then proceed to S40. On the other hand, if the CRC value of the k-th image data does not match the CRC value described in the top column of the CRC table, the CPU 22 determines NO in S38, skips S40, and sets to S42. move on.

S40では、CPU22は、印刷部数を「1」だけインクリメントする。1回目のS40が実行される際には、印刷要求に含まれる印刷部数情報が1部を示すので、CPU22は、印刷部数「1」を「1」だけインクリメントして、印刷部数「2」を決定する。また、2回目以降のS40では、CPU22は、前回のS40で決定された印刷部数(例えば「2」)を「1」だけインクリメントして、新たな印刷部数(例えば「3」)を決定する。S40が終了すると、S42に進む。 In S40, the CPU 22 increments the number of copies to be printed by "1". When the first S40 is executed, the number of print copies information included in the print request indicates one copy, so the CPU 22 increments the number of print copies "1" by "1" to increase the number of print copies "2". decide. Further, in the second and subsequent S40s, the CPU 22 increments the number of print copies (for example, "2") determined in the previous S40 by "1" to determine a new number of print copies (for example, "3"). When S40 is completed, the process proceeds to S42.

S42では、CPU22は、印刷要求に含まれる全ての画像データを取得したのか否かを判断する。CPU22は、印刷要求内のボディ領域の最後を示す最後情報を取得する場合に、全ての画像データを取得したと判断し(S42でYES)、S40で決定された印刷部数から蓄積領域に記憶されるべき印刷部数情報を生成して、S46に進む。一方、CPU22は、最後情報を取得しない場合に、全ての画像データを取得していないと判断し(S42でNO)、S30に進む。これにより、S30〜S40の処理が繰り返される。 In S42, the CPU 22 determines whether or not all the image data included in the print request has been acquired. When acquiring the last information indicating the end of the body area in the print request, the CPU 22 determines that all the image data has been acquired (YES in S42), and stores the number of copies determined in S40 in the storage area. Generate the number of copies to be printed and proceed to S46. On the other hand, when the CPU 22 does not acquire the last information, it determines that all the image data has not been acquired (NO in S42), and proceeds to S30. As a result, the processes of S30 to S40 are repeated.

S46では、CPU22は、CRCテーブルに含まれる1個以上の画像データと、生成済みの印刷部数情報と、ユーザ情報と、を蓄積情報として蓄積領域32に記憶させる。ここで、CPU22は、CRCテーブルが2個以上の画像データを含む場合には、CRCテーブル内の最上欄に存在する画像データの順位を「1」に設定し、最上欄から下方に向かうにつれて昇順で画像データの順位を設定する。S46の処理が終了すると、蓄積処理を終了する。なお、CRCテーブル内の情報は、蓄積処理が終了すると削除される。 In S46, the CPU 22 stores one or more image data included in the CRC table, the generated number of copies of print information, and the user information in the storage area 32 as storage information. Here, when the CRC table contains two or more image data, the CPU 22 sets the order of the image data existing in the top column in the CRC table to "1", and ascends from the top column toward the bottom. Set the order of image data with. When the process of S46 is completed, the accumulation process is completed. The information in the CRC table is deleted when the accumulation process is completed.

(アンコレート印刷が指定されるケースA1;図4)
図4を参照して、図2、図3の処理によって実現される具体的なケースを説明する。ケースA1では、汎用プリンタドライバを備える端末装置200において、2個の画像IM1、IM2を表わすドキュメントDC1と、2部を示す印刷部数と、印刷方法「アンコレート印刷」と、がユーザによって指定される。また、端末装置200において、ユーザ名UN1及びパスワードP1を含むユーザ情報がユーザによって指定される。
(Case A1 in which uncoordinated printing is specified; Fig. 4)
A specific case realized by the processes of FIGS. 2 and 3 will be described with reference to FIG. In case A1, in the terminal device 200 provided with the general-purpose printer driver, the user specifies the document DC1 representing the two images IM1 and IM2, the number of copies to be printed indicating the two copies, and the printing method "ancolate printing". .. Further, in the terminal device 200, the user information including the user name UN1 and the password P1 is specified by the user.

端末装置200は、汎用プリンタドライバに従って、2セットの2個の画像データD1、D2(即ち4個の画像データ)と、1部を示す印刷部数情報と、を含む印刷要求R3を生成する。そして、端末装置200は、印刷要求R3及びユーザ情報をプリンタ10に供給する。ここで、端末装置200は、2個の画像データD1、D2の2部のアンコレート印刷に対応する順序(即ち、D1、D1、D2、D2の順序)に従って、4個の画像データをプリンタ10に順次供給する。 The terminal device 200 generates a print request R3 including two sets of two image data D1 and D2 (that is, four image data) and print copy number information indicating one copy according to a general-purpose printer driver. Then, the terminal device 200 supplies the print request R3 and the user information to the printer 10. Here, the terminal device 200 prints four image data in the printer 10 according to the order corresponding to the uncoordinated printing of two parts of the two image data D1 and D2 (that is, the order of D1, D1, D2, D2). Sequentially supplied to.

プリンタ10のCPU22は、端末装置200から印刷要求R3及びユーザ情報を取得することを開始する(図2のS10でYES)と、印刷要求R3内の印刷部数情報が1部を示すので(S12でNO)、蓄積処理を実行する(S14)。CPU22は、D1、D1、D2、D2の順序で4個の画像データを順次取得する(図3のS30)。 When the CPU 22 of the printer 10 starts to acquire the print request R3 and the user information from the terminal device 200 (YES in S10 of FIG. 2), the number of copies of print information in the print request R3 indicates one copy (in S12). NO), the accumulation process is executed (S14). The CPU 22 sequentially acquires four image data in the order of D1, D1, D2, and D2 (S30 in FIG. 3).

CPU22は、まず、1番目の画像データD1とそのCRC値CV1とを関連付けてCRCテーブルCT1に記憶させる(S34でNO、S36)。CPU22は、2番目の画像データD1のCRC値CV1がCRCテーブルCT1に含まれるCRC値CV1に一致すると判断し(S34でYES)、2番目の画像データD1をCRCテーブルCT1に記憶させない。CPU22は、さらに、2番目の画像データD1のCRC値CV1が1番目の画像データD1のCRC値CV1と一致するので(S38でYES)、印刷要求R3に含まれる印刷部数情報によって示される1部を「1」だけインクリメントして、印刷部数「2」を決定する(S40)。 First, the CPU 22 associates the first image data D1 with its CRC value CV1 and stores it in the CRC table CT1 (NO in S34, S36). The CPU 22 determines that the CRC value CV1 of the second image data D1 matches the CRC value CV1 included in the CRC table CT1 (YES in S34), and does not store the second image data D1 in the CRC table CT1. Further, since the CRC value CV1 of the second image data D1 matches the CRC value CV1 of the first image data D1 (YES in S38), the CPU 22 further copies one copy indicated by the print copy number information included in the print request R3. Is incremented by "1" to determine the number of copies to be printed "2" (S40).

CPU22は、3番目の画像データD2のCRC値CV2がCRCテーブルCT1に含まれるいずれのCRC値にも一致しないと判断し(S34でNO)、3番目の画像データD2とそのCRC値CV2とを関連付けてCRCテーブルCT1に記憶させる(S36)。CPU22は、4番目の画像データD2のCRC値CV2がCRCテーブルCT1に含まれるCRC値CV2に一致すると判断し(S34でYES)、4番目の画像データD2をCRCテーブルCT1に記憶させない。即ち、CPU22は、2個の画像データD1、D2をCRCテーブルCT1に記憶させることによって、2セットの2個の画像データD1、D2(即ち4個の画像データ)の中から2個の画像データD1、D2を特定する。CPU22は、さらに、4番目の画像データD2のCRC値CV2が1番目の画像データのCRC値CV1と一致しないので(S38でNO)、印刷部数「2」をインクリメントしない。 The CPU 22 determines that the CRC value CV2 of the third image data D2 does not match any CRC value included in the CRC table CT1 (NO in S34), and determines the third image data D2 and its CRC value CV2. It is associated and stored in the CRC table CT1 (S36). The CPU 22 determines that the CRC value CV2 of the fourth image data D2 matches the CRC value CV2 included in the CRC table CT1 (YES in S34), and does not store the fourth image data D2 in the CRC table CT1. That is, by storing the two image data D1 and D2 in the CRC table CT1, the CPU 22 stores two image data from the two sets of the two image data D1 and D2 (that is, the four image data). Identify D1 and D2. Further, the CPU 22 does not increment the number of copies "2" because the CRC value CV2 of the fourth image data D2 does not match the CRC value CV1 of the first image data (NO in S38).

CPU22は、CRCテーブルCT1に含まれる2個の画像データD1、D2と、印刷部数「2」を示す印刷部数情報と、ユーザ情報と、を蓄積情報SI2として蓄積領域32に記憶させる(S46)。蓄積情報SI2は、方法情報を含まない。 The CPU 22 stores the two image data D1 and D2 included in the CRC table CT1, the number of print copies information indicating the number of print copies "2", and the user information in the storage area 32 as the storage information SI2 (S46). The stored information SI2 does not include method information.

その後、ユーザ名UN1及びパスワードP1を含むユーザ情報が入力部14に入力される(図2のS20でYES)。この場合、CPU22は、当該ユーザ情報の認証が成功したと判断し(S22でYES)、蓄積領域32から蓄積情報SI2を特定し、蓄積情報SI2に含まれる印刷部数情報から印刷部数「2」を特定する(S24)。CPU22は、2個の画像データD1、D2によって表される2個の画像IM1、IM2の印刷を、特定済みの印刷部数「2」に対応する回数(即ち2回)に亘って、印刷実行部12に繰り返し実行させる。特に、CPU22は、蓄積情報SI2が方法情報を含まないので、印刷方法を指定するための画面をプリンタ10の表示部に表示させる。当該画面においてユーザによってアンコレート印刷が指定される場合には、CPU22は、IM1、IM1、IM2、IM2の順序に従って、4個の画像の印刷を印刷実行部12に順次実行させる。 After that, the user information including the user name UN1 and the password P1 is input to the input unit 14 (YES in S20 of FIG. 2). In this case, the CPU 22 determines that the authentication of the user information is successful (YES in S22), identifies the stored information SI2 from the storage area 32, and calculates the number of prints "2" from the print number information included in the stored information SI2. Identify (S24). The CPU 22 prints the two images IM1 and IM2 represented by the two image data D1 and D2 a number of times (that is, twice) corresponding to the specified number of copies "2". 12 is repeatedly executed. In particular, since the stored information SI2 does not include the method information, the CPU 22 causes the display unit of the printer 10 to display a screen for designating the printing method. When the user specifies uncoordinated printing on the screen, the CPU 22 causes the print execution unit 12 to sequentially print four images in the order of IM1, IM1, IM2, IM2.

(コレート印刷が指定されるケースA2)
ケースA2は、ユーザが印刷方法「コレート印刷」を指定することに起因して、端末装置200において印刷要求R2が生成される点を除いて、ケースA1と同様である。CPU22は、D1、D2、D1、D2の順序で4個の画像データを順次取得する(S30)。
(Case A2 where colate printing is specified)
The case A2 is the same as the case A1 except that the print request R2 is generated in the terminal device 200 due to the user designating the printing method “collate printing”. The CPU 22 sequentially acquires four image data in the order of D1, D2, D1, and D2 (S30).

CPU22は、まず、1番目の画像データD1とそのCRC値CV1とを関連付けてCRCテーブルCT1に記憶させる(S34でNO、S36)。CPU22は、2番目の画像データD2のCRC値CV2がCRCテーブルCT1に含まれるいずれのCRC値にも一致しないと判断し(S34でNO)、2番目の画像データD2とそのCRC値CV2とを関連付けてCRCテーブルCT1に記憶させる(S36)。 First, the CPU 22 associates the first image data D1 with its CRC value CV1 and stores it in the CRC table CT1 (NO in S34, S36). The CPU 22 determines that the CRC value CV2 of the second image data D2 does not match any CRC value included in the CRC table CT1 (NO in S34), and determines the second image data D2 and its CRC value CV2. It is associated and stored in the CRC table CT1 (S36).

CPU22は、3番目の画像データD1のCRC値CV1がCRCテーブルCT1に含まれるCRC値CV1に一致すると判断し(S34でYES)、3番目の画像データD1をCRCテーブルCT1に記憶させない。CPU22は、さらに、3番目の画像データD1のCRC値CV1が1番目の画像データD1のCRC値CV1と一致するので(S38でYES)、印刷要求R2に含まれる印刷部数情報によって示される1部を「1」だけインクリメントして、印刷部数「2」を決定する(S40)。CPU22は、4番目の画像データD2のCRC値CV2がCRCテーブルCT1に含まれるCRC値CV2に一致すると判断し(S34でYES)、4番目の画像データD2をCRCテーブルCT1に記憶させない。CPU22は、さらに、4番目の画像データD2のCRC値CV2が1番目の画像データのCRC値CV1と一致しないので(S38でNO)、印刷部数「2」をインクリメントしない。 The CPU 22 determines that the CRC value CV1 of the third image data D1 matches the CRC value CV1 included in the CRC table CT1 (YES in S34), and does not store the third image data D1 in the CRC table CT1. Further, since the CRC value CV1 of the third image data D1 matches the CRC value CV1 of the first image data D1 (YES in S38), the CPU 22 further copies one copy indicated by the print copy number information included in the print request R2. Is incremented by "1" to determine the number of copies to be printed "2" (S40). The CPU 22 determines that the CRC value CV2 of the fourth image data D2 matches the CRC value CV2 included in the CRC table CT1 (YES in S34), and does not store the fourth image data D2 in the CRC table CT1. Further, the CPU 22 does not increment the number of copies "2" because the CRC value CV2 of the fourth image data D2 does not match the CRC value CV1 of the first image data (NO in S38).

CPU22は、CRCテーブルCT1に含まれる2個の画像データD1、D2と、印刷部数「2」を示す印刷部数情報と、ユーザ情報と、を蓄積情報SI2として蓄積領域32に記憶させる(S46)。蓄積情報SI2は、方法情報を含まない。ケースA2の蓄積情報SI2は、ケースA1の蓄積情報SI2と同じになる。 The CPU 22 stores the two image data D1 and D2 included in the CRC table CT1, the number of print copies information indicating the number of print copies "2", and the user information in the storage area 32 as the storage information SI2 (S46). The stored information SI2 does not include method information. The stored information SI2 in case A2 is the same as the stored information SI2 in case A1.

その後、ユーザ名UN1及びパスワードP1を含むユーザ情報が入力部14に入力される場合(図2のS20でYES)に、CPU22は、2個の画像データD1、D2によって表される2個の画像IM1、IM2の印刷を、特定済みの印刷部数「2」に対応する回数(即ち2回)に亘って、印刷実行部12に繰り返し実行させる。特に、CPU22は、印刷方法を指定するための画面においてユーザによってコレート印刷が指定されると、IM1、IM2、IM1、IM2の順序に従って、4個の画像の印刷を印刷実行部12に順次実行させる。 After that, when the user information including the user name UN1 and the password P1 is input to the input unit 14 (YES in S20 of FIG. 2), the CPU 22 has two images represented by the two image data D1 and D2. The print execution unit 12 is repeatedly executed for the number of times (that is, twice) corresponding to the specified number of print copies "2" to print the IM1 and IM2. In particular, when collate printing is specified by the user on the screen for specifying the printing method, the CPU 22 causes the print execution unit 12 to sequentially print four images in the order of IM1, IM2, IM1, and IM2. ..

(本実施例の効果)
上記のケースA1及びケースA2に示されるように、プリンタ10は、端末装置200から取得される2セットの2個の画像データD1、D2(即ち4個の画像データ)の中から2個の画像データD1、D2を特定して、2個の画像データD1、D2をCRCテーブルCT1に記憶させる。そして、プリンタ10は、CRCテーブルCT1に含まれる2個の画像データD1、D2を蓄積領域32に記憶する。即ち、1セットの2個の画像データD1、D2が蓄積領域32に記憶され、残りの1セットの2個の画像データD1、D2が蓄積領域32に記憶されない。従って、メモリ24内の蓄積領域32に記憶されるべきデータ量が多くなるのを抑制することができる。
(Effect of this example)
As shown in Case A1 and Case A2 above, the printer 10 has two images out of two sets of two image data D1 and D2 (that is, four image data) acquired from the terminal device 200. The data D1 and D2 are specified, and the two image data D1 and D2 are stored in the CRC table CT1. Then, the printer 10 stores the two image data D1 and D2 included in the CRC table CT1 in the storage area 32. That is, one set of two image data D1 and D2 is stored in the storage area 32, and the remaining one set of two image data D1 and D2 is not stored in the storage area 32. Therefore, it is possible to suppress an increase in the amount of data to be stored in the storage area 32 in the memory 24.

また、プリンタ10は、印刷要求R2(又はR3)がユーザによって指定された印刷部数である2部を示す印刷部数情報を含まない場合でも、印刷部数「2」を示す印刷部数情報を含む蓄積情報SI2を記憶することができる。例えば、印刷要求R2(又はR3)がプリンタ10に供給された後に、ユーザが印刷部数の変更を望む状況が想定される。この場合、ユーザは、蓄積情報SI2内の印刷部数情報を変更すれば、所望の印刷部数に従った印刷をプリンタ10に実行させることができる。このために、ユーザの利便性が向上する。 Further, even if the print request R2 (or R3) does not include the print number information indicating 2 copies which is the number of prints specified by the user, the printer 10 includes the accumulated information including the print number information indicating the print number "2". SI2 can be stored. For example, it is assumed that the user wants to change the number of copies to be printed after the print request R2 (or R3) is supplied to the printer 10. In this case, the user can cause the printer 10 to perform printing according to a desired number of prints by changing the number of prints information in the stored information SI2. Therefore, the convenience of the user is improved.

(対応関係)
制御部20が、「制御装置」の一例である。図3のS34の処理が、「第1の一致判断処理」の一例である。図3のS40で算出される印刷部数を示す印刷部数情報が、「部数関係情報」の一例である。蓄積領域32が、「所定領域」の一例である。CRC値が、「要約値」の一例である。印刷要求R2(又はR3)に含まれる印刷部数情報が、「特定情報」の一例である。ユーザ情報が、「認証情報」の一例である。図4のケースA1(又はケースA2)において、図4の印刷要求R2(又はR3)が、「第1の印刷要求」の一例である。ドキュメントDC1を表わす2個の画像IM1、IM2、2個の画像データD1、D2が、それぞれ、「N1個の画像」、「N1個の画像データ」の一例である。ユーザによって指定される2部を示す印刷部数が、「M1部」の一例である。
(Correspondence)
The control unit 20 is an example of a “control device”. The process of S34 in FIG. 3 is an example of the “first match determination process”. The number of print copies information indicating the number of copies to be printed calculated in S40 of FIG. 3 is an example of "number of copies-related information". The storage area 32 is an example of a “predetermined area”. The CRC value is an example of a "summary value". The print copy number information included in the print request R2 (or R3) is an example of "specific information". User information is an example of "authentication information". In case A1 (or case A2) of FIG. 4, the print request R2 (or R3) of FIG. 4 is an example of the "first print request". The two images IM1, IM2, and the two image data D1 and D2 representing the document DC1 are examples of "N1 image" and "N1 image data", respectively. The number of printed copies indicating two copies specified by the user is an example of "M1 copy".

(第2実施例)
(蓄積処理;図5)
本実施例では、プリンタ10のCPU22は、図2のS14において、図3の処理に代えて、図5の処理を実行する。S50〜S56は、図3のS30〜36と同様である。S54でYESの場合、又は、S56が実行される場合、CPU22は、S60に進む。
(Second Example)
(Accumulation process; Fig. 5)
In this embodiment, the CPU 22 of the printer 10 executes the process of FIG. 5 in place of the process of FIG. 3 in S14 of FIG. S50 to S56 are the same as S30 to 36 in FIG. If YES in S54, or if S56 is executed, the CPU 22 proceeds to S60.

S60では、CPU22は、k番目の画像データが取得された順位(即ちk)と、k番目の画像データのCRC値と、を関連づけて順序テーブルに記憶させる。例えば、図5の順序テーブルOT1は、ドキュメントDC1と2部を示す印刷部数と印刷方法「コレート印刷」とがユーザによって指定される場合の順序テーブルの一例である。 In S60, the CPU 22 stores the k-th image data acquisition order (that is, k) and the k-th image data CRC value in association with each other in the order table. For example, the sequence table OT1 of FIG. 5 is an example of a sequence table when the number of copies indicating the document DC1 and 2 copies and the printing method “collate printing” are specified by the user.

S62は、図3のS42と同様である。CPU22は、S50〜S60の処理を繰り返し実行し、S62でYESと判断する場合に、S70に進む。S70では、CPU22は、順序テーブルを利用して、印刷部数と印刷方法を決定するための決定処理(図7参照)を実行する。S72は、決定処理で決定された印刷部数を示す印刷部数情報と、決定処理で決定された印刷方法を示す方法情報と、を含む蓄積情報が記憶される点を除いて、図3のS46と同様である。 S62 is the same as S42 in FIG. The CPU 22 repeatedly executes the processes of S50 to S60, and when it is determined as YES in S62, the process proceeds to S70. In S70, the CPU 22 uses the sequence table to execute a determination process (see FIG. 7) for determining the number of copies to be printed and the printing method. S72 is the same as S46 in FIG. 3, except that the accumulated information including the print number of copies information indicating the number of prints determined by the determination process and the method information indicating the print method determined by the determination process is stored. The same is true.

(アンコレート印刷が指定されるケースB1;図6)
本実施例の理解の容易化のために、S70の決定処理の内容を説明する前に、図6を参照して、図2、図5の処理によって実現される具体的なケースを説明する。ケースB1では、ユーザは、端末装置200において、2個の同じ画像IM1を含む3個の画像IM1、IM1、IM2を表わすドキュメントDC2と、2部を示す印刷部数と、印刷方法「アンコレート印刷」と、を指定する。この場合、端末装置200は、汎用プリンタドライバに従って、2セットの3個の画像データD1、D1、D2(即ち6個の画像データ)と、1部を示す印刷部数情報(図示省略)と、を含む印刷要求R4を生成する。端末装置200は、3個の画像データD1、D1、D2の2部のアンコレート印刷をプリンタ10に実行させるための順序(即ち、D1、D1、D1、D1、D2、D2の順序)に従って、6個の画像データをプリンタ10に順次供給する。
(Case B1 in which uncollate printing is specified; FIG. 6)
In order to facilitate the understanding of this embodiment, before explaining the content of the determination process of S70, a specific case realized by the processes of FIGS. 2 and 5 will be described with reference to FIG. In case B1, in the terminal device 200, the user uses the terminal device 200 to display three images IM1, IM1, IM2 including two identical images IM1, a document DC2 representing two copies, a number of copies indicating two copies, and a printing method "ancolate printing". And specify. In this case, the terminal device 200 obtains two sets of three image data D1, D1, D2 (that is, six image data) and print copy number information (not shown) indicating one copy according to the general-purpose printer driver. Generate a print request R4 that includes. The terminal device 200 follows an order for the printer 10 to execute two copies of the three image data D1, D1, D2 (that is, the order of D1, D1, D1, D1, D2, D2). Six image data are sequentially supplied to the printer 10.

プリンタ10のCPU22は、端末装置200から、D1、D1、D1、D1、D2、D2の順序で6個の画像データを順次取得する(図5のS50)。この場合、CPU22は、CRCテーブルCT1を生成する(S56)。即ち、CPU22は、2個の画像データD1、D2をCRCテーブルCT1に記憶させることによって、6個の画像データの中から2個の画像データD1、D2を特定する。また、CPU22は、順序テーブルOT2を生成する。順序テーブルOT2では、6個の画像データD1、D1、D1、D1、D2、D2に対応する6個のCRC値CV1、CV1、CV1、CV1、CV2、CV2が、当該6個の画像データのそれぞれの取得順位に関連付けられている。そして、CPU22は、S70の決定処理において、順序テーブルOT2を利用して、ユーザによって指定された印刷部数「2」と、ユーザによって指定された印刷方法「アンコレート印刷」と、を決定する。 The CPU 22 of the printer 10 sequentially acquires six image data from the terminal device 200 in the order of D1, D1, D1, D1, D2, D2 (S50 in FIG. 5). In this case, the CPU 22 generates the CRC table CT1 (S56). That is, the CPU 22 identifies the two image data D1 and D2 from the six image data by storing the two image data D1 and D2 in the CRC table CT1. Further, the CPU 22 generates the sequence table OT2. In the sequence table OT2, the six CRC values CV1, CV1, CV1, CV1, CV2, and CV2 corresponding to the six image data D1, D1, D1, D1, D2, and D2 are each of the six image data. It is associated with the acquisition order of. Then, in the determination process of S70, the CPU 22 uses the sequence table OT2 to determine the number of copies to be printed "2" specified by the user and the printing method "uncolate printing" specified by the user.

次いで、CPU22は、CRCテーブルCT1と順序テーブルOT2と印刷部数「2」と印刷方法「アンコレート印刷」とを利用して、ドキュメントDC2に含まれる3個の画像IM1、IM1、IM2を表わす3個の画像データD1、D1、D2を記憶対象として決定する(S72)。具体的には、CPU22は、まず、順序テーブルOT2の中から、1番目、(1+m)番目、(1+2×m)番目、(1+3×m)番目・・・(mは印刷部数(本ケースでは「2」)を示す整数)に関連付けられている複数個のCRC値を特定する。本ケースでは、CPU22は、1番目のCRC値CV1、3番目のCRC値CV1、及び、5番目のCRC値CV2を特定する。そして、CPU22は、CRCテーブルCT1を利用して、特定済みの複数個のCRC値に対応する複数個の画像データを記憶対象として決定する。本ケースでは、CPU22は、3個のCRC値CV1、CV1、CV2に対応する3個の画像データD1、D1、D2を記憶対象として決定する。次いで、CPU22は、3個の画像データD1、D1、D2と、印刷部数「2」を示す印刷部数情報と、印刷方法「アンコレート印刷」を示す方法情報と、ユーザ情報(ユーザ名UN1とパスワードP1)と、を含む蓄積情報SI3を蓄積領域32に記憶させる(S72)。 Next, the CPU 22 uses the CRC table CT1, the sequence table OT2, the number of copies to be printed "2", and the printing method "ancolate printing" to represent the three images IM1, IM1, and IM2 included in the document DC2. The image data D1, D1 and D2 of the above are determined as storage targets (S72). Specifically, the CPU 22 first, from the sequence table OT2, is the first, (1 + m) th, (1 + 2 × m) th, (1 + 3 × m) th ... (m is the number of copies to be printed (in this case)). A plurality of CRC values associated with (an integer indicating "2")) are specified. In this case, the CPU 22 specifies the first CRC value CV1, the third CRC value CV1, and the fifth CRC value CV2. Then, the CPU 22 uses the CRC table CT1 to determine a plurality of image data corresponding to the plurality of specified CRC values as storage targets. In this case, the CPU 22 determines three image data D1, D1, D2 corresponding to the three CRC values CV1, CV1, and CV2 as storage targets. Next, the CPU 22 includes three image data D1, D1, D2, print copy number information indicating the number of print copies "2", method information indicating the print method "uncorlate print", and user information (user name UN1 and password). The stored information SI3 including P1) and is stored in the storage area 32 (S72).

CPU22は、ユーザ情報が入力される場合(図2のS20でYES)に、蓄積情報SI3内の3個の画像IM1、IM1、IM2の印刷を、蓄積情報SI3内の印刷部数情報によって示される印刷部数「2」に対応する回数(即ち2回)に亘って、印刷実行部12に繰り返し実行させる。この際に、CPU22は、蓄積情報SI3内の方法情報「アンコレート印刷」に応じて、IM1、IM1、IM1、IM1、IM2、IM2の順序に従って、6個の画像の印刷を印刷実行部12に順次実行させる。 When the user information is input (YES in S20 of FIG. 2), the CPU 22 prints the three images IM1, IM1, and IM2 in the stored information SI3 by the print number information in the stored information SI3. The print execution unit 12 is repeatedly executed a number of times (that is, twice) corresponding to the number of copies "2". At this time, the CPU 22 prints six images to the print execution unit 12 in the order of IM1, IM1, IM1, IM1, IM2, IM2 according to the method information "ancolate print" in the accumulated information SI3. Let it be executed sequentially.

(コレート印刷が指定されるケースB2)
ケースB2は、ユーザが印刷方法「コレート印刷」を指定することに起因して、端末装置200において印刷要求R5が生成される点を除いて、ケースB1と同様である。端末装置200は、3個の画像データD1、D1、D2の2部のコレート印刷をプリンタ10に実行させるための順序(即ち、D1、D1、D2、D1、D1、D2の順序)に従って、6個の画像データをプリンタ10に順次供給する。
(Case B2 where colate printing is specified)
Case B2 is the same as Case B1 except that the printing request R5 is generated in the terminal device 200 due to the user specifying the printing method “collate printing”. The terminal device 200 follows the order for causing the printer 10 to perform collate printing of two parts of the three image data D1, D1, D2 (that is, the order of D1, D1, D2, D1, D1, D2). The pieces of image data are sequentially supplied to the printer 10.

CPU22は、D1、D1、D2、D1、D1、D2の順序で6個の画像データを順次取得する(S50)。この場合、CPU22は、CRCテーブルCT1を生成する(S56)。即ち、ケースB2のCRCテーブルCT1は、ケースB1のCRCテーブルCT1と同じである。また、CPU22は、順序テーブルOT3を生成する。順序テーブルOT3では、6個の画像データD1、D1、D2、D1、D1、D2に対応する6個のCRC値CV1、CV1、CV2、CV1、CV1、CV2が、当該6個の画像データのそれぞれの取得順位に関連付けられている。そして、CPU22は、S70の決定処理において、順序テーブルOT3を利用して、ユーザによって指定された印刷部数「2」と、ユーザによって指定された印刷方法「コレート印刷」と、を決定する。 The CPU 22 sequentially acquires six image data in the order of D1, D1, D2, D1, D1, and D2 (S50). In this case, the CPU 22 generates the CRC table CT1 (S56). That is, the CRC table CT1 of the case B2 is the same as the CRC table CT1 of the case B1. Further, the CPU 22 generates the sequence table OT3. In the sequence table OT3, the six CRC values CV1, CV1, CV2, CV1, CV1, and CV2 corresponding to the six image data D1, D1, D2, D1, D1, and D2 are each of the six image data. Is associated with the acquisition order of. Then, in the determination process of S70, the CPU 22 determines the number of copies to be printed "2" specified by the user and the printing method "collate printing" specified by the user by using the sequence table OT3.

次いで、CPU22は、CRCテーブルCT1と順序テーブルOT3と印刷部数「2」と印刷方法「コレート印刷」とを利用して、ドキュメントDC2に含まれる3個の画像IM1、IM1、IM2を表わす3個の画像データD1、D1、D2を記憶対象として決定する(S72)。具体的には、CPU22は、まず、順序テーブルOT3の最下位の順位(本ケースでは「6」)を印刷部数(本ケースでは「2」)で除算して除算値(本ケースでは「3」)を算出し、順序テーブルOT3から、1番目から除算値の順位(本ケースでは「3番目」)までの各順位に関連付けられている複数個のCRC値を特定する。本ケースでは、CPU22は、1番目のCRC値CV1、2番目のCRC値CV1、及び、3番目のCRC値CV2を特定する。そして、CPU22は、CRCテーブルCT1を利用して、特定済みの複数個のCRC値に対応する複数個の画像データを記憶対象として決定する。本ケースでは、CPU22は、3個のCRC値CV1、CV1、CV2に対応する3個の画像データD1、D1、D2を記憶対象として決定する。次いで、CPU22は、3個の画像データD1、D1、D2と、印刷部数「2」を示す印刷部数情報と、印刷方法「コレート印刷」を示す方法情報と、ユーザ情報(ユーザ名UN1とパスワードP1)と、を含む蓄積情報SI4を蓄積領域32に記憶させる(S72)。 Next, the CPU 22 uses the CRC table CT1, the sequence table OT3, the number of copies "2", and the printing method "collate printing" to represent the three images IM1, IM1, and IM2 included in the document DC2. Image data D1, D1, and D2 are determined as storage targets (S72). Specifically, the CPU 22 first divides the lowest rank (“6” in this case) of the sequence table OT3 by the number of copies printed (“2” in this case) and divides the value (“3” in this case). ) Is calculated, and a plurality of CRC values associated with each rank from the first to the rank of the divided value (“third” in this case) are specified from the sequence table OT3. In this case, the CPU 22 specifies the first CRC value CV1, the second CRC value CV1, and the third CRC value CV2. Then, the CPU 22 uses the CRC table CT1 to determine a plurality of image data corresponding to the plurality of specified CRC values as storage targets. In this case, the CPU 22 determines three image data D1, D1, D2 corresponding to the three CRC values CV1, CV1, and CV2 as storage targets. Next, the CPU 22 includes three image data D1, D1, D2, print copy number information indicating the number of print copies "2", method information indicating the print method "collate print", and user information (user name UN1 and password P1). ), And the stored information SI4 including the above is stored in the storage area 32 (S72).

CPU22は、ユーザ情報が入力される場合(図2のS20でYES)に、蓄積情報SI4内の3個の画像IM1、IM1、IM2の印刷を、蓄積情報SI4内の印刷部数情報によって示される印刷部数「2」に対応する回数(即ち2回)に亘って、印刷実行部12に繰り返し実行させる。この際に、CPU22は、蓄積情報SI4内の方法情報「コレート印刷」に応じて、IM1、IM1、IM2、IM1、IM1、IM2の順序に従って、6個の画像の印刷を印刷実行部12に順次実行させる。 When the user information is input (YES in S20 of FIG. 2), the CPU 22 prints the three images IM1, IM1, and IM2 in the stored information SI4 by the print number information in the stored information SI4. The print execution unit 12 is repeatedly executed a number of times (that is, twice) corresponding to the number of copies "2". At this time, the CPU 22 sequentially prints six images to the print execution unit 12 according to the order of IM1, IM1, IM2, IM1, IM1, and IM2 according to the method information "collate printing" in the accumulated information SI4. Let it run.

(決定処理;図7)
続いて、図7を参照して、図5のS70の決定処理の内容を説明する。CPU22は、S100において、アンコレート印刷を実行するための印刷部数(以下では「アンコレート部数」と呼ぶ)を算出するアンコレート部数処理(図8参照)を実行し、S150において、コレート印刷を実行するための印刷部数(以下では「コレート部数」と呼ぶ)を算出するコレート部数処理(図9参照)を実行する。なお、変形例では、S100、S150は、逆の順序で実行されてもよい。
(Decision process; Fig. 7)
Subsequently, the content of the determination process of S70 of FIG. 5 will be described with reference to FIG. 7. The CPU 22 executes an uncolate number processing (see FIG. 8) for calculating the number of copies to be printed (hereinafter referred to as "ancolate number of copies") for executing uncolate printing in S100, and executes collate printing in S150. The collate number of copies process (see FIG. 9) for calculating the number of copies to be printed (hereinafter referred to as "collate number of copies") is executed. In the modified example, S100 and S150 may be executed in the reverse order.

S200では、CPU22は、算出済みのアンコレート部数が複数部を示すのか否かを判断する。CPU22は、アンコレート部数が複数部を示す場合(S200でYES)に、S202において、算出済みのコレート部数が複数部を示すのか否かを判断する。CPU22は、コレート部数が1部を示す場合(S202でNO)に、S206において、印刷方法として「アンコレート印刷」を決定し、印刷部数として算出済みのアンコレート部数を決定する。S206が終了すると、決定処理が終了する。 In S200, the CPU 22 determines whether or not the calculated number of uncoordinated copies indicates a plurality of copies. When the number of collate copies indicates a plurality of copies (YES in S200), the CPU 22 determines in S202 whether or not the calculated number of collate copies indicates a plurality of copies. When the number of collate copies indicates one copy (NO in S202), the CPU 22 determines "ancolate print" as the printing method in S206, and determines the calculated number of uncollate copies as the number of print copies. When S206 ends, the determination process ends.

一方、CPU22は、コレート部数が複数部を示す場合(S202でYES)に、S204において、印刷方法として「コレート印刷」を決定し、印刷部数として算出済みのコレート部数を決定する。S204が終了すると、決定処理が終了する。 On the other hand, when the number of copies indicates a plurality of copies (YES in S202), the CPU 22 determines "collate printing" as the printing method in S204, and determines the calculated number of copies as the number of copies to be printed. When S204 ends, the determination process ends.

また、CPU22は、アンコレート部数が1部を示す場合(S200でNO)に、S208において、コレート部数が複数部を示すのか否かを判断する。CPU22は、コレート部数が複数部を示す場合(S208でYES)に、S210において、印刷方法として「コレート印刷」を決定し、印刷部数として算出済みのコレート部数を決定する。 Further, when the number of uncoordinated copies indicates one copy (NO in S200), the CPU 22 determines in S208 whether or not the number of collate copies indicates a plurality of copies. When the number of copies indicates a plurality of copies (YES in S208), the CPU 22 determines "collate printing" as the printing method in S210, and determines the calculated number of copies as the number of copies to be printed.

一方、CPU22は、コレート部数が1部を示す場合(S208でNO)に、S212において、印刷方法として「コレート印刷」を決定し、印刷部数として「1」を決定する。S210又はS212が終了すると、決定処理が終了する。 On the other hand, when the number of copies indicates 1 copy (NO in S208), the CPU 22 determines "collate printing" as the printing method and "1" as the number of copies to print in S212. When S210 or S212 is completed, the determination process is completed.

(アンコレート部数処理;図8)
図8を参照して、図7のS100のアンコレート部数処理の内容を説明する。S102では、CPU22は、順序テーブル(例えば図6のOT2)において、1番目のCRC値と2番目のCRC値とが同じであるのか否かを判断する。CPU22は、1番目のCRC値と2番目のCRC値とが同じであると判断する場合(S102でYES)に、S104において、終端順位h(hは2以上の整数)を決定する。具体的には、CPU22は、順序テーブルにおいて、1番目から昇順に各CRC値をチェックして、1番目のCRC値とは異なるCRC値が関連付けられている順位が初めて登場する際に、当該順位の直前の順位を終端順位hとして決定する。例えば、CPU22は、順序テーブルOT2において、1番目のCRC値CV1とは異なるCRC値CV2が関連付けられている順位「5」が初めて登場する際に、当該順位「5」の直前の順位「4」を終端順位hとして決定する。
(Uncolate number of copies processing; Fig. 8)
With reference to FIG. 8, the content of the uncorrected copy number processing of S100 of FIG. 7 will be described. In S102, the CPU 22 determines whether or not the first CRC value and the second CRC value are the same in the sequence table (for example, OT2 in FIG. 6). When the CPU 22 determines that the first CRC value and the second CRC value are the same (YES in S102), the CPU 22 determines the terminal order h (h is an integer of 2 or more) in S104. Specifically, the CPU 22 checks each CRC value in ascending order from the first in the order table, and when a rank in which a CRC value different from the first CRC value is associated appears for the first time, the rank is concerned. The rank immediately before is determined as the terminal rank h. For example, when the rank "5" associated with the CRC value CV2 different from the first CRC value CV1 appears for the first time in the sequence table OT2, the CPU 22 has the rank "4" immediately before the rank "5". Is determined as the terminal order h.

S106では、CPU22は、h+1番目以降の各CRC値が、連続するh個の同じCRC値のセットによって構成されているというアンコレート条件が成立するのか否かを判断する。CPU22は、アンコレート条件が成立しないと判断する場合(S106でNO)に、S108に進む。 In S106, the CPU 22 determines whether or not the uncollate condition that each CRC value from the h + 1st position onward is composed of h consecutive sets of the same CRC value is satisfied. When the CPU 22 determines that the uncollate condition is not satisfied (NO in S106), the CPU 22 proceeds to S108.

S108では、CPU22は、終端順位hを「1」だけデクリメントする。そして、CPU22は、終端順位hが「1」より大きければ(S110でNO)、S106に戻る。CPU22は、終端順位hが「1」に等しくなるまで、アンコレート条件が成立するのか否かの判断を繰り返す。CPU22は、アンコレート条件が成立する場合(S106でYES)に、S120において、アンコレート部数として終端順位hを決定する。S120が終了すると、図8の処理が終了する。 In S108, the CPU 22 decrements the terminal order h by "1". Then, if the terminal order h is larger than "1" (NO in S110), the CPU 22 returns to S106. The CPU 22 repeats the determination of whether or not the uncollate condition is satisfied until the terminal order h becomes equal to "1". When the uncorrelate condition is satisfied (YES in S106), the CPU 22 determines the terminal order h as the number of uncoordinated copies in S120. When S120 is completed, the process of FIG. 8 is completed.

ここで、アンコレート条件について詳しく説明する。例えば、順序テーブルOT2において、順位「4」が終端順位hとして決定される場合には、アンコレート条件は、5番目(即ち(h+1)番目)以降の各CRC値が、連続する4個(即ちh個)の同じCRC値のセットによって構成されていることである。本ケースでは、5番目以降の各CRC値
CV2、CV2は、連続する4個の同じCRC値のセットによって構成されていない。従って、CPU22は、アンコレート条件が成立しないと判断して(S106でNO)、終端順位hを「4」から「3」にデクリメントする(S108)。この場合、アンコレート条件は、4番目(即ち(h+1)番目)以降の各CRC値が、連続する3個(即ちh個)の同じCRC値のセットによって構成されていることである。本ケースでは、4番目以降の各CRC値CV1、CV2、CV2は、連続する3個の同じCRC値のセットによって構成されていない。従って、CPU22は、アンコレート条件が成立しないと判断して(S106でNO)、終端順位hを「3」から「2」にデクリメントする(S108)。この場合、アンコレート条件は、3番目(即ち(h+1)番目)以降の各CRC値が、連続する2個(即ちh個)の同じCRC値のセットによって構成されていることである。本ケースでは、3番目以降の各CRC値CV1、CV1、CV2、CV2は、連続する2個の同じCRC値CV1、CV1のセットと、連続する2個の同じCRC値CV2、CV2のセットと、によって構成されている。従って、CPU22は、アンコレート条件が成立すると判断し(S106でYES)、アンコレート部数として「2(即ち終端順位h)」を算出する(S120)。
Here, the uncollate condition will be described in detail. For example, in the sequence table OT2, when the rank "4" is determined as the terminal rank h, the uncollate condition is that each CRC value after the 5th (that is, (h + 1) th) is consecutive 4 (that is,). It is composed of the same set of CRC values (h). In this case, the fifth and subsequent CRC values CV2 and CV2 are not composed of four consecutive sets of the same CRC value. Therefore, the CPU 22 determines that the uncorrelate condition is not satisfied (NO in S106), and decrements the terminal order h from "4" to "3" (S108). In this case, the uncollate condition is that each CRC value after the fourth (that is, (h + 1) th) is composed of three consecutive (that is, h) sets of the same CRC value. In this case, the fourth and subsequent CRC values CV1, CV2, and CV2 are not composed of three consecutive sets of the same CRC value. Therefore, the CPU 22 determines that the uncollate condition is not satisfied (NO in S106), and decrements the terminal order h from "3" to "2" (S108). In this case, the uncollate condition is that each CRC value after the third (that is, (h + 1) th) is composed of two consecutive (that is, h) sets of the same CRC value. In this case, the third and subsequent CRC values CV1, CV1, CV2, and CV2 are two consecutive sets of the same CRC values CV1 and CV1 and two consecutive sets of the same CRC values CV2 and CV2. It is composed of. Therefore, the CPU 22 determines that the uncolate condition is satisfied (YES in S106), and calculates "2 (that is, the terminal order h)" as the number of uncoordinated copies (S120).

また、CPU22は、1番目のCRC値と2番目のCRC値とが異なると判断する場合(S102でNO)、又は、終端順位hが「1」に等しい場合(S110でYES)に、S122において、アンコレート部数として「1」を算出する。S122が終了すると、図8の処理が終了する。 Further, when the CPU 22 determines that the first CRC value and the second CRC value are different (NO in S102), or when the termination order h is equal to "1" (YES in S110), in S122. , Calculate "1" as the number of uncoordinated copies. When S122 ends, the process of FIG. 8 ends.

(コレート部数処理;図9)
図9を参照して、図7のS150のコレート部数処理の内容を説明する。S152では、CPU22は、順序テーブル(例えば図6のOT3)が1番目のCRC値と同じCRC値を含むのか否かを判断する。CPU22は、順序テーブルが1番目のCRC値と同じCRC値を含むと判断する場合(S152でYES)に、S154において、当該CRC値に関連付けられている1個以上の順位の中から最上位の順位を選択する。例えば、CPU22は、順序テーブルOT3から、1番目のCRC値CV1と同じCRC値CV1に関連付けられている3個の順位(即ち、2番目、4番目、5番目)を特定し、当該3個の順位の中から最上位の順位「2」を選択する。
(Collate number processing; Fig. 9)
The content of the collate number processing of S150 of FIG. 7 will be described with reference to FIG. In S152, the CPU 22 determines whether the sequence table (eg, OT3 in FIG. 6) contains the same CRC value as the first CRC value. When the CPU 22 determines that the sequence table contains the same CRC value as the first CRC value (YES in S152), the CPU 22 ranks highest among the one or more ranks associated with the CRC value in S154. Select a ranking. For example, the CPU 22 identifies three ranks (that is, the second, fourth, fifth) associated with the same CRC value CV1 as the first CRC value CV1 from the sequence table OT3, and the three ranks. Select the highest rank "2" from the ranks.

S156では、CPU22は、S154で選択された選択済みの順位以降の各CRC値が、当該選択済みの順位より前の各CRC値のセットの繰り返しであるというコレート条件が成立するのか否かを判断する。CPU22は、コレート条件が成立しないと判断する場合(S156でNO)に、S158において、1番目のCRC値と同じCRC値に関連付けられている1個以上の順位の中に、S154で未だに選択されていない順位が存在するのか否かを判断する。CPU22は、未選択の順位が存在する場合(S158でYES)に、S154に戻り、未選択の順位の中から最上位の順位を新たに選択し、S156の処理を再び実行する。CPU22は、未選択の順位が存在しなくなるまで、S154及びS156の処理を繰り返す。CPU22は、その繰り返しの過程において、コレート条件が成立する場合(S156でYES)に、S160に進む。 In S156, the CPU 22 determines whether or not the collate condition that each CRC value after the selected rank selected in S154 is a repetition of the set of each CRC value before the selected rank is satisfied. do. When the CPU 22 determines that the collate condition is not satisfied (NO in S156), the CPU 22 is still selected in S154 among one or more ranks associated with the same CRC value as the first CRC value in S158. Determine if there is an unordered ranking. When there is an unselected rank (YES in S158), the CPU 22 returns to S154, newly selects the highest rank from the unselected ranks, and executes the process of S156 again. The CPU 22 repeats the processes of S154 and S156 until there are no unselected ranks. The CPU 22 proceeds to S160 when the collating condition is satisfied (YES in S156) in the process of repeating the process.

ここで、コレート条件について詳しく説明する。例えば、順序テーブルOT3において、最上位の順位として「2」が選択される場合には、コレート条件は、2番目以降の各CRC値が、2番目より前の各CRC値のセットの繰り返しであることである。本ケースでは、2番目以降の各CRC値CV1、CV2、CV1、CV1、CV2は、2番目より前の各CRC値のセット(即ちCV1)の繰り返しではない。従って、CPU22は、コレート条件が成立しないと判断し(S156でNO)、未選択の順位の中から最上位の順位として「4」を新たに選択する(S154)。この場合、コレート条件は、4番目以降の各CRC値が、4番目より前の各CRC値のセットの繰り返しであることである。本ケースでは、4番目以降の各CRC値CV1、CV1、CV2は、4番目より前の各CRC値のセット(即ちCV1、CV1、CV2)の繰り返しである。CPU22は、コレート条件が成立すると判断し(S156でYES)、S160に進む。 Here, the collating condition will be described in detail. For example, in the sequence table OT3, when "2" is selected as the highest rank, the collate condition is that each CRC value after the second is a repetition of a set of each CRC value before the second. That is. In this case, the second and subsequent CRC values CV1, CV2, CV1, CV1, and CV2 are not repetitions of each set of CRC values before the second (that is, CV1). Therefore, the CPU 22 determines that the collating condition is not satisfied (NO in S156), and newly selects "4" as the highest rank from the unselected ranks (S154). In this case, the collate condition is that each CRC value after the fourth is a repetition of a set of each CRC value before the fourth. In this case, each CRC value CV1, CV1, CV2 after the fourth is a repetition of each set of CRC values before the fourth (that is, CV1, CV1, CV2). The CPU 22 determines that the collating condition is satisfied (YES in S156), and proceeds to S160.

S160では、CPU22は、まず、最後のS154で選択された順位から「1」を減算して中間値を算出する。そして、CPU22は、順序テーブルの最下位の順位(即ち印刷要求に含まれる画像データの総数)を中間値で除算することによって、コレート部数を算出する。例えば、順序テーブルOT3において、最後のS154で順位「4」が選択される場合には、CPU22は、「4」から「1」を減算して中間値「3」を算出する。そして、CPU22は、順序テーブルOT3の最下位の順位「6」を中間値「3」で除算することによって、コレート部数として「2」を算出する(S160)。S160が終了すると、図9の処理が終了する。 In S160, the CPU 22 first subtracts "1" from the rank selected in the last S154 to calculate an intermediate value. Then, the CPU 22 calculates the number of collate copies by dividing the lowest rank of the sequence table (that is, the total number of image data included in the print request) by an intermediate value. For example, in the sequence table OT3, when the rank "4" is selected in the last S154, the CPU 22 subtracts "1" from "4" to calculate the intermediate value "3". Then, the CPU 22 calculates "2" as the number of collate copies by dividing the lowest rank "6" of the sequence table OT3 by the intermediate value "3" (S160). When S160 ends, the process of FIG. 9 ends.

また、CPU22は、順序テーブルが1番目のCRC値と同じCRC値を含まないと判断する場合(S152でNO)、又は、未選択の順位が存在しない場合(S158でNO)に、S162において、コレート部数として「1」を算出する。S162が終了すると、図9の処理が終了する。 Further, when the CPU 22 determines that the sequence table does not include the same CRC value as the first CRC value (NO in S152), or when there is no unselected rank (NO in S158), in S162, "1" is calculated as the number of collate copies. When S162 is completed, the process of FIG. 9 is completed.

(本実施例の効果)
本実施例では、図6のケースB1及びケースB2に示されるように、プリンタ10は、端末装置200から取得される2セットの3個の画像データD1、D1、D2(即ち6個の画像データ)の中から3個の画像データD1、D1、D2を特定して、3個の画像データD1、D1、D2を蓄積領域32に記憶する。即ち、1セットの3個の画像データD1、D1、D2が蓄積領域32に記憶され、残りの1セットの3個の画像データD1、D1、D2が蓄積領域32に記憶されない。従って、メモリ24内の蓄積領域32に記憶されるべきデータ量が多くなるのを抑制することができる。
(Effect of this example)
In this embodiment, as shown in case B1 and case B2 of FIG. 6, the printer 10 has two sets of three image data D1, D1, D2 (that is, six image data) acquired from the terminal device 200. ), The three image data D1, D1 and D2 are specified, and the three image data D1, D1 and D2 are stored in the storage area 32. That is, one set of three image data D1, D1, D2 is stored in the storage area 32, and the remaining one set of three image data D1, D1, D2 is not stored in the storage area 32. Therefore, it is possible to suppress an increase in the amount of data to be stored in the storage area 32 in the memory 24.

また、第1実施例において、例えば、プリンタ10が、端末装置200から、ケースB1の2セットの3個の画像データD1、D1、D2を含む印刷要求R5を取得する状況が想定される。この場合、プリンタ10は、図3のS40において、3回に亘って印刷部数をインクリメントするので、ユーザによって指定された印刷部数「2」とは異なる印刷部数「4」を決定する。これに対し、本実施例では、プリンタ10は、図8のアンコレート部数処理において、ユーザによって指定された印刷部数「2」と同じ印刷部数「2」を適切に決定することができる。また、第1実施例において、例えば、プリンタ10が、端末装置200から、ケースB2の印刷要求R6を取得する状況も想定される。この場合も、プリンタ10は、ユーザによって指定された印刷部数「2」とは異なる印刷部数「4」を決定する(図3のS40)。これに対し、本実施例では、プリンタ10は、図9のコレート部数処理において、ユーザによって指定された印刷部数「2」と同じ印刷部数「2」を適切に決定することができる。即ち、本実施例によると、印刷対象のドキュメントが3個以上の画像を表わし、かつ、当該3個以上の画像が2個以上の同じ画像を含み、かつ、複数部を示す印刷部数が指定される場合でも、指定済みの印刷部数と同じ印刷部数を適切に決定することができる。 Further, in the first embodiment, for example, it is assumed that the printer 10 acquires the print request R5 including the three image data D1, D1 and D2 of the two sets of the case B1 from the terminal device 200. In this case, since the printer 10 increments the number of prints three times in S40 of FIG. 3, the printer 10 determines the number of prints "4" different from the number of prints "2" specified by the user. On the other hand, in the present embodiment, the printer 10 can appropriately determine the same number of prints "2" as the number of prints "2" specified by the user in the process of the number of copies of the uncollate of FIG. Further, in the first embodiment, for example, it is assumed that the printer 10 acquires the print request R6 of the case B2 from the terminal device 200. In this case as well, the printer 10 determines the number of print copies "4" that is different from the number of print copies "2" specified by the user (S40 in FIG. 3). On the other hand, in the present embodiment, the printer 10 can appropriately determine the same number of prints "2" as the number of prints "2" specified by the user in the collate number processing of FIG. That is, according to this embodiment, the number of copies to be printed is specified, in which the document to be printed represents three or more images, the three or more images include two or more same images, and a plurality of copies are indicated. Even in this case, the same number of prints as the specified number of prints can be appropriately determined.

また、第1実施例では、プリンタ10は、汎用プリンタドライバを備える端末装置200から印刷要求を取得する場合に、プリンタ10に表示される画面においてユーザによって印刷方法が指定されない限り、印刷方法を決定することができない。これに対し、本実施例では、プリンタ10は、端末装置200においてユーザによって複数部が指定される場合に、端末装置200においてユーザによって指定された印刷方法と同じ印刷方法を適切に決定することができる(図7のS204、S206、S210)。そして、プリンタ10は、決定済みの印刷方法を示す方法情報を含む蓄積情報を記憶し(図5のS72)、当該方法情報に従った印刷を実行することができる(図2のS24)。ユーザは、プリンタ10において印刷方法を指定せずに済み、この結果、ユーザの利便性が向上する。 Further, in the first embodiment, when the printer 10 acquires a print request from the terminal device 200 provided with the general-purpose printer driver, the printer 10 determines the print method unless the print method is specified by the user on the screen displayed on the printer 10. Can not do it. On the other hand, in the present embodiment, when a plurality of copies are specified by the user in the terminal device 200, the printer 10 can appropriately determine the same printing method as the printing method specified by the user in the terminal device 200. It can be done (S204, S206, S210 in FIG. 7). Then, the printer 10 can store the accumulated information including the method information indicating the determined printing method (S72 in FIG. 5), and can perform printing according to the method information (S24 in FIG. 2). The user does not have to specify the printing method in the printer 10, and as a result, the convenience of the user is improved.

また、本実施例でも、プリンタ10は、図4のケースA1及びA2のように、端末装置200から、2セットの2個の画像データD1、D2(即ち、4個の画像データ)を含む印刷要求を取得し得る。このような場合でも、プリンタ10は、図5及び図7〜図9の処理を実行することによって、4個の画像データの中から2個の画像データD1、D2を特定し、特定済みの2個の画像データD1、D2を蓄積領域32に適切に記憶することができる。 Further, also in this embodiment, as in cases A1 and A2 of FIG. 4, the printer 10 prints from the terminal device 200 including two sets of two image data D1 and D2 (that is, four image data). You can get the request. Even in such a case, the printer 10 identifies two image data D1 and D2 from the four image data by executing the processes of FIGS. 5 and 7 to 9, and the specified 2 The individual image data D1 and D2 can be appropriately stored in the storage area 32.

(特殊なケース;図10)
図10を参照して、本実施例の特殊なケースを説明する。本ケースでは、ユーザが、端末装置200において、2個の同じ画像IM1と2個の同じ画像IM2とを含む4個の画像IM1、IM1、IM2、IM2を表わすドキュメントDC3と、2部を示す印刷部数と、印刷方法「コレート印刷」と、を指定するこの場合、端末装置200は、汎用プリンタドライバに従って、2セットの4個の画像データD1、D1、D2、D2(即ち8個の画像データ)と、1部を示す印刷部数情報(図示省略)と、を含む印刷要求R6を生成する。端末装置200は、4個の画像データD1、D1、D2、D2の2部のコレート印刷をプリンタ10に実行させるための順序(即ち、D1、D1、D2、D2、D1、D1、D2、D2の順序)に従って、8個の画像データをプリンタ10に順次供給する。
(Special case; Fig. 10)
A special case of this embodiment will be described with reference to FIG. In this case, the user prints two copies of a document DC3 representing four images IM1, IM1, IM2, IM2 including two identical images IM1 and two identical images IM2 in the terminal device 200. In this case, the terminal device 200 specifies two sets of four image data D1, D1, D2, D2 (that is, eight image data) according to the general-purpose printer driver. A print request R6 including the print number of copies information (not shown) indicating one copy is generated. The terminal device 200 causes the printer 10 to perform collate printing of two parts of four image data D1, D1, D2, and D2 (that is, D1, D1, D2, D2, D1, D1, D2, D2). Eight image data are sequentially supplied to the printer 10 according to the order of).

プリンタ10のCPU22は、端末装置200から、D1、D1、D2、D2、D1、D1、D2、D2の順序で8個の画像データを順次取得する(図5のS50)。この場合、CPU22は、CRCテーブルCT1を生成する(S56)。また、CPU22は、順序テーブルOT4を生成する。順序テーブルOT4では、8個の画像データD1、D1、D2、D2、D1、D1、D2、D2に対応する8個のCRC値CV1、CV1、CV2、CV2、CV1、CV1、CV2、CV2が、当該8個の画像データのそれぞれの取得順位に関連付けられている。 The CPU 22 of the printer 10 sequentially acquires eight image data from the terminal device 200 in the order of D1, D1, D2, D2, D1, D1, D2, D2 (S50 in FIG. 5). In this case, the CPU 22 generates the CRC table CT1 (S56). Further, the CPU 22 generates the sequence table OT4. In the sequence table OT4, the eight CRC values CV1, CV1, CV2, CV2, CV1, CV1, CV2, and CV2 corresponding to the eight image data D1, D1, D2, D2, D1, D1, D2, and D2 are It is associated with the acquisition order of each of the eight image data.

CPU22は、順序テーブルOT4を利用して、決定処理を実行する(図5のS70)。この際に、CPU22は、アンコレート部数処理(図7のS100)において、1番目のCRC値CV1とは異なるCRC値CV2が関連付けられている順位「3」が初めて登場する際に、当該順位「3」の直前の順位「2」を終端順位hとして決定する(図8のS104)。この場合、アンコレート条件は、3番目(即ち(h+1)番目)以降の各CRC値が、連続する2個(即ちh個)の同じCRC値のセットによって構成されていることである。本ケースでは、3番目以降の各CRC値CV2、CV2、CV1、CV1、CV2、CV2は、連続する2個の同じCRC値CV1のセット(即ちCV1、CV1)と、連続する2個の同じCRC値CV2のセット(即ちCV2、CV2)と、によって構成されている。従って、CPU22は、アンコレート条件が成立すると判断し(S106でYES)、アンコレート部数として終端順位hに対応する「2」を算出する(S120)。 The CPU 22 executes the determination process using the sequence table OT4 (S70 in FIG. 5). At this time, when the rank "3" in which the CRC value CV2 different from the first CRC value CV1 appears for the first time in the uncollate number processing (S100 in FIG. 7), the CPU 22 determines the rank "3". The rank "2" immediately before "3" is determined as the terminal rank h (S104 in FIG. 8). In this case, the uncollate condition is that each CRC value after the third (that is, (h + 1) th) is composed of two consecutive (that is, h) sets of the same CRC value. In this case, the third and subsequent CRC values CV2, CV2, CV1, CV1, CV2, and CV2 are a set of two consecutive same CRC values CV1 (that is, CV1, CV1) and two consecutive same CRC values. It is composed of a set of values CV2 (ie, CV2, CV2). Therefore, the CPU 22 determines that the uncorrelate condition is satisfied (YES in S106), and calculates "2" corresponding to the terminal order h as the number of uncoordinated copies (S120).

また、CPU22は、コレート部数処理(図7のS150)において、順序テーブルOT4から、1番目のCRC値CV1と同じCRC値CV1に関連付けられている3個の順位(即ち、2番目、5番目、6番目)を特定し、当該3個の順位の中から最上位の順位「2」を選択する(S154)。この場合、コレート条件は、2番目以降の各CRC値が、2番目より前の各CRC値のセットの繰り返しであることである。本ケースでは、2番目以降の各CRC値CV1、CV2、CV2、CV1、CV1、CV2、CV2は、1番目のCRC値のセット(即ちCV1)の繰り返しではない。従って、CPU22は、コレート条件が成立しないと判断し(S156でNO)、未選択の順位の中から最上位の順位として「5」を新たに選択する(S154)。この場合、この場合、コレート条件は、5番目以降の各CRC値が、5番目より前の各CRC値のセットの繰り返しであることである。本ケースでは、5番目以降の各CRC値CV1、CV1、CV2、CV2は、5番目より前の各CRC値のセット(即ちCV1、CV1、CV2、CV2)の繰り返しである。従って、CPU22は、コレート条件が成立すると判断する(S156でYES)。そして、CPU22は、選択済みの順位「5」から「1」を減算して中間値「4」を算出し、順序テーブルOT4の最下位の順位「8」を中間値「4」で除算することによって、コレート部数として「2」を算出する(S160)。 Further, in the collate number processing (S150 in FIG. 7), the CPU 22 has three ranks (that is, the second, fifth, and so on) associated with the same CRC value CV1 as the first CRC value CV1 from the sequence table OT4. The sixth) is specified, and the highest rank "2" is selected from the three ranks (S154). In this case, the collate condition is that each CRC value after the second is a repetition of the set of each CRC value before the second. In this case, the second and subsequent CRC values CV1, CV2, CV2, CV1, CV1, CV2, and CV2 are not repetitions of the first CRC value set (that is, CV1). Therefore, the CPU 22 determines that the collating condition is not satisfied (NO in S156), and newly selects "5" as the highest rank from the unselected ranks (S154). In this case, in this case, the collate condition is that each CRC value after the fifth is a repetition of a set of each CRC value before the fifth. In this case, each CRC value CV1, CV1, CV2, CV2 after the fifth is a repetition of each set of CRC values before the fifth (that is, CV1, CV1, CV2, CV2). Therefore, the CPU 22 determines that the collate condition is satisfied (YES in S156). Then, the CPU 22 subtracts "1" from the selected rank "5" to calculate the intermediate value "4", and divides the lowest rank "8" of the sequence table OT4 by the intermediate value "4". To calculate "2" as the number of collate copies (S160).

CPU22は、アンコレート部数処理でアンコレート部数「2」が算出され、コレート部数処理でコレート部数「2」が算出されるので(図7のS200でYES、S202でYES)、印刷方法を「コレート印刷」に決定し、印刷部数をコレート部数「2」に決定する(S204)。ところで、端末装置200において表示される画面SC1(図1参照)は、デフォルト状態ではコレート印刷に設定されている。このために、ユーザがコレート印刷を指定する可能性が高い。従って、CPU22は、アンコレート部数及びコレート部数の双方が複数部を示す場合(図7のS200でYES、S202でYES)に、ユーザによって指定される可能性が高い「コレート印刷」を印刷方法として優先的に決定する(S204)。なお、変形例では、CPU22は、アンコレート部数及びコレート部数の双方が複数部を示す場合(図7のS200でYES、S202でYES)に、印刷方法として「アンコレート印刷」を優先的に決定してもよい。この場合、CPU22は、印刷部数としてアンコレート部数を決定してもよい。 In the CPU 22, the number of copies "2" is calculated by the number of copies processing, and the number of copies "2" is calculated by the processing of the number of copies (YES in S200 and YES in S202 in FIG. 7). "Print" is determined, and the number of copies to be printed is determined to be "2" (S204). By the way, the screen SC1 (see FIG. 1) displayed on the terminal device 200 is set to collate printing in the default state. For this reason, the user is likely to specify collate printing. Therefore, the CPU 22 uses "collate printing", which is likely to be specified by the user, as a printing method when both the number of uncoordinated copies and the number of collate copies indicate a plurality of copies (YES in S200 and YES in S202 of FIG. 7). It is determined with priority (S204). In the modified example, when both the number of copies to be collated and the number of copies to be collated indicate a plurality of copies (YES in S200 and YES in S202 in FIG. 7), the CPU 22 preferentially determines "uncolate printing" as the printing method. You may. In this case, the CPU 22 may determine the number of uncoordinated copies as the number of copies to be printed.

CPU22は、印刷部数「2」と印刷方法「コレート印刷」と順序テーブルOT4とCRCテーブルCT1を利用して、4個の画像データD1、D1、D2、D2を特定する。CPU22は、当該4個の画像データと、印刷部数「2」を示す印刷部数情報と、印刷方法「コレート印刷」を示す方法情報と、ユーザ情報(ユーザ名UN1とパスワードP1)と、を蓄積情報SI5として蓄積領域32に記憶させる(図5のS72)。このように、本実施例によると、図10のような特殊なケースでも、蓄積情報SI5を蓄積領域32に適切に記憶させることができる。 The CPU 22 specifies four image data D1, D1, D2, and D2 by using the number of copies "2", the printing method "collate printing", the sequence table OT4, and the CRC table CT1. The CPU 22 stores the four image data, print copy number information indicating the number of print copies "2", method information indicating the print method "collate print", and user information (user name UN1 and password P1). It is stored in the storage area 32 as SI5 (S72 in FIG. 5). As described above, according to the present embodiment, the stored information SI5 can be appropriately stored in the storage area 32 even in the special case as shown in FIG.

(対応関係)
図5のS54の処理が、「第2の一致判断処理」の一例である。順序テーブルが、「順序情報」の一例である。CRC値が、「対応情報」の一例である。コレート印刷を示す方法情報、アンコレート印刷を示す方法情報が、それぞれ、「コレート情報」、「アンコレート情報」の一例である。図6のケースB1(又はケースB2)において、印刷要求R4(又はR5)が、「第2の印刷要求」の一例である。ドキュメントDC2を表わす3個の画像IM1、IM1、IM2、3個の画像データD1、D1、D2が、それぞれ、「N2個の画像」、「N2個の画像データ」の一例である。ユーザによって指定される2部を示す印刷部数が、「M2部」の一例である。3個の画像データD1、D1、D2のうちの2個の同じ画像データD1、D1が、「L個の画像データ」の一例である。
(Correspondence)
The process of S54 in FIG. 5 is an example of the “second match determination process”. The sequence table is an example of "order information". The CRC value is an example of "correspondence information". The method information indicating collate printing and the method information indicating uncollate printing are examples of "collate information" and "uncollate information", respectively. In case B1 (or case B2) of FIG. 6, the print request R4 (or R5) is an example of the “second print request”. The three images IM1, IM1, IM2, and the three image data D1, D1, and D2 representing the document DC2 are examples of "N2 images" and "N2 image data", respectively. The number of printed copies indicating two copies specified by the user is an example of "M2 copies". Two of the same image data D1 and D1 out of the three image data D1, D1 and D2 are an example of "L image data".

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 Although specific examples of the present invention have been described in detail above, these are merely examples and do not limit the scope of claims. The techniques described in the claims include various modifications and modifications of the specific examples illustrated above. Modifications of the above embodiment are listed below.

(変形例1)プリンタ10は、印刷要求に含まれる全ての画像データを取得した後に、全ての画像データに対応する全てのCRC値を算出してもよい。そして、プリンタ10は、まず、1番目のCRC値が2番目以降の各CRC値に一致するのか否かを判断し、次いで、2番目のCRC値が3番目以降の各CRC値に一致するのか否かを判断してもよい。そして、プリンタ10は、3番目以降の各CRC値についても同様に一致判断を実行してもよい。本変形例の処理も、「第1の一致判断処理」の一例である。 (Modification 1) The printer 10 may calculate all CRC values corresponding to all the image data after acquiring all the image data included in the print request. Then, the printer 10 first determines whether or not the first CRC value matches each of the second and subsequent CRC values, and then whether the second CRC value matches each of the third and subsequent CRC values. You may decide whether or not. Then, the printer 10 may similarly execute the match determination for each CRC value after the third. The process of this modification is also an example of the "first match determination process".

(変形例2)プリンタ10は、端末装置から印刷仲介サーバを介して印刷要求を取得してもよい。この場合、端末装置は、プリンタドライバを備えていなくてもよく、印刷仲介サーバがプリンタドライバを備えていればよい。即ち、端末装置が、印刷対象のドキュメントと印刷部数と印刷方法を印刷仲介サーバに供給し、印刷仲介サーバが、プリンタドライバを利用して印刷要求を生成して、当該印刷要求をプリンタ10供給してもよい。一般的に言えば、「制御装置」は、端末装置から他の装置を介して第1(又は第2)の印刷要求を取得してもよい。 (Modification 2) The printer 10 may acquire a print request from a terminal device via a print intermediary server. In this case, the terminal device does not have to be provided with the printer driver, and the print intermediary server may be provided with the printer driver. That is, the terminal device supplies the document to be printed, the number of copies to be printed, and the printing method to the print mediation server, and the print mediation server generates a print request using the printer driver and supplies the print request to the printer 10. You may. Generally speaking, the "control device" may obtain a first (or second) print request from a terminal device via another device.

(変形例3)プリンタ10は、図5のS70の処理を実行せずに、CRCテーブルと順序テーブルとを蓄積情報として蓄積領域32に記憶してもよい。そして、プリンタ10は、順序テーブルによって表される順序に従って、CRCテーブルに含まれる1個以上の画像データによって表される1個以上の画像の印刷を実行してもよい。本変形例では、順序テーブルが「部数関係情報」の一例である。 (Modification 3) The printer 10 may store the CRC table and the sequence table as storage information in the storage area 32 without executing the process of S70 in FIG. Then, the printer 10 may print one or more images represented by one or more image data included in the CRC table according to the order represented by the sequence table. In this modification, the order table is an example of "number of copies related information".

(変形例4)プリンタ10は、図2のS12において、取得済みの印刷要求に含まれるプロトコル情報がIPPを示す場合に、S14に進み、当該プロトコル情報がIPPを示さない場合に、S16に進んでもよい。プロトコル情報は、印刷要求の通信に利用されている通信プロトコルを示す情報である。プロトコル情報がIPPを示すことは、印刷要求が汎用プリンタドライバによって生成された可能性が高いことを意味する。また、他の変形例では、プリンタ10は、図2のS12において、取得済みの印刷要求に含まれる画像データの形式を示す形式情報が所定の形式(例えばラスタ形式)を示す場合に、S14に進み、形式情報が所定の形式を示さない場合に、S16に進んでもよい。例えば、汎用プリンタドライバによって生成される画像データの形式が所定の形式に限られる状況が想定される。この場合には、印刷要求に含まれる画像データの形式が所定の形式であることは、印刷要求が汎用プリンタドライバによって生成された可能性が高いことを意味する。これらの変形例では、プロトコル情報又は形式情報が、「特定情報」の一例である。 (Modification 4) In S12 of FIG. 2, the printer 10 proceeds to S14 when the protocol information included in the acquired print request indicates IPP, and proceeds to S16 when the protocol information does not indicate IPP. It may be. The protocol information is information indicating a communication protocol used for communication of a print request. If the protocol information indicates IPP, it means that the print request is likely to have been generated by a general purpose printer driver. Further, in another modification, in S12 of FIG. 2, when the format information indicating the format of the image data included in the acquired print request indicates a predetermined format (for example, raster format), the printer 10 is set to S14. If the format information does not indicate a predetermined format, the process may proceed to S16. For example, it is assumed that the format of the image data generated by the general-purpose printer driver is limited to a predetermined format. In this case, the format of the image data included in the print request is a predetermined format, which means that the print request is likely to be generated by the general-purpose printer driver. In these variants, the protocol information or formal information is an example of "specific information".

(変形例5)上記の実施例では、プリンタ10は、k番目の画像データが取得された順位と、k番目の画像データのCRC値と、を関連づけて順序テーブルに記憶する(図5のS60)。これに代えて、プリンタ10は、k番目の画像データが取得された順位と、k番目の画像データの識別情報(例えば画像データ名)と、を関連づけて順序テーブルに記憶してもよい。本変形例では、識別情報が、「対応情報」の一例である。 (Modification 5) In the above embodiment, the printer 10 stores the k-th image data acquisition order and the k-th image data CRC value in an order table in association with each other (S60 in FIG. 5). ). Instead, the printer 10 may store the k-th image data acquisition order and the k-th image data identification information (for example, the image data name) in the order table in association with each other. In this modification, the identification information is an example of "correspondence information".

(変形例6)プリンタ10は、図2のS10において、ユーザ情報を取得する代わり、端末装置100又は200においてユーザによって入力されたPIN(Personal Identification Numberの略)コードを取得してもよい。この場合、図1の指定画面SC1は、ユーザ情報ボックスに代えて、PINコードを指定するためのコードボックスを含んでもよい。そして、PINコードがユーザによってコードボックスに入力されると、プリンタ10は、図2のS10において、端末装置から入力済みのPINコードを取得し、図3のS46において、当該PINコードを蓄積情報として蓄積領域32に記憶してもよい。そして、プリンタ10は、図2のS20において、当該PINコードが入力部14に入力される場合に、取得済みのPINコードを含む蓄積情報を特定し、特定済みの蓄積情報に含まれる画像データによって表される画像の印刷を実行してもよい。本変形例では、プリンタ10は、ユーザテーブル28(図1参照)を備えなくてもよい。本変形例では、PINコードが、「認証情報」の一例である。 (Modification 6) The printer 10 may acquire a PIN (abbreviation of Personal Identification Number) code input by the user in the terminal device 100 or 200 instead of acquiring the user information in S10 of FIG. In this case, the designation screen SC1 of FIG. 1 may include a code box for designating a PIN code instead of the user information box. Then, when the PIN code is input to the code box by the user, the printer 10 acquires the input PIN code from the terminal device in S10 of FIG. 2, and uses the PIN code as accumulated information in S46 of FIG. It may be stored in the storage area 32. Then, in S20 of FIG. 2, when the PIN code is input to the input unit 14, the printer 10 specifies the stored information including the acquired PIN code, and the image data included in the specified stored information is used. Printing of the represented image may be performed. In this modification, the printer 10 does not have to include the user table 28 (see FIG. 1). In this modification, the PIN code is an example of "authentication information".

(変形例7)上記の図6のケースB1では、蓄積情報SI3は、2番目の画像データとして画像データD1を含む。これに代えて、蓄積情報SI3は、2番目の画像データの代わりに、2番目の画像データが1番目の画像データD1と同じであることを示す情報を含んでいてもよい。即ち、蓄積情報SI3は、1セットの3個の画像データD1、D1、D2のうちの互いに異なる2個の画像データD1、D2のみを含んでもよい。一般的には、「第3の記憶制御部」は、(N2×M2)個の画像データのうちの少なくとも特定済みのL個の画像データをメモリ内の所定領域に記憶させればよい。 (Modification 7) In case B1 of FIG. 6 above, the stored information SI3 includes image data D1 as the second image data. Instead of this, the stored information SI3 may include information indicating that the second image data is the same as the first image data D1 instead of the second image data. That is, the stored information SI3 may include only two image data D1 and D2 that are different from each other among the three image data D1, D1 and D2 in one set. In general, the "third storage control unit" may store at least L image data of the (N2 × M2) image data in a predetermined area in the memory.

(変形例8)「制御装置」は、プリンタ10の制御部20でなくてもよく、例えば、プリンタ10と通信可能なPC、サーバ等であってもよい。例えば、PCは、端末装置から印刷要求及びユーザ情報を取得すると、当該印刷情報に含まれる画像データと当該ユーザ情報を蓄積情報としてPC内のメモリの所定領域に記憶してもよい。そして、PCは、ユーザ情報がPCの入力部に入力されると、当該ユーザ情報を含む蓄積情報に含まれる画像データをプリンタ10に供給して、当該画像データによって表される画像の印刷をプリンタ10に実行させてもよい。本変形例では、PC、プリンタ10が、それぞれ、「制御装置」、「印刷実行部」の一例である。 (Modification 8) The "control device" does not have to be the control unit 20 of the printer 10, and may be, for example, a PC, a server, or the like capable of communicating with the printer 10. For example, when the PC acquires the print request and the user information from the terminal device, the image data included in the print information and the user information may be stored in a predetermined area of a memory in the PC as accumulated information. Then, when the user information is input to the input unit of the PC, the PC supplies the image data included in the stored information including the user information to the printer 10 and prints the image represented by the image data to the printer. You may let 10. In this modification, the PC and the printer 10 are examples of a "control device" and a "print execution unit", respectively.

(変形例9)プリンタ10は、図3のS38、S40の処理を実行せずに、S42でYESと判断された後に、印刷要求に含まれる画像データの総数をCRCテーブルに含まれる画像データの総数で除算することによって、印刷部数を決定してもよい。本変形例では、上記の除算によって印刷部数を決定することが、「部数関係情報を生成すること」の一例である。 (Modification 9) The printer 10 does not execute the processes of S38 and S40 of FIG. 3, and after the determination is YES in S42, the total number of image data included in the print request is the total number of image data included in the CRC table. The number of copies to be printed may be determined by dividing by the total number. In this modification, determining the number of copies to be printed by the above division is an example of "generating information on the number of copies".

(変形例10)図2のS12、S16の処理は実行されなくてもよい。本変形例では、「要求判断部」、「第2の記憶制御部」、「第2の印刷制御部」を省略可能である。 (Modification 10) The processes of S12 and S16 in FIG. 2 may not be executed. In this modification, the "request determination unit", the "second storage control unit", and the "second print control unit" can be omitted.

(変形例11)プリンタ10は、図2のS10において、ユーザ情報を取得しなくてもよい。そして、プリンタ10は、S20、S22の処理を実行せずに、蓄積情報を蓄積領域に記憶してから所定時間が経過した後の所定のタイミングで、当該蓄積情報に含まれる画像データによって表される画像の印刷を実行してもよい。本変形例では、「認証情報取得部」を省略可能である。 (Modification 11) The printer 10 does not have to acquire user information in S10 of FIG. Then, the printer 10 is represented by the image data included in the stored information at a predetermined timing after a predetermined time has elapsed since the stored information was stored in the storage area without executing the processes of S20 and S22. You may print the image. In this modification, the "authentication information acquisition unit" can be omitted.

(変形例12)上記の実施例では、プリンタ10のCPU22がプログラム26(即ちソフトウェア)を実行することによって、図2、図3、図5、図7〜図9の各処理が実現される。これに代えて、いずれかの処理は、論理回路等のハードウェアによって実現されてもよい。 (Modification 12) In the above embodiment, the CPU 22 of the printer 10 executes the program 26 (that is, software) to realize the processes of FIGS. 2, 3, 5, and 7 to 9. Instead, either process may be implemented by hardware such as a logic circuit.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。
以下に、本明細書で開示する特徴を列挙する。
(項目1)
印刷実行部に印刷を実行させるための制御装置であって、
メモリと、
端末装置において、互いに異なるN1個(前記N1は2以上の整数)の画像がユーザによって指定される場合に、前記端末装置から、少なくとも前記N1個の画像を表わす少なくともN1個の画像データを含む第1の印刷要求を取得する第1の印刷要求取得部と、
前記端末装置において、前記N1個の画像と、M1部(前記M1は2以上の整数)を示す印刷部数と、が前記ユーザによって指定されることに起因して、前記第1の印刷要求が、(N1×M1)個の画像を表わす(N1×M1)個の画像データを含む第1の場合に、前記(N1×M1)個の画像データにおいて、各画像データが他の画像データと一致するのか否かを判断する第1の一致判断処理を実行する第1の一致判断部と、
前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記(N1×M1)個の画像データの中から前記N1個の画像データを特定する第1の特定部と、
前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記N1個の画像の印刷部数に関係する部数関係情報を生成する関係情報生成部と、
前記第1の場合に、前記(N1×M1)個の画像データのうちの特定済みの前記N1個の画像データと、前記部数関係情報と、を前記メモリ内の所定領域に記憶させる第1の記憶制御部であって、前記(N1×M1)個の画像データのうち、特定済みの前記N1個の画像データ以外の(N1×(M1−1))個の画像データは、前記所定領域に記憶されない、前記第1の記憶制御部と、
前記N1個の画像データと前記部数関係情報とが前記所定領域に記憶された後に、前記N1個の画像データと前記部数関係情報とを利用して、前記(N1×M1)個の画像の印刷を前記印刷実行部に実行させる第1の印刷制御部と、
を備える制御装置。
(項目2)
前記第1の一致判断部は、前記(N1×M1)個の画像データのうち、k番目(kは2以上(N1×M1)以下の各整数)に取得されるk番目の画像データが、1番目から(k−1)番目に取得される(k−1)個の画像データのいずれかに一致するのか否かを判断する前記第1の一致判断処理を実行し、
前記第1の特定部は、
前記第1の一致判断処理において、前記k番目の画像データが前記(k−1)個の画像データのいずれにも一致しないと判断される場合に、前記k番目の画像データを前記N1個の画像データに含まれる画像データとして特定し、
前記第1の一致判断処理において、前記k番目の画像データが前記(k−1)個の画像データのいずれかに一致すると判断される場合に、前記k番目の画像データを前記N1個の画像データに含まれる画像データとして特定しない、項目1に記載の制御装置。
(項目3)
前記第1の一致判断部は、
前記(N1×M1)個の画像データのそれぞれについて、当該画像データを要約化することによって要約値を算出し、
前記(N1×M1)個の画像データにおいて、各画像データについて算出される各要約値が他の画像データについて算出される要約値と一致するのか否かを判断する前記第1の一致判断処理を実行する、項目1又は2に記載の制御装置。
(項目4)
前記制御装置は、さらに、
前記第1の印刷要求に含まれる特定情報を利用して、前記第1の印刷要求が、前記(N1×M1)個の画像データを含むのか、前記(N1×M1)個の画像データを含まずに前記N1個の画像データを含むのか否かを判断する要求判断部を備え、
前記第1の場合は、前記第1の印刷要求が前記(N1×M1)個の画像データを含むと判断される場合であり、
前記制御装置は、さらに、
前記第1の印刷要求が前記(N1×M1)個の画像データを含まずに前記N1個の画像データを含むと判断される第2の場合に、前記第1の印刷要求に含まれる前記N1個の画像データと、前記第1の印刷要求に含まれる印刷部数情報であって、前記M1部を示す前記印刷部数情報と、を前記メモリ内の前記所定領域に記憶させる第2の記憶制御部と、
前記N1個の画像データと前記印刷部数情報とが前記所定領域に記憶された後に、前記N1個の画像データと前記印刷部数情報とを利用して、前記(N1×M1)個の画像の印刷を前記印刷実行部に実行させる第2の印刷制御部と、
を備える、項目1から3のいずれか一項に記載の制御装置。
(項目5)
前記特定情報は、前記第1の印刷要求に含まれる印刷部数情報であり、
前記要求判断部は、
前記第1の印刷要求が1部を示す前記印刷部数情報を含む場合に、前記第1の印刷要求が前記(N1×M1)個の画像データを含むと判断し、
前記第1の印刷要求が前記M1部を示す前記印刷部数情報を含む場合に、前記第1の印刷要求が前記(N1×M1)個の画像データを含まずに前記N1個の画像データを含むと判断する、項目4に記載の制御装置。
(項目6)
前記関係情報生成部は、前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記N1個の画像の印刷部数である前記M1部を示す前記部数関係情報を生成する、項目1から5のいずれか一項に記載の制御装置。
(項目7)
前記制御装置は、さらに、
前記端末装置において、N2個(前記N2は3以上の整数)の画像と、M2部(前記M2は2以上の整数)を示す印刷部数と、が前記ユーザによって指定される場合に、前記端末装置から、(N2×M2)個の画像を表わす(N2×M2)個の画像データを含む第2の印刷要求を取得する第2の印刷要求取得部であって、前記N2個の画像は、2個以上の同じ画像を含む、前記第2の印刷要求取得部と、
前記端末装置から前記第2の印刷要求が取得される第3の場合に、前記(N2×M2)個の画像データにおいて、各画像データが他の画像データと一致するのか否かを判断する第2の一致判断処理を実行する第2の一致判断部と、
前記第3の場合に、前記第2の一致判断処理の結果を利用して、前記(N2×M2)個の画像データの中から、互いに異なるL(前記Lは前記N2未満の整数)個の画像データを特定する第2の特定部と、
前記第3の場合に、前記(N2×M2)個の画像データに対応する前記(N2×M2)個の対応情報と、前記(N2×M2)個の画像データが取得された順序と、が関連付けられている順序情報を生成する順序情報生成部と、
前記第3の場合に、前記順序情報を利用して、前記M2部を示す印刷部数情報を生成する部数情報生成部と、
前記第3の場合に、前記(N2×M2)個の画像データのうちの少なくとも特定済みの前記L個の画像データと、前記印刷部数情報と、を前記メモリ内の前記所定領域に記憶させる第3の記憶制御部と、
少なくとも前記L個の画像データと前記印刷部数情報とが前記所定領域に記憶された後に、少なくとも前記L個の画像データと前記印刷部数情報とを利用して、前記(N2×M2)個の画像の印刷を前記印刷実行部に実行させる第3の印刷制御部と、
を備える、項目1から6のいずれか一項に記載の制御装置。
(項目8)
前記部数情報生成部は、
前記順序情報を利用して、前記N2個の画像のコレート印刷を実行するための第1の印刷部数を算出し、
前記順序情報を利用して、前記N2個の画像のアンコレート印刷を実行するための第2の印刷部数を算出し、
前記第1の印刷部数が複数部を示し、かつ、前記第2の印刷部数が1部を示す場合に、前記第1の印刷部数である前記M2部を示す前記印刷部数情報を決定し、
前記第2の印刷部数が複数部を示し、かつ、前記第1の印刷部数が1部を示す場合に、前記第2の印刷部数である前記M2部を示す前記印刷部数情報を決定し、
前記第1の印刷部数が複数部を示し、かつ、前記第2の印刷部数が1部を示す場合に、
前記第3の記憶制御部は、少なくとも前記L個の画像データと、前記印刷部数情報と、コレート印刷を示すコレート情報と、を前記所定領域に記憶させ、
前記第3の印刷制御部は、少なくとも前記L個の画像データと前記印刷部数情報とを利用して、前記N2個の画像の前記M2部のコレート印刷を前記印刷実行部に実行させ、
前記第2の印刷部数が複数部を示し、かつ、前記第1の印刷部数が1部を示す場合に、
前記第3の記憶制御部は、少なくとも前記L個の画像データと、前記印刷部数情報と、アンコレート印刷を示すアンコレート情報と、を前記所定領域に記憶させ、
前記第3の印刷制御部は、少なくとも前記L個の画像データと前記印刷部数情報とを利用して、前記N2個の画像の前記M2部のアンコレート印刷を前記印刷実行部に実行させる、項目7に記載の制御装置。
(項目9)
前記制御装置は、さらに、
前記端末装置から、認証で利用されるべき認証情報を取得する認証情報取得部を備え、
前記第1の記憶制御部は、前記第1の場合に、前記N1個の画像データと、前記部数関係情報と、前記認証情報と、を前記所定領域に記憶させ、
前記第1の印刷制御部は、前記N1個の画像データと前記部数関係情報と前記認証情報とが前記所定領域に記憶された後に、記憶済みの前記認証情報に一致する情報を入力するための動作が前記ユーザによって実行される場合に、前記N1個の画像データと前記部数関係情報とを利用して、前記(N1×M1)個の画像の印刷を前記印刷実行部に実行させる、項目1から8のいずれか一項に記載の制御装置。
(項目10)
印刷実行部に印刷を実行させるための制御装置のためのコンピュータプログラムであって、
前記コンピュータプログラムは、前記制御装置のコンピュータを、
端末装置において、互いに異なるN1個(前記N1は2以上の整数)の画像がユーザによって指定される場合に、前記端末装置から、少なくとも前記N1個の画像を表わす少なくともN1個の画像データを含む第1の印刷要求を取得する第1の印刷要求取得部と、
前記端末装置において、前記N1個の画像と、M1部(前記M1は2以上の整数)を示す印刷部数と、が前記ユーザによって指定されることに起因して、前記第1の印刷要求が、(N1×M1)個の画像を表わす(N1×M1)個の画像データを含む第1の場合に、前記(N1×M1)個の画像データにおいて、各画像データが他の画像データと一致するのか否かを判断する第1の一致判断処理を実行する第1の一致判断部と、
前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記(N1×M1)個の画像データの中から前記N1個の画像データを特定する第1の特定部と、
前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記N1個の画像の印刷部数に関係する部数関係情報を生成する関係情報生成部と、
前記第1の場合に、前記(N1×M1)個の画像データのうちの特定済みの前記N1個の画像データと、前記部数関係情報と、を前記制御装置のメモリ内の所定領域に記憶させる第1の記憶制御部であって、前記(N1×M1)個の画像データのうち、特定済みの前記N1個の画像データ以外の(N1×(M1−1))個の画像データは、前記所定領域に記憶されない、前記第1の記憶制御部と、
前記N1個の画像データと前記部数関係情報とが前記所定領域に記憶された後に、前記N1個の画像データと前記部数関係情報とを利用して、前記(N1×M1)個の画像の印刷を前記印刷実行部に実行させる第1の印刷制御部と、
として機能させる、コンピュータプログラム

In addition, the technical elements described in the present specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the techniques illustrated in the present specification or drawings achieve a plurality of objectives at the same time, and achieving one of the objectives itself has technical usefulness.
The features disclosed herein are listed below.
(Item 1)
It is a control device for causing the print execution unit to execute printing.
Memory and
In the terminal device, when N1 images (the N1 is an integer of 2 or more) different from each other are specified by the user, the terminal device includes at least N1 image data representing at least the N1 images. A first print request acquisition unit that acquires one print request, and
In the terminal device, the first print request is made because the N1 image and the number of print copies indicating M1 copy (the M1 is an integer of 2 or more) are specified by the user. In the first case including (N1 × M1) image data representing (N1 × M1) images, each image data matches the other image data in the (N1 × M1) image data. The first match determination unit that executes the first match determination process that determines whether or not the image is
In the first case, the first specific unit that specifies the N1 image data from the (N1 × M1) image data by using the result of the first match determination process.
In the first case, the relational information generation unit that generates the number of copies relational information related to the number of printed copies of the N1 image by using the result of the first match determination processing.
In the first case, the specified N1 image data out of the (N1 × M1) image data and the number-of-copy relationship information are stored in a predetermined area in the memory. Of the (N1 × M1) image data in the storage control unit, (N1 × (M1-1)) image data other than the specified N1 image data are stored in the predetermined area. The first storage control unit, which is not stored,
After the N1 image data and the number of copies related information are stored in the predetermined area, the (N1 × M1) images are printed by using the N1 image data and the number of copies related information. A first print control unit that causes the print execution unit to execute
A control device comprising.
(Item 2)
In the first match determination unit, the k-th image data acquired at the k-th (k is an integer of 2 or more (N1 × M1) or less) among the (N1 × M1) image data is obtained. The first match determination process for determining whether or not any of the (k-1) image data acquired from the first to the (k-1) th is matched is executed.
The first specific part is
In the first match determination process, when it is determined that the k-th image data does not match any of the (k-1) image data, the k-th image data is referred to as the N1 image data. Identify as image data included in image data,
In the first match determination process, when it is determined that the k-th image data matches any of the (k-1) image data, the k-th image data is referred to as the N1 image. The control device according to item 1, which is not specified as image data included in the data.
(Item 3)
The first match determination unit is
For each of the (N1 × M1) image data, a summary value is calculated by summarizing the image data.
In the (N1 × M1) image data, the first match determination process for determining whether or not each summary value calculated for each image data matches the summary value calculated for other image data is performed. The control device according to item 1 or 2, which is executed.
(Item 4)
The control device further
Whether the first print request includes the (N1 × M1) image data or the (N1 × M1) image data by using the specific information included in the first print request. It is provided with a request determination unit for determining whether or not the N1 image data is included.
The first case is a case where it is determined that the first print request includes the (N1 × M1) image data.
The control device further
In the second case where it is determined that the first print request does not include the (N1 × M1) image data but includes the N1 image data, the N1 included in the first print request. A second storage control unit that stores the image data and the print copy number information including the first print request, which indicates the M1 copy, in the predetermined area in the memory. When,
After the N1 image data and the print copy number information are stored in the predetermined area, the N1 image data and the print copy number information are used to print the (N1 × M1) images. A second print control unit that causes the print execution unit to execute
The control device according to any one of items 1 to 3, wherein the control device comprises.
(Item 5)
The specific information is information on the number of copies to be printed included in the first print request.
The request judgment unit
When the first print request includes the print number information indicating one copy, it is determined that the first print request includes the (N1 × M1) image data.
When the first print request includes the print number information indicating the M1 copy, the first print request does not include the (N1 × M1) image data but includes the N1 image data. Item 4. The control device according to item 4.
(Item 6)
In the first case, the relationship information generation unit uses the result of the first match determination process to generate the number of copies relationship information indicating the M1 copy, which is the number of copies of the N1 image to be printed. , The control device according to any one of items 1 to 5.
(Item 7)
The control device further
In the terminal device, when the image of N2 (the N2 is an integer of 3 or more) and the number of print copies indicating the M2 part (the M2 is an integer of 2 or more) are specified by the user, the terminal device. A second print request acquisition unit for acquiring a second print request including (N2 × M2) image data representing (N2 × M2) images, wherein the N2 images are 2 The second print request acquisition unit containing two or more of the same images,
In the third case where the second print request is acquired from the terminal device, it is determined whether or not each image data matches the other image data in the (N2 × M2) image data. The second match judgment unit that executes the match judgment process of 2 and
In the third case, using the result of the second match determination process, among the (N2 × M2) image data, L (the L is an integer less than the N2) different from each other. The second specific part that specifies the image data and
In the third case, the (N2 × M2) correspondence information corresponding to the (N2 × M2) image data and the order in which the (N2 × M2) image data are acquired are An order information generator that generates the associated order information,
In the third case, a copy number information generation unit that generates print copy number information indicating the M2 part by using the order information, and a copy number information generation unit.
In the third case, at least the specified L image data out of the (N2 × M2) image data and the print copy number information are stored in the predetermined area in the memory. 3 memory control units and
After at least the L image data and the print number information are stored in the predetermined area, the (N2 × M2) images are used by using at least the L image data and the print number information. A third print control unit that causes the print execution unit to print
The control device according to any one of items 1 to 6, wherein the control device comprises.
(Item 8)
The number of copies information generation unit
Using the order information, the first number of copies to be printed for executing the collate printing of the N2 images is calculated.
Using the order information, the second number of copies to be printed for executing the uncollate printing of the N2 images is calculated.
When the first number of printed copies indicates a plurality of copies and the second number of printed copies indicates one copy, the number of printed copies information indicating the M2 copy, which is the first number of printed copies, is determined.
When the second number of printed copies indicates a plurality of copies and the first number of printed copies indicates one copy, the number of printed copies information indicating the M2 copy, which is the number of the second printed copies, is determined.
When the first number of printed copies indicates a plurality of copies and the second number of printed copies indicates one copy.
The third storage control unit stores at least the L image data, the number of copies of print information, and the collate information indicating colate printing in the predetermined area.
The third print control unit causes the print execution unit to perform collate printing of the M2 portion of the N2 images by using at least the L image data and the print number of copies information.
When the second number of printed copies indicates a plurality of copies and the first number of printed copies indicates one copy.
The third storage control unit stores at least the L image data, the number of copies of print information, and the uncollate information indicating uncolate printing in the predetermined area.
The third print control unit makes the print execution unit execute the uncollate printing of the M2 portion of the N2 images by using at least the L image data and the print number of copies information. 7. The control device according to 7.
(Item 9)
The control device further
It is provided with an authentication information acquisition unit that acquires authentication information to be used for authentication from the terminal device.
In the first case, the first storage control unit stores the N1 image data, the number of copies-related information, and the authentication information in the predetermined area.
The first print control unit is for inputting information that matches the stored authentication information after the N1 image data, the number of copies-related information, and the authentication information are stored in the predetermined area. Item 1 in which when the operation is executed by the user, the print execution unit is made to print the (N1 × M1) images by using the N1 image data and the number-of-copy relationship information. The control device according to any one of 8 to 8.
(Item 10)
A computer program for a control device that causes the print execution unit to execute printing.
The computer program is a computer of the control device.
In the terminal device, when N1 images (the N1 is an integer of 2 or more) different from each other are specified by the user, the terminal device includes at least N1 image data representing at least the N1 images. A first print request acquisition unit that acquires one print request, and
In the terminal device, the first print request is made because the N1 image and the number of print copies indicating M1 copy (the M1 is an integer of 2 or more) are specified by the user. In the first case including (N1 × M1) image data representing (N1 × M1) images, each image data matches the other image data in the (N1 × M1) image data. The first match determination unit that executes the first match determination process that determines whether or not the image is
In the first case, the first specific unit that identifies the N1 image data from the (N1 × M1) image data by using the result of the first match determination process.
In the first case, the relational information generation unit that generates the number of copies relational information related to the number of printed copies of the N1 image by using the result of the first match determination processing.
In the first case, the specified N1 image data out of the (N1 × M1) image data and the number-of-copy relationship information are stored in a predetermined area in the memory of the control device. In the first storage control unit, among the (N1 × M1) image data, the (N1 × (M1-1)) image data other than the specified N1 image data is described as described above. The first storage control unit, which is not stored in a predetermined area,
After the N1 image data and the number of copies related information are stored in the predetermined area, the (N1 × M1) images are printed by using the N1 image data and the number of copies related information. A first print control unit that causes the print execution unit to execute
A computer program that acts as .

2:通信システム、4:LAN、10:プリンタ、100、200:端末装置、12:印刷実行部、14:入力部、16:ネットワークI/F、20:制御部、22:CPU、24:メモリ、26:プログラム、28:ユーザテーブル、30:一時領域、32:蓄積領域 2: Communication system, 4: LAN, 10: Printer, 100, 200: Terminal device, 12: Print execution unit, 14: Input unit, 16: Network I / F, 20: Control unit, 22: CPU, 24: Memory , 26: Program, 28: User table, 30: Temporary area, 32: Storage area

Claims (8)

印刷実行部に印刷を実行させるための制御装置であって、
メモリと、
端末装置において、互いに異なるN1個(前記N1は2以上の整数)の画像がユーザによって指定される場合に、前記端末装置から、少なくとも前記N1個の画像を表わす少なくともN1個の画像データを含む第1の印刷要求を取得する第1の印刷要求取得部と、
前記端末装置において、前記N1個の画像と、M1部(前記M1は2以上の整数)を示す印刷部数と、が前記ユーザによって指定されることに起因して、前記第1の印刷要求が、(N1×M1)個の画像を表わす(N1×M1)個の画像データを含む第1の場合に、前記(N1×M1)個の画像データにおいて、各画像データが他の画像データと一致するのか否かを判断する第1の一致判断処理を実行する第1の一致判断部と、
前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記(N1×M1)個の画像データの中から前記N1個の画像データを特定する第1の特定部と、
前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記N1個の画像の印刷部数に関係する部数関係情報を生成する関係情報生成部と、
前記第1の場合に、前記(N1×M1)個の画像データのうちの特定済みの前記N1個の画像データと、前記部数関係情報と、を前記メモリ内の所定領域に記憶させる第1の記憶制御部であって、前記(N1×M1)個の画像データのうち、特定済みの前記N1個の画像データ以外の(N1×(M1−1))個の画像データは、前記所定領域に記憶されない、前記第1の記憶制御部と、
前記N1個の画像データと前記部数関係情報とが前記所定領域に記憶された後に、前記N1個の画像データと前記部数関係情報とを利用して、前記(N1×M1)個の画像の印刷を前記印刷実行部に実行させる第1の印刷制御部と、
前記端末装置において、N2個(前記N2は3以上の整数)の画像と、M2部(前記M2は2以上の整数)を示す印刷部数と、が前記ユーザによって指定される場合に、前記端末装置から、(N2×M2)個の画像を表わす(N2×M2)個の画像データを含む第2の印刷要求を取得する第2の印刷要求取得部であって、前記N2個の画像は、2個以上の同じ画像を含む、前記第2の印刷要求取得部と、
前記端末装置から前記第2の印刷要求が取得される第3の場合に、前記(N2×M2)個の画像データにおいて、各画像データが他の画像データと一致するのか否かを判断する第2の一致判断処理を実行する第2の一致判断部と、
前記第3の場合に、前記第2の一致判断処理の結果を利用して、前記(N2×M2)個の画像データの中から、互いに異なるL(前記Lは前記N2未満の整数)個の画像データを特定する第2の特定部と、
前記第3の場合に、前記(N2×M2)個の画像データに対応する前記(N2×M2)個の対応情報と、前記(N2×M2)個の画像データが取得された順序と、が関連付けられている順序情報を生成する順序情報生成部と、
前記第3の場合に、前記順序情報を利用して、前記M2部を示す印刷部数情報を生成する部数情報生成部であって、
前記順序情報を利用して、前記N2個の画像のコレート印刷を実行するための第1の印刷部数を算出し、
前記順序情報を利用して、前記N2個の画像のアンコレート印刷を実行するための第2の印刷部数を算出し、
前記第1の印刷部数が複数部を示し、かつ、前記第2の印刷部数が1部を示す場合に、前記第1の印刷部数である前記M2部を示す前記印刷部数情報を決定し、
前記第2の印刷部数が複数部を示し、かつ、前記第1の印刷部数が1部を示す場合に、前記第2の印刷部数である前記M2部を示す前記印刷部数情報を決定する、前記部数情報生成部と、
前記第3の場合に、前記(N2×M2)個の画像データのうちの少なくとも特定済みの前記L個の画像データと、前記印刷部数情報と、を前記メモリ内の前記所定領域に記憶させる第3の記憶制御部であって、
前記第1の印刷部数が複数部を示し、かつ、前記第2の印刷部数が1部を示す場合に、少なくとも前記L個の画像データと、前記印刷部数情報と、コレート印刷を示すコレート情報と、を前記所定領域に記憶させ
前記第2の印刷部数が複数部を示し、かつ、前記第1の印刷部数が1部を示す場合に、少なくとも前記L個の画像データと、前記印刷部数情報と、アンコレート印刷を示すアンコレート情報と、を前記所定領域に記憶させる、前記第3の記憶制御部と、
少なくとも前記L個の画像データと前記印刷部数情報とが前記所定領域に記憶された後に、少なくとも前記L個の画像データと前記印刷部数情報とを利用して、前記(N2×M2)個の画像の印刷を前記印刷実行部に実行させる第3の印刷制御部であって、
前記第1の印刷部数が複数部を示し、かつ、前記第2の印刷部数が1部を示す場合に、少なくとも前記L個の画像データと前記印刷部数情報とを利用して、前記N2個の画像の前記M2部のコレート印刷を前記印刷実行部に実行させ、
前記第2の印刷部数が複数部を示し、かつ、前記第1の印刷部数が1部を示す場合に、少なくとも前記L個の画像データと前記印刷部数情報とを利用して、前記N2個の画像の前記M2部のアンコレート印刷を前記印刷実行部に実行させる、前記第3の印刷制御部と、
を備える制御装置。
It is a control device for causing the print execution unit to execute printing.
Memory and
In the terminal device, when N1 images (the N1 is an integer of 2 or more) different from each other are specified by the user, the terminal device includes at least N1 image data representing at least the N1 images. A first print request acquisition unit that acquires one print request, and
In the terminal device, the first print request is made because the N1 image and the number of print copies indicating M1 copy (the M1 is an integer of 2 or more) are specified by the user. In the first case including (N1 × M1) image data representing (N1 × M1) images, each image data matches the other image data in the (N1 × M1) image data. The first match determination unit that executes the first match determination process that determines whether or not the image is
In the first case, the first specific unit that specifies the N1 image data from the (N1 × M1) image data by using the result of the first match determination process.
In the first case, the relational information generation unit that generates the number of copies relational information related to the number of printed copies of the N1 image by using the result of the first match determination processing.
In the first case, the specified N1 image data out of the (N1 × M1) image data and the number-of-copy relationship information are stored in a predetermined area in the memory. Of the (N1 × M1) image data in the storage control unit, (N1 × (M1-1)) image data other than the specified N1 image data are stored in the predetermined area. The first storage control unit, which is not stored,
After the N1 image data and the number of copies related information are stored in the predetermined area, the (N1 × M1) images are printed by using the N1 image data and the number of copies related information. A first print control unit that causes the print execution unit to execute
In the terminal device, when the image of N2 (the N2 is an integer of 3 or more) and the number of print copies indicating the M2 part (the M2 is an integer of 2 or more) are specified by the user, the terminal device. A second print request acquisition unit for acquiring a second print request including (N2 × M2) image data representing (N2 × M2) images, wherein the N2 images are 2 The second print request acquisition unit containing two or more of the same images,
In the third case where the second print request is acquired from the terminal device, it is determined whether or not each image data matches the other image data in the (N2 × M2) image data. The second match judgment unit that executes the match judgment process of 2 and
In the third case, using the result of the second match determination process, among the (N2 × M2) image data, L (the L is an integer less than the N2) different from each other. The second specific part that specifies the image data and
In the third case, the (N2 × M2) correspondence information corresponding to the (N2 × M2) image data and the order in which the (N2 × M2) image data are acquired are An order information generator that generates the associated order information,
In the third case, it is a copy number information generation unit that generates print copy number information indicating the M2 part by using the order information.
Using the order information, the first number of copies to be printed for executing the collate printing of the N2 images is calculated.
Using the order information, the second number of copies to be printed for executing the uncollate printing of the N2 images is calculated.
When the first number of printed copies indicates a plurality of copies and the second number of printed copies indicates one copy, the number of printed copies information indicating the M2 copy, which is the first number of printed copies, is determined.
When the second number of printed copies indicates a plurality of copies and the first number of printed copies indicates one copy, the number of printed copies information indicating the M2 copy, which is the second number of printed copies, is determined. The number of copies information generation unit and
In the third case, at least the specified L image data out of the (N2 × M2) image data and the print copy number information are stored in the predetermined area in the memory. 3 memory control units
When the first number of copies of printing indicates a plurality of copies and the second number of copies of printing indicates one copy, at least the L image data, the number of copies of printing information, and the collate information indicating collate printing , Are stored in the predetermined area.
When the second number of copies indicates a plurality of copies and the first number of copies indicates one copy, at least the L image data, the number of copies information, and the uncorlate indicating uncoordinated printing. The third storage control unit, which stores information and information in the predetermined area,
After at least the L image data and the print number information are stored in the predetermined area, the (N2 × M2) images are used by using at least the L image data and the print number information. This is a third print control unit that causes the print execution unit to perform printing.
When the first number of copies indicates a plurality of copies and the second number of copies indicates one copy, at least the L image data and the print number information are used to obtain the N2 copies. The print execution unit is made to perform collate printing of the M2 portion of the image.
When the second number of copies indicates a plurality of copies and the first number of copies indicates one copy, at least the L image data and the print number information are used to obtain the N2 copies. The third print control unit, which causes the print execution unit to execute uncollate printing of the M2 portion of the image, and the third print control unit.
A control device comprising.
前記第1の一致判断部は、前記(N1×M1)個の画像データのうち、k番目(kは2以上(N1×M1)以下の各整数)に取得されるk番目の画像データが、1番目から(k−1)番目に取得される(k−1)個の画像データのいずれかに一致するのか否かを判断する前記第1の一致判断処理を実行し、
前記第1の特定部は、
前記第1の一致判断処理において、前記k番目の画像データが前記(k−1)個の画像データのいずれにも一致しないと判断される場合に、前記k番目の画像データを前記N1個の画像データに含まれる画像データとして特定し、
前記第1の一致判断処理において、前記k番目の画像データが前記(k−1)個の画像データのいずれかに一致すると判断される場合に、前記k番目の画像データを前記N1個の画像データに含まれる画像データとして特定しない、請求項1に記載の制御装置。
In the first match determination unit, the k-th image data acquired at the k-th (k is an integer of 2 or more (N1 × M1) or less) among the (N1 × M1) image data is obtained. The first match determination process for determining whether or not any of the (k-1) image data acquired from the first to the (k-1) th is matched is executed.
The first specific part is
In the first match determination process, when it is determined that the k-th image data does not match any of the (k-1) image data, the k-th image data is referred to as the N1 image data. Identify as image data included in image data,
In the first match determination process, when it is determined that the k-th image data matches any of the (k-1) image data, the k-th image data is referred to as the N1 image. The control device according to claim 1, which is not specified as image data included in the data.
前記第1の一致判断部は、
前記(N×M)個の画像データのそれぞれについて、当該画像データを要約化することによって要約値を算出し、
前記(N1×M1)個の画像データにおいて、各画像データについて算出される各要約値が他の画像データについて算出される要約値と一致するのか否かを判断する前記第1の一致判断処理を実行する、請求項1又は2に記載の制御装置。
The first match determination unit is
For each of the (N 1 × M 1 ) image data, a summary value is calculated by summarizing the image data.
In the (N1 × M1) image data, the first match determination process for determining whether or not each summary value calculated for each image data matches the summary value calculated for other image data is performed. The control device according to claim 1 or 2, which is executed.
前記制御装置は、さらに、
前記第1の印刷要求に含まれる特定情報を利用して、前記第1の印刷要求が、前記(N1×M1)個の画像データを含むのか、前記(N1×M1)個の画像データを含まずに前記N1個の画像データを含むのか否かを判断する要求判断部を備え、
前記第1の場合は、前記第1の印刷要求が前記(N1×M1)個の画像データを含むと判断される場合であり、
前記制御装置は、さらに、
前記第1の印刷要求が前記(N1×M1)個の画像データを含まずに前記N1個の画像データを含むと判断される第2の場合に、前記第1の印刷要求に含まれる前記N1個の画像データと、前記第1の印刷要求に含まれる印刷部数情報であって、前記M1部を示す前記印刷部数情報と、を前記メモリ内の前記所定領域に記憶させる第2の記憶制御部と、
前記N1個の画像データと前記印刷部数情報とが前記所定領域に記憶された後に、前記N1個の画像データと前記印刷部数情報とを利用して、前記(N1×M1)個の画像の印刷を前記印刷実行部に実行させる第2の印刷制御部と、
を備える、請求項1から3のいずれか一項に記載の制御装置。
The control device further
Whether the first print request includes the (N1 × M1) image data or the (N1 × M1) image data by using the specific information included in the first print request. It is provided with a request determination unit for determining whether or not the N1 image data is included.
The first case is a case where it is determined that the first print request includes the (N1 × M1) image data.
The control device further
In the second case where it is determined that the first print request does not include the (N1 × M1) image data but includes the N1 image data, the N1 included in the first print request. A second storage control unit that stores the image data and the print copy number information including the first print request, which indicates the M1 copy, in the predetermined area in the memory. When,
After the N1 image data and the print copy number information are stored in the predetermined area, the N1 image data and the print copy number information are used to print the (N1 × M1) images. A second print control unit that causes the print execution unit to execute
The control device according to any one of claims 1 to 3, further comprising.
前記特定情報は、前記第1の印刷要求に含まれる印刷部数情報であり、
前記要求判断部は、
前記第1の印刷要求が1部を示す前記印刷部数情報を含む場合に、前記第1の印刷要求が前記(N1×M1)個の画像データを含むと判断し、
前記第1の印刷要求が前記M1部を示す前記印刷部数情報を含む場合に、前記第1の印刷要求が前記(N1×M1)個の画像データを含まずに前記N1個の画像データを含むと判断する、請求項4に記載の制御装置。
The specific information is information on the number of copies to be printed included in the first print request.
The request judgment unit
When the first print request includes the print number information indicating one copy, it is determined that the first print request includes the (N1 × M1) image data.
When the first print request includes the print number information indicating the M1 copy, the first print request does not include the (N1 × M1) image data but includes the N1 image data. The control device according to claim 4, wherein the control device is determined to be.
前記関係情報生成部は、前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記N1個の画像の印刷部数である前記M1部を示す前記部数関係情報を生成する、請求項1から5のいずれか一項に記載の制御装置。 In the first case, the relationship information generation unit uses the result of the first match determination process to generate the number of copies relationship information indicating the M1 copy, which is the number of copies of the N1 image to be printed. , The control device according to any one of claims 1 to 5. 前記制御装置は、さらに、
前記端末装置から、認証で利用されるべき認証情報を取得する認証情報取得部を備え、
前記第1の記憶制御部は、前記第1の場合に、前記N1個の画像データと、前記部数関係情報と、前記認証情報と、を前記所定領域に記憶させ、
前記第1の印刷制御部は、前記N1個の画像データと前記部数関係情報と前記認証情報とが前記所定領域に記憶された後に、記憶済みの前記認証情報に一致する情報を入力するための動作が前記ユーザによって実行される場合に、前記N1個の画像データと前記部数関係情報とを利用して、前記(N1×M1)個の画像の印刷を前記印刷実行部に実行させる、請求項1からのいずれか一項に記載の制御装置。
The control device further
It is provided with an authentication information acquisition unit that acquires authentication information to be used for authentication from the terminal device.
In the first case, the first storage control unit stores the N1 image data, the number of copies-related information, and the authentication information in the predetermined area.
The first print control unit is for inputting information that matches the stored authentication information after the N1 image data, the number of copies-related information, and the authentication information are stored in the predetermined area. A claim that causes the print execution unit to print the (N1 × M1) images by using the N1 image data and the number of copies relationship information when the operation is executed by the user. The control device according to any one of 1 to 6.
印刷実行部に印刷を実行させるための制御装置のためのコンピュータプログラムであって、
前記コンピュータプログラムは、前記制御装置のコンピュータを、
端末装置において、互いに異なるN1個(前記N1は2以上の整数)の画像がユーザによって指定される場合に、前記端末装置から、少なくとも前記N1個の画像を表わす少なくともN1個の画像データを含む第1の印刷要求を取得する第1の印刷要求取得部と、
前記端末装置において、前記N1個の画像と、M1部(前記M1は2以上の整数)を示す印刷部数と、が前記ユーザによって指定されることに起因して、前記第1の印刷要求が、(N1×M1)個の画像を表わす(N1×M1)個の画像データを含む第1の場合に、前記(N1×M1)個の画像データにおいて、各画像データが他の画像データと一致するのか否かを判断する第1の一致判断処理を実行する第1の一致判断部と、
前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記(N1×M1)個の画像データの中から前記N1個の画像データを特定する第1の特定部と、
前記第1の場合に、前記第1の一致判断処理の結果を利用して、前記N1個の画像の印刷部数に関係する部数関係情報を生成する関係情報生成部と、
前記第1の場合に、前記(N1×M1)個の画像データのうちの特定済みの前記N1個の画像データと、前記部数関係情報と、を前記制御装置のメモリ内の所定領域に記憶させる第1の記憶制御部であって、前記(N1×M1)個の画像データのうち、特定済みの前記N1個の画像データ以外の(N1×(M1−1))個の画像データは、前記所定領域に記憶されない、前記第1の記憶制御部と、
前記N1個の画像データと前記部数関係情報とが前記所定領域に記憶された後に、前記N1個の画像データと前記部数関係情報とを利用して、前記(N1×M1)個の画像の印刷を前記印刷実行部に実行させる第1の印刷制御部と、
前記端末装置において、N2個(前記N2は3以上の整数)の画像と、M2部(前記M2は2以上の整数)を示す印刷部数と、が前記ユーザによって指定される場合に、前記端末装置から、(N2×M2)個の画像を表わす(N2×M2)個の画像データを含む第2の印刷要求を取得する第2の印刷要求取得部であって、前記N2個の画像は、2個以上の同じ画像を含む、前記第2の印刷要求取得部と、
前記端末装置から前記第2の印刷要求が取得される第3の場合に、前記(N2×M2)個の画像データにおいて、各画像データが他の画像データと一致するのか否かを判断する第2の一致判断処理を実行する第2の一致判断部と、
前記第3の場合に、前記第2の一致判断処理の結果を利用して、前記(N2×M2)個の画像データの中から、互いに異なるL(前記Lは前記N2未満の整数)個の画像データを特定する第2の特定部と、
前記第3の場合に、前記(N2×M2)個の画像データに対応する前記(N2×M2)個の対応情報と、前記(N2×M2)個の画像データが取得された順序と、が関連付けられている順序情報を生成する順序情報生成部と、
前記第3の場合に、前記順序情報を利用して、前記M2部を示す印刷部数情報を生成する部数情報生成部であって、
前記順序情報を利用して、前記N2個の画像のコレート印刷を実行するための第1の印刷部数を算出し、
前記順序情報を利用して、前記N2個の画像のアンコレート印刷を実行するための第2の印刷部数を算出し、
前記第1の印刷部数が複数部を示し、かつ、前記第2の印刷部数が1部を示す場合に、前記第1の印刷部数である前記M2部を示す前記印刷部数情報を決定し、
前記第2の印刷部数が複数部を示し、かつ、前記第1の印刷部数が1部を示す場合に、前記第2の印刷部数である前記M2部を示す前記印刷部数情報を決定する、前記部数情報生成部と、
前記第3の場合に、前記(N2×M2)個の画像データのうちの少なくとも特定済みの前記L個の画像データと、前記印刷部数情報と、を前記メモリ内の前記所定領域に記憶させる第3の記憶制御部であって、
前記第1の印刷部数が複数部を示し、かつ、前記第2の印刷部数が1部を示す場合に、少なくとも前記L個の画像データと、前記印刷部数情報と、コレート印刷を示すコレート情報と、を前記所定領域に記憶させ
前記第2の印刷部数が複数部を示し、かつ、前記第1の印刷部数が1部を示す場合に、少なくとも前記L個の画像データと、前記印刷部数情報と、アンコレート印刷を示すアンコレート情報と、を前記所定領域に記憶させる、前記第3の記憶制御部と、
少なくとも前記L個の画像データと前記印刷部数情報とが前記所定領域に記憶された後に、少なくとも前記L個の画像データと前記印刷部数情報とを利用して、前記(N2×M2)個の画像の印刷を前記印刷実行部に実行させる第3の印刷制御部であって、
前記第1の印刷部数が複数部を示し、かつ、前記第2の印刷部数が1部を示す場合に、少なくとも前記L個の画像データと前記印刷部数情報とを利用して、前記N2個の画像の前記M2部のコレート印刷を前記印刷実行部に実行させ、
前記第2の印刷部数が複数部を示し、かつ、前記第1の印刷部数が1部を示す場合に、少なくとも前記L個の画像データと前記印刷部数情報とを利用して、前記N2個の画像の前記M2部のアンコレート印刷を前記印刷実行部に実行させる、前記第3の印刷制御部と、
として機能させる、コンピュータプログラム。
A computer program for a control device that causes the print execution unit to execute printing.
The computer program is a computer of the control device.
In the terminal device, when N1 images (the N1 is an integer of 2 or more) different from each other are specified by the user, the terminal device includes at least N1 image data representing at least the N1 images. A first print request acquisition unit that acquires one print request, and
In the terminal device, the first print request is made because the N1 image and the number of print copies indicating M1 copy (the M1 is an integer of 2 or more) are specified by the user. In the first case including (N1 × M1) image data representing (N1 × M1) images, each image data matches the other image data in the (N1 × M1) image data. The first match determination unit that executes the first match determination process that determines whether or not the image is
In the first case, the first specific unit that specifies the N1 image data from the (N1 × M1) image data by using the result of the first match determination process.
In the first case, the relational information generation unit that generates the number of copies relational information related to the number of printed copies of the N1 image by using the result of the first match determination processing.
In the first case, the specified N1 image data out of the (N1 × M1) image data and the number-of-copy relationship information are stored in a predetermined area in the memory of the control device. Among the (N1 × M1) image data in the first storage control unit, the (N1 × (M1-1)) image data other than the specified N1 image data is described above. The first storage control unit, which is not stored in a predetermined area,
After the N1 image data and the number of copies related information are stored in the predetermined area, the (N1 × M1) images are printed by using the N1 image data and the number of copies related information. A first print control unit that causes the print execution unit to execute
In the terminal device, when the image of N2 (the N2 is an integer of 3 or more) and the number of print copies indicating the M2 part (the M2 is an integer of 2 or more) are specified by the user, the terminal device. A second print request acquisition unit for acquiring a second print request including (N2 × M2) image data representing (N2 × M2) images, wherein the N2 images are 2 The second print request acquisition unit containing two or more of the same images,
In the third case where the second print request is acquired from the terminal device, it is determined whether or not each image data matches the other image data in the (N2 × M2) image data. The second match judgment unit that executes the match judgment process of 2 and
In the third case, using the result of the second match determination process, among the (N2 × M2) image data, L (the L is an integer less than the N2) different from each other. The second specific part that specifies the image data and
In the third case, the (N2 × M2) correspondence information corresponding to the (N2 × M2) image data and the order in which the (N2 × M2) image data are acquired are An order information generator that generates the associated order information,
In the third case, it is a copy number information generation unit that generates print copy number information indicating the M2 part by using the order information.
Using the order information, the first number of copies to be printed for executing the collate printing of the N2 images is calculated.
Using the order information, the second number of copies to be printed for executing the uncollate printing of the N2 images is calculated.
When the first number of printed copies indicates a plurality of copies and the second number of printed copies indicates one copy, the number of printed copies information indicating the M2 copy, which is the first number of printed copies, is determined.
When the second number of printed copies indicates a plurality of copies and the first number of printed copies indicates one copy, the number of printed copies information indicating the M2 copy, which is the second number of printed copies, is determined. The number of copies information generation unit and
In the third case, at least the specified L image data out of the (N2 × M2) image data and the print copy number information are stored in the predetermined area in the memory. 3 memory control units
When the first number of copies of printing indicates a plurality of copies and the second number of copies of printing indicates one copy, at least the L image data, the number of copies of printing information, and the collate information indicating collate printing , Are stored in the predetermined area.
When the second number of copies indicates a plurality of copies and the first number of copies indicates one copy, at least the L image data, the number of copies information, and the uncorlate indicating uncoordinated printing. The third storage control unit, which stores information and information in the predetermined area,
After at least the L image data and the print number information are stored in the predetermined area, the (N2 × M2) images are used by using at least the L image data and the print number information. This is a third print control unit that causes the print execution unit to perform printing.
When the first number of copies indicates a plurality of copies and the second number of copies indicates one copy, at least the L image data and the print number information are used to obtain the N2 copies. The print execution unit is made to perform collate printing of the M2 portion of the image.
When the second number of copies indicates a plurality of copies and the first number of copies indicates one copy, at least the L image data and the print number information are used to obtain the N2 copies. The third print control unit, which causes the print execution unit to execute uncollate printing of the M2 portion of the image, and the third print control unit.
A computer program that acts as.
JP2017046586A 2017-03-10 2017-03-10 Control device Active JP6957906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017046586A JP6957906B2 (en) 2017-03-10 2017-03-10 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017046586A JP6957906B2 (en) 2017-03-10 2017-03-10 Control device

Publications (2)

Publication Number Publication Date
JP2018149723A JP2018149723A (en) 2018-09-27
JP6957906B2 true JP6957906B2 (en) 2021-11-02

Family

ID=63679912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017046586A Active JP6957906B2 (en) 2017-03-10 2017-03-10 Control device

Country Status (1)

Country Link
JP (1) JP6957906B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7341647B2 (en) * 2018-10-05 2023-09-11 キヤノン株式会社 Information processing device, control method and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7365870B2 (en) * 2001-08-17 2008-04-29 Sharp Laboratories Of America, Inc Methods and systems for page-independent spool file face-up emulation
JP2003131824A (en) * 2001-10-22 2003-05-09 Ricoh Co Ltd Image forming device
JP3991027B2 (en) * 2003-12-12 2007-10-17 キヤノン株式会社 Output device, output method and program thereof
JP2008049627A (en) * 2006-08-25 2008-03-06 Casio Electronics Co Ltd Printing apparatus
JP2008173878A (en) * 2007-01-19 2008-07-31 Konica Minolta Business Technologies Inc Image forming apparatus
JP2011061470A (en) * 2009-09-09 2011-03-24 Murata Machinery Ltd Image forming device
JP2016021137A (en) * 2014-07-14 2016-02-04 株式会社リコー Driving program, driving method of image forming apparatus, and information processing apparatus
JP6639198B2 (en) * 2015-05-20 2020-02-05 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program

Also Published As

Publication number Publication date
JP2018149723A (en) 2018-09-27

Similar Documents

Publication Publication Date Title
CN103631542B (en) Device for control data output and system
JP6885209B2 (en) server
US8891097B2 (en) Image processing apparatus, image processing system, and control method executing processing according to process definition file
US20030103232A1 (en) Generation and usage of workflows for processing data on a printing device
US9723173B2 (en) Information processing apparatus, program, output system, and output method having improved output-cost management flexibility
US20060112021A1 (en) Printing apparatus, control method thereof, and recording medium
JP2014002532A (en) Control device
US10110761B2 (en) Non-transitory computer-readable recording medium storing computer-readable instructions for a print mediation server, and printer system
JP6601106B2 (en) Printer
JP4918904B2 (en) Print data generation apparatus and computer program
JP6957906B2 (en) Control device
JP5958131B2 (en) Relay device, program, and communication method
US11694458B2 (en) Image processing apparatus that sets metadata of image data, method of controlling same, and storage medium
JP2016110633A (en) Information processing device, information processing method, program, and storage medium
US10649703B2 (en) Print control apparatus, control method of a print control apparatus, and recording medium
US12346619B2 (en) Information processing apparatus, control method of information processing apparatus, and printing system
JP6060573B2 (en) OUTPUT SYSTEM, OUTPUT CONTROL DEVICE, OUTPUT DEVICE, AND PROGRAM
US9167114B2 (en) Mediation server and image processing device
JP2013250628A (en) Server
US20230350616A1 (en) Information processing system, printing control method, and medium
JP6248563B2 (en) OUTPUT SYSTEM, TERMINAL DEVICE, PROGRAM, AND OUTPUT METHOD
JP7030471B2 (en) Image forming device, print setting method
US11233916B2 (en) Printer and non-transitory computer-readable recording medium storing computer readable instructions for printer
US20170064130A1 (en) Image reading apparatus, image forming apparatus, and non-transitory computer readable medium
JP4952689B2 (en) CONTROL DEVICE FOR PRINTING DEVICE, PRINTING DEVICE, CONTROL METHOD FOR PRINTING DEVICE, AND COMPUTER PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210402

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210920

R150 Certificate of patent or registration of utility model

Ref document number: 6957906

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150