[go: up one dir, main page]

JP7099029B2 - program - Google Patents

program Download PDF

Info

Publication number
JP7099029B2
JP7099029B2 JP2018086105A JP2018086105A JP7099029B2 JP 7099029 B2 JP7099029 B2 JP 7099029B2 JP 2018086105 A JP2018086105 A JP 2018086105A JP 2018086105 A JP2018086105 A JP 2018086105A JP 7099029 B2 JP7099029 B2 JP 7099029B2
Authority
JP
Japan
Prior art keywords
size
paper
image
display
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.)
Active
Application number
JP2018086105A
Other languages
Japanese (ja)
Other versions
JP2019192057A (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 JP2018086105A priority Critical patent/JP7099029B2/en
Publication of JP2019192057A publication Critical patent/JP2019192057A/en
Application granted granted Critical
Publication of JP7099029B2 publication Critical patent/JP7099029B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、ユーザ指定の用紙の印刷設定に用いられるプログラムに関する。 The present invention relates to a program used to set print settings for user-specified paper.

特許文献1には、ユーザが指定したユーザ定義用紙に印刷データを送信して印刷を行う画像形成システムが記載されている。この画像システムでは、ユーザ定義用紙に印刷する印刷データをプリンタドライバが生成する。 Patent Document 1 describes an image forming system that prints by transmitting print data on a user-defined sheet designated by the user. In this image system, the printer driver generates print data to be printed on user-defined paper.

特開2014-63386号公報Japanese Unexamined Patent Publication No. 2014-63386

しかしながら、特許文献1では、プリンタドライバがユーザ定義用紙の印刷データの印刷設定に用いられる情報を取得することについて、十分な開示がされていない。 However, Patent Document 1 does not sufficiently disclose that the printer driver acquires information used for printing settings of print data of user-defined paper.

本発明は、前記の事情に鑑みてなされたものであり、その目的は、ユーザ指定の用紙の印刷設定に用いられるデータを取得する手段を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a means for acquiring data used for printing settings of a user-designated paper.

本明細書では様々な開示を行う。開示例の一例であるプログラムは、ディスプレイ、ユーザインタフェース、メモリ、通信インタフェース、及びコンピュータを備えた情報処理装置の当該コンピュータによって実行される。該プログラムは、印刷媒体の第1方向のサイズである第1サイズを取得するサイズ取得手段と、前記第1サイズに応じて決定される印刷可能範囲である第1印刷範囲を取得する印刷範囲取得手段と、前記サイズ取得手段が取得した前記第1サイズと、前記印刷範囲取得手段が取得した前記第1印刷範囲とを前記メモリに記憶させる第1記憶手段と、印刷媒体に印刷するテスト画像と、前記第1サイズに応じた印刷可能範囲を示す外形画像とを示すテスト印刷データを生成する印刷データ生成手段と、前記印刷データ生成手段が生成した前記テスト印刷データを、前記通信インタフェースを通じてプリンタに送信する送信手段と、前記テスト印刷データに応じた画面であって、印刷媒体を示す画像、前記外形画像、及び前記テスト画像を含む調整画面を前記ディスプレイに表示させる表示手段と、前記調整画面において、前記ユーザインタフェースによって、前記第1サイズを変更する変更入力を受け付ける受付手段と、前記受付手段が受け付けた変更入力に応じた第1サイズを決定する決定手段と、前記決定手段が決定した前記第1サイズを前記メモリに記憶させる第2記憶手段として前記コンピュータを機能させる。 Various disclosures are made herein. The program, which is an example of the disclosure example, is executed by the computer of the information processing apparatus including the display, the user interface, the memory, the communication interface, and the computer. The program has a size acquisition means for acquiring a first size, which is the size in the first direction of a print medium, and a print range acquisition for acquiring a first print range, which is a printable range determined according to the first size. A means, a first storage means for storing the first size acquired by the size acquisition means and the first print range acquired by the print range acquisition means in the memory, and a test image to be printed on a print medium. , The print data generation means for generating the test print data showing the outline image showing the printable range corresponding to the first size, and the test print data generated by the print data generation means to the printer through the communication interface. In the transmission means for transmitting, a display means for displaying an image showing a print medium, an external image, and an adjustment screen including the test image on the display, which is a screen corresponding to the test print data, and the adjustment screen. , The receiving means for receiving the change input for changing the first size by the user interface, the determining means for determining the first size according to the change input received by the receiving means, and the first determined by the determining means. The computer is made to function as a second storage means for storing one size in the memory.

印刷媒体を示す画像、印刷可能領域を示す外形画像、及びテスト画像を含む調整画面において、第1サイズを変更する変更入力を受け付けるので、ユーザは、テスト印刷データが印刷された印刷媒体と、調整画面に表示された印刷媒体を示す画像、外形画像、及びテスト画像とを見比べて、両者が一致するように変更入力を行えばよい。その結果、第1サイズの変更をユーザに容易に行わせることができる。 Since the adjustment screen including the image showing the print medium, the outline image showing the printable area, and the test image accepts the change input for changing the first size, the user adjusts with the print medium on which the test print data is printed. The image showing the print medium displayed on the screen, the external image, and the test image may be compared, and the change input may be made so that the two match. As a result, the user can easily change the first size.

図1は、本実施形態に係る情報処理装置11及びプリンタ10の機能ブロック図である。FIG. 1 is a functional block diagram of the information processing apparatus 11 and the printer 10 according to the present embodiment. 図2は、情報処理装置11のプログラム27の処理を示すフローチャートの一部である。FIG. 2 is a part of a flowchart showing the processing of the program 27 of the information processing apparatus 11. 図3は、図2のフローチャートの続きである。FIG. 3 is a continuation of the flowchart of FIG. 図4は、用紙登録画面を示す図である。FIG. 4 is a diagram showing a paper registration screen. 図5(A)は、調整画面を示す図であり、図5(B)は、テスト画像を印刷された用紙を示す図である。FIG. 5A is a diagram showing an adjustment screen, and FIG. 5B is a diagram showing a paper on which a test image is printed. 図6(A)は、実施形態における調整画面を示す図であり、図6(B)は、変形例2における調整画面を示す図である。FIG. 6A is a diagram showing an adjustment screen in the embodiment, and FIG. 6B is a diagram showing an adjustment screen in the modification 2. 図7(A)は、変形例2におけるテスト画像を印刷された用紙を示す図であり、図7(B)は、変形例2における調整画面を示す図である。FIG. 7A is a diagram showing a paper on which the test image in the modification 2 is printed, and FIG. 7B is a diagram showing an adjustment screen in the modification 2. 図8は、変形例1における調整画面を示す図である。FIG. 8 is a diagram showing an adjustment screen in the first modification.

以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。例えば、後述する各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。 Hereinafter, embodiments of the present invention will be described with reference to the drawings as appropriate. It is needless to say that the embodiments described below are merely examples of the present invention, and the embodiments of the present invention can be appropriately changed without changing the gist of the present invention. For example, the execution order of each process described later can be appropriately changed without changing the gist of the present invention.

本実施形態では、図1に示される情報処理装置11にインストールされて動作するプログラム27を説明する。プログラム27は、ラベルプリンタであるプリンタ10にセットする用紙の用紙サイズ情報をプリンタドライバに登録するプログラムである。具体的には、プログラム27は、プリンタドライバ26がアクセス可能な記憶領域、例えばデータ記憶領域24内の記憶領域、に用紙サイズ情報を記憶させることで、用紙サイズ情報を登録する。プリンタのベンダは、プリンタドライバ26が情報処理装置11にインストールされるときに、複数の用紙サイズ情報が、プリンタドライバ26がアクセス可能な記憶領域に記憶されるように工夫している。例えば、複数の用紙サイズ情報を、データ記憶領域24内の記憶領域に記憶させるようプログラミングされたインストーラをユーザに提供している。しかしながら、近年、プリンタの用途は多様化しており、様々な用紙が発売されている。そのため、ベンダといえども、プリンタ10で使用される可能性がある全ての用紙の用紙サイズ情報を把握することは困難になっている。プログラム27は、プリンタドライバ26のインストール時には記憶されていない用紙サイズ情報を、ユーザ指示に従って、プリンタドライバ26に登録することができる。用紙サイズについて、詳しくは後述する。 In this embodiment, the program 27 installed and operated in the information processing apparatus 11 shown in FIG. 1 will be described. The program 27 is a program for registering the paper size information of the paper to be set in the printer 10 which is a label printer in the printer driver. Specifically, the program 27 registers the paper size information by storing the paper size information in a storage area accessible by the printer driver 26, for example, a storage area in the data storage area 24. The printer vendor devises so that when the printer driver 26 is installed in the information processing apparatus 11, a plurality of paper size information is stored in a storage area accessible to the printer driver 26. For example, the user is provided with an installer programmed to store a plurality of paper size information in a storage area in the data storage area 24. However, in recent years, the uses of printers have diversified, and various types of paper have been put on the market. Therefore, it is difficult for even a vendor to grasp the paper size information of all the papers that may be used in the printer 10. The program 27 can register the paper size information, which is not stored at the time of installing the printer driver 26, in the printer driver 26 according to the user instruction. The paper size will be described in detail later.

情報処理装置11とプリンタ10とは、通信ネットワーク99によって接続されている。通信ネットワーク99は、インターネットや、イントラネットなどのローカルネットワークや、USBケーブルや、プリンタケーブルなどであってもよい。情報処理装置11とプリンタ10とは、通信ネットワーク99を通じて相互に通信可能である。なお、以下では、通信ネットワークがローカルネットワークであるものとして説明する。 The information processing device 11 and the printer 10 are connected by a communication network 99. The communication network 99 may be a local network such as the Internet or an intranet, a USB cable, a printer cable, or the like. The information processing device 11 and the printer 10 can communicate with each other through the communication network 99. In the following, it is assumed that the communication network is a local network.

情報処理装置11は、パーソナルコンピュータや、タブレットや、携帯端末などである。情報処理装置11は、CPU21と、メモリ22と、ディスプレイ31と、ユーザインタフェース32(以下、ユーザI/F32と記載する)と、通信インタフェース33(以下、通信I/F33と記載する)と、通信バス28とを備える。CPU21、メモリ22、ディスプレイ31、ユーザI/F32、及び通信I/F33は、通信バス28と接続されている。CPU21は、コンピュータの一例である。 The information processing device 11 is a personal computer, a tablet, a mobile terminal, or the like. The information processing apparatus 11 communicates with the CPU 21, the memory 22, the display 31, the user interface 32 (hereinafter referred to as user I / F 32), the communication interface 33 (hereinafter referred to as communication I / F 33), and the communication interface 33 (hereinafter referred to as communication I / F 33). It is equipped with a bus 28. The CPU 21, the memory 22, the display 31, the user I / F 32, and the communication I / F 33 are connected to the communication bus 28. The CPU 21 is an example of a computer.

ディスプレイ31は、液晶ディスプレイ、有機ELディスプレイ等であり、各種情報を表示する表示画面を備える。 The display 31 is a liquid crystal display, an organic EL display, or the like, and includes a display screen for displaying various information.

ユーザI/F32は、キーボードやマウスなどであり、ユーザの入力操作を受け付ける。 The user I / F 32 is a keyboard, a mouse, or the like, and accepts a user's input operation.

通信I/F33は、通信ネットワーク99と接続されている。通信I/F33は、LAN I/Fや無線LAN I/F等である。 The communication I / F 33 is connected to the communication network 99. The communication I / F 33 is a LAN I / F, a wireless LAN I / F, or the like.

メモリ22は、ROM、RAM、EEPROM、HDD、USBメモリ等の可搬記憶媒体、CPU21が備えるバッファ等である。メモリ22は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non-transitoryな媒体である。non-transitoryな媒体には、上記の例の他に、CD-ROM、DVD-ROM等の記録媒体も含まれる。また、non-transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non-transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。後述するプリンタ10のメモリ42についても同様である。 The memory 22 is a portable storage medium such as a ROM, RAM, EEPROM, HDD, or a USB memory, a buffer included in the CPU 21, and the like. The memory 22 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, the electric signal that carries a program downloaded from a server on the Internet is a signal medium that can be read by a computer, which is a kind of medium that can be read by a computer, but is a storage that can be read by a non-transitory computer. Not included in the medium. The same applies to the memory 42 of the printer 10 described later.

メモリ22は、プログラム記憶領域23及びデータ記憶領域24を有している。プログラム記憶領域23は、OS25やプリンタドライバ26やプログラム27等のプログラムを記憶している。 The memory 22 has a program storage area 23 and a data storage area 24. The program storage area 23 stores programs such as the OS 25, the printer driver 26, and the program 27.

OS25は、情報処理装置11の基本プログラムである。OS25は、例えば、MacOS(登録商標)、Windows(登録商標)、Linux(登録商標)、Android(登録商標)OS等のオペレーティングシステムである。 The OS 25 is a basic program of the information processing apparatus 11. The OS 25 is, for example, an operating system such as MacOS (registered trademark), Windows (registered trademark), Linux (registered trademark), Android (registered trademark) OS and the like.

プリンタドライバ26は、プリンタ10に印刷データを送信して、プリンタ10に印刷を指示するプログラムである。プリンタドライバ26は、プリンタドライバ26に登録されている用紙サイズ情報の中から選択された用紙サイズ情報に従って、用紙サイズ情報が示すサイズの用紙へ印刷させるための印刷データを作成し、プリンタ10に送信する。 The printer driver 26 is a program that sends print data to the printer 10 and instructs the printer 10 to print. The printer driver 26 creates print data for printing on paper of the size indicated by the paper size information according to the paper size information selected from the paper size information registered in the printer driver 26, and transmits the print data to the printer 10. do.

データ記憶領域24は、プログラムの実行に必要なデータを記憶する。また、データ記憶領域24は、テスト画像データを記憶する。テスト画像データは、例えば、図5(A)に例示する「ABC」の文字を示す画像データである。 The data storage area 24 stores data necessary for executing the program. Further, the data storage area 24 stores test image data. The test image data is, for example, image data indicating the characters "ABC" exemplified in FIG. 5 (A).

プリンタ10は、CPU41、メモリ42、印刷エンジン51、センサユニット52、通信I/F53、及び通信バス48を備える。CPU41、通信I/F53、及び通信バス48の構成は、情報処理装置11のCUP21、通信I/F33、及び通信バス28の構成と同様である。 The printer 10 includes a CPU 41, a memory 42, a print engine 51, a sensor unit 52, a communication I / F 53, and a communication bus 48. The configurations of the CPU 41, the communication I / F53, and the communication bus 48 are the same as the configurations of the CUP21, the communication I / F33, and the communication bus 28 of the information processing apparatus 11.

メモリ42は、プログラム記憶領域43及びデータ記憶領域44を有している。プログラム記憶領域43は、OS45や制御プログラム46を記憶している。OS45は、プリンタ10の基本プログラムである。制御プログラム46は、印刷エンジン51やセンサユニット52を駆動させ、通信I/F53を通じた情報処理装置11との間の通信を制御する。 The memory 42 has a program storage area 43 and a data storage area 44. The program storage area 43 stores the OS 45 and the control program 46. OS45 is a basic program of the printer 10. The control program 46 drives the print engine 51 and the sensor unit 52, and controls communication with the information processing device 11 through the communication I / F 53.

印刷エンジン51は、ロール状のラベル印刷シート(以下、単に「シート」とも記載する)がセットされる収容部と、収容部に収容されたシートを搬送するローラ対と、ローラ対によって搬送されるシート上の用紙に印刷を行う印刷ユニットと、シートを切断するカッターと、を備える。用紙は、印刷媒体の一例である。 The printing engine 51 is conveyed by an accommodating portion in which a roll-shaped label printing sheet (hereinafter, also simply referred to as “sheet”) is set, a roller pair that conveys the sheet accommodated in the accommodating portion, and a roller pair. It is equipped with a printing unit that prints on the paper on the sheet and a cutter that cuts the sheet. Paper is an example of a printing medium.

シートは、剥離層と、剥離層に貼着された用紙とを有する。なお、便宜上「用紙」としているが、用紙の材質は紙に限られない。樹脂や布などであってもよい。また、用紙のことを「ラベル」とも記載する。 The sheet has a release layer and a paper attached to the release layer. Although "paper" is used for convenience, the material of the paper is not limited to paper. It may be resin or cloth. Paper is also referred to as a "label".

用紙の種類について詳しく説明する。用紙のサイズには、幅と長さとがある。用紙の幅とは、搬送される用紙の搬送方向に直交する方向における用紙の大きさを意味する。用紙の長さとは、幅に直交する方向における用紙の大きさを意味する。 The types of paper will be described in detail. Paper sizes include width and length. The width of the paper means the size of the paper in the direction orthogonal to the transport direction of the paper to be conveyed. The length of the paper means the size of the paper in the direction orthogonal to the width.

また、用紙のサイズには、余白のサイズがある。余白とは、用紙の辺から、プリンタ10が用紙に実際に印刷する印刷領域の辺までの距離である。余白には、上余白、下余白、左余白、右余白がある。用紙の四辺のうち、用紙が排出される辺を上辺、上辺の反対側の辺を下辺、上辺と下辺に挟まれた二辺のうち、一方を右辺、他方を左辺とした場合、プリンタ10においては、上余白は上辺から印刷領域までの余白であり、下余白は下辺から印刷領域までの余白であり、右余白は右辺と印刷領域までの余白であり、左余白は左辺と印刷領域までの余白である。また、プリンタ10においては、長尺の用紙の場合、印刷領域を含む用紙に四辺のうち、用紙に画像が印刷された後に用紙が印刷エンジン51の上述のカッターによって切断されることによって生じた辺が下辺となる。長尺については後述する。なお、上余白、下余白、左余白、右余白の定義は、プリンタの種類によって異なっていても良い。 In addition, the size of the paper includes the size of the margin. The margin is the distance from the side of the paper to the side of the printing area where the printer 10 actually prints on the paper. The margins include a top margin, a bottom margin, a left margin, and a right margin. Of the four sides of the paper, the side on which the paper is ejected is the upper side, the side opposite to the upper side is the lower side, and of the two sides sandwiched between the upper side and the lower side, one is the right side and the other is the left side. The top margin is the margin from the top side to the print area, the bottom margin is the margin from the bottom side to the print area, the right margin is the margin to the right side and the print area, and the left margin is the margin to the left side and the print area. The margin. Further, in the printer 10, in the case of long paper, of the four sides of the paper including the print area, the side generated by cutting the paper by the above-mentioned cutter of the printing engine 51 after the image is printed on the paper. Is the bottom side. The length will be described later. The definitions of the top margin, bottom margin, left margin, and right margin may differ depending on the type of printer.

また、シート状の用紙は、様々な形態が存在する。例えば、帯状の剥離剤層とほぼ同じ長さの帯状の用紙である「長尺紙」と、所定の離間距離(以下ラベル間距離と記載する)で離間する複数の用紙が剥離剤層に貼着された「ダイカット紙」とがある。 Further, the sheet-shaped paper has various forms. For example, "long paper", which is a strip-shaped paper having almost the same length as the strip-shaped release agent layer, and a plurality of papers separated by a predetermined separation distance (hereinafter referred to as the distance between labels) are attached to the release agent layer. There is a "die-cut paper" that is worn.

センサユニット52は、用紙のサイズや形態を検出する複数のセンサを備える。一のセンサは、用紙の幅に応じた信号を出力する。他の一のセンサは、用紙の長さに応じた信号や、ラベル間距離に応じた信号を出力する。センサは、例えば、光を照射する発光ダイオードと、入射した光に応じた電圧の信号を出力するフォトダイオードとを有するフォトカプラや、用紙を固定するスライド部材の位置を検出するポジションセンサなどである。なお、用紙のサイズや形態を検出可能であれば、どのようなセンサがセンサユニット52に用いられてもよい。 The sensor unit 52 includes a plurality of sensors that detect the size and shape of the paper. One sensor outputs a signal according to the width of the paper. The other sensor outputs a signal according to the length of the paper and a signal according to the distance between labels. The sensor is, for example, a photocoupler having a light emitting diode that irradiates light and a photodiode that outputs a voltage signal corresponding to the incident light, a position sensor that detects the position of a slide member that fixes the paper, and the like. .. Any sensor may be used for the sensor unit 52 as long as the size and shape of the paper can be detected.

センサユニット52が出力する信号は、制御プログラム46に入力される。制御プログラム46は、センサユニット52から入力した信号に基づいて、収容部にセットされた用紙の幅、用紙が長尺であるか又はダイカットであるか、ダイカットである場合は用紙の長さ及びラベル間距離を決定し、メモリ42に記憶させる。 The signal output by the sensor unit 52 is input to the control program 46. The control program 46 is based on the signal input from the sensor unit 52, the width of the paper set in the accommodating portion, the length of the paper if the paper is long or die-cut, and the length and label of the paper if it is die-cut. The distance is determined and stored in the memory 42.

本明細書では、基本的に、プログラムに記述された命令に従ったCPUの処理を説明する。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」、「設定」等の処理は、CPUの処理を表している。CPUによる処理は、OSなどのコントローラを介したハードウェア制御も含む。なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPUが要求することなくデータを受信するという処理も、「CPUがデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。「命令」「応答」「要求」等の処理は、「命令」「応答」「要求」等を示す情報を通信することにより行われる。また、「命令」「応答」「要求」等の文言を、「命令」「応答」「要求」等を示す情報そのものという意味で記載してもよい。 This specification basically describes the processing of the CPU according to the instruction described in the program. That is, the processes such as "judgment", "extraction", "selection", "calculation", "decision", "specification", "acquisition", "acceptance", "control", and "setting" in the following explanation are performed. It represents the processing of the CPU. The processing by the CPU also includes hardware control via a controller such as an OS. Note that "acquisition" is used as a concept that does not require a request. That is, the process of receiving data without the CPU requesting is also included in the concept of "the CPU acquires the data". Further, the "data" in the present specification is represented by a computer-readable bit string. Data having the same substantial meaning and different formats are treated as the same data. The same applies to "information" in the present specification. Processing such as "command", "response", and "request" is performed by communicating information indicating "command", "response", "request", and the like. In addition, words such as "command", "response", and "request" may be described in the sense of information itself indicating "command", "response", "request", and the like.

また、プログラムに記述された命令に従ったCPUの処理を、省略した文言で記載することがある。例えば、「CPU21が行う」「プログラム27が行う」「情報処理装置11が行う」のように記載することがある。CPU41についても同様である。また、通信I/F、ユーザI/Fを通じてプログラムが情報の入出力を行うことを、省略した文言で記載することがある。例えば、「CPU21が受信する」、「プログラム27が送信する」、「情報処理装置11が取得する」のように記載することがある。 In addition, the processing of the CPU according to the instruction described in the program may be described in abbreviated wording. For example, it may be described as "performed by the CPU 21", "performed by the program 27", or "performed by the information processing apparatus 11". The same applies to the CPU 41. Further, it may be described in abbreviated terms that the program inputs / outputs information through the communication I / F and the user I / F. For example, it may be described as "received by the CPU 21", "transmitted by the program 27", or "acquired by the information processing apparatus 11".

また、CPUによる、情報Aは事柄Bであることを示しているか否かを判断する処理を、「情報Aから、事柄Bであるか否かを判断する」のように概念的に記載することがある。CPUによる、情報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 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 the information A is the matter B or the matter C by the CPU is "determining from the information A whether the information A is the matter B or the matter C". It may be described conceptually as.

また、本明細書中の「データ」と「情報」とは、コンピュータによって取り扱い可能なビット或いはビット列である点において共通する。「データ」とは、各ビットが示す意味内容をコンピュータが考慮することなく取り扱えるものを指す。これに対して、「情報」とは、各ビットが示す意味内容によってコンピュータの動作が分岐するものを指す。さらに、「指示」は、送信先の装置に対して次の動作を促すための制御信号であって、情報を含んでいることもあるし、それ自体が情報としての性質を有していることもある。 Further, "data" and "information" in the present specification are common in that they are bits or bit strings that can be handled by a computer. "Data" refers to data that can be handled without the computer considering the meaning and content of each bit. On the other hand, "information" refers to information in which the operation of a computer branches depending on the meaning of each bit. Further, the "instruction" is a control signal for urging the destination device to perform the next operation, and may include information, or has the property of information itself. There is also.

また、「データ」及び「情報」は、形式(例えば、テキスト形式、バイナリ形式、フラグ形式等)がコンピュータ毎に変更されたとしても、同一の意味内容と認識される限り、同一のデータ及び情報として取り扱われる。例えば、「2つ」であることを示す情報が、あるコンピュータではASCIIコードで”0x32”というテキスト形式の情報として保持され、別のコンピュータでは二進数表記で”10”というバイナリ形式の情報として保持されてもよい。 In addition, "data" and "information" are the same data and information as long as they are recognized as having the same meaning even if the format (for example, text format, binary format, flag format, etc.) is changed for each computer. Treated as. For example, the information indicating "two" is held as text format information "0x32" in ASCII code on one computer, and as binary format information "10" in binary notation on another computer. May be done.

但し、上記の「データ」及び「情報」の区別は厳密なものではなく、例外的な取り扱いも許容される。例えば、データが一時的に情報として扱われてもよいし、情報が一時的にデータとして扱われてもよい。また、ある装置ではデータとして扱われるものが、他の装置では情報として扱われてもよい。さらには、データの中から情報が取り出されてもよいし、情報の中からデータが取り出されてもよい。 However, the above distinction between "data" and "information" is not strict, and exceptional handling is permitted. For example, the data may be temporarily treated as information, or the information may be temporarily treated as data. Further, what is treated as data in one device may be treated as information in another device. Furthermore, information may be retrieved from the data, or data may be retrieved from the information.

また、本明細書中の「に応じて」は、当該文字列の前に記載された条件が満たされた場合に、当該文字列の後に記載された処理が実行されることを示す。なお、処理が実行されるタイミングは、条件が満たされた後であればよく、当該条件が満たされた直後である必要は必ずしもない。 Further, "according to" in the present specification indicates that the processing described after the character string is executed when the conditions described before the character string are satisfied. It should be noted that the timing at which the processing is executed may be after the condition is satisfied, and does not necessarily have to be immediately after the condition is satisfied.

以下、図2から図6(A)を参照して、情報処理装置11にインストールされたプログラム27が、ユーザ指定の用紙を登録する登録処理を説明する。 Hereinafter, with reference to FIGS. 2 to 6A, a registration process in which the program 27 installed in the information processing apparatus 11 registers a user-designated form will be described.

ユーザは、プリンタドライバ26を起動させる。起動されたプリンタドライバ26は、例えば、用紙登録の実行の指示を受け付ける用紙登録アイコンを含む操作画面をディスプレイ31に表示させる。プリンタドライバ26は、用紙登録アイコンの選択を受け付けると、プログラム27の起動を指示する起動指示をOS25に出力する。起動指示には、起動指示を出力したプリンタドライバを示す情報(以下、プリンタドライバ名とも記載する)を含む。起動指示を受け付けたOS25は、プログラム27を起動させ(S11)、起動を指示したプリンタドライバ名をプログラム27に引き渡す。プログラム27がOS25を介してプリンタドライバから起動指示を受け付ける処理は、起動指示受付手段の一例である。 The user activates the printer driver 26. The activated printer driver 26 displays, for example, an operation screen including a paper registration icon for receiving an instruction to execute paper registration on the display 31. When the printer driver 26 accepts the selection of the paper registration icon, the printer driver 26 outputs a start instruction instructing the start of the program 27 to the OS 25. The start instruction includes information indicating the printer driver that output the start instruction (hereinafter, also referred to as a printer driver name). The OS 25 that has received the start instruction starts the program 27 (S11), and hands over the printer driver name instructed to start to the program 27. The process in which the program 27 receives a start instruction from the printer driver via the OS 25 is an example of the start instruction receiving means.

起動されたプログラム27は、起動を指示したプリンタドライバ名で特定されるプリンタドライバ26に対して、プリンタ10の機能情報を要求する。例えば、プログラム27は、機能情報を引き渡すことを要求するコマンドをOS25に出力し、OS25を介してプリンタドライバ26からプリンタ10の機能情報を取得する(S12)。プリンタ10の機能情報を取得するS12の処理は、機能情報取得手段の一例である。 The started program 27 requests the functional information of the printer 10 from the printer driver 26 specified by the printer driver name instructed to start. For example, the program 27 outputs a command requesting the delivery of the function information to the OS 25, and acquires the function information of the printer 10 from the printer driver 26 via the OS 25 (S12). The process of S12 for acquiring the functional information of the printer 10 is an example of the functional information acquisition means.

機能情報は、プリンタ10にセット可能な用紙の幅及び長さの上限値及び下限値を示す情報と、設定可能な左余白、右余白、上余白、及び下余白の上限値及び下限値を示す情報と、プリンタ10に入力された印刷データをプリンタ10が回転させて印刷するか否かを示す情報(以下、回転情報とも記載する)とを含む。 The function information indicates information indicating the upper and lower limit values of the width and length of the paper that can be set in the printer 10, and the upper and lower limit values of the left margin, the right margin, the top margin, and the bottom margin that can be set. It includes information and information indicating whether or not the printer 10 rotates and prints the print data input to the printer 10 (hereinafter, also referred to as rotation information).

プログラム27は、取得したプリンタドライバ名及び機能情報を用いて、用紙登録画面をディスプレイ31に表示させる。図4を参照して、用紙登録画面について詳しく説明する。なお、図4に示される用紙登録画面は、ユーザがユーザI/F32を用いて入力を行った後の状態を示している。また、図4(A)は、プリンタ10にセットされた用紙がダイカット紙である場合にディスプレイ31に表示される用紙登録画面を示し、図4(B)は、プリンタ10にセットされた用紙が長尺紙である場合にディスプレイ31に表示される用紙登録画面を示している。 The program 27 displays the paper registration screen on the display 31 using the acquired printer driver name and function information. The paper registration screen will be described in detail with reference to FIG. The paper registration screen shown in FIG. 4 shows a state after the user has input using the user I / F32. Further, FIG. 4A shows a paper registration screen displayed on the display 31 when the paper loaded in the printer 10 is die-cut paper, and FIG. 4B shows the paper loaded in the printer 10. The paper registration screen displayed on the display 31 in the case of long paper is shown.

用紙登録画面は、複数の表示領域を有する。複数の表示領域は、上から順に、用紙名などの入力を受け付ける基本表示領域、プリンタ10にセットされた用紙の幅などが表示される用紙表示領域、用紙の余白が表示される余白表示領域、及び、調整アイコン69等のアイコンが表示される調整/登録表示領域である。 The paper registration screen has a plurality of display areas. The plurality of display areas are, in order from the top, a basic display area that accepts input such as a paper name, a paper display area that displays the width of the paper set in the printer 10, and a margin display area that displays paper margins. It is an adjustment / registration display area in which an icon such as the adjustment icon 69 is displayed.

基本表示領域には、項目「用紙名」と、用紙名を入力可能なテキストボックス61と、項目「プリンタドライバ」と、プリンタドライバ名を選択可能なプルダウンメニュー62と、項目「用紙形態」と、用紙形態を選択可能なプルダウンメニュー63と、「テストプリント」アイコン64と、「キャリブレーション」アイコン65とが表示される。 In the basic display area, there are an item "paper name", a text box 61 in which the paper name can be entered, an item "printer driver", a pull-down menu 62 in which the printer driver name can be selected, and an item "paper form". A pull-down menu 63 for selecting the paper form, a "test print" icon 64, and a "calibration" icon 65 are displayed.

S13でディスプレイ31に表示される用紙登録画面では、用紙名を入力可能なテキストボックス61と、用紙形態を選択可能なプルダウンメニュー63とは、空白である。また、S13でディスプレイ31に表示される用紙登録画面では、プリンタドライバ名を選択可能なプルダウンメニュー62には、起動時にOS25から取得したプリンタドライバ名が表示される。また、S13でディスプレイ31に表示される用紙登録画面では、「テストプリント」アイコン64及び「キャリブレーション」アイコン65は、グレー表示にされており、選択不可である。 On the paper registration screen displayed on the display 31 in S13, the text box 61 in which the paper name can be input and the pull-down menu 63 in which the paper form can be selected are blank. Further, on the paper registration screen displayed on the display 31 in S13, the printer driver name acquired from the OS 25 at startup is displayed in the pull-down menu 62 in which the printer driver name can be selected. Further, on the paper registration screen displayed on the display 31 in S13, the "test print" icon 64 and the "calibration" icon 65 are grayed out and cannot be selected.

プログラム27は、ユーザがユーザI/F32を用いて、テキストボックス61に用紙名を入力し(S14)、かつ、プルダウンメニュー62にプリンタドライバ名が表示されていることに応じて、グレー表示にされて選択不可とされていた「キャリブレーション」アイコン65を、通常表示にして、選択可能とする。 The program 27 is grayed out according to the user inputting the paper name in the text box 61 using the user I / F 32 (S14) and displaying the printer driver name in the pull-down menu 62. The "calibration" icon 65, which was not selectable, is displayed normally and can be selected.

また、プログラム27は、入力可能な状態の、テキストボックス61や、プルダウンメニュー62、63や、後述のスピンボックス66、67、75~78の全てに文字や数値が入力されて空白でないことに応じて、グレー表示であった「テストプリント」アイコン64を通常表示にして、選択可能にする。 Further, the program 27 responds to the fact that characters and numerical values are input to all of the text boxes 61, the pull-down menus 62 and 63, and the spin boxes 66, 67, 75 to 78 described later, which are ready for input, and are not blank. Then, the grayed-out "test print" icon 64 is changed to the normal display so that it can be selected.

用紙表示領域は、ダイカット紙を示す第1オブジェクト71または長尺紙を示す第2オブジェクト72のいずれか一方のオブジェクトと、項目「幅」と、用紙の幅の上限値及び下限値と、用紙の幅を入力可能なスピンボックス66と、項目「長さ」と、用紙の長さの上限値及び下限値と、用紙の長さを入力可能なスピンボックス67と、項目「ラベル間距離」と、用紙のラベル間距離を入力可能なスピンボックス68とが表示される。 The paper display area includes an object of either the first object 71 indicating die-cut paper or the second object 72 indicating long paper, an item "width", upper and lower limit values of paper width, and paper. A spin box 66 in which the width can be input, an item "length", an upper limit and a lower limit of the paper length, a spin box 67 in which the paper length can be input, and an item "distance between labels". A spin box 68 is displayed in which the distance between paper labels can be input.

S13でディスプレイ31に表示される用紙登録画面では、スピンボックス66、67、68は、空白である。また、第1オブジェクト71及び第2オブジェクト72は非表示である。 On the paper registration screen displayed on the display 31 in S13, the spin boxes 66, 67, and 68 are blank. Further, the first object 71 and the second object 72 are hidden.

また、用紙の幅の上限値及び下限値には、S12で取得した機能情報に含まれるプリンタ10にセット可能な用紙の幅及び長さの上限値及び下限値が表示される。図示例では、用紙の幅の上限値及び下限値として[12.0-114.0]が表示され、用紙の長さの上限値及び下限値として[6.0-1000.0]が表示されている。 Further, in the upper limit value and the lower limit value of the width of the paper, the upper limit value and the lower limit value of the width and the length of the paper that can be set in the printer 10 included in the functional information acquired in S12 are displayed. In the illustrated example, [12.0-114.0] is displayed as the upper limit value and the lower limit value of the paper width, and [6.0-1000.0] is displayed as the upper limit value and the lower limit value of the paper length. ing.

S12で取得した機能情報に含まれる用紙の幅及び長さの上限値及び下限値は、スピンボックス66、67の入力制限にも用いられる。プログラム27は、S14において、スピンボックス66、67にユーザが入力した数値が、機能情報に含まれる用紙の幅及び長さの上限値及び下限値の範囲内にないと判断すると、入力された数値を受け付けることができない旨を示すエラー画面を、例えばポップアップ画面として用紙登録画面に重ねて表示させ、入力された数値を受け付けない。 The upper and lower limit values of the width and length of the paper included in the functional information acquired in S12 are also used for input restrictions of the spin boxes 66 and 67. When the program 27 determines in S14 that the numerical value input by the user in the spin boxes 66 and 67 is not within the range of the upper limit value and the lower limit value of the width and length of the paper included in the functional information, the input numerical value. An error screen indicating that the information cannot be accepted is displayed on the paper registration screen as a pop-up screen, for example, and the input numerical value is not accepted.

S14において、ユーザが、プルダウンメニュー63を用いて用紙形態「ダイカット紙」を選択すると、若しくは、後述のキャリブレーション結果が反映されて用紙形態「ダイカット紙」がプルダウンメニュー63に表示されると、図4(B)に示されるように、第1オブジェクト71が用紙表示領域に表示される。第1オブジェクト71は、ダイカット紙を示す画像と、用紙の幅を示す数値(58.0)と、用紙の長さを示す数値(80.0)とを含む。第1オブジェクト71の数値(58.0)は、スピンボックス66の数値(58.0)が用紙のいずれの場所の長さを示す数値であるかをユーザに認識させる。また、第1オブジェクト71の数値(80.0)は、スピンボックス67の数値(80.0)が用紙のいずれの場所の長さを示す数値であるかをユーザに認識させる。すなわち、ユーザは、第1オブジェクト71の数値(58.0)とスピンボックス66の数値(58.0)とが一致していることにより、図における第1オブジェクト71の左右方向の長さが用紙の「幅」であると認識する。また、ユーザは、第1オブジェクト71の数値(80.0)とスピンボックス67の数値(80.0)とが一致していることにより、図における第1オブジェクト71の上下方向の長さが用紙の「長さ」であると認識する。なお、ユーザがスピンボックス66、67の数値を変更すると、第1オブジェクト71の数値も変更される。 In S14, when the user selects the paper form "die-cut paper" using the pull-down menu 63, or when the calibration result described later is reflected and the paper form "die-cut paper" is displayed in the pull-down menu 63, FIG. As shown in 4 (B), the first object 71 is displayed in the paper display area. The first object 71 includes an image showing a die-cut paper, a numerical value (58.0) indicating the width of the paper, and a numerical value (80.0) indicating the length of the paper. The numerical value (58.0) of the first object 71 makes the user recognize which place of the paper the numerical value (58.0) of the spin box 66 is the numerical value indicating the length of the paper. Further, the numerical value (80.0) of the first object 71 makes the user recognize which place on the paper the numerical value (80.0) of the spin box 67 is the numerical value indicating the length of the paper. That is, since the numerical value (58.0) of the first object 71 and the numerical value (58.0) of the spin box 66 match, the user can set the length of the first object 71 in the figure in the left-right direction on the paper. Recognize that it is the "width" of. Further, since the numerical value (80.0) of the first object 71 and the numerical value (80.0) of the spin box 67 match, the user can set the length of the first object 71 in the figure in the vertical direction on the paper. Recognize that it is the "length" of. When the user changes the numerical values of the spin boxes 66 and 67, the numerical values of the first object 71 are also changed.

S14において、ユーザが、プルダウンメニュー63を用いて用紙形態「長尺紙」を選択すると、若しくは、後述のキャリブレーション結果が反映されて用紙形態「長尺紙」がプルダウンメニュー63に表示されると、図4(A)に示されるように、第2オブジェクト72が用紙表示領域に表示される。第2オブジェクト72は、長尺紙を示す画像と、用紙の幅を示す数値(58.0)とを含む。第2オブジェクト72の数値は、スピンボックス66の数値(58.0)が用紙のいずれの場所の長さを示す数値であるかをユーザに認識させる。すなわち、ユーザは、第2オブジェクト72の数値とスピンボックス66の数値とが一致していることにより、図における第2オブジェクト72の左右方向の長さが用紙の「幅」であると認識する。 In S14, when the user selects the paper form "long paper" using the pull-down menu 63, or when the calibration result described later is reflected and the paper form "long paper" is displayed in the pull-down menu 63. , The second object 72 is displayed in the paper display area as shown in FIG. 4 (A). The second object 72 includes an image showing a long paper and a numerical value (58.0) showing the width of the paper. The numerical value of the second object 72 makes the user recognize which place of the paper the numerical value (58.0) of the spin box 66 is the numerical value indicating the length of the paper. That is, the user recognizes that the left-right length of the second object 72 in the figure is the "width" of the paper because the numerical value of the second object 72 and the numerical value of the spin box 66 match.

余白表示領域には、第3オブジェクト73または第4オブジェクト74のいずれか一方のオブジェクトと、左右上下の各余白の上限値及び下限値と、各余白の値を選択可能なスピンボックス75、76、77、78とが表示される。 In the margin display area, one of the objects of the third object 73 or the fourth object 74, the upper and lower limit values of the left, right, upper and lower margins, and the spin boxes 75 and 76 in which the value of each margin can be selected. 77 and 78 are displayed.

S13でディスプレイ31に表示される用紙登録画面では、スピンボックス75~78は、空白である。また、第3オブジェクト73及び第4オブジェクト74は非表示である。 On the paper registration screen displayed on the display 31 in S13, the spin boxes 75 to 78 are blank. Further, the third object 73 and the fourth object 74 are hidden.

左右上下の各余白の上限値及び下限値には、S12で取得した機能情報に含まれる情報であって、プリンタ10で設定可能な左右上下の各余白の上限値及び下限値が表示される。図示例では、左右上下の各余白の上限値及び下限値として[0.1-4.0]がそれぞれ表示されている。 The upper and lower limits of the left, right, top and bottom margins are the information included in the functional information acquired in S12, and the upper and lower limits of the left, right, top and bottom margins that can be set by the printer 10 are displayed. In the illustrated example, [0.1-4.0] is displayed as the upper limit value and the lower limit value of each of the left, right, top, and bottom margins.

S12で取得した機能情報に含まれる左余白、右余白、上余白、下余白の上限値及び下限値は、スピンボックス75~78の入力制限にも用いられる。プログラム27は、スピンボックス75~78にユーザが入力した数値が、機能情報に含まれる各余白の上限値及び下限値の範囲内にないと判断すると、入力された数値を受け付けることができない旨を示すエラー画面を、例えばポップアップ画面として用紙登録画面に重ねて表示させ、入力された数値を受け付けない。 The upper and lower limit values of the left margin, the right margin, the upper margin, and the lower margin included in the functional information acquired in S12 are also used for input restrictions of the spin boxes 75 to 78. If the program 27 determines that the numerical value input by the user in the spin boxes 75 to 78 is not within the range of the upper limit value and the lower limit value of each margin included in the function information, the program 27 cannot accept the input numerical value. The indicated error screen is displayed on the paper registration screen as a pop-up screen, for example, and the entered numerical value is not accepted.

S14において、ユーザが、プルダウンメニュー63を用いて用紙形態「ダイカット紙」を選択すると、若しくは、後述のキャリブレーション結果が反映されて用紙形態「ダイカット紙」がプルダウンメニュー63に表示されると、図4(B)に示されるように、第3オブジェクト73が余白表示領域に表示される。 In S14, when the user selects the paper form "die-cut paper" using the pull-down menu 63, or when the calibration result described later is reflected and the paper form "die-cut paper" is displayed in the pull-down menu 63, FIG. As shown in 4 (B), the third object 73 is displayed in the margin display area.

図示例では、第3オブジェクト73は、テスト画像(ABC)を示す画像と、左余白を示す数値(1.6)と、右余白を示す数値(1.5)と、上余白を示す数値(3.1)と、下余白を示す数値(3.0)とを有する。 In the illustrated example, the third object 73 has an image showing a test image (ABC), a numerical value indicating the left margin (1.6), a numerical value indicating the right margin (1.5), and a numerical value indicating the upper margin (a numerical value indicating the upper margin). It has 3.1) and a numerical value (3.0) indicating a bottom margin.

第3オブジェクト73の各数値は、スピンボックス75~78が示す数値が、テスト画像のいずれの部分の余白であるかを示す。ユーザは、第3オブジェクト73の数値(1.6)とスピンボックス75の数値(1.6)とが一致していることにより、図における第3オブジェクト73の左の余白が「左余白」であると認識する。また、ユーザは、第3オブジェクト73の数値(1.5)とスピンボックス76の数値(1.5)とが一致していることにより、図における第3オブジェクト73の右の余白が「右余白」であると認識する。また、ユーザは、第3オブジェクト73の数値(3.1)とスピンボックス77の数値(3.1)とが一致していることにより、図における第3オブジェクト73の上の余白が「上余白」であると認識する。また、ユーザは、第3オブジェクト73の数値(3.0)とスピンボックス78の数値(3.0)とが一致していることにより、図における第3オブジェクト73の下の余白が「下余白」であると認識する。スピンボックス75、76に表示される数値は、第1余白値の一例である。スピンボックス77、78に表示される数値は、第2余白値の一例である。 Each numerical value of the third object 73 indicates which part of the test image the numerical value indicated by the spin boxes 75 to 78 is the margin. Since the numerical value (1.6) of the third object 73 and the numerical value (1.6) of the spin box 75 match, the user can set the left margin of the third object 73 in the figure to be the “left margin”. Recognize that there is. Further, the user can see that the right margin of the third object 73 in the figure is "right margin" because the numerical value (1.5) of the third object 73 and the numerical value (1.5) of the spin box 76 match. Recognize that. Further, the user can see that the numerical value (3.1) of the third object 73 and the numerical value (3.1) of the spin box 77 match, so that the upper margin of the third object 73 in the figure is "upper margin". Recognize that. In addition, since the numerical value (3.0) of the third object 73 and the numerical value (3.0) of the spin box 78 match, the user can set the lower margin of the third object 73 in the figure to "lower margin". Recognize that. The numerical values displayed on the spin boxes 75 and 76 are examples of the first margin values. The numerical values displayed in the spin boxes 77 and 78 are examples of the second margin values.

S14において、ユーザが、プルダウンメニュー63を用いて用紙形態「長尺紙」を選択すると、若しくは、後述のキャリブレーション結果が反映されて用紙形態「長尺紙」がプルダウンメニュー63に表示されると、図4(A)に示されるように、第4オブジェクト74が用紙表示領域に表示される。 In S14, when the user selects the paper form "long paper" using the pull-down menu 63, or when the calibration result described later is reflected and the paper form "long paper" is displayed in the pull-down menu 63. , The fourth object 74 is displayed in the paper display area, as shown in FIG. 4 (A).

図示例では、第4オブジェクト74は、図4(A)に示されるように、テスト画像(ABC)を示す画像と、左余白を示す数値(1.6)と、右余白を示す数値(1.5)と、下余白を示す数値(3.0)とを有する。 In the illustrated example, as shown in FIG. 4A, the fourth object 74 has an image showing a test image (ABC), a numerical value (1.6) indicating a left margin, and a numerical value (1) indicating a right margin. It has .5) and a numerical value (3.0) indicating the bottom margin.

第4オブジェクト74の各数値は、第3オブジェクト73と同様に、スピンボックス75~77が示す数値が、テスト画像のいずれの部分の余白であるかを示す。 Each numerical value of the fourth object 74, like the third object 73, indicates which part of the test image the numerical value indicated by the spin boxes 75 to 77 is the margin.

プルダウンメニュー63で「長尺紙」が選択されると、上余白が表示されるプルダウンメニュー77には、グレー表示の「0.0」が表示される。上余白を示すプルダウンメニュー77がグレー表示にされるのは、長尺紙の場合、プリンタ10の構成によって、用紙の先端の位置が不明となるためである。 When "long paper" is selected in the pull-down menu 63, a grayed out "0.0" is displayed in the pull-down menu 77 in which the top margin is displayed. The pull-down menu 77 indicating the upper margin is grayed out because, in the case of long paper, the position of the leading edge of the paper is unknown depending on the configuration of the printer 10.

調整/登録表示領域には、「調整」アイコン69と、「追加」アイコン70Aと、「キャンセル」アイコン70Bとが表示される。 S13でディスプレイ31に表示される用紙登録画面では、「調整」アイコン69及び「追加」アイコン70Aは、グレー表示であり、選択不可である。 In the adjustment / registration display area, the "adjustment" icon 69, the "addition" icon 70A, and the "cancel" icon 70B are displayed. On the paper registration screen displayed on the display 31 in S13, the "adjustment" icon 69 and the "addition" icon 70A are grayed out and cannot be selected.

プログラム27は、入力が可能な状態の、テキストボックス61やプルダウンメニュー62、63やスピンボックス66、67、75~78の全てに文字や数値が表示されて空白でないことに応じて、グレー表示であった「調整」アイコン69及び「追加」アイコン70Aを通常表示にして、選択可能にする。 The program 27 is grayed out according to the fact that characters and numerical values are displayed in all of the text boxes 61, pull-down menus 62, 63, and spin boxes 66, 67, 75 to 78 in a state where input is possible and are not blank. The existing "adjustment" icon 69 and "addition" icon 70A are displayed normally and can be selected.

「調整」アイコン69は、用紙の幅や長さを調整する調整画面をディスプレイ31に表示させて用紙の長さや幅の調整を受け付けるアイコンである。「追加」アイコン70Aは、用紙登録画面に表示された内容が示す用紙をメモリ22に記憶して登録するアイコンである。「キャンセル」アイコン70Bは、用紙登録をキャンセルするアイコンである。詳しくは後述する。 The "adjustment" icon 69 is an icon that displays an adjustment screen for adjusting the width and length of the paper on the display 31 and accepts the adjustment of the length and width of the paper. The "addition" icon 70A is an icon for storing and registering the paper indicated by the contents displayed on the paper registration screen in the memory 22. The "cancel" icon 70B is an icon for canceling the paper registration. Details will be described later.

次に、プログラム27は、「キャリブレーション」アイコン65の選択を受け付けたか否かを判断する(S15)。プログラム27は、「キャリブレーション」アイコン65の選択を受け付けたと判断すると(S15:Yes)、キャリブレーションの実行を指示する指示コマンドを、OS25を通じてプリンタ10に送信する(S16)。キャリブレーションとは、プリンタ10にセットされた用紙の形態やサイズを検出することを意味する。すなわち、指示コマンドは、プリンタ10にセットされた用紙の形態やサイズを検出することをプリンタ10に指示するコマンドである。 Next, the program 27 determines whether or not the selection of the “calibration” icon 65 has been accepted (S15). When the program 27 determines that the selection of the "calibration" icon 65 has been accepted (S15: Yes), the program 27 transmits an instruction command instructing execution of the calibration to the printer 10 through the OS 25 (S16). Calibration means detecting the form and size of the paper loaded in the printer 10. That is, the instruction command is a command instructing the printer 10 to detect the form and size of the paper loaded in the printer 10.

プリンタ10の制御プログラム46は、指示コマンドを受信すると、受信した指示コマンドにしたがって、センサユニット52を駆動させ、ダイカット紙や長尺紙である用紙の形態と、用紙の幅と、用紙の形態がダイカット紙である場合は、用紙の長さ及びラベル間距離と、を検出する。制御プログラム46は、用紙の長さがセンサユニット52で検出可能な上限値を超えたことに応じて、用紙の形態を「長尺紙」と決定し、用紙の長さをセンサユニットで検出したことに応じて、用紙の形態を「ダイカット紙」と決定する。用紙の幅に沿う方向は、第1方向の一例である。用紙の長さに沿う方向は、第2方向の一例である。用紙の幅は、第1サイズの一例である。用紙の長さは、第2サイズの一例である。用紙が「長尺」であることを示す情報は、特定情報の一例である。用紙が「長尺」であることを示す情報、及び用紙の長さは、第2サイズ対応情報の一例である。 When the control program 46 of the printer 10 receives an instruction command, the sensor unit 52 is driven according to the received instruction command, and the form of the die-cut paper or the long paper, the width of the paper, and the form of the paper are changed. In the case of die-cut paper, the length of the paper and the distance between labels are detected. The control program 46 determines the form of the paper as "long paper" according to the fact that the length of the paper exceeds the upper limit value that can be detected by the sensor unit 52, and detects the length of the paper by the sensor unit. Accordingly, the form of the paper is determined to be "die-cut paper". The direction along the width of the paper is an example of the first direction. The direction along the length of the paper is an example of the second direction. The width of the paper is an example of the first size. The length of the paper is an example of the second size. The information indicating that the paper is "long" is an example of specific information. The information indicating that the paper is "long" and the length of the paper are examples of the second size correspondence information.

プリンタ10の制御プログラム46は、検出した用紙の形態と、用紙の幅及び長さと、ラベル間距離とを含むキャリブレーション結果を、受信した指示コマンドの応答として、情報処理装置11に送信する。 The control program 46 of the printer 10 transmits a calibration result including the detected form of the paper, the width and length of the paper, and the distance between labels to the information processing apparatus 11 as a response to the received instruction command.

情報処理装置11のプログラム27は、プリンタ10が送信したキャリブレーション結果を受信する(S17)。プログラム27は、受信したキャリブレーション結果を示すキャリブレーション実行画面を、ポップアップウインドウとして用紙登録画面に重ねてディスプレイ31に表示させる(S18)。プログラム27がキャリブレーション結果を受信するS17の処理は、サイズ取得手段の一例である。 The program 27 of the information processing apparatus 11 receives the calibration result transmitted by the printer 10 (S17). The program 27 superimposes the calibration execution screen showing the received calibration result on the paper registration screen as a pop-up window and displays it on the display 31 (S18). The process of S17 in which the program 27 receives the calibration result is an example of the size acquisition means.

キャリブレーション実行画面には、S17で受信したキャリブレーション結果である用紙の形態と、用紙の幅及び長さと、ラベル間距離と、余白の入力を行うことをユーザに促す文字や図形と、テスト印刷を実行して用紙の幅及び長さを調整することをユーザに促す文字や図形と、「OK」アイコンとが表示される。プログラム27は、「OK」アイコンが選択されたことに応じて、キャリブレーション実行画面を閉じる。 On the calibration execution screen, the form of the paper that is the calibration result received in S17, the width and length of the paper, the distance between the labels, the characters and figures that prompt the user to input the margins, and the test print. Characters and figures that prompt the user to adjust the width and length of the paper and the "OK" icon are displayed. The program 27 closes the calibration execution screen according to the selection of the "OK" icon.

また、プログラム27は、S17で受信したキャリブレーション結果をメモリ22に記憶させるとともに(S19)、キャリブレーション結果を用紙登録画面に反映させる(S20)。具体的には、プログラム27は、キャリブレーション結果が示す用紙の形態をテキストボックス63に表示させ、キャリブレーション結果が示す用紙の幅をスピンボックス66に表示させ、キャリブレーション結果が示す用紙の長さをスピンボックス67に表示させ、キャリブレーション結果が示すラベル間距離をスピンボックス68に表示させる。フローチャートには示されていないが、プログラム27は、キャリブレーション結果が示す用紙の形態に基づいて、プリンタ10にセットされた用紙が長尺紙であるかダイカット紙であるかを判断する。プログラム27は、用紙がダイカット紙であると判断したことに応じて、第1オブジェクト71を用紙登録画面に表示させ、用紙が長尺紙であると判断したことに応じて、第2オブジェクト72を用紙登録画面に表示させる。用紙がダイカット紙であるか長尺紙であるかを判断する処理は、判断手段の一例である。 Further, the program 27 stores the calibration result received in S17 in the memory 22 (S19) and reflects the calibration result on the paper registration screen (S20). Specifically, the program 27 displays the form of the paper indicated by the calibration result in the text box 63, displays the width of the paper indicated by the calibration result in the spin box 66, and displays the length of the paper indicated by the calibration result. Is displayed on the spin box 67, and the distance between labels indicated by the calibration result is displayed on the spin box 68. Although not shown in the flowchart, the program 27 determines whether the paper loaded in the printer 10 is long paper or die-cut paper based on the form of the paper indicated by the calibration result. The program 27 displays the first object 71 on the paper registration screen in response to the determination that the paper is die-cut paper, and displays the second object 72 in response to the determination that the paper is long paper. Display on the paper registration screen. The process of determining whether the paper is die-cut paper or long paper is an example of the determination means.

また、プログラム27は、キャリブレーション結果を用紙登録画面に反映させるとともに、余白の値が表示されるスピンボックス75~78に、初期値を表示させる。初期値は、例えば「2.0」である。 Further, the program 27 reflects the calibration result on the paper registration screen and displays the initial value in the spin boxes 75 to 78 on which the margin value is displayed. The initial value is, for example, "2.0".

ユーザは、キャリブレーション実行画面に表示された余白の入力を行うことを促す文字や図形に応じて、スピンボックス75~78に表示された初期値(2.0)をユーザI/F32を用いて変更する。プログラム27は、ユーザI/F32を用いてユーザが入力した左右上下の各余白の値の入力を受け付け(S21)、受け付けた左右上下の各余白の値をメモリ22に記憶させるとともに、受け付けた左右上下の各余白の値をスピンボックス75~78に表示させる。余白の値の入力を受け付けるS21の処理は、余白取得手段の一例である。 The user uses the user I / F 32 to set the initial value (2.0) displayed on the spin boxes 75 to 78 according to the characters or figures displayed on the calibration execution screen to prompt the user to input the margin. change. The program 27 accepts the input of the left, right, top, and bottom margin values input by the user using the user I / F 32 (S21), stores the accepted left, right, top, and bottom margin values in the memory 22, and accepts the left and right margins. The values of the upper and lower margins are displayed on the spin boxes 75 to 78. The process of S21 that accepts the input of the margin value is an example of the margin acquisition means.

そして、プログラム27は、「テストプリント」アイコン64が選択されたか否かを判断する(S22)。プログラム27は、「テストプリント」アイコン64が選択されないと判断すると(S23:No)、後述のS23~S31の処理をスキップする。プログラム27は、「テストプリント」アイコン64が選択されたと判断すると(S22:Yes)、テスト印刷データを生成する(S23)。 Then, the program 27 determines whether or not the "test print" icon 64 is selected (S22). When the program 27 determines that the "test print" icon 64 is not selected (S23: No), the program skips the processes of S23 to S31 described later. When the program 27 determines that the "test print" icon 64 is selected (S22: Yes), the program 27 generates test print data (S23).

なお、キャリブレーションが実行されずに(S15:No)、ユーザがユーザI/F32を用いて用紙の形態、用紙の幅及び長さ、余白の値を入力し、その後、「テストプリント」アイコン64が選択されてもよい。プログラム27が用紙の幅及び長さの入力を受け付ける処理は、サイズ取得手段の一例である。 Note that the calibration is not executed (S15: No), the user inputs the paper form, the width and length of the paper, and the margin values using the user I / F32, and then the "test print" icon 64. May be selected. The process in which the program 27 accepts the input of the width and length of the paper is an example of the size acquisition means.

プログラム27は、用紙登録画面に表示された値及びメモリ22に記憶されたテスト画像データを用いて、テスト印刷データを生成する(S23)。以下では、プルダウンメニュー63に表示された用紙形態が「ダイカット紙」である場合について説明する。ただし、用紙形態が「長尺紙」であっても、同様にしてテスト印刷データが生成される。 The program 27 generates test print data using the values displayed on the paper registration screen and the test image data stored in the memory 22 (S23). Hereinafter, a case where the paper form displayed in the pull-down menu 63 is “die-cut paper” will be described. However, even if the paper form is "long paper", test print data is generated in the same manner.

テスト画像データの生成について詳しく説明する。プログラム27は、まず、用紙登録画面に表示された用紙の幅及び長さと、S12で取得したプリンタ10の機能情報とから、印刷を行える範囲である印刷可能範囲を決定する。具体的に説明すると、プリンタ10の種類によっては、用紙の端まで画像を印刷することができず、用紙の端から数mm程度内側にしか印刷を行うことができない。機能情報は、用紙の端から印刷可能範囲までの距離を示す情報を含む。プログラム27は、用紙登録画面に表示された用紙の幅から、機能情報が示す距離だけ内側の領域であって、かつ、用紙登録画面に表示された用紙の長さから、機能情報が示す距離だけ内側の領域を、印刷可能範囲に決定する。そして、プログラム27は、決定した印刷可能範囲をメモリ22に記憶する。用紙の幅方向における印刷可能範囲は、第1印刷範囲の一例である。用紙の長さ方向における印刷可能範囲は、第2印刷範囲の一例である。印刷可能範囲を決定する処理は、印刷範囲取得手段の一例である。決定した印刷可能範囲をメモリ22に記憶する処理、及び、キャリブレーション結果をメモリ22に記憶させるS19の処理は、第1記憶手段の一例である。 The generation of test image data will be described in detail. First, the program 27 determines the printable range, which is the range in which printing can be performed, from the width and length of the paper displayed on the paper registration screen and the functional information of the printer 10 acquired in S12. Specifically, depending on the type of the printer 10, the image cannot be printed up to the edge of the paper, and the image can be printed only on the inside by about several mm from the edge of the paper. The functional information includes information indicating the distance from the edge of the paper to the printable range. The program 27 is an area inside the width of the paper displayed on the paper registration screen by the distance indicated by the functional information, and is only the distance indicated by the functional information from the length of the paper displayed on the paper registration screen. The inner area is determined to be the printable area. Then, the program 27 stores the determined printable range in the memory 22. The printable range in the width direction of the paper is an example of the first print range. The printable range in the length direction of the paper is an example of the second print range. The process of determining the printable range is an example of the print range acquisition means. The process of storing the determined printable range in the memory 22 and the process of S19 storing the calibration result in the memory 22 are examples of the first storage means.

プログラム27は、決定した印刷可能範囲の端に沿った矩形枠状の外形画像81を生成する。次に、プログラム27は、外形画像81から、用紙登録画面に表示された余白の値だけ内側の領域に、メモリ22に記憶されたテスト画像データが示すテスト画像82を合成し、テスト印刷データを生成する(S23)。テスト印刷データを生成するS23の処理は、印刷データ生成手段の一例である。 The program 27 generates a rectangular frame-shaped outline image 81 along the edge of the determined printable range. Next, the program 27 synthesizes the test image 82 indicated by the test image data stored in the memory 22 in the area inside by the margin value displayed on the paper registration screen from the external image 81, and outputs the test print data. Generate (S23). The process of S23 for generating test print data is an example of print data generation means.

また、プログラム27は、S14で取得した機能情報に含まれる回転情報に基づいて、生成したテスト印刷データの向きを変更するか否かを判断する。詳しく説明すると、テスト印刷データを印刷するプリンタ10の種類によっては、入力されたテスト印刷データの向きを回転させて印刷する。プログラム27は、S12で取得した回転情報に基づいて、テスト印刷データを印刷するプリンタ10が、入力されたテスト印刷データを回転させるか否かを判断する。プログラム27は、テスト印刷データを印刷するプリンタ10が、入力されたテスト印刷データを回転させると判断すると、S23で生成したテスト印刷データの向きを変更する。具体的には、プリンタ10がテスト印刷データを回転させることによって元の向きになるように、生成したテスト印刷データを回転させて向きを変更する。すなわち、プログラム27は、プリンタ10が印刷したテスト画像の向きと、後述の調整画面においてディスプレイ31に表示されるテスト画像の向きとが一致するように、生成したテスト印刷データを回転させる。なお、プログラム27は、入力されたテスト印刷データをプリンタ10が回転させないと回転情報から判断すると、生成したテスト印刷データを回転させない。 Further, the program 27 determines whether or not to change the orientation of the generated test print data based on the rotation information included in the functional information acquired in S14. More specifically, depending on the type of printer 10 that prints the test print data, the direction of the input test print data is rotated for printing. The program 27 determines whether or not the printer 10 that prints the test print data rotates the input test print data based on the rotation information acquired in S12. When the program 27 determines that the printer 10 that prints the test print data rotates the input test print data, the program 27 changes the orientation of the test print data generated in S23. Specifically, the generated test print data is rotated to change the orientation so that the printer 10 rotates the test print data to return the original orientation. That is, the program 27 rotates the generated test print data so that the orientation of the test image printed by the printer 10 and the orientation of the test image displayed on the display 31 on the adjustment screen described later match. If the program 27 determines from the rotation information that the input test print data is not rotated by the printer 10, the program 27 does not rotate the generated test print data.

プログラム27は、テスト印刷データを生成した後(S23)、生成したテスト印刷データ及び印字コマンドを、OS25を通じてプリンタ10に送信する(S24)。印字コマンドは、テスト印刷データを印刷することをプリンタ10に指示するコマンドである。テスト印刷データ及び印字コマンドをプリンタ10に送信するS24の処理は、送信手段の一例である。印字コマンドは、指示コマンドの一例である。なお、プログラム27は、生成したテスト印刷データをメモリ22のデータ記憶領域24におけるプリンタドライバが参照する記憶領域に記憶させ、プリンタドライバ26に対して、プリンタ10にテスト印刷データを印刷することを指示してもよい。 After generating the test print data (S23), the program 27 transmits the generated test print data and the print command to the printer 10 through the OS 25 (S24). The print command is a command instructing the printer 10 to print the test print data. The process of S24 for transmitting the test print data and the print command to the printer 10 is an example of the transmission means. The print command is an example of an instruction command. The program 27 stores the generated test print data in the storage area referenced by the printer driver in the data storage area 24 of the memory 22, and instructs the printer driver 26 to print the test print data on the printer 10. You may.

プリンタ10の制御プログラム46は、印字コマンドを受信すると、印字コマンドにしたがって印刷エンジン51を駆動させ、テスト印刷データが示す画像を用紙12に印刷させる。制御プログラム46は、印刷が終了すると、印刷が終了したことを示す印刷終了通知を、受信した印字コマンドの応答として情報処理装置11に送信する。 Upon receiving the print command, the control program 46 of the printer 10 drives the print engine 51 according to the print command to print the image indicated by the test print data on the paper 12. When printing is completed, the control program 46 transmits a print end notification indicating that printing is completed to the information processing apparatus 11 as a response to the received print command.

情報処理装置11のプログラム27は、テスト印刷データ及び印字コマンドを送信した後(S24)、用紙登録画面に重ねて表示されるポップアップウインドウであって、プリンタ10で印刷が行われていることを示す印刷中画面(不図示)を、ディスプレイ31に表示させる(S25)。 The program 27 of the information processing apparatus 11 is a pop-up window displayed superimposed on the paper registration screen after transmitting the test print data and the print command (S24), and indicates that printing is being performed by the printer 10. The printing screen (not shown) is displayed on the display 31 (S25).

プログラム27は、プリンタ10が送信した印刷終了通知を受信すると(S26)、印刷中画面を閉じ(S27)、用紙登録画面に重ねて表示されるポップアップウインドウであるガイド画面をディスプレイ31に表示させる(S28)。ガイド画面は、テスト印刷データが示す画像が印刷された用紙12を用いて、用紙12の幅や長さや余白を調整することをユーザに促す文字や図形と、「OK」アイコンとを表示する。プログラム27は、ユーザによって「OK」アイコンが選択されたことに応じて、ガイド画面を閉じる。ユーザは、ガイド画面にしたがって、「調整」アイコン69を選択する。 When the program 27 receives the print end notification transmitted by the printer 10 (S26), the printing screen is closed (S27), and the guide screen, which is a pop-up window superimposed on the paper registration screen, is displayed on the display 31 (S27). S28). The guide screen displays characters and figures prompting the user to adjust the width, length, and margins of the paper 12 using the paper 12 on which the image indicated by the test print data is printed, and an “OK” icon. The program 27 closes the guide screen in response to the user selecting the "OK" icon. The user selects the "adjustment" icon 69 according to the guide screen.

プログラム27は、「調整」アイコン69が選択されたか否かを判断する(S29)。プログラム27は、「調整」アイコン69が選択されていないと判断すると(S29:No)、S30、31の処理をスキップする。一方、プログラム27は、「調整」アイコン69が選択されたと判断すると(S29:Yes)、調整画面処理を実行する(S30)。調整画面処理について、図3を参照して詳しく説明する。 The program 27 determines whether or not the “adjustment” icon 69 is selected (S29). When the program 27 determines that the "adjustment" icon 69 is not selected (S29: No), the program skips the processes of S30 and 31. On the other hand, when the program 27 determines that the "adjustment" icon 69 is selected (S29: Yes), the program 27 executes the adjustment screen processing (S30). The adjustment screen processing will be described in detail with reference to FIG.

プログラム27は、「調整」アイコン69が選択されたと判断すると(S29:Yes)、用紙登録画面に代えて、図5(A)に示される調整画面をディスプレイ31に表示させる(S41)。調整画面をディスプレイ31に表示させるS41の処理は、表示手段の一例である。 When the program 27 determines that the "adjustment" icon 69 is selected (S29: Yes), the program 27 causes the display 31 to display the adjustment screen shown in FIG. 5A instead of the paper registration screen (S41). The process of S41 for displaying the adjustment screen on the display 31 is an example of the display means.

調整画面は、用紙を示す用紙画像80と、テスト印刷データが示す外形画像81及びテスト画像82と、項目「幅」と、用紙の幅を示す数値(58.0)が表示されるテキストボックス83と、項目「長さ」と、用紙の長さを示す数値(80.0)が表示されるテキストボックス84と、「OK」アイコン85と、「キャンセル」アイコン86と、を有する。用紙の幅を示す数値が表示されるテキストボックス83は、第1サイズを数値として示す数値画像の一例である。用紙の長さを示す数値が表示されるテキストボックス83は、第2サイズを数値として示す数値画像の一例である。 The adjustment screen is a text box 83 in which a paper image 80 showing the paper, an outline image 81 and a test image 82 shown by the test print data, an item “width”, and a numerical value (58.0) indicating the width of the paper are displayed. A text box 84 displaying an item "length" and a numerical value (80.0) indicating the length of the paper, an "OK" icon 85, and a "cancel" icon 86. The text box 83 in which a numerical value indicating the width of the paper is displayed is an example of a numerical image indicating the first size as a numerical value. The text box 83 in which a numerical value indicating the length of the paper is displayed is an example of a numerical image indicating the second size as a numerical value.

上述のように、プログラム27は、調整画面に表示されるテスト画像の向きと、用紙12に印刷されるテスト画像の向きとが一致するように、プリンタ10に送信するテスト印刷データの向きを決定する。したがって、図5(A)、(B)に示されるように、調整画面に表示されるテスト画像の向きと、用紙12に印刷されるテスト画像の向きとは一致する。 As described above, the program 27 determines the orientation of the test print data to be transmitted to the printer 10 so that the orientation of the test image displayed on the adjustment screen and the orientation of the test image printed on the paper 12 match. do. Therefore, as shown in FIGS. 5A and 5B, the orientation of the test image displayed on the adjustment screen and the orientation of the test image printed on the paper 12 match.

また、メモリ22に予め記憶されるテスト画像データが示す画像は、「ABC」など、用紙の幅方向(すなわち、図5における上下方向)において非対象な画像である。したがって、調整画面に表示されたテスト画像における2つの向き(すなわち、図5(A)における上向きと下向き)と、用紙に印刷されたテスト画像における2つの向き(すなわち、図5(B)における上向きと下向き)とを、ユーザに誤って認識させることがない。すなわち、調整画面に表示されたテスト画像の上下が、用紙12に印刷されたテスト画像における上下であることを、ユーザに容易に認識させることができる。 Further, the image indicated by the test image data stored in advance in the memory 22 is an image that is asymmetric in the width direction of the paper (that is, the vertical direction in FIG. 5) such as “ABC”. Therefore, the two orientations in the test image displayed on the adjustment screen (ie, up and down in FIG. 5A) and the two orientations in the test image printed on the paper (ie, up in FIG. 5B). And downward) will not be mistakenly recognized by the user. That is, the user can easily recognize that the top and bottom of the test image displayed on the adjustment screen are the top and bottom of the test image printed on the paper 12.

また、メモリ22に予め記憶されるテスト画像データが示す画像は、「ABC」など、用紙の長さ方向(すなわち、図5(A)における左右方向)において非対象な画像である。したがって、調整画面に表示されたテスト画像における2つの向き(すなわち、図5(A)における左向きと右向き)と、用紙12に印刷されたテスト画像における2つの向き(すなわち、図5(B)における左向きと右向き)とを、ユーザに誤って認識させることがない。すなわち、調整画面に表示されたテスト画像の左右が、用紙12に印刷されたテスト画像における左右であることを、ユーザに容易に認識させることができる。 Further, the image indicated by the test image data stored in advance in the memory 22 is an image that is asymmetric in the length direction of the paper (that is, the left-right direction in FIG. 5A) such as “ABC”. Therefore, in the two orientations of the test image displayed on the adjustment screen (ie, left and right in FIG. 5A) and in the two orientations of the test image printed on paper 12 (ie, in FIG. 5B). (Left and right) will not be mistakenly recognized by the user. That is, the user can easily recognize that the left and right of the test image displayed on the adjustment screen are the left and right of the test image printed on the paper 12.

ユーザは、プリンタ10が出力した用紙12に印刷された画像と、調整画面に表示された画像とを見比べて、違いを確認する。図5(A)、(B)に示される例では、用紙12に印刷された画像は、調整画面に表示された画像よりも、用紙12の左下に近い位置にある。このようになるのは、キャリブレーションによってプリンタ10で検出された用紙の幅及び長さ、或いは、ユーザI/F32を用いてユーザがプルダウンメニュー66、67に入力した用紙の幅及び長さが、実際の用紙12の幅及び長さに対して、誤差を有するためである。プログラム27は、ユーザの調整入力に基づいて、上述の誤差を修正する。 The user compares the image printed on the paper 12 output by the printer 10 with the image displayed on the adjustment screen, and confirms the difference. In the example shown in FIGS. 5A and 5B, the image printed on the paper 12 is located closer to the lower left of the paper 12 than the image displayed on the adjustment screen. This is because the width and length of the paper detected by the printer 10 by calibration, or the width and length of the paper entered by the user in the pull-down menus 66 and 67 using the user I / F 32. This is because there is an error with respect to the actual width and length of the paper 12. The program 27 corrects the above error based on the user's adjustment input.

詳しく説明すると、プリンタ10が出力した用紙12に印刷された図5(B)に示される画像と、調整画面に表示された図5(A)に示される画像との違いを確認したユーザは、2つの画像が同じになるように、ユーザI/F32を用いて入力操作を行う。具体的には、調整画面に表示された外形画像81をドラッグして左下まで移動させ、用紙12に印刷された画像と同じ位置において、ドラッグした外形画像81をドロップする。図6は、外形画像81を移動させた後の調整画面を示す。 More specifically, the user who has confirmed the difference between the image shown in FIG. 5 (B) printed on the paper 12 output by the printer 10 and the image shown in FIG. 5 (A) displayed on the adjustment screen An input operation is performed using the user I / F 32 so that the two images are the same. Specifically, the external image 81 displayed on the adjustment screen is dragged and moved to the lower left, and the dragged external image 81 is dropped at the same position as the image printed on the paper 12. FIG. 6 shows an adjustment screen after moving the external image 81.

プログラム27は、図2に示されるように、幅方向における外形画像81を移動させる入力を受け付けると(S42:Yes)、幅方向における外形画像の移動量に基づいて、用紙の幅を算出する。プログラム27は、算出した用紙の幅を、調整画面においてディスプレイ31に表示させる(S43)。図6(A)に示される例では、プログラム27は、幅方向における外形画像81の移動量に基づいて、用紙の幅を56.0と算出し、ディスプレイ31に表示させている。なお、プログラム27は、幅方向における外形画像81を移動させる入力を受け付けない場合(S42:No)、S43の処理をスキップする。 As shown in FIG. 2, when the program 27 receives an input for moving the external image 81 in the width direction (S42: Yes), the program 27 calculates the width of the paper based on the amount of movement of the external image in the width direction. The program 27 displays the calculated width of the paper on the display 31 on the adjustment screen (S43). In the example shown in FIG. 6A, the program 27 calculates the width of the paper as 56.0 based on the amount of movement of the external image 81 in the width direction, and displays it on the display 31. If the program 27 does not accept the input for moving the external image 81 in the width direction (S42: No), the program 27 skips the process of S43.

プログラム27は、図3に示されるように、長さ方向における外形画像81を移動させる入力を受け付けると(S44:Yes)、長さ方向における外形画像の移動量に基づいて、用紙の長さを算出する。プログラム27は、算出した用紙の長さを、調整画面においてディスプレイ31に表示させる(S45)。図6(A)に示される例では、プログラム27は、長さ方向における外形画像の移動量に基づいて、用紙の長さを81.0と算出し、ディスプレイ31に表示させている。なお、プログラム27は、長さ方向における外形画像81を移動させる入力を受け付けない場合(S44:No)、S45の処理をスキップする。 As shown in FIG. 3, when the program 27 receives an input for moving the external image 81 in the length direction (S44: Yes), the program 27 determines the length of the paper based on the amount of movement of the external image in the length direction. calculate. The program 27 displays the calculated paper length on the display 31 on the adjustment screen (S45). In the example shown in FIG. 6A, the program 27 calculates the length of the paper as 81.0 based on the amount of movement of the external image in the length direction and displays it on the display 31. If the program 27 does not accept the input for moving the external image 81 in the length direction (S44: No), the program 27 skips the process of S45.

なお、プログラム27は、外形画像81を移動可能な範囲を、S12で取得した機能情報が示す用紙の幅及び長さの範囲内に制限する。すなわち、プログラム27は、外形画像81の移動量に基づいて算出される用紙の幅及び長さが、用紙登録画面に表示された用紙及び長さの上限値及び下限値を超えると判断すると、外形画像81の移動を受け付けない。例えば、ドロップされた外形画像81は、ドラッグ前の位置に戻される。 The program 27 limits the movable range of the external image 81 to the range of the width and length of the paper indicated by the functional information acquired in S12. That is, when the program 27 determines that the width and length of the paper calculated based on the movement amount of the external image 81 exceeds the upper and lower limits of the paper and the length displayed on the paper registration screen, the outer shape is determined. The movement of the image 81 is not accepted. For example, the dropped outline image 81 is returned to the position before dragging.

プログラム27は、テキストボックス83に表示された用紙の幅を示す数値の変更入力を受け付ける(S46)ことも可能である。例えば、ユーザは、外形画像81の位置を微調整する場合などに、外形画像81をドラッグして移動させるのではなく、数値を変更して外形画像81を移動させる。 The program 27 can also accept a change input of a numerical value indicating the width of the paper displayed in the text box 83 (S46). For example, when the position of the external image 81 is finely adjusted, the user does not move the external image 81 by dragging it, but changes the numerical value to move the external image 81.

プログラム27は、テキストボックス83に表示された用紙の幅を示す数値の変更入力を受け付けると(S46:Yes)、入力された数値に基づいて、幅方向における外形画像81の移動の向き及び移動量を算出し、算出した移動量に応じて外形画像81を移動させる(S47)。すなわち、外形画像81をドラッグして移動させることにより、テキストボックス83に表示された用紙の幅を示す数値が変わり、テキストボックス83に表示された用紙の幅を示す数値を変更することにより、外形画像が幅方向に移動する。なお、プログラム27は、テキストボックス83に表示された用紙の幅を示す数値の変更を受け付けない場合(S46:No)、S47の処理をスキップする。 When the program 27 accepts a change input of a numerical value indicating the width of the paper displayed in the text box 83 (S46: Yes), the movement direction and the movement amount of the outline image 81 in the width direction are based on the input numerical value. Is calculated, and the external image 81 is moved according to the calculated movement amount (S47). That is, by dragging and moving the outline image 81, the numerical value indicating the width of the paper displayed in the text box 83 changes, and by changing the numerical value indicating the width of the paper displayed in the text box 83, the outer shape is changed. The image moves in the width direction. If the program 27 does not accept the change of the numerical value indicating the width of the paper displayed in the text box 83 (S46: No), the process of S47 is skipped.

また、プログラム27は、テキストボックス84に表示された用紙の長さを示す数値の変更入力を受け付けると(S48:Yes)、入力された数値に基づいて、長さ方向における外形画像81の移動の向き及び移動量を算出し、算出した移動量に応じて外形画像81を移動させる(S49)。すなわち、外形画像81をドラッグして移動させることにより、テキストボックス83に表示された用紙の長さを示す数値が変わり、テキストボックス83に表示された用紙の長さを示す数値を変更することにより、外形画像81が長さ方向に移動する。なお、プログラム27は、テキストボックス83に表示された用紙の長さを示す数値の変更を受け付けない場合(S48:No)、S49の処理をスキップする。 Further, when the program 27 accepts a change input of a numerical value indicating the length of the paper displayed in the text box 84 (S48: Yes), the program 27 moves the outline image 81 in the length direction based on the input numerical value. The orientation and the amount of movement are calculated, and the external image 81 is moved according to the calculated amount of movement (S49). That is, by dragging and moving the outline image 81, the numerical value indicating the length of the paper displayed in the text box 83 changes, and by changing the numerical value indicating the length of the paper displayed in the text box 83. , The external image 81 moves in the length direction. If the program 27 does not accept the change of the numerical value indicating the length of the paper displayed in the text box 83 (S48: No), the process of S49 is skipped.

なお、プログラム27は、テキストボックス83、84に入力された数値が、S12で取得した機能情報が示す用紙の幅及び長さの範囲にないと判断すると、入力された数値を受け付けず、入力された数値が上限値及び下限値の範囲内になく、入力された数値を受け付けることができない旨を示すエラー表示を、ポップアップ画面などを用いてディスプレイ31に表示させる。 If the program 27 determines that the numerical values entered in the text boxes 83 and 84 are not within the range of the width and length of the paper indicated by the functional information acquired in S12, the program 27 does not accept the entered numerical values and is input. An error display indicating that the input numerical value cannot be accepted because the numerical value is not within the range of the upper limit value and the lower limit value is displayed on the display 31 by using a pop-up screen or the like.

外形画像81の移動を受け付けるS42、S44の処理、及び、テキストボックス83、84で用紙の幅及び用紙の長さの変更を受け付けるS46、S48の処理は、受付手段の一例である。外形画像81の移動及びテキストボックス83、84における用紙の幅及び用紙の長さの入力に基づいて、用紙の幅及び用紙の長さを決定する処理は、決定手段の一例である。 The processing of S42 and S44 that accepts the movement of the external image 81 and the processing of S46 and S48 that accepts changes in the width and length of the paper in the text boxes 83 and 84 are examples of the receiving means. The process of determining the width of the paper and the length of the paper based on the movement of the external image 81 and the input of the width of the paper and the length of the paper in the text boxes 83 and 84 is an example of the determination means.

プログラム27は、「キャンセル」アイコン86の選択を受け付けると(S50:キャンセル)、調整画面において受け付けた入力をメモリ22に記憶することなく、調整画面を閉じ(S52)、調整画面処理を終了する。 When the program 27 accepts the selection of the "cancel" icon 86 (S50: cancel), the program closes the adjustment screen (S52) without storing the input received on the adjustment screen in the memory 22, and ends the adjustment screen process.

一方、プログラム27は、「OK」アイコン85の選択を受け付けると(S50:OK)、調整画面で受け付けた変更入力の結果である変更結果をメモリ22に記憶させる(S51)。具体的には、テキストボックス83に表示された用紙の幅を示す数値(58.0)を、メモリ22に記憶された用紙の幅を示す数値(56.0)に上書きし、テキストボックス84に表示された用紙の幅を示す数値(81.0)を、メモリ22に記憶された用紙の幅を示す数値(80.0)に上書きする。変更結果をメモリ22に記憶させるS51の処理は、第2記憶手段の一例である。 On the other hand, when the program 27 accepts the selection of the "OK" icon 85 (S50: OK), the program 27 stores the change result, which is the result of the change input accepted on the adjustment screen, in the memory 22 (S51). Specifically, the numerical value (58.0) indicating the width of the paper displayed in the text box 83 is overwritten with the numerical value (56.0) indicating the width of the paper stored in the memory 22, and the text box 84 is filled with the numerical value (56.0). The numerical value (81.0) indicating the width of the displayed paper is overwritten with the numerical value (80.0) indicating the width of the paper stored in the memory 22. The process of S51 for storing the change result in the memory 22 is an example of the second storage means.

プログラム27は、「OK」アイコン85及び「キャンセル」アイコン86の選択を受け付けないと判断すると(S50:選択なし)、S42以降の処理を継続して実行する。すなわち、プログラム27は、外形画像81の移動や、テキストボックス83、84への入力を受け付ける。 If the program 27 determines that the selection of the "OK" icon 85 and the "Cancel" icon 86 is not accepted (S50: no selection), the program 27 continues to execute the processing after S42. That is, the program 27 accepts the movement of the external image 81 and the input to the text boxes 83 and 84.

プログラム27は、変更結果をメモリ22に記憶させた後、調整画面を閉じ(S52)、調整画面処理を終了する。 After storing the change result in the memory 22, the program 27 closes the adjustment screen (S52) and ends the adjustment screen process.

プログラム27は、図2に示されるように、調整画面処理を閉じて調整画面処理を終了させると、用紙登録画面をディスプレイ31に表示させる(S31)。ディスプレイ31に表示された用紙登録画面では、メモリ22に記憶された用紙の幅及び長さが表示される。具体的には、用紙の幅を示すスピンボックス66には、「56.0」が表示され、用紙の長さを示すスピンボックス67には、「81.0」が表示される。 As shown in FIG. 2, the program 27 displays the paper registration screen on the display 31 when the adjustment screen processing is closed and the adjustment screen processing is completed (S31). On the paper registration screen displayed on the display 31, the width and length of the paper stored in the memory 22 are displayed. Specifically, "56.0" is displayed in the spin box 66 indicating the width of the paper, and "81.0" is displayed in the spin box 67 indicating the length of the paper.

そして、プログラム27は、選択されたアイコンが「追加」アイコン70Aであるか、「キャンセル」アイコン70Bであるかを判断する(S32)。プログラム27は、選択されたアイコンが「追加」アイコン70Aであると判断すると(S32:追加)、プルダウンメニュー61に表示された用紙名と、S51でメモリ22に記憶させた用紙の幅及び長さと、S21で受け付けてメモリ22に記憶させた余白の値と、S19でメモリ22に記憶させたラベル間距離及び用紙の形態とを、メモリ22のデータ記憶領域24における、プリンタドライバ26が参照する記憶領域に記憶させる(S33)。すなわち、用紙がプリンタドライバ26に対して登録される。なお、用紙名と、用紙の幅及び長さ、余白の値、及び用紙の形態とは、互いに対応付けてメモリ22のデータ記憶領域24に記憶される。 Then, the program 27 determines whether the selected icon is the "add" icon 70A or the "cancel" icon 70B (S32). When the program 27 determines that the selected icon is the "add" icon 70A (S32: add), the paper name displayed in the pull-down menu 61 and the width and length of the paper stored in the memory 22 in S51. , The storage in which the printer driver 26 refers to the value of the margin received in S21 and stored in the memory 22 and the distance between labels and the form of the paper stored in the memory 22 in S19 in the data storage area 24 of the memory 22. Store in the area (S33). That is, the paper is registered in the printer driver 26. The paper name, the width and length of the paper, the margin value, and the form of the paper are stored in the data storage area 24 of the memory 22 in association with each other.

プログラム27は、選択されたアイコンが「キャンセル」アイコン70Bであると判断すると(S32:No)、ステップS33の処理をスキップする。なお、プログラム27は、「追加」アイコン70Aも「キャンセル」アイコン70Bも選択されない場合、S14以降の処理を継続して実行する。すなわち、アイコン64、65、69やテキストボックス61や、プルダウンメニュー62、63や、スピンボックス66、67、68、75~78によるユーザの入力を受け付ける。 When the program 27 determines that the selected icon is the "cancel" icon 70B (S32: No), the program skips the process of step S33. If neither the "add" icon 70A nor the "cancel" icon 70B is selected, the program 27 continues to execute the processes after S14. That is, the user's input by the icons 64, 65, 69, the text box 61, the pull-down menus 62, 63, and the spin boxes 66, 67, 68, 75 to 78 is accepted.

プリンタドライバ26は、ディスプレイ31に表示させた操作画面において、用紙の選択を受け付けるプルダウンメニューを表示させる。プルダウンメニューには、S33で新たに登録された用紙名が追加表示される。プリンタドライバ26は、プルダウンメニューにおいて新たに登録された用紙名が選択されると、用紙名と対応付けてメモリ22のデータ記憶領域24に記憶された用紙形態、用紙の幅及び長さ、及びラベル間距離を用いて印刷データを生成し、プリンタ10に送信する。 The printer driver 26 displays a pull-down menu for accepting selection of paper on the operation screen displayed on the display 31. The paper name newly registered in S33 is additionally displayed in the pull-down menu. When a newly registered paper name is selected in the pull-down menu, the printer driver 26 associates the paper name with the paper form, the width and length of the paper, and the label stored in the data storage area 24 of the memory 22. Print data is generated using the distance and sent to the printer 10.

[実施形態の作用効果]
本実施形態では用紙を示す用紙画像80と、印刷可能範囲を示す外形画像と、テスト画像とが調整画面に表示され、調整画面において、用紙の幅及び用紙の長さを変更する変更入力を受け付ける。ユーザは、調整画面に表示された用紙画像80、外形画像81、及びテスト画像82と、テスト画像82が印刷された用紙12とを見比べて、調整画面に表示された画像と用紙とが一致するように変更入力を行う。したがって、用紙の幅及び用紙の長さの誤差を調整するための変更入力をユーザに容易に行わせることができる。
[Action and effect of the embodiment]
In the present embodiment, the paper image 80 showing the paper, the external image showing the printable range, and the test image are displayed on the adjustment screen, and the adjustment screen accepts change inputs for changing the width and length of the paper. .. The user compares the paper image 80, the outline image 81, and the test image 82 displayed on the adjustment screen with the paper 12 on which the test image 82 is printed, and the image displayed on the adjustment screen matches the paper. Enter the change as follows. Therefore, it is possible to easily allow the user to input a change for adjusting the error of the width of the paper and the length of the paper.

また、本実施形態では、用紙に印刷されるテスト画像(ABC)は、用紙の幅方向及び長さ方向の両方において非対称な画像である。したがって、調整画面におけるテスト画像の上(下)を用紙12に印刷されたテスト画像の下(上)とユーザが誤って認識することが防止され、かつ、調整画面におけるテスト画像の左(右)を用紙12に印刷されたテスト画像の右(左)とユーザが誤って認識することが防止される。 Further, in the present embodiment, the test image (ABC) printed on the paper is an asymmetric image in both the width direction and the length direction of the paper. Therefore, it is possible to prevent the user from erroneously recognizing the top (bottom) of the test image on the adjustment screen as the bottom (top) of the test image printed on the paper 12, and the left (right) of the test image on the adjustment screen. Is prevented from being mistakenly recognized by the user as the right (left) of the test image printed on the paper 12.

また、本実施形態では、プリンタ10にキャリブレーションを実行させて用紙12の幅及び用紙の長さを取得することができる。したがって、ユーザが用紙の幅及び用紙の長さを測ってユーザI/F32を用いて情報処理装置11に入力する場合に比べ、ユーザの手間を省くことができる。 Further, in the present embodiment, the printer 10 can be calibrated to acquire the width of the paper 12 and the length of the paper 12. Therefore, as compared with the case where the user measures the width of the paper and the length of the paper and inputs them to the information processing apparatus 11 using the user I / F 32, the user's labor can be saved.

なお、ユーザが用紙の幅及び用紙の長さを測って情報処理装置11に入力する場合であっても、ユーザが測った用紙の幅及び用紙の長さに誤差があることが想定される。プログラム27が、テスト印刷をプリンタ10に実行させ、調整画面をディスプレイ31に表示させることにより、ユーザが測った用紙の幅及び用紙の長さの誤差を修正することができる。 Even when the user measures the width of the paper and the length of the paper and inputs them to the information processing apparatus 11, it is assumed that there is an error in the width of the paper and the length of the paper measured by the user. The program 27 causes the printer 10 to perform test printing and displays the adjustment screen on the display 31, so that the error of the paper width and the paper length measured by the user can be corrected.

また、本実施形態では、テキストボックス83、84の数値を変更すると、変更した数値に応じた移動の向き及び移動量で外形画像81及びテスト画像82が移動する。したがって、ユーザは、調整画面に表示された外形画像81及びテスト画像82の移動の向き及び移動量を確認することにより、入力した数値による変更の指示が意図に合致した指示であるか否かを容易に確認することができる。すなわち、ユーザは、外形画像81及びテスト画像82の移動の向き及び移動量が意図に合致していない場合は、入力した指示が誤っていたことを容易に認識することができる。その結果、誤って入力された指示で作成された印刷設定で用紙に印刷が行われることを防止することができる。 Further, in the present embodiment, when the numerical values of the text boxes 83 and 84 are changed, the external image 81 and the test image 82 move in the direction and amount of movement according to the changed numerical values. Therefore, by checking the movement direction and movement amount of the external image 81 and the test image 82 displayed on the adjustment screen, the user can determine whether or not the instruction for changing by the input numerical value is an instruction that matches the intention. It can be easily confirmed. That is, when the movement direction and the movement amount of the external image 81 and the test image 82 do not match the intention, the user can easily recognize that the input instruction is incorrect. As a result, it is possible to prevent printing on the paper with the print settings created by the instructions input incorrectly.

また、本実施形態では、テキストボックス83、84の数値を変更しても、変更した数値に応じた移動量で外形画像81及びテスト画像82が移動するので、外形画像81の微妙な移動をユーザに容易に行わせることができる。その結果、用紙の幅及び用紙の長さの誤差の修正の精度を高めることができる。 Further, in the present embodiment, even if the numerical values of the text boxes 83 and 84 are changed, the external image 81 and the test image 82 are moved by the amount of movement according to the changed numerical values, so that the user can slightly move the external image 81. Can be easily done. As a result, the accuracy of correcting errors in the width of the paper and the length of the paper can be improved.

また、本実施形態では、外形画像81をドラッグして移動させると、テキストボックス83、84の数値が変化する。したがって、外形画像81を移動させたことによって用紙の幅や用紙の長さが調整されたことをユーザに認識させることができる。 Further, in the present embodiment, when the external image 81 is dragged and moved, the numerical values of the text boxes 83 and 84 change. Therefore, it is possible to make the user recognize that the width of the paper and the length of the paper have been adjusted by moving the external image 81.

また、本実施形態では、外形画像81をドラッグして移動させて用紙の幅や用紙の長さを調整することができるので、数値のみによって用紙の幅や用紙の長さを調整する場合よりも、ユーザに容易に用紙の幅や用紙の長さを調整させることができる。 Further, in the present embodiment, since the width of the paper and the length of the paper can be adjusted by dragging and moving the external image 81, the width of the paper and the length of the paper can be adjusted only by the numerical values. , The user can easily adjust the width of the paper and the length of the paper.

また、本実施形態では、用紙の形態が長尺紙である場合は、長尺紙を示す第2オブジェクト72が用紙登録画面に表示され、用紙の形態がダイカット紙である場合は、ダイカット紙を示す第1オブジェクト71が用紙登録画面に表示される。したがって、プリンタ10にセットされた用紙の形態をユーザに容易に認識させることができる。 Further, in the present embodiment, when the form of the paper is long paper, the second object 72 indicating the long paper is displayed on the paper registration screen, and when the form of the paper is die-cut paper, the die-cut paper is used. The first object 71 shown is displayed on the paper registration screen. Therefore, the user can easily recognize the form of the paper loaded in the printer 10.

また、本実施形態では、プログラム27は、S14で取得した機能情報に基づいて、生成したテスト印刷データの向きを変更するか否かを判断する。したがって、調整画面に表示する画像の向きと、プリンタ10が印刷したテスト画像の向きとを一致させることができる。その結果、調整画面に表示する画像の向きと、プリンタ10が印刷したテスト画像の向きとをユーザが誤って認識することを防止することができる。 Further, in the present embodiment, the program 27 determines whether or not to change the orientation of the generated test print data based on the functional information acquired in S14. Therefore, the orientation of the image displayed on the adjustment screen can be matched with the orientation of the test image printed by the printer 10. As a result, it is possible to prevent the user from erroneously recognizing the orientation of the image displayed on the adjustment screen and the orientation of the test image printed by the printer 10.

また、本実施形態では、プログラム27は、S13で用紙登録画面をディスプレイ31に表示させるときに、起動指示に含まれるプリンタドライバ名をプルダウンメニュー62に表示させる。したがって、ユーザがプリンタドライバを選択する手間が省かれる。 Further, in the present embodiment, the program 27 causes the pull-down menu 62 to display the printer driver name included in the start instruction when the paper registration screen is displayed on the display 31 in S13. Therefore, the user does not have to select the printer driver.

[変形例1]
本変形例では、調整画面において、ユーザによる余白の調整を受け付ける例を、図8を参照して説明する。なお、以下で説明する構成以外の構成は、実施形態の構成と同様である。また、実施形態と同様の構成には、実施形態と同一の符号を付して説明を省略する。
[Modification 1]
In this modification, an example of accepting the adjustment of the margin by the user on the adjustment screen will be described with reference to FIG. The configurations other than the configurations described below are the same as the configurations of the embodiments. Further, the same components as those in the embodiment are designated by the same reference numerals as those in the embodiments, and the description thereof will be omitted.

本変形例における調整画面は、左右上下の各余白を示す数値が表示されるテキストボックス91、92、93、94をさらに有する。図8(A)に示される例では、テキストボックス91に「1.6」が表示され、テキストボックス92に「1.5」が表示され、テキストボックス93に「3.1」が表示され、テキストボックス94に「3.0」が表示されている。 The adjustment screen in this modification further includes text boxes 91, 92, 93, and 94 in which numerical values indicating the left, right, top, and bottom margins are displayed. In the example shown in FIG. 8A, "1.6" is displayed in the text box 91, "1.5" is displayed in the text box 92, and "3.1" is displayed in the text box 93. "3.0" is displayed in the text box 94.

ユーザは、外形画像81ではなく、テスト画像82をドラッグして、希望する位置にテスト画像82を移動させる。プログラム27は、幅方向(すなわち、図における上下方向)におけるテスト画像82の移動の向き及び移動量に応じて、左余白及び右余白を算出する。そして、プログラム27は、算出した左余白をテキストボックス91に表示させ、算出した右余白をテキストボックス92に表示させる。図8に示された例では、テキストボックス91に表示された左余白が1.6から2.0に変更され、テキストボックス92に表示された右余白が1.5から1.1に変更されている。 The user drags the test image 82 instead of the external image 81 to move the test image 82 to a desired position. The program 27 calculates the left margin and the right margin according to the movement direction and the movement amount of the test image 82 in the width direction (that is, the vertical direction in the figure). Then, the program 27 displays the calculated left margin in the text box 91, and displays the calculated right margin in the text box 92. In the example shown in FIG. 8, the left margin displayed in the text box 91 is changed from 1.6 to 2.0, and the right margin displayed in the text box 92 is changed from 1.5 to 1.1. ing.

また、プログラム27は、長さ方向(すなわち、図における左右方向)におけるテスト画像の移動の向き及び移動量に応じて、上余白及び下余白を算出する。そして、プログラム27は、算出した上余白をテキストボックス93に表示させ、算出した下余白をテキストボックス94に表示させる。図8に示された例では、テキストボックス91に表示された上余白が3.1から2.5に変更され、テキストボックス94に表示された下余白が3.0から3.4に変更されている。 Further, the program 27 calculates the upper margin and the lower margin according to the movement direction and the movement amount of the test image in the length direction (that is, the left-right direction in the figure). Then, the program 27 displays the calculated upper margin in the text box 93, and displays the calculated lower margin in the text box 94. In the example shown in FIG. 8, the top margin displayed in the text box 91 is changed from 3.1 to 2.5, and the bottom margin displayed in the text box 94 is changed from 3.0 to 3.4. ing.

なお、プログラム27は、テスト画像82の移動可能な範囲を、S12で取得した機能情報が示す左余白及び右余白の上限値及び下限値の範囲内に制限する。すなわち、プログラム27は、テスト画像82の移動量に基づいて算出される左余白及び右余白の値が、用紙登録画面に表示された左余白及び右余白の上限値及び下限値を超えると判断すると、テスト画像81の移動を受け付けない。例えば、ドロップされたテスト画像82は、ドラッグ前の位置に戻される。 The program 27 limits the movable range of the test image 82 to the range of the upper limit value and the lower limit value of the left margin and the right margin indicated by the functional information acquired in S12. That is, the program 27 determines that the values of the left margin and the right margin calculated based on the movement amount of the test image 82 exceed the upper limit and the lower limit of the left margin and the right margin displayed on the paper registration screen. , The movement of the test image 81 is not accepted. For example, the dropped test image 82 is returned to the position before dragging.

また、テスト画像82の移動ではなく、テスト画像82の拡大や縮小によって、左余白及び右余白や上余白及び下余白の値が変更されてもよい。 Further, the values of the left margin, the right margin, the top margin, and the bottom margin may be changed by enlarging or reducing the test image 82 instead of moving the test image 82.

次に、プログラム27は、テキストボックス91~94を用いて余白設定を受け付ける。すなわち、プログラム27は、ユーザによるテキストボックス91~94への数値の入力を受け付ける。ユーザは、例えば、余白の微調整を行いたい場合、テキストボックス91~94への数値の入力を行う。 Next, the program 27 accepts the margin setting using the text boxes 91 to 94. That is, the program 27 accepts the input of numerical values into the text boxes 91 to 94 by the user. For example, when the user wants to make fine adjustments to the margins, he / she inputs numerical values in the text boxes 91 to 94.

プログラム27は、テキストボックス91~94への数値の入力を受け付けると、受け付けた数値に応じて、テスト画像82の移動の向き及び移動量を決定し、決定した移動の向きと移動量とに基づいて、調整画面においてテスト画像82を移動させる。すなわち、ユーザがテスト画像をドラッグして移動させると、テキストボックス91~94に表示される数値が変化し、ユーザがテキストボックス91~94の数値を変更すると、テスト画像82が移動する。 When the program 27 receives the input of the numerical value in the text boxes 91 to 94, the program 27 determines the moving direction and the moving amount of the test image 82 according to the received numerical value, and is based on the determined moving direction and the moving amount. Then, the test image 82 is moved on the adjustment screen. That is, when the user drags and moves the test image, the numerical values displayed in the text boxes 91 to 94 change, and when the user changes the numerical values in the text boxes 91 to 94, the test image 82 moves.

なお、プログラム27は、テキストボックス91~94に入力された数値が、S12で取得した機能情報が示す左右上下の各余白の上限値及び下限値の範囲にないと判断すると、入力された数値を受け付けず、入力された数値が上限値及び下限値の範囲内になく、入力された数値を受け付けることができない旨を示すエラー表示を、ポップアップ画面などを用いてディスプレイ31に表示させる。 When the program 27 determines that the numerical values input to the text boxes 91 to 94 are not within the range of the upper limit value and the lower limit value of the left, right, upper and lower margins indicated by the function information acquired in S12, the input numerical value is used. An error display indicating that the input numerical value is not accepted and the input numerical value is not within the range of the upper limit value and the lower limit value and the input numerical value cannot be accepted is displayed on the display 31 by using a pop-up screen or the like.

プログラム27は、上述の実施形態と同様に、「キャンセル」アイコン86が選択されたと判断すると、変更された余白をメモリ22に記憶させることなく、調整画面を閉じて用紙登録画面をディスプレイ31に表示させる。一方、プログラム27は、「OK」アイコン85が選択されたと判断すると、変更された余白の値をメモリ22に記憶された余白の値に上書きし、調整画面を閉じて用紙登録画面をディスプレイ31に表示させる。ディスプレイ31に表示された用紙登録画面では、変更後の余白の値が表示される。すなわち、左余白を表示するスピンボックス75には、「2.0」が表示され、右余白を表示するスピンボックス76には、「1.1」が表示され、上余白を表示するスピンボックス77には、「2.5」が表示され、下余白を表示するスピンボックス78には、「3.4」が表示される。 When the program 27 determines that the "cancel" icon 86 has been selected, the program 27 closes the adjustment screen and displays the paper registration screen on the display 31 without storing the changed margins in the memory 22 as in the above-described embodiment. Let me. On the other hand, when the program 27 determines that the "OK" icon 85 is selected, it overwrites the changed margin value with the margin value stored in the memory 22, closes the adjustment screen, and displays the paper registration screen on the display 31. Display. On the paper registration screen displayed on the display 31, the changed margin value is displayed. That is, "2.0" is displayed in the spin box 75 that displays the left margin, "1.1" is displayed in the spin box 76 that displays the right margin, and the spin box 77 that displays the top margin. "2.5" is displayed in the spin box 78, and "3.4" is displayed in the spin box 78 that displays the bottom margin.

[変形例1の作用効果]
本変形例では、テスト画像を有する調整画面において用紙の幅方向及び長さ方向における余白を調整することができる。したがって、余白の調整をユーザに容易に行わせることができる。
[Action and effect of variant 1]
In this modification, the margins in the width direction and the length direction of the paper can be adjusted on the adjustment screen having the test image. Therefore, the user can easily adjust the margins.

また、本変形例では、調整画面において、テスト画像をドラッグして移動させることにより、余白を調整することができる。したがって、数値を変更することによって余白を調整する場合に比べ、余白の調整をユーザにさらに容易に行わせることができる。 Further, in this modification, the margin can be adjusted by dragging and moving the test image on the adjustment screen. Therefore, it is possible to make the user adjust the margin more easily than in the case of adjusting the margin by changing the numerical value.

また、本変形例では、調整画面において、テキストボックス91~94に表示された数値を変更することによっても余白を調整することができる。したがって、余白の微妙な変更も可能である。その結果、余白の調整をユーザにさらに容易に行わせることができる。 Further, in this modification, the margin can be adjusted by changing the numerical values displayed in the text boxes 91 to 94 on the adjustment screen. Therefore, it is possible to make subtle changes in the margins. As a result, the user can be made to adjust the margin more easily.

[変形例2]
本変形例では、調整画面において、ラベル間距離の調整を受け付ける例を、図6(B)及び図7を参照して説明する。なお、以下で説明する構成以外の構成は、実施形態の構成と同様である。また、実施形態と同様の構成には、実施形態と同一の符号を付して説明を省略する。
[Modification 2]
In this modification, an example of accepting the adjustment of the distance between labels on the adjustment screen will be described with reference to FIGS. 6 (B) and 7. The configurations other than the configurations described below are the same as the configurations of the embodiments. Further, the same components as those in the embodiment are designated by the same reference numerals as those in the embodiments, and the description thereof will be omitted.

プログラム27は、S23で生成したテスト印刷データの2ページ分の印刷をプリンタ10に指示する。そして、プログラム27は、図6(B)に示されるように、キャリブレーションで検出したラベル間距離で離間する2つのテスト画像を有する調整画面をディスプレイ31に表示させる。 The program 27 instructs the printer 10 to print two pages of the test print data generated in S23. Then, as shown in FIG. 6B, the program 27 causes the display 31 to display an adjustment screen having two test images separated by the distance between the labels detected by the calibration.

本変形例の調整画面は、項目「ラベル間距離」と、ラベル間距離を示す数値を表示するテキストボックス87をさらに有する。 The adjustment screen of this modification further includes an item "distance between labels" and a text box 87 displaying a numerical value indicating the distance between labels.

ユーザは、用紙に印刷された図7(A)に示されるテスト画像のラベル間距離と、調整画面に表示された図6(B)に示されるテスト画像のラベル間距離とを見比べて、2つのラベル間距離が一致するように、調整画面における一方の外形画像81をドラッグし、用紙の長さ方向(図における左右方向)に外形画像81を移動させる。図7(B)は、外形画像81を移動させた後の調整画面を示す。 The user compares the distance between the labels of the test image shown in FIG. 7 (A) printed on the paper with the distance between the labels of the test image shown in FIG. 6 (B) displayed on the adjustment screen. Drag one of the outline images 81 on the adjustment screen so that the distances between the labels match, and move the outline image 81 in the length direction of the paper (the left-right direction in the figure). FIG. 7B shows an adjustment screen after moving the external image 81.

プログラム27は、外形画像81の移動の向き及び移動量に基づいて、ラベル間距離を算出し、算出したラベル間距離をテキストボックス87に表示させる。図示例では、テキストボックスに表示されたラベル間距離が1.5から2.0に変更されている。 The program 27 calculates the inter-label distance based on the movement direction and the movement amount of the external image 81, and displays the calculated inter-label distance in the text box 87. In the illustrated example, the distance between the labels displayed in the text box is changed from 1.5 to 2.0.

また、プログラム27は、テキストボックス87において、ラベル間距離の入力を受け付ける。ユーザは、例えば、調整画面に表示された外形画像81を微妙に移動させたい場合などにおいて、テキストボックス87に表示された数値を変更する。 Further, the program 27 accepts the input of the distance between labels in the text box 87. The user changes the numerical value displayed in the text box 87, for example, when he / she wants to slightly move the external image 81 displayed on the adjustment screen.

プログラム27は、テキストボックス87に入力された数値に基づいて、一方の外形画像81の移動の向き及び移動量を決定し、外形画像81を移動させる。すなわち、外形画像81をドラッグして移動させることによってテキストボックス87に表示されたラベル間距離を示す数値が変更され、テキストボックス87に表示されたラベル間距離を示す数値が変更されることによって外形画像81が移動する。 The program 27 determines the direction and amount of movement of one of the external image 81 based on the numerical value input to the text box 87, and moves the external image 81. That is, by dragging and moving the outline image 81, the numerical value indicating the distance between labels displayed in the text box 87 is changed, and by changing the numerical value indicating the distance between labels displayed in the text box 87, the outer shape is changed. Image 81 moves.

[変形例2の作用効果]
本変形例では、外形画像81及びテスト画像82を表示する調整画面においてラベル間距離を調整することができる。したがって、ラベル間距離の調整をユーザに容易に行わせることができる。
[Action and effect of variant 2]
In this modification, the distance between labels can be adjusted on the adjustment screen for displaying the external image 81 and the test image 82. Therefore, the user can easily adjust the distance between the labels.

また、本変形例では、調整画面において、外形画像81をドラッグして移動させることにより、ラベル間距離を調整することができる。したがって、数値を変更することによってラベル間距離を調整する場合に比べ、ラベル間距離の調整をユーザにさらに容易に行わせることができる。 Further, in this modification, the distance between the labels can be adjusted by dragging and moving the external image 81 on the adjustment screen. Therefore, it is possible to make the user more easily adjust the inter-label distance than in the case of adjusting the inter-label distance by changing the numerical value.

また、本変形例では、調整画面において、テキストボックス91~94に表示された数値を変更することによってもラベル間距離を調整することができる。したがって、ラベル間距離の微妙な変更も可能である。その結果、ラベル間距離の調整をユーザにさらに容易に行わせることができる。 Further, in this modification, the distance between labels can be adjusted by changing the numerical values displayed in the text boxes 91 to 94 on the adjustment screen. Therefore, it is possible to slightly change the distance between labels. As a result, the user can more easily adjust the distance between the labels.

[その他の変形例]
上述の実施形態では、プリンタドライバ26がOS25に対してプログラム27の起動を指示する例を説明した。しかしながら、ユーザI/F32を用いて、プログラム27の起動がOS25に指示されてもよい。すなわち、プログラム27は、ユーザI/F32を用いてユーザによって起動されてもよい。詳しく説明すると、OS25は、プログラム27の起動を受け付ける起動アイコンをディスプレイ31に表示させる。OS25は、起動アイコンがユーザI/32を用いて選択されたと判断すると、プログラム27を起動させる。起動されたプログラム27は、用紙登録画面をディスプレイ31に表示させる。但し、OS25から入力される起動指示には、プリンタドライバ名は含まれない。プログラム27は、プルダウンメニュー62を空白にして用紙登録画面をディスプレイ31に表示させる。
[Other variants]
In the above-described embodiment, an example in which the printer driver 26 instructs the OS 25 to start the program 27 has been described. However, the user I / F 32 may be used to instruct the OS 25 to start the program 27. That is, the program 27 may be started by the user using the user I / F32. More specifically, the OS 25 causes the display 31 to display a start icon that accepts the start of the program 27. When the OS 25 determines that the boot icon has been selected using the user I / 32, the OS 25 launches the program 27. The activated program 27 displays the paper registration screen on the display 31. However, the printer driver name is not included in the startup instruction input from the OS 25. The program 27 leaves the pull-down menu 62 blank and displays the paper registration screen on the display 31.

また、プログラム27は、S31の用紙登録を実行するとともに、用紙登録画面に表示させている用紙名及びプリンタドライバ名を、前回用紙名及び前回プリンタドライバ名として、メモリ22に記憶させてもよい。プログラム27は、OS25から入力された起動指示にプリンタドライバ名が含まれていないことに応じて、前回用紙名及び前回プリンタドライバ名をメモリ22から読み出す。プログラム27は、S13において、メモリ22から読み出した前回用紙名がテキストボックス61に表示され、メモリ22から読み出した前回プリンタドライバ名がプルダウンメニュー62に表示された用紙登録画面をディスプレイ31に表示させる。また、プログラム27は、前回プリンタドライバ名が示すプリンタドライバに対して、プリンタ10の機能情報を要求し、当該プリンタドライバからプリンタ10の機能情報を取得する。また、プログラム27は、前記用紙名が示す用紙名と対応付けられてメモリ22に記憶された用紙の形態、用紙の幅及び長さ、ラベル間距離、及び余白設定をメモリ22から読み出して取得する。プログラム27は、取得した機能情報が示す用紙の幅及び長さの上限値及び下限値と、左右上下の各余白の上限値及び下限値とを用紙登録画面に表示する。また、プログラム27は、取得した用紙の形態、用紙の幅及び長さ、ラベル間距離、及び余白設定をプルダウンメニュー63、スピンボックス66、67、75~78に表示させる。 Further, the program 27 may execute the paper registration of S31 and store the paper name and the printer driver name displayed on the paper registration screen in the memory 22 as the previous paper name and the previous printer driver name. The program 27 reads the previous paper name and the previous printer driver name from the memory 22 in response to the fact that the printer driver name is not included in the start instruction input from the OS 25. In S13, the program 27 causes the display 31 to display the paper registration screen in which the name of the previous paper read from the memory 22 is displayed in the text box 61 and the name of the previous printer driver read from the memory 22 is displayed in the pull-down menu 62. Further, the program 27 requests the functional information of the printer 10 from the printer driver indicated by the printer driver name last time, and acquires the functional information of the printer 10 from the printer driver. Further, the program 27 reads out from the memory 22 the form of the paper, the width and length of the paper, the distance between the labels, and the margin setting stored in the memory 22 in association with the paper name indicated by the paper name. .. The program 27 displays the upper and lower limit values of the width and length of the paper indicated by the acquired functional information and the upper and lower limit values of the left, right, upper and lower margins on the paper registration screen. Further, the program 27 displays the acquired paper form, paper width and length, label-to-label distance, and margin setting on the pull-down menu 63, spin boxes 66, 67, 75 to 78.

また、上述の実施形態では、センサユニット52が「ラベル間距離」を検出する例を説明したが、「ラベル間距離」は、通常1mm~2mm程度であるので、センサユニット52で「ラベル間距離」を検出しない構成も採用することができる。その場合、プログラム27は、「ラベル間距離」の初期値を、例えば1.5mmとする。 Further, in the above-described embodiment, an example in which the sensor unit 52 detects the “distance between labels” has been described, but since the “distance between labels” is usually about 1 mm to 2 mm, the “distance between labels” is described by the sensor unit 52. A configuration that does not detect "" can also be adopted. In that case, the program 27 sets the initial value of the "distance between labels" to, for example, 1.5 mm.

また、上述の実施形態では、S14で取得した機能情報に基づいて印刷可能範囲が決定される例を説明した。しかしながら、印刷可能範囲は、メモリ22に予め記憶された固定値から決定されてもよいし、或いは、ユーザI/F32によって入力される値から決定されてもよい。 Further, in the above-described embodiment, an example in which the printable range is determined based on the functional information acquired in S14 has been described. However, the printable range may be determined from a fixed value stored in advance in the memory 22 or may be determined from a value input by the user I / F 32.

また、上述の実施形態では、プリンタドライバ26とプログラム27とが別のプログラムであるものとして説明した。しかしながら、プリンタドライバ26とプログラム27とは、1つのプログラムであってもよい。すなわち、プログラム27は、プリンタドライバのモジュールとしてプリンタドライバに組み込まれていてもよい。 Further, in the above-described embodiment, the printer driver 26 and the program 27 have been described as different programs. However, the printer driver 26 and the program 27 may be one program. That is, the program 27 may be incorporated in the printer driver as a module of the printer driver.

また、上述の実施形態では、「調整」アイコン69が選択されると、用紙登録画面に代えて調整画面がディスプレイ31に表示される例を説明したが、用紙登録画面と、調整画面とは、タブで表示が切り替えられてもよい。 Further, in the above-described embodiment, when the "adjustment" icon 69 is selected, the adjustment screen is displayed on the display 31 instead of the paper registration screen. However, the paper registration screen and the adjustment screen are different from each other. The display may be switched by tabs.

また、上述の実施形態では、ラベルプリンタであるプリンタ10を説明したが、プリンタ10は、家庭用ラベルプリンタであってもよいし、マスキングテープのような装飾用シートの作成に使われる飾り付けラベル用プリンタであってもよい。食品のパッケージや、電気ケーブルに貼り付けるラベルや、大量のラベルを一度に生成することが必要な用途に使われるプロ向けラベルプリンタであってもよい。プリンタ10の印刷方式は限定されず、例えば、サーマル方式でもインクジェット方式でもよい。また、プリンタ10は、ラベル印刷専用プリンタでなく、カット紙状のラベル印刷用シートに印刷することも可能な、普通紙プリンタであってもよい。 Further, in the above-described embodiment, the printer 10 which is a label printer has been described, but the printer 10 may be a home-use label printer or a decorative label used for creating a decorative sheet such as a masking tape. It may be a printer. It may be a food package, a label to be attached to an electric cable, or a professional label printer used for an application that requires a large number of labels to be generated at one time. The printing method of the printer 10 is not limited, and may be, for example, a thermal method or an inkjet method. Further, the printer 10 may be a plain paper printer capable of printing on a cut paper-like label printing sheet instead of a label printing dedicated printer.

10・・・プリンタ
11・・・情報処理装置
12・・・用紙
21・・・CPU
22・・・メモリ
26・・・プリンタドライバ
27・・・プログラム
31・・・ディスプレイ
32・・・ユーザインタフェース
33・・・通信インタフェース
71・・・第1オブジェクト
72・・・第2オブジェクト
80・・・用紙画像
81・・・外形画像
82・・・テスト画像
10 ... Printer 11 ... Information processing device 12 ... Paper 21 ... CPU
22 ... Memory 26 ... Printer driver 27 ... Program 31 ... Display 32 ... User interface 33 ... Communication interface 71 ... First object 72 ... Second object 80 ... -Paper image 81 ... External image 82 ... Test image

Claims (19)

ディスプレイ、ユーザインタフェース、メモリ、通信インタフェース、及びコンピュータを備えた情報処理装置の当該コンピュータによって実行されるプログラムであって、
印刷媒体の第1方向のサイズである第1サイズを取得するサイズ取得手段と、
前記第1サイズに応じて決定される印刷可能範囲である第1印刷範囲を取得する印刷範囲取得手段と、
前記サイズ取得手段が取得した前記第1サイズと、前記印刷範囲取得手段が取得した前記第1印刷範囲とを前記メモリに記憶させる第1記憶手段と、
印刷媒体に印刷するテスト画像と、前記第1サイズに応じた印刷可能範囲を示す外形画像とを示すテスト印刷データを生成する印刷データ生成手段と、
前記印刷データ生成手段が生成した前記テスト印刷データを、前記通信インタフェースを通じてプリンタに送信する送信手段と、
前記テスト印刷データに応じた画面であって、印刷媒体を示す画像、前記外形画像、及び前記テスト画像を含む調整画面を前記ディスプレイに表示させる表示手段と、
前記調整画面において、前記ユーザインタフェースによって、前記第1サイズを変更する変更入力を受け付ける受付手段と、
前記受付手段が受け付けた変更入力に応じた第1サイズを決定する決定手段と、
前記決定手段が決定した前記第1サイズを前記メモリに記憶させる第2記憶手段として前記コンピュータを機能させるプログラム。
A program executed by a computer in an information processing apparatus equipped with a display, a user interface, a memory, a communication interface, and a computer.
A size acquisition means for acquiring the first size, which is the size in the first direction of the print medium, and
A print range acquisition means for acquiring a first print range, which is a printable range determined according to the first size, and a print range acquisition means.
A first storage means for storing the first size acquired by the size acquisition means and the first print range acquired by the print range acquisition means in the memory.
A print data generation means for generating test print data showing a test image to be printed on a print medium and an outline image showing a printable range according to the first size.
A transmission means for transmitting the test print data generated by the print data generation means to the printer through the communication interface, and a transmission means.
A display means for displaying an image showing a print medium, an external image, and an adjustment screen including the test image on the display, which is a screen corresponding to the test print data.
On the adjustment screen, the receiving means for accepting the change input for changing the first size by the user interface,
A determination means for determining the first size according to the change input received by the reception means, and
A program that causes the computer to function as a second storage means for storing the first size determined by the determination means in the memory.
前記印刷データ生成手段は、前記メモリに予め記憶された画像データであって、前記第1方向と交差する第2方向における2つの向きを区別して特定可能な画像を示す画像データを前記メモリから読み出し、当該メモリから読み出した画像データを用いて、前記テスト印刷データを生成する請求項1に記載のプログラム。 The print data generation means reads from the memory image data which is image data stored in advance in the memory and shows an image which can be identified by distinguishing between the two directions in the second direction intersecting with the first direction. The program according to claim 1, wherein the test print data is generated by using the image data read from the memory. 前記サイズ取得手段は、
指示コマンドを前記通信インタフェースを通じて前記プリンタに送信し、当該指示コマンドを送信した後に、前記プリンタから当該第1サイズを受信することで、前記第1サイズを取得する請求項1または2に記載のプログラム。
The size acquisition means is
The program according to claim 1 or 2, wherein an instruction command is transmitted to the printer through the communication interface, the instruction command is transmitted, and then the first size is received from the printer to acquire the first size. ..
前記表示手段は、前記第1サイズを数値として示す数値画像をさらに含む前記調整画面を前記ディスプレイに表示させ、
前記受付手段は、前記調整画面に表示された前記数値画像が示す前記第1サイズの数値の変更を受け付け、
前記表示手段は、前記受付手段が受け付けた前記数値の変更に応じて、変更後の前記第1サイズの前記外形画像及び前記テスト画像を含む前記調整画面を前記ディスプレイに表示させる請求項1から3のいずれかに記載のプログラム。
The display means causes the display to display the adjustment screen further including a numerical image showing the first size as a numerical value.
The receiving means receives a change in the numerical value of the first size indicated by the numerical image displayed on the adjustment screen, and receives the change.
The display means has claims 1 to 3 for displaying the adjustment screen including the external image of the first size and the test image after the change in response to the change of the numerical value received by the reception means on the display. The program described in any of.
前記表示手段は、前記第1サイズを数値として示す数値画像をさらに含む前記調整画面を前記ディスプレイに表示させ、
前記受付手段は、印刷媒体を示す画像に対する前記外形画像を移動させる変更入力を受け付け、
前記決定手段は、前記外形画像の移動量に応じて前記第1サイズを決定し、
前記表示手段は、前記決定手段が決定した前記第1サイズを示す前記数値画像を前記ディスプレイに表示させる請求項1から4のいずれかに記載のプログラム。
The display means causes the display to display the adjustment screen further including a numerical image showing the first size as a numerical value.
The receiving means receives a change input for moving the external image with respect to an image showing a print medium, and receives the change input.
The determining means determines the first size according to the amount of movement of the external image.
The program according to any one of claims 1 to 4, wherein the display means displays the numerical image indicating the first size determined by the determination means on the display.
前記受付手段は、前記調整画面において、前記印刷媒体を示す画像に対して前記外形画像をドラッグして前記第1方向に移動させる変更入力を受け付ける請求項1から5のいずれかに記載のプログラム。 The program according to any one of claims 1 to 5, wherein the receiving means receives a change input for moving the external image in the first direction by dragging the external image with respect to the image showing the print medium on the adjustment screen. 前記第1印刷範囲に対する前記第1方向における余白を示す第1余白値を取得する余白取得手段として前記コンピュータを機能させ、
前記第1記憶手段は、前記余白取得手段が取得した前記第1余白値を前記メモリに記憶させ、
前記受付手段は、前記調整画面において、前記外形画像に対する前記テスト画像を移動させる変更入力を受け付け、
前記決定手段は、前記テスト画像の移動量に応じた前記第1余白値を決定し、
前記第2記憶手段は、前記決定手段が決定した前記第1余白値を前記メモリに記憶する請求項1から6のいずれかに記載のプログラム。
The computer is made to function as a margin acquisition means for acquiring a first margin value indicating a margin in the first direction with respect to the first print range.
The first storage means stores the first margin value acquired by the margin acquisition means in the memory.
The receiving means receives a change input for moving the test image with respect to the external image on the adjustment screen.
The determination means determines the first margin value according to the movement amount of the test image, and determines the first margin value.
The program according to any one of claims 1 to 6, wherein the second storage means stores the first margin value determined by the determination means in the memory.
前記外形画像は、前記第1方向における前記第1印刷範囲の両端に位置しており、前記第1方向と交差する第2方向に沿った直線を含む請求項1から7のいずれかに記載のプログラム。 13. program. 前記テスト画像は、前記第1方向において対称でない画像である請求項1から8のいずれかに記載のプログラム。 The program according to any one of claims 1 to 8, wherein the test image is an image that is not symmetrical in the first direction. 前記サイズ取得手段は、印刷媒体の第2方向のサイズである第2サイズをさらに取得し、
前記印刷範囲取得手段は、前記第2サイズに応じて決定される印刷可能範囲である第2印刷範囲をさらに取得し、
前記第1記憶手段は、前記サイズ取得手段が取得した前記第2サイズと、前記印刷範囲取得手段が取得した前記第2印刷範囲とを前記メモリにさらに記憶させ、
前記印刷データ生成手段は、前記第1サイズ及び前記第2サイズに応じた印刷可能範囲を示す外形画像及び前記テスト画像に基づいて、テスト印刷データを生成し、
前記送信手段は、前記印刷データ生成手段が生成した前記テスト印刷データを、前記通信インタフェースを通じてプリンタに送信し、
前記表示手段は、前記テスト印刷データに応じた画面であって、前記外形画像及び前記テスト画像を含む前記調整画面を前記ディスプレイに表示させ、
前記受付手段は、前記調整画面において、前記ユーザインタフェースによって、前記第1サイズ及び前記第2サイズを変更する変更入力を受け付け、
前記決定手段は、前記受付手段が受け付けた変更入力に応じた前記第1サイズ及び前記第2サイズを決定し、
前記第2記憶手段は、前記受付手段が受け付けた前記変更入力によって変更された前記第1サイズ及び前記第2サイズを前記メモリに記憶させる請求項1から9のいずれかに記載のプログラム。
The size acquisition means further acquires a second size, which is the size of the print medium in the second direction.
The print range acquisition means further acquires a second print range, which is a printable range determined according to the second size.
The first storage means further stores the second size acquired by the size acquisition means and the second print range acquired by the print range acquisition means in the memory.
The print data generation means generates test print data based on an external image showing a printable range corresponding to the first size and the second size and the test image.
The transmission means transmits the test print data generated by the print data generation means to the printer through the communication interface.
The display means is a screen corresponding to the test print data, and the adjustment screen including the external image and the test image is displayed on the display.
The receiving means receives a change input for changing the first size and the second size on the adjustment screen by the user interface.
The determination means determines the first size and the second size according to the change input received by the reception means.
The program according to any one of claims 1 to 9, wherein the second storage means stores the first size and the second size changed by the change input received by the reception means in the memory.
前記表示手段は、前記第2サイズを数値として示す数値画像をさらに含む前記調整画面を前記ディスプレイに表示させ、
前記受付手段は、前記調整画面に表示された前記数値画像が示す前記第2サイズの数値の変更を受け付け、
前記表示手段は、前記受付手段が受け付けた前記数値の変更に応じて、変更後の前記第2サイズの前記外形画像及び前記テスト画像を含む前記調整画面を前記ディスプレイに表示させる請求項10に記載のプログラム。
The display means causes the display to display the adjustment screen further including a numerical image showing the second size as a numerical value.
The receiving means receives a change in the numerical value of the second size indicated by the numerical value image displayed on the adjusting screen, and receives the change.
The tenth aspect of the present invention, wherein the display means causes the display to display the adjustment screen including the external image of the second size and the test image after the change in response to the change of the numerical value received by the reception means. Program.
前記表示手段は、前記第2サイズを数値として示す数値画像をさらに含む前記調整画面を前記ディスプレイに表示させ、
前記受付手段は、印刷媒体を示す画像に対する前記外形画像を移動させる変更入力を受け付け、
前記決定手段は、前記外形画像の移動量に応じて前記第2サイズを決定し、
前記表示手段は、前記決定手段が決定した前記第2サイズを示す前記数値画像を前記ディスプレイに表示させる請求項10または11に記載のプログラム。
The display means causes the display to display the adjustment screen further including a numerical image showing the second size as a numerical value.
The receiving means receives a change input for moving the external image with respect to an image showing a print medium, and receives the change input.
The determining means determines the second size according to the amount of movement of the external image.
The program according to claim 10 or 11, wherein the display means displays the numerical image indicating the second size determined by the determination means on the display.
前記受付手段は、前記調整画面において、前記印刷媒体を示す画像に対して前記外形画像をドラッグして前記第2方向に移動させる変更入力を受け付ける請求項10から12のいずれかに記載のプログラム。 The program according to any one of claims 10 to 12, wherein the receiving means receives a change input for moving the external image in the second direction by dragging the external image with respect to the image showing the print medium on the adjustment screen. 前記第1印刷範囲に対する前記第1方向における余白を示す第1余白値を取得する余白取得手段として前記コンピュータを機能させ、
前記余白取得手段は、前記第2印刷範囲に対する前記第2方向における余白を示す第2余白値を取得し、
前記第1記憶手段は、前記余白取得手段が取得した前記第2余白値を前記メモリに記憶させ、
前記受付手段は、前記調整画面において、前記外形画像に対する前記テスト画像を移動させる変更入力を受け付け、
前記決定手段は、前記テスト画像の移動量に応じた前記第2余白値を決定し、
前記第2記憶手段は、前記決定手段が決定した前記第2余白値を前記メモリに記憶する請求項10から13のいずれかに記載のプログラム。
The computer is made to function as a margin acquisition means for acquiring a first margin value indicating a margin in the first direction with respect to the first print range.
The margin acquisition means acquires a second margin value indicating a margin in the second direction with respect to the second print range.
The first storage means stores the second margin value acquired by the margin acquisition means in the memory.
The receiving means receives a change input for moving the test image with respect to the external image on the adjustment screen.
The determination means determines the second margin value according to the movement amount of the test image, and determines the second margin value.
The program according to any one of claims 10 to 13, wherein the second storage means stores the second margin value determined by the determination means in the memory.
前記外形画像は、前記第2方向における前記印刷可能範囲の両端に位置しており、前記第1方向に沿った直線を含む請求項10から14のいずれかに記載のプログラム。 The program according to any one of claims 10 to 14, wherein the external image is located at both ends of the printable range in the second direction and includes a straight line along the first direction. 前記テスト画像は、前記第2方向において対称でない画像である請求項10から15のいずれかに記載のプログラム。 The program according to any one of claims 10 to 15, wherein the test image is an image that is not symmetrical in the second direction. 前記サイズ取得手段は、前記第1サイズ、及び、前記第2サイズを示す第2サイズ対応情報を取得し、当該第2サイズ対応情報は、当該第2サイズまたは当該第2サイズがセンサが検出可能な所定値を超えたことを示す特定情報であり、
前記サイズ取得手段が取得した前記第2サイズ対応情報が前記第2サイズであるか、前記特定情報であるかを判断する判断手段と、
前記判断手段が前記第サイズであると判断したことに応じて、前記メモリに記憶された第1オブジェクトを前記ディスプレイに表示させ、前記判断手段が前記特定情報であると判断したことに応じて、前記メモリに記憶された第2オブジェクトを前記ディスプレイに表示させ、前記第1オブジェクトは、前記第2方向における長さが有限の印刷媒体を示すオブジェクトであり、前記第2オブジェクトは、前記第2方向における長さが無定長である印刷媒体を示すオブジェクトである請求項10から16のいずれかに記載のプログラム。
The size acquisition means acquires the first size and the second size correspondence information indicating the second size, and the second size or the second size can detect the second size correspondence information by the sensor. Specific information indicating that the specified value has been exceeded.
A determination means for determining whether the second size correspondence information acquired by the size acquisition means is the second size or the specific information.
In response to the determination that the determination means is the second size, the first object stored in the memory is displayed on the display, and the determination means is determined to be the specific information. The second object stored in the memory is displayed on the display, the first object is an object showing a print medium having a finite length in the second direction, and the second object is the second object. The program according to any one of claims 10 to 16, which is an object indicating a print medium having an indefinite length in a direction.
前記ユーザインタフェースを通じたプリンタドライバの種類の入力を受け付けるドライバ選択受付手段と、
前記ドライバ選択受付手段が受け付けたプリンタドライバの機能情報を取得する機能情報取得手段として前記コンピュータを機能させ、
前記印刷データ生成手段は、前記機能情報取得手段が取得した機能情報が、画像の向きを回転させて印刷媒体に印刷することを示すことに応じて、プリンタドライバが回転させた後の画像の向きが前記調整画面に表示される前記テスト画像の向きと一致する向きに回転させた前記テスト画像を生成する請求項1から17のいずれかに記載のプログラム。
A driver selection receiving means that accepts input of a printer driver type through the user interface, and
The computer is made to function as a function information acquisition means for acquiring the function information of the printer driver accepted by the driver selection receiving means.
The print data generation means indicates that the functional information acquired by the functional information acquisition means rotates the orientation of the image to print on the print medium, and the orientation of the image after being rotated by the printer driver. The program according to any one of claims 1 to 17, wherein the test image is rotated in a direction that matches the direction of the test image displayed on the adjustment screen.
前記情報処理装置の前記コンピュータによって実行されたプリンタドライバが出力した起動指示の入力を受け付ける起動指示受付手段として前記コンピュータを機能させ、
前記ドライバ選択受付手段は、前記起動指示受付手段が前記起動指示を受け付けたことに応じて、前記起動指示を出力したプリンタドライバを選択する請求項18に記載のプログラム。
The computer is made to function as a start instruction receiving means for receiving an input of a start instruction output by a printer driver executed by the computer of the information processing apparatus.
The program according to claim 18, wherein the driver selection receiving means selects a printer driver that outputs a start instruction in response to the start instruction receiving means receiving the start instruction.
JP2018086105A 2018-04-27 2018-04-27 program Active JP7099029B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018086105A JP7099029B2 (en) 2018-04-27 2018-04-27 program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018086105A JP7099029B2 (en) 2018-04-27 2018-04-27 program

Publications (2)

Publication Number Publication Date
JP2019192057A JP2019192057A (en) 2019-10-31
JP7099029B2 true JP7099029B2 (en) 2022-07-12

Family

ID=68390235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018086105A Active JP7099029B2 (en) 2018-04-27 2018-04-27 program

Country Status (1)

Country Link
JP (1) JP7099029B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001100966A (en) 1999-09-30 2001-04-13 Seiko Epson Corp Printer host and storage medium storing printer host operation program
JP2003300354A (en) 2002-02-06 2003-10-21 Canon Inc Printing control device, method of controlling printing, and printing control program
JP2005343066A (en) 2004-06-04 2005-12-15 Canon Inc Controlling apparatus, image forming apparatus, information processing apparatus, method for controlling calibration, method for correcting image forming position, data processing method, storing medium storing computer-readable program and program
JP2006272769A (en) 2005-03-29 2006-10-12 Konica Minolta Business Technologies Inc Image forming device
JP2008269265A (en) 2007-04-19 2008-11-06 Brother Ind Ltd Printing system, printing data creation device and computer program
JP2009093247A (en) 2007-10-04 2009-04-30 Brother Ind Ltd Label data creation device, program, and recording medium
JP2016225871A (en) 2015-06-01 2016-12-28 株式会社リコー Preview image display device and image processing device including preview image display device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001100966A (en) 1999-09-30 2001-04-13 Seiko Epson Corp Printer host and storage medium storing printer host operation program
JP2003300354A (en) 2002-02-06 2003-10-21 Canon Inc Printing control device, method of controlling printing, and printing control program
JP2005343066A (en) 2004-06-04 2005-12-15 Canon Inc Controlling apparatus, image forming apparatus, information processing apparatus, method for controlling calibration, method for correcting image forming position, data processing method, storing medium storing computer-readable program and program
JP2006272769A (en) 2005-03-29 2006-10-12 Konica Minolta Business Technologies Inc Image forming device
JP2008269265A (en) 2007-04-19 2008-11-06 Brother Ind Ltd Printing system, printing data creation device and computer program
JP2009093247A (en) 2007-10-04 2009-04-30 Brother Ind Ltd Label data creation device, program, and recording medium
JP2016225871A (en) 2015-06-01 2016-12-28 株式会社リコー Preview image display device and image processing device including preview image display device

Also Published As

Publication number Publication date
JP2019192057A (en) 2019-10-31

Similar Documents

Publication Publication Date Title
US7728992B2 (en) Data processing apparatus, print control method, computer-readable storage medium, and program stored therein
US8885196B2 (en) Portable terminal, printing system, control method for portable terminal, and computer program product for executing printing based on movement of the portable terminal
JP6335714B2 (en) Print control apparatus, print control method, and program
JP6761675B2 (en) Printing device and printing control device
JP7392519B2 (en) Programs, installers, and information processing equipment
JP2010120231A (en) Print device and print control program
JP7298297B2 (en) application program
CN107867094B (en) Printing device, method of controlling printing device, and recording medium
JP7354540B2 (en) Program, installer set, information processing device, and print data output method
JP7099029B2 (en) program
US10140560B2 (en) Printing apparatus, control method of printing apparatus, and a storage medium
US10334125B2 (en) Image forming apparatus with projector to display an image to be printed and related method
US9513850B2 (en) Method for mixing paper orientations
US12145355B2 (en) Non-transitory computer-readable medium and control method
JP2008000950A (en) Image forming apparatus
JP7238482B2 (en) program
JP7234647B2 (en) Program and Information Processing Equipment
JP4380735B2 (en) Information processing apparatus, information processing method, and program
JP4813340B2 (en) Image forming apparatus, image forming method, and image forming program
JP4232966B2 (en) Image forming apparatus
JP2007196422A (en) Printer control device
JP6910129B2 (en) Printer
JP2005297360A (en) Print system and method for specifying print sheet size
JP2008027216A (en) Printing system capable of changing order of displaying list of printable paper size
JP3601519B2 (en) Printer and printing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210330

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220405

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220517

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220613

R150 Certificate of patent or registration of utility model

Ref document number: 7099029

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150