BRIEF DESCRIPTION OF THE DRAWINGS
Exemplary embodiments of the present disclosure will be described below in detail with reference to the accompanying drawings in which:
FIG. 1 is an outlined perspective view of a tape printer;
FIG. 2 is a block diagram showing an electrical constitution of a transfer data creation apparatus;
FIG. 3 is an explanatory table showing a constitution of an enabled type information storage area;
FIG. 4 is a table showing types of tapes on which information can be printed, for each of printers;
FIG. 5 is a schematic diagram showing a constitution of an RAM;
FIG. 6 is an explanatory table showing a constitution of a PT-1650 storage area in the RAM;
FIG. 7 is an explanatory view of a TransferManager screen;
FIG. 8 is an explanatory view of another TransferManager screen;
FIG. 9 is an explanatory view of a further TransferManager screen;
FIG. 10 is an explanatory view of a still further TransferManager screen;
FIG. 11 is an explanatory view of an additional TransferManager screen;
FIG. 12 is a flowchart of main processing;
FIG. 13 is a flowchart of display update processing which is performed in the main processing;
FIG. 14 is a flowchart of data extraction processing which is performed in the display update processing;
FIG. 15 is a flowchart of file specification processing which is performed in the main processing; and
FIG. 16 is a flowchart of transfer processing which is performed in the main processing.
DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
The following will describe a transfer data creation apparatus 10 according to an embodiment of the present disclosure, with reference to drawings. The transfer data creation apparatus 10 of the present disclosure transfers to a printer a file of various types of data which are used to print information in the printer. The printer can print various types of data (for example, bitmap data serving as image data, print data created by printer-dedicated software, etc.). In the transfer data creation apparatus 10, by activating a transfer data creation program, a TransferManager screen (see FIGS. 7 through 11) is displayed. Then, on this screen, a file to be printed in a printer connected to the transfer data creation apparatus 10 can be selected and transferred to the printer.
First, a tape printer 21 will be described as one example of a printer connected to a transfer data creation apparatus 10 with reference to FIG. 1. The tape printer 21 is equipped with a tape holder housing unit, not shown, and a print mechanism unit, not shown, behind a body chassis 29 whose bottom is roughly rectangular. In the tape holder housing, a roll tape around which a tape serving as a substrate is housed. The print mechanism unit is equipped with a platen roller which conveys the tape and a thermal head which prints information. Also, at a rear upper edge of the tape printer 21, an upper cover 23 made of transparent resin is provided which is attached in an open/close manner in such a manner as to cover an upper side of the tape holder housing unit and the print mechanism unit. On a front surface of the body chassis 29, a cut lever 27 is provided which horizontally moves a cutter unit, not shown, which cuts off the tape. Further, on the front side of the upper surface of the body chassis 29 are provided a power button 25, six input keys 26 which input print instructions, and a liquid crystal display (LCD) 24. It should be noted that the input keys 26 are assigned numbers from “1” to “6” so that files transferred from the transfer data creation apparatus 10 may be stored corresponding to these numbers. Then, if a user presses any one of the input keys 26, data of a file that corresponds to the number is printed by a print mechanism.
Next, the transfer data creation apparatus 10 will be described with reference to FIGS. 2 through 6. As shown in FIG. 2, the transfer data creation apparatus 10 is equipped with a CPU 101 which performs as a controller controlling the transfer data creation apparatus 10. To the CPU 101 are connected an RAM 102 which temporarily stores various types of data, an ROM 103 which stores a BIOS etc., and an I/O interface 104 which mediates transfer of data. To the I/O interface 104 is connected a hard disk apparatus 120. This hard disk apparatus 120 is provided with at least a printer information storage area 121, an enabled type information storage area 122, a library storage area 123, a backup storage area 124, a program storage area 125, and a miscellaneous information storage area 126.
Further, a mouse 111, a video controller 106, a key controller 107, and a CD-ROM drive 108 are connected to the I/O interface 104. A display 112 is connected to the video controller 106, and a keyboard 113 is connected to the key controller 107. It should be noted that a CD-ROM 114 inserted into the CD-ROM drive 108 stores the transfer data creation program. Upon introduction, the transfer data creation program is stored from the CD-ROM 114 into the program storage area set up in the hard disk apparatus 120.
Also, the printer 21 is connected to the I/O interface 104. Further, to the I/O interface 104 is connected a communication apparatus 105 which connects to a local area network (LAN) 5. The transfer data creation apparatus 10 is connected also to a printer 22 on the LAN 5 via the communication apparatus 105.
The following will describe in detail the storage areas of the hard disk apparatus 120. The printer information storage area 121 in the hard disk apparatus 120 stores information about a printer that can be connected to the transfer data creation apparatus 10. The information about the printer refers to that which is stored when a so-called printer driver is installed and unique to each of the printers. For example, it includes a minimum margin value, the number of keys, etc. for each printer. The enabled type information storage area 122 stores information about whether various type of data can be printed for each printer (in which the printer driver is already installed) that can be connected to the transfer data creation apparatus 10. The library storage area 123 stores a file of data to be transferred to the printer. The backup storage area 124 stores a file (backup file) of data acquired from the printer. The program storage area 125 stores the transfer data creation program which is executed by the CPU 101. The miscellaneous information storage area 126 stores miscellaneous information which is used in the transfer data creation apparatus 10.
Next the enabled type information storage area 122 will be described in detail with reference to FIG. 3. As shown in FIG. 3, the enabled type information storage area 122 stores types of data which can be stored in the library storage area 123 and types of data which can be printed for each printer. In the present embodiment, it is supposed that printers of six models of “PT-24”, “PT-1650”, “PT-2480”, “PT-9600”, “QL-650TD”, and “QL-1050” can be connected to the transfer data creation apparatus 10. It is also supposed that data of seven extensions of “lbl”, “paf”, “bmp”, “csv”, “pmt”, “jpg”, and “txt” can be stored in the library storage area 123. It should be noted that, if “1” is stored in the library storage area 123, it indicates that data of these extensions can be stored or printed and, if “0” is stored in the library storage area 123, it indicates that the data cannot be stored or printed.
It should be noted that the “lbl” is indicative of data which is created by dedicated software to create data to be printed by a printer having any one of the model names of “PT-24”, “PT-1650”, “PT-2480”, “PT-9600”, “QL-650TD”, and “QL-1050” line of label printers sold by Brother Industries under the ‘P-Touch’ brandname. Further, the “paf” is also indicative of data which is created by this dedicated software. The “bmp” is indicative of image data of a still image referred to as a bitmap file. The “csv” is indicative of data which is described in a general-purpose format referred to as Common Separated Value. The “pmt” is indicative of data which is created by predetermined layout software. The “jpg” is indicative of image data of a still image given in a compressed format. The “txt” is indicative of text data.
As shown in FIG. 3, the library storage area 123 can store all extensions of information. A printer of “PT-24” can print information of “lbl, “paf”, “bmp”, and “csv”. A printer of “PT-1650” can print information of “lbl, “paf”, “bmp”, and “csv”. A printer of “PT-2480” can print information of “lbl, “paf”, “bmp”, and “csv”. A printer of “PT-9600” can print information of “lbl, “paf”, “bmp”, and “csv”. A printer of “QL-650TD” can print information of “lbl, “paf”, “bmp”, and “pmt”. A printer of “QL-1050” can print information of “lbl, “paf”, and “bmp”.
Next, types of tapes on which information can be printed in each of the printers will be described with reference to FIG. 4. Table 1221 of FIG. 4 summarizes information stored in the printer information storage area 121. As shown in Table 1221, different models of printers have different types of tapes on which information can be printed. It should be noted that “6×” is indicative of a tape having a width of 6 mm and an undefined length and “12×12” is indicative of a tape having a mount on which a 12 mm-by-12 mm die cut label is stuck.
A printer of “QL-650TD” can print information on tapes of “12×12”, “24×24”, “17×17”, “17×87”, “29×90”, “38×90”, “58×58”, “62×29”, “62×100”, “12×”, “29×”, and “62×”. A printer of “QL-1050” can print information on tapes of “12×12”, “23×23”, “17×17”, “17×87”, “29×90”, “38×90”, “58×58”, “62×29”, “12×”, “29×”, “62×”, and “100×”. A printer of “PT-1650” can print information on tapes of “6×”, “9×, “112×”, “18×”, “24×”, and “36×”. A printer of “PT-9600” can print information on tapes of “6×”, “9×, “12×”, “18×”, “24×”, and “36×”. A printer of “PT-2480” can print information on tapes of “3×”, “6×”, “9×, “12×”, “18×”, and “24×”. A printer of “PT-24” can print information on tapes of “6×”, “9×, “12×”, “18×”, and “24×”.
Next, the RAM 103 will be described in detail with reference to FIG. 5. The RAM 103 has a currently-displayed file name storage area 330, an updated file name storage area 331, a transfer file name storage area 332, an extracted file name storage area 333, a selected printer storage area 334, a selected folder storage area 335, etc. The transfer file name storage area 332 contains a storage area for each model of printer that can be connected to the present transfer data creation apparatus 10. Specifically, it contains a PT-1650 storage area 3321, a QL-650TD storage area 3322, a PT-24 storage area 3323, a PT-2480 storage area 3324, a PT-9600 storage area 3325, and a QL-1050 storage area 3326 (see FIG. 6). It should be noted that the RAM 103 has also a storage area, not shown.
The currently displayed file name storage area 330 stores a file name of a file being displayed in a details display region 514 on TransferManager screens 501 through 505 shown in FIGS. 7 through 11 respectively. The updated file name storage area 331 is used to store a file name of a file which is displayed after being updated in response to an instruction to switch what is displayed in the details display region 514. The transfer file name storage area 332 stores file names of files to be transferred for each printer. The extracted file name storage area 333 is used to extract a file in a case where files to be displayed in the details display region 514 are limited depending on a type of a printer. The selected printer storage area 334 stores a model name of a printer selected in a printer selection list box 523 on the TransferManager screens 501 through 505 shown in FIGS. 7 through 11 respectively. The selected folder storage area 335 stores a folder selected in a folder display region 513.
Next, the PT-1650 storage area 3321 is described in detail with reference to FIG. 6. The PT-1650 storage area 3321 is given in the transfer file name storage area 332 and has much the same constitution as that of the storage areas in any other models of printers. As shown in FIG. 6, the PT-1650 storage area 3321 has a file name field 221, a path field 222, and a key field 223. The file name field 221 stores a file name of a file to be transferred. The path field 222 stores a path that indicates a position where the library storage area 123, which is where this file is stored, is stored. The key field 223 stores a value that indicates which one of the keys in the printer is selected for calling.
Next, the TransferManager screens 501 through 505 will be described with reference to FIGS. 7 through 11 respectively. The TransferManager screens 501 through 505 appear on the display 112 when the transfer data creation program is activated. FIG. 7 shows the TransferManager screen 501, which appears if an “All Contents” folder, which displays information of all files, is selected. FIG. 8 shows the TransferManager screen 502, on which information is displayed only of such a file out of those in the “All Contents” folder as to be printable in a printer of a model name of “PT-1650”. FIG. 9 shows the TransferManager screen 503, on which information is displayed only of a file with an extension whose file type belongs to “Layouts”. FIG. 10 shows the TransferManager screen 504, on which information is displayed only of such a file out of those with an extension whose file type belongs to “Images” as to be printable in a printer having a model name of “PT-1650”. FIG. 11 shows the TransferManager screen 505, on which information is displayed of a file to be transferred to a printer of a model name of “PT-1650”.
As shown in FIGS. 7 through 11, the TransferManager screens 501 through 505 each have at their upper part a menu bar 511 and an icon bar 512 for giving a variety of instructions. They each have at their left part a folder display region 513, and on the right side of the folder portion a details display region 514 is provided. The details display region 514 displays information about files that belong to a folder selected in the folder display region 513. It should be noted that the folder selected in the folder display region 513 is already stored in the selected folder storage area 335.
The following will describe in details the folder display region 513. In this region, several folders are displayed hierarchically. As highest-hierarchy folders, folders “Library” and “Transfer Manager” are provided. If the “Library” folder or a folder lower than that in hierarchy is selected, information of files stored in the library storage area 123 is displayed in the details display region 514.
Immediately below the “Library” folder in hierarchy are provided folders “All Contents” and “Filter”. If the “All Contents” folder is selected, information about all files stored in the library storage area 123 is displayed in the details display region 514 (see the TransferManager screen 501 of FIG. 7). Information about files refers to, for example, a file name (Name field), a file size (Size field), an updated date and time (Date field), and a path up to a storage location (Location field). It should be noted that other information may be displayed such as, for example, a creator, a creation date and time, and a data type (Layout, Image, etc.).
Further below the “Filter” folder are provided folders “Layouts”, “Databases”, and “Images”. These folders are used to display files stored in the library storage area 123, for each type of data of the files. If the “Layouts” folder is selected, the details display region 514 displays information of files which have extension “lbl” or “paf” and are created by dedicated software (see the TransferManager screen 503 of FIG. 9). Also, if the “DataBases” folder is selected, the details display region 514 displays information of files which have extension “csv”. Further, if the “Images” folder is selected, the details display region 514 displays information of files which have extension “bmp” or “jpg”. It should be noted that information about which extension of files are displayed in which folder is stored in the miscellaneous information storage area 126.
Below the “Transfer Manager” folder in hierarchy, a folder is provided of model names of printers that can be connected to the present transfer data creation apparatus 10. In the examples shown in FIGS. 7 through 11, model name folders “QL-650TD” and “PT-1650” are displayed. It should be noted that folders of other model names are also provided in the same hierarchy and so can be displayed by moving a scroll bar. Below the folder of each model name in hierarchy, folders “Configurations” and “Backups” are provided. The “Configurations” folder is used to contain a file to be transferred to a printer, further below which a folder can be created. In the examples of FIGS. 7 through 11, folder “New folder” is created. Further, for example, it is also possible to use date and time of transfer of folder “20060625” or “20060701” as a folder name in management such as division of a folder. In this case, in the transfer file name storage area 332 that corresponds to each printer such as the PT-1650 storage area 3321, file information is stored for each folder.
The following will describe user operations to put a transfer file into the “Configurations” folder or a folder immediately below it in hierarchy (for example, “New folder” folder). According to one method, drag by using the mouse 111 a file displayed in the details display region 514 in a state where any one folder of the “Library” folders is selected. Then, move it to a folder of a transfer-destination printer, for example, the “New folder” folder and release it. According to another method, select by using the mouse 111 or the keyboard 113 a file displayed in the details display region 514 in a state where any one folder of the “Library” folders is selected. Then, select “File” menu on the menu bar 511 and select “Specify as transfer file” in the “File” menu. Then, select a folder of a transfer-destination printer, for example, the “New folder” folder and select the “File” menu again on the menu bar 511 and also select “Transmit to this printer” in the “File” menu. In such a manner, a name of the file is stored in the storage area of the relevant printer in the transfer file name storage area 332. Alternatively, icons for performing these instructions may be provided on the icon bar 512.
Next, the “Backups” folder will be described below. The transfer data creation program performs operations to acquire a file stored in a printer connected and store it as a backup in the backup storage area 124. The backup operations are performed by selecting a Backup icon 522 on the icon bar 512 or selecting “Tool” menu on the menu bar 511 and “Backup” menu. If “Backups” folder is selected subsequently, information of the folder stored in the backup storage area 124 is displayed in the details display region 514.
It should be noted that information about files which are displayed in the details display region 514 if the “Configurations” folder or a folder lower than it (folders “New folder” or “Backups”) in hierarchy is selected comes in a transfer data name (Transmit Name field), a data type (Type field), a file size (Size field), an updated date/time (Date field), a number that specifies a key of a printer (Key Assign field), and a file name (Name field). Also, at a leftmost part of the icon bar 512 is provided a Transfer icon 521. If this Transfer icon 521 is selected or the “File” menu on the menu bar 511 is selected to choose menu “Transmit” in a state where the folder lower than the “Configurations” folder (folder “New folder”) in hierarchy is selected, a file whose information is displayed in that folder is read from the library storage area 123 and transferred to a transfer-destination printer.
Next, the printer selection list box 523 which is provided on the icon bar 512 will be described. The printer selection list box 523 is used to limit information of files to be displayed in the details display region 514. The printer selection list box 523 lists, as selectable items, “All Printers” and names of printers whose information is stored in the printer information storage area 122. If “All Printers” is selected, the region displays all of files of data of types that can be stored in the library storage area 123 (data having any one of extensions “lbl”, “paf”, “bmp”, “csv”, “pmt”, “jpg”, and “txt” in the present embodiment). However, if a name of a printer is selected, the details display region 514 displays only files of data having an extension stored in the enabled type information storage area 122 as something indicative of printability in a selected printer. It should be noted that information about which one of a printer or “All Printers” is selected in the printer selection list box 523 is stored in the selected printer storage area 334.
If “All Contents” folder is selected in the folder display region 513 and “All Printers” is selected in the printer selection list box 523 as shown on the TransferManager screen 501 of FIG. 7, the details display region 514 displays information of all files stored in the library storage area 123. Specifically, it displays “autumn leaves.jpg”, “message.txt”, “card.lbl”, “address.csv”, “large no smoking.lbl”, “book shelf.pmt”, “aaaa.paf”, “setup screen.bmp”, “sample001.lbl”, and “no smoking.lbl”. It should be noted that the Name field gives also an icon that indicates a type of a file together with a name of the file. Then, if the “All Contents” folder is selected and “PT-1650” is selected in the printer selection list box 523, only a file of data of such a type printable in a PT-1650 printer is extracted and displayed in the details display region 514. Specifically, as shown on the TransferManager screen 502 of FIG. 8, three files “autumn leaves.jpg”, “message.txt”, and “book shelf.pmt” which are displayed on the TransferManager screen 501 of FIG. 7 are not displayed. This is because data having extension “pmt”, “jpg”, or “txt” cannot be printed in the PT-1650 as shown in the enabled type information storage area 122 of FIG. 3.
Further, if the “layouts” folder is selected and “All Printers” is selected in the printer selection list box 523 as shown on the TransferManager screen 503 of FIG. 9, only a file having extension “lbl” or “paf” is displayed. Specifically, only the five files of “card.lbl”, “large no smoking.lbl”, “aaaa.paf”, “sample001.lbl”, and “no smoking.lbl” are displayed. That is, “autumn leaves.jpg”, “message.txt”, “address.csv”, “book shelf.pmt”, and “setup screen.bmp” which are displayed on the TransferManager screen 501 of FIG. 7 are not displayed.
Further, if the “Images” folder is selected and “PT-1650” is selected in the printer selection list box 523 as shown on the TransferManager screen 504 of FIG. 10, only “setup screen.bmp” is displayed. There is another “autumn leaves.jpg” file that has a data type of “Images”. However, as shown in the enabled type information storage area 122 of FIG. 3, it is not displayed because the PT-1650 printer cannot print data having extension “jpg”.
Further, if the “New folder” folder in the “Configurations” folder in the “PT-1650” folder lower than the “Transfer Manager” folder in hierarchy is selected as shown on the TransferManager screen 505 of FIG. 11, information is displayed of a file stored in the PT-1650 storage area 3321. In this case, key numbers “1”, “2”, and “3” are assigned to “large no smoking.lbl”, “no smoking.lbl”, and “setup screen.bmp” respectively.
Next, control will be described on the transfer data creation program which is executed in the CPU 101 of the transfer data creation apparatus 10, with reference to flowcharts of FIGS. 12 through 16. First, main processing indicated in FIG. 12 starts when the transfer data creation program is activated in the transfer data creation apparatus 10. First, the process performs initialization processing to reserve the various storage areas and initialize them (S1). Then, the TransferManager screen 501 is created and indicated on the display 112 (S2). In this case, the TransferManager screen 501 shown in FIG. 7 is indicated on the display 112. That is, the “All Contents” folder is selected as an initial value and “All Printers” is selected in the printer selection list box 523. Further, a model name of a printer stored in the printer information storage area 121 of the hard disk apparatus 120 is read, to determine a folder to be displayed in the folder display region 513. Moreover, a storage area for each printer is also reserved in the transfer file name storage area 332.
Subsequently, the process decides whether processing has been performed to select any one of folders in the folder display region 513 (S3). If the processing to select any one of the folders is performed (YES at S3), the process stores the selected folder in the selected folder storage area 335 (S8) and performs display update processing (S9, see FIG. 13). On the other hand, if the process to select a folder is not performed (NO at S3) but processing to specify a printer in the printer selection list box 523 is performed (YES at S4), the process stores the selected printer or information indicative of “All Printers” in the selected printer storage area 334 (S10) and performs the display update processing (S11, see FIG. 13). Further, if the processing to specify a printer in the printer selection list box 523 is not performed (NO at S4) but processing to specify a transfer file is performed (YES at S5), the process performs file specification processing (S12, see FIG. 15). Further, if the processing to specify a transfer file is not performed (NO at S5) but transfer is instructed (YES at S6) the process performs transfer processing (S13, see FIG. 16). Further, if transfer is not instructed (NO at S6) but termination is instructed (YES at S7), the main processing ends. On the other hand, if termination is not instructed either (NO at S7), the process performs other processing (S14). It should be noted that “other processing” refers to backup processing etc. Then, the process returns to S3, to repeat processing from S3 to S7 so that processing may be performed on the basis of a user's instruction until termination is instructed. Termination is instructed by selecting “END” in the “File” menu on the menu bar 511 or performing an instruction to close the TransferManager screen.
The following will describe the display update processing with reference to the flowcharts of FIGS. 13 and 14. The display update processing is performed if any one of folders in the folder display region 513 is selected by operating the mouse 111 or the keyboard 113 (YES at S3) or if a printer is selected in the printer selection list box 523 (YES at S4).
First, the process decides whether the “All Contents” folder is selected (S21). If the “All Contents” folder is selected (YES at S21), the process stores file names of all files stored in the library storage area 123 into the updated file name storage area 331 (S31). Then, the process decides whether a printer is specified in the printer selection list box 523 (S35). If a value indicative of any printer other than “All Printers” is stored in the selected printer storage area 334 (YES at S35), the process performs data extraction processing to extract only files that can be printed in the specified printer (S36, see FIG. 14). On the other hand, if a value indicative of “All Printers” is stored (NO at S35), the data extraction processing is not performed. Then, the process updates information displayed in the details display region 514 to the information of the files having the file names stored in the updated file name storage area 331 (S37). Then, the process ends the display update processing and returns to the main processing.
Further, if the “All Contents” folder is not selected (NO at S21) but the “Images” folder is selected (YES at S22), the process extracts files that have extension “bmp” or “jpg” from all the files stored in the library storage area 123 and stores them in the updated file name storage area 331 (S32). If, in this case, a printer is specified in the printer selection list box 523 and a value indicative of any printer other than “All Printers” is stored in the selected printer storage area 334 (YES at S35), the process performs the data extraction processing to extract only files that can be printed by the selected printer (S36, see FIG. 14). On the other hand, if a value indicative of “All Printers” is selected (NO at S35), the data extraction processing is not performed. Then, the process updates information displayed in the details display region 514 to the information of the files having the file names stored in the updated file name storage area 331 (S37). Then, the process ends the display update processing and returns to the main processing.
Further, if the “Images” folder is not selected (NO at S22) but the “DataBases” folder is selected (YES at S23), the process extracts files that have extension “csv” from all the files stored in the library storage area 123 and stores them in the updated file name storage area 331 (S33). If, in this case, a printer is specified in the printer selection list box 523 and a value indicative of any printer other than “All Printers” is stored in the selected printer storage area 334 (YES at S35), the process performs the data extraction processing to extract only files that can be printed by the selected printer (S36, see FIG. 14). On the other hand, if a value indicative of “All Printers” is stored (NO at S35), the data extraction processing is not performed. Then, the process updates information displayed in the details display region 514 to the information of the files having the file names stored in the updated file name storage area 331 (S37). Then, the process ends the display update processing and returns to the main processing.
Further, if the “DataBases” folder is not selected (NO at S23) but the “Layouts” folder is selected (YES at S24), the process extracts files that have extension “lbl” or “paf” from all the files stored in the library storage area 123 and stores them in the updated file name storage area 331 (S34). If, in this case, a printer is specified in the printer selection list box 523 and a value indicative of any printer other than “All Printers” is stored in the selected printer storage area 334 (YES at S35), the process performs the data extraction processing to extract only files that can be printed by the selected printer (S36, see FIG. 14). On the other hand, if a value indicative of “All Printers” is stored (NO at S35), the data extraction processing is not performed. Then, the process updates information displayed in the details display region 514 to the information of the files having the file names stored in the updated file name storage area 331 (S37). Then, the process ends the display update processing and returns to the main processing.
Further, if the “Layouts” folder is not selected (NO at S24) but the “Configurations” folder lower than the “QL-650TD” folder or any other lower folder in hierarchy (“New folder” in FIGS. 7 through 11) is selected (YES at S25), the process stores file names of files stored in the QL-650TD storage area 3322 into the currently-displayed file name storage area 330 and updates display of the details display region 514 (S38). Then, the process ends the display update processing and returns to the main processing.
Further, if the “QL-650TD” folder is not selected (NO at S25) but the “Configurations” folder lower than the “PT-1650” folder or any other lower folder in hierarchy (“New folder” in FIGS. 7 through 11) is selected (YES at S26), the process stores file names of files stored in the PT-1650 storage area 3321 into the currently-displayed file name storage area 330 and updates display of the details display region 514 (S39). Then, the process ends the display update processing and returns to the main processing.
Further, if the “PT-1650” folder is not selected either (No at S26), the process performs other processing (S40). For example, if a folder of any other model of printer is selected, as in the case of QL-650TD or PT-1650, the process updates the details display region 514 by using information stored in the storage area of this printer in the transfer file name storage area 332, information of which is omitted. Further, the other processing involves also deletion of file names stored in the transfer file name storage area 332.
The following will describe data extraction processing with reference to FIG. 14. In the data extraction processing, the process decides whether each file whose file name is stored in the updated file name storage area 331 has an extension which indicates that the file should be displayed. If, as a result, it is decided that the file should be displayed, its name is stored in the extracted file name storage area 333. Finally, the file names stored in the extracted file name storage area 333 are stored in the updated file name storage area 331. Then, first the process decides whether the processing is finished on all the files in the updated file name storage areas (S41). If there is any file to be read, the processing is yet to be finished (NO at S41), so that one file name is read from the updated file name storage area 331 (S42).
Subsequently, from the enabled type information storage area 122, the process reads information about an extension of the read file in the printer stored in the selected printer storage area 334 and decides whether the file can be printed (“1” is stored) (S43). If it is printable (YES at S43), the process stores the file name in the extracted file name storage area 333 (S44). Then, the process returns to S41. On the other hand, if it is not printable (NO at S43), the process does nothing and returns to S41. That is, if the selected printer is of “PT-1650” and the extension is “lbl”, the process decides it is printable (YES at S43) and stores its file name in the extracted file name storage area 333 (S44). On the other hand, if the extension is “txt”, the process decides it is unprintable (NO at S43) and does not store its file name in the extracted file name storage area 333.
Then, the process repeats the processing from S41 to S44 until there is no more file name to be read and the processing is finished on all the files (YES at S41), whereupon the updated file name storage area 331 is cleared. Then, the process stores the file names stored in the extracted file name storage area 333 into the updated file name storage area 331 (S45) to end the data extraction processing and returns to the display update processing.
Next, file specification processing which is performed if a transfer file is specified will be described with reference to a flowchart shown in FIG. 15. The present processing starts if a file displayed in the details display region 514 in a state where any one folder of folders in the “Library” folder is selected is selected by operating the mouse 111 or the keyboard 113 and attached to a folder of a transfer-destination printer.
First, the process stores a file name of the selected file and a path respectively in the file name field 221 and the path field 222 (see FIG. 6) in the storage area of the printer of a specified folder in the transfer file name storage area 332 (S61). For example, if the file is attached to the PT-1650's folder, they are stored in the PT-1650's storage area 3321. Then, a maximum assigned number stored in the key field 223 plus “1” is stored in the key field 223 (S62). It should be noted that if transfer files are already stored as many as the number of the keys of the printer, an error message will appear, which says, for example, “To all the keys is assigned a file. To add a file, delete any one of the existing files”. Then, the process updates the details display region 514 to information of the files stored in the transfer file name storage area 332 (S63). Then, the process returns to the main processing.
Next, transfer processing will be described with reference to a flowchart of FIG. 16. This processing is performed if the Transfer icon 521 is selected or the “File” menu on the menu bar 511 is selected and “Transfer” menu is selected in a state where a “New folder” folder in the “Configurations” folder lower than the “Transfer Manager” folder in hierarchy is selected as shown on the TransferManager screen 505 of FIG. 11. If the processing is performed, a file stored in the transfer file name storage area 332 of the selected folder is transferred to a specified printer (printer to which this folder belongs). However, if the file to be transferred has extension “lbl”, the process compares a printer specified in the “lbl file and the transfer-destination printer to which the selected folder belongs. If, as a result, it is decided that they are different, the process converts data into contents in accordance with the printer specified in the lbl file.
For example, suppose that the printer specified in the lbl file is of “QL-650TD”. Suppose also that a specified tape is of type “24×24”. However, if the transfer-destination printer is of “QL-1050”, as shown in FIG. 4, the “QL-1050” printer cannot print information on a “24×24” type tape. Accordingly, out of tapes of types printable in the “QL-1050” printer, a tape closest to “24×24” is selected, so that the printer result is adjusted so as to match the tape. To select such a tape, for example, a difference in size from each of specified types of tapes with respect to the “24×24” tape size can be squared so that such a tape as to have the smallest squared value may be selected.
On the other hand, suppose that the printer specified in the lbl file is of “QL-650TD”. Suppose also that a specified tape is of type “12×12”. However, suppose that the transfer-destination printer is of “QL-1050”. In this case, although the “QL-1050” printers can also print information on a “12×12” tape, the different printers have different printable regions and hence have different upper, lower, right, and left margins. Accordingly, even in a case where tapes are of the same type, if they have a margin value smaller than a minimum margin value of a transfer-destination printer, the margin value of the tape is converted into the margin value of the transfer-destination printer, in which case the print results, if influenced by that, will also be adjusted.
If the transfer processing of FIG. 16 starts, first the process decides whether the processing is finished on all files in the transfer file name storage areas 332 of a specified folder (S71). If there is any file to be read, the processing is yet to be finished (NO at S71), so that one file name is read (S72). Then, the process decides whether the file name has extension “lbl” (S73). If the extension is not “lbl” (NO at S73), data need not be converted. Therefore, the process creates transfer data to be sent to the printer directly from the data stored in the library storage area 123 (S78) and transfers it to the printer (S79) and then returns to S71.
On the other hand, if the extension is “lbl” (YES at S73), the process decides whether a printer specified in the lbl file (printer information) and the transfer-destination printer agree (S74). If they agree (YES at S74), the data need not be converted. Therefore, the process creates transfer data to be sent to the printer directly from the data stored in the library storage area 123 (S78) and transfers it to the printer (S79) and then returns to S71. On the other hand, if they do not agree (NO at S74), the data needs to be converted. Therefore, the process reads a tape type of the transfer data (S75), references printable tape types of the transfer-destination printer from the printer information storage area 121, and searches for a tape type closest to a tape type specified in the transfer data acquired at S75 (S76). Then, the transfer data is converted so as to match the tape type searched for (S77). The process then creates transfer data to be sent to the printer from the post-conversion data (S78) and transfers it to the printer (S79) and then returns to S71.
Then, the process repeats the processing from S71 to S79 until there is no more file name to be read and ends the processing and returns to the main processing.
As described above, on the TransferManager screens 501 through 505 as shown in FIGS. 7 through 11 respectively, first the user specifies a file to be transferred in a folder lower than the “Library” folder in hierarchy. Then, he can specify the file to be transferred to a printer by attaching it to a folder of the transfer-destination printer lower than the “TransferManager” folder in hierarchy. In this case, by selecting a transfer-destination printer in the printer selection list box 523, only a file of data of a type that can be printed in this printer is displayed in the details display region 514. Therefore, the user can easily select a file because he need not remember which printer can print which type of data or reference a manual. Further, he will not encounter an error due to mistaken transfer of a file of unprintable data. For example, since a printer having model name “PT-9600” cannot print data having extension “csv” (see FIG. 3), its file is not displayed in the details display region 514 and so cannot be selected by the user as a file to be transferred.
It should be noted that the transfer data creation apparatus and program of the present disclosure is not limited to the above-described embodiment but, needless to say, can be modified variously without departing from the gist of the present disclosure. For example, the above embodiment has been described using seven extensions “lbl”, “paf”, “bmp”, “csv”, “pmt”, “jpg”, and “txt”. However, data that can be stored in the library storage area 123 may have any other extension. Also, the types of data that can be printed by a printer are not limited to the above-described ones. Further, although the above embodiment has been described with reference to a tape printer that uses a thermal head, needless to say, any other print types of printers such as an ink jet printer and a laser printer may be used. Moreover, needless to say, the substrate may be, for example, cut-sheets or continuous forms in place of tapes.
Further, in the above-described embodiment, the one details display region 514 has been provided to display contents of a folder selected in the folder display region 513. However, for example, the details display region for the “Library” folder and that for the “Transfer Manager” folder may be provided separately from each other.
Further, the above embodiment has enabled transfer up to a printer by the transfer data creation program. However, the transfer data creation program may be devised to disable transfer up to a printer but perform processing up to a point in time for creating print data so that created print data would be transferred by any other program. Also, the created print data may be recorded in a recording medium and read into any other apparatus to be transferred to a printer or read into it. Further, although the above embodiment has assigned keys of a printer to data and transferred them to the printer, only the data may be transferred to the printer. File names may also be displayed on the display of the printer so that the user can select any one of them. Further, only one file may be stored in a printer so that the data would be printed in response to a print instruction, if given.