Support program

The support program addresses the lack of image scaling in OS standard general-purpose printing programs by adjusting image sizes to match printer-compatible paper sizes, allowing for flexible printing of unsupported document sizes.

WO2024185577A1PCT designated stage expired Publication Date: 2024-09-12BROTHER KOGYO KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/007008
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-03
Filing Date
2024-02-27
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Conventional OS standard general-purpose printing programs lack the ability to enlarge or reduce images for printing, as they do not have a scaling function, limiting the flexibility in printing images of unsupported document sizes without specific scaling capabilities in application programs.

Method used

A support program that runs on an information processing device, compatible with connected printers, acquires paper size information, generates a list of supported and unsupported document sizes, and adjusts image sizes to match printer-compatible paper sizes, enabling printing of images on paper sizes not natively supported by the printer.

Benefits of technology

Enables printing of images on any paper size supported by the connected printer by scaling images to compatible sizes, enhancing printing flexibility and compatibility with various paper sizes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024007008_12092024_PF_FP_ABST
    Figure JP2024007008_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The purpose of the present invention is to provide technology that enlarges or reduces and then prints an image to be printed, in an information processing device in which an OS-standard general-purpose printing program is installed. An auxiliary program 42 acquires paper size information indicating a list of paper sizes that can be handled by a printer 2, generates document size information including paper sizes included in the acquired paper size information and paper sizes not included in the paper size information, and makes it possible to select one document size included in the generated document size information. Furthermore, upon issuance of a print instruction that is outputted from an editing application 43 and that causes the printer 2 to print an image in a general-purpose printing program 41, the auxiliary program 42 assesses whether the document size matches the paper sizes that can be handled by the printer 2, and, if it is assessed that the document size cannot be handled, enlarges or reduces the image to be printed so that the image to be printed matches a paper size that can be handled by the printer 2 and then causes the printer 2 to print the image to be printed.
Need to check novelty before this filing date? Find Prior Art

Description

Support Program

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

[0002] Conventionally, there is known a technique in which a printer driver enlarges or reduces an image to be printed to any size. For example, Japanese Patent Application Laid-Open No. 2007-144992 discloses a printer driver capable of handling XML files and EMF files, which has a scaling function for adjusting the print area.

[0003] JP 2009-037510 A

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

[0005] However, there is no disclosure of a technology for enlarging or reducing an image received from an application program when printing from an information processing device to a printer via the OS-standard general-purpose printing program. Therefore, unless the application program that passes the image to be printed to the general-purpose printing program has a scaling function, the image to be printed cannot be enlarged or reduced for printing, which leaves room for improvement.

[0006] A support program made to solve 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 there are multiple paper sizes that can be supported by the support program, and the computer is capable of executing the following processes when a predetermined request is received from the general-purpose printing program: an acquisition process for acquiring paper size information indicating a list of paper sizes that can be supported by the printer; and a generation process for generating document size information that includes, as a list of document sizes, paper sizes included in the paper size information acquired in the acquisition process and extended paper sizes that are paper sizes that can be supported by the support program but are not included in the paper size information acquired in the acquisition process, and allowing selection of one of the document sizes included in the generated document size information. and further configured to cause the computer to execute the following steps when a print instruction is output from an application program incorporated in the information processing device and the print instruction is given to the general-purpose print program to cause the printer to print an image: a determination process for determining whether the document size of the image to be printed based on the print instruction is included in the paper sizes that can be supported by the printer; a scaling process for performing a process to enlarge or reduce the image to be printed to fit one of the paper sizes that can be supported by the printer if the determination process determines that the document size is not included in the paper sizes that can be supported by the printer; and a print process for performing a process to cause the printer to print based on the image to be printed, wherein if the image to be printed has been enlarged or reduced in the scaling process, the print process performs the process to cause the printer to print using the enlarged or reduced image.

[0007] The support program disclosed in this specification, upon request from a general-purpose printing program, generates a list of document sizes, including extended paper sizes not supported by the printer, and enables the user to select a document size from the list. This makes it possible to print an image of a document size not supported by the printer. Furthermore, when an image of a document size not supported by the printer is to be printed, the support program performs processing to enlarge or reduce the image to fit one of the paper sizes supported by the printer. This allows the image to be printed, passed from the application program, to be printed on paper supported by the printer.

[0008] An information processing device incorporating the above 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.

[0009] According to the technology disclosed in this specification, a technology is realized in an information processing device in which an OS-standard general-purpose printing program is installed, in which an image to be printed is enlarged or reduced and printed.

[0010] FIG. 1 is a block diagram showing an outline of the electrical configuration of a PC. FIG. 2 is a sequence diagram showing an example of a print setting procedure. FIG. 3 is an explanatory diagram showing an example of a print setting screen. FIG. 4 is an explanatory diagram showing an example of a detailed setting screen. FIG. 5 is an explanatory diagram showing an example of a size list screen. FIG. 6 is an explanatory diagram showing an example of a paper selection dialogue. FIG. 7 is a sequence diagram showing an example of an image creation procedure. FIG. 8 is a sequence diagram showing an example of a print execution procedure.

[0011] A personal computer (hereinafter referred to as a "PC") that uses the support program of the present embodiment will be described in detail below with reference to the accompanying drawings. This specification discloses a support program executed on a PC.

[0012] As shown in Fig. 1, the PC 1 of this embodiment includes a controller 10 including a CPU 11 and a memory 12. The PC 1 is an example of an information processing device. The CPU 11 is an example of a computer. The PC 1 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 PC 1, and does not necessarily represent a single piece of hardware that actually exists in the PC 1.

[0013] The CPU 11 of the PC 1 executes various processes in accordance with programs read from the memory 12 and based on user operations. Various programs and various data are stored in the memory 12. 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 memory. Note that the memory 12 is not limited to a ROM, RAM, HDD, etc. built into the PC 1, but may also be a storage medium readable and writable by the CPU 11, such as a recording medium such as a CD-ROM or DVD-ROM.

[0014] 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 user operations. The user IF 13 may be a combination of the display 13a that can display information and a mouse, keyboard, or the like that has an input acceptance function, or may be a touch panel that has the functions of the display 13a and an input acceptance function.

[0015] The communication IF 14 includes hardware for communicating with external devices such as the printer 2. The communication IF 14 may use a communication standard such as Ethernet (registered trademark), Wi-Fi (registered trademark), or USB. The PC 1 may be connectable to the Internet via the communication IF 14. The PC 1 may be provided with multiple communication IFs 14 that support multiple communication standards.

[0016] 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 printing 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.

[0017] The OS 21 is a multitasking OS that can process multiple tasks in parallel by managing and switching between them, and is, for example, Windows (registered trademark), MacOS (registered trademark), Linux (registered trademark), iOS (registered trademark), or Android (registered trademark).

[0018] 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 that includes the generic printing program 41. The generic printing program 41 is not configured to use printer drivers specific to each printer.

[0019] 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, especially functions that require complex processing.

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

[0021] The auxiliary program 42 is a program or group of programs that executes processing based on instructions from the OS 21 in conjunction with the processing of the general-purpose printing program 41, and is a program that supports 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 launches 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).

[0022] 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 depending on the command. 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. Auxiliary programs may be prepared not only for each printer type, but also for each printer model or series of printer models.

[0023] 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 the identification information of the installed auxiliary program in the memory 12 in association with the printer information of the newly connected printer.

[0024] 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 Word (registered trademark) or PowerPoint (registered trademark), or may be a program provided by the vendor of the printer 2. The editing application 43 is capable of receiving, for example, a print execution instruction to cause 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 also be a program having a function for receiving display instructions and print instructions for various types of information, such as map information and web pages, in response to a user request.

[0025] 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 that has 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 a device capable of only monochrome printing.

[0026] Next, the operation of the PC 1 of this embodiment related to the process for causing the printer 2 to print will be described. Note that each process in this embodiment basically indicates the processing of the CPU 11 in accordance with instructions written in a program such as the auxiliary program 42. The processing by the CPU 11 also includes 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, the term "obtain" is used as a concept that does not necessarily require a request.

[0027] First, the procedure for printing a document or image created using the editing application 43 or the like, which is the print setting procedure when a print setting instruction from the user is received, will be described with reference to the sequence diagram in Figure 2. For example, if the user wants the printer 2 to print an image based on data edited by the editing application 43, the user selects print in the editing application 43 (A05). The user can select print from a menu of operation items provided in the editing application 43, for example.

[0028] When the editing application 43 accepts the selection of printing, it requests the general-purpose printing program 41 of the OS 21 to display a screen for accepting instructions regarding printing (A06). In response to the request, the general-purpose printing program 41 displays a print setting screen on the user IF 13 (A07). The print setting screen is a screen for accepting user instructions regarding various print settings that can be accepted by the general-purpose printing program 41. Note that the print setting screen may be displayed by the editing application 43.

[0029] An example of the print setting screen is shown in FIG. 3. The print setting screen D2 in the example of FIG. 3 includes a printer selection field 51, an information display field 52, a basic print setting selection field 53, an advanced settings button 54, and a print button 55. The printer selection field 51 is a field for accepting the selection of a device to be used for printing. The information display field 52 is a field for displaying information specified by an auxiliary program corresponding to the device selected in the printer selection field 51. For example, when the selection of printer 2 is accepted in the printer selection field 51, or when a print instruction is accepted when printer 2 is set as the printer to be normally used in the OS 21, the general-purpose print program 41 can launch the auxiliary program 42 and display an image prepared by the auxiliary program 42 in the information display field 52.

[0030] The basic print settings selection field 53 is a field for accepting basic settings such as the number of copies to be printed and the orientation of the original. In the print settings screen D2 of the example in FIG. 3, the basic print settings selection field 53 includes a paper size selection field 531. In A07, this paper size selection field 531 displays, for example, the default paper size set in the general-purpose print program 41 or the auxiliary program 42. The advanced settings button 54 is a button for accepting an instruction to make advanced settings not included in the basic print settings selection field 53. The print button 55 is a button for accepting an instruction to execute printing using the selected print settings.

[0031] For example, when printer 2 is selected in the printer selection field 51 as the device to perform printing, and an instruction for detailed print settings is received by operating the advanced settings button 54 (A11), the general-purpose print program 41 passes an instruction to the auxiliary program 42 corresponding to printer 2 to start accepting the detailed print settings (A12).

[0032] When the auxiliary program 42 is started in response to the instruction in A12, 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 (A13). 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 (A14). The general-purpose printing program 41 passes the acquired capability information to the auxiliary program 42 (A15). This allows the auxiliary program 42 to acquire the capability information of the printer 2, including information on paper sizes that the printer 2 can support. A15 is an example of the acquisition process.

[0033] In A14, the general-purpose printing program 41 communicates with the printer 2 via the OS 21, for example, using IPP (Internet Printing Protocol) communications. Instead of making a request to the general-purpose printing program 41, the auxiliary program 42 may obtain capability information directly from the printer 2, for example, using MIB (Management Information Base).

[0034] The capability information acquired from the printer 2 includes information on parameters that can be set as print settings. The capability information may also include, for example, information on remaining consumables, information on selectable trays, paper information on the paper set or detected in each tray, and information on supported print resolutions. The printer 2 may also have a function for performing image processing based on a received print job and printing based on the processed data, such as a function for performing aggregate printing such as N-in-1 printing, composite printing such as watermark printing, and economical printing that saves coloring materials. If the printer 2 has an image processing function that it can execute, the printer 2 may pass capability information including information on that function. The printer 2 may also pass capability information including information indicating its own status.

[0035] The auxiliary program 42 can acquire, as the capability information of the printer 2, paper size information indicating a list of paper sizes that can be handled by the printer 2. The information on paper sizes that can be handled by the printer 2 may be information on paper sizes that can be printed as a function based on the model of the printer 2, information on paper sizes that can be accommodated in each paper feed tray provided in the printer 2, or information on paper sizes that are set or detected in each paper feed tray.

[0036] The auxiliary program 42 displays a detailed settings screen that accepts detailed print settings on the user IF 13 based on the capability information of the printer 2 (A17). The detailed settings screen displayed by the auxiliary program 42 includes, as options, parameters that can be accepted by the printer 2. The auxiliary program 42 can accept user operations on the displayed detailed settings screen. Note that, because there are many print setting items that can be accepted on the detailed settings screen, the auxiliary program 42 may be able to accept an instruction to switch between items to be selected using, for example, multiple tabs.

[0037] The auxiliary program 42 can use A17 to display, for example, a detailed settings screen 60 as shown in FIG. 4 on the user IF 13. The detailed settings screen 60 is an example of a settings screen. The detailed settings screen 60 includes, for example, a setting field 61 that accepts settings for the document size. The document size in the print settings is information that indicates the size of the image data of the image to be printed. In other words, the document size corresponds to the size of the image data passed from the editing application 43 to the general-purpose printing program 41. A12, which includes a request to display the detailed settings screen 60, is an example of a predetermined request. A17, which displays the detailed settings screen 60 in response to the display instruction from A12, is an example of a display process.

[0038] The auxiliary program 42 displays, in the setting field 61 of the detailed setting screen 60 displayed in A17, the same size as the default paper size of the printer 2 as the default document size. The default paper size is, for example, the paper size set as the default in the printer 2, or the paper size set or detected in the default paper feed tray. The auxiliary program 42 can obtain the default paper size of the printer 2 based on the capability information of the printer 2.

[0039] For example, even if the user creates an A3-sized document using the editing application 43, if the default paper size of the printer 2 is A4, the default document size will be A4. If a print command is input in this state, the editing application 43 is likely to select a portion of the A3-sized document, for example, the A4-sized portion at the top left of the document image, as the image to be printed.

[0040] The user can issue an instruction to select a document size by operating the setting field 61 on the detailed setting screen 60. When the auxiliary program 42 receives an instruction to select a document size (A21), it generates size list information as document size options and displays a screen for accepting the user's selection on the user IF 13 (A22). A22 is an example of a generation process. The size list information is an example of document size information.

[0041] The auxiliary program 42 displays, on the user IF 13, for example, a size list screen 70 as shown in FIG. 5 as a screen showing document size options. The options displayed on the size list screen 70 include all paper sizes included in the paper size information acquired from the printer 2 based on the printer 2's capability information acquired in A15. The options displayed on the size list screen 70 may also include paper sizes not included in the paper size information acquired from the printer 2. For example, even if the paper sizes supported by the printer 2 do not include "A3" or "JIS B4," the auxiliary program 42 can display the size list screen 70, as shown in FIG. 5, including an option 71 for "A3" and an option 72 for "JIS B4."

[0042] Specifically, the auxiliary program 42 is pre-stored with information on paper sizes that it can handle, and A22 generates size list information that includes paper sizes that it can handle but that are not included in the paper size information acquired from the printer 2. Paper sizes that are not included in the paper size information acquired from the printer 2 include, for example, paper sizes that cannot be printed using the printer 2's functions, paper sizes that cannot be accommodated in each paper feed tray of the printer 2, and paper sizes that can be accommodated in each paper feed tray of the printer 2 but are not accommodated therein. Paper sizes that are supportable by the auxiliary program 42 but that are not included in the paper size information acquired from the printer 2 are examples of extended paper sizes.

[0043] The auxiliary program 42 may have conditions for determining the paper sizes to be included in the size list information. The auxiliary program 42 may then include, in the size list information, paper sizes that meet the conditions and are not included in the paper size information obtained from the printer 2. If the auxiliary program 42 has conditions for determining the paper sizes to be included in the size list information, it can generate size list information that includes appropriate paper sizes without needlessly increasing the number of paper sizes.

[0044] For example, the auxiliary program 42 may set paper sizes with an area twice that of each paper size included in the paper size information acquired from the printer 2 as paper sizes to be included in the size list information. The auxiliary program 42 may also set paper sizes with an area four times that of each paper size included in the paper size information acquired from the printer 2 as paper sizes not to be included in the size list information. The auxiliary program 42 may also have information on the largest paper size that it can handle, and may set paper sizes whose length or width exceeds the maximum paper size as paper sizes not to be included in the size list information.

[0045] The user instructs the document size setting by selecting a desired size on the displayed size list screen 70 (A23). A23 is an example of a size selection process, and is also an example of a size selection process during setting. When a request to display the detailed setting screen 60 is made, the auxiliary program 42 can display document size options that can include paper sizes that cannot be supported by the printer 2, thereby providing a high degree of freedom in document size selection.

[0046] The auxiliary program 42 determines whether the document size selected by the user is included in the paper sizes supported by the printer 2 (A24). If it determines that the selected document size is not supported (opt: [non-supported size]), the auxiliary program 42 displays a paper selection dialog on the user IF 13 (A25). The paper selection dialog is a screen that notifies the user that printing on paper of the same size as the document size accepted in the setting field 61 is not possible and that a reduced or enlarged image will be printed, and accepts the selection of the paper size to be used for printing.

[0047] The auxiliary program 42 displays a paper selection dialog box 80, which accepts user operations, overlaid on the currently displayed detailed setting screen 60, as shown in FIG. 6, for example. The paper selection dialog box 80 shown in FIG. 6 includes a paper size selection field 81, an OK button 82, and a cancel button 83. In the paper size selection field 81, the auxiliary program 42 accepts selection from all paper sizes that can be supported by the printer 2, and does not accept selection of paper sizes that cannot be supported by the printer 2. The auxiliary program 42 accepts input to the OK button 82 or the cancel button 83 in the currently displayed paper selection dialog box 80 (A26). A26 may be an example of size selection processing.

[0048] It should be noted that while the paper selection dialog 80 is displayed, the auxiliary program 42 does not accept any operations on the detailed settings screen 60. When input to either the OK button 82 or the cancel button 83 is accepted, the auxiliary program 42 closes the paper selection dialog 80 that is being displayed, and becomes able to accept operations on the detailed settings screen 60.

[0049] If the input received in A26 is an input to the cancel button 83 (opt: [Cancel]), the auxiliary program 42 cancels the selection of the document size received in the setting field 61 of the detailed setting screen 60, restores the document size to the default (A27), and redisplays the detailed setting screen 60. On the other hand, if the input received is an input to the OK button 82, the auxiliary program 42 does not change the document size received in the setting field 61 of the detailed setting screen 60, and becomes able to receive operations on the detailed setting screen 60. In this case, the auxiliary program 42 sets the paper size received in the paper size selection field 81 of the paper selection dialog 80, which is a size different from the document size, as the paper size parameter of the print settings.

[0050] The timing for displaying the paper selection dialog 80 in response to receiving a selection of an original size including a paper size that cannot be supported by the printer 2 is not limited to the timing when an instruction to select a paper size that cannot be supported by the printer 2 as the original size is received by operating the setting field 61. The timing for displaying the paper selection dialog 80 may be, for example, the timing when a paper size that cannot be supported by the printer 2 is applied as the original size by pressing an apply button or the like, or the timing when an instruction to end the print settings is received with a paper size that cannot be supported by the printer 2 set as the original size.

[0051] The user instructs the end of the detailed print settings started by the instruction in A11, for example, by operating the OK button 62 on the detailed settings screen 60 (A31). When the auxiliary program 42 receives the user's instruction to end the print settings, it ends the display of the detailed settings screen 60 and stores the received print setting information (A32). The auxiliary program 42 stores the print setting information, including, for example, information on the document size and information on the paper size.

[0052] The auxiliary program 42 then passes the accepted print setting information to the general-purpose printing program 41 and notifies the general-purpose printing program 41 that acceptance of the detailed print settings has been completed (A33). Based on the notification from the auxiliary program 42, the general-purpose printing program 41 passes the accepted print setting information to the editing application 43 and notifies the editing application 43 that acceptance of the print settings has been completed (A34). The auxiliary program 42 may also notify the editing application 43 that acceptance of the print settings has been completed. The editing application 43 activates the print setting screen displayed in A07 (for example, the print setting screen D2 shown in FIG. 3 ), and becomes ready to accept user instructions such as an instruction to print or an instruction to cancel printing.

[0053] As described above, the print setting screen D2 (see FIG. 3) includes an information display field 52 capable of displaying an image prepared by the auxiliary program 42. When the general-purpose printing program 41 receives an operation on the information display field 52, it passes information about the operation to the auxiliary program 42. The auxiliary program 42 then displays, for example, an information screen capable of receiving a document size setting in the information display field 52, and can receive a document size setting instruction through a user instruction in the information display field 52. Even when the auxiliary program 42 receives the document size via the information display field 52, it is preferable that the auxiliary program 42 display the paper selection dialog 80 described above if the set document size is a paper size that cannot be supported by the printer 2.

[0054] Next, a procedure will be described for accepting print-related settings when creating or editing a document or image using the editing application 43. For example, the editing application 43 provided by the vendor of the printer 2 may accept image edits on the assumption that the image will be printed by the printer 2. The procedure for generating an image to be printed in this case will be described with reference to the sequence diagram in FIG.

[0055] In this procedure, when creating or editing a document, the editing application 43 first accepts, for example, a selection of the document size of the document to be printed by the printer 2. When the editing application 43 accepts an instruction to set the document size to be printed by a user operation (B01), it requests size list information from the general-purpose printing program 41 (B02).

[0056] Because printer 2 has been selected as the device to execute printing, the general-purpose printing program 41 receives the request of B02 and launches the auxiliary program 42 corresponding to printer 2. Furthermore, the general-purpose printing program 41 requests information indicating a list of document sizes that can be supported for printing by printer 2 from the auxiliary program 42 (B03). B03 is an example of a request based on a request to obtain a list of paper sizes input from an application program to the general-purpose printing program 41, and is an example of a predetermined request.

[0057] When the auxiliary program 42 is started in response to the instruction in B03, it acquires the capability information of the printer 2 (B05 to B07). Note that the steps B05 to B07 are the same as steps A13 to A15 of the print setting procedure (see FIG. 2). B07 is an example of the acquisition process.

[0058] The auxiliary program 42 generates size list information as document size options based on the acquired capability information (B11). In B11, the auxiliary program 42 generates size list information that includes all paper sizes included in the paper size information acquired from the printer 2 and that includes paper sizes that are compatible with the auxiliary program 42 but are not included in the paper size information acquired from the printer 2. This size list information serves as document size information for accepting document size selection in the editing application 43. B11 is an example of a generation process. Paper sizes that are compatible with the auxiliary program 42 but are not included in the paper size information acquired from the printer 2 are examples of extended paper sizes. The auxiliary program 42 may generate size list information that includes all paper sizes compatible with the auxiliary program 42, or may generate a group of options determined based on predetermined conditions.

[0059] The auxiliary program 42 passes the generated size list information to the general-purpose printing program 41 (B12). The general-purpose printing program 41 passes the size list information received from the auxiliary program 42 to the editing application 43 (B13). In response to a request from the editing application 43 to obtain a paper size list, the auxiliary program 42 passes size list information that can include paper sizes that cannot be supported by the printer 2 to the editing application 43 via the general-purpose printing program 41, so that the editing application 43 has a high degree of freedom in selecting document sizes.

[0060] Based on the received size list information, the editing application 43 displays a screen showing a size list on the user IF 13 (B16) and accepts the user's selection (B17). Based on the information received from the general-purpose printing program 41, the editing application 43 displays a screen that includes paper sizes that cannot be supported by the printer 2 as options for selectable document sizes, similar to the size list screen 70 shown in FIG.

[0061] The editing application 43 sets the document size of the document to be created based on the user's selection accepted on the screen displayed in B16 (B18). Furthermore, the editing application 43 accepts a document creation instruction from the user based on the document size selected by the user (B21). The editing application 43 generates image data representing an image of the document to be printed based on the user's instruction (B22).

[0062] If no particular specification is received, the editing application 43 may, for example, set the paper size to be printed to the same size as the set document size. In other words, the editing application 43 may set the paper size to a paper size that is not included in the paper size information of the printer 2. In that case, the image data generated in B22 may be image data corresponding to a paper size that is not included in the paper size information of the printer 2. Note that the editing application 43 may be able to receive a paper size setting separately from the document size.

[0063] Next, the print execution procedure will be described with reference to the sequence diagram in Fig. 8. The user specifies an image to be printed using the editing application 43 and inputs a print execution instruction (C01). For example, when the editing application 43 receives an operation on the print button 55 on the print setting screen D2 shown in Fig. 3, it determines that it has received an execution instruction to the general-purpose printing program 41 to cause the printer 2 to print the selected image.

[0064] The editing application 43 passes the received print instruction information to the general-purpose print program 41 (C02). The general-purpose print program 41 acquires, from the editing application 43, image data indicating the image to be printed and information indicating print settings as the print instruction information.

[0065] The general-purpose printing program 41 generates intermediate image data by converting the format of the image data of the image to be printed into the format of intermediate image data based on the information obtained from the editing application 43 (C03). 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 image data suitable for generating print data. Note that if the image data to be printed is data suitable for generating print data, the generation of intermediate image data may be omitted and the image data may be used as is.

[0066] In C02, the editing application 43 passes image data representing the image to be printed, based on the document size set in the accepted print settings, to the general-purpose printing program 41. Then, in C03, the general-purpose printing program 41 generates intermediate image data based on the image data passed from the editing application 43.

[0067] Before generating the intermediate image data, the general-purpose printing program 41 may start the auxiliary program 42 corresponding to the designated device, the printer 2, and notify the program that print job processing has begun. When started by the general-purpose printing program 41, the auxiliary program 42 can pass information indicating various instructions used when generating the intermediate image data to the general-purpose printing program 41 as necessary.

[0068] After generating the intermediate image data, the general-purpose printing program 41 starts the auxiliary program 42 (C04). The auxiliary program 42 can obtain the intermediate image data generated by the general-purpose printing program 41 and information on the print settings set by the editing application 43 and the general-purpose printing program 41 by making a request to the general-purpose printing program 41.

[0069] The auxiliary program 42 then acquires information about the paper size selected as the print settings and determines whether the selected paper size is compatible with the printer 2. If the print setting procedure shown in Fig. 2 has been executed, the auxiliary program 42 acquires paper size information from the print setting information stored in A32. If the print setting procedure has not been executed, the auxiliary program 42 acquires paper size information from the print setting information acquired in C04.

[0070] If the auxiliary program 42 determines that the paper size selected in the print settings is not a paper size supported by the printer 2 (opt: [paper size is not supported]), the auxiliary program 42 displays a screen similar to the paper selection dialog 80 shown in FIG. 6 on the user IF 13 (C11). For example, if a print execution instruction is received without receiving a detailed print setting instruction (A11 in FIG. 2), the editing application 43 may set the paper size to the same size as the selected document size. In this case, the paper size set in the print settings may not be included in the paper sizes supported by the printer 2.

[0071] If the auxiliary program 42 has not yet acquired the printer 2's capability information, it may acquire the printer 2's capability information before step C11. The procedure for acquiring the capability information is the same as steps A13 to A15 of the print setting procedure (see FIG. 2). The auxiliary program 42 can acquire the paper sizes that the printer 2 can support from the paper size information included in the printer 2's capability information.

[0072] The auxiliary program 42 accepts the user's input to select one of the paper sizes compatible with the printer 2 in the displayed paper selection dialog 80 (C12). C12 is an example of a size selection process, and an example of a print size selection process. As a result, the auxiliary program 42 sets one of the paper sizes compatible with the printer 2 as the paper size.

[0073] The auxiliary program 42 may not accept a cancel instruction in C12. That is, the auxiliary program 42 may display a paper selection dialog 80 that does not include a cancel button in C11. On the other hand, if a cancel instruction is accepted, the auxiliary program 42 may notify the general-purpose printing program 41 of the cancellation of printing without performing any processing after C12.

[0074] As described above, when an instruction for detailed print settings is received (A11 in FIG. 2) and a document size that is not a paper size that can be supported by printer 2 is selected, auxiliary program 42 receives the selection of one of the paper sizes that can be supported by printer 2 in paper selection dialog 80 displayed in A25. In this case, the paper size selected as the print settings is a paper size that can be supported by printer 2, so auxiliary program 42 does not execute C11 and C12.

[0075] Then, the auxiliary program 42 determines, based on the print settings, whether the document size of the image to be printed is included in the paper sizes supported by the printer 2 (C15). C15 is an example of the determination process. The intermediate image data generated by the general-purpose printing program 41 in C03 is likely to have been generated based on the document size. Therefore, the intermediate image data acquired by the auxiliary program 42 is likely to have a size based on the document size.

[0076] If the auxiliary program 42 determines that the document size of the image to be printed is not included in the paper sizes compatible with the printer 2 (opt: [determined incompatible]), it performs scaling (C16) to enlarge or reduce the intermediate image data to match the paper size in the print settings or the paper size selected in C12. C16 is an example of scaling processing. This allows the auxiliary program 42 to obtain intermediate image data for a paper size compatible with the printer 2.

[0077] Furthermore, when scaling is performed, the auxiliary program 42 notifies the user IF 13 that the image to be printed will be enlarged or reduced before printing (C17). C17 is an example of notification processing. The auxiliary program 42 notifies the user that the image to be printed will be enlarged or reduced before printing, thereby reducing user confusion about the fact that the enlarged or reduced image will be printed.

[0078] The auxiliary program 42 passes the scaled intermediate image data to the general-purpose printing program 41 and requests rasterization from the general-purpose printing program 41 (C21). Note that, for example, if the print settings received in the detailed print settings need to be edited based on the print settings stored in A32 of Fig. 2, the auxiliary program 42 edits the intermediate image data and print setting information and requests rasterization.

[0079] Based on the request of C11, the general-purpose printing program 41 rasterizes the intermediate image data to generate raster data, which is bitmap data (C22). Furthermore, the general-purpose printing program 41 passes the generated raster data to the auxiliary program 42 (C23). As a result, the auxiliary program 42 obtains the raster data.

[0080] Note that the auxiliary program 42 may perform rasterization instead of the general-purpose printing program 41. In this case, the auxiliary program 42 performs rasterization based on the enlarged or reduced intermediate image data to generate raster data. Rasterization by the auxiliary program 42 allows greater flexibility than rasterization by the general-purpose printing program 41, and is more likely to generate raster data suitable for printing on the printer 2. On the other hand, if rasterization is performed by the general-purpose printing program 41, the auxiliary program 42 requires less processing, and the program size of the auxiliary program 42 can be reduced.

[0081] Furthermore, instead of enlarging or reducing the intermediate image data in C16, the auxiliary program 42 may generate raster data based on intermediate image data that has not been enlarged or reduced, and then enlarge or reduce the generated raster data. Furthermore, if the general-purpose printing program 41 has a function for enlarging or reducing image data, the auxiliary program 42 may instruct the general-purpose printing program 41 to enlarge or reduce the image data. In this case, the auxiliary program 42 may cause the general-purpose printing program 41 to enlarge or reduce the intermediate image data, or to enlarge or reduce the raster data.

[0082] The auxiliary program 42 then encodes the raster data acquired in C23 into PDL data to generate print data (C25). The auxiliary program 42 may also process the raster data as necessary before generating the print data. The auxiliary program 42 then passes the generated print data to the general-purpose print program 41 and instructs it to send the data to the printer 2 (C31). Steps C21 to C31 are processes for causing the printer 2 to print, and are an example of a print process.

[0083] The print data that the auxiliary program 42 passes to the general-purpose print program 41 in C31 may be data in a format that can be printed by the printer 2. Note that the PDL data generated by the auxiliary program 42 may also be data in a format that can be used for printing by printers other than the printer 2 model.

[0084] The general-purpose printing program 41 sends print data to the printer 2 and instructs it to print in accordance with the instructions of the auxiliary program 42 (C32). The printer 2 executes printing based on the received print data (C33). This generates a printed document based on the print instruction output from the editing application 43. After C32, the general-purpose printing program 41 notifies the editing application 43 of the end of processing.

[0085] In C31, the print data is passed to the general-purpose print program 41, which then transmits it to the printer 2. Alternatively, the auxiliary program 42 may transmit a print command instructing printing to the printer 2 along with the print data. For example, if 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 about that processing. In this case, the auxiliary program 42 may notify the general-purpose print program 41 of completion information after completing transmission of the print data.

[0086] Furthermore, for example, if the printer 2 has a function for enlarging or reducing an image to be printed based on print data, the auxiliary program 42 may send a command to the printer 2 instructing the printer 2 to enlarge or reduce the image, instead of enlarging or reducing the image using the auxiliary program 42 or the general-purpose printing program 41. However, if the auxiliary program 42 or the general-purpose printing program 41 performs the enlargement or reduction, the processing load on the printer 2 can be reduced.

[0087] As described above in detail, the auxiliary program 42 of this embodiment, when requested by the general-purpose printing program 41, generates a list of document sizes including paper sizes not supported by the printer 2 and allows the document size to be selected from the list. This makes it possible to print an image of a document size not supported by the printer 2. Furthermore, when such an image is to be printed, the auxiliary program 42 causes the printer 2 to print based on an image obtained by enlarging or reducing the image to be printed to fit one of the paper sizes supported by the printer 2. Therefore, the image to be printed passed from the editing application 43 can be enlarged or reduced and printed on paper that is compatible with the printer 2.

[0088] 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 naturally be improved and modified in various ways without departing from the spirit and scope of the invention. For example, the device connected to PC 1 is not limited to a printer, but may be any device with a printing function, such as a multifunction device, copier, or fax machine. Furthermore, the number of printers connected to PC 1 is not limited to the illustrated example, and may be two or more.

[0089] Furthermore, for example, the examples of screens displayed on the user IF 13 are all merely examples and are not limited to the examples shown in the drawings. Furthermore, the wording, object shapes, backgrounds, etc. displayed on each of the illustrated screens may be any. Furthermore, for example, while FIG. 3 shows the print setting screen D2 including one information display field 52, the arrangement, shape, size, number, etc. of the information display field 52 are not limited to the example shown in this drawing. Furthermore, the information display field 52 may not be present. Furthermore, the notification C17 in FIG. 8 may not be performed.

[0090] In addition, although this specification states that if the document size is not included in the paper sizes supported by the printer 2, the paper size is adjusted to the paper size selected by the user, the selection of the paper size need not be accepted. For example, the auxiliary program 42 may determine the paper size based on the paper size information of the printer 2.

[0091] Although the present specification describes the auxiliary program 42 enlarging or reducing an image to fit the paper size, it is not necessary to enlarge the image. For example, if the document size is smaller than the paper size that the printer 2 can handle and the entire image can be printed, the auxiliary program 42 may print the image without enlarging it, or may accept a user's selection as to whether or not to enlarge the image.

[0092] Furthermore, the timing at which the auxiliary program 42 acquires the capability information of the printer 2 is not limited to the example shown in Fig. 2. For example, when the auxiliary program 42 is started from the general-purpose printing program 41 before the print setting screen D2 (see Fig. 3) is displayed, the auxiliary program 42 may request acquisition of the capability information of the printer 2. Furthermore, the auxiliary program 42 may acquire the capability information of the printer 2 again after receiving an instruction to execute printing.

[0093] Furthermore, if the user changes the default printer from another printer to printer 2 via the OS 21 after the print setting screen D2 is displayed by the general-purpose printing program 41, the general-purpose printing program 41 may also start the auxiliary program 42. In this case, the auxiliary program 42 may also display, for example, an information screen in the information display field 52 that can accept instructions regarding the document size.

[0094] In the 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. Furthermore, the program that executes the process of this embodiment is not limited to the auxiliary program 42, and may be any program that receives instructions from the OS 21 or the general-purpose print program 41 when printing using the general-purpose print program 41. For example, it may be a print workflow application (Print Workflow) whose specifications have been published by Microsoft.

[0095] Furthermore, the execution timing of the auxiliary program 42 is not limited to that of the embodiment. For example, the auxiliary program 42 may be executed in response to a direct execution instruction from the OS 21, or may be a resident auxiliary program 42. If the auxiliary program 42 is resident, it may receive an execution command and perform the above-described operation.

[0096] Furthermore, in any flowchart disclosed in the embodiments, the execution order of multiple processes in any multiple steps can be arbitrarily changed or can be executed in parallel, as long as no contradiction occurs in the processing content.

[0097] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as an ASIC, or a combination thereof. The processes disclosed in the embodiments may be realized in various ways, such as a recording medium on which a program for executing the processes is recorded, or a method.

[0098] 1 PC 2 Printer 11 CPU 13 User IF

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 and having a plurality of paper sizes that can be supported by the support program, the computer being capable of executing an acquisition process for acquiring paper size information indicating a list of paper sizes that can be supported by the printer when a predetermined request is received from the general-purpose printing program, and a generation process for generating document size information including, as a list of document sizes, paper sizes included in the paper size information acquired in the acquisition process and extended paper sizes that are paper sizes that can be supported by the support program but are not included in the paper size information acquired in the acquisition process, and enabling selection of one of the document sizes included in the generated document size information, the computer further being capable of executing a determination process for determining whether or not the document size of the image to be printed based on the print instruction is included in the paper sizes that can be supported by the printer when a print instruction is output from an application program incorporated in the information processing device and is given to the general-purpose printing program to cause the printer to print an image, and A support program configured to execute the following: a scaling process that performs processing to enlarge or reduce the image to be printed to fit one of the paper sizes that the printer can support when the determination process determines that the image does not fall within the paper sizes that the printer can support; and a printing process that performs processing to have the printer print based on the image to be printed, wherein, when the image to be printed has been enlarged or reduced in the scaling process, the printing process performs processing to have the printer print using the enlarged or reduced image.

2. A support program as described in claim 1, which is capable of causing the computer to execute a size selection process that accepts the selection of one of the paper sizes compatible with the printer via a user interface of the information processing device when the document size is not included in the paper sizes compatible with the printer, and in the scaling process, performs the process of enlarging or reducing the image to be printed to fit the paper size selected in the size selection process.

3. A support program as recited in claim 1, wherein the scaling process is configured to generate print data showing an image in which the image to be printed is enlarged or reduced to fit one of the paper sizes compatible with the printer.

4. A support program as described in claim 1, which is configured so that, among paper sizes that are compatible with the support program but are not included in the paper size information acquired in the acquisition process, a paper size that satisfies the conditions for setting the expanded paper size is set as the expanded paper size.

5. A support program as described in claim 1, configured to cause the computer to execute a notification process for notifying a user interface of the information processing device that the image to be printed will be enlarged or reduced when the scaling process is executed.

6. A support program as described in claim 1, wherein the specified request is a request based on a request for obtaining a list of paper sizes input from the application program incorporated in the information processing device to the general-purpose printing program, and the generated original size information is passed to the application program by executing the generation process, making it possible to select one of the original sizes included in the original size information in the application program.

7. A support program as recited in claim 6, configured to cause the computer to, when the print instruction is received, execute a print size selection process that accepts a selection of one of the paper sizes that the printer can support via a user interface of the information processing device before executing the scaling process if the determination process determines that the paper size is not included in the paper sizes that the printer can support, and in the scaling process, perform the process of enlarging or reducing the image to be printed to fit the paper size selected in the print size selection process.

8. A support program as recited in claim 1, wherein the specified request is a request to display a setting screen, and the support program is configured to cause the computer to execute a display process for displaying the setting screen on a user interface of the information processing device when an instruction to display the setting screen is received from the general-purpose printing program, and to enable selection of one of the document sizes included in the document size information on the setting screen.

9. A support program as described in claim 8, configured to cause the computer to execute a setting size selection process that accepts, via a user interface of the information processing device, the selection of one of the paper sizes that the printer can handle, based on the selection of a paper size that the printer does not support as an original size on the setting screen, and in the scaling process, to perform the process of enlarging or reducing the image to be printed to fit the paper size selected in the setting size selection process.

Citation Information

Patent Citations

  • Information processing apparatus, server, system, display method, and program

    JP2022042568A

  • Support program

    JP2022100566A

  • Support program

    WO2022138317A1