Printing device and printing method

The printing device efficiently performs index printing of mixed file types by determining and converting non-image files into image files, enabling high-speed printing of USB memory contents.

JP7608802B2Active Publication Date: 2025-01-07BROTHER KOGYO KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020199005
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-30
Publication Date
2025-01-07
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

Existing printing devices cannot efficiently perform index printing of USB memory contents that contain a mix of image and non-image files due to the lack of consideration for PDL data and image data integration.

Method used

A printing device and method that determines the type of each file in an external memory, converts non-image files like PDFs into image files using dedicated modules, and generates print commands for high-speed index printing.

Benefits of technology

Enables efficient index printing of mixed file types by interpreting and executing print commands quickly, allowing high-speed printing of image and non-image files on print media.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007608802000001
    Figure 0007608802000001
  • Figure 0007608802000002
    Figure 0007608802000002
  • Figure 0007608802000003
    Figure 0007608802000003
Patent Text Reader

Abstract

To efficiently perform index printing of the contents of an external memory storing an image file and a file other than the image file.SOLUTION: A printer comprises: a printing part (14) which performs index printing on a printing medium (S); and a control part (16) which controls the printing part (14). The control part (16) executes: determination processing of determining the type of each of plural files; conversion processing of converting the file that is determined not to be the image file in the determination processing into the image file storing an image corresponding to the file by interpreting a page description language stored in the file; and printing command generation processing of generating a printing command (IC) by referring to the image file stored in the external memory (12) and the image file obtained in the conversion processing.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a printing device and a printing method for performing index printing on a print medium. [Background technology]

[0002] Conventionally, printing devices have had a USB direct printing function that allows images in files stored in a USB memory to be printed directly without going through a printer driver, and an index printing function that allows images corresponding to each of a number of files stored in a USB memory to be printed in a list.

[0003] In the image output device described in Patent Document 1, for each of multiple data files, (1) a process is performed to determine the position on a printing medium of image data corresponding to the PDL (Page Description Language) data of the first page of the data file, (2) a process is performed to create intermediate language data written in an intermediate language from the PDL data of the first page of the data file, and (3) a process is performed to generate image data from the intermediate language data and write the image data to a band memory, and then a process is performed to print multiple image data on one page of a printing medium in accordance with the contents stored in the band memory. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2009-241524 A Summary of the Invention [Problem to be solved by the invention]

[0005] In Patent Document 1, only PDL data is considered as a target for index printing, and index printing of the contents of a USB memory device in which PDL data and image data are mixed has not been realized.

[0006] One aspect of the present invention aims to provide a printing device and printing method that are capable of efficiently performing index printing of the contents of an external memory in which image files and files other than image files are stored. [Means for solving the problem]

[0007] In order to solve the above-mentioned problems, a printing device according to one embodiment of the present invention comprises a printing unit that performs index printing on one or more printing media so that an image corresponding to each of a plurality of files stored in an external memory is placed on the printing medium, and a control unit that controls the printing unit, and the control unit executes a determination process that determines the type of each of the plurality of files, a conversion process that converts a file that is determined in the determination process to not be an image file into an image file in which an image corresponding to the file is stored by interpreting the page description language stored in the file, and a print command generation process that generates a print command for performing the index printing by referring to the image file stored in the external memory and the image file obtained in the conversion process.

[0008] According to the above configuration, before generating the print command, files that are determined not to be image files are converted into image files. Therefore, the control unit can interpret and execute the print command in a short time, and the printing unit can perform index printing on the print medium at high speed. Therefore, it is possible to efficiently perform index printing of the contents of the external memory in which image files and files other than image files are stored.

[0009] In a printing device according to one aspect of the present invention, the conversion process may be a process of converting a file determined in the determination process to be a file conforming to a specific format and not an image file into an image file storing an image corresponding to the file by interpreting a page description language stored in the file using a dedicated program module corresponding to the specific format. The control unit may interpret and execute the print command generated in the print command generation process using a general-purpose program module corresponding to a plurality of formats.

[0010] According to the above configuration, when a file is determined to be a file conforming to a specific format other than an image file, a dedicated program module corresponding to the specific format is used to convert the file into an image file, which enables the control unit to interpret and execute the print command in a shorter time, and enables the printing unit to print an index on a print medium at a higher speed.

[0011] In the printing device according to one aspect of the present invention, the file conforming to the specific format may be a PDF file.

[0012] According to the above configuration, the PDF file that is not an image file can be converted into an image file.

[0013] In the printing device according to one aspect of the present invention, the image file obtained by the conversion process may be a compressed image file.

[0014] According to the above configuration, the data size of the image file obtained by the conversion process can be reduced.

[0015] In addition, in order to solve the above-mentioned problems, a printing method according to one embodiment of the present invention is a printing method that performs index printing on a printing medium so that an image corresponding to each of a plurality of files stored in an external memory is placed on one or a plurality of printing media, and includes a determination process that determines the type of each of the plurality of files, a conversion process that converts a file that is determined in the determination process to not be an image file into an image file in which an image corresponding to the file is stored by interpreting the page description language stored in the file, and a print command generation process that generates a print command for performing the index printing by referring to the image file stored in the external memory and the image file obtained in the conversion process.

[0016] According to the above configuration, before generating the print command, a file determined not to be an image file is converted into an image file. Therefore, the control unit can interpret and execute the print command in a short time, and the printing unit can perform index printing on a print medium at high speed. Therefore, it is possible to efficiently perform index printing of the contents of the external memory in which image files and files other than image files are stored. Effect of the Invention

[0017] According to one aspect of the present invention, it is possible to efficiently perform index printing of the contents of an external memory in which image files and files other than image files are stored. [Brief description of the drawings]

[0018] [Figure 1] 1 is a block diagram showing the overall configuration of a printer according to an embodiment of the present invention; [Diagram 2] FIG. 11 is a diagram illustrating a print command for index printing. [Diagram 3] FIG. 4 is a sequence diagram showing the flow of a printing method according to the embodiment. [Figure 4] 4 is a flowchart showing the flow of the printing method in FIG. 3. [Diagram 5] 4 is a flowchart showing the flow of PDF to JPEG conversion processing included in the printing method of FIG. 3. [Figure 6] 4 is a flowchart showing the flow of a print command execution process included in the printing method of FIG. 3. [Figure 7] FIG. 4 is a schematic diagram showing the print contents of index printing. [Figure 8] 11 is a table for explaining a plurality of files that are the print contents of index printing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Hereinafter, this embodiment will be described with reference to the drawings.

[0020] [Overall Configuration of Printer 10] The overall configuration of a printer 10 according to this embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the overall configuration of a printer 10 according to this embodiment.

[0021] As shown in FIG. 1, the printer 10 according to this embodiment is a printing device that prints on paper S shown in FIG. 7 as a print medium. The printer 10 has a PC printing function that receives print data from a personal computer (not shown) and prints it. The printer 10 has a direct printing function that directly reads and prints print data stored in a USB memory 12 serving as an external memory. The USB memory 12 is detachable from the printer body of the printer 10. The following mainly describes the configuration of the printer 10 related to the direct printing function.

[0022] The printer 10 includes a printing unit 14 that prints on the paper S, and an operation unit (not shown) for performing various settings and instructions. The printing unit 14 includes, for example, a transport mechanism that transports the paper S, and an inkjet or laser type image forming mechanism that executes a printing operation on the paper S. The printing unit 14 performs index printing on the paper S such that images corresponding to each of the multiple files stored in the USB memory 12 are arranged on one or multiple sheets of paper S.

[0023] The printer 10 includes a host interface (not shown) and a USB host interface (not shown). The printer 10 communicates data with a personal computer via the host interface. When the USB memory 12 is attached to the printer body, print data in the USB memory 12 is read into the printer 10 via the USB host interface.

[0024] The printer 10 includes a ROM (not shown) that stores various control programs and the like, a control unit 16 that controls the printing unit 14, the display unit, and the like by referring to the various control programs read from the ROM, and a RAM 18. The RAM 18 is used as a working area from which the various control programs are read, and as a storage area for temporarily storing print data. The RAM 18 temporarily stores an icon image for JPEG, an icon image for Tiff, an icon image for PDF, and a generic icon image for files of unknown type.

[0025] [Specific configuration of control unit 16] The control unit 16 includes an executable file generating unit 20, a first processing unit 22, and a second processing unit 24. The executable file generating unit 20 executes a determination process for determining the type of each of the multiple files written to the RAM 18. Specifically, the executable file generating unit 20 refers to the extensions included in the file names of the multiple files written to the RAM 18 to determine whether the multiple files are PDF files or not. A PDF file is an example of a file that is not an image file and conforms to a specific format. An image file is a file in which an image is stored, such as a JPEG file or a Tiff file.

[0026] The first processing unit 22 executes a conversion process for converting a file determined to be a PDF file in the determination process into a JPEG file in which an image corresponding to the file is stored by interpreting the PDL stored in the file. Specifically, the first processing unit 22 uses a dedicated program module corresponding to a specific format of the PDF file to perform RIP processing on the first page of the file, and converts the file into a JPEG file in which a thumbnail image corresponding to the file is stored. A JPEG file is one type of compressed image file.

[0027] The executable file generating unit 20 executes a print command generating process to generate a print command IC for index printing by referring to one or more image files stored in the USB memory 12 and one or more JPEG files obtained by the conversion process. Specifically, the executable file generating unit 20 generates a print command IC for index printing by referring to images of one or more image files stored in the USB memory 12 and the file paths in the USB memory 12, and images of one or more JPEG files obtained by the conversion process and the file paths in the RAM 18. The contents of the print command IC for index printing will be described later with reference to FIG. 2.

[0028] The second processing unit 24 interprets the print command IC for index printing and executes index printing. Specifically, the second processing unit 24 uses a general-purpose program module that supports multiple formats to interpret the print command IC for index printing and perform RIP processing on multiple files. The second processing unit 24 then interprets the print command IC for index printing and controls the printing unit 14 to perform index printing on one or multiple sheets of paper S such that thumbnail images corresponding to each of the multiple files are arranged on one or multiple sheets of paper S.

[0029] [Contents of print command for index printing] The specific contents of the index print command IC will be described with reference to Fig. 2. Fig. 2 is a diagram for explaining a print command for index printing.

[0030] As shown in Fig. 2, the print command IC for the index consists of a header command C1, a file information print command C2, and a footer command C3. The header command C1 includes device settings for setting the size of the paper S in Fig. 7, font settings for setting the font of the printed characters, icon information showing an icon image such as a JPEG icon image, position information showing the arrangement of multiple files, and title characters showing the title character T in Fig. 7 to be printed.

[0031] The file information print command C2 consists of a plurality of file commands C4 for printing thumbnail images of image files stored in the USB memory 12 or thumbnail images of JPEG files obtained by the conversion process. Each file command C4 consists of a text information print command C4a for printing the file name of the image file including the JPEG file, and a thumbnail image print command C4b for printing the thumbnail image. The thumbnail image print command includes the file path of the image file, the data size of the file, and the position of the image file on the paper S.

[0032] The footer command C3 includes an end command C3a for ending index printing, and a delete command (not shown) for deleting the JPEG file stored in the RAM 18.

[0033] [Printing method] A printing method according to this embodiment will be described with reference to Figs. 1 to 4, particularly Figs. 3 and 4. Fig. 3 is a sequence diagram showing the flow of the printing method according to this embodiment, and Figs. 4 to 6 are assigned to Fig. 3. Fig. 4 is a flowchart showing the flow of the printing method of Fig. 3. Note that the sequence diagram shown in Fig. 3 and the flowchart shown in Fig. 4 are each examples, and the present invention is not limited to these.

[0034] As shown in Figures 3 and 4, when an instruction to perform index printing is input with the USB memory 12 attached to the printer body, the executable file generation unit 20 generates the header command C1 by referring to instructions related to the header command C1 (step S101).

[0035] Next, the executable file generating unit 20 acquires the file name of the file in the USB memory 12 written to the RAM 18 (step S102), and judges the type of the file (step S103). The executable file generating unit 20 judges whether the file to be judged is a PDF file or not (step S104). If the file to be judged is not a PDF file (No in step S104), in other words, if the file to be judged is an image file, the executable file generating unit 20 sets the file to be judged in the USB memory 12 as a reference file (step S105).

[0036] Here, if the file to be judged is an illegal file or a file that is not printable, the executable file generating unit 20 sets the JPEG icon image or the Tiff icon image stored in the RAM 18 as the reference file. If the file to be judged is a file in a format that is not printable, the executable file generating unit 20 sets the unknown file icon image stored in the RAM 18 as the reference file.

[0037] If the file to be determined is a PDF file (Yes in step S104), the executable file generating unit 20 generates a file path for a JPEG file in which a thumbnail image corresponding to the file to be determined is stored (step S106). Next, the first processing unit 22 converts the file to be determined into a JPEG file (step S107). Then, the executable file generating unit 20 sets the file converted into the JPEG file as a reference file (step S108). Details of the PDF to GIF conversion process in step 107 will be described later.

[0038] Here, if the file to be judged is an illegal file or a file that does not support printing, the executable file generating unit 20 sets the icon image for PDF stored in the RAM 18 as the reference file. If the file to be judged is a file in a format that does not support printing, the executable file generating unit 20 sets the icon image for an unknown file stored in the RAM 18 as the reference file.

[0039] Thereafter, the execution file generating unit 20 generates the file command C4 by referring to the instruction related to the file command C4 (step S109). Then, the control unit 16 judges whether the file command C4 has been generated for all the files stored in the USB memory 12 (step S110).

[0040] If file commands C4 have not been generated for all files stored in the USB memory 12 (No in step S110), the control unit 16 returns the process to step S102. That is, the process from step S102 to step S109 is repeated until file commands C4 have been generated for all files stored in the USB memory 12.

[0041] When file commands C4 have been generated for all files stored in the USB memory 12 (Yes in step S110), the executable file generating unit 20 generates a footer command C3 by referring to instructions related to the footer command C3 (step S111). This allows the executable file generating unit 20 to generate a print command IC for indexes consisting of a header command C1, a file information print command C2, and a footer command C3.

[0042] When file commands C4 have been generated for all files stored in the USB memory 12 (Yes in step S110), the second processing unit 24 interprets the print command IC for indexes and executes index printing (step S112). Details of the print command execution process in step S112 will be described later.

[0043] [PDF to JPEG conversion process flow] The flow of PDFtoJPEG conversion processing included in the printing method according to this embodiment will be described with reference to Figs. 1 to 3 and 5, particularly Figs. 3 and 5. Fig. 5 is a flowchart showing the flow of PDFtoJPEG conversion processing included in the printing method of Fig. 3. Note that the flowchart shown in Fig. 5 is an example, and the present invention is not limited to this.

[0044] 1 to 3 and 5, the first processing unit 22 acquires print data of a PRF file, which is a file to be determined, from the USB memory 12 (step S201). Then, the first processing unit 22 performs RIP processing on the first page of the PDF file (step S202), and converts the PDF file into a JPEG file in which a thumbnail image corresponding to the first page is stored (step S203). Furthermore, the first processing unit 22 acquires a file path in the RAM 18 (step S204), and saves the converted JPEG file in the file path in the RAM 18 (step S205).

[0045] [Print command execution process flow] The flow of the print command execution process included in the index printing process included in the printing method according to this embodiment will be described with reference to Figures 1 to 3 and 6, especially Figures 3 and 6. Figure 6 is a flowchart showing the flow of the print command execution process included in the printing method of Figure 3. Note that the flowchart shown in Figure 6 is an example, and the present invention is not limited to this.

[0046] The second processing unit 24 obtains a print command IC for index printing from the executable file generating unit 20 (step S301). The second processing unit 24 performs RIP processing on a plurality of image files included in one page of paper S on which the index is printed (step S302). The second processing unit 24 determines whether the RIP processing on the plurality of image files included in all pages is completed (step S303).

[0047] If the RIP process for the image files included in all pages is not completed (No in step S303), the second processing unit 24 returns the process to step S302.

[0048] When the RIP process for the multiple image files included in all pages is completed (Yes in step S303), the second processing unit 24 interprets the print command IC for index printing and controls the printing unit 14 to perform index printing on one or multiple sheets of paper S (step S304).Then, the second processing unit 24 deletes the JPEG files stored in the RAM 18 (step S305).

[0049] [Index printing content] The print contents of the index print will be described with reference to Figures 7 and 8. Figure 7 is a schematic diagram showing the print contents of the index print by the printer 10. Figure 8 is a table explaining a plurality of files F1 to F9 which are the print contents of the index print by the printer 10.

[0050] 7 and 8, nine images G1 to G9 arranged in three rows and three columns corresponding to, for example, nine files F1 to F9 stored in the USB memory 12 in Fig. 1 are printed on the area of ​​the paper S excluding the top part by the index printing process by the printer 10. A title T saying "Index Sheet" is printed on the top part of the paper S.

[0051] For example, of the nine files F1 to F9, files F3, F6, F7, and F9 are PDF files. Files F3, F7, and F9 are normal files, and thumbnail images are displayed as images G3, G7, and G9 corresponding to files F3, F7, and F9. File F6 is a non-printable or invalid file, and a PDF icon image is displayed as image G6 corresponding to file F6.

[0052] For example, of the nine files F1 to F9, files F1, F2, and F8 are JPEG files. Files F1 and F2 are normal files, and thumbnail images are displayed as images G1 and G8 corresponding to files F1 and F8. File F2 is a non-printable or invalid file, and a JPEG icon image is displayed as image G2 corresponding to file F2.

[0053] For example, among the nine files F1 to F9, file F4 is a TIFF file. File F4 is a normal file, and a thumbnail image is displayed as image G4 corresponding to file F4.

[0054] For example, among the nine files F1 to F9, the file F5 is a Binay file. The file F5 is a file in a format that is not printable, and an icon image indicating an unknown file is displayed as the image G5 corresponding to the file F5.

[0055] [Action and Effect] The effects of the printer 10 according to this embodiment will be described.

[0056] Before generating the print command IC for the index, a file that is determined to be a PDF file and not an image file is converted to a JPEG file, which is an image file. This allows the control unit 16 to interpret and execute the print command IC for the index in a short time, and the printing unit 14 to print the index on the paper S at high speed.

[0057] In particular, for a file that is determined to be a PDF file that conforms to a specific format other than an image file, a dedicated program module that corresponds to the specific format is used to convert the file into a JPEG file, which is an image file. This allows the control unit 16 to interpret and execute the print command in a shorter time, and the printing unit 14 to print an index on the paper S at a higher speed.

[0058] Therefore, the printer 10 according to this embodiment can efficiently perform index printing of the contents of the USB memory 12 in which image files and files other than image files are stored.

[0059] Since the image file obtained by the conversion process is a JPEG file, which is a compressed file, the data size of the image file obtained by the conversion process can be reduced.

[0060] Other embodiments In this embodiment, the conversion process using the dedicated program module is performed on a PDF file, but the present invention is not limited to this. That is, PDL files other than PDF files, such as XPS (XML Paper Specification) files and PCL (Printer Command Language Document) files, may be converted using the dedicated program module.

[0061] In addition, in this embodiment, a configuration is adopted in which a JPEG file is generated by a conversion process using a dedicated program module, but the present invention is not limited to this. A configuration may be adopted in which an image file other than JPEG, such as a TIFF file, a GIF file, or a PNG file, is obtained by a conversion process using a dedicated program module. In addition, in this embodiment, a configuration is adopted in which a compressed image file is generated by a conversion process using a dedicated program module, but the present invention is not limited to this. That is, a configuration may be adopted in which an uncompressed image file is obtained by a conversion process using a dedicated program module. When a configuration is adopted in which a compressed image file is obtained, the effect of reducing the data size of the image file obtained by the conversion process is obtained, whereas when a configuration is adopted in which an uncompressed image file is obtained, the effect of performing the conversion process at a higher speed is obtained.

[0062] In addition, in this embodiment, a USB memory is given as an example of an external memory, but the present invention is not limited to this. A memory card may be used instead of a USB memory. In this case, the printer 10 performs direct printing by directly reading and printing the print data of the file stored in the memory card. Also, the image file obtained by the above conversion process may be an uncompressed file instead of a compressed file.

[0063] The technical concept applied to printer 10 as a printing device may also be applied to other printing devices with a printing function, such as a multifunction machine, a FAX machine, etc. Also, control unit 16 of printer 10 may be realized by hardware formed in an integrated circuit or the like, or may be realized by software.

[0064] [Software implementation example] The control block of the printer 10 (particularly the control unit 16) may be realized by a logic circuit (hardware) formed on an integrated circuit (IC chip) or the like, or may be realized by software.

[0065] In the latter case, the printer 10 includes a computer that executes instructions of a program, which is software that realizes each function. The computer includes, for example, one or more processors, and a computer-readable storage medium that stores the program. The object of the present invention is achieved by the processor reading the program from the storage medium and executing it in the computer. The processor may be, for example, a CPU. The storage medium may be a "non-transient tangible medium," such as a ROM, tape, disk, card, semiconductor memory, programmable logic circuit, or the like. The printer may further include a RAM for expanding the program. The program may be supplied to the computer via any transmission medium (such as a communication network or broadcast waves) that can transmit the program. One aspect of the present invention may also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

[0066] [Additional Notes] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]

[0067] 10 Printers (printing devices) 12 USB memory (external memory) 14 Printing Department 16 Control section 18 RAM 20 Executable file generator (control unit) 22 First processing section (control section) 24 Second processing section (control section) Print command for IC index printing S Paper (print media)

Claims

1. a printing unit that performs index printing on one or more print media so that images corresponding to each of a plurality of files stored in the external memory are arranged on the print media; A control unit that controls the printing unit, The control unit is a determination process for determining whether each of the plurality of files is an image file; a conversion process for converting a file determined to not be an image file among the plurality of files in the determination process into an image file corresponding to the file by interpreting a page description language stored in the file; a print command generation process for generating a print command for performing the index printing, using image files that have been determined to be image files in the determination process and have not been subjected to the conversion process among the plurality of files, and image files obtained in the conversion process; A printing device comprising:

2. a printing unit that performs index printing on one or more print media so that images corresponding to each of a plurality of files stored in the external memory are arranged on the print media; A control unit that controls the printing unit, The control unit is a determination process for determining a type of each of the plurality of files; a conversion process for converting a file determined in the determination process to not be an image file into an image file in which an image corresponding to the file is stored by interpreting a page description language stored in the file; a print command generation process for generating a print command for performing the index printing by referring to the image file stored in the external memory and the image file obtained by the conversion process; The image file obtained by the conversion process is a compressed image file. A printing device comprising:

3. the conversion process is a process of converting a file determined in the determination process to be a file conforming to a specific format, not an image file, into an image file corresponding to the file by interpreting a page description language stored in the file using a dedicated program module corresponding to the specific format; The control unit is interpreting and executing the print command generated in the print command generation process using a general-purpose program module compatible with a plurality of formats; 3. The printing apparatus according to claim 1, wherein the first and second printing units are arranged in a first direction.

4. The file conforming to the specific format is a PDF file.

4. The printing device according to claim 3.

5. 1. A printing method for performing index printing on one or more print media such that images corresponding to each of a plurality of files stored in an external memory are arranged on the print media, comprising: a determination process for determining whether each of the plurality of files is an image file; a conversion process for converting a file determined to not be an image file among the plurality of files in the determination process into an image file corresponding to the file by interpreting a page description language stored in the file; a print command generation process for generating a print command for performing the index printing, using image files that have been determined to be image files in the determination process among the plurality of files and for which the conversion process has not been performed, and image files obtained in the conversion process. A printing method comprising:

Citation Information

Patent Citations

  • Printing device

    JP2007230068A

  • Image output apparatus

    JP2009241524A

  • Image forming device

    JP2010105388A

  • Image formation device, control method, program, and image formation system

    JP2015150706A