Application program, storage medium, method for controlling information processing apparatus, and information processing apparatus

The extension application program addresses the limitations of standard printer drivers by adding advanced printing features through fake resolutions and exclusive controls, enhancing user functionality and image quality in printer systems.

JP2024159861AActive Publication Date: 2024-11-08CANON KK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024139288
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-08
Estimated Expiration
2039-12-27

AI Technical Summary

Technical Problem

Existing extended applications for printer drivers lack the capability to fully enhance the functionality of standard drivers, particularly in editing spool files to provide advanced printing features.

Method used

An extension application program that adds functionality not supported by print data generation software by specifying and generating print data based on supported functions, including features like layout and booklet printing, using fake resolutions and exclusive control information to expand print capabilities.

Benefits of technology

Enhances printing functionality by allowing users to specify and execute advanced features such as layout and booklet printing without deteriorating image quality, leveraging existing print data generation software capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024159861000001_ABST
    Figure 2024159861000001_ABST
Patent Text Reader

Abstract

To provide a better function as an extension application.SOLUTION: Provided is a program for an extension application for extending a function not supported by print data generation software that generates print data, the program causing a computer to execute a step of adding information related to a first function that is a function not supported by the print data generation software, a step of, when the first function is designated, designating information related to a second function that is a function supported by the print data generation software, and a step of generating print data for realizing the first function on the basis of the designated information related to the second function.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a program and a control method, and more particularly to a technology for extended applications. [Background technology]

[0002] There is a known configuration in which a printer driver installed on a host computer is used as software for controlling the printing device to issue print instructions to a printing device connected to the host computer. An operating system (OS), which is the basic software, is installed on the host computer, and the printer driver is configured according to the specifications defined by the OS and runs when called by the OS. By providing a printer driver that conforms to the OS specifications, a vendor that provides a printing device can provide a means of issuing print instructions to the printing device using the OS.

[0003] In recent years, Windows (registered trademark) has provided standard class drivers (hereinafter also referred to as "standard drivers") that can be commonly used by printing devices provided by multiple vendors. Such standard drivers are included in the OS package and can be easily used by connecting any printing device to the host computer. This makes it unnecessary to separately install a model-specific printer driver suitable for the printing device, which is highly convenient. In addition, the standard driver is configured to be able to specify printing functions according to PrintCapabilities generated based on information obtained from the connected printing device. This allows a user who uses the standard driver to specify printing functions according to the capabilities of the connected printing device, even though the user is using one standard driver.

[0004] A standard driver can be associated with an application for function extension (hereinafter also referred to as an "extension application"). The extension application can be provided by a vendor that supplies a printing device. By providing this extension application, the vendor can provide functions (extension functions) that cannot be realized by the standard driver alone. Patent Document 1 discloses a technology for extending functions such as a stamp function by using an extension application. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2019-74906 A Summary of the Invention [Problem to be solved by the invention]

[0006] The extension application of Patent Document 1 can edit the spool file. The extension application can realize the layout printing function by editing the spool file. However, further ingenuity is required for the extension application that extends the function of the standard driver to provide better functions. [Means for solving the problem]

[0007] In order to solve the problems described above, one aspect of the program of the present invention is an extension application program for extending functions not supported by print data generation software that generates print data, and includes the steps of adding to a computer information related to a first function, which is a function not supported by the print data generation software, and when the first function is specified, specifying information related to a second function, which is a function supported by the print data generation software, and generating print data for realizing the first function based on the information related to the specified second function. Effect of the Invention

[0008] One aspect of the present invention allows for better functionality as an enhanced application. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a block diagram showing a hardware configuration of a printing system. [Diagram 2] FIG. 1 is a block diagram of a printing system. [Diagram 3] 11 is a flowchart of a printing function information editing process of a printing function extension unit. [Figure 4] Example of PDC. [Diagram 5] Example of a list of additional features. [Figure 6] PrintTicket example. [Figure 7] An example of layout editing using the allocation function. [Figure 8] 11 is a flowchart of a print setting change process of the print setting editing unit. [Figure 9] Example config change list. [Figure 10] 5 is a flowchart of a print data editing process of the print data editing unit. [Figure 11] An example of print setting attribute information. [Figure 12] An example of the print settings screen expansion unit. [Figure 13] 11 is a flowchart of a printing function information editing process of a printing function extension unit. [Figure 14] 11 is a flowchart of a print setting change process of the print setting editing unit. [Figure 15] An example of layout editing using the booklet function. [Figure 16] 11 is a flowchart of a print setting change process of the print setting editing unit. [Figure 17] 5 is a flowchart of a print data editing process of the print data editing unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the scope of the present invention, and not all of the combinations of features described in the embodiments are essential to the solution of the present invention. Note that the same components are given the same reference numbers and descriptions are omitted.

[0011] <<Embodiment 1>> <Printing system hardware configuration> 1 is a block diagram showing the hardware configuration of a printing system. In this diagram, a host computer 101 is an example of an information processing device, and has an input interface 110, a CPU 111, a ROM 112, a RAM 113, an external storage device 114, an output interface 115, and an input / output interface 116. In addition, input devices such as a keyboard 118 and a pointing device 117 are connected to the input interface 110, and a display device such as a display unit 119 is connected to the output interface 115.

[0012] An initialization program is stored in the ROM 112. Application programs, an operating system (OS), print data generation software, and various other data are stored in the external storage device 114. The RAM 113 is used as a work memory or the like when the various programs stored in the external storage device 114 are executed, and the various programs can run within the host computer 101.

[0013] In this embodiment, the CPU 111 executes processes according to the procedures of the program stored in the ROM 112, thereby executing functions of the host computer 101 described below and processes related to the flowcharts described below. The printing device 102, which is a device, is connected to the host computer 101 via an input / output interface 116. Here, the host computer 101 and the printing device 102 are configured separately, but they may be configured as one information processing device. The printing device will be described as an inkjet printer that prints by ejecting ink onto a paper surface, but printing may be performed by other methods (for example, electrophotography). The host computer 101 may be a desktop personal computer, a smartphone, or a notebook computer.

[0014] <Printing system configuration> Fig. 2 is a diagram showing a schematic configuration of a printing system. Here, the printing system will be described on the premise that a host computer 101 is equipped with Microsoft Windows 10 as the OS. Fig. 2(a) shows a typical configuration when an extension application 204 is not associated with print data generation software 202 and the printing device 102.

[0015] The drawing application 201 is software that creates content (drawing data) to be printed. For example, this corresponds to a word processing application or a spreadsheet application. When the drawing application 201 receives a print request from a user, it issues a print instruction to the OS. The print instruction includes print setting information for instructing the operation of the print data generation software 202 and the printing device 102. The print setting information is also called a PrintTicket (hereinafter, "PT").

[0016] In order to output print setting information, the drawing application 201 can display a print setting screen provided by the print data generation software 202, the OS, or the drawing application 201. The print setting screen includes setting items (hereinafter also referred to as "control items") indicating print functions that can be set according to capability information (information that can be set as print settings) acquired from the print data generation software 202, and control items indicating the setting values. The capability information is also called PrintCapabilities (hereinafter "PC"). The print data generation software 202 determines the PC based on the print function information 203. The print function information 203 is data indicating all print functions that can be set, their setting values, and the exclusive relationship between the setting values. The print function information 203 is also called PDC (Print Device Capabilities). The print function information 203 is included in a configuration file of the print data generation software 202, and is arranged in the external storage device 114 as an unchangeable file. Alternatively, the print function information 203 can be dynamically generated by the print data generation software 202. Specifically, the print data generation software 202 or the OS can be configured to acquire printing device attribute data from the printing device 102, and generate printing capability information 203 according to the attribute information in the acquired attribute data. When the printing capability information 203 is dynamically generated, the generated printing capability information 203 is editable. The printing device attribute data acquired from the printing device 102 is a response acquired by issuing a Get-Printer-Attributes operation of IPP (Internet Print Protocol) to the printing device. The response includes attribute information indicating functions (printing device capabilities) that can be specified by the printing device 102, and setting values ​​related to that attribute information. This response is saved in the RAM 113.

[0017] By configuring in this way, the print data generation software 202 can be configured so that the user can specify the print functions available in each printing device 102 according to the connected printing device 102. That is, even if printing devices with different functions or printing devices developed by different vendors are connected, the print data generation software 202 can be configured so that the user can specify the print functions available in accordance with the connected printing device. Note that here, a configuration using an IPP Class Driver installed in Windows (registered trademark) 10 will be described as the print data generation software 202. The IPP Class Driver is a printer driver that executes print processing according to the specifications of a standard printing protocol called IPP (Internet Print Protocol), and is included in the OS package. The IPP Class Driver is not a specific printer driver according to the model of the printing device 102, but a standard class driver that can be commonly used by multiple printing devices. In addition, the IPP Class Driver acquires capability information of the connected printing device 102 so that the user can specify the print functions supported by the connected printing device 102, and generates print function information 203 based on the information.

[0018] The OS generates intermediate data (also called input data) based on the print instruction output from the drawing application 201, and passes it to the print data generation software 202. The data output by the drawing application 201 for printing is data in Graphic Device Interface format (GDI format data) or data in XML Paper Specification format (XPS format data). When an IPP Class Driver is used as the print data generation software 202, if the data output by the drawing application 201 is data in GDI format, the OS converts the data in GDI format output from the drawing application 201 into data in XPS format. Then, it passes the converted data in XPS format to the print data generation software 202 as intermediate data. If the data output by the drawing application 201 is data in XPS format, the OS passes the data in XPS format to the print data generation software 202 as intermediate data. The intermediate data includes drawing data, which is information on a picture to be formed on paper, and print setting information set by the user.

[0019] The print data generation software 202 converts the acquired intermediate data into print data that can be interpreted by the printing device 102, and transmits it to the printing device 102. The print data includes drawing data, which is information about a picture to be formed on paper, and print setting attribute information (attribute information that specifies print settings) generated based on print setting information set by the user. The print setting attribute information includes attribute information that indicates functions that can be specified by the printing device 102 (capabilities of the printing device) and setting values ​​related to that attribute information.

[0020] The printing device 102 prints on paper based on the print data sent from the print data generation software 202. At this time, the printing device 102 forms the drawing data included in the print data on paper in accordance with the print setting attribute information included in the print data. The print setting attribute information includes attribute information and its setting value for specifying the print quality (priority on image quality, priority on speed, etc.) and double-sided printing. For example, if the print setting attribute information includes attribute information specifying double-sided printing, the printing device 102 executes double-sided printing.

[0021] 2B is a diagram showing a configuration when the extension application 204 is associated with the print data generation software 202 and the printing device 102. Note that configurations and processes not specifically mentioned below are the same as those in FIG. 2A.

[0022] The extension application 204 is software for extending the functions of the print data generation software 202, and is not included (bundled) in advance in the OS. Therefore, the user needs to operate the host computer 101 to download and install the extension application 204 from a server via the Internet. Alternatively, the extension application 204 may be automatically installed when the printing device 102 is connected to the host computer 101. Specifically, when the printing device 102 is connected to the host computer 101, the OS acquires device identification information from the printing device 102. The OS may download and install the extension application 204 corresponding to the acquired device identification information from a server via the Internet. In other words, the print data generation software 202 and the extension application 204 are held in the host computer 101 as separate files.

[0023] Note that the print data generation software 202 and the extension application 204 may be updated and upgraded, but these update processes are also performed at different times. That is, the timing at which the host computer 101 acquires the print data generation software 202 is different from the timing at which the extension application 204 is acquired. In addition, the trigger at which the host computer 101 acquires the print data generation software 202 is different from the trigger at which the extension application 204 is acquired. Note that when the extension application 204 is installed, the OS associates the extension application 204 with the print data generation software 202 and the printing device 102.

[0024] The extension application 204 described in this embodiment includes a print setting screen extension unit 205, a print setting editing unit 206, a print function extension unit 207, and a print data editing unit 208. The extension application 204 also includes shared information 209 that can be commonly accessed by each unit. The shared information 209 is actually a file saved in the external storage device 114, or information stored in the RAM 113. The extension application 204 writes and reads information to the shared information 209 by using an API (Application Program Interface) provided by the OS.

[0025] The extension application 204 may terminate operation each time the processing of each unit is completed. In that case, the OS will launch the extension application 204 each time a request to use each unit is received. Other configurations are also possible. For example, when the processing of the print setting screen extension unit 205 is completed, the OS will terminate the operation of the extension application 204, but the OS may keep the extension application 204 running even after the processing of the print setting editing unit 206 is completed.

[0026] When the drawing application 201 receives a print request from a user, it issues a print instruction to the OS. In this configuration, as in the configuration of FIG. 2(a), the drawing application 201 can display a print setting screen. In this configuration, the print setting screen provided by the extension application 204 is displayed. Specifically, the print setting screen provided by the print setting screen extension unit 205 included in the extension application 204 is displayed. Note that whether or not the print setting screen provided by the print setting screen extension unit 205 is displayed depends on the user's operation. Details of the print setting screen extension unit 205 will be described later with reference to FIG. 12.

[0027] The OS generates intermediate data based on the print instruction output from the drawing application 201, and passes it to the print setting editing unit 206. The print setting editing unit 206 edits the print setting information (PT) included in the generated intermediate data, and passes the edited print setting information to the OS. The print setting editing unit 206 can display a screen on the display unit 119, or not. The print setting editing unit 206 can determine whether or not to display a screen provided by the print setting editing unit 206 itself on the display unit 119, regardless of the user's operation. Therefore, it is preferable to configure settings and functions that must be specified by the user for each print job to be specified on a screen displayed by the print setting editing unit 206. Examples of such functions include secure printing using a personal identification number (PIN) and information on the destination for FAX transmission (recipient, FAX number, etc.). In this example, the print setting editing unit 206 stores the PIN information specified by the user in the print setting information, and passes it to the OS. The PIN information specified by the user may be stored in the shared information 209 that can be commonly accessed by each unit.

[0028] The OS passes the intermediate data including the edited print setting information to print data generation software 202. The print data generation software 202 converts the intermediate data into print data that can be interpreted by the printing device 102. The OS passes the converted print data to print data editing unit 208. Furthermore, the OS may be configured to pass the print setting information included in the intermediate data to the print data editing unit 208.

[0029] The print data editing unit 208 edits the print data generated by the print data generation software 202 and passes the edited print data to the OS. For example, in the case of secure printing, the print data editing unit 208 reads the PIN information specified by the print setting editing unit 206 from the print setting information received from the OS or from the shared information 209, and adds it to the print setting attribute information included in the print data.

[0030] The OS sends the print data edited by the print data editing unit 208 to the printing device 102. The printing device 102 prints on paper based on the print data sent from the print data generation software 202.

[0031] The extension application 204 also includes a print function extension unit 207. The print function extension unit 207 can edit the print function information 203 (PDC) generated by the print data generation software 202 or the OS. This allows the print function extension unit 207 to add functions provided by the extension application 204, add functions supported by the printing device 102 but not supported by the print data generation software 202, add exclusive relationships between setting values ​​of print functions, and the like. The OS starts the print function extension unit 207 when the extension application 204 is first associated with the printing device 102 and the print data generation software 202. Furthermore, the OS may start the print function extension unit 207 at other times, such as when the OS is started. In this way, in a case where an optional device (e.g., a finisher, etc.) is added to the printing device 102 later and functions related to printing are extended, the print function extension unit 207 can detect the extended function and add it to the print function information 203.

[0032] The configuration of the extension application 204 for realizing this embodiment is not limited to having all of the above-mentioned functions (units), and may have only some of the functions or other functions. The extension application 204 is sometimes simply called print software. As described above, the extension application 204 can be said to have at least one of the following functions: a function for displaying a setting screen (print setting screen extension unit 205), a function for editing intermediate data input to the print data generation software 202 (print setting editing unit 206), a function for editing print data input to the printing device (print data editing unit 208), and a function for expanding functions that can be specified by the print data generation software (print function extension unit 207).

[0033] <Editing process of print function information by the print function extension unit> 3 is a diagram showing the main process flow of the editing process of the print function information by the print function extension unit 207 in this printing system. Hereinafter, the print function extension unit 207 may be described as the subject of each process, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program.

[0034] First, the flow in FIG. 3 starts when the OS starts up the print function extension unit 207, for example, when the extension application 204 is associated for the first time.

[0035] In S301, the print function extension unit 207 determines whether or not a feature called JobNUpAllDocumentsContiguously is included in PDC (Print Device Capabilities).

[0036] An example of a PDC will now be described with reference to FIG. 4A. The PDC 401 includes information on features supported by the printing device 102, information on setting values ​​for certain features, and exclusive information indicating that certain features cannot be selected at the same time. For example, information 402 indicates that 600x600dpi can be specified as PageResolution. If S301 is Yes, the print function extension unit 207 ends the processing of this flow. Here, since PDC 401 does not include JobNUpAllDocumentsContiguously, the determination in S301 is No. If S301 is No, proceed to S302.

[0037] In S302, the print function extension unit 207 adds an allocation function to the PDC. An example of a PDC after editing according to this flowchart is shown in FIG. 4B. Here, in the PDC 403, the allocation function is added with a feature name JobNUpAllDocumentsContiguously, as shown in information 406. Also, options such as None and PagePerSheet_2 are supported as configurable values. These feature names and options are merely examples, and other names (information indicating functions) and configurable values ​​may be used.

[0038] In S303, the print function extension unit 207 adds the layout function to the added function list and stores it in the shared information 209. An example of the added function list is shown in FIG. 5. The added function list 501 stores the Feature names of the functions added to the PDC in the processing of S302 in association with a list of options that can be specified. It also includes information on which of the options is the default specified value. Here, an * is added to the option None, indicating that the option None is the default specified value. Note that although the print function extension unit 207 in this flowchart adds only the layout printing function, it may be configured to add two or more functions. Therefore, the added function list is configured to be able to store information on two or more functions.

[0039] In S304, the print function extension unit 207 adds a fake resolution to the PDC. The fake resolution is a resolution that is not supported by the printing device 102 but is supported by the print data generation software 202 or the extension application 204, and is a fake resolution used in the extension application 204.

[0040] Here, an example of the fake resolution information added to the PDC will be described again with reference to the PDC 403 in Fig. 4(b). In the PDC 401 before the fake resolution was added, 600x600dpi was specified as the resolution, but the addition process in S304 further adds Options (information 405) of 100x100dpi, 200x200dpi, 300x300dpi, 400x400dpi, and 500x500dpi.

[0041] That is, five new options are added in increments of 100 dpi. Note that it may be configured to add more options in smaller increments, or to add the necessary fake resolution obtained by a calculation described later. Note that the print function extension unit 207 also adds information 404 about the namespace of the added option to the PDC.

[0042] Finally, in S305, the print function extension unit 207 adds a function for exclusive control and exclusive information to the PDC. The information added to the PDC will be described again with reference to the PDC 403 in FIG. 4B. First, information 407 is added to the PDC 403 as a function for exclusive control. A feature called PreventInternalSettings and two options, On and Off, are added to the information 407 as its setting values. Next, information 408 is added as exclusive information. The information 408 indicates that each option (405) for the fake resolution added to the PageResolution function and an option called On for the PreventInternalSettings function are in an exclusive relationship and cannot be set at the same time. As a result, in order to use the fake resolution, it is necessary to explicitly specify an option called Off for the PreventInternalSettings function, and it is possible to prevent a user or upper software from erroneously specifying a fake resolution. In other words, the exclusive information for exclusive control is prevention information for preventing a fake resolution from being specified.

[0043] Through the above processing, each dummy resolution option and a function for exclusive control are added as information related to the layout function to PrintCapabilities (PC), which is capability information generated based on the PDC, which is the print function information 203.

[0044] <Example of the screen displayed by the print setting screen expansion unit> Next, the print setting screen displayed based on the generated PC will be described with reference to Fig. 12. The print setting screen 1201 in Fig. 12 is an example of a screen displayed by the print setting screen expansion unit 205 based on the PC generated by the above-mentioned process. The print setting screen expansion unit 205 is called by the OS when the user instructs the display of the print setting screen on the drawing application 201. The print setting screen expansion unit 205 displays a screen on which the user can specify print functions that can be specified by the print data generation software 202, based on the PC that can be obtained from the OS.

[0045] The print setting screen extension unit 205 displays a control item 1202 that can switch between enabling and disabling the allocation function according to a feature called JobNUpAllDocumentsContiguously added to the PC. The print setting screen extension unit 205 also displays a control item 1203 that can be selected as the number of allocations based on each option of JobNUpAllDocumentsContiguously in the PC. This allows the user to specify the allocation function added by the print function extension unit 207. Note that the option indicating the fake resolution among the resolution functions added by the print function extension unit 207 and the function for exclusive control are used internally by the extension application 204. Therefore, it is preferable not to include them in the print setting screen so that they are not specified by the user.

[0046] <Processing flow of the print setting editing unit> 8 is a diagram showing the main process flow of the print setting change process of the print setting editing unit 206 in this printing system. Hereinafter, the print setting editing unit 206 may be described as the subject of each process, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program.

[0047] 8 starts when the OS generates intermediate data based on a print instruction output from the drawing application 201 and starts the print setting editing unit 206. Note that the print setting editing unit 206 in this embodiment does not display a screen on the display unit 119.

[0048] In S801, the print setting editing unit 206 acquires a PrintTicket (PT), which is print setting information included in the intermediate data.

[0049] In S802, the print setting editing unit 206 judges whether or not the PT includes a function in the additional function list. Here, an example of the PT will be described with reference to FIG. 6A. In the PT 601, as shown in the information 602, an option called PagesPerSheet_2 of a function called JobNupAllDocumentContinuously is specified. This is a function that exists in the additional function list 501, and is an option different from the default option called None. It is assumed here that an allocation function with an allocation number of 2 (also called 2up, 2in1, or 2on1) that prints two pages of drawing data on one sheet is specified by the user on the print setting screen 1201 of FIG. 12. Therefore, an option called PagesPerSheet_2 corresponding to the setting value of the allocation function is specified in the PT. In this case, the print setting editing unit 206 judges Yes in S802 and proceeds to S803. If the judgment in S802 is No, the processing of this flowchart ends.

[0050] In S803, the print setting editing unit 206 specifies the dummy resolution in the PT. An example of a PT changed by the print setting editing unit 206 is shown in Fig. 6B. Here, in the PT 603, a dummy resolution of DPI400x400 is specified for a function indicating a resolution called PageResolution, as shown in information 604, by the process described below.

[0051] A method for specifying the fake resolution will be described with reference to Fig. 7. Fig. 7(a) is a schematic diagram showing one page of the drawing data included in the intermediate data. Each page information included in the drawing data has a printable area 702 within a paper size 701, and the printable area 702 contains the drawing data generated by the drawing application 201 for printing. Here, the width of the printable area 702 is x and the height is y.

[0052] FIG. 7B is an example of the output result of the printing device 102 when two pages of drawing data as shown in FIG. 7A are printed by specifying an allocation function with an allocation number of 2. Two pages of images based on the drawing data are printed side by side within the printable area of ​​the paper size 703. Here, the width of an area 704 in which Page1 can be placed is (yn) / 2, and the height is x. n indicates the width of the blank area provided between Page1 and Page2. The aspect ratio of the area 704 does not necessarily match the aspect ratio of the printable area 702 of the original drawing data. If the aspect ratios do not match, the printable area 702 is placed so that no drawing information included in the printable area 702 is missing by inscribing it in the area 704.

[0053] For example, suppose the paper size is A4 and the width x of the printable area 702 excluding margins is 203.2 (mm) and the height y is 287 (mm). If n is 5 (mm), the width of the area 704 is (287-5) / 2=141 (mm) and the height is x, which is 203.2 (mm). The reduction ratios required to place the printable area 702 in this area 704 in the width and height directions are as follows: Width direction: 141 / 203.2=0.694 Height: 203.2 / 287=0.708

[0054] Looking at the PT601 specification, the resolution is set to 600 dpi. In this case, the expected values ​​of the pseudo resolution in the width and height directions are as follows: Width direction: 0.694x600=416.4(dpi) Vertical: 0.708x600=424.8(dpi)

[0055] As described above, in order to obtain a result in which the printable area 702 is inscribed in the area 704, the smaller of the two false resolutions, 416.4, is adopted here. If the print data generation software 202 converts the intermediate data at 600 dpi into the printable area 702 in FIG. 7, the print data size will be the size 705 in FIG. 7 if the print data generation software 202 converts the same intermediate data into 416.4 dpi. Note that the PDC 403 in this embodiment is extended to allow five false resolutions to be specified in increments of 100 dpi, and it is not possible to specify a false resolution of 416.4 dpi. Therefore, the print setting editing unit 206 specifies a false resolution that is as close to 416.4 as possible and is as large as possible in the process of S804. In the above example, the print setting editing unit 206 specifies an Option of DPI400x400, which indicates 400 dpi, in the PT. As described above, the print function expansion unit 207 may be configured to calculate and register in advance the pseudo resolution required in the process of S305, in this example 416 dpi. However, adding too many types of resolution may slow down the process, so it is preferable to add only representative resolutions to a certain extent.

[0056] Next, in S804, the print setting editing unit 206 specifies a feature called PreventInternalSettings in the PT and Off as its setting value. Information 605 of the PT 603 is an example of information added by this process. That is, in the information 408, an exclusive relationship is defined such that when PreventInternalSettings is On, each Option of the fake resolution cannot be specified. Due to this definition, when PreventInternalSettings is On, the fake resolution may be changed to another resolution by the print data generation software 202 or the like as an invalid value. Therefore, in S804, in order to prevent this, the print setting editing unit 206 performs processing to change the setting value to one indicating that the fake resolution can be specified.

[0057] Finally, in S805, the print setting editing unit 206 creates a setting change list and saves it in the shared information 209. An example of the setting change list saved in the shared information 209 is shown in FIG. 9. The setting change list 901 includes information on the changes made to the PT by the print setting editing unit 206. Below, following the above example, an example of information stored in the setting change list will be described. As the first piece of information, information indicating that the Option of the Feature called PageResolution has been changed from DPI600x600 to DPI400x400 is stored. This is information received from the processing result of S803 by the print setting editing unit 206. As the second piece of information, information indicating that the Option of the Feature called PreventInternalSettings has been changed from On to Off is stored. This is information received from the processing result of S804 by the print setting editing unit 206.

[0058] As described above, the print setting editing unit 206 of this embodiment edits the PT included in the intermediate data when a specific function is specified. The print data generation software 202, which processes after the print setting editing unit 206, generates print data based on the intermediate data including the edited PT. In the above example, the resolution is changed from 600 dpi to 400 dpi, so the drawing data included in the print data generated by the print data generation software is reduced to 2 / 3 of the original size in both the vertical and horizontal directions. This is a size that fits within the area 704 in FIG. 7(b). The print data editing unit 208, which will be described later, can convert this drawing data into drawing data for expected layout printing by simply moving it to an appropriate location without enlarging or reducing (resizing) it.

[0059] <Processing flow of the print data editing unit> 10 is a diagram showing the main process flow of the print data editing process of the print data editing unit 208 in this printing system. Hereinafter, the print data editing unit 208 may be described as the subject of each process, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program.

[0060] The process in FIG. 10 starts when the print data converted from the intermediate data by the print data generation software 202 is passed to the print data editing unit 208 by the OS.

[0061] In S1001, the print data editing unit 208 acquires a PT. The PT acquired here is a PT that has been edited by the print setting editing unit 206 in the processes of S803 and S804. The print data editing unit 208 may acquire the PT using an API of the OS, or the print setting editing unit 206 may store the PT in the shared information 209 and acquire it.

[0062] Next, in S1002, the print data editing unit 208 determines whether the PT includes a specification of a function in the added function list. If the determination in S1002 is No, the processing of this flowchart ends. Here, an example will be described in which the added function list is the added function list 501 in FIG. 5, and the PT is PT 603 in FIG. 6(b). Since an option called PagesPerSheet_2 of a function called JobNupAllDocumentContiguously is specified in PT 603, the determination in S1002 is Yes, and the processing proceeds to S1003.

[0063] In S1003, the print data editing unit 208 edits the drawing data included in the print data received from the OS. The Option PagesPerSheet_2 of the function JobNupAllDocumentContinuously specified in the PT 603 means layout printing with the number of layouts being 2. Since this function is a function added by the extension application 204, the print data generation software 202 does not execute the processing required to realize this function even if this function is specified. However, in this embodiment, an Option indicating a fake resolution is specified in the PT in the processing of S803. The print data generation software 202 is configured to correctly refer to the resolution in the PT and generate print data of a size according to the resolution. Therefore, the drawing data in the print data generated by the print data generation software 202 does not reflect the layout printing function with the number of layouts being 2, but reflects the reduction processing of each page required for layout printing with the number of layouts being 2.

[0064] Therefore, in the process of S1003, the print data editing unit 208 arranges the reduced drawing data for two pages on one page, thereby making it possible to generate drawing data that reflects the layout printing function with a layout number of two, as shown in Fig. 7(b). Since the drawing data for each page has already been reduced to an appropriate size, the print data editing unit 208 does not perform a reduction process on the drawing data. Note that if each piece of drawing data is small compared to the area 704, the print data editing unit 208 arranges the drawing data in the center of the area 704. Alternatively, it may be moved to the top left. The blank area between each page uses the same value of n as that used in the calculation process of S803.

[0065] Through the above process, the print data editing unit 208 converts drawing data created at 400 dpi in A4 size, for example, into 600 dpi drawing data in A4 size that reflects the layout printing function with a layout number of 2, by arranging two pieces of drawing data horizontally. Note that although the layout number is described as 2 here, the same process can be applied to other layout numbers.

[0066] Next, in S1004, the print data editing unit 208 changes the print setting attribute information in the print data based on the setting change list. Fig. 11 shows a conceptual example of the Validate-Job operation in IPP. Validate-Job operation 1101 is data indicating an operation issued at the beginning of print data in IPP. The Validate-Job operation includes a job-attributes-tag indicating print setting attribute information 1102. The print setting attribute information 1102 includes attribute information indicating paper size, resolution information, etc., and the printing device 102 performs printing in accordance with this attribute information.

[0067] Here, according to the setting change list 901 in Fig. 9, the resolution has been changed from 600 dpi to 400 dpi. The print data generation software 202 generates drawing data of 400 dpi based on the resolution of 400 dpi specified in the PT in the processing of S803, and also specifies 400 dpi in the print setting attribute information. However, the resolution of 400 dpi is a fake resolution added by the extension application 204, and the printing device 102 cannot print based on this resolution. Therefore, the print data editing unit 208 changes the resolution included in the print setting attribute information 1102 to 600x600 dpi in accordance with the setting change list 901. An example of the change is shown in information 1103.

[0068] Through the above process, the 400 dpi print data with no layout setting generated by the print data generation software 202 is converted into 600 dpi print data with a layout printing function set with a layout number of 2. Therefore, when the printer 102 prints this print data, a layout printing result with a layout number of 2 is obtained.

[0069] As described above, in the printing system of this embodiment, the printing function can be extended by the extension application 204. In addition, a function that requires editing involving the enlargement and reduction of the drawing data can be added. Since the drawing data included in the intermediate data is vector data, characters and the like do not deteriorate even when enlarged or reduced. However, since the drawing data included in the print data generated by the print data generation software 202 based on the intermediate data is raster data, deterioration occurs due to enlargement and reduction. In particular, in the case of reduction, the visibility of small characters and the like deteriorates significantly because certain lines are thinned out. In the printing system of this embodiment, the print data generation software 202 performs the enlargement and reduction required for the expansion function by using a fake resolution. Since the print data generation software 202 performs a process of generating print data, which is raster data, from the intermediate data, which is vector data, raster data without deterioration is generated according to the resolution at the time of generation. The print data editing unit 208 edits the raster data generated in this way without enlarging or reducing it again, thereby realizing the expansion function. With this configuration, the printing system of this embodiment can add a function that requires editing involving enlargement and reduction without causing image quality deterioration.

[0070] In this embodiment, the layout printing function with the layout number of 2 has been described as an example, but it goes without saying that the layout number can be applied to layout numbers other than 2. In addition, the same configuration can be applied to functions other than the layout number, such as reduced printing, and can also be applied to functions that involve enlargement rather than reduction. Furthermore, it may be configured to expand two or more different functions. In this case, the print setting editing unit 206 may specify a fake resolution in S803 that takes into account the enlargement / reduction ratio required when two or more different functions are used together. Furthermore, the print data editing unit 208 may perform editing required for two or more different functions in S1003.

[0071] <<Embodiment 2>> Next, a second embodiment will be described. In this embodiment, the extension application 204 adds a booklet printing function. The booklet printing function is a function that rearranges and prints the printout of the printing device 102 so that it can be read like a booklet by folding it in the middle. Configurations and processes that are not mentioned in the following description are the same as those in the first embodiment, so descriptions will be omitted.

[0072] 13 is a diagram showing the main process flow of the editing process of the print function information by the print function extension unit 207 of the printing system in this embodiment. Hereinafter, the print function extension unit 207 may be described as the subject of each process, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program.

[0073] The processes from S1301 to S1305 in FIG. 13 are equivalent to the processes from S301 to S305 in FIG. 3 except for the points mentioned below, and therefore a description of the common processes will be omitted.

[0074] The first difference is that in this embodiment, the print function extension unit 207 adds a booklet printing function instead of a layout printing function in step S1302. Therefore, the name of the feature to be added to the PDC is JobBooklet instead of JobNUpAllDocumentsCongiuously.

[0075] The second difference is that in the booklet printing function, only reduction equivalent to layout printing with a layout number of 2 occurs, so in S1304, a small fake resolution such as 100 dpi or 200 dpi is not added. Note that in the flow in Fig. 13, the print function extension unit 207 is configured to extend only the booklet printing function, but it may also be configured to extend the layout printing function. In this case, the print function extension unit 207 also executes the processes from S301 to S305 in Fig. 3. In other words, if it is determined that the OS and print data generation software 202 do not support the layout printing function, the print function extension unit 207 adds the layout printing function to the additional function list and also appropriately edits the PDC.

[0076] 14 is a diagram showing the main process flow of the print setting change process of the print setting editing unit 206 in this printing system. Hereinafter, the print setting editing unit 206 may be described as the subject of each process, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program.

[0077] The processes in Fig. 14, except for S1403 and S1406, are the same as those in S801 to S805 in Fig. 8, and are performed for the booklet printing function. Therefore, a description of the common processes will be omitted.

[0078] In S1402, the print setting editing unit 206 determines whether the booklet printing or layout printing function is specified in the PT in the processing of S1402.

[0079] In S1403, the print setting editing unit 206 determines whether booklet printing is specified in the PT and whether JobNUpAllDocumentsContiguously is not included in the added function list. Note that, as described above, it is assumed here that the print function extension unit 207 also executes the processes from S301 to S305 in FIG. 3. If YES is returned in S1403, this means that the booklet printing function is specified in the print setting screen extension unit 205 and the layout printing function has not been added to the added function list by the print function extension unit 207 (i.e., the layout printing function is supported by the OS and print data generation software 202). On the other hand, if NO is returned in S1403, there are two cases. The first case is when an extension function other than booklet printing (i.e., the layout printing function) is specified in the print setting screen extension unit 205. The second case is when the booklet printing function is specified in the print setting screen extension unit 205, and the layout printing function is not added to the additional function list by the print function extension unit 207 (i.e., the layout printing function is supported by the OS and print data generation software 202).

[0080] If the determination in S1403 is Yes, the print setting editing unit 206 specifies layout printing with a layout number of 2 for the PT (S1406). Layout printing with a layout number of 2 has a different page order, but is equivalent to booklet printing in terms of page reduction. In this embodiment, taking advantage of this, the print setting editing unit 206 uses a layout printing function to achieve reduction, rather than using a false resolution.

[0081] When the print setting editing unit 206 executes the process of S1406, the print data generation software 202 generates print data that has been edited for the layout printing function with the layout number of 2. Since the extension application 204 has not changed the resolution, the resolution remains the resolution specified by the printing device 102.

[0082] If the determination in S1402 is No, booklet printing or layout printing is specified, but the layout printing function is not supported by the OS and print data generation software 202. In this case, the print setting editing unit 206 realizes the reduction required for booklet printing or layout printing by using a fake resolution, similar to the method of the first embodiment.

[0083] Thereafter, the print data editing unit 208 executes a process for editing the print data generated by the print data generating software 202. This process flow is shown in FIG.

[0084] Detailed description of the processing in S1001 and S1002 will be omitted since they are the same as those described in the first embodiment. In S1002, the print data editing unit 208 determines whether the booklet printing function or the layout printing function is specified in the PT.

[0085] In S1003, if the determination in S1403 is YES, the print data editing unit 208 edits the drawing data as follows. This editing will be described with reference to FIG. 15. FIG. 15(a) is a schematic diagram showing drawing data of the print data generated by the print data generation software 202. As shown in FIG. 15(a), Page1 and Page2 are arranged on one sheet of paper, and similarly, two consecutive pages generated by the drawing application 201 are arranged on one sheet of paper. FIG. 15(b) shows an example of drawing data edited in the process of S1003. In booklet printing, each page is arranged as shown in FIG. 15(b) so that the printed matter, which is the print result, will be in the form of a booklet when folded in the middle. The print data editing unit 208 converts the drawing data of each page in FIG. 15(a) into data as shown in FIG. 15(b) by rearranging (i.e., moving) the data without enlarging or reducing it. In S1003, if the determination in S1403 is No, the print data editing unit 208 performs editing similar to that in the first embodiment. Furthermore, if booklet printing is specified, the print data editing unit 208 performs the above-mentioned sorting (moving) process in addition to editing similar to that in the first embodiment.

[0086] Finally, in S1004, the print data editing unit 208 changes the print setting attribute information included in the print data. When the process of S1406 is executed, as described above, the resolution remains the resolution specified by the printing device 102, so there is no need to change it. Here, when booklet printing is specified and double-sided printing setting is not specified, the print data editing unit 208 performs processing to specify double-sided printing setting in the print setting attribute information. Note that a configuration may be adopted in which double-sided printing setting is forcibly enabled when booklet printing is specified by the print setting screen expansion unit 205 or the print setting editing unit 206.

[0087] In the present embodiment, the extension application 204 uses a layout printing function rather than a camouflage resolution to achieve the enlargement / reduction required for the booklet printing function as an extension function. When using a camouflage resolution, there is a possibility that the image may be reduced to a smaller size, but when using the layout printing function, the image is always reduced to the expected size. In this way, in order to have the print data generation software 202 perform the enlargement / reduction process, it is sufficient to use a function that is supported by the print data generation software 202 and involves enlargement / reduction, and is not limited to the camouflage resolution or layout printing function.

[0088] <<Embodiment 3>> Next, the third embodiment will be described. In this embodiment, if a predetermined condition is not satisfied, a process is performed to skip the process by the print data generation software 202. The configuration and process not mentioned in the following description are the same as those in the first embodiment, and therefore the description will be omitted.

[0089] 16 is a diagram showing the main process flow of the printing function information editing process by the print setting editing unit 206 of the printing system in this embodiment. Hereinafter, the print setting editing unit 206 may be described as the subject of each process, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program.

[0090] The processes in FIG. 16 other than S1603 and S1607 are equivalent to the processes in S801 to S805 in FIG. 8, and therefore description thereof will be omitted.

[0091] In S1603, the print setting editing unit 206 determines whether an appropriate fake resolution can be specified to realize the specified function. For example, assume that 480 dpi is calculated as the appropriate fake resolution as a result of calculating the appropriate fake resolution using the method of S803 in the first embodiment. In this case, if 500 dpi is specified, the print data will be larger than expected and some of the drawing data will be missing. On the other hand, if 400 dpi is specified, the drawing data will be too small. In such a case, in S1603, the print setting editing unit 206 determines No in S1603.

[0092] In S1607, the print setting editing unit 206 instructs the OS to pass the intermediate data through. Note that, as a premise, in this embodiment, the print setting editing unit 206 is assumed to be able to instruct the OS to pass the intermediate data to the print data editing unit 208 without passing through the print data generation software 202. The print setting editing unit 206 performs this instruction in S1607 and ends the processing of this flow. Note that, it may be configured such that the determination in S1603 is not performed and the processing of S1607 is always executed when a specific function is specified in S1602.

[0093] 17 is a diagram showing the main process flow of the print data editing process of the print data editing unit 208 in this embodiment. Hereinafter, the print data editing unit 208 may be described as the subject of each process, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program.

[0094] The processing in FIG. 17 is equivalent to the processing in S1001 to S1004 in FIG. 10 except for the processing in S1702, S1706, S1707, and S1708, and therefore description thereof will be omitted.

[0095] In S1702, the print data editing unit 208 determines whether or not the print setting editing unit 206 has specified passing through of the intermediate data by the print data generation software 202. If the print setting editing unit 206 has executed the process of S1607, the determination in S1702 is Yes.

[0096] In S1706, the print data editing unit 208 edits the intermediate data in accordance with the additional functions specified in the PT. Since the intermediate data is composed of vector data, even if the editing includes enlargement and reduction, deterioration of characters, etc. does not occur.

[0097] Next, in S1707, the print data editing unit 208 disables the additional functions specified in the PT included in the intermediate data. This process is performed to prevent the editing process for the additional functions from being executed again when the intermediate data is converted into print data in the process described below.

[0098] Finally, in S1708, the print data editing unit 208 converts the intermediate data into print data. The conversion to print data may be performed by the print data editing unit 208 itself, or may be achieved by instructing the print data generation software 202 to process the edited intermediate data again. In other words, the print data generation software 202 may be instructed to convert the intermediate data into print data. The latter requires that the OS supports such a function, but since the conversion from intermediate data to print data is centralized in the print data generation software 202, a stable conversion result can always be obtained regardless of the settings.

[0099] In the printing system of this embodiment, when an expansion function involving enlargement / reduction is specified, the intermediate data is passed through and edited to prevent degradation due to enlargement / reduction. If enlargement / reduction is not required, the intermediate data is not passed through, so the print data editing unit 208 only needs to perform special processing for specific functions, and most of the processing can be performed by the print data generation software 202.

[0100] <<Embodiment 4>> The above-described embodiment can also be implemented by executing the following process. That is, a recording medium on which program code of software that realizes the functions of the above-described embodiment is recorded is supplied to a system or device. Then, a computer (or a CPU or MPU) of the system or device reads and executes the program code stored in the recording medium. This makes it possible to achieve the above-described object. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium on which the program code is stored constitutes the present invention.

[0101] Examples of storage media for supplying the program code include flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards, ROMs, and DVDs.

[0102] In addition, the functions of the above-mentioned embodiments are not only realized by a computer reading and executing the program code, but also include cases where an OS running on a computer performs part or all of the actual processing based on the instructions of the program code, and the functions of the above-mentioned embodiments are realized by the processing.

[0103] Furthermore, the program code read from the storage medium may be written to a memory provided on a function expansion board inserted into a computer or a function expansion unit connected to the computer. Then, based on the instructions of the program code, a CPU or the like provided on the function expansion board or function expansion unit may perform part or all of the actual processing. The functions of the above-mentioned embodiments are realized by this processing. [Explanation of symbols]

[0104] 102 Printing device 119 Display section 201 Applications 202 Printing data generation software 203 Printing function information 204 Extended Applications 205 Print setting screen expansion unit 206 Print Settings Editing Unit 207 Printing function expansion unit 208 Print Data Editing Unit 209 Shared Information

Claims

1. An extension application program for extending a function not supported by print data generation software that generates print data, On the computer, adding information related to a first function that is not supported by the print data generation software; when the first function is specified, specifying information related to a second function which is a function supported by the print data generating software; generating print data for implementing the first function based on information related to the specified second function; A program characterized by executing the above.

2. The program according to claim 1, further comprising: a program for generating print data that realizes the first function by editing the print data generated by the print data generation software based on information related to the second function.

3. 3. The program according to claim 2, wherein the editing process includes performing at least one of a layout process and a sort process on drawing data included in the print data generated by the print data generation software.

4. The program described in claim 2 or 3, characterized in that as the editing process, a process is performed to change information related to the second function specified in attribute information contained in the printing data generated by the printing data generation software to information that was specified before the information related to the second function was added to the printing setting information.

5. 5. The program according to claim 1, further comprising: specifying a false resolution as information related to the second function when a layout printing function is specified as the first function.

6. 5. The program according to claim 1, wherein when a booklet printing function is designated as the first function, information related to a layout printing function is designated as the information related to the second function.

7. A program as described in any one of claims 1 to 6, characterized in that when information related to the first function is added to data indicating a printing function, information related to the second function and exclusive information for the second function are added to the data indicating the printing function.

8. The computer includes: if a predetermined condition is not satisfied, instructing the print data generation software to skip generating print data from the intermediate data; obtaining the intermediate data; further performing a step of editing the obtained intermediate data based on information related to the first function; 8. The program according to claim 1, wherein the print data is generated based on the edited intermediate data.

9. A method for controlling an information processing device capable of operating an extension application for extending a function not supported by print data generation software for generating print data, comprising: adding information related to a first function that is not supported by the print data generation software; when the first function is specified, specifying information related to a second function which is a function supported by the print data generating software; generating print data for implementing the first function based on information related to the specified second function; A control method comprising:

10. The control method according to claim 9, further comprising the step of: generating print data that realizes the first function by editing the print data generated by the print data generation software based on information related to the second function.

11. 11. The control method according to claim 10, wherein the editing process includes performing at least one of an allocation process and a rearrangement process on drawing data included in the print data generated by the print data generation software.

12. The control method described in claim 10 or 11, characterized in that as the editing process, a process is performed to change information related to the second function specified in attribute information contained in the printing data generated by the printing data generation software to information that was specified before the information related to the second function was added to the printing setting information.

13. 5. The control method according to claim 1, wherein when a layout printing function is designated as the first function, a fake resolution is designated as the information related to the second function.

14. 14. The control method according to claim 9, wherein when a booklet printing function is designated as the first function, information related to a layout printing function is designated as the information related to the second function.

15. A control method according to any one of claims 9 to 14, characterized in that when information related to the first function is added to data indicating a printing function, information related to the second function and exclusive information for the second function are added to the data indicating the printing function.

16. if a predetermined condition is not satisfied, instructing the print data generation software to skip generating print data from the intermediate data; obtaining the intermediate data; editing the obtained intermediate data based on information related to the first function; 16. The control method according to claim 9, wherein the print data is generated based on the edited intermediate data.

Citation Information

Patent Citations

  • Program

    JP2019061622A

  • program

    JP2019074906A