Support program

The support program addresses the limitation of OS-standard printing programs by determining compatible paper sizes and adjusting image sizes, allowing printing of unsupported document sizes on any printer.

JP2024124645APending Publication Date: 2024-09-13BROTHER KOGYO KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023032468
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-03
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Existing OS-standard general-purpose printing programs lack the capability to enlarge or reduce images for printing, as they do not integrate printer driver scaling functions, limiting the ability to print documents of unsupported sizes.

Method used

A support program that interacts with the OS-standard printing program to determine compatible paper sizes, adjusts image sizes to fit supported paper formats, and executes printing instructions to ensure documents can be printed on compatible paper.

Benefits of technology

Enables printing of documents in unsupported sizes by adjusting images to fit compatible paper sizes, ensuring successful printing across various printers without relying on vendor-specific drivers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024124645000001
    Figure 2024124645000001
Patent Text Reader

Abstract

To provide a technology which enlarges or reduces an image to be printed, in an information processing device with an OS-standard general-purpose printing program installed thereon.SOLUTION: An auxiliary program 42 acquires paper size information indicating a list of paper sizes compatible with 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 allows one document size included in the generated document size information to be selected. In response to a print instruction that is output 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 determines whether the document size is a paper size compatible with the printer 2, and, if the document size is determined to be incompatible, enlarges or reduces the image to be printed so as to fit a paper size compatible with the printer 2 and causes the printer 2 to print the image to be printed.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, there is known a technique in which a printer driver enlarges or reduces an image to be printed to any size. For example, Patent Document 1 discloses a technique in which a printer driver capable of handling XML files and EMF files has a scaling function for adjusting the print area. [Prior art documents] [Patent documents]

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

[0004] 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 the printer driver provided by the printer vendor mentioned above. With this technology, when the OS detects a printer, it associates it with the general-purpose print program that is standard to the OS, and thereafter, when a print instruction is received for that printer, the general-purpose print program that is standard to the OS generates print data without using a printer driver provided by the printer vendor, making it possible to print using the general-purpose print program that is standard to the OS.

[0005] However, there is no disclosure of a technique for enlarging or reducing an image received from an application program and printing it when printing is performed from an information processing device via the above-mentioned 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 and printed, so there is room for improvement. [Means for solving the problem]

[0006] A support program devised for solving the above-mentioned problems is executable by a computer of an information processing device, and corresponds to a printer connected to the information processing device, 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 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 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 and 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. and further configured to cause the computer to execute the following printing instructions: when a print instruction is output from an application program incorporated in the information processing device to the general-purpose print program, the print instruction causing the printer to print an image, a determination process for determining whether or not an original size of the image to be printed based on the print instruction is included in a paper size 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 original size is not included in the paper sizes that can be supported by the printer; and a printing process for performing a process to cause the printer to print based on the image to be printed, and if the image to be printed has been enlarged or reduced in the scaling process, the printing process for performing the process to cause the printer to print using the enlarged or reduced image.

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

[0008] 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

[0009] According to the technology disclosed in this specification, a technology is realized in which an image to be printed is enlarged or reduced and printed in an information processing apparatus in which a general-purpose print program that is standard for an OS is installed. [Brief description of the drawings]

[0010] [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 print setting procedure. [Diagram 3] FIG. 4 is an explanatory diagram showing an example of a print setting screen. [Figure 4] FIG. 13 is an explanatory diagram showing an example of a detailed setting screen. [Diagram 5] FIG. 13 is an explanatory diagram showing an example of a size list screen. [Figure 6] FIG. 13 is an explanatory diagram showing an example of a paper selection dialog. [Figure 7] FIG. 11 is a sequence diagram showing an example of an image creation procedure. [Figure 8] FIG. 11 is a sequence diagram illustrating an example of a printing execution procedure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

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

[0012] 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.

[0013] 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 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 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.

[0015] 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.

[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 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.

[0017] 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).

[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 having the generic printing program 41. The generic printing program 41 is not configured to use a printer driver 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, particularly functions that require complex processing.

[0020] 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 image data based on the image data. The intermediate image 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 image 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.

[0021] 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 of 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 that will 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 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.

[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 in the memory 12 the identification information of the installed auxiliary program 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'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.

[0025] In this embodiment, the PC1 is connected to the printer 2 via the communication IF 14 as shown in FIG. 1. 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 PC1 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.

[0026] Next, the operation of the PC 1 in 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 according to the instructions written in a program such as the auxiliary program 42. The processing 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.

[0027] First, a procedure for printing a document or image created using the editing application 43 or the like, in which a print setting instruction from a user is received, will be described with reference to the sequence diagram of Fig. 2. For example, when 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 causes the user IF 13 to display a print setting screen (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. 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, a detailed settings button 54, and a print button 55. The printer selection field 51 is a field for accepting the selection of a device to execute 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 in a state in which printer 2 is set as the printer normally used in the OS 21, the general-purpose print program 41 can start 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 that accepts basic settings such as the number of copies to be printed and the orientation of the document. 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, for example, the default paper size set in the general-purpose printing program 41 or the auxiliary program 42 is displayed in this paper size selection field 531. The detailed settings button 54 is a button that accepts an instruction to make detailed settings that are not included in the basic print settings selection field 53. The print button 55 is a button that accepts an instruction to execute printing with 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 detailed settings button 54 (A11), the general-purpose printing 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 of 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 handle. A15 is an example of an acquisition process.

[0033] The general-purpose printing program 41 communicates with the printer 2 in A14 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.

[0034] 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 or detected 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.

[0035] The auxiliary program 42 can obtain, 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, or may be information on paper sizes that can be accommodated in each paper feed tray of the printer 2, or may be information on paper sizes set or detected in each paper feed tray.

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

[0037] The auxiliary program 42 can display, for example, a detailed setting screen 60 as shown in FIG. 4 on the user IF 13 in A17. The detailed setting screen 60 is an example of a setting screen. The detailed setting screen 60 includes, for example, a setting field 61 that accepts the setting of the document size. Note that the document size in the print settings is information indicating 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 print program 41. A12 including a display request for the detailed setting screen 60 is an example of a predetermined request. A17 that displays the detailed setting screen 60 in response to a display instruction from A12 is an example of a display process.

[0038] The auxiliary program 42 displays, as the default document size, the same size as the default paper size of the printer 2 in the setting field 61 of the detailed setting screen 60 displayed in A17. 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 instruct the selection of the document size by operating the setting field 61 of the detailed setting screen 60. When the auxiliary program 42 receives the instruction to select the document size (A21), it generates size list information that provides document size options, and causes the user IF 13 to display a screen that accepts the user's selection (A22). A22 is an example of the generation process. The size list information is an example of document size information.

[0041] The auxiliary program 42 causes the user IF 13 to display, 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 capability information of the printer 2 acquired by A15. The options displayed on the size list screen 70 may further 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 including options 71 for "A3" and 72 for "JIS B4" as shown in FIG. 5.

[0042] Specifically, the auxiliary program 42 is provided with information on paper sizes that it can handle, and A22 generates size list information including 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 are, for example, paper sizes that cannot be printed using the functions of the printer 2, 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 compatible with 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 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 acquired from the printer 2. If the auxiliary program 42 has conditions for determining paper sizes to be included in the size list information, it is possible to 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 a paper size having an area twice that of each paper size included in the paper size information acquired from the printer 2 as a paper size to be included in the size list information. The auxiliary program 42 may also set a paper size having an area four times that of each paper size included in the paper size information acquired from the printer 2 as a paper size not to be included in the size list information. The auxiliary program 42 may also be provided with information on the maximum paper size that it can handle, and may set a paper size having at least one of the length and width that exceeds the maximum paper size as a paper size not to be included in the size list information.

[0045] The user instructs the document size to be set by selecting a desired size on the displayed size list screen 70 (A23). A23 is an example of a size selection process, and an example of a size selection process at the time of setting. When a request to display the detailed setting screen 60 is made, the auxiliary program 42 can display a selection of possible document sizes including paper sizes that cannot be handled by the printer 2, so that there is a high degree of freedom in the selection of document sizes.

[0046] The auxiliary program 42 determines whether the document size selected by the user is included in the paper sizes that can be handled by the printer 2 (A24). If it is determined that the document size is not a supported paper size (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 80 for accepting user operations, as shown in FIG. 6, overlaid on the detailed setting screen 60 being displayed. The paper selection dialog 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 a selection from all paper sizes that the printer 2 can handle, and does not accept a selection of a paper size that the printer 2 cannot handle. The auxiliary program 42 accepts input to the OK button 82 or the cancel button 83 in the paper selection dialog 80 being displayed (A26). A26 may be an example of a size selection process.

[0048] It should be noted that while the paper selection dialog 80 is displayed, the auxiliary program 42 does not accept any operation 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 being displayed, and becomes able to accept operations on the detailed settings screen 60.

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

[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 for receiving an instruction to select a paper size that cannot be supported by the printer 2 as an original size by operating the setting field 61. The timing for displaying the paper selection dialog 80 may be, for example, the timing for applying a paper size that cannot be supported by the printer 2 as an original size by pressing an apply button or the like, or the timing for receiving an instruction to end the print settings 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 setting started by the instruction of A11, for example, by operating the OK button 62 on the detailed setting screen 60 (A31). When the auxiliary program 42 receives an instruction from the user to end the print setting, it ends the display of the detailed setting screen 60 and stores the received print setting information (A32). The auxiliary program 42 stores the print setting information including, for example, document size information and paper size information.

[0052] Then, the auxiliary program 42 passes the accepted print setting information to the general-purpose printing program 41 and notifies the general-purpose printing program 41 of the end of acceptance of the detailed print settings (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 of the end of acceptance of the print settings (A34). The auxiliary program 42 may notify the editing application 43 of the end of acceptance of the print settings. 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 available to accept user instructions such as an instruction to execute printing 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 on the operation to the auxiliary program 42. The auxiliary program 42 then displays, for example, an information screen capable of receiving a setting of a document size in the information display field 52, and can receive a setting instruction for the document size according to a user's instruction in the information display field 52. Even when the document size is received via the information display field 52, if the set document size is a paper size that cannot be handled by the printer 2, the auxiliary program 42 may display the paper selection dialog 80 described above.

[0054] Next, a procedure will be described for accepting settings related to printing 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 edits on an image on the premise that it will be printed by the printer 2. A procedure for generating an image to be printed in this case will be described with reference to the sequence diagram of 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 launches the auxiliary program 42 corresponding to printer 2 in response to the request of B02. Furthermore, the general-purpose printing program 41 requests information indicating a list of document sizes compatible with printing on 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 of B03, it acquires the capability information of the printer 2 (B05 to B07). Note that the steps of B05 to B07 are similar to the steps A13 to A15 of the print setting procedure (see FIG. 2). B07 is an example of an acquisition process.

[0058] The auxiliary program 42 generates size list information that is a choice of document sizes 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 is compatible with the auxiliary program 42 and includes paper sizes that are not included in the paper size information acquired from the printer 2. This size list information becomes document size information for accepting the selection of document sizes in the editing application 43. B11 is an example of a generating process. Paper sizes that are compatible with the auxiliary program 42 and are not included in the paper size information acquired from the printer 2 are an example of extended paper sizes. The auxiliary program 42 may generate size list information that includes all paper sizes that are compatible with the auxiliary program 42, or may generate a choice group determined based on a predetermined condition.

[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 handled 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 a document size.

[0060] The editing application 43 displays a screen showing a list of sizes on the user IF 13 based on the received size list information (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 including paper sizes that cannot be handled 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 an instruction to create the document from the user based on the document size selected by the user (B21). The editing application 43 generates image data indicating an image of the document to be printed based on the user's instruction (B22).

[0062] When no particular designation is received, the editing application 43 may, for example, set the paper size of the printing target 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. 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 of Fig. 8. The user specifies an image to be printed in the editing application 43 and inputs an instruction to execute printing (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 printing program 41 (C02). 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 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 acquired 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 suitable for generating print data, the generation of the intermediate image data may be omitted and the intermediate image data may be used as is.

[0066] In C02, the editing application 43 passes image data indicating an 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] Note that, before generating the intermediate image data, the general-purpose printing program 41 may start an auxiliary program 42 corresponding to the designated device, the printer 2, to notify the start of print job processing. When the auxiliary program 42 is started from the general-purpose printing program 41, it 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] Then, the auxiliary program 42 obtains information on 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 obtains the paper size information from the print setting information stored in A32. If the print setting procedure has not been executed, the auxiliary program 42 obtains the paper size information from the print setting information obtained in C04.

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

[0071] If the auxiliary program 42 has not yet acquired the capability information of the printer 2, the auxiliary program 42 may acquire the capability information of the printer 2 before C11. The procedure for acquiring the capability information is the same as 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 capability information of the printer 2.

[0072] The auxiliary program 42 accepts the selection of one of the paper sizes compatible with the printer 2 by the user's input 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. In other words, 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 acceptable and the auxiliary program 42 accepts a cancel instruction, the auxiliary program 42 may notify the general-purpose printing program 41 of the cancellation of printing without performing any process after C12.

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

[0075] Then, the auxiliary program 42 determines whether the document size of the image to be printed is included in the paper sizes that the printer 2 can handle based on the print settings (C15). C15 is an example of a determination process. The intermediate image data generated by the general-purpose print 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 that the printer 2 can handle (opt:[determined to be incompatible]), it executes scaling 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). C16 is an example of a scaling process. This allows the auxiliary program 42 to obtain intermediate image data for a paper size that the printer 2 can handle.

[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 a notification process. The auxiliary program 42 notifies the user that the image to be printed will be enlarged or reduced before printing, so that it is possible to suppress confusion of the user about the fact that the enlarged or reduced image will be printed.

[0078] The auxiliary program 42 passes the intermediate image data after scaling 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 in Fig. 2, the auxiliary program 42 edits the intermediate image data and the 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 freedom compared to rasterization by the general-purpose printing program 41, and is more likely to generate raster data suitable for printing by the printer 2. 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.

[0081] Also, 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 enlarge or reduce the generated raster data. Also, 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 it. In that 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] Then, the auxiliary program 42 encodes the raster data acquired in C23 into PDL data to generate print data (C25). Note that the auxiliary program 42 may process the raster data as necessary before generating the print data. Furthermore, the auxiliary program 42 passes the generated print data to the general-purpose printing program 41 and instructs it to send it to the printer 2 (C31). 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 be data in a format that can be used for printing by printers other than the model of the printer 2.

[0084] The general-purpose printing program 41 transmits print data to the printer 2 in response to an instruction from the auxiliary program 42, and instructs the printer 2 to print (C32). The printer 2 executes printing based on the received print data (C33). As a result, a printed matter is generated 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 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 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] Also, 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 printer 2 enlarges or reduces the image using the auxiliary program 42 or the general-purpose printing program 41, the processing load on the printer 2 can be reduced.

[0087] As described above in detail, the auxiliary program 42 of this embodiment generates a list of document sizes including paper sizes that are not supported by the printer 2 when requested by the general-purpose printing program 41, and enables the document size to be selected from the list. This makes it possible to print an image of a document size that is 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 that is enlarged or reduced to fit one of the paper sizes that the printer 2 can support. Therefore, the image to be printed that is passed from the editing application 43 can be enlarged or reduced and printed on paper that the printer 2 can support.

[0088] 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.

[0089] Also, for example, the examples of the screens displayed on the user IF 13 are all merely examples and are not limited to the examples shown in the drawings. Furthermore, any wording, object shape, background, etc. displayed on each of the illustrated screens may be used. 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 figure. Furthermore, the information display field 52 may not be present. Furthermore, the notification of C17 in FIG. 8 may not be performed.

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

[0091] In addition, although the auxiliary program 42 enlarges or reduces the image according to the paper size in this specification, the image does not have to be enlarged. 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 the user's selection of 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, when the user changes the normally used 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, in the information display field 52, an information screen capable of accepting 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. The program that executes the process of the present 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 printing program 41 when printing is performed using the general-purpose printing 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 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.

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

[0097] 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]

[0098] 1 PC 2. Printer 11 CPU 13 User Interface

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 includes: 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 handled by the printer; a generation process for generating document size information including, as a list of document sizes, the paper sizes included in the paper size information acquired in the acquisition process and extended paper sizes which are paper sizes compatible with the support program and are not included in the paper size information acquired in the acquisition process, and for enabling selection of one of the document sizes included in the generated document size information; It is possible to execute The computer further comprises: 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, a determination process for determining whether or not a document size of the image to be printed based on the print instruction is included in a paper size that can be supported by the printer; a scaling process for enlarging or reducing the image to be printed to fit one of the paper sizes supported by the printer when the determination process determines that the paper size is not included in the paper sizes supported by the printer; A printing process for causing the printer to perform printing based on the image to be printed, and when the image to be printed has been enlarged or reduced in the scaling process, the printing process for causing the printer to perform printing using the image after enlargement or reduction is performed; Execute the A support program configured to:

2. 2. A support program as claimed in claim 1, The computer includes: When the document size is not included in the paper sizes that can be handled by the printer, a size selection process can be executed to receive, via a user interface of the information processing device, a selection of one of the paper sizes that can be handled by the printer; In the scaling process, performing the process of enlarging or reducing the image to be printed in accordance with the paper size selected in the size selection process; A support program configured to:

3. 2. A support program as claimed in claim 1, In the scaling process, generating print data showing an image obtained by enlarging or reducing the image to be printed so that the image matches one of the paper sizes supported by the printer; A support program configured to:

4. 2. A support program as claimed in claim 1, There are conditions for setting the extended paper size, and among paper sizes that are compatible with the support program and are not included in the paper size information acquired in the acquisition process, a paper size that satisfies the conditions is set as the extended paper size. A support program configured to:

5. 2. A support program as claimed in claim 1, The computer includes: executing 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 has been executed; A support program configured to:

6. 2. A support program as claimed in claim 1, the predetermined request is a request based on a request for acquiring a list of paper sizes input from the application program installed in the information processing device to the general-purpose printing program, the document size information generated by the execution of the generation process is passed to the application program, and one of the document sizes included in the document size information can be selected in the application program. A support program configured to:

7. A support program according to claim 6, The computer includes: When the print instruction is given, when it is determined in the determination process that the paper size is not included in the paper sizes that can be handled by the printer, a print size selection process is executed in which a selection of one of the paper sizes that can be handled by the printer is received via a user interface of the information processing device before the scaling process is executed; In the scaling process, performing the process of enlarging or reducing the image to be printed in accordance with the paper size selected in the print size selection process; A support program configured to:

8. 2. A support program as claimed in claim 1, the predetermined request is a request to display a setting screen, The computer includes: when an instruction to display the setting screen is received from the general-purpose printing program, a display process is executed to display the setting screen on a user interface of the information processing device, and one of the document sizes included in the document size information can be selected on the setting screen. A support program configured to:

9. A support program according to claim 8, The computer includes: executes a setting size selection process for receiving, via a user interface of the information processing device, a selection of one of the paper sizes compatible with the printer, based on the selection of a paper size that is not compatible with the printer as an original size on the setting screen; In the scaling process, performing the process of enlarging or reducing the image to be printed in accordance with the paper size selected in the setting size selection process; A support program configured to:

Citation Information

Patent Citations

  • Print controller, print control method, and storing medium

    JP2002127566A

  • Information processing device, method therefor, and program

    JP2015026213A

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

    JP2022042568A

  • Support program

    JP2022100566A

  • Plug-in software program, function expanding method and function expanding device

    WO2009154227A1