Support program

The support program addresses the delay in printing the first page by generating linearized PDF data from general-purpose printing programs, enabling printers to start printing promptly.

JP2024167503APending Publication Date: 2024-12-04BROTHER KOGYO KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023083614
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-22
Publication Date
2024-12-04

AI Technical Summary

Technical Problem

OS standard general-purpose printing programs lack the capability to handle linearized PDF files, leading to delays in starting the printing of the first page.

Method used

A support program that generates linearized PDF print data based on image data obtained from a general-purpose printing program and transmits it to the printer, allowing the printer to start printing the first page without waiting for all data to be received.

Benefits of technology

Suppresses the delay in starting the printing of the first page by enabling the printer to begin printing as soon as the first page of data is received.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024167503000001_ABST
    Figure 2024167503000001_ABST
Patent Text Reader

Abstract

To provide a technique for suppressing a delay in print start of a first page in an information processing device including a built-in OS standard general-purpose printing program.SOLUTION: When a printing instruction is given which is output from an editing application 43 built in a PC 1 and causes a printer 2 to print an image for a general-purpose printing program 41 of an OS 21, an auxiliary program 42 performs processing for acquiring intermediate data indicative of an image to be printed by the printing instruction from the general-purpose printing program 41, generating linearized PDF data on the basis of the acquired intermediate data, and transmitting the generated linearized PDF data to the printer 2.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The technical field disclosed in this specification relates to a support program that supports control of a printer. [Background technology]

[0002] Conventionally, PDF (Portable Document Format) has been known as a file format for document files. When printing a PDF file, the printer waits until it has received all pages of data before it can begin printing. Linearized PDF is also known as a PDF that is optimized for web display. When printing a linearized PDF, the printer can begin printing the first page without waiting for it to receive all pages of data.

[0003] An example of a document disclosing a technology for printing a linearized PDF file with a printer is Patent Document 1. Specifically, Patent Document 1 discloses a configuration for converting a non-linearized PDF file into a linearized PDF file by a printer driver installed in an information processing device. [Prior art documents] [Patent documents]

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

[0005] In recent years, a technology has been put into practical use that controls a printer using a general-purpose print program that is part of the operating system (OS) and does not use a printer driver provided by the printer vendor. With this technology, when the OS detects a printer, it associates it with the OS's standard general-purpose print program, and thereafter, when a print instruction is received for that printer, the OS's standard general-purpose print program generates print data without using a printer driver provided by the printer vendor, making it possible to print using the OS's standard general-purpose print program.

[0006] However, the above-mentioned OS-standard general-purpose print program does not have some of the functions that printer drivers provided by printer vendors have had up until now. Specifically, it does not have the function of using linearized PDF files as disclosed in Patent Document 1. As a result, the printer may be delayed in starting to print the first page. [Means for solving the problem]

[0007] The support program developed for the purpose of solving the above-mentioned problems is executable by a computer of an information processing device, and is a support program corresponding to a printer connected to the information processing device, wherein the information processing device is equipped with an operating system having a general-purpose printing program, and is configured to cause the computer to execute the following steps when a print instruction is output from an application program built into the information processing device, the print instruction causing the general-purpose printing program to print an image on the printer: an acquisition process for acquiring image data from the general-purpose printing program indicating the image to be printed by the print instruction; a first generation process for generating linearized PDF print data based on the image data acquired in the acquisition process; and a first transmission process for performing processing to transmit the print data generated in the first generation process to the printer.

[0008] The support program disclosed in this specification generates linearized PDF print data based on image data acquired from the general-purpose print program, and performs processing to send the print data to a printer. This allows the printer that receives the linearized PDF print data to start printing the first page without waiting for the data for all pages to be received. This reduces delays in starting printing the first page.

[0009] An information processing device incorporating the above-mentioned support program, a computer-readable storage medium storing the support program, a control method for realizing the functions of the support program, and a printing system including the support program and a printer are also novel and useful. Effect of the Invention

[0010] The technology disclosed in this specification realizes a technology that suppresses a delay in starting printing of the first page in an information processing device in which a general-purpose print program that is standard for the OS is installed. [Brief description of the drawings]

[0011] [Figure 1] FIG. 2 is a block diagram showing an outline of the electrical configuration of a PC. [Diagram 2] FIG. 11 is a sequence diagram illustrating an example of a printing execution procedure. [Diagram 3] FIG. 11 is a sequence diagram showing an example of a determination transmission procedure. [Figure 4] FIG. 11 is a sequence diagram illustrating an example of a print setting procedure. [Diagram 5] FIG. 11 is a sequence diagram showing an example of a determination transmission procedure. [Figure 6] FIG. 11 is a sequence diagram showing an example of a determination transmission procedure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] A personal computer (hereinafter, referred to as a "PC") using a support program according to an embodiment will be described in detail below with reference to the accompanying drawings. This specification discloses a support program executed on a PC.

[0013] As shown in Fig. 1, the PC1 of this embodiment includes a controller 10 including a CPU 11 and a memory 12. The PC1 is an example of an information processing device. The CPU 11 is an example of a computer. The PC1 also includes a user interface (hereinafter referred to as "user IF") 13 and a communication interface (hereinafter referred to as "communication IF") 14, which are electrically connected to the controller 10. Note that the controller 10 in Fig. 1 is a collective term for hardware and software used to control the PC1, and does not necessarily represent a single piece of hardware actually present in the PC1.

[0014] The CPU 11 of the PC 1 executes various processes according to the programs read from the memory 12 and based on the user's operation. The memory 12 stores various programs and various data. The memory 12 is also used as a work area when various processes are executed. The buffer provided in the CPU 11 is also an example of a memory. Note that an example of the memory 12 is not limited to a ROM, RAM, HDD, etc. built into the PC 1, but may be a storage medium that can be read and written by the CPU 11, such as a recording medium, for example, a CD-ROM, a DVD-ROM, a USB memory, etc.

[0015] The user IF 13 includes a display 13a, which is hardware that displays a screen for notifying the user of information, and hardware that accepts operations by the user. The user IF 13 may be a combination of the display 13a capable of displaying information and a mouse, keyboard, or the like having an input acceptance function, or may be a touch panel having the function of the display 13a and the input acceptance function.

[0016] The communication IF 14 includes hardware for communicating with an external device such as the printer 2. The communication standards of the communication IF 14 include Ethernet (registered trademark), Wi-Fi (registered trademark), USB, etc. The PC 1 may be connectable to the Internet via the communication IF 14. The PC 1 may include multiple communication IFs 14 compatible with multiple communication standards.

[0017] 1, the memory 12 of the PC 1 stores various programs and data including an operating system (hereinafter referred to as "OS") 21 including a general-purpose print program 41, an auxiliary program 42, and an editing application 43. The auxiliary program 42 is an example of a support program. The editing application 43 is an example of an application program.

[0018] The OS 21 is a multitasking OS that can process multiple tasks in parallel by managing and switching between multiple tasks. Examples of the OS 21 include Windows (registered trademark), macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), and Android (registered trademark).

[0019] The OS 21 includes a generic printing program 41. The generic printing program 41 is a standard OS program prepared by the OS 21 vendor and provided as part of the OS 21. In other words, the PC 1 is equipped with the OS 21 having the generic printing program 41. The generic printing program 41 is not configured to use a printer driver specific to each printer.

[0020] The generic printing program 41 is a program that has the function of printing on multiple models of printers provided by multiple vendors based on user instructions. The generic printing program 41 supports generic functions that allow printing on many printers. Unlike printer drivers specific to each printer, the generic printing program 41 does not support functions specific to each printer or printer driver, particularly functions that require complex processing.

[0021] The general-purpose printing program 41 is a program including a function of receiving image data designated as a print target in a print instruction output from various applications based on a user instruction, and generating intermediate data based on the image data. The intermediate data is, for example, XPS data. The general-purpose printing program 41 further has a function of generating print data in a format that can be used for printing by various printers based on the intermediate data. The print data is, for example, PWGRaster data or PDF data. The general-purpose printing program 41 also has a function of transmitting the generated print data to a printer designated as a device to execute printing via a communication function of the OS 21.

[0022] The auxiliary program 42 is a program or a group of programs that executes processing based on instructions from the OS 21 in association with the processing of the general-purpose printing program 41, and is a program that supports the control of the target hardware. The auxiliary program 42 in this embodiment corresponds to the model of the printer 2 connected to the PC 1, and is provided, for example, by the vendor of the printer 2. The general-purpose printing program 41 starts the auxiliary program 42 corresponding to the printer 2 when the printer 2 is selected as the device to execute printing, when an instruction for detailed print settings is received while the printer 2 is selected, when an instruction to execute printing on the printer 2 is received, etc. The auxiliary program 42 is, for example, called a print support app (abbreviated as PSA) or a hardware support app (abbreviated as HSA).

[0023] The auxiliary program 42 may be a combination of multiple programs that each accept an execution command, or a single program that can execute different processes according to commands. The auxiliary program may also be a program prepared by a printer vendor for each printer type. For example, an auxiliary program for inkjet printers and an auxiliary program for laser printers may be prepared. There may be an auxiliary program prepared not only for each printer type, but also for each printer model or series of printer models.

[0024] For example, when a new printer is connected to the PC 1, the OS 21 of the PC 1 can download an appropriate auxiliary program according to the type and model of the connected printer from a server of the printer vendor or the like and install it in the PC 1. The OS 21 stores in the memory 12 the identification information of the installed auxiliary program in association with the printer information of the newly connected printer.

[0025] The editing application 43 is, for example, a program for creating and editing image data and document data. The editing application 43 may be, for example, Microsoft's Word (registered trademark) or PowerPoint (registered trademark), or may be a program provided by the vendor of the printer 2. The editing application 43 can receive, for example, a print execution instruction for causing the printer 2 to execute printing via the user IF 13. Note that the editing application 43 is not limited to a program for creating and editing data, and may be a program having a function of receiving a display instruction or a print instruction for various information such as map information and web pages in response to a user request.

[0026] As shown in FIG. 1, the PC 1 of this embodiment is connected to the printer 2 via the communication IF 14. The printer 2 is a device having at least a printing function and a communication function. For example, when the printer 2 receives print data from the PC 1 or the like, it can execute printing based on the received print data. The printer 2 may be a device capable of color printing, or may be a device capable of only monochrome printing.

[0027] Next, the procedure of the process for causing the printer 2 to print in the PC 1 of this embodiment will be described. Note that each process in this embodiment basically indicates the process of the CPU 11 following the instructions written in a program such as the auxiliary program 42. The process by the CPU 11 also includes the control of hardware using the API of the OS 21. In this specification, the operation of each program will be described without a detailed description of the OS 21. Also, "obtain" is used as a concept that does not require a request.

[0028] The print execution procedure will be described with reference to the sequence diagram in FIG. 2. The editing application 43 accepts creation and editing of text and images based on user instructions. For example, when the user wants to print the text or image being displayed, the user selects print in the editing application 43. For example, the user can select print from a menu of operation items displayed by the editing application 43. In the following, it is assumed that the printer 2 is selected as the device to execute printing.

[0029] The user selects an image to be printed and inputs a print command in the editing application 43 (A01). The editing application 43 determines that it has received a command to the general-purpose printing program 41 to cause the printer 2 to print the selected image. Note that the user may instruct the print settings before inputting the print command. The reception of the print settings will be described later.

[0030] Based on the received instruction to execute printing, the editing application 43 passes the print instruction to the general-purpose printing program 41 (A02). The general-purpose printing program 41 acquires, from the editing application 43, image data indicating an image to be printed and information indicating print settings as information of the print instruction.

[0031] The general-purpose printing program 41 generates intermediate data by converting the format of the image data of the image to be printed into the format of intermediate data based on the information acquired from the editing application 43 (A03). The image data included in the editing application 43 is of various types, and the general-purpose printing program 41 converts the image data to be printed into intermediate data suitable for generating print data. Note that if the image data to be printed is suitable for generating print data, the generation of the intermediate data may be omitted and the intermediate data may be used as is.

[0032] After generating the intermediate data, the general-purpose printing program 41 starts the auxiliary program 42 corresponding to the printer 2, which is the selected device, and passes an execution instruction (A05). Note that the general-purpose printing program 41 may start the auxiliary program 42 corresponding to the printer 2 before generating the intermediate data, and notify the printer 2 that print job processing has started. When the auxiliary program 42 is started by the general-purpose printing program 41 before generating the intermediate data, it may be able to pass various information used when generating the intermediate data to the general-purpose printing program 41.

[0033] When the auxiliary program 42 is started by the execution instruction of A05, it acquires the capability information held by the printer 2. Specifically, the auxiliary program 42 requests the general-purpose printing program 41 to acquire the capability information of the printer 2 (A11). The general-purpose printing program 41 sends a command requesting the capability information to the printer 2, and acquires information including the capability information from the printer 2 (A12). The general-purpose printing program 41 passes the acquired capability information to the auxiliary program 42 (A13). This allows the auxiliary program 42 to acquire the capability information of the printer 2. A11 to A13 are an example of a capability acquisition process.

[0034] The general-purpose printing program 41 communicates with the printer 2 in A12 via the OS 21, for example, by communication according to IPP (abbreviation of internet printing protocol). The auxiliary program 42 may obtain capability information directly from the printer 2, for example, by using MIB (abbreviation of Management Information Base), instead of making a request to the general-purpose printing program 41.

[0035] The capability information acquired from the printer 2 includes information on parameters that can be set as print settings. The capability information may further include, for example, information on remaining amounts of consumables, information on selectable trays, paper information on paper set in each tray, and information on available print resolutions. The printer 2 may also have a function of performing image processing based on a received print job and printing based on the data after image processing, such as a function of performing aggregate printing such as Nin1, composite printing such as watermarks, and economical printing that saves on coloring materials. If the printer 2 has an image processing function that can be executed by the printer 2, the printer 2 may pass capability information including information on the function. The printer 2 may also pass capability information including information indicating its own status.

[0036] The capability information in this embodiment includes information on file types that can be handled by the printer 2, for example, information indicating whether the printer 2 has a function for executing printing based on a linearized PDF file. Information indicating whether the printer 2 has a function for executing printing based on a linearized PDF file is an example of support information.

[0037] A linearized PDF file is also called a PDF file optimized for web display, and is a PDF file in which at least the information required to print the first page, such as the image data of the first page, as well as the objects to be placed on the first page and information indicating their placement, is collected and described at the beginning of the file separately from the information of other pages. Note that there may also be linearized PDF files in which the information of each page is arranged in page order.

[0038] On the other hand, in a PDF file that is not a linearized PDF file, i.e., a PDF file that is not linearized, various information can be written at any position in the file regardless of the page order. In the following, a PDF that is not a linearized PDF will be simply referred to as "PDF".

[0039] The auxiliary program 42 can acquire the intermediate data generated by the general-purpose printing program 41 and information on print settings by making a request to the general-purpose printing program 41 (A15). A15 is an example of an acquisition process. The intermediate data acquired in A15 is an example of image data indicating an image to be printed. In addition, the information on print settings acquired in A15 is information on print settings associated with the print instruction passed from the editing application 43 in A02.

[0040] The auxiliary program 42 executes a determination transmission procedure (A21) based on the capability information acquired in A13 and the intermediate data and print setting information acquired in A15. The determination transmission procedure in the first embodiment will be described with reference to the sequence diagram of FIG.

[0041] In the determination transmission procedure, the auxiliary program 42 determines whether the printer 2 supports linearized PDF files based on the capability information acquired in A13 of Fig. 2 (B01). B01 is an example of a determination process. Note that, being compatible with linearized PDF files means that when the printer 2 receives a linearized PDF file as print data, it can execute printing based on the print data.

[0042] The information on whether the printer 2 supports linearized PDF files may be acquired by the auxiliary program 42 based on the model of the printer 2, not limited to the capability information of the printer 2. The auxiliary program 42 may acquire information indicating the model of the printer 2 from the printer 2 or from the OS 21. Then, based on the acquired information indicating the model of the printer 2, the auxiliary program 42 acquires information on whether the printer 2 supports linearized PDF files, for example, by using a correspondence table included in the auxiliary program 42. Note that the correspondence table may be stored in, for example, a server owned by the vendor of the printer 2, instead of being included in the auxiliary program 42. In this case, the auxiliary program 42 may acquire the correspondence table from the server, or may acquire only information corresponding to the information indicating the model of the printer 2.

[0043] Here, the capabilities of the printer 2 may change due to, for example, an update of the firmware of the printer 2. When a print instruction is received, if the capability information of the printer 2 is acquired from the printer 2 and the determination of B01 is made based on the acquired information, the auxiliary program 42 can transmit print data in a file format suited to the latest status of the printer 2.

[0044] If it is determined that the printer 2 is compatible with linearized PDF files (alt:[compatible]), the auxiliary program 42 rearranges the page order of the intermediate data, if necessary, based on the print setting information acquired in A15 of FIG. 2 and information indicating the sheet transport mode in the printer 2 (B11).

[0045] The information on the print settings includes, for example, information indicating whether reverse order printing, double-sided printing, Nin1 printing, or booklet printing is to be performed. Information indicating the sheet transport mode in the printer 2 includes, for example, information indicating whether the sheet is to be discharged face-down with the printed side facing down or face-up with the printed side facing up, and information indicating which side is to be printed first in the case of double-sided printing. The intermediate data created by the general-purpose printing program 41 is often arranged in page order starting from the first page. The auxiliary program 42 arranges the pages of the intermediate data in the order in which they will be printed in the printer 2. B11 is an example of a sorting process.

[0046] The information indicating the sheet transport mode in the printer 2 may be included in the capability information of the printer 2. Alternatively, for example, the auxiliary program 42 may obtain the information indicating the sheet transport mode based on model information of the printer 2 or the like.

[0047] For example, when reverse order printing is set, the auxiliary program 42 reverses the page order of the entire intermediate data. As a result, the intermediate data for the last page is placed at the top. If print data is generated in this order in the subsequent steps and sent to the printer 2, the print data for the last page will be sent to the printer 2 first.

[0048] Furthermore, for example, when a setting for printing multiple pages on one sheet, such as double-sided printing or Nin1 printing, is included, the auxiliary program 42 determines the pages to be printed on each sheet based on the total number of pages included in the print job and the number of pages to be printed on one sheet.The auxiliary program 42 then rearranges the intermediate data based on the sheet ejection order and the printing order on each sheet.

[0049] For example, when face-down double-sided printing is set, the auxiliary program 42 places the intermediate data of the second page, which is the page to be printed on the back side of the first sheet, at the top. For example, for an image of five pages, the auxiliary program 42 generates intermediate data for blank pages and arranges the intermediate data in the following order: page 2, page 1, page 4, page 3, blank page, and page 5. When printing is performed in a subsequent procedure based on the print data generated in this order, the printer 2 prints the image of page 1 on the back side of the sheet on which the image of page 2 has been printed, and ejects the first page face down.

[0050] The auxiliary program 42 may also use a function of the printer 2. In this case, in B11, the auxiliary program 42 arranges the intermediate data in a page order suitable for the function of the printer 2. For example, if the printer 2 has an aggregation function for Nin1 printing, the auxiliary program 42 arranges the intermediate data in the page order to be passed to the aggregation function of the printer 2.

[0051] The auxiliary program 42 passes the rearranged intermediate data to the general-purpose printing program 41 and requests the general-purpose printing program 41 to rasterize it (B12). The general-purpose printing program 41 rasterizes the intermediate data and generates raster data, which is bitmap data (B13). The general-purpose printing program 41 then passes the generated raster data to the auxiliary program 42 (B14). As a result, the raster data, which is image data in a raster format that indicates the image to be printed, is input from the OS 21 to the auxiliary program 42.

[0052] The auxiliary program 42 encodes the raster data into linearized PDF data to generate print data (B15). B15 is an example of a first generation process. Note that the auxiliary program 42 may process the raster data as necessary before encoding.

[0053] On the other hand, if it is determined in B01 that the printer 2 does not support linearized PDF files (alt: [not supported]), the auxiliary program 42 rearranges the intermediate data in a page order suitable for the functions of the printer 2 (B21). Furthermore, the auxiliary program 42 passes the rearranged intermediate data to the general-purpose printing program 41 and requests the general-purpose printing program 41 to rasterize (B22). The general-purpose printing program 41 rasterizes the intermediate data (B23) and passes the generated raster data to the auxiliary program 42 (B24).

[0054] The auxiliary program 42 generates print data by encoding the raster data into data in a file format compatible with the printer 2 (B25). B25 is an example of a second generation process. For example, if the printer 2 is compatible with PDF files, the auxiliary program 42 may encode into PDF. The auxiliary program 42 may encode into PDL compatible with the printer 2.

[0055] Note that the auxiliary program 42 may perform rasterization instead of the general-purpose printing program 41. That is, instead of B12 to B14 or B22 to B24, the auxiliary program 42 may generate raster data. Rasterization by the auxiliary program 42 allows greater freedom compared to rasterization by the general-purpose printing program 41, and there is a high possibility that raster data suitable for printing by the printer 2 will be generated. On the other hand, if rasterization is performed by the general-purpose printing program 41, the processing by the auxiliary program 42 is less, and the program size of the auxiliary program 42 can be reduced.

[0056] Also, the auxiliary program 42 may pass raster data to the general-purpose printing program 41 instead of B25 and request the general-purpose printing program 41 to encode the data into PDF. If the general-purpose printing program 41 has a function for generating linearized PDF data, the auxiliary program 42 may cause the general-purpose printing program 41 to perform the encoding instead of B15.

[0057] The auxiliary program 42 then passes the print data generated in B15 or B25 to the general-purpose print program 41, and instructs it to send it to the printer 2 (B31). B31, in which the linearized PDF data generated in B15 is passed to the general-purpose print program 41 as print data, is an example of a first transmission process. Also, B31, in which the print data generated in B25 is passed to the general-purpose print program 41, is an example of a second transmission process.

[0058] The general-purpose printing program 41 transmits print data to the printer 2 and instructs it to print in response to an instruction from the auxiliary program 42 (B32). The printer 2 executes printing based on the received print data (B33). This generates a printed matter based on the print instruction output from the editing application 43. After B32 and B33, the determination and transmission procedure in FIG. 3 ends, and the process returns to the print execution procedure in FIG. 2.

[0059] If the printer 2 supports linearized PDF, by transmitting linearized PDF data, the printer 2 can start processing for printing when it receives one page of data. However, depending on the combination of print settings and transport mode, the page order and print order may differ. In this embodiment, the auxiliary program 42 sorts the intermediate data in advance in output order and generates linearized PDF data in that page order, so that if the printer 2 prints in the order it receives the data, the output order will be in line with the user's wishes. Therefore, there is no need for sorting in the printer 2 or waiting for data to be sorted, and the printer 2 can start printing the first page soon after starting to receive print data.

[0060] On the other hand, if the printer 2 does not support linearized PDF, the printer 2 cannot print even if linearized PDF data is sent. If the printer 2 supports linearized PDF, the auxiliary program 42 sends linearized PDF data. On the other hand, if the printer does not support linearized PDF, the auxiliary program 42 generates and sends print data in a file format that the printer 2 can support, thereby reducing the possibility of an error occurring in the printer 2.

[0061] In B31, the print data is passed to the general-purpose printing program 41, which then transmits it to the printer 2. Alternatively, the auxiliary program 42 may transmit a print command instructing printing to be performed and the print data to the printer 2. For example, when the print settings include settings related to image processing that can be performed by the printer 2, the auxiliary program 42 may generate a print command that also includes information on that processing. In this case, the auxiliary program 42 may notify the general-purpose printing program 41 of completion information after completing transmission of the print data.

[0062] Returning to the description of the print execution procedure in Fig. 2, after the determination and transmission procedure (A21) is completed, the general-purpose printing program 41 notifies the editing application 43 that the processing of the print job is completed (A22). As a result, the editing application 43 ends the processing of the print instruction passed to the general-purpose printing program 41 in A02.

[0063] Next, a print setting procedure when the auxiliary program 42 is started in response to receiving a print setting instruction in the editing application 43 will be described with reference to the sequence diagram of Fig. 4. This procedure is executed prior to the print execution procedure shown in Fig. 2.

[0064] When the editing application 43 receives a user's selection of printing (C01), it requests the general-purpose printing program 41 of the OS 21 to display a screen for receiving instructions regarding printing (C02). In response to the request, the general-purpose printing program 41 causes the user IF 13 to display the print screen (C03). The print screen is a screen for receiving user instructions regarding various print settings that can be received by the general-purpose printing program 41. On the print screen, the general-purpose printing program 41 can receive, for example, an instruction to perform detailed print settings corresponding to a selected device. The print screen may be displayed by the editing application 43.

[0065] For example, when printer 2 is selected as the device to perform printing and an instruction for detailed print settings is received (C11), the general-purpose print program 41 launches the auxiliary program 42 corresponding to printer 2 and passes an instruction to start accepting the detailed print settings (C12).

[0066] When the auxiliary program 42 is started by the instruction of C12, it acquires the capability information of the printer 2. Specifically, the auxiliary program 42 requests the general-purpose printing program 41 to acquire the capability information (C13). The general-purpose printing program 41 sends a command requesting the capability information to the printer 2 and acquires the capability information from the printer 2 (C14). The general-purpose printing program 41 passes the acquired capability information to the auxiliary program 42 (C15). This allows the auxiliary program 42 to acquire the capability information of the printer 2. C13 to C15 are, for example, the same processes as A11 to A13.

[0067] The auxiliary program 42 causes the user IF 13 to display a detailed setting screen that accepts detailed print settings based on the acquired capability information (C17). The detailed setting screen displayed by the auxiliary program 42 includes, as options, parameters that can be executed by the printer 2. The auxiliary program 42 can accept user operations on the displayed detailed setting screen. The user issues print setting instructions by operating the displayed detailed setting screen.

[0068] When all print settings have been configured, the user issues an instruction to end the print settings (C22). This causes the auxiliary program 42 to end the display of the detailed settings screen and store the received print setting information (C23). The auxiliary program 42 uses the print setting information stored in C23 in B11, B21, etc. of the aforementioned determination transmission procedure (see FIG. 3).

[0069] Then, the auxiliary program 42 notifies the general-purpose printing program 41 of the end of acceptance of the detailed print settings (C25). The general-purpose printing program 41 notifies the editing application 43 of the end of the print settings based on the notification from the auxiliary program 42 (C26). The auxiliary program 42 may notify the editing application 43 of the end of acceptance of the print settings. The editing application 43 becomes capable of accepting an instruction to execute printing.

[0070] If an instruction to execute printing is received thereafter, A11 to A13 in the sequence diagram of Fig. 2 may be omitted since the capability information has already been acquired in C13 to C15. The capability information of the printer 2 acquired in C15 includes information on whether the printer 2 supports linearized PDF files. The auxiliary program 42 can use the capability information of the printer 2 acquired in C15 for the judgment of B01 in the judgment transmission procedure described above (see Fig. 3), for rearrangement of B11 and B21, etc.

[0071] Therefore, the capability information can be acquired before the determination of whether or not linearized PDF is supported (B01 in FIG. 3), and can be acquired before or after the print execution instruction is received. If the capability information is acquired after the print execution instruction is received, the auxiliary program 42 can use the latest capability information for printing. On the other hand, if the capability information is acquired before the print execution instruction is received, the auxiliary program 42 can omit acquiring the capability information after the instruction is received, thereby shortening the time from when the print execution instruction is received to when printing of the first page begins.

[0072] The print screen displayed by the editing application 43 or the general-purpose printing program 41 may include an information display field capable of displaying an image prepared by the auxiliary program 42. The general-purpose printing program 41 may then start up the auxiliary program 42 before displaying in the information display field. Even in this case, the auxiliary program 42 may request the general-purpose printing program 41 to obtain the capability information of the printer 2.

[0073] As described above in detail, the auxiliary program 42 of the first embodiment can generate linearized PDF data as print data based on the intermediate data acquired from the general-purpose print program 41, and transmit the print data to the printer 2. The printer 2 that receives the linearized PDF data can start printing the first page without waiting for the reception of data for all pages. Therefore, delays in starting printing of the first page are suppressed.

[0074] Next, the PC 1 according to the second embodiment will be described in detail with reference to the attached drawings. The auxiliary program 42 of the PC 1 in the second embodiment transmits linearized PDF data for one page to the printer 2 each time it is generated, which is different from the first embodiment in that linearized PDF data for all pages is transmitted collectively. The same configurations and processes as those in the first embodiment are given the same reference numerals and will be described briefly.

[0075] The determination transmission procedure executed by the PC 1 in the second embodiment will be described with reference to the sequence diagram of Fig. 5. Note that the procedures other than the determination transmission procedure are the same as those in the first embodiment, and therefore the description thereof will be omitted.

[0076] In the judgment transmission procedure of the second embodiment, the auxiliary program 42 judges whether the printer 2 supports linearized PDF files (B01). If it is judged that the printer 2 supports linearized PDF files (alt:[supported]), the auxiliary program 42 rearranges the page order of the intermediate data (B11). Furthermore, the auxiliary program 42 requests rasterization from the general-purpose printing program 41 (B12) and obtains raster data (B13, B14).

[0077] Furthermore, the auxiliary program 42 encodes one page of raster data into linearized PDF data to generate one page of print data (D01). D01 is an example of a first generation process. The auxiliary program 42 then transmits the generated one page of print data to the printer 2 together with a print command instructing printing to be performed (D02). D02 is an example of a first transmission process. The auxiliary program 42 transmits the print data directly to the printer 2, for example, using MIB. Having received one page of print data, the printer 2 starts the printing process for one page (D03).

[0078] The auxiliary program 42 repeats D01 and D02 until it has encoded and transmitted the raster data for all pages (loop: [1, all pages]). The printer 2 processes the print data in the order it received it from the auxiliary program 42, and prints it in that order. In the second embodiment as well, the auxiliary program 42 rearranges the intermediate data in advance in output order, and transmits linearized PDF data in that page order, so that if the printer 2 prints in the order it received it, the output order will be as desired by the user.

[0079] In the second embodiment, the auxiliary program 42 sends linearized PDF data for one page to the printer 2 every time it generates it. By sending linearized PDF data as print data, the printer 2 can start printing processing when it receives one page of data. This makes it possible to start printing in the printer 2 sooner than when print data for all pages is sent to the printer 2 after it is generated.

[0080] After transmitting the linearized PDF data for all pages to the printer 2, the auxiliary program 42 notifies the general-purpose printing program 41 of the end of processing (D04). As a result, the general-purpose printing program 41 ends the processing of the print job, and notifies the editing application 43 of the end of processing (A22 in FIG. 2).

[0081] On the other hand, if it is determined in B01 that the printer 2 does not support linearized PDF files (alt: [not supported]), the auxiliary program 42 rearranges the intermediate data (B21). Furthermore, the auxiliary program 42 requests rasterization from the general-purpose printing program 41 (B22) and obtains the raster data (B23, B24). Furthermore, the auxiliary program 42 encodes the data into a file format, such as PDF, that is compatible with the printer 2, to generate print data (B25).

[0082] Then, the auxiliary program 42 passes the generated print data to the general-purpose print program 41 (B31). The general-purpose print program 41 sends the print data to the printer 2 (B32), and the printer 2 executes printing based on the received print data (B33). B21 to B33 are the same processes as in the first embodiment.

[0083] As described above in detail, even with the auxiliary program 42 of the second embodiment, delays in the start of printing of the first page are suppressed. In particular, the auxiliary program 42 of the second embodiment transmits print data for one page to the printer 2 each time it is generated, so that the printer 2 can start printing processing in the order of the data received. Therefore, there is a higher possibility that the printing processing in the printer 2 will start earlier than in the first embodiment, in which print data for all pages is generated and then transmitted. On the other hand, in the first embodiment, print data for all pages of the print job is generated, so that the transmission procedure is performed only once, making the procedure simpler than that of the second embodiment.

[0084] Next, the PC 1 according to the third embodiment will be described in detail with reference to the attached drawings. The auxiliary program 42 of the PC 1 in the third embodiment generates linearized PDF data for printing on the first sheet and transmits it to the printer 2, and transmits the print data for the remaining pages all at once, which is different from the first embodiment in which the print data for all pages is transmitted all at once, and from the second embodiment in which the print data is transmitted page by page. The same configurations and processes as those in the first embodiment are given the same reference numerals and will be described briefly.

[0085] The determination transmission procedure executed by the PC 1 in the third embodiment will be described with reference to the sequence diagram of Fig. 6. Note that the procedures other than the determination transmission procedure are the same as those in the first embodiment, and therefore the description thereof will be omitted.

[0086] In the determination transmission procedure of the third embodiment, the auxiliary program 42 determines whether the printer 2 supports linearized PDF files (B01). If it is determined that the printer 2 supports linearized PDF files (alt:[supported]), the auxiliary program 42 rearranges the page order of the intermediate data (B11). Furthermore, the auxiliary program 42 requests rasterization from the general-purpose printing program 41 (B12) and obtains raster data (B13, B14).

[0087] Furthermore, the auxiliary program 42 generates print data by encoding the raster data for one sheet into linearized PDF data (E01). E01 is an example of a first generation process. The auxiliary program 42 generates print data for, for example, two pages for double-sided printing, or four pages for 4in1. The print data for one sheet is an example of data for the first specified page.

[0088] Then, the auxiliary program 42 sends the generated print data for one sheet to the printer 2 together with a print command instructing printing to be executed (E02). E02 is an example of a first transmission process. The auxiliary program 42 sends the print data directly to the printer 2, for example, using MIB. Having received the print data, the printer 2 starts the process of printing on the first sheet (E03).

[0089] Furthermore, the auxiliary program 42 encodes the raster data of the remaining pages into linearized PDF data to generate print data (E04). E04 is an example of a first generation process.

[0090] On the other hand, if it is determined in B01 that the printer 2 does not support linearized PDF files (alt: [not supported]), the auxiliary program 42 rearranges the intermediate data (B21). Furthermore, the auxiliary program 42 requests rasterization from the general-purpose printing program 41 (B22) and obtains the raster data (B23, B24). Furthermore, the auxiliary program 42 encodes the data into a file format, such as PDF, that is compatible with the printer 2, to generate print data (B25).

[0091] Then, the auxiliary program 42 passes the print data generated in E04 or B25 to the general-purpose print program 41 (B31). The general-purpose print program 41 sends the print data to the printer 2 (B32), and the printer 2 executes printing based on the received print data (B33). B31, in which the linearized PDF data generated in E04 is passed to the general-purpose print program 41 as print data, is an example of a first transmission process. The print data sent in B32 when the printer 2 supports linearized PDF files is data used for printing on the second and subsequent sheets.

[0092] Instead of sending print data for one sheet, the auxiliary program 42 may generate and send print data for one sheet, or may generate and send only print data for the first page. Even in this way, the printer 2 that receives print data for one sheet or the first page can start the printing process. Print data for one sheet is an example of data for the first specified page. Also, print data for the first page is an example of data for the first specified page.

[0093] As described above in detail, even with the auxiliary program 42 of the third embodiment, delays in the start of printing the first page are suppressed. In particular, the auxiliary program 42 of the third embodiment generates print data for one sheet and then transmits it to the printer 2, so that the printer 2 can begin printing the first sheet at an early stage. Also, in the third embodiment, print data for the second and subsequent sheets is transmitted all at once, so there is a high possibility that the number of times print data is transmitted is less than in the second embodiment, in which data is transmitted page by page. On the other hand, in the first and second embodiments, there is no need to perform different processing for some of the print jobs, and the procedure is simpler than in the third embodiment.

[0094] It should be noted that the embodiments disclosed in this specification are merely examples and do not limit the present invention in any way. Therefore, the technology disclosed in this specification can be naturally improved and modified in various ways without departing from the gist of the technology. For example, the device connected to PC1 is not limited to a printer, but may be any device having a printing function, such as a multifunction device, a copier, or a fax machine. Furthermore, the number of printers connected to PC1 is not limited to the illustrated example, and may be two or more.

[0095] In addition, in each embodiment, the auxiliary program 42 acquires intermediate data from the general-purpose printing program 41 and generates linearized PDF data or PDF data based on the intermediate data, but the image data acquired from the general-purpose printing program 41 may be PDF data or data in another file format such as JPEG.

[0096] Furthermore, the printer 2 may be capable of, for example, transporting multiple sheets into the printer and printing on each sheet consecutively. In this case, the information indicating the sheet transport mode of the printer 2 may include, for example, information indicating the number of sheets to be transported simultaneously in a print instruction indicating printing on multiple sheets. Even in this case, the auxiliary program 42 may rearrange the page order according to the order in which printing is performed by the printer 2.

[0097] The general-purpose printing program 41 may also start the auxiliary program 42 before or after the printing screen is displayed, when the user operates to change the normally used printer from another printer to the printer 2. In either case, the auxiliary program 42 may also obtain the capability information of the printer 2 in response to being started.

[0098] In each embodiment, only the printing operation is described in detail as the operation of the auxiliary program 42, but the auxiliary program 42 may have other roles. The program that executes the process of each embodiment is not limited to the auxiliary program 42, but may be any program that receives instructions from the OS 21 or the general-purpose print program 41 when printing is performed using the general-purpose print program 41. For example, it may be a print workflow application (Print workflow) whose specifications have been made public by Microsoft.

[0099] Furthermore, the execution timing of the auxiliary program 42 is not limited to the examples in each embodiment. For example, the auxiliary program 42 may be executed in response to a direct execution instruction from the OS 21, or the auxiliary program 42 may be resident. If the auxiliary program 42 is resident, it is sufficient that the auxiliary program 42 performs the above-mentioned operation upon receiving an execution command.

[0100] In addition, in any sequence diagram disclosed in each embodiment, the execution order of multiple processes in any multiple steps can be changed as desired or the processes can be executed in parallel as long as no contradiction occurs in the processing content.

[0101] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as ASIC, or a combination of these. The processes disclosed in the embodiments may be realized in various forms, such as a recording medium having a program for executing the processes recorded thereon, or a method. [Explanation of symbols]

[0102] 1 PC 2. Printer 11 CPU

Claims

1. A support program executable by a computer of an information processing device and corresponding to a printer connected to the information processing device, the information processing device being equipped with an operating system having a general-purpose printing program; The computer includes: When a print instruction is output from an application program installed in the information processing device, the print instruction is for causing the general-purpose print program to print an image on the printer, an acquisition process for acquiring image data indicating the image to be printed in response to the print instruction from the general-purpose print program; a first generation process for generating print data of a linearized PDF based on the image data acquired in the acquisition process; a first transmission process for performing a process for transmitting the print data generated in the first generation process to the printer; Execute the A support program configured to:

2. 2. A support program as claimed in claim 1, The computer includes: Executing a determination process for determining whether the printer supports linearized PDF; The computer further comprises: When the print instruction is given, When it is determined in the determination process that the printer is compatible with linearized PDF, the acquisition process, the first generation process, and the first transmission process are executed; If it is determined in the determination process that the printer does not support linearized PDF, after executing the acquisition process, the first generation process and the first transmission process are not executed, and instead a second generation process is executed in which print data in a file format compatible with the printer is generated based on the image data acquired in the acquisition process, and a second transmission process is executed in which processing is performed to transmit the print data generated in the second generation process to the printer. A support program configured to:

3. A support program according to claim 2, The computer includes: executing a capability acquisition process for acquiring capability information held by the printer, the capability information including compatibility information indicating whether the printer is compatible with linearized PDF; In the determination process, determining whether the printer is compatible with linearized PDF based on the compatibility information included in the capability information acquired in the capability acquisition process; A support program configured to:

4. A support program according to claim 3, The computer includes: when the print instruction is received, the capability acquisition process is executed before the determination process is executed; A support program configured to:

5. A support program according to claim 3, The computer includes: Executing the capability acquisition process before the print instruction is issued. A support program configured to:

6. 2. A support program as claimed in claim 1, The computer includes: When the print instruction is given, execute a sorting process for sorting the page order of the image data acquired in the acquisition process according to a combination of a print setting associated with the print instruction and a sheet transport mode in the printer when printing is performed according to the print setting; In the first generation process, generating the print data in a linearized PDF format based on the image data whose page order has been rearranged by the rearrangement process; A support program configured to:

7. A support program according to claim 6, In the sorting process, When double-sided printing is set in the print settings associated with the print instruction, rearrange the page order of the image data acquired in the acquisition process according to a sheet transport mode in the printer when double-sided printing is performed. A support program configured to:

8. A support program according to claim 6, In the sorting process, When the sheet transport mode in the printer is a transport mode in which the print surface is discharged facing up, rearrange the page order of the image data acquired in the acquisition process in accordance with the print setting associated with the print instruction. A support program configured to:

9. 2. A support program as claimed in claim 1, In the first transmission process, performing the process for transmitting the print data generated in the first generation process to the printer every time one page of data is generated; A support program configured to:

10. 2. A support program as claimed in claim 1, In the first transmission process, performing the process for transmitting the data of the first predetermined page to the printer in response to the data of the first predetermined page being generated in the first generation process, and thereafter performing the process for transmitting the data of the remaining pages to the printer; A support program configured to:

11. A support program according to any one of claims 1 to 10, In the acquisition process, As the image data, intermediate data representing the image to be printed is obtained; In the first generation process, generating the print data in a linearized PDF format from the intermediate data acquired in the acquisition process; A support program configured to:

Citation Information

Patent Citations

  • Image processing and error handling system as well as method for printing linearized and non-linearized portable document format (PDF) file

    JP2018075826A