JP2021026267A - Program and information processing device - Google Patents

Program and information processing device Download PDF

Info

Publication number
JP2021026267A
JP2021026267A JP2019140885A JP2019140885A JP2021026267A JP 2021026267 A JP2021026267 A JP 2021026267A JP 2019140885 A JP2019140885 A JP 2019140885A JP 2019140885 A JP2019140885 A JP 2019140885A JP 2021026267 A JP2021026267 A JP 2021026267A
Authority
JP
Japan
Prior art keywords
size
paper
image
print
program
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.)
Granted
Application number
JP2019140885A
Other languages
Japanese (ja)
Other versions
JP7354655B2 (en
Inventor
英治 荒川
Eiji Arakawa
英治 荒川
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 JP2019140885A priority Critical patent/JP7354655B2/en
Publication of JP2021026267A publication Critical patent/JP2021026267A/en
Application granted granted Critical
Publication of JP7354655B2 publication Critical patent/JP7354655B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a technology for reducing problems in performing printing by using a print management program having a possibility of automatically rotating an image.SOLUTION: A paper registration application 44 causes a CPU 11 of a PC 1 to acquire image data to be received by a print management program 43 and output a specific size in which a magnitude relation between the length and the width of a paper size is coincident with a magnitude relation between a vertical size and the size of a horizontal size of an image shown by the acquired image data as a paper size to be received by the print management program 43 when a paper type is a roll sheet. A print management program 43 receives print setting and the image data, and sometimes rotates the image by 90 degrees or 270 degrees in the case that the magnitude relation between the length and the width of the received paper size of the print setting is different from the magnitude relation between the vertical size and the horizontal size of an image shown by the received image data.SELECTED DRAWING: Figure 2

Description

本明細書に開示される技術分野は、用紙サイズを出力するプログラムおよび情報処理装置に関するものである。 The technical fields disclosed herein relate to programs and information processing devices that output paper sizes.

パーソナルコンピュータ等の情報処理装置に印刷管理プログラムが組み込まれた印刷システムにおいて、アプリケーションプログラムが印刷指示を受け付けた際、印刷管理プログラムがそのアプリケーションプログラムから画像データを受け取り、その画像データに基づく印刷データをプリンタに出力する技術が知られている。例えば、特許文献1には、印刷管理プログラムとしてCUPS(Common Unix Printing System)(登録商標)を用いた技術が開示されている。 In a printing system in which a print management program is incorporated in an information processing device such as a personal computer, when an application program receives a print instruction, the print management program receives image data from the application program and prints print data based on the image data. The technology to output to a printer is known. For example, Patent Document 1 discloses a technique using CUPS (Common Unix Printing System) (registered trademark) as a print management program.

特開2019−53398号公報JP-A-2019-53398

印刷管理プログラムによっては、画像データによって示される画像のサイズと、印刷設定に含まれる用紙サイズとに基づいて、自動的に画像を回転させる場合がある。例えば縦長になる用紙サイズが設定され、画像が横長であった場合、印刷管理プログラムが画像を90度回転させ、用紙サイズと画像とで縦横の大小関係を揃える場合がある。このように横長の画像が縦長に回転されてしまうと、ロール紙に印刷する場合に不都合が起きる可能性がある。例えば、フィード量が多くなり、シートの消費量が多くなる可能性がある。また例えば、ユーザが所望していない向きで印刷されてしまう可能性がある。 Depending on the print management program, the image may be automatically rotated based on the size of the image indicated by the image data and the paper size included in the print settings. For example, when the paper size to be vertically long is set and the image is horizontally long, the print management program may rotate the image by 90 degrees and align the vertical and horizontal magnitude relations between the paper size and the image. If the horizontally long image is rotated vertically in this way, inconvenience may occur when printing on roll paper. For example, the amount of feed may increase and the amount of sheet consumed may increase. Also, for example, it may be printed in an orientation that the user does not want.

本明細書は、自動的に画像を回転させる可能性がある印刷管理プログラムを用いて印刷を行う際の不具合を低減する技術を開示する。 The present specification discloses a technique for reducing defects in printing using a print management program that may automatically rotate an image.

この課題の解決を目的としてなされたプログラムは、情報処理装置のコンピュータが実行可能なプログラムであって、前記コンピュータに、用紙種の設定に従って前記情報処理装置に組み込まれた印刷管理プログラムに受け取らせる用紙サイズを出力する出力処理を実行させ、前記印刷管理プログラムは、印刷設定と画像データとを受け取り、受け取った前記画像データによって示される画像に基づく印刷データをプリンタに出力し、さらに前記印刷管理プログラムは、受け取った前記印刷設定に含まれる用紙サイズの長さ方向のサイズと幅方向のサイズとの大小関係が、受け取った前記画像データに示される前記画像の前記用紙サイズの長さ方向に対応する第1方向のサイズと前記用紙サイズの幅方向に対応する第2方向のサイズとの大小関係と異なる場合に、前記画像を90度あるいは270度回転させる場合があり、さらに前記コンピュータに、前記出力処理において、前記印刷管理プログラムに受け取らせる前記画像データを取得する取得処理を実行させ、前記用紙種の設定がロール紙を示す設定であった場合に、前記印刷管理プログラムに受け取らせる前記用紙サイズとして、前記用紙サイズの長さ方向のサイズと幅方向のサイズとの大小関係と、前記取得処理にて取得された前記画像データによって示される画像の前記第1方向のサイズと前記第2方向のサイズとの大小関係と、が一致する特定サイズを出力させる、ことを特徴としている。 The program made for the purpose of solving this problem is a program that can be executed by the computer of the information processing device, and is a paper that the computer receives by the print management program incorporated in the information processing device according to the setting of the paper type. An output process for outputting the size is executed, the print management program receives print settings and image data, outputs print data based on the image indicated by the received image data to the printer, and the print management program further outputs the print data. The magnitude relationship between the size in the length direction and the size in the width direction of the paper size included in the received print setting corresponds to the length direction of the paper size of the image shown in the received image data. When the magnitude relationship between the size in one direction and the size in the second direction corresponding to the width direction of the paper size is different, the image may be rotated by 90 degrees or 270 degrees, and further, the output processing is performed by the computer. In the above, when the acquisition process for acquiring the image data to be received by the print management program is executed and the paper type is set to indicate roll paper, the paper size to be received by the print management program is set as The magnitude relationship between the size in the length direction and the size in the width direction of the paper size, the size in the first direction and the size in the second direction of the image indicated by the image data acquired in the acquisition process. It is characterized by outputting a specific size that matches the magnitude relationship of.

本明細書に開示されるプログラムを実行することで、情報処理装置は、印刷管理プログラムに受け取らせる画像データを取得し、用紙種がロール紙である場合、長さ方向のサイズと幅方向のサイズとの大小関係が画像データの縦サイズと横サイズとの大小関係と一致する用紙サイズである特定サイズを出力する。例えば、横長の画像データが取得された場合には、情報処理装置は、特定サイズとして横長の用紙サイズを出力する。これにより、印刷管理プログラムが、用紙サイズの長さ方向のサイズと幅方向のサイズとの大小関係に合わせて、画像データを自動的に回転させるものであっても、用紙サイズとして特定サイズを用いることで画像の自動回転が回避され、ロール紙に印刷する場合の不具合の低減が期待できる。 By executing the program disclosed in the present specification, the information processing apparatus acquires image data to be received by the print management program, and when the paper type is roll paper, the size in the length direction and the size in the width direction. Outputs a specific size that is the paper size whose magnitude relationship with and matches the magnitude relationship between the vertical size and the horizontal size of the image data. For example, when the horizontally long image data is acquired, the information processing apparatus outputs the horizontally long paper size as a specific size. As a result, even if the print management program automatically rotates the image data according to the magnitude relationship between the size in the length direction and the size in the width direction of the paper size, a specific size is used as the paper size. As a result, automatic rotation of the image is avoided, and it can be expected to reduce defects when printing on roll paper.

上記プログラムの機能を実現する情報処理装置、プログラムの機能を実現するための制御方法、プログラムを格納するコンピュータにて読取可能な記憶媒体も、新規で有用である。 An information processing device that realizes the function of the program, a control method for realizing the function of the program, and a storage medium that can be read by a computer that stores the program are also new and useful.

本明細書に開示される技術によれば、自動的に画像を回転させる可能性がある印刷管理プログラムを用いて印刷を行う際の不具合を低減する技術が実現される。 According to the technique disclosed in the present specification, a technique for reducing defects in printing using a print management program that may automatically rotate an image is realized.

実施の形態にかかる印刷システムの概略構成図である。It is a schematic block diagram of the printing system which concerns on embodiment. 用紙登録処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a paper registration process. 用紙登録画面の例を示す説明図である。It is explanatory drawing which shows the example of the form registration screen. 印刷手順の例を示す説明図である。It is explanatory drawing which shows the example of the printing procedure. 画像を回転する例を示す説明図である。It is explanatory drawing which shows the example of rotating an image. 画像を回転しない例を示す説明図である。It is explanatory drawing which shows the example which does not rotate an image. 印刷手順の例を示すシーケンス図である。It is a sequence diagram which shows an example of a printing procedure. サイズ決定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the size determination process.

以下、パーソナルコンピュータ(以下、「PC」とする)を具体化した第1の実施の形態について、添付図面を参照しつつ詳細に説明する。本形態は、連続した帯状の印刷媒体、いわゆるロール紙に印刷するプリンタに接続されるPCを開示するものである。 Hereinafter, a first embodiment embodying a personal computer (hereinafter referred to as “PC”) will be described in detail with reference to the accompanying drawings. The present embodiment discloses a PC connected to a printer that prints on continuous strip-shaped printing media, so-called roll paper.

本形態の印刷システムは、図1に示すように、互いに通信可能に接続されたPC1とプリンタ2とを含む。PC1は、プリンタ2に印刷させるための各種のアプリケーションプログラム(以下、「アプリ」とする)を実行可能な装置である。PC1は、情報処理装置の一例である。PC1に代えて、例えば、スマートフォン、タブレットコンピュータであっても良い。 As shown in FIG. 1, the printing system of this embodiment includes a PC 1 and a printer 2 that are communicatively connected to each other. The PC 1 is a device capable of executing various application programs (hereinafter referred to as "applications") for printing on the printer 2. PC1 is an example of an information processing device. Instead of PC1, for example, a smartphone or a tablet computer may be used.

PC1は、図1に示すように、CPU11と、メモリ12と、を含む制御基板10を備えている。さらに、PC1は、ユーザインタフェース(以下、「ユーザIF」とする)20と、通信インタフェース(以下、「通信IF」とする)30と、を備え、これらが制御基板10に電気的に接続されている。なお、図1中の制御基板10は、PC1の制御に利用されるハードウェアやソフトウェアを纏めた総称であって、実際にPC1に存在する単一のハードウェアを表すとは限らない。 As shown in FIG. 1, the PC 1 includes a control board 10 including a CPU 11 and a memory 12. Further, the PC 1 includes a user interface (hereinafter referred to as "user IF") 20 and a communication interface (hereinafter referred to as "communication IF") 30, which are electrically connected to the control board 10. There is. Note that the control board 10 in FIG. 1 is a general term for hardware and software used for controlling the PC 1, and does not necessarily represent a single hardware that actually exists in the PC 1.

CPU11は、メモリ12から読み出したプログラムに従って、また、ユーザの操作に基づいて、各種の処理を実行する。CPU11は、コンピュータの一例である。メモリ12は、ROM、RAMを含み、さらにHDD、フラッシュメモリ等の不揮発性メモリを含み、各種のプログラムやデータを記憶する。 The CPU 11 executes various processes according to the program read from the memory 12 and based on the user's operation. The CPU 11 is an example of a computer. The memory 12 includes a ROM and a RAM, and further includes a non-volatile memory such as an HDD and a flash memory, and stores various programs and data.

メモリ12は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non−transitoryな媒体である。non−transitoryな媒体には、上記の例の他に、CD−ROM、DVD−ROM等の記録媒体も含まれる。また、non−transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non−transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。 The memory 12 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, the non-transitory medium also includes a recording medium such as a CD-ROM or a DVD-ROM. The non-transitory medium is also a tangible medium. On the other hand, an electric signal that carries a program downloaded from a server on the Internet is a computer-readable signal medium, which is a kind of computer-readable medium, but is a storage that can be read by a non-transitory computer. Not included in the medium.

ユーザIF20は、ユーザによる入力操作を受け付けるキーボードやマウス等と、情報を表示するディスプレイ等と、のハードウェアを含む。ユーザIF20は、入力インタフェースの一例である。ユーザIF20は、操作受付機能と表示機能との両方を備えたタッチパネル等を含んでいても良い。 The user IF 20 includes hardware such as a keyboard and a mouse that accept input operations by the user, a display that displays information, and the like. The user IF20 is an example of an input interface. The user IF 20 may include a touch panel or the like having both an operation reception function and a display function.

通信IF30は、プリンタ2等の外部装置との通信を行うためのハードウェアを含む。通信IF30の通信方式は、無線でも有線でもよく、また、LAN、Wi−Fi(登録商標)、Bluetooth(登録商標)、USB等、どのような規格の方式でもよい。 The communication IF 30 includes hardware for communicating with an external device such as a printer 2. The communication method of the communication IF30 may be wireless or wired, and may be any standard method such as LAN, Wi-Fi (registered trademark), Bluetooth (registered trademark), and USB.

本形態のPC1のメモリ12には、図1に示すように、オペレーティングシステム(以下、「OS」とする)41と、コンテンツアプリ42と、印刷管理プログラム43と、用紙登録アプリ44と、が組み込まれている。コンテンツアプリ42は、印刷対象の画像を作成および編集するプログラム群である。コンテンツアプリ42は、ユーザの指示に基づいて、文書コンテンツ、図表コンテンツ、プレゼンテーションコンテンツなどのコンテンツを作成し編集する。コンテンツアプリ42は、さらに、作成したコンテンツの印刷指示を受け付ける。コンテンツアプリ42は、アプリケーションプログラムの一例である。 As shown in FIG. 1, the memory 12 of the PC 1 of this embodiment incorporates an operating system (hereinafter referred to as “OS”) 41, a content application 42, a print management program 43, and a paper registration application 44. Has been printed. The content application 42 is a group of programs for creating and editing an image to be printed. The content application 42 creates and edits content such as document content, chart content, and presentation content based on the user's instructions. The content application 42 further receives a print instruction for the created content. The content application 42 is an example of an application program.

印刷管理プログラム43は、コンテンツアプリ42等のアプリにて受け付けた印刷指示に基づいて、印刷データの生成や生成した印刷データのプリンタ2への送信を行うプログラム群である。印刷管理プログラム43には、印刷設定に用いるための各種の情報を記憶する設定情報431が含まれる。 The print management program 43 is a group of programs that generates print data and transmits the generated print data to the printer 2 based on a print instruction received by an application such as the content application 42. The print management program 43 includes setting information 431 that stores various information for use in print settings.

設定情報431には、PC1に接続されている各プリンタに固有の情報が含まれ、例えば、プリンタ2にて選択可能な用紙に関する用紙情報が記憶される。設定情報431は、データベースの一例である。設定情報431に記憶される用紙情報には用紙サイズの情報や用紙種類の情報が含まれる。用紙情報によって定義される用紙サイズは、A4やB5等の定型サイズであってもよいし、幅と長さとを含むユーザ定義サイズであっても良い。 The setting information 431 includes information unique to each printer connected to the PC 1, and stores, for example, paper information regarding paper that can be selected by the printer 2. The setting information 431 is an example of a database. The paper information stored in the setting information 431 includes paper size information and paper type information. The paper size defined by the paper information may be a standard size such as A4 or B5, or may be a user-defined size including width and length.

用紙登録アプリ44は、プリンタ2にて使用する各種の用紙の登録指示を受け付け、受け付けた指示に基づいて設定情報431を更新するプログラムである。用紙登録アプリ44は、プログラムの一例である。 The paper registration application 44 is a program that receives registration instructions for various types of paper used by the printer 2 and updates the setting information 431 based on the received instructions. The paper registration application 44 is an example of a program.

コンテンツアプリ42は、印刷実行の指示を受け付ける前に、例えば、用紙情報を含む印刷設定のユーザによる指定を受け付ける。コンテンツアプリ42は、印刷管理プログラム43に登録されている用紙の用紙情報を設定情報431から取得し、取得した情報に基づいて、例えば、用紙の選択肢を表示することで、用紙の選択を受け付ける。さらに、コンテンツアプリ42は、印刷実行の指示を受け付けた場合、選択された用紙の用紙情報を含む印刷設定の情報と印刷対象の画像の情報とを印刷管理プログラム43に渡す。 The content application 42 accepts, for example, a user's designation of print settings including paper information before receiving an instruction to execute printing. The content application 42 acquires the paper information of the paper registered in the print management program 43 from the setting information 431, and accepts the selection of the paper by displaying, for example, the paper options based on the acquired information. Further, when the content application 42 receives the instruction to execute printing, the content application 42 passes the information of the print setting including the paper information of the selected paper and the information of the image to be printed to the print management program 43.

コンテンツアプリ42と印刷管理プログラム43とは、OS41の種類に応じたものが使用可能である。例えば、OS41としてLinux(登録商標)を使用するPC1では、コンテンツアプリ42としては、例えば、LibreOfficeが使用可能であり、印刷管理プログラム43としては、例えば、CUPSが使用可能である。CUPSは、OS41の一部として組み込まれている。そして、CUPSは、設定情報431として、ファイル形式のPPD(PostScript Printer Description)を含む。 As the content application 42 and the print management program 43, those corresponding to the type of OS 41 can be used. For example, in the PC1 using Linux (registered trademark) as the OS 41, for example, LibreOffice can be used as the content application 42, and CUPS can be used as the print management program 43, for example. CUPS is incorporated as part of OS41. Then, CUPS includes PPD (PostScript Printer Description) in a file format as setting information 431.

なお、OS41は、Linuxに限らず、例えば、Windows(登録商標)、MacOS(登録商標)、iOS(登録商標)、Android(登録商標)でも良い。その場合、コンテンツアプリ42は、例えば、MicrosoftOffice(登録商標)でも良い。また、設定情報431は、ファイル形式でなくても良く、コンテンツアプリ42や印刷管理プログラム43から参照可能な情報であればよい。 The OS 41 is not limited to Linux, and may be, for example, Windows (registered trademark), MacOS (registered trademark), iOS (registered trademark), and Android (registered trademark). In that case, the content application 42 may be, for example, Microsoft Office (registered trademark). Further, the setting information 431 does not have to be in a file format, and may be any information that can be referred to by the content application 42 or the print management program 43.

本形態のプリンタ2は、例えば、熱転写方式の印刷ヘッドを備え、ロール状に巻き取られたラベル紙を収容し、ラベル紙を巻き出しつつ印刷を行う、いわゆるラベルプリンタである。ラベル紙は、ロール紙の一例である。プリンタ2にて印刷に用いられるラベル紙の種類としては、例えば、長尺テープ、ダイカットラベル、マーク付きメディアがある。長尺テープは、連続した剥離紙の一面に、剥離紙と同様に連続した帯状の用紙が貼着されているものである。ダイカットラベルは、所定の形状に予め整形された用紙が、連続した剥離紙の一面に所定の間隔を空けて貼着されているものである。マーク付きメディアは、ラベル紙の搬送方向に所定の間隔で、予め所定のマークが設けられている用紙である。 The printer 2 of this embodiment is, for example, a so-called label printer provided with a thermal transfer type printing head, accommodating a label paper wound in a roll shape, and printing while unwinding the label paper. The label paper is an example of roll paper. Types of label paper used for printing in the printer 2 include, for example, long tapes, die-cut labels, and marked media. The long tape is a continuous strip-shaped paper attached to one side of the continuous release paper in the same manner as the release paper. The die-cut label is a paper that has been preformed into a predetermined shape and is attached to one side of a continuous release paper at a predetermined interval. The marked media is a paper on which predetermined marks are provided in advance at predetermined intervals in the transport direction of the label paper.

プリンタ2にて受け付ける印刷ジョブの印刷設定には、用紙情報として、用紙の種類の情報と用紙サイズの情報とが含まれる。プリンタ2による印刷対象の用紙はラベル紙であることから、用紙サイズの情報には、ラベル幅とラベル長さとに対応する幅と長さの情報が含まれる。ラベル幅は、剥離紙に貼着されている用紙のうち、ラベル紙の搬送される方向に直交する方向、すなわち幅方向のサイズであり、ラベル紙ごとに特定されている。ラベル長さは、作成されるラベルのうち、ラベル紙の搬送される方向、すなわち長さ方向のサイズである。用紙が長尺テープであれば、基本的にラベル長さは特定されていない。用紙がダイカットラベルまたはマーク付きメディアであれば、ラベル長さはラベル紙に応じて特定されている。 The print setting of the print job accepted by the printer 2 includes paper type information and paper size information as paper information. Since the paper to be printed by the printer 2 is label paper, the paper size information includes width and length information corresponding to the label width and the label length. The label width is a size in the direction orthogonal to the transport direction of the label paper, that is, in the width direction among the papers attached to the release paper, and is specified for each label paper. The label length is the size of the label to be produced in the direction in which the label paper is conveyed, that is, in the length direction. If the paper is a long tape, the label length is basically not specified. If the paper is a die-cut label or marked media, the label length is specified according to the label paper.

そして、プリンタ2は、収容されているラベル紙のラベル幅を検出する機能を有する。さらに、プリンタ2は、収容されているラベル紙のラベル幅と、印刷設定に含まれる用紙サイズの幅とが合致していない場合に、用紙エラーを出力して印刷しない。つまり、プリンタ2に送信する印刷ジョブにおける用紙サイズの幅は、印刷対象のラベル紙に応じて特定される。 Then, the printer 2 has a function of detecting the label width of the contained label paper. Further, the printer 2 outputs a paper error and does not print when the label width of the contained label paper and the width of the paper size included in the print setting do not match. That is, the width of the paper size in the print job to be transmitted to the printer 2 is specified according to the label paper to be printed.

続いて、本形態の用紙登録アプリ44による処理について説明する。なお、以下の処理およびフローチャートの各処理ステップは、基本的に、各プログラムに記述された命令に従ったCPU11の処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」等の処理は、CPU11の処理を表している。CPU11による処理は、PC1のOS41のAPIを用いたハードウェア制御も含む。本明細書では、OS41の記載を省略して各プログラムの動作を説明する。すなわち、以下の説明において、「プログラムBがハードウェアCを制御する」という趣旨の記載は、「プログラムBがOS41のAPIを用いてハードウェアCを制御する」ことを指してもよい。また、プログラムに記述された命令に従ったCPU11の処理を、省略した文言で記載することがある。例えば、「CPU11が行う」、「プログラムが行う」のように記載することがある。 Subsequently, the processing by the paper registration application 44 of this embodiment will be described. The following processing and each processing step in the flowchart basically indicate the processing of the CPU 11 according to the instructions described in each program. That is, the processing of "judgment", "extraction", "selection", "calculation", "decision", "specification", "acquisition", "acceptance", "control", etc. in the following description is the processing of the CPU 11. Represents. The processing by the CPU 11 also includes hardware control using the API of the OS 41 of the PC1. In this specification, the operation of each program will be described by omitting the description of OS 41. That is, in the following description, the description to the effect that "program B controls hardware C" may refer to "program B controls hardware C using the API of OS41". In addition, the processing of the CPU 11 according to the instructions described in the program may be described in abbreviated terms. For example, it may be described as "performed by the CPU 11" or "performed by the program".

なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPU11が要求することなくデータを受信するという処理も、「CPU11がデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。また、「要求する」、「指示する」とは、要求していることを示す情報や、指示していることを示す情報を相手に出力することを示す概念である。また、要求していることを示す情報や指示していることを示す情報のことを、単に、「要求」、「指示」とも記載する。 Note that "acquisition" is used in a concept that does not require a request. That is, the process of receiving data without the CPU 11 requesting is also included in the concept of "the CPU 11 acquires the data". Further, the "data" in the present specification is represented by a bit string that can be read by a computer. Then, data having the same substantial meaning and contents but different formats are treated as the same data. The same applies to "information" in the present specification. Further, "requesting" and "instructing" are concepts indicating that information indicating that a request is being made or information indicating that an instruction is being given is output to the other party. In addition, the information indicating that the request is made or the information indicating that the instruction is given is simply described as "request" or "instruction".

また、CPU11による、情報Aは事柄Bであることを示しているか否かを判断する処理を、「情報Aから、事柄Bであるか否かを判断する」のように概念的に記載することがある。CPU11による、情報Aが事柄Bであることを示しているか、事柄Cであることを示しているか、を判断する処理を、「情報Aから、事柄Bであるか事柄Cであるかを判断する」のように概念的に記載することがある。 Further, the process of determining whether or not the information A indicates that the information A is the matter B by the CPU 11 is conceptually described as "determining whether or not the information A is the matter B from the information A". There is. The process of determining whether the information A indicates that it is the matter B or the matter C by the CPU 11 is "determined from the information A whether it is the matter B or the matter C." It may be described conceptually as ".

まず、本形態の用紙登録アプリ44による用紙登録処理の手順について、図2のフローチャートを参照して説明する。用紙登録処理は、用紙登録アプリ44の実行指示を受け付けたことを契機に、PC1のCPU11にて実行される。 First, the procedure of the paper registration process by the paper registration application 44 of this embodiment will be described with reference to the flowchart of FIG. The paper registration process is executed by the CPU 11 of the PC 1 when the execution instruction of the paper registration application 44 is received.

用紙登録処理では、CPU11は、例えば、図3に示すように、用紙登録画面61をユーザIF20に表示させ、各欄への入力を受け付ける(S101)。用紙登録画面61は、例えば、用紙指定情報611、用紙サイズ612、余白サイズ613、の各項目への入力を受け付ける画面である。用紙登録画面61には、さらに、画像指定ボタン62と、追加ボタン63と、キャンセルボタン64と、が表示される。 In the paper registration process, for example, as shown in FIG. 3, the CPU 11 displays the paper registration screen 61 on the user IF20 and accepts input to each field (S101). The paper registration screen 61 is, for example, a screen that accepts input to each item of paper designation information 611, paper size 612, and margin size 613. The image designation button 62, the add button 63, and the cancel button 64 are further displayed on the paper registration screen 61.

用紙指定情報611は、例えば、設定情報431に登録される用紙の名称や用紙の種類の情報を含む。用紙サイズ612は、登録される用紙のサイズであり、幅と長さの情報を含む。余白サイズ613は、用紙の四方に設定される余白のサイズである。プリンタ2は、用紙サイズ612の範囲から余白を除いた部分に画像を印刷する。 The paper designation information 611 includes, for example, information on the paper name and paper type registered in the setting information 431. The paper size 612 is the size of the paper to be registered and includes width and length information. The margin size 613 is the size of the margin set on all four sides of the paper. The printer 2 prints an image on a portion of the paper size 612 excluding the margins.

画像指定ボタン62は、登録対象の用紙に印刷する予定の画像の指定を受け付けるボタンである。追加ボタン63は、用紙登録画面61に入力されている情報を含む用紙情報を設定情報431に登録して終了する指示を受け付けるボタンである。キャンセルボタン64は、用紙情報を登録せずに用紙登録処理を終了する指示を受け付けるボタンである。 The image designation button 62 is a button that accepts the designation of an image to be printed on the paper to be registered. The add button 63 is a button that receives an instruction to register the paper information including the information input on the paper registration screen 61 in the setting information 431 and end the process. The cancel button 64 is a button that accepts an instruction to end the paper registration process without registering the paper information.

CPU11は、画像指定ボタン62への操作を受け付けたか否かを判断する(S102)。画像指定ボタン62への操作を受け付けたと判断した場合(S102:YES)、CPU11は、用紙登録画面61の用紙指定情報611に表示されている用紙種類が長尺テープであるか否かを判断する(S103)。なお、用紙登録画面61のデフォルトでは、用紙種類は長尺テープとなっている。 The CPU 11 determines whether or not the operation on the image designation button 62 has been accepted (S102). When it is determined that the operation to the image designation button 62 is accepted (S102: YES), the CPU 11 determines whether or not the paper type displayed in the paper designation information 611 on the paper registration screen 61 is a long tape. (S103). By default, the paper registration screen 61 uses a long tape as the paper type.

用紙種類が長尺テープであると判断した場合(S103:YES)、CPU11は、画像選択用のダイアログをユーザIF20に表示させ、画像の選択を受け付け(S104)、選択された画像の画像データを取得する(S105)。S105は、取得処理の一例である。 When it is determined that the paper type is a long tape (S103: YES), the CPU 11 displays an image selection dialog on the user IF20, accepts the image selection (S104), and receives the image data of the selected image. Acquire (S105). S105 is an example of the acquisition process.

そして、CPU11は、取得した画像データに基づいて、画像の縦方向のサイズと横方向のサイズとを取得する(S106)。なお、S106にて取得する画像のサイズは、印刷設定に基づいて印刷した場合の印刷済みの用紙における画像の印刷範囲のサイズを意味している。更に詳細には、画像の縦方向のサイズと横方向のサイズとは、画像の印刷範囲を含む最小の矩形の隣接する2辺のそれぞれのサイズである。 Then, the CPU 11 acquires the vertical size and the horizontal size of the image based on the acquired image data (S106). The size of the image acquired in S106 means the size of the print range of the image on the printed paper when printed based on the print settings. More specifically, the vertical size and the horizontal size of the image are the sizes of the two adjacent sides of the smallest rectangle that includes the print area of the image.

CPU11は、取得した画像の縦方向のサイズと横方向のサイズとのうち、長い方のサイズがラベル幅以下であるか否かを判断する(S107)。ラベル幅は、印刷対象のラベル紙の幅方向のサイズであり、ユーザによって用紙登録画面61中の用紙サイズ612の幅に設定される。以下では、画像の縦方向のサイズと横方向のサイズのうち、長手方向のサイズを「画像の長手サイズ」、短手方向のサイズを「画像の短手サイズ」とする。 The CPU 11 determines whether or not the longer size of the acquired image in the vertical direction and the size in the horizontal direction is equal to or less than the label width (S107). The label width is the size in the width direction of the label paper to be printed, and is set by the user to the width of the paper size 612 in the paper registration screen 61. In the following, of the vertical size and the horizontal size of the image, the vertical size is referred to as the “longitudinal size of the image” and the short size is referred to as the “short size of the image”.

画像の長手サイズがラベル幅以下であると判断した場合(S107:YES)、CPU11は、用紙サイズ612の長さを、画像の短手サイズに設定する(S108)。画像の長手サイズがラベル幅より大きいと判断した場合(S107:NO)、CPU11は、用紙サイズ612の長さを、画像の長手サイズに設定する(S109)。S108やS109では、CPU11は、S106にて取得した画像のサイズに基づいて、用紙サイズ612の長さを調整し、調整後の長さを用紙登録画面61に表示させる。 When it is determined that the longitudinal size of the image is equal to or less than the label width (S107: YES), the CPU 11 sets the length of the paper size 612 to the short size of the image (S108). When it is determined that the longitudinal size of the image is larger than the label width (S107: NO), the CPU 11 sets the length of the paper size 612 to the longitudinal size of the image (S109). In S108 and S109, the CPU 11 adjusts the length of the paper size 612 based on the size of the image acquired in S106, and displays the adjusted length on the paper registration screen 61.

画像指定ボタン62の操作を受け付けていないと判断した場合(S102:NO)、または、長尺テープではないと判断した場合(S103:NO)、または、S108の後、または、S109の後、CPU11は、追加ボタン63の操作を受け付けたか否かを判断する(S110)。追加ボタン63の操作を受け付けたと判断した場合(S110:YES)、CPU11は、用紙登録画面61に表示中の用紙情報を設定情報431に登録する(S111)。S111は、出力処理の一例である。登録する用紙情報のうちの用紙サイズは、特定サイズの一例である。 When it is determined that the operation of the image designation button 62 is not accepted (S102: NO), or when it is determined that the tape is not a long tape (S103: NO), or after S108 or after S109, the CPU 11 Determines whether or not the operation of the additional button 63 has been accepted (S110). When it is determined that the operation of the add button 63 has been accepted (S110: YES), the CPU 11 registers the paper information displayed on the paper registration screen 61 in the setting information 431 (S111). S111 is an example of output processing. The paper size of the paper information to be registered is an example of a specific size.

これにより、用紙登録アプリ44は、画像データが指定された後に登録指示を受け付けた場合、指定された画像データに適した用紙サイズの用紙情報を設定情報431に登録する。一方、用紙登録アプリ44は、画像データの指定や用紙サイズの長さの指定を受け付けることなく、長尺テープの用紙情報の登録指示を受け付けた場合、用紙サイズの長さの情報にデフォルトのラベル長さを設定して、用紙情報を設定情報431に登録する。デフォルトのラベル長さは、ラベル幅より大きく設定されていることが多い。例えば、幅が6.5cmの長尺テープであれば、デフォルトのラベル長さは10cmに設定されている。 As a result, when the paper registration application 44 receives the registration instruction after the image data is specified, the paper registration application 44 registers the paper information of the paper size suitable for the specified image data in the setting information 431. On the other hand, when the paper registration application 44 accepts the registration instruction of the paper information of the long tape without accepting the specification of the image data or the specification of the length of the paper size, the default label is attached to the information of the length of the paper size. The length is set and the paper information is registered in the setting information 431. The default label length is often set larger than the label width. For example, for a long tape with a width of 6.5 cm, the default label length is set to 10 cm.

追加ボタン63の操作を受け付けていないと判断した場合(S110:NO)、CPU11は、キャンセルボタン64への操作を受け付けたか否かを判断する(S112)。キャンセルボタン64への操作を受け付けていないと判断した場合(S112:NO)、CPU11は、S101に戻って、更に入力を受け付ける。一方、S111の後、または、キャンセルボタン64への操作を受け付けたと判断した場合(S112:YES)、CPU11は、用紙登録画面61を閉じて、用紙登録処理を終了する。 When it is determined that the operation of the add button 63 is not accepted (S110: NO), the CPU 11 determines whether or not the operation of the cancel button 64 is accepted (S112). If it is determined that the operation to the cancel button 64 is not accepted (S112: NO), the CPU 11 returns to S101 and further accepts the input. On the other hand, after S111 or when it is determined that the operation to the cancel button 64 has been accepted (S112: YES), the CPU 11 closes the paper registration screen 61 and ends the paper registration process.

なお、プリンタ2が画像の末尾の空白を削除する自動削除機能を有している場合、S108では、CPU11は、長さを、画像の短手のサイズ以上であってラベル幅より小さいサイズとすれば良い。また、S109では、CPU11は、長さを、デフォルト値などラベル幅より大きいサイズとすれば良い。プリンタ2の自動削除機能を有効とすることで、用紙サイズの長さが画像のサイズよりも大きくても、画像の後端よりも後ろの空白はプリンタ2によって自動的に削除される。 When the printer 2 has an automatic deletion function for deleting the blank at the end of the image, in S108, the CPU 11 sets the length to be equal to or larger than the short size of the image and smaller than the label width. Just do it. Further, in S109, the CPU 11 may set the length to a size larger than the label width such as a default value. By enabling the automatic deletion function of the printer 2, even if the length of the paper size is larger than the size of the image, the blank space behind the rear edge of the image is automatically deleted by the printer 2.

次に、コンテンツアプリ42を用いて、プリンタ2に印刷を実行させる場合のPC1の動作について、図4を参照して説明する。ユーザは、コンテンツアプリ42を起動し、印刷対象の画像と印刷設定とを選択する。コンテンツアプリ42は、印刷設定の設定指示として、用紙の選択指示を受け付けると、設定情報431を参照して登録されている用紙情報の用紙名を読み出し(矢印A)、用紙情報の選択肢として表示させる。 Next, the operation of the PC 1 when the printer 2 is made to execute printing by using the content application 42 will be described with reference to FIG. The user starts the content application 42 and selects an image to be printed and print settings. When the content application 42 receives a paper selection instruction as a print setting setting instruction, the content application 42 reads out the paper name of the registered paper information with reference to the setting information 431 (arrow A) and displays it as a paper information option. ..

なお、設定情報431に登録されている用紙情報には、定型サイズ等の予め登録されているものの他、例えば、前述した用紙登録アプリ44による用紙登録処理にて登録されたものが含まれる(矢印B)。例えば、用紙登録処理にて、画像指定ボタン62の操作に続いて印刷対象とする画像データの指定と追加ボタン63の操作とを受け付けることで、その画像データに適した用紙サイズの用紙情報が、ユーザ指定の用紙名を付けて登録される。その後、コンテンツアプリ42で用紙の選択指示を受け付けると、登録されている用紙名が選択肢として表示される。 The paper information registered in the setting information 431 includes, for example, the paper information registered in advance by the standard size and the like, and the paper information registered in the paper registration process by the paper registration application 44 described above (arrow). B). For example, in the paper registration process, by accepting the operation of the image designation button 62, the designation of the image data to be printed and the operation of the add button 63, the paper information of the paper size suitable for the image data can be obtained. It is registered with a paper name specified by the user. After that, when the content application 42 receives the paper selection instruction, the registered paper name is displayed as an option.

コンテンツアプリ42は、表示させた選択肢から用紙名が選択された場合、選択された用紙名の用紙情報を含む印刷設定の情報を生成する。そして、コンテンツアプリ42は、画像の選択と印刷指示とを受け付けた場合、選択された画像の画像データと印刷設定とを印刷管理プログラム43に渡す(矢印C、D)。 When a paper name is selected from the displayed options, the content application 42 generates print setting information including the paper information of the selected paper name. Then, when the content application 42 receives the image selection and the print instruction, the content application 42 passes the image data of the selected image and the print setting to the print management program 43 (arrows C and D).

印刷管理プログラム43は、受け取った画像データをラスタライズして印刷データを生成する。印刷管理プログラム43は、生成した印刷データとコンテンツアプリ42から受け取った印刷設定とに基づいて印刷ジョブを生成し、生成した印刷ジョブを通信IF30を介してプリンタ2に送信する(矢印E)。これにより、プリンタ2は、印刷ジョブに基づく印刷を実行し、ラベルが作成される。 The print management program 43 rasterizes the received image data to generate print data. The print management program 43 generates a print job based on the generated print data and the print settings received from the content application 42, and transmits the generated print job to the printer 2 via the communication IF 30 (arrow E). As a result, the printer 2 executes printing based on the print job, and the label is created.

印刷管理プログラム43によっては、ラスタライズする際に、印刷設定にて指定されている用紙の縦方向の長さと横方向の長さとの大小関係と、画像データの縦方向の長さと横方向の長さとの大小関係と、が異なる場合、これらの大小関係を合わせるために画像を回転させるものがある。本形態の印刷管理プログラム43は、この機能を有し、画像と用紙との縦横の大小関係を一致させる、すなわち、画像の長手方向を用紙の長手方向に合わせる。例えば、横長の画像を縦長の用紙に印刷する印刷指示を受け付けた場合、印刷管理プログラム43は、画像の長手方向が用紙の長手方向となるように、画像を90度あるいは270度回転させる。 Depending on the print management program 43, when rasterizing, the magnitude relationship between the vertical length and the horizontal length of the paper specified in the print settings, and the vertical length and the horizontal length of the image data If the magnitude relations of are different, some images are rotated to match these magnitude relations. The print management program 43 of this embodiment has this function and matches the vertical and horizontal magnitude relations between the image and the paper, that is, aligns the longitudinal direction of the image with the longitudinal direction of the paper. For example, when a print instruction for printing a horizontally long image on vertically long paper is received, the print management program 43 rotates the image by 90 degrees or 270 degrees so that the longitudinal direction of the image is the longitudinal direction of the paper.

そして、前述したように、長尺テープのラベル長さのデフォルト値はラベル幅よりも大きい。つまり、長尺テープのデフォルトの用紙サイズは、例えば、図5(A)に示すように、縦長の用紙サイズPとなっている。例えば、図5(A)に示す用紙サイズPを含む用紙情報が選択された状態で、図5(B)に示すように、横長の画像の印刷が指示されると、本形態の印刷管理プログラム43は、図5(C)に示すように、画像を回転して印刷させる。具体的には、ラベル長さL>ラベル幅Wの用紙サイズの用紙に、画像の横X>画像の縦Yの画像の印刷を指示すると、画像の横Xがラベル長さLの方向となるように、画像が90度または270度回転されて印刷される。画像の縦Yは、第1方向のサイズの一例であり、画像の横Xは、第2方向のサイズの一例である。なお、図中の矢印は、ラベル紙の搬送方向を示す。 Then, as described above, the default value of the label length of the long tape is larger than the label width. That is, the default paper size of the long tape is, for example, a vertically long paper size P, as shown in FIG. 5 (A). For example, when the paper information including the paper size P shown in FIG. 5A is selected and the printing of a horizontally long image is instructed as shown in FIG. 5B, the print management program of this embodiment is instructed. In 43, as shown in FIG. 5C, the image is rotated and printed. Specifically, when printing an image of image width X> image height Y on paper having a label length L> label width W is instructed, the width X of the image becomes the direction of the label length L. As such, the image is rotated 90 degrees or 270 degrees and printed. The vertical Y of the image is an example of the size in the first direction, and the horizontal X of the image is an example of the size in the second direction. The arrows in the figure indicate the transport direction of the label paper.

本形態の用紙登録アプリ44は、用紙の登録時に画像データの指定を受け付けた場合、画像の長手サイズがラベル幅以下であれば、用紙サイズの長さを画像の短手サイズとする。用紙登録アプリ44は、例えば、図6(A)、(B)に示すように、画像の横X≦ラベル幅Wであれば、ラベル長さLを画像の縦Yとした用紙サイズQの用紙情報を登録する。用紙サイズQを含む用紙情報が設定されて、横長の画像の印刷指示を受け付けた場合、画像と用紙との縦横の大小関係が一致していることから、印刷管理プログラム43は、画像を回転することなく、図6(C)に示すように、横長のままで印刷させる。つまり、用紙登録アプリ44にて指定した画像データと同じサイズの画像を印刷する場合、用紙サイズQの用紙情報を選択することで、図6(C)に示すように、デフォルトの用紙サイズを用いた場合(図5(C))に比較して、ラベル紙の使用量の無駄が少ない印刷物が作成される。 When the paper registration application 44 of the present embodiment accepts the designation of image data at the time of paper registration, if the longitudinal size of the image is equal to or less than the label width, the length of the paper size is set to the short size of the image. As shown in FIGS. 6A and 6B, the paper registration application 44 has a paper size Q in which the label length L is the vertical Y of the image if the horizontal X of the image ≤ the label width W. Register the information. When the paper information including the paper size Q is set and the print instruction for the horizontally long image is received, the print management program 43 rotates the image because the vertical and horizontal magnitude relations between the image and the paper match. Instead, as shown in FIG. 6C, printing is performed in landscape orientation. That is, when printing an image of the same size as the image data specified by the paper registration application 44, by selecting the paper information of the paper size Q, the default paper size is used as shown in FIG. 6C. A printed matter with less waste of the amount of label paper used is produced as compared with the case (FIG. 5 (C)).

なお、ラベルは、通常、印刷済みの部分をラベル紙から切り取って使用される。そのため、印刷時の縦横は使用時の縦横とは無関係である。そこで、画像の長手サイズがラベル幅以下であれば、ラベル長さを画像の短手サイズとすることで、画像の縦横にかかわらずラベル紙の使用量を節約できる。本形態の用紙登録アプリ44は、指定された画像の長手サイズがラベル幅以下であれば、画像の短手サイズをラベル長さとした用紙サイズを登録する。例えば、縦長の画像で縦方向のサイズがラベル幅以下であれば、横方向のサイズをラベル長さとする。この用紙サイズが登録された用紙情報を用いれば、印刷管理プログラム43は、縦長の画像を自動的に90度または270度回転して横長に印刷するので、ラベル紙の使用量の無駄が少ない印刷物が作成される。 The label is usually used by cutting a printed portion from the label paper. Therefore, the vertical and horizontal directions at the time of printing are irrelevant to the vertical and horizontal directions at the time of use. Therefore, if the longitudinal size of the image is equal to or less than the label width, the amount of label paper used can be saved regardless of the length and width of the image by setting the label length to the short size of the image. If the longitudinal size of the designated image is equal to or less than the label width, the paper registration application 44 of this embodiment registers the paper size with the short size of the image as the label length. For example, if the vertical size of a vertically long image is equal to or less than the label width, the horizontal size is defined as the label length. If the paper information in which this paper size is registered is used, the print management program 43 automatically rotates the vertically long image by 90 degrees or 270 degrees and prints it horizontally, so that the amount of label paper used is not wasted. Is created.

以上、詳細に説明したように、第1の形態の用紙登録アプリ44によれば、画像データの指定を受け付けた場合、指定された画像データによって示される画像と用紙との縦横の大小関係が一致するように、用紙サイズの長さが決定される。従って、ラベル紙への印刷において、縦横の大小関係が揃うように画像を回転させる印刷管理プログラム43を用いる場合に、画像と縦横の大小関係が一致する用紙サイズを用いることで、印刷管理プログラム43による画像の自動回転が回避される。ロール紙において横長の画像が横長に印刷されれば、縦長に自動的に回転されて印刷されるよりも、ロール紙のフィード量を低減でき、不具合が低減される。 As described in detail above, according to the paper registration application 44 of the first form, when the designation of the image data is accepted, the vertical and horizontal magnitude relations between the image indicated by the designated image data and the paper match. The length of the paper size is determined so that Therefore, in printing on label paper, when the print management program 43 that rotates the image so that the vertical and horizontal magnitude relations are aligned, the print management program 43 is used by using the paper size that matches the vertical and horizontal magnitude relations with the image. The automatic rotation of the image is avoided. If a horizontally long image is printed horizontally on a roll paper, the feed amount of the roll paper can be reduced and defects can be reduced as compared with printing by automatically rotating the roll paper vertically.

次に、第2の実施の形態について、添付図面を参照しつつ詳細に説明する。本形態は、第1の実施の形態と同様の構成のPCであって、用紙登録アプリ44と印刷管理プログラム43との処理の一部が第1の実施の形態とは異なるPCを開示するものである。第1の実施の形態と同じ構成や動作については、第1の実施の形態と同じ符号を付して、説明を省略する。 Next, the second embodiment will be described in detail with reference to the accompanying drawings. This embodiment discloses a PC having the same configuration as that of the first embodiment, and a part of the processing of the paper registration application 44 and the print management program 43 is different from that of the first embodiment. Is. The same configurations and operations as those of the first embodiment are designated by the same reference numerals as those of the first embodiment, and the description thereof will be omitted.

本形態の印刷管理プログラム43は、コンテンツアプリ42から受け取った印刷実行指示に基づいて、印刷を実行させるプリンタを特定する。さらに、本形態の印刷管理プログラム43は、特定されたプリンタに対応するプログラムの処理が登録されていれば、ラスタライズを実行する前に、そのプログラムの処理の実行命令を出力するものとする。そして、本形態では、印刷指示にて指定されたプリンタがプリンタ2である場合に実行させる処理として用紙登録アプリ44のサイズ決定処理が登録されている。従って、本形態の印刷管理プログラム43は、コンテンツアプリ42からプリンタ2に印刷させる印刷指示を受け取った場合、ラスタライズの実行前に用紙登録アプリ44によるサイズ決定処理を実行する。 The print management program 43 of this embodiment identifies a printer to execute printing based on a print execution instruction received from the content application 42. Further, if the process of the program corresponding to the specified printer is registered, the print management program 43 of the present embodiment outputs an execution command of the process of the program before executing the rasterization. Then, in this embodiment, the size determination process of the paper registration application 44 is registered as a process to be executed when the printer specified by the print instruction is the printer 2. Therefore, when the print management program 43 of the present embodiment receives a print instruction to be printed by the printer 2 from the content application 42, the print management program 43 executes the size determination process by the paper registration application 44 before executing the rasterization.

本形態の各プログラムを用いてプリンタ2に印刷させる動作の手順を、図7を参照して説明する。第1の形態と同様に、コンテンツアプリ42は、ユーザの印刷指示を受け付ける(矢印F)と、印刷指示とともに、選択された画像の画像データと選択されている印刷設定とを印刷管理プログラム43に渡す(矢印G)。本形態の印刷管理プログラム43は、コンテンツアプリ42からプリンタ2に印刷させる印刷指示を渡された場合、用紙登録アプリ44を起動し(矢印H)、用紙登録アプリ44のサイズ決定処理を実行する(矢印I)。 The procedure of the operation of printing on the printer 2 using each program of this embodiment will be described with reference to FIG. 7. Similar to the first mode, the content application 42 receives the user's print instruction (arrow F), and sends the image data of the selected image and the selected print setting to the print management program 43 together with the print instruction. Pass (arrow G). When the print management program 43 of this embodiment is given a print instruction to be printed by the printer 2 from the content application 42, it activates the paper registration application 44 (arrow H) and executes the size determination process of the paper registration application 44 (the paper registration application 44). Arrow I).

用紙登録アプリ44によるサイズ決定処理の手順について、図8のフローチャートを参照して説明する。サイズ決定処理は、印刷管理プログラム43からの実行指示に基づいて、PC1のCPU11にて実行される。なお、図8のサイズ決定処理では、図2に示した用紙登録処理と同じ手順については、同じ符号を付している。 The procedure of the size determination process by the paper registration application 44 will be described with reference to the flowchart of FIG. The size determination process is executed by the CPU 11 of the PC 1 based on the execution instruction from the print management program 43. In the size determination process of FIG. 8, the same reference numerals are given to the same procedures as those of the paper registration process shown in FIG.

本形態では、用紙登録アプリ44は、サイズ決定処理の実行開始時に印刷管理プログラム43から画像データと印刷設定とを渡される。用紙登録アプリ44が印刷管理プログラム43から画像データを受け取る処理は、取得処理の一例である。 In this embodiment, the paper registration application 44 is passed image data and print settings from the print management program 43 at the start of execution of the size determination process. The process in which the paper registration application 44 receives the image data from the print management program 43 is an example of the acquisition process.

サイズ決定処理では、CPU11は、印刷管理プログラム43から受け取った印刷設定に基づいて、長尺テープが設定されているか否かを判断する(S103)。長尺テープであると判断した場合(S103:YES)、CPU11は、印刷管理プログラム43から受け取った画像データに基づいて、画像の縦と横とのサイズを取得する(S106)。 In the size determination process, the CPU 11 determines whether or not the long tape is set based on the print settings received from the print management program 43 (S103). When it is determined that the tape is a long tape (S103: YES), the CPU 11 acquires the vertical and horizontal sizes of the image based on the image data received from the print management program 43 (S106).

そして、CPU11は、画像の長手サイズが用紙のラベル幅以下であるか否かを判断する(S107)。ラベル幅以下であると判断した場合(S107:YES)、CPU11は、ラベル長さを、画像の短手サイズに設定する(S108)。ラベル幅より大きいと判断した場合(S107:NO)、CPU11は、ラベル長さを、画像の長手サイズに設定する(S109)。なお、CPU11は、印刷設定からラベル幅の情報を取得できる。 Then, the CPU 11 determines whether or not the longitudinal size of the image is equal to or less than the label width of the paper (S107). When it is determined that the label width is equal to or less than the label width (S107: YES), the CPU 11 sets the label length to the short size of the image (S108). If it is determined that the label width is larger than the label width (S107: NO), the CPU 11 sets the label length to the longitudinal size of the image (S109). The CPU 11 can acquire label width information from the print settings.

CPU11は、決定したラベル長さを含む用紙サイズの情報を印刷管理プログラム43に返して(S201)、サイズ決定処理を終了する。S201は、出力処理の一例である。S201にて印刷管理プログラム43に返す用紙サイズは、特定サイズの一例である。なお、本形態の用紙登録アプリ44は、設定情報431を更新しない。つまり、S201にて印刷管理プログラム43に返される用紙サイズは、設定情報431に登録されない。 The CPU 11 returns the paper size information including the determined label length to the print management program 43 (S201), and ends the size determination process. S201 is an example of output processing. The paper size returned to the print management program 43 in S201 is an example of a specific size. The paper registration application 44 of this embodiment does not update the setting information 431. That is, the paper size returned to the print management program 43 in S201 is not registered in the setting information 431.

図7の説明に戻る。用紙登録アプリ44は、サイズ決定処理(矢印I)が終了したら、用紙サイズの情報を印刷管理プログラム43に渡す(矢印J)。用紙サイズの情報は、ラベル長さの情報のみでも良いし、ラベル幅の情報とラベル長さの情報とを含む用紙サイズの情報でも良い。印刷管理プログラム43は、用紙登録アプリ44から受け取った用紙サイズの情報と、矢印Gにてコンテンツアプリ42から受け取った画像データと、を用いて、ラスタライズを実行し(矢印K)、印刷データを生成する。 Returning to the description of FIG. When the size determination process (arrow I) is completed, the paper registration application 44 passes the paper size information to the print management program 43 (arrow J). The paper size information may be only label length information, or may be paper size information including label width information and label length information. The print management program 43 executes rasterization (arrow K) using the paper size information received from the paper registration application 44 and the image data received from the content application 42 with the arrow G, and generates print data. To do.

さらに、印刷管理プログラム43は、生成した印刷データを含む印刷ジョブをプリンタ2に送信する(矢印L)。これにより、プリンタ2は、コンテンツアプリ42にて選択された画像に基づく印刷を実行し、印刷物を生成する。 Further, the print management program 43 transmits a print job including the generated print data to the printer 2 (arrow L). As a result, the printer 2 executes printing based on the image selected by the content application 42 and generates a printed matter.

本形態でも、画像データに基づいて、画像の用紙との縦横の大小関係が一致するように用紙サイズが決定され、決定された用紙サイズを含む印刷設定での印刷が実行される。つまり、第1の形態にて図6で示した例と同様に、横長の画像が横長に印刷される。なお、本形態の用紙登録アプリ44によるサイズ決定処理では、第1の形態の用紙登録画面61のような入力画面を表示することはない。すなわち、本形態では、ユーザに入力を求めることなく、自動的にサイズが決定される。 Also in this embodiment, the paper size is determined so that the vertical and horizontal magnitude relations of the image with the paper match based on the image data, and printing is executed with the print settings including the determined paper size. That is, a horizontally long image is printed horizontally as in the example shown in FIG. 6 in the first form. In the size determination process by the paper registration application 44 of the present embodiment, the input screen such as the paper registration screen 61 of the first embodiment is not displayed. That is, in this embodiment, the size is automatically determined without asking the user for input.

以上、詳細に説明したように、第2の形態の用紙登録アプリ44によれば、印刷管理プログラム43から画像データを受け取り、受け取った画像データによって示される画像と用紙との縦横の大小関係が一致するように、用紙サイズの長さが決定される。従って、第1の形態と同様に、印刷管理プログラム43による画像の自動回転が回避され、ロール紙のフィード量を低減でき、不具合が低減される。 As described in detail above, according to the paper registration application 44 of the second form, the image data is received from the print management program 43, and the vertical and horizontal magnitude relations between the image and the paper indicated by the received image data match. The length of the paper size is determined so that Therefore, as in the first embodiment, the automatic rotation of the image by the print management program 43 is avoided, the feed amount of the roll paper can be reduced, and the defects are reduced.

なお、第1の形態では、予め用紙登録アプリ44を実行することで用紙情報が設定情報431に登録されることから、ユーザは同じサイズの画像データであれば登録済みの用紙情報を指定すれば良い。印刷管理プログラム43は、印刷指示を受けた後に用紙登録アプリ44を実行する必要はなく、印刷時の処理負荷が小さい。一方、第2の形態では、印刷対象の画像データのサイズに基づいて用紙サイズが決定されることから、印刷対象の画像データが確実に入る用紙サイズが使用される。 In the first mode, the paper information is registered in the setting information 431 by executing the paper registration application 44 in advance. Therefore, if the user can specify the registered paper information if the image data has the same size. good. The print management program 43 does not need to execute the paper registration application 44 after receiving the print instruction, and the processing load at the time of printing is small. On the other hand, in the second mode, since the paper size is determined based on the size of the image data to be printed, the paper size that surely contains the image data to be printed is used.

さらに、第1および第2の形態では、用紙サイズの長さを変更して幅を変更しないので、プリンタ2にて用紙エラーとなる可能性は小さい。さらに、用紙種類が長尺テープである場合に長さを変更するので、プリンタ2にて用紙エラーとなる可能性は小さい。さらに、画像の長手サイズがラベル幅以下である場合に、用紙サイズの長さを変更するので、画像がラベル紙に収まる可能性が高い。 Further, in the first and second modes, since the length of the paper size is not changed and the width is not changed, the possibility of a paper error in the printer 2 is small. Further, since the length is changed when the paper type is a long tape, the possibility of a paper error in the printer 2 is small. Further, when the longitudinal size of the image is less than or equal to the label width, the length of the paper size is changed, so that the image is likely to fit on the label paper.

なお、第1および第2の形態は単なる例示にすぎず、本発明を何ら限定するものではない。したがって本発明は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、PCやプリンタの台数は、図示の例に限らない。また、プリンタ2の印刷方式は、熱転写方式に限らず、例えば、感熱方式、インクジェット方式、電子写真方式でもよい。また、印刷媒体は、ラベル用紙に限らず、例えば、単なるロール紙でもよく、プリンタは、ラベルプリンタに限らない。 The first and second forms are merely examples, and do not limit the present invention in any way. Therefore, as a matter of course, the present invention can be improved and modified in various ways without departing from the gist thereof. For example, the number of PCs and printers is not limited to the illustrated example. Further, the printing method of the printer 2 is not limited to the thermal transfer method, and may be, for example, a thermal method, an inkjet method, or an electrophotographic method. Further, the print medium is not limited to the label paper, for example, a simple roll paper may be used, and the printer is not limited to the label printer.

また、PC1の用紙登録アプリ44は、第1の形態の用紙登録処理と第2の形態のサイズ決定処理との両方を含んでも良いし、いずれか一方のみでも良い。 Further, the paper registration application 44 of the PC 1 may include both the paper registration process of the first form and the size determination process of the second form, or only one of them may be included.

また、例えば、各実施の形態では、コンテンツアプリ42が印刷管理プログラム43に印刷指示を渡すことで、プリンタ2に印刷ジョブが送信されるとしたが、これに限らない。例えば、印刷管理プログラム43は、OS41に含まれていても良い。その場合、コンテンツアプリ42は、OS41に印刷指示を渡し、OS41が印刷ジョブを生成してプリンタ2に送信する。また、コンテンツアプリ42が印刷管理プログラム43の機能をも備えていても良い。その場合、コンテンツアプリ42は、自身で印刷ジョブを生成し、プリンタ2に直接印刷ジョブを送信する。上記のどの例でも、コンテンツアプリ42がプリンタ2に印刷データを出力する構成に該当する。 Further, for example, in each embodiment, the content application 42 passes a print instruction to the print management program 43 to transmit a print job to the printer 2, but the present invention is not limited to this. For example, the print management program 43 may be included in the OS 41. In that case, the content application 42 passes a print instruction to the OS 41, and the OS 41 generates a print job and sends it to the printer 2. Further, the content application 42 may also have the function of the print management program 43. In that case, the content application 42 generates a print job by itself and sends the print job directly to the printer 2. Any of the above examples corresponds to the configuration in which the content application 42 outputs print data to the printer 2.

また、各実施の形態では、設定情報431は印刷管理プログラム43に含まれ、用紙情報保管領域441は用紙登録アプリ44に含まれるとしたが、含まれていなくても良い。いずれも、各プログラムから参照可能な形式で記憶されているデータであればよい。 Further, in each embodiment, the setting information 431 is included in the print management program 43, and the paper information storage area 441 is included in the paper registration application 44, but it may not be included. All of them may be data stored in a format that can be referred to by each program.

また、第1の形態にて図3に図示した用紙登録画面61は入力を受け付ける方法の一例であり、この図のような入力を受け付けるための画面は表示されなくても良い。用紙登録アプリ44は、例えば、コマンドライン等の入力に基づいて、用紙情報の登録指示を受け付けても良い。 Further, the paper registration screen 61 illustrated in FIG. 3 in the first embodiment is an example of a method of accepting input, and the screen for accepting input as shown in this figure may not be displayed. The paper registration application 44 may accept a paper information registration instruction based on, for example, input from a command line or the like.

また、第2の形態では、決定した用紙サイズの設定情報431への登録は行わないとしたが、登録しても良い。例えば、CPU11は、S108またはS109の後であってS201の前に、用紙サイズを決定したことを示すメッセージをユーザIF20に表示させ、用紙名の選択を受け付けて、設定情報431に登録するとしても良い。 Further, in the second embodiment, the determined paper size setting information 431 is not registered, but it may be registered. For example, even if the CPU 11 displays a message indicating that the paper size has been determined on the user IF20 after S108 or S109 and before S201, accepts the selection of the paper name, and registers it in the setting information 431. good.

また、各実施の形態では、コンテンツアプリ42は、設定情報431に登録されている用紙情報に基づいて、印刷用紙の選択肢を表示するとしたが、登録されている用紙情報のみでなく、自身の備える情報に基づく用紙情報も選択肢として表示しても良い。 Further, in each embodiment, the content application 42 displays the print paper options based on the paper information registered in the setting information 431, but the content application 42 is provided with not only the registered paper information but also its own. Information-based paper information may also be displayed as an option.

また、各実施の形態では、プリンタ2は余白を除去する自動削除機能を有しているとしたが、有していなくても良い。この場合、ラベル長さが画像の長さよりも長ければ、後端に空白のある印刷物が作成されるものの、空白部分を切り取ることで所望の印刷物となる可能性が高い。あるいは、印刷管理プログラム43が空白部分を除去する機能を有していても良い。この場合、印刷管理プログラム43は、空白部分を除去した印刷データを生成し、プリンタ2に渡しても良い。 Further, in each embodiment, it is said that the printer 2 has an automatic deletion function for removing margins, but it may not be provided. In this case, if the label length is longer than the length of the image, a printed matter having a blank at the rear end is created, but there is a high possibility that a desired printed matter can be obtained by cutting out the blank portion. Alternatively, the print management program 43 may have a function of removing a blank portion. In this case, the print management program 43 may generate print data with the blank portion removed and pass it to the printer 2.

また、例えば、プリンタ2のベンダが作成した印刷データ作成プログラムがPC1にインストールされており、印刷管理プログラム43は、その印刷データ作成プログラムに印刷データを生成させるとしても良い。その場合、その印刷データ作成プログラムは、空白部分を除去した印刷データを生成して、印刷管理プログラム43に渡すとしても良い。また、その場合、印刷管理プログラム43が、印刷データ作成プログラムが生成した印刷データが示す画像を回転して印刷させる可能性がある、としても良い。 Further, for example, a print data creation program created by the vendor of the printer 2 may be installed in the PC 1, and the print management program 43 may cause the print data creation program to generate print data. In that case, the print data creation program may generate print data from which blank portions have been removed and pass it to the print management program 43. Further, in that case, the print management program 43 may rotate and print the image indicated by the print data generated by the print data creation program.

また、各実施の形態に開示されている任意のフローチャートにおいて、任意の複数のステップにおける複数の処理は、処理内容に矛盾が生じない範囲で、任意に実行順序を変更できる、または並列に実行できる。 Further, in any flowchart disclosed in each embodiment, the plurality of processes in the arbitrary plurality of steps can be arbitrarily changed in the execution order or executed in parallel as long as the processing contents do not conflict with each other. ..

また、各実施の形態に開示されている処理は、単一のCPU、複数のCPU、ASICなどのハードウェア、またはそれらの組合せで実行されてもよい。また、実施の形態に開示されている処理は、その処理を実行するためのプログラムを記録した記録媒体、または方法等の種々の態様で実現することができる。 Further, the processes disclosed in each embodiment may be executed by a single CPU, a plurality of CPUs, hardware such as an ASIC, or a combination thereof. In addition, the process disclosed in the embodiment can be realized in various aspects such as a recording medium or a method in which a program for executing the process is recorded.

1 PC
2 プリンタ
11 CPU
20 ユーザIF
30 通信IF
44 用紙登録アプリ
1 PC
2 Printer 11 CPU
20 User IF
30 Communication IF
44 Paper registration app

Claims (8)

情報処理装置のコンピュータが実行可能なプログラムであって、
前記コンピュータに、
用紙種の設定に従って前記情報処理装置に組み込まれた印刷管理プログラムに受け取らせる用紙サイズを出力する出力処理を実行させ、前記印刷管理プログラムは、印刷設定と画像データとを受け取り、受け取った前記画像データによって示される画像に基づく印刷データをプリンタに出力し、さらに前記印刷管理プログラムは、受け取った前記印刷設定に含まれる用紙サイズの長さ方向のサイズと幅方向のサイズとの大小関係が、受け取った前記画像データに示される前記画像の前記用紙サイズの長さ方向に対応する第1方向のサイズと前記用紙サイズの幅方向に対応する第2方向のサイズとの大小関係と異なる場合に、前記画像を90度あるいは270度回転させる場合があり、
さらに前記コンピュータに、前記出力処理において、
前記印刷管理プログラムに受け取らせる前記画像データを取得する取得処理を実行させ、
前記用紙種の設定がロール紙を示す設定であった場合に、前記印刷管理プログラムに受け取らせる前記用紙サイズとして、前記用紙サイズの長さ方向のサイズと幅方向のサイズとの大小関係と、前記取得処理にて取得された前記画像データによって示される画像の前記第1方向のサイズと前記第2方向のサイズとの大小関係と、が一致する特定サイズを出力させる、
ことを特徴とするプログラム。
A program that can be executed by the computer of the information processing device.
On the computer
According to the setting of the paper type, the print management program incorporated in the information processing apparatus executes an output process for outputting the paper size to be received, and the print management program receives the print setting and the image data, and the received image data. The print data based on the image indicated by is output to the printer, and the print management program receives the magnitude relationship between the length direction size and the width direction size of the paper size included in the received print setting. The image when the magnitude relationship between the size in the first direction corresponding to the length direction of the paper size and the size in the second direction corresponding to the width direction of the paper size of the image shown in the image data is different. May be rotated 90 degrees or 270 degrees,
Further to the computer, in the output process,
An acquisition process for acquiring the image data to be received by the print management program is executed.
When the paper type is set to indicate roll paper, the paper size to be received by the print management program includes the magnitude relationship between the size in the length direction and the size in the width direction of the paper size, and the above. A specific size in which the size of the image indicated by the image data acquired in the acquisition process and the magnitude relationship between the size in the first direction and the size in the second direction match is output.
A program characterized by that.
請求項1に記載するプログラムにおいて、
さらに前記コンピュータに、前記出力処理において、
前記用紙種の設定がロール紙を示す設定であった場合に、前記用紙サイズのうち長さ方向のサイズを調整させることで、前記特定サイズの長さ方向のサイズと幅方向のサイズとの大小関係を、前記画像の前記第1方向のサイズと前記第2方向のサイズとの大小関係と一致させる、
ことを特徴とするプログラム。
In the program according to claim 1,
Further to the computer, in the output process,
When the paper type is set to indicate roll paper, the size of the specific size in the length direction and the size in the width direction are large or small by adjusting the size of the paper size in the length direction. Match the relationship with the magnitude relationship between the size of the image in the first direction and the size of the second direction.
A program characterized by that.
請求項2に記載するプログラムにおいて、
さらに前記コンピュータに、前記出力処理において、
前記用紙サイズのうち前記長さ方向のサイズを、前記画像の短手方向のサイズ以上であって、前記ロール紙の幅よりも短いサイズに調整させる、
ことを特徴とするプログラム。
In the program described in claim 2,
Further to the computer, in the output process,
Of the paper sizes, the size in the length direction is adjusted to a size equal to or larger than the size in the lateral direction of the image and shorter than the width of the roll paper.
A program characterized by that.
請求項1から請求項3のいずれか1つに記載するプログラムにおいて、
さらに前記コンピュータに、前記出力処理において、
前記用紙種の設定が前記ロール紙のうち長尺テープを示す設定であった場合、前記特定サイズを出力させ、前記ロール紙のうち前記長尺テープを示す設定でなかった場合、前記特定サイズを出力させない、
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 3.
Further to the computer, in the output process,
If the paper type is set to indicate the long tape of the roll paper, the specific size is output, and if the roll paper is not set to indicate the long tape, the specific size is output. Do not output
A program characterized by that.
請求項1から請求項4のいずれか1つに記載するプログラムにおいて、
さらに前記コンピュータに、前記出力処理において、
前記用紙種の設定がロール紙を示す設定であった場合に、前記取得処理にて取得された前記画像データによって示される前記画像の長手方向のサイズが前記ロール紙の幅以下の場合に、前記特定サイズを出力させ、前記取得処理にて取得された前記画像データによって示される前記画像の長手方向のサイズが前記ロール紙の幅よりも長い場合に、前記特定サイズを出力させない、
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 4.
Further to the computer, in the output process,
When the paper type is set to indicate roll paper and the size in the longitudinal direction of the image indicated by the image data acquired in the acquisition process is equal to or less than the width of the roll paper, the said. A specific size is output, and when the size in the longitudinal direction of the image indicated by the image data acquired in the acquisition process is longer than the width of the roll paper, the specific size is not output.
A program characterized by that.
請求項1から請求項5のいずれか1つに記載するプログラムにおいて、
さらに前記コンピュータに、前記取得処理において、
画像データを読み出す読み出し指示を前記情報処理装置の入力インタフェースを介して受け付けさせ、前記読み出し指示での読み出し対象となった前記画像データを取得させ、
さらに前記コンピュータに、前記出力処理において、
前記用紙種の設定がロール紙を示す設定であった場合に、用紙サイズが定義された用紙情報を記憶するデータベースに前記特定サイズを出力させて、前記特定サイズを前記データベースに記憶させ、前記データベースに記憶されている前記特定サイズは、前記情報処理装置に組み込まれているアプリケーションプログラムにて印刷設定として受け付けることが可能であり、前記印刷管理プログラムは、前記アプリケーションプログラムから前記印刷設定を受け取る、
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 5.
Further, in the acquisition process, the computer
A read instruction for reading the image data is received via the input interface of the information processing device, and the image data to be read by the read instruction is acquired.
Further to the computer, in the output process,
When the paper type is set to indicate roll paper, the specific size is output to a database that stores paper information in which the paper size is defined, the specific size is stored in the database, and the database is stored. The specific size stored in the information processing apparatus can be accepted as a print setting by an application program incorporated in the information processing apparatus, and the print management program receives the print setting from the application program.
A program characterized by that.
請求項1から請求項5のいずれか1つに記載するプログラムにおいて、
さらに前記コンピュータに、前記取得処理において、
前記情報処理装置に組み込まれているアプリケーションプログラムが印刷指示を受け付け、前記印刷管理プログラムが前記印刷指示によって印刷対象となった画像を含む前記画像データを前記アプリケーションプログラムから受け取った場合に、前記印刷管理プログラムが前記アプリケーションプログラムから受け取った前記画像データを前記印刷管理プログラムから取得させ、
さらに前記コンピュータに、前記出力処理において、
前記印刷管理プログラムに前記特定サイズを出力させ、前記印刷管理プログラムは、前記出力処理によって出力された前記特定サイズを用いて、前記画像を回転させるか否かを決定する、
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 5.
Further, in the acquisition process, the computer
When the application program incorporated in the information processing apparatus receives a print instruction and the print management program receives the image data including the image to be printed by the print instruction from the application program, the print management The image data received by the program from the application program is acquired from the print management program.
Further to the computer, in the output process,
The print management program is made to output the specific size, and the print management program uses the specific size output by the output process to determine whether or not to rotate the image.
A program characterized by that.
通信インタフェースと、
コンピュータと、
を備える情報処理装置であって、
前記コンピュータは、
用紙種の設定に従って前記情報処理装置に組み込まれた印刷管理プログラムに受け取らせる用紙サイズを出力する出力処理を実行し、前記印刷管理プログラムは、印刷設定と画像データとを受け取り、受け取った前記画像データによって示される画像に基づく印刷データを、前記通信インタフェースを介してプリンタに出力し、さらに前記印刷管理プログラムは、受け取った前記印刷設定に含まれる用紙サイズの長さ方向のサイズと幅方向のサイズとの大小関係が、受け取った前記画像データに示される前記画像の前記用紙サイズの長さ方向に対応する第1方向のサイズと前記用紙サイズの幅方向に対応する第2方向のサイズとの大小関係と異なる場合に、前記画像を90度あるいは270度回転させる場合があり、
さらに前記コンピュータは、前記出力処理において、
前記印刷管理プログラムに受け取らせる前記画像データを取得する取得処理を実行し、
前記用紙種の設定がロール紙を示す設定であった場合に、前記印刷管理プログラムに受け取らせる前記用紙サイズとして、前記用紙サイズの長さ方向のサイズと幅方向のサイズとの大小関係と、前記取得処理にて取得された前記画像データによって示される画像の前記第1方向のサイズと前記第2方向のサイズとの大小関係と、が一致する特定サイズを出力する、
ことを特徴とする情報処理装置。
Communication interface and
With a computer
It is an information processing device equipped with
The computer
According to the setting of the paper type, the print management program incorporated in the information processing apparatus executes an output process for outputting the paper size to be received, and the print management program receives the print setting and the image data, and the received image data. The print data based on the image indicated by is output to the printer via the communication interface, and the print management program further determines the size in the length direction and the size in the width direction of the paper size included in the received print setting. The magnitude relationship between is the magnitude relationship between the size in the first direction corresponding to the length direction of the paper size of the image shown in the received image data and the size in the second direction corresponding to the width direction of the paper size. The image may be rotated 90 degrees or 270 degrees if different from
Further, the computer performs the output processing.
An acquisition process for acquiring the image data to be received by the print management program is executed.
When the paper type is set to indicate roll paper, the paper size to be received by the print management program includes the magnitude relationship between the size in the length direction and the size in the width direction of the paper size, and the above. Outputs a specific size in which the size of the image indicated by the image data acquired in the acquisition process matches the size relationship between the size in the first direction and the size in the second direction.
An information processing device characterized by this.
JP2019140885A 2019-07-31 2019-07-31 Programs and information processing equipment Active JP7354655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019140885A JP7354655B2 (en) 2019-07-31 2019-07-31 Programs and information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019140885A JP7354655B2 (en) 2019-07-31 2019-07-31 Programs and information processing equipment

Publications (2)

Publication Number Publication Date
JP2021026267A true JP2021026267A (en) 2021-02-22
JP7354655B2 JP7354655B2 (en) 2023-10-03

Family

ID=74664709

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019140885A Active JP7354655B2 (en) 2019-07-31 2019-07-31 Programs and information processing equipment

Country Status (1)

Country Link
JP (1) JP7354655B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001047684A (en) 1999-08-10 2001-02-20 Seiko Epson Corp Image printing method and device
JP2003263290A (en) 2002-03-11 2003-09-19 Fuji Photo Film Co Ltd Printer control device and its program
JP5520014B2 (en) 2009-11-20 2014-06-11 キヤノン株式会社 Print control apparatus, data processing method, and program

Also Published As

Publication number Publication date
JP7354655B2 (en) 2023-10-03

Similar Documents

Publication Publication Date Title
US8760695B2 (en) Image processing apparatus, image processing method, and computer readable medium
JP6844474B2 (en) Printer driver and information processing device
JP7282567B2 (en) Information processing device and program
JP7119490B2 (en) application program
JP7459524B2 (en) Programs and information processing equipment
US11288020B2 (en) Non-transitory computer-readable medium storing application program and method for controlling information processing device for printing by a plurality of printers
US20230166535A1 (en) Non-transitory computer-readable medium and control method
JP7024270B2 (en) Program and printing system
JP7354655B2 (en) Programs and information processing equipment
JP6659108B2 (en) Image forming apparatus, image forming method, and program
CN116635241A (en) Support program and printing system
US20190220233A1 (en) Non-transitory computer-readable recording medium containing instructions for image processing device
JP7415358B2 (en) Programs and information processing equipment
JP7006301B2 (en) Control program and program group
JP7396017B2 (en) Driver program and registration program
WO2022138317A1 (en) Support program
JP7192516B2 (en) Program and Information Processing Equipment
JP6977574B2 (en) Programs and information processing equipment
JP7413814B2 (en) Programs and information processing equipment
JP7089220B2 (en) Control programs and information processing equipment
JP7119576B2 (en) Application program and printer control module
JP7077838B2 (en) Programs, information processing equipment
JP6115402B2 (en) Program and information processing apparatus
JP2021115832A (en) Printer, control method, and program
JP2015069414A (en) Program and information processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230523

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230718

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230904

R150 Certificate of patent or registration of utility model

Ref document number: 7354655

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150