JP2008027384A - Printing system, printing apparatus, terminal apparatus and printing control program - Google Patents

Printing system, printing apparatus, terminal apparatus and printing control program Download PDF

Info

Publication number
JP2008027384A
JP2008027384A JP2006202394A JP2006202394A JP2008027384A JP 2008027384 A JP2008027384 A JP 2008027384A JP 2006202394 A JP2006202394 A JP 2006202394A JP 2006202394 A JP2006202394 A JP 2006202394A JP 2008027384 A JP2008027384 A JP 2008027384A
Authority
JP
Japan
Prior art keywords
paper
printing
data
print
printed
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.)
Withdrawn
Application number
JP2006202394A
Other languages
Japanese (ja)
Inventor
Yutaka Yamada
山田  豊
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 JP2006202394A priority Critical patent/JP2008027384A/en
Publication of JP2008027384A publication Critical patent/JP2008027384A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing system, a printing apparatus, a terminal apparatus and a printing control program that can perform printing only with sheets remaining in the printing apparatus such that print data will not be lost, and can perform accurate reprinting in the original print format. <P>SOLUTION: When receiving print data, the printer 2 determines whether or not the number of remaining sheets is at least the number of pages yet to be printed in S8. If the number of remaining sheets is at least the number of pages yet to be printed (S8: YES), a single page of the print data is printed normally (S10). If the number of remaining sheets is smaller than the number of pages yet to be printed (S8: NO), N pages yet to be printed are converted into N QR codes (S11) and an image of an appropriate arrangement of them is expanded in a print buffer and printed on a single sheet. The routine then returns to S8 until the number of pages yet to be printed becomes zero. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、用紙に印刷する印刷装置と、印刷装置に印刷データを送信する端末装置とを備える印刷システム、印刷システムに用いられる印刷装置、端末装置及び印刷制御プログラムに関し、印刷装置に残っている用紙のみにて印刷を行う印刷システム、印刷装置、端末装置及び印刷制御プログラムに関するものである。   The present invention relates to a printing system that includes a printing device that prints on paper and a terminal device that transmits print data to the printing device, a printing device used in the printing system, a terminal device, and a print control program, and remains in the printing device. The present invention relates to a printing system, a printing apparatus, a terminal apparatus, and a printing control program that perform printing using only paper.

従来、印刷装置では用紙がなくなると印刷できないことから、用紙がなくなった場合、及び、用紙が残り少なくなった場合に対処する数々の提案がなされている。その1つは印刷データを印刷装置内のメモリに保存しておき、印刷装置に用紙が補充された時に、補充された用紙に印刷することである。別の提案としては、用紙が残り少なくなった場合に、用紙への印刷形式を変えるという提案がある。用紙への印刷形式を変える例としては、用紙の片面のみに印刷する設定である時に用紙の両面に印刷したり、2ページ分の印刷データが用紙の1ページに収まるように縮小して印刷(2in1)したりすることが知られている(特許文献1参照)。
特開2000−315143号公報
Conventionally, since printing cannot be performed when a printing apparatus runs out of paper, a number of proposals have been made to deal with the case where the paper runs out and when the paper runs out. One of them is to store print data in a memory in the printing apparatus, and print on the replenished paper when the printing apparatus is replenished with paper. As another proposal, there is a proposal to change the printing format on the sheet when the remaining sheet is low. Examples of changing the printing format on paper include printing on both sides of the paper when the setting is to print only on one side of the paper, or printing by reducing the print data for two pages to fit on one page of paper ( 2in1) is known (see Patent Document 1).
JP 2000-315143 A

しかしながら、1つ目の提案では、印刷装置の電源を切ってしまうとメモリに記憶していた印刷データが消え去ってしまったり、印刷データが大きい場合は、印刷装置の内部に大容量の記憶装置を備える必要があったりした。また、別の提案では、印刷装置に残っている用紙のみにて印刷をすることができ、それによって印刷データを消え去ってしまうことはないが、一旦印刷した用紙から本来の印刷形式にて印刷し直すことには向いていなかった。即ち、両面印刷であれば、スキャナで印刷イメージを取り込む必要があり、取り込む際に、歪んで取り込まれることがあるので、それを印刷した印刷物にも歪みが反映されてしまう。また、2in1では、縮小して印刷された印刷物からスキャナで印刷イメージを取り込むことになるので、両面印刷の時の問題に加え、縮小する過程で情報が落ちることがあり、それを拡大しても元のイメージとは微妙に異なってしまうということがあった。   However, according to the first proposal, when the printing device is turned off, the print data stored in the memory is erased. If the print data is large, a large-capacity storage device is installed inside the printing device. It was necessary to prepare. In another proposal, printing can be performed using only the paper remaining in the printing device, and the print data will not be erased. It was not suitable for repairing. That is, with double-sided printing, it is necessary to capture a print image with a scanner, and when it is captured, it may be captured in a distorted manner, so that the distortion is also reflected in the printed matter on which it is printed. In addition, in 2in1, since a printed image is captured by a scanner from a printed material that has been reduced, information may be lost during the reduction process in addition to the problem of double-sided printing. Sometimes it was slightly different from the original image.

そこで、本発明は、上述した問題点を解決するためになされたものであり、印刷装置に残っている用紙のみにて印刷をすることができ、それにより印刷データが消え去ってしまうことはなくなり、また、本来の印刷形式にて印刷し直すに際し、本来の印刷形式に正確に印刷することを目的とする。   Therefore, the present invention has been made to solve the above-described problems, and printing can be performed only with the paper remaining in the printing apparatus, whereby print data is not lost, Another object of the present invention is to accurately print in the original print format when reprinting in the original print format.

前記目的を達成するため請求項1に係る印刷システムは、用紙に印刷する印刷装置と、印刷装置により印刷されるデータを記憶するデータ記憶装置とを備える印刷システムにおいて、前記印刷装置は、前記用紙を収納する用紙収納手段と、前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、前記用紙に印刷する印刷手段とを備え、前記データ記憶装置は、前記データを記憶する記憶手段を備え、前記印刷システムは、前記記憶手段に記憶されているデータを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得された印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、用紙の一面全体に印刷される分量の前記データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、前記データを印刷するに際し、前記判断手段により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする。   In order to achieve the above object, a printing system according to claim 1 is a printing system including a printing device that prints on paper and a data storage device that stores data to be printed by the printing device. Paper storage means for storing paper, remaining amount information detection means for detecting remaining amount information of the paper stored in the paper storage means, and printing means for printing on the paper, the data storage device comprising: Storage means for storing data, and the printing system is detected by a print number acquisition means for acquiring the number of sheets for printing the data stored in the storage means, and the remaining amount information detection means. Whether all the data can be printed on the paper stored in the paper storage means based on the remaining amount information of the paper and the number of prints acquired by the print number acquisition means Determining means, converting means for converting the amount of data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half of the paper size, and determining when the data is printed If it is determined by the means that all the data cannot be printed on the paper stored in the paper storage means, the data is converted into a two-dimensional code by the conversion means, and the two-dimensional code is converted via the printing means. And printing control means for controlling to print all the data only on the paper stored in the paper storage means.

また、請求項2に係る印刷システムは、用紙に印刷する印刷装置と、印刷装置と通信手段を介して接続する端末装置とを備える印刷システムにおいて、前記端末装置は、前記通信手段を介して前記印刷装置に印刷データを送信する送信手段を備え、前記印刷装置は、前記用紙に印刷する印刷手段と、前記用紙を収納する用紙収納手段と、前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、前記通信手段を介して前記端末装置から送信される前記印刷データを受信する受信手段と、前記受信手段に受信される前記印刷データを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得された印刷枚数により、前記印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、前記印刷データを印刷するに際し、前記判断手段により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする。   According to a second aspect of the present invention, there is provided a printing system comprising: a printing device that prints on a sheet; and a terminal device that is connected to the printing device via a communication unit. The terminal device includes the communication unit via the communication unit. A printing unit configured to transmit print data to the printing device, the printing device printing the sheet, a paper storage unit that stores the paper, and a remaining amount of paper stored in the paper storage unit Remaining amount information detecting means for detecting information; receiving means for receiving the print data transmitted from the terminal device via the communication means; and the print data received by the receiving means for printing the print data The number-of-prints acquisition unit for acquiring the number of sheets, the remaining amount information of the sheet detected by the remaining amount information detection unit, and the number of printed sheets acquired by the number-of-prints acquisition unit, Determining means for determining whether or not all the printing data can be printed on the paper stored in the paper storage means; and the amount of the print data to be printed on the entire surface of the paper is a print size equal to or less than half the paper size A conversion means for converting into a two-dimensional code, and when the print data is printed, if the determination means determines that all the print data cannot be printed on the paper stored in the paper storage means, the conversion means The print data is converted into a two-dimensional code by printing, and the two-dimensional code is printed via the printing means, so that all the print data is printed only on the paper stored in the paper storage means. Printing control means.

また、請求項3に係る印刷システムは、用紙に印刷する印刷装置と、印刷装置と通信手段を介して接続する端末装置とを備える印刷システムにおいて、前記印刷装置は、前記用紙に印刷する印刷手段と、前記用紙を収納する用紙収納手段と、前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、前記通信手段を介して前記端末装置に前記残量情報検出手段により検出された用紙の残量情報を送信する第1送信手段と、前記通信手段を介して前記端末装置から送信される印刷データを受信する第1受信手段と、前記第1受信手段により受信する前記印刷データを前記印刷手段により前記用紙に印刷するよう制御する第1印刷制御手段とを備え、前記端末装置は、前記印刷データを記憶する記憶手段と、前記通信手段を介して前記印刷装置に印刷データを送信する第2送信手段と、第1送信手段により送信される用紙の残量情報を受信する第2受信手段と、前記第2受信手段により検出された用紙の残量情報と前記記憶手段に記憶されている印刷データを印刷するための印刷枚数により、印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、前記印刷装置に対し第2送信手段によって前記印刷データを送信するに際し、前記判断手段により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記第2送信手段を介して当該2次元コードに相当する印刷データを送信することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷するように制御する第2印刷制御手段とを備えることを特徴とする。   According to a third aspect of the present invention, there is provided a printing system comprising: a printing apparatus that prints on a sheet; and a terminal device that is connected to the printing apparatus via a communication unit. The printing apparatus prints on the sheet. Sheet storage means for storing the sheet, remaining amount information detection means for detecting remaining amount information of the sheet stored in the sheet storage means, and the remaining amount information to the terminal device via the communication means A first transmission unit configured to transmit the remaining amount information of the paper detected by the detection unit; a first reception unit configured to receive print data transmitted from the terminal device via the communication unit; and the first reception unit. First printing control means for controlling the printing data to be printed on the paper by the printing means, the terminal device comprising: storage means for storing the printing data; A second transmission unit that transmits print data to the printing apparatus via the second transmission unit; a second reception unit that receives the remaining amount information of the sheet transmitted by the first transmission unit; and a sheet detected by the second reception unit Determining means for determining whether or not all the print data can be printed on the paper stored in the paper storage means based on the remaining amount information and the number of prints for printing the print data stored in the storage means; A conversion unit that converts the print data of an amount to be printed on the entire surface of the paper into a two-dimensional code having a print size that is half or less of the paper size, and the print data is transmitted to the printing apparatus by the second transmission unit. In this case, if it is determined by the determination means that all the print data cannot be printed on the paper stored in the paper storage means, the conversion means converts the print data into the secondary data. Control to print all the print data only on the paper stored in the paper storage means by converting the data into a code and transmitting the print data corresponding to the two-dimensional code via the second transmission means And a second printing control means.

また、請求項4に係る印刷システムは、用紙に印刷する印刷装置と、印刷装置により印刷されるデータを記憶する携帯型のデータ記憶装置とを備える印刷システムにおいて、前記データ記憶装置は、前記データを記憶する記憶手段を備え、前記印刷装置は、前記用紙を収納する用紙収納手段と、前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、前記用紙に印刷する印刷手段と、前記記憶手段から前記データを読み出す読み出し手段と、前記記憶手段に記憶されているデータを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得した印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、用紙の一面全体に印刷される分量の前記データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、前記データを印刷するに際し、前記判断手段により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする。   According to a fourth aspect of the present invention, there is provided a printing system comprising: a printing device that prints on a sheet; and a portable data storage device that stores data to be printed by the printing device. Storage means for storing the paper, and the printing device stores paper storage means for storing the paper, remaining amount information detection means for detecting remaining amount information of the paper stored in the paper storage means, and the paper Printing means for printing, reading means for reading out the data from the storage means, print number acquisition means for acquiring the number of sheets for printing the data stored in the storage means, and the remaining amount information detection All of the data is stored in the paper storage means based on the remaining amount information of the paper detected by the means and the number of printed sheets acquired by the printed number acquisition means. Determination means for determining whether printing is possible on paper, conversion means for converting the amount of data printed on the entire surface of the paper into a two-dimensional code having a print size less than half of the paper size, and the data When printing, if it is determined by the determining means that it is not possible to print all the data on the paper stored in the paper storing means, the converting means converts the data into a two-dimensional code, and the printing means And printing control means for controlling to print all the data only on the paper stored in the paper storage means by printing the two-dimensional code.

また、請求項5に係る印刷システムは、請求項4に記載の印刷システムにおいて、前記データ記憶装置は、USB(Universal Searial Bus)メモリであることを特徴とする。   According to a fifth aspect of the present invention, in the printing system according to the fourth aspect, the data storage device is a USB (Universal Serial Bus) memory.

また、請求項6に係る印刷装置は、用紙に印刷する印刷装置と、印刷装置と通信手段を介して接続する端末装置とを備える印刷システムに使用される印刷装置において、前記用紙に印刷する印刷手段と、前記用紙を収納する用紙収納手段と、前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、前記通信手段を介して前記端末装置から送信される印刷データを受信する受信手段と、前記受信手段に受信される前記印刷データを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得された印刷枚数により、前記印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、前記印刷データを印刷するに際し、前記判断手段により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする。   According to a sixth aspect of the present invention, there is provided a printing apparatus that is used in a printing system that includes a printing apparatus that prints on paper and a terminal device that is connected to the printing apparatus via communication means. Means, a paper storage means for storing the paper, a remaining amount information detection means for detecting the remaining amount information of the paper stored in the paper storage means, and the terminal device via the communication means. A receiving unit that receives print data; a print number acquiring unit that acquires the number of sheets for printing the print data received by the receiving unit; and a remaining sheet detected by the remaining amount information detecting unit. Determining means for determining whether or not all the print data can be printed on the paper stored in the paper storage means based on the quantity information and the number of printed sheets acquired by the printed number acquisition means; Converting means for converting the amount of the print data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half of the paper size; and when printing the print data, the judgment means When it is determined that printing is not possible on the paper stored in the paper storage means, the conversion data is converted into a two-dimensional code by the conversion means, and the two-dimensional code is printed via the printing means. And print control means for controlling to print all the print data only on the paper stored in the paper storage means.

また、請求項7に係る端末装置は、用紙に印刷する印刷装置と、印刷装置と通信手段を介して接続する端末装置とを備える印刷システムに使用される端末装置において、印刷データを記憶する記憶手段と、前記通信手段を介して前記印刷装置に前記印刷データを送信する送信手段と、前記通信手段を介して前記印刷装置に収納されている用紙の残量情報を受信する受信手段と、前記受信手段により受信された用紙の残量情報と前記記憶手段に記憶されている印刷データを印刷するための印刷枚数により、印刷データを全て前記印刷装置に収納されている用紙に印刷可能か否かを判断する判断手段と、用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、前記印刷装置に対し送信手段によって印刷データを送信するに際し、前記判断手段により印刷データを全て前記印刷装置に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記送信手段を介して当該2次元コードに相当する印刷データを送信することにより前記印刷装置に収納されている用紙のみにて前記印刷データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする。   According to a seventh aspect of the present invention, there is provided a terminal device used in a printing system including a printing device that prints on paper and a terminal device that is connected to the printing device via communication means, and stores print data. Means for transmitting the print data to the printing apparatus via the communication means, receiving means for receiving the remaining amount information of the paper stored in the printing apparatus via the communication means, Whether or not all the print data can be printed on the paper stored in the printing apparatus based on the remaining amount information of the paper received by the receiving means and the number of prints for printing the print data stored in the storage means Determining means for determining the amount of the print data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half the paper size; and the printing When transmitting the print data to the printer by the transmission means, if the determination means determines that all the print data cannot be printed on the paper stored in the printing apparatus, the conversion means Print control for controlling to print all the print data only on the paper stored in the printing apparatus by converting the code into a code and transmitting the print data corresponding to the two-dimensional code via the transmission means Means.

また、請求項8に係る印刷装置は、用紙に印刷する印刷装置と、印刷装置により印刷されるデータを記憶する携帯型のデータ記憶装置とを備える印刷システムに使用される印刷装置において、前記用紙を収納する用紙収納手段と、前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、前記用紙に印刷する印刷手段と、前記データ記憶装置の記憶手段から前記データを読み出す読み出し手段と、前記記憶手段に記憶されているデータを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得した印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、用紙の一面全体に印刷される分量の前記データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、前記データを印刷するに際し、前記判断手段により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする。   According to an eighth aspect of the present invention, there is provided a printing apparatus used in a printing system including a printing apparatus that prints on a sheet and a portable data storage device that stores data printed by the printing apparatus. Paper storage means for storing paper, remaining amount information detection means for detecting remaining amount information of paper stored in the paper storage means, printing means for printing on the paper, and storage means of the data storage device from the storage means A reading means for reading data; a print number acquisition means for acquiring the number of sheets for printing the data stored in the storage means; and a remaining amount information of the sheet detected by the remaining amount information detection means. Determining means for determining whether or not all of the data can be printed on the paper stored in the paper storage means based on the number of printed sheets acquired by the printed number acquisition means; Conversion means for converting the amount of the data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half of the paper size; and when printing the data, all the data is transferred to the paper by the determination means. If it is determined that printing on the paper stored in the storage means is not possible, the data is converted into a two-dimensional code by the conversion means, and the two-dimensional code is printed via the printing means to store the paper. And print control means for controlling to print all the data only on the paper stored in the means.

また、請求項9に係る印刷制御プログラムは、コンピュータに、用紙に印刷する印刷制御を実行させる印刷制御プログラムにおいて、前記用紙を収納する用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出工程と、通信手段を介して印刷データを受信する受信工程と、前記受信工程にて受信される前記印刷データを印刷するための前記用紙の枚数を取得する印刷枚数取得工程と、前記残量情報検出工程により検出された用紙の残量情報と前記印刷枚数取得工程により取得された印刷枚数により、前記印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断工程と、用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換工程と、前記印刷データを印刷するに際し、前記判断工程により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換工程により前記印刷データを2次元コードに変換し、印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷する印刷工程とをコンピュータに実行させる。   According to a ninth aspect of the present invention, there is provided a print control program for causing a computer to execute print control for printing on paper, and detecting remaining amount information of paper stored in a paper storage means for storing the paper. A remaining amount information detection step, a reception step of receiving print data via a communication means, a print number acquisition step of acquiring the number of sheets for printing the print data received in the reception step, Whether or not all the print data can be printed on the paper stored in the paper storage means based on the remaining amount information of the paper detected in the remaining amount information detection step and the number of printed sheets acquired in the printed number acquisition step. A conversion step for converting the amount of the print data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half of the paper size. And when printing the print data, if it is determined by the determination step that all the print data cannot be printed on the paper stored in the paper storage means, the conversion data is converted into a two-dimensional code. And printing the two-dimensional code via the printing means, thereby causing the computer to execute a printing process for printing all the print data only on the paper stored in the paper storage means.

また、請求項10に係る印刷制御プログラムは、印刷装置にて用紙に印刷される印刷データの送信をコンピュータに実行させる印刷制御プログラムにおいて、通信手段を介して前記印刷装置に収納されている用紙の残量情報を受信する受信工程と、前記受信工程により受信された用紙の残量情報と記憶手段に記憶されている印刷データを印刷するための印刷枚数により、印刷データを全て前記印刷装置に収納されている用紙に印刷可能か否かを判断する判断工程と、用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換工程と、前記印刷装置に対し通信手段によって前記印刷データを送信するに際し、前記判断工程により印刷データを全て前記印刷装置に収納されている用紙に印刷可能でないと判断された場合は、変換工程により前記印刷データを2次元コードに変換し、前記通信手段を介して当該2次元コードに相当する印刷データを送信することにより前記印刷装置に収納されている用紙のみにて前記印刷データを全て印刷する印刷工程とをコンピュータに実行させる。   According to a tenth aspect of the present invention, there is provided a print control program for causing a computer to execute transmission of print data to be printed on a sheet by the printing apparatus, and for the sheets stored in the printing apparatus via a communication unit. All the print data is stored in the printing device according to the receiving step for receiving the remaining amount information, the remaining amount information of the paper received in the receiving step, and the number of prints for printing the print data stored in the storage means. A determination step for determining whether or not printing is possible on a sheet that has been printed, and a conversion step for converting the amount of the print data to be printed on the entire surface of the sheet into a two-dimensional code having a print size less than half the sheet size; When the print data is transmitted to the printing apparatus by communication means, all the print data is stored in the printing apparatus by the determination step. If it is determined that printing on paper is not possible, the print data is converted into a two-dimensional code by a conversion step, and the print data corresponding to the two-dimensional code is transmitted to the printing apparatus via the communication means. And causing the computer to execute a printing process in which all the print data is printed using only the stored paper.

また、請求項11に係る印刷制御プログラムは、コンピュータに、用紙に印刷する印刷制御を実行させる印刷制御プログラムにおいて、前記用紙を収納する用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出工程と、データ記憶装置の記憶手段からデータを読み出す読み出し工程と、前記読み出し工程により前記記憶手段から読み出される前記データを印刷するための前記用紙の枚数を取得する印刷枚数取得工程と、前記残量情報検出工程により検出された用紙の残量情報と前記印刷枚数取得工程により取得した印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断工程と、用紙の一面全体に印刷される分量の前記データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換工程と、前記データを印刷するに際し、前記判断工程により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換工程により前記データを2次元コードに変換し、印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷する印刷工程とをコンピュータに実行させる。   A print control program according to an eleventh aspect of the invention is a print control program for causing a computer to execute print control for printing on paper, and detecting remaining amount information of paper stored in a paper storage means for storing the paper. A remaining amount information detecting step, a reading step of reading data from the storage means of the data storage device, and a printed sheet number acquiring step of acquiring the number of sheets for printing the data read from the storage means by the reading step; Whether or not all of the data can be printed on the paper stored in the paper storage means based on the remaining amount information of the paper detected in the remaining amount information detection step and the number of printed sheets acquired in the printed number acquisition step. The determination step of determining and the amount of the data to be printed on the entire surface of the paper is a print size less than half the paper size. A conversion step of converting to a dimension code; and when printing the data, if the determination step determines that all of the data cannot be printed on the paper stored in the paper storage means, the conversion step Is converted into a two-dimensional code, and the two-dimensional code is printed via the printing means, thereby causing the computer to execute a printing process for printing all the data only on the paper stored in the paper storage means.

請求項1に係る印刷システムでは、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得された印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、前記データを印刷するに際し、前記判断手段により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷するように制御する印刷制御手段とを備えて構成されている。   In the printing system according to claim 1, all of the data is stored in the paper storage unit based on the remaining amount information of the paper detected by the remaining amount information detection unit and the number of printed sheets acquired by the printed number acquisition unit. A determination unit that determines whether or not printing is possible on a sheet of paper, and when the data is printed, the determination unit determines that all of the data is not printable on a sheet stored in the sheet storage unit The data is converted into a two-dimensional code by the converting means, and the two-dimensional code is printed via the printing means so that all the data is printed only on the paper stored in the paper storing means. Printing control means for controlling.

これにより、印刷装置に残っている用紙のみにて印刷をすることができるので、それによってデータが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時にデータの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the printing apparatus, thereby preventing data from being lost. In addition, since the image printed on the printed material is a two-dimensional code, when printing from the printed material, a part of the data is not lost, and when printing from the printed material in the original printing format, it is printed accurately. Can do.

請求項2に係る印刷システムでは、前記印刷装置は、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得された印刷枚数により、前記印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、前記印刷データを印刷するに際し、前記判断手段により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷するように制御する印刷制御手段とを備えて構成されている。   The printing system according to claim 2, wherein the printing apparatus uses the remaining amount information of the sheet detected by the remaining amount information detecting unit and the number of printed sheets acquired by the printed sheet number acquiring unit to all print data. A determination unit that determines whether or not printing is possible on the paper stored in the storage unit, and when printing the print data, the determination unit can print all the print data on the paper stored in the paper storage unit. If it is determined that the print data is not, the conversion means converts the print data into a two-dimensional code, and prints the two-dimensional code via the printing means, so that only the paper stored in the paper storage means is used. Printing control means for controlling to print all the print data.

これにより、印刷装置に残っている用紙のみにて印刷をすることができるので、それによって印刷データが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時に印刷データの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the printing apparatus, so that print data is not lost. Further, since the image printed on the printed material is a two-dimensional code, a portion of the print data is not lost when reading from the printed material, and the image is printed accurately when reprinting from the printed material in the original print format. be able to.

請求項3に係る印刷システムでは、前記端末装置は、前記第2受信手段により検出された用紙の残量情報と前記記憶手段に記憶されている印刷データを印刷するための印刷枚数により、印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、前記印刷装置に対し第2送信手段によって前記印刷データを送信するに際し、前記判断手段により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記第2送信手段を介して当該2次元コードに相当する印刷データを送信することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷するように制御する第2印刷制御手段とを備えて構成されている。   In the printing system according to claim 3, the terminal device prints the print data based on the remaining amount information of the paper detected by the second receiving unit and the number of prints for printing the print data stored in the storage unit. When the print data is transmitted by the second transmission means to the printing apparatus by the determination means for determining whether or not printing is possible on the paper stored in the paper storage means. When it is determined that printing is not possible on all the paper stored in the paper storage means, the conversion means converts the print data into a two-dimensional code and corresponds to the two-dimensional code via the second transmission means. Second print control means for controlling to print all the print data only on the paper stored in the paper storage means by transmitting the print data to be transmitted It is configured to include a.

これにより、印刷装置に残っている用紙のみにて印刷をすることができるので、それによって印刷データが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時に印刷データの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the printing apparatus, so that print data is not lost. Further, since the image printed on the printed material is a two-dimensional code, a portion of the print data is not lost when reading from the printed material, and the image is printed accurately when reprinting from the printed material in the original print format. be able to.

請求項4に係る印刷システムでは、前記印刷装置は、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得した印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、前記データを印刷するに際し、前記判断手段により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷するように制御する印刷制御手段とを備えて構成されている。   5. The printing system according to claim 4, wherein the printing apparatus stores all the data based on the remaining amount information of the paper detected by the remaining amount information detecting unit and the number of printed sheets acquired by the printed number acquiring unit. A determination unit that determines whether or not printing is possible on the paper stored in the paper; and when the data is printed, the determination unit determines that all the data is not printable on the paper stored in the paper storage unit If the data is converted, the data is converted into a two-dimensional code by the converting means, and the two-dimensional code is printed via the printing means, so that all the data is obtained only by the paper stored in the paper storing means. And a printing control means for controlling printing.

これにより、印刷装置に残っている用紙のみにて印刷をすることができるので、それによってデータが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時にデータの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the printing apparatus, thereby preventing data from being lost. In addition, since the image printed on the printed material is a two-dimensional code, when printing from the printed material, a part of the data is not lost, and when printing from the printed material in the original printing format, it is printed accurately. Can do.

請求項5に係る印刷システムでは、前記データ記憶装置は、USBメモリであってもよい。   In the printing system according to a fifth aspect, the data storage device may be a USB memory.

請求項6に係る印刷装置では、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得された印刷枚数により、前記印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、前記印刷データを印刷するに際し、前記判断手段により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷するように制御する印刷制御手段とを備えて構成されている。   In the printing apparatus according to claim 6, the print data is all stored in the paper storage unit based on the remaining amount information of the paper detected by the remaining amount information detection unit and the number of prints acquired by the print number acquisition unit. A determination unit that determines whether or not printing is possible on a sheet that is being printed; and when the print data is printed, the determination unit determines that all print data is not printable on the sheet stored in the sheet storage unit In such a case, the print data is converted into a two-dimensional code by the converting means, and the two-dimensional code is printed via the printing means, so that all the print data is obtained only by the paper stored in the paper storing means. And a printing control means for controlling printing.

これにより、印刷装置に残っている用紙のみにて印刷をすることができるので、それによって印刷データが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時に印刷データの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the printing apparatus, so that print data is not lost. Further, since the image printed on the printed material is a two-dimensional code, a portion of the print data is not lost when reading from the printed material, and the image is printed accurately when reprinting from the printed material in the original print format. be able to.

請求項7に係る端末装置では、前記受信手段により受信された用紙の残量情報と前記記憶手段に記憶されている印刷データを印刷するための印刷枚数により、印刷データを全て前記印刷装置に収納されている用紙に印刷可能か否かを判断する判断手段と、前記印刷装置に対し送信手段によって印刷データを送信するに際し、前記判断手段により印刷データを全て前記印刷装置に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記送信手段を介して当該2次元コードに相当する印刷データを送信することにより前記印刷装置に収納されている用紙のみにて前記印刷データを全て印刷するように制御する印刷制御手段とを備えて構成されている。   The terminal device according to claim 7 stores all the print data in the printing device based on the remaining amount information of the paper received by the receiving unit and the number of prints for printing the print data stored in the storage unit. Determining means for determining whether or not printing is possible on the paper that has been printed, and when the print data is transmitted to the printing apparatus by the transmission means, the print data is all stored in the printing apparatus by the determination means. When it is determined that printing is not possible, the print data is converted into a two-dimensional code by the conversion means, and the print data corresponding to the two-dimensional code is transmitted through the transmission means, and stored in the printing apparatus. And print control means for controlling to print all the print data only on the existing paper.

これにより、印刷装置に残っている用紙のみにて印刷をすることができるので、それによって印刷データが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時に印刷データの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the printing apparatus, so that print data is not lost. Further, since the image printed on the printed material is a two-dimensional code, a portion of the print data is not lost when reading from the printed material, and the image is printed accurately when reprinting from the printed material in the original print format. be able to.

請求項8に係る印刷装置では、前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得した印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、前記データを印刷するに際し、前記判断手段により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷するように制御する印刷制御手段とを備えて構成されている。   In the printing apparatus according to claim 8, all of the data is stored in the sheet storage unit based on the remaining amount information of the sheet detected by the remaining amount information detection unit and the number of prints acquired by the print number acquisition unit. A determination unit that determines whether or not printing is possible on a sheet; and when the data is printed, if the determination unit determines that all of the data is not printable on a sheet stored in the sheet storage unit, The conversion unit converts the data into a two-dimensional code, and prints the two-dimensional code via the printing unit, thereby controlling all the data to be printed only on the paper stored in the paper storage unit. Printing control means.

これにより、印刷装置に残っている用紙のみにて印刷をすることができるので、それによってデータが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時にデータの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the printing apparatus, thereby preventing data from being lost. In addition, since the image printed on the printed material is a two-dimensional code, when printing from the printed material, a part of the data is not lost, and when printing from the printed material in the original printing format, it is printed accurately. Can do.

請求項9に係る印刷制御プログラムでは、前記残量情報検出工程により検出された用紙の残量情報と前記印刷枚数取得工程により取得された印刷枚数により、前記印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断工程と、前記印刷データを印刷するに際し、前記判断工程により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換工程により前記印刷データを2次元コードに変換し、印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷する印刷工程とを備えて構成されている。   The print control program according to claim 9 stores all of the print data in the paper storage unit based on the remaining amount information of the paper detected in the remaining amount information detection step and the number of printed sheets acquired in the printed number acquisition step. A determination step for determining whether or not printing is possible on the printed paper, and when the print data is printed, the determination step determines that all the print data is not printable on the paper stored in the paper storage means. If the print data is converted into a two-dimensional code by a conversion step, and the two-dimensional code is printed via the printing means, all the print data is only printed on the paper stored in the paper storage means. And a printing process for printing.

これにより、用紙収納手段に残っている用紙のみにて印刷をすることができるので、それによって印刷データが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時に印刷データの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the paper storage means, so that print data is not lost. Further, since the image printed on the printed material is a two-dimensional code, a portion of the print data is not lost when reading from the printed material, and the image is printed accurately when reprinting from the printed material in the original print format. be able to.

請求項10に係る印刷制御プログラムでは、前記受信工程により受信された用紙の残量情報と記憶手段に記憶されている印刷データを印刷するための印刷枚数により、印刷データを全て前記印刷装置に収納されている用紙に印刷可能か否かを判断する判断工程と、前記印刷装置に対し通信手段によって前記印刷データを送信するに際し、前記判断工程により印刷データを全て前記印刷装置に収納されている用紙に印刷可能でないと判断された場合は、変換工程により前記印刷データを2次元コードに変換し、前記通信手段を介して当該2次元コードに相当する印刷データを送信することにより前記印刷装置に収納されている用紙のみにて前記印刷データを全て印刷する印刷工程とを備えて構成されている。   The print control program according to claim 10 stores all print data in the printing apparatus based on the remaining amount information of the paper received in the receiving step and the number of prints for printing the print data stored in the storage unit. A determination step for determining whether or not printing is possible on a sheet that has been printed, and a sheet in which all of the print data is stored in the printing apparatus by the determination step when the print data is transmitted to the printing apparatus by communication means If it is determined that printing is not possible, the print data is converted into a two-dimensional code by a conversion step, and the print data corresponding to the two-dimensional code is transmitted through the communication means, and stored in the printing apparatus. And a printing process for printing all the print data only on the printed paper.

これにより、印刷装置に残っている用紙のみにて印刷をすることができるので、それによって印刷データが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時に印刷データの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the printing apparatus, so that print data is not lost. Further, since the image printed on the printed material is a two-dimensional code, a portion of the print data is not lost when reading from the printed material, and the image is printed accurately when reprinting from the printed material in the original print format. be able to.

請求項11に係る印刷制御プログラムでは、前記残量情報検出工程により検出された用紙の残量情報と前記印刷枚数取得工程により取得した印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断工程と、前記データを印刷するに際し、前記判断工程により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換工程により前記データを2次元コードに変換し、印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷する印刷工程とを備えて構成されている。   In the print control program according to claim 11, all of the data is stored in the paper storage unit by the remaining amount information of the paper detected by the remaining amount information detection step and the number of printed sheets acquired by the printed number acquisition step. A determination step for determining whether or not printing is possible on a sheet of paper, and when the data is printed, if it is determined by the determination step that all of the data is not printable on the paper stored in the paper storage means A printing step in which the data is converted into a two-dimensional code by a conversion step, and the two-dimensional code is printed via a printing unit to print all the data only on the paper stored in the paper storage unit; It is configured with.

これにより、用紙収納手段に残っている用紙のみにて印刷をすることができるので、それによってデータが消え去ってしまうことはなくなる。また、印刷物に印刷されているイメージは2次元コードであるので、印刷物からの読み取り時にデータの一部が落ちることもなく、印刷物から本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper remaining in the paper storage means, thereby preventing data from being lost. In addition, since the image printed on the printed material is a two-dimensional code, when printing from the printed material, a part of the data is not lost, and when printing from the printed material in the original printing format, it is printed accurately. Can do.

以下、本発明に係る印刷システムについて具体化した第1実施形態乃至第3実施形態に基づいて図面を参照して詳細に説明する。   Hereinafter, a printing system according to the present invention will be described in detail with reference to the drawings based on the first to third embodiments.

先ず、第1実施形態に係る印刷システムについて、図1乃至図9に基づき説明する。   First, a printing system according to the first embodiment will be described with reference to FIGS.

図1は、印刷システム1の概略を示す外観斜視図である。図1に示すように、印刷システム1は、プリンタ2とパーソナルコンピュータ(以下、PCと称する)3とが、USBの規格に基づくUSBケーブル4により接続されて構成されており、USBケーブル4を介してデータの授受を行っている。PC3は、本体5、モニタ6、キーボード7及びマウス(ポインティングデバイス)8を備えている。   FIG. 1 is an external perspective view showing an outline of the printing system 1. As shown in FIG. 1, the printing system 1 includes a printer 2 and a personal computer (hereinafter referred to as a PC) 3 connected by a USB cable 4 based on the USB standard. Data exchange. The PC 3 includes a main body 5, a monitor 6, a keyboard 7, and a mouse (pointing device) 8.

図2はプリンタ2の斜視図、図3はプリンタ2の側面断面図である。図4はプリンタ2の用紙収容部に用紙をセットした状態を示した図である。図5はプリンタ2の用紙分離部および印刷機構部の詳細を示した断面拡大図である。   FIG. 2 is a perspective view of the printer 2, and FIG. 3 is a side sectional view of the printer 2. FIG. 4 is a diagram illustrating a state in which a sheet is set in the sheet storage portion of the printer 2. FIG. 5 is an enlarged cross-sectional view showing details of the sheet separating unit and the printing mechanism unit of the printer 2.

プリンタ2の概略構造を、図2から図5までを参照しながら説明する。図2に斜視図が示されるプリンタ2は感熱印字式のものであって、主に携帯型の情報処理装置(ノートパソコン、PDA、携帯電話等)とともに持ち歩いて使用することを想定して設計されたものである(但し、据え置き型のPC3とも接続可能)。このプリンタ2は平面視での大きさがA6サイズ又はA7サイズ程度とされ、かつ、厚みが略2cmあるいはそれ以下の、コンパクト性を特に強調した構成となっている。   The schematic structure of the printer 2 will be described with reference to FIGS. The printer 2 shown in a perspective view in FIG. 2 is of a thermal printing type, and is designed mainly for carrying with a portable information processing device (notebook PC, PDA, mobile phone, etc.). (However, it can also be connected to a stationary PC 3). The printer 2 has a configuration in which the size in plan view is about A6 size or A7 size, and the thickness is about 2 cm or less, particularly emphasizing compactness.

使用者がPC3側のプログラムに対し印刷を指示すると、該プログラムが印刷指令を生成し、プリンタ2はこの印刷指令をPC3から受け取って印刷動作を行うように構成されている。なお、印刷のための電力は、プリンタ2内部に備える充電式のバッテリから供給
されるようになっている。
When the user instructs printing to the program on the PC 3 side, the program generates a print command, and the printer 2 is configured to receive the print command from the PC 3 and perform a printing operation. Note that power for printing is supplied from a rechargeable battery provided in the printer 2.

プリンタ2の本体ケース10は、枠体11の下面を下カバー12で覆うとともに、上面の一部を上カバー13で覆って形成されている。枠体11の上面側のうち前記上カバー13で覆われた箇所を除いた残りの部分には、図3に示すように用紙収容部(給紙部)14が形成される。
この用紙収容部14には、A6〜A7サイズのカットシート状の感熱紙(被記録媒体。以下「用紙」と称する)15をパッケージ材16の内部に複数枚収納した用紙パッケージ17を、図4に示すようにセットできるようになっている。
The main body case 10 of the printer 2 is formed by covering the lower surface of the frame 11 with the lower cover 12 and partially covering the upper surface with the upper cover 13. In the remaining portion of the upper surface side of the frame body 11 excluding the portion covered with the upper cover 13, a paper storage portion (paper feeding portion) 14 is formed as shown in FIG.
In this paper storage section 14, a paper package 17 in which a plurality of A6 to A7 size cut sheet-like thermal paper (recording medium; hereinafter referred to as “paper”) 15 is stored in a package material 16 is shown in FIG. It can be set as shown in.

用紙収容部14の底板部の端部には図3に示すように、反射型のパッケージ検知センサ18が、その受光部を上方へ向けながら4つ並べて埋め込まれている。一方、前記用紙パッケージ17のパッケージ材16においては、該センサ18の位置に対向する位置に、用紙の種類に関する情報を示した識別マークが付されている(図示せず)。   As shown in FIG. 3, four reflection type package detection sensors 18 are embedded in the end portion of the bottom plate portion of the paper storage portion 14 side by side with their light receiving portions facing upward. On the other hand, in the package material 16 of the paper package 17, an identification mark indicating information relating to the type of paper is attached at a position opposite to the position of the sensor 18 (not shown).

この識別マークは、パッケージ検知センサ18の数に対応して4箇所並べて設けられるとともに、4箇所のうち0〜3箇所が黒く着色される一方、残りの箇所は着色されずパッケージ材16の下地の色(白)が残されている。この白黒のパターンは、該パッケージ材16の内部に収納される用紙の種類(例えば、通常タイプの感熱紙、二色発色が可能な感熱紙、ラベル紙、二枚同時印字が可能な複写紙など)に応じて、予め定められている。プリンタ2はこのパターンをパッケージ検知センサ18で読み取ることで、用紙の種類を自動的に識別するようになっている。   The identification marks are provided side by side in four locations corresponding to the number of package detection sensors 18 and 0 to 3 of the four locations are colored black, while the remaining portions are not colored and are the base of the package material 16. The color (white) remains. This black and white pattern is the type of paper stored in the packaging material 16 (for example, normal type thermal paper, thermal paper capable of two-color development, label paper, copy paper capable of simultaneous printing on two sheets, etc.) ) In advance. The printer 2 automatically identifies the type of paper by reading this pattern with the package detection sensor 18.

4箇所の白黒の組み合わせパターンは2^4=16通りが考えられるが、4箇所とも黒く着色するパターンは用いないこととしている結果、表せる用紙の種類の数は、16−1=15種類となる。なお、前記4箇所の全てを黒く着色したパターンをパッケージ材16に付さないのは、用紙パッケージ17が用紙収容部14にそもそもセットされていないときは、パッケージ検知センサ18は4つとも反射光を検知せず黒を検出することを利用して、パッケージ検知センサ18がいずれも黒を検出した場合は、用紙パッケージ17が用紙収容部14にセットされていないものとプリンタ2側が判別できるようにするためである。尚、識別マークが付された用紙パッケージ17についての詳細は、特開2003−285940を参照されたい。   There are 2 ^ 4 = 16 patterns of black and white combination patterns in four places, but as a result of not using patterns that are colored black in all four places, the number of paper types that can be expressed is 16-1 = 15. . It should be noted that a pattern in which all of the four places are colored black is not applied to the package material 16 when the paper package 17 is not set in the paper container 14 in the first place. If the package detection sensor 18 detects black by using the detection of black without detecting the color, the printer 2 side can determine that the paper package 17 is not set in the paper storage unit 14. It is to do. For details of the paper package 17 with the identification mark, refer to Japanese Patent Laid-Open No. 2003-285940.

前記用紙収容部14の上方は蓋体19にて覆われ、この蓋体19は図3に示すように回動自在とされる。本体ケース10側には図示しないロック機構が設けられており、前述のように用紙収容部14に用紙パッケージ17をセットした状態で、図4に示すように蓋体19を閉じてロックできるようになっている。   The upper part of the paper accommodating portion 14 is covered with a lid 19, and the lid 19 is rotatable as shown in FIG. 3. A lock mechanism (not shown) is provided on the main body case 10 side so that the cover 19 can be closed and locked as shown in FIG. 4 with the paper package 17 set in the paper storage portion 14 as described above. It has become.

尚、プリンタ2は、個人向けの商品とし、使用者は用紙を使い切った場合、使用者自身が新しい用紙パッケージ17に交換することにより再度プリンタ2を使用可能な状態にすることはできる。一方で、法人向けの商品として、レンタルのみとして、使用者は用紙15を使い切った場合、使用者自身には用紙パッケージ17の交換はさせず、プリンタ2は回収され、工場にて用紙パッケージ17の交換が行われるという用途もある。本第1実施形態では、プリンタ2は、法人向けの商品とする。そのため、使用者が用紙パッケージを交換する必要はないことから、図4に示すように蓋体19を閉じてロックした後、さらに蓋体19は簡単には開けられないように不図示のネジが締められている。   The printer 2 is a personal product, and when the user runs out of paper, the user can replace the paper 2 with a new paper package 17 to make the printer 2 usable again. On the other hand, if the user uses up the paper 15 only as a rental product for corporations, the user does not replace the paper package 17 and the printer 2 is collected and the paper package 17 is collected at the factory. There is also an application where exchange is performed. In the first embodiment, the printer 2 is a product for corporations. Therefore, it is not necessary for the user to replace the paper package. After the lid 19 is closed and locked as shown in FIG. 4, a screw (not shown) is attached so that the lid 19 cannot be easily opened. It is tightened.

用紙収容部14の一側の端部には、用紙分離部20としてのピックアップローラ21および分離ブロック22等が配置されている。また、上カバー13の下方には、後に詳述する印刷機構部(印字部)23としてのサーマルヘッド24、プラテンローラ25、ペーパーガイド26が配置される。   A pickup roller 21 as a paper separating unit 20, a separation block 22, and the like are disposed at one end of the paper storage unit 14. Also, below the upper cover 13, a thermal head 24, a platen roller 25, and a paper guide 26 are disposed as a printing mechanism section (printing section) 23 described in detail later.

用紙分離部20を説明する。前記用紙収容部14の、前記印刷機構部23に近い側の端部には、ピックアップローラ21と分離ブロック22とが設けられている。前記蓋体19の用紙収容部14側を向く内面には、押圧板27が回動自在に支持されている。この押圧板27と蓋体19との間にはコイル状の付勢バネ28が介在され、押圧板27に対し、該押圧板27を下方へ回動させる向きの付勢力を常時作用させている。   The paper separation unit 20 will be described. A pickup roller 21 and a separation block 22 are provided at the end of the paper storage unit 14 on the side close to the printing mechanism unit 23. A pressing plate 27 is rotatably supported on the inner surface of the lid body 19 facing the paper storage portion 14 side. A coiled urging spring 28 is interposed between the pressing plate 27 and the lid 19, and a urging force in a direction to rotate the pressing plate 27 downward is always applied to the pressing plate 27. .

用紙パッケージ17は、印字面を下側へ向けながら積層された状態で内部に収納されている用紙15のうち、最も下側に位置する用紙15の下面をパッケージ材16から一部露出させた状態で、用紙収容部14にセットされる。そして、前記蓋体19を閉じてロックした際には、前述の付勢バネ28により下方へ付勢される押圧板27が、パッケージ材16を介して、用紙15の前記露出した部分をピックアップローラ21側へ押し付け、該用紙15の下面を該ピックアップローラ21に接触させる。   The paper package 17 is a state in which the lower surface of the lowermost paper 15 among the papers 15 stored in the stacked state with the printing surface facing downward is partially exposed from the package material 16. Thus, it is set in the paper storage unit 14. When the lid 19 is closed and locked, the pressing plate 27 urged downward by the urging spring 28 described above picks up the exposed portion of the sheet 15 via the package material 16. The lower surface of the sheet 15 is brought into contact with the pickup roller 21.

前記ピックアップローラ21に近接させて分離ブロック22が設けられ、この分離ブロック22は、ピックアップローラ21の用紙送り出し方向に対して傾斜した分離案内面29を備えている。   A separation block 22 is provided in the vicinity of the pickup roller 21, and the separation block 22 includes a separation guide surface 29 that is inclined with respect to the sheet feeding direction of the pickup roller 21.

この構成でピックアップローラ21が回転駆動することにより、該ピックアップローラ21に接触する最下層の用紙15に搬送力が加えられる。そして、前記分離ブロック22の分離案内面29の分離作用とあいまって、最下層に位置する一枚の用紙15のみが分離されて送り出される。   With this configuration, when the pickup roller 21 is rotationally driven, a conveying force is applied to the lowermost sheet 15 in contact with the pickup roller 21. Then, combined with the separation action of the separation guide surface 29 of the separation block 22, only one sheet 15 located at the lowermost layer is separated and sent out.

印刷機構部23を説明する。分離ブロック22に隣接してプラテンローラ25が回転自在に設けられ、その外周面に近接させてペーパーガイド26が配置される。図5の拡大図に示すように、このペーパーガイド26には、前記プラテンローラ25の外周面に沿うように、断面が横向き略「U」字状となるような凹湾曲状の摺接面30が形成されている。該ペーパーガイド26と本体ケース10との間には押圧コイルバネ31が設けられており、前記摺接面30をプラテンローラ25の外周面に向けて付勢するようになっている。   The printing mechanism unit 23 will be described. A platen roller 25 is rotatably provided adjacent to the separation block 22, and a paper guide 26 is disposed in the vicinity of the outer peripheral surface thereof. As shown in the enlarged view of FIG. 5, the paper guide 26 has a concavely curved sliding contact surface 30 that has a substantially U-shaped cross section along the outer peripheral surface of the platen roller 25. Is formed. A pressing coil spring 31 is provided between the paper guide 26 and the main body case 10 so as to bias the sliding contact surface 30 toward the outer peripheral surface of the platen roller 25.

この構成において、前述の用紙分離部20で分離された用紙15は、ピックアップローラ21により搬送されて、分離ブロック22の下端と、用紙15の向きをプラテンローラ25側へ向けるためのガイド板32の間を通過する。用紙15はこのガイド板32により案内され、プラテンローラ25の下面側から、該プラテンローラ25とペーパーガイド26との間に送られる。そして用紙15は、プラテンローラ25の外周面とペーパーガイド26の摺接面30との間で保持されつつ、プラテンローラ25の回転駆動により横向きU字状に反転されながら搬送され、印字面を上側に向けながらプラテンローラ25の上面側に至る。   In this configuration, the paper 15 separated by the paper separation unit 20 is conveyed by the pickup roller 21 and the lower end of the separation block 22 and the guide plate 32 for directing the paper 15 toward the platen roller 25 side. Pass between. The paper 15 is guided by the guide plate 32 and is fed between the platen roller 25 and the paper guide 26 from the lower surface side of the platen roller 25. Then, the sheet 15 is conveyed while being reversed between the platen roller 25 and the slidable contact surface 30 of the paper guide 26 while being reversed in a horizontal U-shape by the rotational drive of the platen roller 25, and the printing surface is moved upward. Toward the upper surface side of the platen roller 25.

プラテンローラ25の上面側に位置する前記サーマルヘッド24は、印字部たる発熱体部33を有し、該発熱体部33においては小さな発熱素子が用紙幅方向に多数並べられている。該サーマルヘッド24は回動軸34まわりに回動可能に設けられて、前記発熱体部33がプラテンローラ25の上面に接離可能とされている。なお、このようにサーマルヘッド24を回動自在に構成したのは、前記プラテンローラ25とペーパーガイド26との間で用紙15が詰まった場合におけるジャム紙除去作業において、サーマルヘッド24が作業の邪魔にならないようにするためである。   The thermal head 24 located on the upper surface side of the platen roller 25 has a heating element portion 33 as a printing portion, and in the heating element portion 33, a large number of small heating elements are arranged in the paper width direction. The thermal head 24 is provided so as to be rotatable around a rotation shaft 34, so that the heating element 33 can be brought into contact with and separated from the upper surface of the platen roller 25. The reason why the thermal head 24 is configured to be rotatable in this manner is that the thermal head 24 interferes with the work in the jam paper removing operation when the paper 15 is jammed between the platen roller 25 and the paper guide 26. This is to prevent it from becoming.

サーマルヘッド24には捩りコイルバネタイプのスプリング35の一端が係止されて、該サーマルヘッド24の発熱体部33がプラテンローラ25上面に近接する方向の付勢力を常時加えている。この構成で、前述のように印字面を上側に向けながらプラテンローラ25により送られてくる用紙15の上面にサーマルヘッド24の発熱体部33が接触し、この接触する箇所において用紙15に印字がなされる。   One end of a torsion coil spring type spring 35 is locked to the thermal head 24, and the heating element 33 of the thermal head 24 constantly applies a biasing force in a direction close to the upper surface of the platen roller 25. With this configuration, as described above, the heating element 33 of the thermal head 24 comes into contact with the upper surface of the paper 15 sent by the platen roller 25 with the printing surface facing upward, and printing is performed on the paper 15 at the contact point. Made.

サーマルヘッド24はラインヘッド型とされ、搬送されてくる感熱型の用紙15に対し、該用紙15の搬送方向に直交する方向に延びるライン毎に、任意の文字や画像を印刷することができる。一本のラインにつき印刷する際の印刷幅は、印刷対象の用紙15の幅に略等しく設定されている。このようにサーマルヘッド24を印刷ヘッドとして用いるのは、被記録媒体として感熱紙を用いることで、インクやインクリボンなどの消耗品が不要とできるほか、インクの供給のための機構などを省略でき、プリンタ2をコンパクトに構成できるからである。感熱紙としては、サーマルヘッド24の加熱により発色する発色層を有する感熱発色タイプのものや、加熱により穿孔される穿孔層を基材層上に積層した感熱穿孔タイプのもの等、種々のものを使用できる。   The thermal head 24 is a line head type, and can print arbitrary characters and images for each line extending in a direction orthogonal to the transport direction of the paper 15 on the heat-sensitive paper 15 being transported. The printing width when printing for one line is set to be approximately equal to the width of the paper 15 to be printed. In this way, the thermal head 24 is used as a print head by using thermal paper as a recording medium, so that consumables such as ink and ink ribbon can be dispensed with and a mechanism for supplying ink can be omitted. This is because the printer 2 can be configured compactly. As the thermal paper, there are various types such as a thermal coloring type having a coloring layer that develops color by heating of the thermal head 24 and a thermal punching type in which a perforated layer to be perforated by heating is laminated on a base material layer. Can be used.

前述のペーパーガイド26には反射型の用紙センサ36(図7参照)が設けられて、その受光部が前述のプラテンローラ25の周面に対向して配置されている。従って、用紙15が搬送されて、ペーパーガイド26の摺接面30とプラテンローラ25との間を通る際は、前記用紙センサ36が当該用紙15の先頭側と末尾側の通過を検出できるようになっている。   The paper guide 26 described above is provided with a reflection type paper sensor 36 (see FIG. 7), and its light receiving portion is disposed to face the peripheral surface of the platen roller 25 described above. Accordingly, when the paper 15 is transported and passes between the sliding contact surface 30 of the paper guide 26 and the platen roller 25, the paper sensor 36 can detect the passage of the front side and the rear side of the paper 15. It has become.

前記分離ブロック22には、プラテンローラ25の用紙送り出し方向に対して傾斜した排紙ガイド面37が形成されている。この構成において、サーマルヘッド24の発熱体部33により印字がなされた後の用紙15は、この排紙ガイド面37により案内されて、図2に示すように、本体ケース10の上カバー13と前記蓋体19とがなす隙間から、蓋体19の上側へ排紙される。   The separation block 22 is formed with a paper discharge guide surface 37 that is inclined with respect to the paper feed direction of the platen roller 25. In this configuration, the paper 15 on which printing has been performed by the heating element portion 33 of the thermal head 24 is guided by the paper discharge guide surface 37, and as shown in FIG. The paper is discharged from the gap formed by the lid 19 to the upper side of the lid 19.

次に、図6を参照してPC3の電気的構成について説明する。図6は、PC3の電気的構成を示すブロック図である。図6に示すように、PC3には、PC3の制御を司るCPU50が設けられている。このCPU50には、CPU50が実行するBIOS等のプログラムを記憶したROM51と、データを一時的に記憶するRAM52と、データの記憶媒体であるCD−ROM53を挿入し、データの読み込みを行うCD−ROMドライブ54と、データの記憶装置であるHDD55とがバス56を介して接続されている。RAM52には、不図示の送信バッファ、受信バッファ、作業用の領域等が、CPU50において実行されるプログラムに合わせて動的に確保される。   Next, the electrical configuration of the PC 3 will be described with reference to FIG. FIG. 6 is a block diagram showing an electrical configuration of the PC 3. As shown in FIG. 6, the PC 3 is provided with a CPU 50 that controls the PC 3. The CPU 50 includes a ROM 51 that stores a program such as a BIOS executed by the CPU 50, a RAM 52 that temporarily stores data, and a CD-ROM 53 that is a data storage medium, and a CD-ROM that reads data. A drive 54 and an HDD 55 that is a data storage device are connected via a bus 56. In the RAM 52, a transmission buffer, a reception buffer, a work area, and the like (not shown) are dynamically secured according to a program executed by the CPU 50.

HDD55には、PC3において実行されるOS、本発明に係るPC側印刷制御プログラム、PC3に接続可能なプリンタ2を制御するプリンタドライバプログラム等が記憶されている。また、HDD55には、各種プログラムの実行に必要な設定や初期値、データ等の情報が記憶されている。   The HDD 55 stores an OS executed in the PC 3, a PC-side print control program according to the present invention, a printer driver program for controlling the printer 2 that can be connected to the PC 3, and the like. The HDD 55 stores information such as settings, initial values, and data necessary for executing various programs.

CPU50には、バス56を介して、プリンタ2を含めた外部機器との通信を行うためのUSBインタフェース57と、使用者に操作画面を表示するモニタ6への画面表示を行う表示制御部58と、使用者が入力を行うキーボード7やマウス8に接続され、それらの入力の検知を行う入力検知部59とが、接続されている。尚、PC3には、図示外のフレキシブルディスクドライブ、音声等の入出力部、各種のインタフェース等が設けられていてもよい。   The CPU 50 includes a USB interface 57 for communicating with external devices including the printer 2 via the bus 56, and a display control unit 58 for displaying a screen on the monitor 6 for displaying an operation screen to the user. A keyboard 7 and a mouse 8 for input by the user are connected to an input detection unit 59 for detecting these inputs. Note that the PC 3 may be provided with a flexible disk drive (not shown), an input / output unit for audio, various interfaces, and the like.

尚、CD−ROM53には、OS、プリンタドライバプログラム、PC側印刷制御プログラム、各種プログラムの実行時に使用される設定やデータ等が記憶されており、導入時には、CD−ROM53からHDD55に記憶されるようになっている。尚、PC3の各種プログラム及びその使用データ等の取得方法はCD−ROM53によるものに限らず、フレキシブルディスクやMOといった他の記憶媒体であってもよく、また、PC3をネットワークに接続させ、ネットワーク上の他の端末等から取得してもよい。   The CD-ROM 53 stores the OS, printer driver program, PC-side print control program, settings and data used when executing various programs, and is stored in the HDD 55 from the CD-ROM 53 at the time of introduction. It is like that. Note that the method for acquiring the various programs of the PC 3 and the use data thereof is not limited to the method using the CD-ROM 53, but may be another storage medium such as a flexible disk or an MO. You may acquire from other terminals.

次に、図7を参照してプリンタ2の電気的構成について説明する。図7は、プリンタ2の電気的構成を示すブロック図である。図7に示すように、プリンタ2には、プリンタ2の制御を司るCPU70が設けられている。このCPU70には、CPU70が実行するプログラムを記憶したROM71と、データを一時的に記憶するRAM72と、データを書き換え可能に記憶できるEEPROM73とが不図示のバスを介して接続されている。RAM72には、不図示の送信バッファ、受信バッファ、印刷イメージを展開する印刷バッファ、作業用の領域等が確保される。   Next, the electrical configuration of the printer 2 will be described with reference to FIG. FIG. 7 is a block diagram showing an electrical configuration of the printer 2. As shown in FIG. 7, the printer 2 is provided with a CPU 70 that controls the printer 2. The CPU 70 is connected to a ROM 71 storing a program executed by the CPU 70, a RAM 72 temporarily storing data, and an EEPROM 73 capable of storing data in a rewritable manner via a bus (not shown). In the RAM 72, a transmission buffer, a reception buffer (not shown), a print buffer for developing a print image, a work area, and the like are secured.

尚、EEPROM73には、用紙15の残り枚数を記憶する不図示の残り枚数カウンタがある。プリンタ2に用紙パッケージ17が装着されて工場から出荷される際に、不図示の残り枚数カウンタには、用紙パッケージ17に含まれている用紙15の枚数が設定される。   The EEPROM 73 has a remaining number counter (not shown) that stores the remaining number of sheets 15. When the paper package 17 is mounted on the printer 2 and shipped from the factory, the number of sheets 15 included in the paper package 17 is set in the remaining number counter (not shown).

また、CPU70には、不図示のバスを介して、用紙パッケージ17の種類を検出する前述のパッケージ検知センサ18と、搬送される用紙15を検出する前述の用紙センサ36と、使用者がプリンタ2の電源ON/OFFを行う電源SW74とが接続されている。   The CPU 70 also includes a package sensor 18 that detects the type of the paper package 17 via a bus (not shown), the paper sensor 36 that detects the transported paper 15, and a user who uses the printer 2. Is connected to a power source SW 74 for turning on / off the power source.

また、CPU70には、不図示のバスを介して、ピックアップローラ21やプラテンローラ25等を回転させるステップモータ75と接続してステップモータ75を駆動させるモータ駆動回路76と、サーマルヘッド24と接続してサーマルヘッド24の発熱制御を行うサーマルヘッド制御回路77と、PC3を含めた外部機器との通信を行うためのUSBインタフェース78と、プリンタ2の状態を表示するLED79とが接続されている。尚、LEDは赤色のLEDと緑色のLEDの2つを備えており、それぞれの点灯/消灯/点滅、点滅周期等により、プリンタ2の状態を使用者に報せることができる。また、プリンタ2は不図示の充電式のバッテリを備えており、そこから電力を得ている。   Further, the CPU 70 is connected to the thermal head 24 via a bus (not shown) and connected to a step motor 75 that rotates the pickup roller 21, the platen roller 25, and the like to drive the step motor 75. The thermal head control circuit 77 for controlling the heat generation of the thermal head 24, the USB interface 78 for communicating with external devices including the PC 3, and the LED 79 for displaying the status of the printer 2 are connected. Note that the LED includes two LEDs, a red LED and a green LED, and the status of the printer 2 can be reported to the user by each lighting / extinguishing / flashing, blinking cycle, and the like. In addition, the printer 2 includes a rechargeable battery (not shown) and obtains electric power therefrom.

次に、図8を参照して、プリンタ2にて印刷される印刷イメージについて説明する。図8は、用紙15が残り少なくなった場合に印刷される印刷物の模式図である。図8に示すように、用紙15を示す外形線の中に、3行2列に渡る計6個の2次元コードが並んでいる。2次元コードは全てQRコードである。この1つ1つは通常の印刷であれば、用紙15の片面に印刷される分量のデータに相当する。即ち、この図8に示す用紙15には、1ページ分の広さに対して6ページ分のデータが印刷されていることになる。その場合、当然に1個のQRコードは用紙サイズの半分以下のサイズである。用紙15が足りている場合は、印刷データは2次元コードに変換されることなく、そのまま印刷される。即ち、用紙15には、1ページ分の広さに対して1ページ分のデータが印刷される。尚、本第1実施形態においては、印刷は用紙の一方の面だけに印刷される片面印刷である。そのため、印刷データの1ページ分と印刷データの用紙1枚分とは同じ意味である(以下、同様)。   Next, a print image printed by the printer 2 will be described with reference to FIG. FIG. 8 is a schematic diagram of a printed matter that is printed when the remaining amount of paper 15 is low. As shown in FIG. 8, a total of six two-dimensional codes extending in 3 rows and 2 columns are arranged in the outline of the paper 15. All two-dimensional codes are QR codes. Each of these corresponds to the amount of data to be printed on one side of the paper 15 in the case of normal printing. That is, the data for 6 pages is printed on the sheet 15 shown in FIG. In that case, naturally, one QR code has a size equal to or less than half of the paper size. When the paper 15 is sufficient, the print data is printed as it is without being converted into a two-dimensional code. That is, one page of data is printed on the sheet 15 for one page. In the first embodiment, printing is single-sided printing that is printed only on one side of the paper. For this reason, one page of print data and one sheet of print data have the same meaning (the same applies hereinafter).

また、2次元コードはQRコードでなくともよい。また、用紙15には、1ページ分の広さに対して6ページ分の2次元コードが印刷されるのでなくともよい。例えば、2ページ分、3ページ分でもよい。これらの場合も当然に1個のQRコードは用紙サイズの半分以下のサイズである。1ページ分のデータが1個の2次元コードに変換されるのでなくともよい。例えば、2ページ分が1つの2次元コードになっていてもよい。   The two-dimensional code may not be a QR code. Further, the two-dimensional code for six pages may not be printed on the paper 15 for the width of one page. For example, two pages or three pages may be used. In these cases as well, one QR code is naturally less than half the paper size. One page of data may not be converted into one two-dimensional code. For example, two pages may be one two-dimensional code.

次に、PC3における処理について、簡単に説明する。PC3においては、PC3が起動すると、CPU50は、ROM51に記憶されているBIOSを実行する。その後、CPU50は、HDD55に記憶されているOSやプリンタ2を制御するプリンタドライバプログラム、マウスドライバプログラム等を実行する。その間、CPU50は各種プログラムにおいて使用される変数の記憶領域をRAM52に確保し、それらに所定の値を設定する。CPU50はその他の初期設定を実行後、使用者によるキーボード7やマウス8からの入力を待機する。   Next, processing in the PC 3 will be briefly described. In the PC 3, when the PC 3 is activated, the CPU 50 executes the BIOS stored in the ROM 51. Thereafter, the CPU 50 executes an OS stored in the HDD 55, a printer driver program for controlling the printer 2, a mouse driver program, and the like. Meanwhile, the CPU 50 secures storage areas for variables used in various programs in the RAM 52, and sets predetermined values for them. After executing other initial settings, the CPU 50 waits for input from the keyboard 7 and mouse 8 by the user.

使用者によるキーボード7やマウス8からの入力があると、CPU50は入力に応じて各種の処理を行う。例えば、ワープロソフトが起動されて使用者による入力に応じて文書が作成されたり、描画ソフトが起動されて使用者による入力に応じて画像が作成されたり、メールソフトやブラウザソフトが起動されて使用者による入力に応じて外部から文書や画像が取り込まれたりする。印刷機能を有するプログラムが起動された場合、使用者による入力に応じて、使用者が指定する文書や画像を備えた印刷コマンドがプリンタ2にUSBインタフェース57を介して送信される。   When there is an input from the keyboard 7 or mouse 8 by the user, the CPU 50 performs various processes according to the input. For example, a word processing software is started and a document is created according to user input, a drawing software is started and an image is created according to user input, or an e-mail software or browser software is started and used. Documents and images are captured from the outside in response to input by the user. When a program having a print function is activated, a print command including a document or image designated by the user is transmitted to the printer 2 via the USB interface 57 in response to an input by the user.

次に、プリンタ2における処理について、図9を参照して説明する。図9は、プリンタ2のメイン処理を示すフローチャートである。以下の処理は全てCPU70により実行される。   Next, processing in the printer 2 will be described with reference to FIG. FIG. 9 is a flowchart showing the main process of the printer 2. The following processes are all executed by the CPU 70.

先ず、電源SW74が押下されると、ROM71に記憶されているプログラムがCPU70にて実行される。それにより、図9に示すように、S1では、初期化処理が行われる。初期化処理としては、RAM72の各種変数が初期化される。また、プリンタ2が待機中であることを表すために緑色のLED79が点灯される。その他、各種の初期化処理が行われる。その後、S2に移行する。   First, when the power SW 74 is pressed, the program stored in the ROM 71 is executed by the CPU 70. Thereby, as shown in FIG. 9, an initialization process is performed in S1. As initialization processing, various variables in the RAM 72 are initialized. A green LED 79 is lit to indicate that the printer 2 is on standby. In addition, various initialization processes are performed. Thereafter, the process proceeds to S2.

S2では、USBインタフェース78を介してPC3からの印刷データが受信されたか否かが判断される。PC3から送られる印刷データが複数ページに渡る印刷物を印刷するための印刷データであっても、その印刷データは一括して送られる。また、印刷データの先頭には、印刷枚数が記されている。印刷データが受信されたと判断した場合(S2:YES)は、S3に移行し、印刷データが受信されなかったと判断した場合(S2:NO)は、S4に移行する。   In S <b> 2, it is determined whether print data is received from the PC 3 via the USB interface 78. Even if the print data sent from the PC 3 is print data for printing a printed material over a plurality of pages, the print data is sent in a batch. In addition, the number of prints is written at the top of the print data. If it is determined that the print data has been received (S2: YES), the process proceeds to S3, and if it is determined that the print data has not been received (S2: NO), the process proceeds to S4.

S4では、その他の処理が実行され、その後、再び、S2に移行して前述の処理が繰り返される。一方、S3では、受信した印刷データから印刷枚数が読み出され、RAM72に一時的に記憶される。また、印刷完了までの間、プリンタ2が印刷中であることを表すために緑色のLED79が点滅表示される。その後、S5に移行する。   In S4, other processes are executed, and thereafter, the process proceeds to S2 again and the above-described processes are repeated. On the other hand, in S 3, the number of printed sheets is read from the received print data and temporarily stored in the RAM 72. In addition, until the printing is completed, a green LED 79 blinks to indicate that the printer 2 is printing. Thereafter, the process proceeds to S5.

S5では、印刷残りがあるか否かが判断される。これは、RAM72に記憶された印刷枚数が0でないか否かにより判断される。印刷残りありと判断された場合(S5:YES)は、S6に移行し、印刷残りなしと判断された場合(S5:NO)は、S7に移行する。   In S5, it is determined whether there is a print residue. This is determined based on whether the number of printed sheets stored in the RAM 72 is not zero. If it is determined that there is a remaining print (S5: YES), the process proceeds to S6. If it is determined that there is no remaining print (S5: NO), the process proceeds to S7.

S7では、緑色のLED79が点滅表示から点灯表示に戻されることにより、印刷完了が通知される。その後、再び、S2に移行して前述の処理が繰り返される。一方、S6では、紙残りがあるか否かが判断される。これには、EEPROM73の不図示の残り枚数カウンタが0でないか否かにより判断される。紙残りありと判断された場合(S6:YES)は、S8に移行し、紙残りなしと判断された場合(S6:NO)は、S9に移行する。   In S7, the green LED 79 is returned from the blinking display to the lit display, thereby notifying the completion of printing. Thereafter, the process proceeds to S2 again and the above-described processing is repeated. On the other hand, in S6, it is determined whether or not there is paper remaining. This is determined by whether or not the remaining number counter (not shown) of the EEPROM 73 is not zero. If it is determined that there is paper remaining (S6: YES), the process proceeds to S8, and if it is determined that there is no paper remaining (S6: NO), the process proceeds to S9.

S9では、緑色のLED79が点滅表示から点灯表示に戻されると共に、赤色のLED79が点灯表示され用紙切れが通知される。その後、再び、S2に移行して前述の処理が繰り返される。   In S9, the green LED 79 is returned from the blinking display to the lit display, and the red LED 79 is lit up to notify that the paper is out. Thereafter, the process proceeds to S2 again and the above-described processing is repeated.

S8では、用紙残り枚数≧印刷残り枚数か否かが判断される。これは、「EEPROM73の不図示の残り枚数カウンタ」≧「RAM72に記憶された印刷枚数」か否かにより判断される。用紙残り枚数≧印刷残り枚数と判断された場合(S8:YES)は、S10に移行し、用紙残り枚数<印刷残り枚数と判断された場合(S8:NO)は、S11に移行する。   In S8, it is determined whether the remaining number of sheets ≧ the remaining number of prints. This is determined based on whether or not “remaining sheet number counter (not shown) of EEPROM 73” ≧ “number of printed sheets stored in RAM 72”. If it is determined that the remaining number of sheets ≧ the remaining number of printing (S8: YES), the process proceeds to S10, and if it is determined that the remaining number of sheets <the remaining number of printing (S8: NO), the process proceeds to S11.

S10では、印刷データから1枚分が通常に印刷される。印刷に際しては、不図示の印刷バッファに印刷データがイメージ展開される。その後、ステップモータ75がモータ駆動回路76により回転されることにより用紙15が搬送され、サーマルヘッド24がサーマルヘッド制御回路77によって制御されることにより、印刷バッファに展開されたイメージが用紙15に印字される。その際、ステップモータ75とサーマルヘッド24とは、同期を取りながら制御される。また、EEPROM73の不図示の残り枚数カウンタが1減らされて更新されると共に、RAM72に記憶された印刷枚数も1減らされて更新される。その後、再び、S5に移行して前述の処理が繰り返される。   In S10, one sheet is normally printed from the print data. When printing, the print data is developed in a print buffer (not shown). Thereafter, the sheet motor 15 is conveyed by rotating the step motor 75 by the motor drive circuit 76, and the thermal head 24 is controlled by the thermal head control circuit 77, so that the image developed in the print buffer is printed on the sheet 15. Is done. At this time, the step motor 75 and the thermal head 24 are controlled while being synchronized. In addition, the remaining number counter (not shown) of the EEPROM 73 is updated by being decreased by 1, and the number of printed sheets stored in the RAM 72 is also decreased by 1 and updated. Thereafter, the process proceeds to S5 again and the above-described processing is repeated.

一方、S11では、印刷残りの内、Nページ分が2次元コードに変換される。本第1実施形態では、1ページに2次元コードの一種であるQRコードが最大6個印刷されるので、最大で、6ページ分の印刷データが6個のQRコードに変換される。QRコードへの変換方法は周知なため詳細な説明は省略する。尚、S8からS11に移行する場合、例えば、用紙残り枚数が1枚で、印刷残り枚数が3枚である時は、1ページにQRコードは3個印刷される。このように、1ページにQRコードが最大6個印刷される場合、実際には、QRコードは2個から6個印刷される可能性がある。その後、S12に移行する。   On the other hand, in S11, N pages of the remaining printing are converted into a two-dimensional code. In the first embodiment, since up to six QR codes, which are a kind of two-dimensional code, are printed on one page, the print data for six pages is converted into six QR codes at the maximum. Since the conversion method to the QR code is well known, detailed description is omitted. When shifting from S8 to S11, for example, when the remaining number of sheets is one and the remaining number of prints is three, three QR codes are printed on one page. As described above, when a maximum of 6 QR codes are printed on one page, in reality, 2 to 6 QR codes may be printed. Thereafter, the process proceeds to S12.

S12では、S11にて変換された2次元コードのQRコードが適宜配置されたイメージが印刷バッファにイメージ展開された上用紙15に印刷される。また、EEPROM73の不図示の残り枚数カウンタが1減らされて更新されると共に、RAM72に記憶された印刷枚数は、S11において2次元コードに変換されたページ数であるNだけ減らされて更新される。その後、再び、S5に移行して前述の処理が繰り返される。   In S12, an image in which the QR code of the two-dimensional code converted in S11 is appropriately arranged is printed on the upper paper 15 on which the image is developed in the print buffer. In addition, the remaining number counter (not shown) of the EEPROM 73 is updated by being reduced by 1, and the number of printed sheets stored in the RAM 72 is updated by being decreased by N which is the number of pages converted into the two-dimensional code in S11. . Thereafter, the process proceeds to S5 again and the above-described processing is repeated.

例えば、用紙残り枚数が2枚で、印刷データのページ数が9ページ分である時、S8による1回目の判断では、「用紙残り枚数(2枚)<印刷残りページ(9ページ)」なのでNOとなり、S11にて6ページ分が2次元コードに変換され、S12にて1枚の用紙15に印刷される。それにより、用紙残り枚数は1枚、印刷残りページは3ページとなる。S8による2回目の判断では、「用紙残り枚数(1枚)<印刷残りページ(3ページ)」なのでNOとなり、S11にて3ページ分が2次元コードに変換され、S12にて1枚の用紙15に印刷される。それにより、6ページ分の印刷は終了する。   For example, if the remaining number of sheets is 2 and the number of pages of print data is 9 pages, the first determination in S8 is “remaining number of sheets (2 sheets) <remaining printing pages (9 pages)”, NO. Thus, 6 pages are converted into a two-dimensional code in S11 and printed on one sheet 15 in S12. As a result, the remaining number of sheets is 1, and the remaining print pages are 3. In the second determination at S8, “NO” (remaining number of sheets (1) <remaining pages to be printed (3 pages)) is NO, and at S11, the three pages are converted into a two-dimensional code, and one sheet at S12. 15 is printed. Thereby, the printing for 6 pages is completed.

別の例として、用紙残り枚数が5枚で、印刷データのページ数が9ページ分であるとする。S8による1回目の判断では、「用紙残り枚数(5枚)<印刷残りページ(9ページ)」なのでNOとなり、S11にて6ページ分が2次元コードに変換され、S12にて1枚の用紙15に印刷される。それにより、用紙残り枚数は4枚、印刷残りページは3ページとなる。S8による2回目の判断では、「用紙残り枚数(4枚)≧印刷残りページ(3ページ)」なのでYESとなり、S10にて1ページ分がそのまま1枚の用紙15に印刷される。それにより、用紙残り枚数は3枚、印刷残りページは2ページとなる。   As another example, it is assumed that the remaining number of sheets is 5 and the number of pages of print data is 9 pages. In the first determination at S8, “No. of remaining sheets (5) <remaining printed pages (9 pages)” is NO, so 6 pages are converted into a two-dimensional code at S11, and one sheet at S12. 15 is printed. As a result, the remaining number of sheets is 4, and the remaining pages are 3 pages. In the second determination in S8, “remaining number of sheets (4) ≧ printed remaining pages (3 pages)” is YES, and one page is printed on one sheet 15 as it is in S10. As a result, the remaining number of sheets is 3, and the remaining pages are 2 pages.

S8による3回目の判断では、「用紙残り枚数(3枚)≧印刷残りページ(2ページ)」なのでYESとなり、S10にて1ページ分がそのまま1枚の用紙15に印刷される。それにより、用紙残り枚数は2枚、印刷残りページは1ページとなる。S8による4回目の判断では、「用紙残り枚数(2枚)≧印刷残りページ(1ページ)」なのでYESとなり、S10にて1ページ分がそのまま1枚の用紙15に印刷される。それにより、6ページ分の印刷は終了する。   In the third determination in S8, “remaining number of sheets (3) ≧ printing remaining pages (2 pages)” is YES, and one page is printed as it is on one sheet 15 in S10. As a result, the remaining number of sheets is two and the remaining print pages are one page. In the fourth determination at S8, “remaining number of sheets (2 sheets) ≧ printed remaining pages (1 page)” is YES, and one page is printed as it is on one sheet 15 at S10. Thereby, the printing for 6 pages is completed.

第1実施形態では、印刷処理の初めの内、プリンタ2に残っている用紙15だけで、印刷残りのページに対して用紙1枚に1ページ分の印刷データを印刷することができない時に、複数ページ分を2次元コードにて1枚の用紙15に印刷し、印刷残りのページに対して用紙1枚に1ページ分の印刷データを印刷することができるようになったところから用紙1枚に1ページ分の印刷データを印刷するようにしている。   In the first embodiment, a plurality of print data for one page cannot be printed on one sheet of the remaining print pages with only the remaining paper 15 in the printer 2 at the beginning of the printing process. A page is printed on one sheet of paper 15 using a two-dimensional code, and one page of print data can be printed on one sheet of paper for the remaining pages. One page of print data is printed.

しかし、プリンタ2に残っている用紙15だけで、印刷残りのページに対して用紙1枚に1ページ分の印刷データを印刷することができない時には、初めから最後まで、印刷データは2次元コードに変換して印刷してもよい。また、印刷処理の初めの内は、用紙1枚に1ページ分の印刷データを印刷し、これ以上用紙1枚に1ページ分の印刷データを印刷していてはプリンタ2に残っている用紙15だけで印刷処理を終えられないとなったところで、複数ページ分を2次元コードにて1枚の用紙15に印刷するようにしてもよい。   However, when it is not possible to print one page of print data on one sheet of paper for the remaining print pages with only the paper 15 remaining in the printer 2, the print data is converted into a two-dimensional code from the beginning to the end. It may be converted and printed. In the beginning of the printing process, one page of print data is printed on one sheet of paper, and one page of print data is printed on one sheet of paper more than this, and the remaining paper 15 in the printer 2 is printed. When it is impossible to finish the printing process with only a single page, a plurality of pages may be printed on one sheet 15 using a two-dimensional code.

印刷システム1では、EEPROM73の不図示の残り枚数カウンタとUSBインタフェース57を介して受信した印刷データから読み出された印刷枚数により、印刷データを全て用紙収容部(給紙部)14に収納されている用紙15に印刷可能か否かを判断するCPU70と、印刷データを印刷するに際し、CPU70により印刷データを全て用紙収容部14に収納されている用紙15に印刷可能でないと判断された場合は、CPU70により印刷データを2次元コードに変換し、サーマルヘッド79及びステップモータ77等を介して2次元コードを印刷することにより用紙収容部14に収納されている用紙15のみにて印刷データを全て印刷するように制御するCPU70とを備えて構成されている。   In the printing system 1, all the print data is stored in the paper storage unit (paper supply unit) 14 according to the number of prints read from the print data received via the remaining number counter (not shown) of the EEPROM 73 and the USB interface 57. CPU 70 that determines whether printing is possible on the existing paper 15 and when printing the print data, when the CPU 70 determines that all the print data cannot be printed on the paper 15 stored in the paper storage unit 14, The CPU 70 converts the print data into a two-dimensional code and prints the two-dimensional code via the thermal head 79, the step motor 77, and the like, thereby printing all the print data using only the paper 15 stored in the paper storage unit 14. The CPU 70 is configured to control to do so.

これにより、プリンタ2に残っている用紙15のみにて印刷をすることができるので、それによって用紙補充後に印刷しようとして記憶しておいた印刷データが消え去ってしまい、それがどこにも残っておらずに困り果ててしまうということはない。また、用紙15に印刷されているイメージは2次元コードであるので、2次元コード化していない場合とは異なり、カメラ付き携帯電話等の2次元コード読み取り機能を備えた機器による読み取り時にデータの一部が落ちることもなく、読み取ったデータを基に本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper 15 remaining in the printer 2, so that the print data stored for printing after the paper replenishment disappears, and it does not remain anywhere. You won't be in trouble. Further, since the image printed on the paper 15 is a two-dimensional code, unlike the case where it is not converted into a two-dimensional code, one of the data is read at the time of reading by a device having a two-dimensional code reading function such as a camera-equipped mobile phone. It is possible to accurately print the data in the original print format based on the read data without dropping the part.

また、印刷システム1では、プリンタ2は、EEPROM73の不図示の残り枚数カウンタとUSBインタフェース78を介して受信した印刷データから読み出された印刷枚数により、印刷データを全て用紙収容部14に収納されている用紙15に印刷可能か否かを判断するCPU70と、印刷データを印刷するに際し、CPU70により印刷データを全て用紙収容部14に収納されている用紙15に印刷可能でないと判断された場合は、CPU70により印刷データを2次元コードに変換し、サーマルヘッド79及びステップモータ77等を介して2次元コードを印刷することにより用紙収容部14に収納されている用紙15のみにて印刷データを全て印刷するように制御するCPU70とを備えて構成されている。   In the printing system 1, the printer 2 stores all print data in the sheet storage unit 14 based on the remaining number counter (not shown) of the EEPROM 73 and the number of prints read from the print data received via the USB interface 78. The CPU 70 that determines whether or not printing is possible on the paper 15 being printed, and when the print data is printed, the CPU 70 determines that all the print data cannot be printed on the paper 15 stored in the paper storage unit 14. The CPU 70 converts the print data into a two-dimensional code, and prints the two-dimensional code via the thermal head 79, the step motor 77, etc., so that all the print data is obtained only by the paper 15 stored in the paper storage unit 14. And a CPU 70 that controls to perform printing.

これにより、プリンタ2に残っている用紙15のみにて印刷をすることができるので、それによって用紙補充後に印刷しようとして記憶しておいた印刷データが消え去ってしまい、それがどこにも残っておらずに困り果ててしまうということはない。また、用紙15に印刷されているイメージは2次元コードであるので、2次元コード化していない場合とは異なり、カメラ付き携帯電話等の2次元コード読み取り機能を備えた機器による読み取り時にデータの一部が落ちることもなく、読み取ったデータを基に本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper 15 remaining in the printer 2, so that the print data stored for printing after the paper replenishment disappears, and it does not remain anywhere. You won't be in trouble. Further, since the image printed on the paper 15 is a two-dimensional code, unlike the case where it is not converted into a two-dimensional code, one of the data is read at the time of reading by a device having a two-dimensional code reading function such as a camera-equipped mobile phone. It is possible to accurately print the data in the original print format based on the read data without dropping the part.

次に、本第2実施形態に係る印刷システム1について説明する。第2実施形態は第1実施形態と殆ど同じであって、主に、プリンタとPC双方の印刷処理が異なる。以下では、第1実施形態と異なる部分を中心に図10を参照して説明する。尚、第1実施形態と同じ構成には第1実施形態と同じ符号を付して説明する。   Next, the printing system 1 according to the second embodiment will be described. The second embodiment is almost the same as the first embodiment, and mainly the printing processes of both the printer and the PC are different. Below, it demonstrates with reference to FIG. 10 centering on a different part from 1st Embodiment. Note that the same components as those in the first embodiment are denoted by the same reference numerals as those in the first embodiment.

先ず、プリンタ2について説明する。プリンタ2では、図9に示すメイン処理に替わって以下の処理が行われる。プリンタ2では、初期化処理の後、USBインタフェース78を介してPC3から送信されるコマンドに応じて、各種の処理が行われる。コマンドには、印刷を行う印刷コマンド、プリンタ2の用紙残量を検出する用紙残量要求コマンド等がある。印刷コマンドは、印刷データをビットマップイメージの形で備えており、CPU70は、印刷コマンドを受信した場合、そのビットマップイメージをそのまま用紙15に印刷する。その際、用紙1枚に印刷する度に、EEPROM73の不図示の残り枚数カウンタは1ずつ減らされて更新されるように構成されている。印刷コマンドは、第1実施形態においては、全ページ分一括して送信していたが、それとは異なり、印刷データが複数ページに渡る時も1ページ分ずつ別の印刷コマンドとして送信される。   First, the printer 2 will be described. In the printer 2, the following processing is performed in place of the main processing shown in FIG. In the printer 2, after the initialization process, various processes are performed in accordance with commands transmitted from the PC 3 via the USB interface 78. The commands include a print command for performing printing, a remaining paper request command for detecting the remaining paper of the printer 2, and the like. The print command includes print data in the form of a bitmap image. When the print command is received, the CPU 70 prints the bitmap image on the paper 15 as it is. At this time, every time a sheet of paper is printed, the remaining number counter (not shown) of the EEPROM 73 is decremented by one and updated. In the first embodiment, the print command is transmitted for all pages at once, but, unlike that, the print command is transmitted as a separate print command for each page even when the print data extends over a plurality of pages.

用紙残量要求コマンドを受信した場合、CPU70は、EEPROM73の不図示の残り枚数カウンタの値を、USBインタフェース78を介してPC3に送り返す。   When the remaining sheet request command is received, the CPU 70 returns the value of the remaining sheet counter (not shown) of the EEPROM 73 to the PC 3 via the USB interface 78.

次に、PC3について説明する。PC3のRAM52には、不図示の印刷バッファが確保される。   Next, the PC 3 will be described. A print buffer (not shown) is secured in the RAM 52 of the PC 3.

引き続いて、図10を参照してPC3側の印刷処理について説明する。この印刷処理は、印刷機能を有するプログラムが起動された場合、使用者がキーボード7やマウス8を介して文書または画像等の印刷を指示した時にCPU50が実行する処理である。図10は、印刷処理を示すフローチャートである。   Subsequently, the printing process on the PC 3 side will be described with reference to FIG. This printing process is a process executed by the CPU 50 when a user instructs printing of a document or an image via the keyboard 7 or the mouse 8 when a program having a printing function is started. FIG. 10 is a flowchart showing the printing process.

図10に示すように、S20では、プリンタ2における用紙残量が取得される。この処理は、プリンタ2に対しケーブル4を介して用紙残量要求コマンドを送信する処理と、それに応じてプリンタ2から送り返される用紙残量の受信待ちの処理と、用紙残量が送り返された時にそれを読み出す処理とからなる。用紙残量が取得された後は、S21に移行する。   As shown in FIG. 10, in S20, the remaining amount of paper in the printer 2 is acquired. This process includes a process for transmitting a remaining paper amount request command to the printer 2 via the cable 4, a process for waiting for reception of the remaining amount of paper sent back from the printer 2, and a time when the remaining amount of paper is sent back. It consists of processing to read it. After the remaining amount of paper is acquired, the process proceeds to S21.

S21では、印刷残りがありか否かが判断される。それには、RAM52に記憶されている印刷枚数により判断される。印刷残りがありと判断された場合(S21:YES)は、S22に移行し、印刷残りがなしと判断された場合(S21:NO)は、S23に移行する。S23では、表示制御部58を介してモニタ6に対し印刷完了を表す画面が表示される。その後、この印刷処理は終了する。   In S21, it is determined whether or not there is a print residue. This is determined by the number of printed sheets stored in the RAM 52. If it is determined that there is remaining printing (S21: YES), the process proceeds to S22, and if it is determined that there is no remaining printing (S21: NO), the process proceeds to S23. In S 23, a screen indicating the completion of printing is displayed on the monitor 6 via the display control unit 58. Thereafter, this printing process ends.

S22では、紙残りがありか否かが判断される。これには、S20にてプリンタ2から取得し、RAM52に記憶された用紙残り枚数により判断される。紙残りがありと判断された場合(S22:YES)は、S24に移行し、紙残りがなしと判断された場合(S22:NO)は、S25に移行する。S25では、表示制御部58を介してモニタ6に対し用紙切れを表す画面が表示される。その後、この印刷処理は終了する。   In S22, it is determined whether there is any remaining paper. This is determined from the remaining number of sheets obtained from the printer 2 in S20 and stored in the RAM 52. If it is determined that there is paper remaining (S22: YES), the process proceeds to S24, and if it is determined that there is no paper remaining (S22: NO), the process proceeds to S25. In S <b> 25, a screen indicating that the paper is out is displayed on the monitor 6 via the display control unit 58. Thereafter, this printing process ends.

S24では、用紙残り枚数≧印刷残り枚数か否かが判断される。これは、「RAM52に記憶された用紙残り枚数」≧「RAM52に記憶された印刷枚数」か否かにより判断される。用紙残り枚数≧印刷残り枚数と判断された場合(S24:YES)は、S26に移行し、用紙残り枚数<印刷残り枚数と判断された場合(S24:NO)は、S27に移行する。   In S24, it is determined whether the remaining number of sheets ≧ the remaining number of prints. This is determined based on whether “the remaining number of sheets stored in the RAM 52” ≧ “the number of printed sheets stored in the RAM 52”. When it is determined that the remaining number of sheets ≧ the remaining number of printing (S24: YES), the process proceeds to S26, and when it is determined that the remaining number of sheets <the remaining number of printing (S24: NO), the process proceeds to S27.

S26では、印刷データから1枚分が通常の印刷用にRAM52の不図示の印刷バッファにイメージ展開される。また、RAM52に記憶された印刷枚数が1減らされて更新される。その後、S29に移行する。   In S26, one image from the print data is developed in a print buffer (not shown) of the RAM 52 for normal printing. In addition, the number of prints stored in the RAM 52 is updated by one. Thereafter, the process proceeds to S29.

一方、S27では、印刷残りの内、Nページ分が2次元コードに変換される。本第2実施形態では、1ページに2次元コードの一種であるQRコードが最大6個印刷されるので、最大で、6ページ分の印刷データが6個のQRコードに変換される。QRコードへの変換方法は周知なため詳細な説明は省略する。尚、S24からS27に移行する場合、例えば、用紙残り枚数が1枚で、印刷残り枚数が3枚である時は、1ページにQRコードは3個印刷される。このように、1ページにQRコードが最大6個印刷される場合、実際には、QRコードは2個から6個印刷される可能性がある。その後、S28に移行する。   On the other hand, in S27, N pages of the remaining printing are converted into a two-dimensional code. In the second embodiment, since up to six QR codes, which are a kind of two-dimensional code, are printed on one page, the print data for six pages is converted into six QR codes at the maximum. Since the conversion method to the QR code is well known, detailed description is omitted. When shifting from S24 to S27, for example, when the remaining number of sheets is one and the remaining number of prints is three, three QR codes are printed on one page. As described above, when a maximum of 6 QR codes are printed on one page, in reality, 2 to 6 QR codes may be printed. Thereafter, the process proceeds to S28.

S28では、S27にて変換された2次元コードのQRコードがRAM52の不図示の印刷バッファに適宜配置されたイメージにイメージ展開される。その際、RAM52に記憶された印刷枚数は、S27において2次元コードに変換されたページ数であるNだけ減らされて更新される。その後、S29に移行する。   In S28, the QR code of the two-dimensional code converted in S27 is developed into an image appropriately arranged in a print buffer (not shown) of the RAM 52. At this time, the number of prints stored in the RAM 52 is updated by being reduced by N, which is the number of pages converted into the two-dimensional code in S27. Thereafter, the process proceeds to S29.

S29では、RAM52の不図示の印刷バッファに展開されたイメージを基に作成された印刷コマンドがUSBインタフェース57を介してプリンタ2に送信される。その際、RAM52の用紙残り枚数が1減らされて更新される。その後、再び、S21に移行して前述の処理が繰り返される。   In S 29, a print command created based on the image developed in the print buffer (not shown) of the RAM 52 is transmitted to the printer 2 via the USB interface 57. At that time, the remaining number of sheets in the RAM 52 is reduced by 1 and updated. Thereafter, the process proceeds to S21 again and the above-described processing is repeated.

本第2実施形態では、プリンタ2から用紙残量を印刷処理の最初に1回取得しているだけであるが、印刷コマンドを送信する前に毎回プリンタ2から取得するように構成してもよい。   In the second embodiment, the remaining amount of paper is acquired from the printer 2 only once at the beginning of the printing process. However, the remaining amount of paper may be acquired from the printer 2 every time before a print command is transmitted. .

本第2実施形態では、用紙1枚に印刷される分の印刷データ毎に別々の印刷コマンドを送信していたが、全印刷データからなる1つの印刷コマンドを送信するように構成してもよい。   In the second embodiment, separate print commands are transmitted for each print data to be printed on one sheet of paper. However, one print command composed of all print data may be transmitted. .

本第2実施形態に係る印刷システム1では、PC3は、USBインタフェース57を介してプリンタ2から取得した用紙残量とRAM52に記憶されている印刷枚数により、印刷データを全て用紙収容部14に収納されている用紙15に印刷可能か否かを判断するCPU50と、プリンタ2に対しUSBインタフェース57によって印刷データを送信するに際し、CPU50により印刷データを全て用紙収容部14に収納されている用紙15に印刷可能でないと判断された場合は、CPU50により印刷データを2次元コードに変換し、USBインタフェース57を介して2次元コードに相当する印刷データを送信することにより用紙収容部14に収納されている用紙15のみにて印刷データを全て印刷するように制御するCPU50とを備えて構成されている。   In the printing system 1 according to the second embodiment, the PC 3 stores all print data in the sheet storage unit 14 based on the remaining amount of paper acquired from the printer 2 via the USB interface 57 and the number of prints stored in the RAM 52. When the print data is transmitted to the printer 2 through the USB interface 57 and the CPU 50 that determines whether printing is possible on the paper 15 that has been printed, the CPU 50 stores all the print data in the paper 15 that is stored in the paper storage unit 14. If it is determined that printing is not possible, the CPU 50 converts the print data into a two-dimensional code and transmits the print data corresponding to the two-dimensional code via the USB interface 57 to be stored in the paper storage unit 14. CPU 50 for controlling to print all the print data only on paper 15 It is configured Te.

これにより、プリンタ2に残っている用紙15のみにて印刷をすることができるので、それによって用紙補充後に印刷しようとして記憶しておいた印刷データが消え去ってしまい、それがどこにも残っておらずに困り果ててしまうということはない。また、用紙15に印刷されているイメージは2次元コードであるので、2次元コード化していない場合とは異なり、カメラ付き携帯電話等の2次元コード読み取り機能を備えた機器による読み取り時にデータの一部が落ちることもなく、読み取ったデータを基に本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper 15 remaining in the printer 2, so that the print data stored for printing after the paper replenishment disappears, and it does not remain anywhere. You won't be in trouble. Further, since the image printed on the paper 15 is a two-dimensional code, unlike the case where it is not converted into a two-dimensional code, one of the data is read at the time of reading by a device having a two-dimensional code reading function such as a camera-equipped mobile phone. It is possible to accurately print the data in the original print format based on the read data without dropping the part.

次に、本第3実施形態に係る印刷システムについて説明する。第3実施形態に係る印刷システムの概略構成は図示しないが、第1実施形態のプリンタ2に対してUSBメモリが直結されてなるシステムである。尚、第1実施形態と同じ構成には第1実施形態と同じ符号を付して説明する。   Next, a printing system according to the third embodiment will be described. Although a schematic configuration of a printing system according to the third embodiment is not illustrated, the system is a system in which a USB memory is directly connected to the printer 2 of the first embodiment. Note that the same components as those in the first embodiment are denoted by the same reference numerals as those in the first embodiment.

USBメモリは、周知のUSBメモリであり、不図示の記憶手段、USBインタフェース、CPUを備えている。USBメモリは、内部に電源は備えておらず、外部の機器に接続された際に、USBインタフェースを介して外部の機器より電力が供給されるように構成されている。周知の通り、USBメモリは、使用者からの操作を受け付けるような入力手段は備えておらず、USBインタフェースを介して外部の機器からの指示を受けることにより内部の記憶手段にファイルを書き込んだり、記憶手段に書き込まれたファイルが読み出されたりするように構成されている。本第3実施形態においては、USBメモリは、プリンタ2に接続された状態では、プリンタ2から電力の供給を受けると共に、プリンタ2からの指示を受けることにより記憶手段に書き込まれたファイルが読み出される。   The USB memory is a well-known USB memory, and includes a storage unit (not shown), a USB interface, and a CPU. The USB memory does not have a power source inside, and is configured such that when connected to an external device, power is supplied from the external device via the USB interface. As is well known, the USB memory does not have an input means for accepting an operation from the user, and writes a file to the internal storage means by receiving an instruction from an external device via the USB interface. A file written in the storage means is read out. In the third embodiment, when the USB memory is connected to the printer 2, the USB memory receives power supply from the printer 2, and the file written in the storage unit is read by receiving an instruction from the printer 2. .

USBメモリの記憶手段に記憶されるファイルは、周知のテキストファイル、画像ファイル、所定のワープロソフトによる文書ファイル、その他一般的なファイルである。尚、本第3実施形態においては、USBメモリには、予め、印刷可能なテキストファイル、画像ファイル、文書ファイルの何れかが1つのみ記憶されているとする。   The files stored in the storage means of the USB memory are known text files, image files, document files using predetermined word processing software, and other general files. In the third embodiment, it is assumed that only one printable text file, image file, or document file is stored in advance in the USB memory.

第1実施形態では、プリンタ2の備えるUSBコネクタにUSBケーブル4を介してPC3が接続されているが、第3実施形態では、プリンタ2の備えるUSBコネクタには、USBメモリが接続されることもあれば、USBケーブル4を介してUSBメモリ以外の外部の機器が接続されることもある。尚、プリンタ2が複数のUSBコネクタを備えるように構成してもよい。   In the first embodiment, the PC 3 is connected to the USB connector provided in the printer 2 via the USB cable 4, but in the third embodiment, a USB memory may be connected to the USB connector provided in the printer 2. If so, an external device other than the USB memory may be connected via the USB cable 4. The printer 2 may be configured to include a plurality of USB connectors.

次に、プリンタ2における処理について、図11を参照して説明する。図11は、プリンタ2のメイン処理を示すフローチャートである。以下の処理は全てCPU70により実行される。   Next, processing in the printer 2 will be described with reference to FIG. FIG. 11 is a flowchart showing the main process of the printer 2. The following processes are all executed by the CPU 70.

先ず、電源SW74が押下されると、ROM71に記憶されているプログラムがCPU70にて実行される。それにより、図11に示すように、S40では、初期化処理が行われる。初期化処理としては、RAM72の各種変数が初期化される。また、プリンタ2が待機中であることを表すために緑色のLED79が点灯される。その他、各種の初期化処理が行われる。その後、S41に移行する。   First, when the power SW 74 is pressed, the program stored in the ROM 71 is executed by the CPU 70. Thereby, as shown in FIG. 11, an initialization process is performed in S40. As initialization processing, various variables in the RAM 72 are initialized. A green LED 79 is lit to indicate that the printer 2 is on standby. In addition, various initialization processes are performed. Thereafter, the process proceeds to S41.

S41では、USBインタフェース78を介してUSBメモリ以外の外部の機器から印刷データが受信されたか否かが判断される。印刷データが受信されたと判断された場合(S41:YES)は、S42に移行し、印刷データが受信されたと判断されなかった場合(S41:NO)は、S43に移行する。   In S <b> 41, it is determined whether print data is received from an external device other than the USB memory via the USB interface 78. If it is determined that print data has been received (S41: YES), the process proceeds to S42, and if it is not determined that print data has been received (S41: NO), the process proceeds to S43.

S42では、受信された印刷データに基づいて通常に印刷がなされる。印刷に際しては、不図示の印刷バッファに印刷データがイメージ展開される。その後、ステップモータ75がモータ駆動回路76により回転されることにより用紙15が搬送され、サーマルヘッド24がサーマルヘッド制御回路77によって制御されることにより、印刷バッファに展開されたイメージが用紙15に印字される。その際、ステップモータ75とサーマルヘッド24とは、同期を取りながら制御される。複数ページに渡る印刷の際は、全ページ分の印刷がなされる。また、EEPROM73の不図示の残り枚数カウンタが印刷に際して用いられた用紙分減らされて更新される。その後、再び、S41に移行して前述の処理が繰り返される。   In S42, printing is normally performed based on the received print data. When printing, the print data is developed in a print buffer (not shown). Thereafter, the sheet motor 15 is conveyed by rotating the step motor 75 by the motor drive circuit 76, and the thermal head 24 is controlled by the thermal head control circuit 77, so that the image developed in the print buffer is printed on the sheet 15. Is done. At this time, the step motor 75 and the thermal head 24 are controlled while being synchronized. When printing over a plurality of pages, all pages are printed. Further, a remaining sheet counter (not shown) of the EEPROM 73 is updated by reducing the sheet used for printing. Thereafter, the process proceeds to S41 again and the above-described processing is repeated.

S43では、USBメモリが接続されたか否かが判断される。USBメモリが接続されたと判断した場合(S43:YES)は、S44に移行し、USBメモリが接続されていないと判断した場合(S43:NO)は、S45に移行する。   In S43, it is determined whether or not a USB memory is connected. If it is determined that the USB memory is connected (S43: YES), the process proceeds to S44, and if it is determined that the USB memory is not connected (S43: NO), the process proceeds to S45.

S45では、その他の処理が行われる。その後、再び、S41に移行して前述の処理が繰り返される。   In S45, other processing is performed. Thereafter, the process proceeds to S41 again and the above-described processing is repeated.

S44では、USBメモリからファイルが読み出されてRAM72に一時的に記憶される。また、そのファイルをそのまま普通に印刷する時に要する用紙枚数が検出される。検出に際しては、ファイルの種類により、検出方法は異なる。例えば、テキストファイルであれば、行数をカウントして所定の行数で1枚と換算する。画像ファイルであれば、1枚とする。所定のワープロソフトによる文書ファイルであれば、その文書ファイルに書き込まれている総ページ数の情報を読み出す。検出した印刷枚数は、RAM72に一時的に記憶される。また、印刷完了までの間、プリンタ2が印刷中であることを表すために緑色のLED79が点滅表示される。その後、S46に移行する。   In S44, the file is read from the USB memory and temporarily stored in the RAM 72. Further, the number of sheets required to print the file as it is is detected. In detection, the detection method differs depending on the file type. For example, in the case of a text file, the number of lines is counted and converted to one with a predetermined number of lines. If it is an image file, the number is one. If it is a document file by a predetermined word processing software, information on the total number of pages written in the document file is read out. The detected number of printed sheets is temporarily stored in the RAM 72. In addition, until the printing is completed, a green LED 79 blinks to indicate that the printer 2 is printing. Thereafter, the process proceeds to S46.

S46では、印刷残りがあるか否かが判断される。これは、RAM72に記憶された印刷枚数が0でないか否かにより判断される。印刷残りありと判断された場合(S46:YES)は、S47に移行し、印刷残りなしと判断された場合(S46:NO)は、S48に移行する。   In S46, it is determined whether or not there is a print residue. This is determined based on whether the number of printed sheets stored in the RAM 72 is not zero. If it is determined that there is remaining printing (S46: YES), the process proceeds to S47. If it is determined that there is no remaining printing (S46: NO), the process proceeds to S48.

S48では、緑色のLED79が点滅表示から点灯表示に戻されることにより、印刷完了が通知される。その後、S51に移行する。   In S48, the green LED 79 is returned from the blinking display to the lit display, thereby notifying the completion of printing. Thereafter, the process proceeds to S51.

S47では、紙残りがあるか否かが判断される。これには、EEPROM73の不図示の残り枚数カウンタが0でないか否かにより判断される。紙残りありと判断された場合(S47:YES)は、S49に移行し、紙残りなしと判断された場合(S47:NO)は、S50に移行する。   In S47, it is determined whether or not there is paper remaining. This is determined by whether or not the remaining number counter (not shown) of the EEPROM 73 is not zero. If it is determined that there is paper remaining (S47: YES), the process proceeds to S49, and if it is determined that there is no paper remaining (S47: NO), the process proceeds to S50.

S50では、緑色のLED79が点滅表示から点灯表示に戻されると共に、赤色のLED79が点灯表示され用紙切れが通知される。その後、S51に移行する。   In S50, the green LED 79 is returned from the blinking display to the lit display, and the red LED 79 is lit up to notify that the paper is out. Thereafter, the process proceeds to S51.

S51では、USBメモリがプリンタ2から接続解除されたか否かが判断される。USBメモリが接続解除されたと判断した場合(S51:YES)は、再び、S41に移行して前述の処理が繰り返される。一方、USBメモリが接続解除されなかったと判断した場合(S51:NO)は、再び、S51に移行して前述の処理が繰り返される。   In S51, it is determined whether or not the USB memory is disconnected from the printer 2. If it is determined that the USB memory has been disconnected (S51: YES), the process proceeds to S41 again and the above-described processing is repeated. On the other hand, if it is determined that the USB memory has not been disconnected (S51: NO), the process proceeds to S51 again and the above-described processing is repeated.

S47において紙残りありと判断された場合(S47:YES)に移行するS49では、用紙残り枚数≧印刷残り枚数か否かが判断される。これは、「EEPROM73の不図示の残り枚数カウンタ」≧「RAM72に記憶された印刷枚数」か否かにより判断される。用紙残り枚数≧印刷残り枚数と判断された場合(S49:YES)は、S52に移行し、用紙残り枚数<印刷残り枚数と判断された場合(S49:NO)は、S53に移行する。   If it is determined in S47 that there is paper remaining (S47: YES), in S49, it is determined whether the remaining number of sheets ≧ the remaining number of prints. This is determined based on whether or not “remaining sheet number counter (not shown) of EEPROM 73” ≧ “number of printed sheets stored in RAM 72”. When it is determined that the remaining number of sheets ≧ the remaining number of printing (S49: YES), the process proceeds to S52, and when it is determined that the remaining number of sheets <the remaining number of printing (S49: NO), the process proceeds to S53.

S52では、印刷データから1枚分が通常に印刷される。印刷に際しては、不図示の印刷バッファに印刷データがイメージ展開される。その後、ステップモータ75がモータ駆動回路76により回転されることにより用紙15が搬送され、サーマルヘッド24がサーマルヘッド制御回路77によって制御されることにより、印刷バッファに展開されたイメージが用紙15に印字される。その際、ステップモータ75とサーマルヘッド24とは、同期を取りながら制御される。また、EEPROM73の不図示の残り枚数カウンタが1減らされて更新されると共に、RAM72に記憶された印刷枚数も1減らされて更新される。その後、再び、S46に移行して前述の処理が繰り返される。   In S52, one sheet is normally printed from the print data. When printing, the print data is developed in a print buffer (not shown). Thereafter, the sheet motor 15 is conveyed by rotating the step motor 75 by the motor drive circuit 76, and the thermal head 24 is controlled by the thermal head control circuit 77, so that the image developed in the print buffer is printed on the sheet 15. Is done. At this time, the step motor 75 and the thermal head 24 are controlled while being synchronized. In addition, the remaining number counter (not shown) of the EEPROM 73 is updated by being decreased by 1, and the number of printed sheets stored in the RAM 72 is also decreased by 1 and updated. Thereafter, the process proceeds to S46 again and the above-described processing is repeated.

一方、S53では、印刷残りの内、Nページ分が2次元コードに変換される。本第3実施形態では、1ページに2次元コードの一種であるQRコードが最大6個印刷されるので、最大で、6ページ分の印刷データが6個のQRコードに変換される。QRコードへの変換方法は周知なため詳細な説明は省略する。尚、S49からS53に移行する場合、例えば、用紙残り枚数が1枚で、印刷残り枚数が3枚である時は、1ページにQRコードは3個印刷される。このように、1ページにQRコードが最大6個印刷される場合、実際には、QRコードは2個から6個印刷される可能性がある。その後、S54に移行する。   On the other hand, in S53, N pages of the remaining printing are converted into a two-dimensional code. In the third embodiment, since up to six QR codes, which are a kind of two-dimensional code, are printed on one page, the maximum six pages of print data are converted into six QR codes. Since the conversion method to the QR code is well known, detailed description is omitted. When shifting from S49 to S53, for example, when the remaining number of sheets is one and the remaining number of prints is three, three QR codes are printed on one page. As described above, when a maximum of 6 QR codes are printed on one page, in reality, 2 to 6 QR codes may be printed. Thereafter, the process proceeds to S54.

S54では、S53にて変換された2次元コードのQRコードが適宜配置されたイメージが印刷バッファにイメージ展開された上用紙15に印刷される。また、EEPROM73の不図示の残り枚数カウンタが1減らされて更新されると共に、RAM72に記憶された印刷枚数は、S53において2次元コードに変換されたページ数であるNだけ減らされて更新される。その後、再び、S46に移行して前述の処理が繰り返される。   In S54, an image in which the QR code of the two-dimensional code converted in S53 is appropriately arranged is printed on the upper paper 15 on which the image is developed in the print buffer. Further, the remaining number counter (not shown) of the EEPROM 73 is updated by being decreased by 1, and the number of printed sheets stored in the RAM 72 is updated by being decreased by N which is the number of pages converted into the two-dimensional code in S53. . Thereafter, the process proceeds to S46 again and the above-described processing is repeated.

本第3実施形態においては、USBメモリにはファイルが1つのみ記憶されている場合のみに対応していたが、複数記憶されている場合にも対応し、複数のファイルを全て印刷するようにしてもよい。または、USBメモリに複数ファイルが記憶されている場合、プリンタ2において、印刷するファイルを選択するように構成してもよい。   In the third embodiment, only a single file is stored in the USB memory. However, it is also possible to print a plurality of files in correspondence with a case where a plurality of files are stored. May be. Alternatively, when a plurality of files are stored in the USB memory, the printer 2 may be configured to select a file to be printed.

第3実施形態に係る印刷システムでは、プリンタ2は、EEPROM73の不図示の残り枚数カウンタとUSBインタフェース57を介して読み出されたファイルから検出された印刷枚数により、ファイルのデータを全て用紙収容部(給紙部)14に収納されている用紙15に印刷可能か否かを判断するCPU70と、ファイルのデータを印刷するに際し、CPU70によりファイルのデータを全て用紙収容部14に収納されている用紙15に印刷可能でないと判断された場合は、CPU70によりファイルのデータを2次元コードに変換し、サーマルヘッド79及びステップモータ77等を介して2次元コードを印刷することにより用紙収容部14に収納されている用紙15のみにてファイルのデータを全て印刷するように制御するCPU70とを備えて構成されている。   In the printing system according to the third embodiment, the printer 2 uses the remaining number counter (not shown) of the EEPROM 73 and the number of prints detected from the file read via the USB interface 57 to store all the file data in the sheet storage unit. A CPU 70 that determines whether printing is possible on the paper 15 stored in the (paper feeding unit) 14, and a paper in which all file data is stored in the paper storage unit 14 by the CPU 70 when printing file data. 15, the CPU 70 converts the file data into a two-dimensional code and prints the two-dimensional code via the thermal head 79 and the step motor 77 to store the data in the paper storage unit 14. CPU that controls to print all file data only on the paper 15 that is printed It is configured to include a 0 and.

これにより、プリンタ2に残っている用紙15のみにて印刷をすることができるので、それによって用紙補充後に印刷しようとして記憶しておいた印刷データが消え去ってしまい、それがどこにも残っておらずに困り果ててしまうということはない。また、用紙15に印刷されているイメージは2次元コードであるので、2次元コード化していない場合とは異なり、カメラ付き携帯電話等の2次元コード読み取り機能を備えた機器による読み取り時にデータの一部が落ちることもなく、読み取ったデータを基に本来の印刷形式にて印刷し直すに際し、正確に印刷することができる。   As a result, printing can be performed only with the paper 15 remaining in the printer 2, so that the print data stored for printing after the paper replenishment disappears, and it does not remain anywhere. You won't be in trouble. Further, since the image printed on the paper 15 is a two-dimensional code, unlike the case where it is not converted into a two-dimensional code, one of the data is read at the time of reading by a device having a two-dimensional code reading function such as a camera-equipped mobile phone. It is possible to accurately print the data in the original print format based on the read data without dropping the part.

尚、本発明は本第1実施形態乃至第3実施形態に限定されることはなく、本発明の要旨を逸脱しない範囲内で種々の改良、変形が可能であることは勿論である。   The present invention is not limited to the first to third embodiments, and various improvements and modifications can be made without departing from the scope of the present invention.

プリンタ2を個人向けの商品とし、使用者は用紙15を使い切った場合、使用者自身が新しい用紙パッケージ17に交換可能としてもよい。その場合、用紙パッケージ17の交換と共に、使用者には残りの用紙枚数の設定をして貰う。   When the printer 2 is a product for individuals and the user uses up the paper 15, the user may replace the paper with a new paper package 17. In that case, the user sets the remaining number of sheets together with the replacement of the sheet package 17.

また、プリンタは携帯型のプリンタではなく、A3、A4、A5等、各種サイズのカット紙に対応した据え置き型のプリンタ、年賀状作成あるいは名刺作成に特化したプリンタ等でもよい。据え置き型のプリンタである場合、残りの用紙枚数の検出は、例えば、プリンタの備える用紙収納庫に秤が備えてあり、用紙の重量を枚数に換算することにより検出してもよい。または、プリンタの備える用紙収納庫に積層された用紙の高さを測り、用紙の高さを枚数に換算することにより検出してもよい。また、周知の方法でよい。残りの用紙枚数は、正確に分からなくとも、安全を見越して少な目に見積もり、残りの用紙枚数に余裕がある多少早い段階から2次元コードに変換する印刷に切り換えてもよい。   In addition, the printer is not a portable printer, but may be a stationary printer that supports cut sheets of various sizes such as A3, A4, and A5, a printer specialized for New Year card creation or business card creation. In the case of a stationary printer, the remaining number of sheets may be detected by, for example, providing a scale in a sheet storage provided in the printer and converting the weight of the sheet into the number of sheets. Alternatively, it may be detected by measuring the height of the paper stacked in the paper storage provided in the printer and converting the height of the paper into the number of sheets. Also, a known method may be used. Even if the remaining number of sheets is not accurately known, it may be estimated to a small amount in anticipation of safety, and the printing may be switched to a printing that is converted into a two-dimensional code from a slightly earlier stage when the remaining number of sheets is available.

プリンタの印刷方式も、実施形態の例に限定されることはなく、例えば、インクジェット方式でもよい。   The printing method of the printer is not limited to the example of the embodiment, and for example, an ink jet method may be used.

端末装置は、PC3でなくともよく、PDA、携帯電話でもよい。   The terminal device may not be the PC 3, but may be a PDA or a mobile phone.

第1実施形態に係る印刷システム1の概略構成図である。1 is a schematic configuration diagram of a printing system 1 according to a first embodiment. プリンタ2の外観斜視図である。2 is an external perspective view of the printer 2. FIG. プリンタ2の側断面図である。2 is a side sectional view of the printer 2. FIG. プリンタ2の用紙収納部14に用紙をセットした状態を示した図である。FIG. 4 is a diagram illustrating a state where a sheet is set in a sheet storage unit 14 of the printer 2. プリンタ2の用紙分離部および印刷機構部の詳細を示した断面拡大図である。FIG. 3 is an enlarged cross-sectional view illustrating details of a paper separation unit and a printing mechanism unit of the printer 2. PC3の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of PC3. プリンタ2の電気的構成を示すブロック図である。2 is a block diagram illustrating an electrical configuration of a printer 2. FIG. 用紙が残り少なくなった場合に印刷される印刷物の模式図である。FIG. 6 is a schematic diagram of a printed matter that is printed when the remaining amount of paper is low. プリンタ2のメイン処理を示すフローチャートである。4 is a flowchart showing main processing of the printer 2. 第2実施形態に係る印刷システム1を構成するPC3の印刷処理を示すフローチャートである。It is a flowchart which shows the printing process of PC3 which comprises the printing system 1 which concerns on 2nd Embodiment. 第3実施形態に係る印刷システムを構成するプリンタ2のメイン処理を示すフローチャートである。It is a flowchart which shows the main process of the printer 2 which comprises the printing system which concerns on 3rd Embodiment.

符号の説明Explanation of symbols

1 印刷システム
2 プリンタ
3 PC
50 CPU
51 ROM
52 RAM
70 CPU
71 ROM
72 RAM
73 EEPROM
1 Printing system 2 Printer 3 PC
50 CPU
51 ROM
52 RAM
70 CPU
71 ROM
72 RAM
73 EEPROM

Claims (11)

用紙に印刷する印刷装置と、印刷装置により印刷されるデータを記憶するデータ記憶装置とを備える印刷システムにおいて、
前記印刷装置は、
前記用紙を収納する用紙収納手段と、
前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、
前記用紙に印刷する印刷手段とを備え、
前記データ記憶装置は、
前記データを記憶する記憶手段を備え、
前記印刷システムは、
前記記憶手段に記憶されているデータを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、
前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得された印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、
用紙の一面全体に印刷される分量の前記データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、
前記データを印刷するに際し、前記判断手段により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする印刷システム。
In a printing system comprising a printing device for printing on paper and a data storage device for storing data to be printed by the printing device,
The printing apparatus includes:
Paper storage means for storing the paper;
Remaining amount information detecting means for detecting remaining amount information of the paper stored in the paper storing means;
Printing means for printing on the paper,
The data storage device comprises:
Storage means for storing the data;
The printing system includes:
Print number acquisition means for acquiring the number of sheets for printing the data stored in the storage means;
Whether or not all the data can be printed on the paper stored in the paper storage means based on the remaining amount information of the paper detected by the residual information detection means and the number of prints acquired by the print number acquisition means. A judging means for judging;
Conversion means for converting the amount of data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half the paper size;
When printing the data, if it is determined that the data cannot be printed on the paper stored in the paper storage means by the determination means, the data is converted into a two-dimensional code by the conversion means, A printing system comprising: a printing control unit configured to print the two-dimensional code through a printing unit so as to print only the data stored on the sheet stored in the sheet storing unit. .
用紙に印刷する印刷装置と、印刷装置と通信手段を介して接続する端末装置とを備える印刷システムにおいて、
前記端末装置は、
前記通信手段を介して前記印刷装置に印刷データを送信する送信手段を備え、
前記印刷装置は、
前記用紙に印刷する印刷手段と、
前記用紙を収納する用紙収納手段と、
前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、
前記通信手段を介して前記端末装置から送信される前記印刷データを受信する受信手段と、
前記受信手段に受信される前記印刷データを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、
前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得された印刷枚数により、前記印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、
用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、
前記印刷データを印刷するに際し、前記判断手段により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする印刷システム。
In a printing system comprising a printing device for printing on paper and a terminal device connected to the printing device via communication means,
The terminal device
Transmission means for transmitting print data to the printing apparatus via the communication means;
The printing apparatus includes:
Printing means for printing on the paper;
Paper storage means for storing the paper;
Remaining amount information detecting means for detecting remaining amount information of the paper stored in the paper storing means;
Receiving means for receiving the print data transmitted from the terminal device via the communication means;
Print number acquisition means for acquiring the number of sheets for printing the print data received by the reception means;
Whether or not all of the print data can be printed on the paper stored in the paper storage means based on the remaining amount information of the paper detected by the residual information detection means and the number of prints acquired by the print number acquisition means A judging means for judging
Conversion means for converting the amount of the print data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half the paper size;
When printing the print data, if it is determined by the determination means that all the print data cannot be printed on the paper stored in the paper storage means, the conversion data is converted into a two-dimensional code by the conversion means. And a print control means for controlling to print all the print data only on the paper stored in the paper storage means by printing the two-dimensional code via the printing means. Printing system to do.
用紙に印刷する印刷装置と、印刷装置と通信手段を介して接続する端末装置とを備える印刷システムにおいて、
前記印刷装置は、
前記用紙に印刷する印刷手段と、
前記用紙を収納する用紙収納手段と、
前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、
前記通信手段を介して前記端末装置に前記残量情報検出手段により検出された用紙の残量情報を送信する第1送信手段と、
前記通信手段を介して前記端末装置から送信される印刷データを受信する第1受信手段と、
前記第1受信手段により受信する前記印刷データを前記印刷手段により前記用紙に印刷するよう制御する第1印刷制御手段とを備え、
前記端末装置は、
前記印刷データを記憶する記憶手段と、
前記通信手段を介して前記印刷装置に印刷データを送信する第2送信手段と、
第1送信手段により送信される用紙の残量情報を受信する第2受信手段と、
前記第2受信手段により検出された用紙の残量情報と前記記憶手段に記憶されている印刷データを印刷するための印刷枚数により、印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、
用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、
前記印刷装置に対し第2送信手段によって前記印刷データを送信するに際し、前記判断手段により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記第2送信手段を介して当該2次元コードに相当する印刷データを送信することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷するように制御する第2印刷制御手段とを備えることを特徴とする印刷システム。
In a printing system comprising a printing device for printing on paper and a terminal device connected to the printing device via communication means,
The printing apparatus includes:
Printing means for printing on the paper;
Paper storage means for storing the paper;
Remaining amount information detecting means for detecting remaining amount information of the paper stored in the paper storing means;
First transmitting means for transmitting the remaining amount information of the paper detected by the remaining amount information detecting means to the terminal device via the communication means;
First receiving means for receiving print data transmitted from the terminal device via the communication means;
First printing control means for controlling the printing data received by the first receiving means to print on the paper by the printing means;
The terminal device
Storage means for storing the print data;
Second transmission means for transmitting print data to the printing apparatus via the communication means;
Second receiving means for receiving the remaining amount information of the paper transmitted by the first transmitting means;
All the print data is printed on the paper stored in the paper storage means according to the remaining amount information of the paper detected by the second receiving means and the number of prints for printing the print data stored in the storage means. A determination means for determining whether it is possible,
Conversion means for converting the amount of the print data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half the paper size;
When the print data is transmitted to the printing apparatus by the second transmission means, the conversion means determines that the print data cannot be printed on the paper stored in the paper storage means by the determination means. The print data is converted into a two-dimensional code, and the print data corresponding to the two-dimensional code is transmitted via the second transmission unit, so that the print data can be obtained only on the paper stored in the paper storage unit. A printing system comprising: a second print control unit that performs control so that all printing is performed.
用紙に印刷する印刷装置と、印刷装置により印刷されるデータを記憶する携帯型のデータ記憶装置とを備える印刷システムにおいて、
前記データ記憶装置は、
前記データを記憶する記憶手段を備え、
前記印刷装置は、
前記用紙を収納する用紙収納手段と、
前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、
前記用紙に印刷する印刷手段と、
前記記憶手段から前記データを読み出す読み出し手段と、
前記記憶手段に記憶されているデータを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、
前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得した印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、
用紙の一面全体に印刷される分量の前記データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、
前記データを印刷するに際し、前記判断手段により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする印刷システム。
In a printing system comprising a printing device for printing on paper and a portable data storage device for storing data to be printed by the printing device,
The data storage device comprises:
Storage means for storing the data;
The printing apparatus includes:
Paper storage means for storing the paper;
Remaining amount information detecting means for detecting remaining amount information of the paper stored in the paper storing means;
Printing means for printing on the paper;
Reading means for reading the data from the storage means;
Print number acquisition means for acquiring the number of sheets for printing the data stored in the storage means;
Based on the remaining amount information of the paper detected by the remaining amount information detecting unit and the number of printed sheets acquired by the printed number acquiring unit, it is determined whether or not all the data can be printed on the sheet stored in the sheet storing unit. A judgment means to
Conversion means for converting the amount of data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half the paper size;
When printing the data, if it is determined by the determination means that it is not possible to print all the data on the paper stored in the paper storage means, the conversion means converts the data into a two-dimensional code, A printing system comprising: a printing control unit configured to print the two-dimensional code through a printing unit so as to print only the data stored on the paper stored in the paper storage unit. .
前記データ記憶装置は、USB(Universal Searial Bus)メモリであることを特徴とする請求項4に記載の印刷システム。   The printing system according to claim 4, wherein the data storage device is a USB (Universal Serial Bus) memory. 用紙に印刷する印刷装置と、印刷装置と通信手段を介して接続する端末装置とを備える印刷システムに使用される印刷装置において、
前記用紙に印刷する印刷手段と、
前記用紙を収納する用紙収納手段と、
前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、
前記通信手段を介して前記端末装置から送信される印刷データを受信する受信手段と、
前記受信手段に受信される前記印刷データを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、
前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得された印刷枚数により、前記印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、
用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、
前記印刷データを印刷するに際し、前記判断手段により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする印刷装置。
In a printing apparatus used in a printing system including a printing apparatus that prints on paper and a terminal apparatus that is connected to the printing apparatus via communication means,
Printing means for printing on the paper;
Paper storage means for storing the paper;
Remaining amount information detecting means for detecting remaining amount information of the paper stored in the paper storing means;
Receiving means for receiving print data transmitted from the terminal device via the communication means;
Print number acquisition means for acquiring the number of sheets for printing the print data received by the reception means;
Whether or not all of the print data can be printed on the paper stored in the paper storage means based on the remaining amount information of the paper detected by the residual information detection means and the number of prints acquired by the print number acquisition means A judging means for judging
Conversion means for converting the amount of the print data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half the paper size;
When printing the print data, if it is determined by the determination means that all the print data cannot be printed on the paper stored in the paper storage means, the conversion data is converted into a two-dimensional code by the conversion means. And a print control means for controlling to print all the print data only on the paper stored in the paper storage means by printing the two-dimensional code via the printing means. Printing device to do.
用紙に印刷する印刷装置と、印刷装置と通信手段を介して接続する端末装置とを備える印刷システムに使用される端末装置において、
印刷データを記憶する記憶手段と、
前記通信手段を介して前記印刷装置に前記印刷データを送信する送信手段と、
前記通信手段を介して前記印刷装置に収納されている用紙の残量情報を受信する受信手段と、
前記受信手段により受信された用紙の残量情報と前記記憶手段に記憶されている印刷データを印刷するための印刷枚数により、印刷データを全て前記印刷装置に収納されている用紙に印刷可能か否かを判断する判断手段と、
用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、
前記印刷装置に対し送信手段によって印刷データを送信するに際し、前記判断手段により印刷データを全て前記印刷装置に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記印刷データを2次元コードに変換し、前記送信手段を介して当該2次元コードに相当する印刷データを送信することにより前記印刷装置に収納されている用紙のみにて前記印刷データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする端末装置。
In a terminal device used in a printing system comprising a printing device that prints on paper and a terminal device that is connected to the printing device via communication means,
Storage means for storing print data;
Transmitting means for transmitting the print data to the printing apparatus via the communication means;
Receiving means for receiving remaining amount information of the paper stored in the printing apparatus via the communication means;
Whether or not all the print data can be printed on the paper stored in the printing apparatus based on the remaining amount information of the paper received by the receiving unit and the number of prints for printing the print data stored in the storage unit A judging means for judging whether or not
Conversion means for converting the amount of the print data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half the paper size;
When transmitting the print data to the printing apparatus by the transmission unit, if the determination unit determines that all the print data cannot be printed on the paper stored in the printing apparatus, the conversion unit outputs the print data. Control is performed so that all the print data is printed only on the paper stored in the printing apparatus by converting the code into a two-dimensional code and transmitting the print data corresponding to the two-dimensional code via the transmission unit. And a printing control means.
用紙に印刷する印刷装置と、印刷装置により印刷されるデータを記憶する携帯型のデータ記憶装置とを備える印刷システムに使用される印刷装置において、
前記用紙を収納する用紙収納手段と、
前記用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出手段と、
前記用紙に印刷する印刷手段と、
前記データ記憶装置の記憶手段から前記データを読み出す読み出し手段と、
前記記憶手段に記憶されているデータを印刷するための前記用紙の枚数を取得する印刷枚数取得手段と、
前記残量情報検出手段により検出された用紙の残量情報と前記印刷枚数取得手段により取得した印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断手段と、
用紙の一面全体に印刷される分量の前記データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換手段と、
前記データを印刷するに際し、前記判断手段により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換手段により前記データを2次元コードに変換し、前記印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷するように制御する印刷制御手段とを備えることを特徴とする印刷装置。
In a printing apparatus used in a printing system including a printing apparatus that prints on paper and a portable data storage device that stores data to be printed by the printing apparatus,
Paper storage means for storing the paper;
Remaining amount information detecting means for detecting remaining amount information of the paper stored in the paper storing means;
Printing means for printing on the paper;
Reading means for reading the data from the storage means of the data storage device;
Print number acquisition means for acquiring the number of sheets for printing the data stored in the storage means;
Based on the remaining amount information of the paper detected by the remaining amount information detecting unit and the number of printed sheets acquired by the printed number acquiring unit, it is determined whether or not all the data can be printed on the sheet stored in the sheet storing unit. A means to determine,
Conversion means for converting the amount of data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half the paper size;
When printing the data, if it is determined by the determination means that it is not possible to print all the data on the paper stored in the paper storage means, the conversion means converts the data into a two-dimensional code, A printing apparatus comprising: a printing control unit configured to print the two-dimensional code via a printing unit so as to print only the data on a sheet stored in the sheet storage unit. .
コンピュータに、用紙に印刷する印刷制御を実行させる印刷制御プログラムにおいて、
前記用紙を収納する用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出工程と、
通信手段を介して印刷データを受信する受信工程と、
前記受信工程にて受信される前記印刷データを印刷するための前記用紙の枚数を取得する印刷枚数取得工程と、
前記残量情報検出工程により検出された用紙の残量情報と前記印刷枚数取得工程により取得された印刷枚数により、前記印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断工程と、
用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換工程と、
前記印刷データを印刷するに際し、前記判断工程により印刷データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換工程により前記印刷データを2次元コードに変換し、印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記印刷データを全て印刷する印刷工程とを備えることを特徴とする印刷制御プログラム。
In a print control program for causing a computer to execute print control for printing on paper,
A remaining amount information detecting step of detecting remaining amount information of the paper stored in the paper storing means for storing the paper;
A receiving step of receiving print data via a communication means;
A print number acquisition step of acquiring the number of sheets for printing the print data received in the reception step;
Whether or not all the print data can be printed on the paper stored in the paper storage means based on the remaining amount information of the paper detected in the remaining amount information detection step and the number of printed sheets acquired in the printed number acquisition step. A judging process for judging
A conversion step of converting the amount of the print data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half of the paper size;
When printing the print data, if it is determined by the determination step that all the print data cannot be printed on the paper stored in the paper storage means, the conversion data is converted into a two-dimensional code by the conversion step. A printing control program comprising: a printing step of printing all the print data only on the paper stored in the paper storage means by printing the two-dimensional code via the printing means.
印刷装置にて用紙に印刷される印刷データの送信をコンピュータに実行させる印刷制御プログラムにおいて、
通信手段を介して前記印刷装置に収納されている用紙の残量情報を受信する受信工程と、
前記受信工程により受信された用紙の残量情報と記憶手段に記憶されている印刷データを印刷するための印刷枚数により、印刷データを全て前記印刷装置に収納されている用紙に印刷可能か否かを判断する判断工程と、
用紙の一面全体に印刷される分量の前記印刷データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換工程と、
前記印刷装置に対し通信手段によって前記印刷データを送信するに際し、前記判断工程により印刷データを全て前記印刷装置に収納されている用紙に印刷可能でないと判断された場合は、変換工程により前記印刷データを2次元コードに変換し、前記通信手段を介して当該2次元コードに相当する印刷データを送信することにより前記印刷装置に収納されている用紙のみにて前記印刷データを全て印刷する印刷工程とを備えることを特徴とする印刷制御プログラム。
In a print control program for causing a computer to transmit print data to be printed on paper in a printing apparatus,
A receiving step of receiving remaining amount information of the paper stored in the printing apparatus via a communication unit;
Whether or not all the print data can be printed on the paper stored in the printing device, based on the remaining amount information of the paper received in the receiving step and the number of prints for printing the print data stored in the storage unit A judging process for judging
A conversion step of converting the amount of the print data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half of the paper size;
When transmitting the print data to the printing apparatus by communication means, if it is determined by the determination step that all the print data cannot be printed on the paper stored in the printing apparatus, the conversion data A printing step of printing all the print data only on the paper stored in the printing apparatus by converting the print data into a two-dimensional code and transmitting the print data corresponding to the two-dimensional code via the communication means; A printing control program comprising:
コンピュータに、用紙に印刷する印刷制御を実行させる印刷制御プログラムにおいて、
前記用紙を収納する用紙収納手段に収納されている用紙の残量情報を検出する残量情報検出工程と、
データ記憶装置の記憶手段からデータを読み出す読み出し工程と、
前記読み出し工程により前記記憶手段から読み出される前記データを印刷するための前記用紙の枚数を取得する印刷枚数取得工程と、
前記残量情報検出工程により検出された用紙の残量情報と前記印刷枚数取得工程により取得した印刷枚数により、前記データを全て前記用紙収納手段に収納されている用紙に印刷可能か否かを判断する判断工程と、
用紙の一面全体に印刷される分量の前記データを用紙サイズの半分以下の印字サイズとなる2次元コードに変換する変換工程と、
前記データを印刷するに際し、前記判断工程により前記データを全て前記用紙収納手段に収納されている用紙に印刷可能でないと判断された場合は、変換工程により前記データを2次元コードに変換し、印刷手段を介して当該2次元コードを印刷することにより前記用紙収納手段に収納されている用紙のみにて前記データを全て印刷する印刷工程とを備えることを特徴とする印刷制御プログラム。
In a print control program for causing a computer to execute print control for printing on paper,
A remaining amount information detecting step of detecting remaining amount information of the paper stored in the paper storing means for storing the paper;
A reading step of reading data from the storage means of the data storage device;
A print number acquisition step of acquiring the number of sheets for printing the data read from the storage means in the read step;
Based on the remaining amount information of the paper detected by the remaining amount information detecting step and the number of printed sheets acquired by the printed number acquiring step, it is determined whether or not all the data can be printed on the paper stored in the paper storing means. A decision process to
A conversion step of converting the amount of data to be printed on the entire surface of the paper into a two-dimensional code having a print size less than half the paper size;
When printing the data, if it is determined by the determination step that all the data cannot be printed on the paper stored in the paper storage means, the data is converted into a two-dimensional code by the conversion step and printed. A printing control program comprising: a printing step of printing all of the data only on the paper stored in the paper storage means by printing the two-dimensional code through the means.
JP2006202394A 2006-07-25 2006-07-25 Printing system, printing apparatus, terminal apparatus and printing control program Withdrawn JP2008027384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006202394A JP2008027384A (en) 2006-07-25 2006-07-25 Printing system, printing apparatus, terminal apparatus and printing control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006202394A JP2008027384A (en) 2006-07-25 2006-07-25 Printing system, printing apparatus, terminal apparatus and printing control program

Publications (1)

Publication Number Publication Date
JP2008027384A true JP2008027384A (en) 2008-02-07

Family

ID=39117922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006202394A Withdrawn JP2008027384A (en) 2006-07-25 2006-07-25 Printing system, printing apparatus, terminal apparatus and printing control program

Country Status (1)

Country Link
JP (1) JP2008027384A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104321098A (en) * 2012-06-26 2015-01-28 凸版印刷株式会社 Instrument for operating fluid injector using multi-microneedle device
US12045526B2 (en) 2022-09-14 2024-07-23 Brother Kogyo Kabushiki Kaisha Printer including memory configured to store first print data and second print data generated based on code information in memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104321098A (en) * 2012-06-26 2015-01-28 凸版印刷株式会社 Instrument for operating fluid injector using multi-microneedle device
US12045526B2 (en) 2022-09-14 2024-07-23 Brother Kogyo Kabushiki Kaisha Printer including memory configured to store first print data and second print data generated based on code information in memory

Similar Documents

Publication Publication Date Title
JP3793181B2 (en) Data processing apparatus, print control method, computer-readable storage medium storing program, and program
US8032037B2 (en) Image forming apparatus, computer program product, and printing inhibiting method
JP5127233B2 (en) Image forming apparatus and image forming method
JP2011189733A (en) Printer and program
EP2664965B1 (en) Use of scanner unit for paper tray preprocessing
JP4321071B2 (en) Label making system,
JP4478397B2 (en) Printing apparatus and printing method
JP2008027384A (en) Printing system, printing apparatus, terminal apparatus and printing control program
JP6056196B2 (en) Medium processing apparatus and POS system
US8328319B2 (en) Print control apparatus, print control method, and storage medium
JP4380735B2 (en) Information processing apparatus, information processing method, and program
EP2644400B1 (en) Printer and computer-readable storage medium storing printing control program
JP2006150800A (en) Printing system
JP2006056009A (en) Setting method of printer and printer
JP2007268773A (en) Printer
JP2007069508A (en) Ink sheet, ink sheet cassette, and printer
JP2007323363A (en) Printing system, printing apparatus, printing control method, program, and storage medium
JP4043317B2 (en) Multi print system
JP3722078B2 (en) Printer
JP5217854B2 (en) Image processing apparatus, printing apparatus, and image processing method
JP2009220307A (en) Printing apparatus and its control method
JP2010197550A (en) Printer
JP2006095889A (en) Recording device, recording system and recording control method
JP5748099B2 (en) Electronics
JP5924126B2 (en) Medium processing apparatus and POS system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20091006