Print expansion program, information processing device and control method thereof, and storage medium

The print expansion program addresses the inefficiency of vendor-specific driver installations by extending standard printer drivers to support advanced functions like mirror printing directly from the standard driver, improving user experience.

JP2024150278AInactive Publication Date: 2024-10-23CANON KK

Patent Information

Application Number
JP2023063618
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2024-10-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing print settings applications require the installation of vendor-specific printer drivers to enable functions like mirror printing, which is time-consuming and inefficient for users.

Method used

A print expansion program that extends the functionality of a standard printer driver by acquiring capability information from a target printing device, editing device capability information, and enabling functions like mirror printing without the need for vendor-specific drivers.

Benefits of technology

Enables the use of advanced printing functions like mirror printing without the need for additional driver installations, enhancing user convenience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024150278000001_ABST
    Figure 2024150278000001_ABST
Patent Text Reader

Abstract

To solve a problem that a vendor-specific printer driver must be installed when performing mirror printing using a generic printer driver, and a user must install a vendor-specific printer driver on a client terminal to generate print data.SOLUTION: A print extension program, which extends functionality of a standard printer driver that is included in an operating system (OS), comprises the steps of: acquiring, in response to an event from the OS, capability information of a target printing device; and editing, on the basis of the acquired capability information, device capability information possessed by the OS. Then, the program further comprises the steps of: displaying a print setting screen based on the device capability information; receiving intermediate data including the print setting set via the print setting screen from the OS; determining whether the intermediate data includes a predetermined function that is not supported by the OS; and editing, when it is determined that the intermediate data includes the predetermined function, the intermediate data so that the predetermined function is realized.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 print extension program, an information processing apparatus and a control method thereof, and a storage medium. [Background technology]

[0002] In recent years, a general-purpose printer driver (local printer driver) that communicates directly with an image forming device using an industry standard protocol such as IPP (Internet Printing Protocol) has been devised. A local printer driver can communicate with printers from multiple printer vendors. Therefore, by using a local printer driver, a user can send a print job from an information processing device such as a PC to an image forming device to print, without having to install a vendor-specific printer driver in the information processing device.

[0003] Furthermore, printing using a cloud print service is being considered. In the cloud print service, a printer driver for the cloud print service (cloud printer driver) is installed in an information processing device. In the cloud print service, the information processing device transmits a print job to the cloud print service using the cloud printer driver, and the cloud print service transmits the print job to an image forming device, thereby executing printing.

[0004] The above-mentioned local printer driver and cloud printer driver handle print jobs printed by image forming devices of various vendors, so there are limitations on the items and functions that can be set as print settings. Therefore, Patent Document 1 describes how the print setting extension application determines whether a vendor-specific printer driver is installed in a client terminal so that the print setting extension application can select optional functions of the vendor-specific printer driver. If the printer driver does not exist, the print setting extension application describes how the print setting extension application can generate print data that reflects the optional functions by installing the printer driver in the operating system. [Prior art documents] [Patent documents]

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

[0006] However, some of the optional functions of the above-mentioned conventional technology, such as "mirror printing," require the installation of a vendor-specific printer driver even for data that can be generated on the client terminal side. Therefore, there is a problem that using such functions requires a lot of effort on the part of the user.

[0007] An object of the present invention is to solve at least one of the problems of the prior art described above.

[0008] An object of the present invention is to provide a technology that enables printing using certain functions, such as mirror printing, while eliminating the need to install a vendor-specific printer driver, which was previously required when printing using such functions. [Means for solving the problem]

[0009] In order to achieve the above object, a print extension program according to an aspect of the present invention has the following configuration. A print extension program that extends the functionality of a standard printer driver that is included in an operating system (OS), an acquisition means for acquiring capability information of a target printing device in response to an event from the OS; a means for editing device capability information held by the OS based on the capability information acquired by the acquisition means; a display means for displaying a print setting screen based on the device capability information; a determination means for receiving intermediate data including print settings set via the print setting screen from the OS and determining whether the intermediate data includes a predetermined function not supported by the OS; and editing means for editing the intermediate data so that the predetermined function is realized when the determining means determines that the intermediate data includes the predetermined function. Effect of the Invention

[0010] According to the present invention, there is an effect that it is possible to make printing using a specific function possible without the need to install a vendor-specific printer driver, which was previously necessary when printing using such a function.

[0011] Other features and advantages of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings, in which the same reference numerals are used to designate the same or similar components throughout the drawings. [Brief description of the drawings]

[0012] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention. [Figure 1] FIG. 1 is a diagram showing the configuration of a printing system that executes cloud printing according to an embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating the hardware configuration of a client terminal, a server, and a cloud-compatible printer included in the printing system according to the embodiment. [Diagram 3] 6 is a diagram for explaining an example of a sequence in which a client terminal installs a print setting extension application for a cloud print-compatible printer from an online support server in the printing system according to the first embodiment. [Figure 4] 6A and 6B are diagrams showing examples of screens related to printers registered in the client terminal, which are displayed by the OS of the client terminal according to the embodiment. [Diagram 5] FIG. 4 is a diagram showing an example of printer capability information in the embodiment. [Figure 6A] FIG. 4 is a diagram showing an example of device capability information included in the OS. [Figure 6B] 11 is a diagram showing an example of device capability information updated using capability information acquired from a cloud print service. [Figure 6C] 11 is a diagram showing an example of device capability information updated using capability information acquired from a cloud print service. [Figure 7] FIG. 4 is a diagram showing an example of an extended setup information file according to the embodiment. [Figure 8] Sequence from setup to printing [Figure 9] 13 is a diagram showing an example of a print setting screen using a standard driver pre-installed in the OS, which is displayed when the print setting extension app is not linked to a cloud print driver. [Figure 10] 6 is a diagram showing an example of a print setting screen by a print setting extending application according to the embodiment. [Figure 11] FIG. 4 is a view showing an example of a print setting screen displayed by a document generation application according to the embodiment. [Figure 12] 11 is a flowchart for explaining editing of XPS data when “mirror printing” is specified by executing a print setting expansion application on a client terminal according to the embodiment. [Figure 13] FIG. 13 is a diagram showing an example of XPS data edited in the process of FIG. 12. [Figure 14] FIG. 13 is a diagram showing an example of a mirror image obtained by affine transformation. [Figure 15] 10 is a flowchart illustrating an example of a process according to another embodiment. [Figure 16] FIG. 11 is a diagram showing an example of editing a PDF according to another embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, the embodiments of the present invention will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.

[0014] FIG. 1 is a diagram showing the configuration of a printing system that executes cloud printing according to an embodiment.

[0015] In this printing system, a client terminal 101, a cloud print server 102, an application management server 103, a cloud print-compatible printer 104, and an online support server 105 are connected via a network 107. Although one client terminal 101 and one cloud print-compatible printer 104 are shown in Fig. 1, there may be multiple client terminals 101 and multiple cloud print-compatible printers 104.

[0016] Furthermore, the cloud print server 102, the application management server 103, and the online support server 105 may each be a server system configured with a plurality of information processing devices. By configuring each server as a server system configured with a plurality of information processing devices in this way, the load can be distributed to the plurality of information processing devices.

[0017] The cloud print server 102, application management server 103, and online support server 105 may be virtually configured inside one physical information processing device. Although the network 107 is assumed to be a WAN such as the Internet for connection to cloud services, it may be a closed environment such as an in-house LAN.

[0018] The client terminal 101 is an information processing device such as a PC, tablet, or smartphone, and is an information terminal that is directly operated by a user. Any application software can be executed on the client terminal 101. The client terminal 101 includes a cloud printer driver 311, an OS (operating system) 313, a local printer driver 314, and a print setting extension application (print extension program) 312, which will be described later.

[0019] The cloud print-compatible printer 104 is a device that actually performs printing on a recording medium such as paper, and is an image forming apparatus that converts print data received via a network 107 into image data and prints the image data. The cloud print-compatible printer 104 can receive print data from the client terminal 101 via the cloud print server 102, and can also receive print data directly from the client terminal 101 without going through the cloud print server 102. The cloud print-compatible printer 104 also receives print data generated by a cloud printer driver 311 of the client terminal 101 via the cloud print server 102. The cloud print-compatible printer 104 also receives print data generated by a local printer driver 314 of the client terminal 101 without going through the cloud print server 102.

[0020] The cloud print server 102 receives print instructions and print data from an external device. The cloud print server 102 then transmits the received print data to a predetermined cloud print-compatible printer 104.

[0021] The application management server 103 holds and manages various applications. The application management server 103 receives application identification information and a download request from the client terminal 101, and transmits to the client terminal 101 an application identified based on the received identification information.

[0022] The online support server 105 is a server device that provides an online support service 351. The online support service 351 is a server device that provides the client terminal 101 with a file in which information for expanding the functions of the client terminal 101 is described.

[0023] Next, the hardware configurations of the client terminal 101, servers 102, 103, and 105, and cloud-compatible printer 104 included in the printing system according to the embodiment will be described with reference to FIG.

[0024] FIG. 2A is a block diagram illustrating the hardware configuration of a client terminal 101 according to the embodiment.

[0025] The client terminal 101 includes a display unit 216, an operation unit 217, a storage unit 214, a control unit 211, and a network communication unit 215. The storage unit 214 corresponds to a non-volatile storage device such as a hard disk or SSD, and is capable of storing and rewriting digital data. The control unit 211 includes a CPU 212 and a memory 213, and controls the overall operation of the client terminal 101. The CPU 212 loads a program stored in the storage unit 214 into the memory 213 and executes it. The memory 213 is the main storage memory of the CPU 212 and is used as a work area and a temporary storage area for loading various programs. The network communication unit 215 communicates with an external network 107, and inputs and outputs digital data to and from an external server, client terminal, etc. via the network 107. The display unit 216 displays visual information to the user, for example, on a liquid crystal display. The operation unit 217 accepts input from the user via a keyboard, a pointing device, or the like. A device having the functions of both the display unit 216 and the operation unit 217, such as a touch panel, may be used.

[0026] FIG. 2B is a block diagram illustrating the hardware configuration of the cloud print server 102 according to the embodiment.

[0027] The cloud print server 102 includes a storage unit 224, a control unit 221, and a network communication unit 225. The control unit 221 includes a CPU 222 and a memory 223. The description of the storage unit 224, the control unit 221, and the network communication unit 225 is omitted because they are basically the same as the corresponding parts of the client terminal 101. Note that the cloud print server 102 will be described as being configured with one information processing device having the hardware configuration shown in Fig. 2(b), but the cloud print server 102 may be configured with multiple information processing devices shown in Fig. 2(b).

[0028] FIG. 2C is a block diagram illustrating the hardware configuration of the application management server 103 according to the embodiment.

[0029] The application management server 103 includes a display unit 236, an operation unit 237, a storage unit 234, a control unit 231, and a network communication unit 235. The control unit 231 includes a CPU 232 and a memory 233. Descriptions of the display unit 236, the operation unit 237, the storage unit 234, the control unit 231, and the network communication unit 235 are omitted because they are basically the same as the corresponding parts of the client terminal 101. Note that the application management server 103 will be described as being configured from one information processing device having the hardware configuration shown in Fig. 2(c), but the application management server 103 may be configured from multiple information processing devices.

[0030] FIG. 2D is a block diagram illustrating the hardware configuration of the cloud print-compatible printer 104 according to the embodiment.

[0031] The cloud print-compatible printer 104 includes a display unit 246, an operation unit 247, a storage unit 244, a control unit 241, a network communication unit 245, and a printing unit 248. The display unit 246 displays information to the user using a touch panel or LEDs provided on the cloud print-compatible printer 104. The operation unit 247 accepts input from the user and may include hard keys such as a numeric keypad in addition to a touch panel. The control unit 241 includes a CPU 242 and a memory 243. The storage unit 244 and the control unit 241 are basically the same as the corresponding parts of the client terminal 101, so a description thereof will be omitted. The network communication unit 245 communicates with the external network 107. The network communication unit 245 mainly plays a role in receiving print data and transmitting information about the status of the cloud print-compatible printer 104, such as errors, to an external server or the like.

[0032] The printing unit 248 performs printing processing by carrying out a series of operations, such as feeding, printing, and discharging, on paper (sheets) prepared in a cassette or tray. The printing method used here is not limited to electrophotographic or inkjet printing. Finishing devices, such as a duplex unit, stapler, and puncher, used when discharging paper, are also included in the printing unit 248.

[0033] In the embodiment, a single-function printer that performs only a printing function has been described as an example of the cloud print-compatible printer 104, but a multifunction printer (multifunction device) that also has a scanner function and a FAX function may also be used.

[0034] 2(e) is a block diagram illustrating a hardware configuration of the online support server 105 according to the embodiment. In the embodiment, the online support server 105 is described as being configured with one information processing device, but may be configured with multiple information processing devices.

[0035] The online support server 105 has a display unit 256, an operation unit 257, a storage unit 254, a control unit 251, and a network communication unit 255. The functions of the display unit 256 and the operation unit 257 are similar to those of the display unit 216 and the operation unit 217 of the client terminal 101, and therefore a description thereof will be omitted. The storage unit 254 is a memory device such as an HDD or SSD. The storage unit 254 stores an extended setup information file, which is a file describing information for extending functions provided by the client terminal 101.

[0036] The control unit 251 includes a CPU 252 and a memory 253. The CPU 252 controls the entire online support server 105. The memory 253 is used for processing executed by the CPU 252. The network communication unit 255 is an interface for the online support server 105 to communicate with the client terminal 101. When the online support server 105 receives a request to acquire a file stored in the storage unit 254 from the client terminal 101 via the network communication unit 255, it transmits the corresponding file to the client terminal 101.

[0037] Next, an example of a user procedure and a sequence between each piece of software and the print service in this embodiment will be described with reference to FIG.

[0038] FIG. 3 is a diagram illustrating an example of a sequence in which the client terminal 101 installs the print setting extension application 312 for the cloud print-compatible printer 104 from the online support server 105 in the printing system according to the first embodiment.

[0039] First, the cloud print-compatible printer 104 accepts a printer registration operation from a user for registering the cloud print-compatible printer 104 in the cloud print service 321. As a result, in S301, the cloud print-compatible printer 104 transmits a printer registration request together with device identification information of the printer 104 to the cloud print service 321. Here, the device identification information transmitted to the cloud print service 321 is, for example, a HWID (hardware ID) assigned to each printer model. Note that the device identification information may be any information as long as it can identify the printer model.

[0040] When the cloud print service 321 receives this registration request, it transmits the URL of the cloud print service 321 for printer registration to the cloud print-compatible printer 104. Then, when the user accesses the URL from the cloud print-compatible printer 104 or an information processing device, an input screen for inputting a user ID and password is displayed on the display unit of the terminal that accessed the URL. The user then inputs a user ID and password for using the cloud print service 321 and logs in to the cloud print service 321. When the user's login is successful in this way, the cloud print service 321 transmits a request to the cloud print-compatible printer 104 to obtain information required for printer registration. In response to this request, the cloud print-compatible printer 104 transmits printer information to the cloud print service 321.

[0041] The cloud print service 321 that has received the printer registration request in this way registers information about the cloud print-compatible printer 104 and generates a print queue for the cloud print-compatible printer 104. At this time, the cloud print service 321 acquires capability information about the cloud print-compatible printer 104 and links the capability information to the generated print queue. The capability information here is information that indicates functions installed in the printer 104, and refers to information necessary for the user to set as print settings when printing, such as information on whether double-sided printing is possible, information on whether color printing is possible, and information on whether stapling is possible.

[0042] As a specific example, it is assumed that IPP is used as the communication protocol. The cloud print service 321 queries the cloud print-compatible printer 104 for printer capability information such as that shown in FIG.

[0043] FIG. 5 is a diagram illustrating an example of printer capability information in the embodiment.

[0044] Here, the capability information includes capability information related to print settings, such as paper size 501, paper type 502, number of copies 503, and color mode 504. Specifically, for the requested-attributes attribute, information on the minimum, maximum, and default value of the number of copies (copies-default, copies-supported) is provided. In addition, the request inquires about the paper size and paper type (media-type-supported, media-source-supported) and about the color mode (print-color-mode-default, print-color-mode-supported). These inquired attributes are determined by the cloud print service 321.

[0045] In response to the above inquiry, the cloud print-compatible printer 104 responds with possible setting candidates and default information. For example, in the case of the number of copies, in response to an inquiry of copies-default, the default value is "1". In response to copies-supported, minimum and maximum values ​​such as "1,9999" are responded. In response to an inquiry of print-color-mode-default, the default value is "color", and in response to print-color-mode-supported, options of "color", "monochrome", and "auto" are responded. Furthermore, in this capability information acquisition, information indicating whether or not the printing device supports mirror printing can also be acquired. Such information regarding the cloud print-compatible printer 104 is held in the cloud print service 321. Through the above process, preparations are made for printing to the cloud print-compatible printer 104 using the cloud print service 321.

[0046] Next, installation of the print setting extension application 312, which is performed when the user performs a setup operation on the client terminal 101 for printing with the cloud print-compatible printer 104, will be described.

[0047] The OS 313 of the client terminal 101 accepts a cloud print-compatible printer setup operation by the user. The cloud print-compatible printer setup operation is, for example, the following operation: In S302, the OS 313 of the client terminal 101 accepts a printer addition instruction from the user.

[0048] FIG. 4 is a diagram showing an example of a screen related to printers registered in the client terminal 101, which is displayed by the OS 313 of the client terminal 101 according to the embodiment.

[0049] When the user selects button 401, an instruction to add a printer is input to the OS 313 in S302. The OS 313 that receives this instruction to add a printer determines whether or not it holds a token for the cloud print service 321. If it does not hold a token, the OS 313 displays a screen for inputting user information (login name, password). Then, in S303, the user information input via that screen is sent to the cloud print service 321, and a request for user authentication and an access token is made.

[0050] As a result, in S304, the cloud print service 321 performs authentication processing using the user information received from the client terminal 101. When the cloud print service 321 completes the authentication processing, it notifies the client terminal 101 of the result of the authentication processing. If the user authentication is successful, in S305, the OS 313 acquires an access token from the cloud print service 321. On the other hand, if the user authentication fails in S304, in S306, the cloud print service 321 notifies the OS 313 of the client terminal 101 of an authentication error. In this case, in S307, the OS 313 of the client terminal 101 stops processing based on the received authentication error information, and the OS 313 ends the processing described in FIG. 3.

[0051] If the OS 313 already holds an access token, or if a token was acquired in S305, the OS 313 of the client terminal 101 advances the process to S308. In S308, the OS 313 searches for printers registered in the cloud print service 321 and printers connected to the network 107. At this time, the OS 313 of the client terminal 101 transmits a request to acquire information on printers registered in the cloud print service 321. Specifically, the OS 313 transmits a request to acquire information on printers, with the access token attached, to the cloud print service 321.

[0052] As a result, in S309, the cloud print service 321 identifies the tenant ID to which the user identified by the access token attached to the acquisition request belongs, and prepares a list of printers linked to the tenant ID to which the user belongs for the client terminal 101. Thus, in S309, the OS 313 of the client terminal 101 acquires the printer list prepared by the cloud print service 321 and the device identification information of each printer.

[0053] Next, the OS 313 displays a list of printers on the client terminal 101 based on the printer information acquired from the cloud print service 321 and the printer information detected by searching the network 107. In an area 402 in Fig. 4, the printer information received from the cloud print service 321 is displayed in a list.

[0054] Next, the user selects information about the printer that the user wants to register in the client terminal 101 from the list of printers displayed in area 402. As a result, in step S310, the OS 313 queries the cloud print service 321 for capability information about the selected cloud print-compatible printer 104. At this time, the querying side, i.e., the OS 313, determines which attribute to query, as in the above-described mechanism.

[0055] As a result, in S311, the cloud print service 321 responds to the OS 313 with capability information of the cloud print-compatible printer 104. The capability information of the cloud print-compatible printer 104 may be capability information acquired when the printer was registered, or the latest capability information may be acquired from the cloud print-compatible printer 104 when inquired by the OS 313. Note that if the cloud print service 321 does not store a response to the attribute inquired by the OS 313 of the client terminal 101, it does not respond to the OS 313.

[0056] Then, the OS 313 starts installing the cloud printer driver 311 based on the device identification information and printer name of the printer selected by the user. Then, in step S312, the OS 313 generates a print queue for the cloud printer driver 311 that has basic device capability information included in the OS 313. This device capability information refers to definition information required to generate print setting capability information of the printer driver, for example, information written in XML such as PrintDeviceCapabilites.

[0057] FIG. 6A is a diagram showing an example of device capability information included in the OS 313. As shown in FIG.

[0058] For example, as shown by reference number 601, "PageMediaSize" indicating the paper size described in "Feature" indicating the function has only two capabilities, "A4" and "LETTER" described in "Option" indicating the options. This information is linked to the print queue and is managed by the OS 313.

[0059] The OS 313 then updates the device capability information constituting the cloud printer driver 311 using the capability information acquired from the cloud print service 321 .

[0060] 6B and 6C are diagrams showing an example of device capability information updated using capability information acquired from the cloud print service 321. FIG.

[0061] For example, as indicated by reference number 602, "Option" other than "A4" and "LETTER" is added to "PageMediaSize" indicating the paper size as a paper size printable by the cloud print-compatible printer 104. With the above, installation of the cloud print driver 311 is completed.

[0062] Next, the OS 313 starts the process of installing an application that is linked to the printer and that extends the cloud print driver.

[0063] First, the OS 313 performs a process of adding additional identification information to the device identification information. This process is necessary when acquiring the extended setup information file 700 shown in Fig. 7 from the online support server 105, and the additional identification information may be a character string different from that of normal device identification information.

[0064] Therefore, in this embodiment, in order to distinguish the application from applications of other devices, the OS 313 adds additional identification information (PrinterApp_) indicating that the application is compatible with the printer to the device identification information. Note that this "PrinterApp_" is just an example and may be other character strings, numbers, or symbols.

[0065] As a result, for example, if the device identification information of the cloud print-compatible printer 104 is "device001", the device identification information after the additional identification information addition process becomes "PrinterApp_device001".

[0066] FIG. 7 is a diagram showing an example of an extended setup information file 700 according to the embodiment.

[0067] 7 shows an example of an extended setup information file 700 in which device identification information is described taking into consideration that "additional identification information is added to the device identification information of a cloud print-compatible printer" in the additional identification information addition process. In this example, the application ID (AppID) of the print setting extension application 312 for cloud printing is "PrinterApp_aaaaaaaaaaa8a!App". The device identification information is "PrinterApp_AAAA_BBBB" taking into consideration that the additional identification information "PrinterApp_" is added.

[0068] In S313, the OS 313 transmits the additional information-added device identification information and requests the online support service 351 to search for an extended setup information file 700 that includes the target additional information-added device identification information. If this additional identification information is not added, the original device identification information will be used as is, and the vendor's printer driver will be installed. Furthermore, since there is no additional identification information, it will be impossible to identify the target file in the search for the extended setup information file described later, and it will also be impossible to extract the application ID.

[0069] On the other hand, by adding the additional identification information, it is possible to identify the target file and extract the application ID in a search of the extended setup information file 700. Then, if the search result shows that the online support service 351 holds the extended setup information file 700 including the target device identification information, then in S314 the extended setup information file 700 is returned to the OS 313. At this time, the contents of the extended setup information file 700 are written to the registry. Thus, in S315 the OS 313 installs the extended setup information from the online support service 351. Then in S316 the OS 313 extracts the application ID from the installed extended setup information.

[0070] On the other hand, if the search result shows that the online support service 351 does not have an extended setup information file 700 containing the target device identification information, the OS 313 stops the completion of the cloud print driver installation and the application installation process in S317.

[0071] When an application ID is extracted from the installed extension setup information in S316, the OS 313 requests an application whose extracted application ID matches the application management service 331 in S318. If the search results in the application management service 331 holding a print setting extension application matching the requested application ID, the application management service 331 returns the print setting extension application 312 matching the requested application ID to the OS 313 in S319. As a result, the OS 313 installs the print setting extension application 312 acquired in S319 in association with the print queue on the client side in S320. Specifically, the application ID is stored in the registry of the OS 313 as information on the print queue, and when the generated print queue is called, the OS 313 uses this information to start the installed print setting extension application 312.

[0072] On the other hand, if the search result indicates that the application management service 331 does not have a print setting extension application that matches the requested application ID, the OS 313 completes the installation of the cloud print driver in S321 and stops the application installation process.

[0073] Next, an example of a user procedure and a sequence between each piece of software and the print service in this embodiment will be described with reference to FIG.

[0074] FIG. 8 is a diagram showing an example of a sequence for explaining a process from making print settings for the cloud print-compatible printer 104 to transmitting print data in the embodiment.

[0075] The document generation application 315 requests the OS 313 to display a print setting initial screen. The OS 313 displays the print setting screen (FIG. 11) for selecting a print queue as the print setting initial screen.

[0076] FIG. 11 is a diagram showing an example of a print setting screen displayed by the document generation application 315 according to the embodiment.

[0077] In this embodiment, the OS 313 displays the print settings initial screen, but there is no problem if the document generation application 315 displays a similar function. The print settings initial screen displays a UI 1101 for selecting a print queue, a variety of print setting UIs 1102, and a print preview 1103. The print preview 1103 displays a preview image before it is mirrored.

[0078] In S801, the OS 313 selects a print queue via the UI 1101 that allows the user to select a print queue. Next, in S802, the OS 313 queries a queue on the cloud corresponding to the cloud print-compatible printer 104 of the cloud print service 321 for capability information of the cloud print-compatible printer 104. The capability information queried here is determined by the OS 313. This capability information is, for example, similar to that described in S301 of FIG. 3. For this query, for example, a standard IPP protocol such as Get-printer-Attributes is used to query the cloud print service 321. When Get-printer-Attributes is used, the capability information determined by the OS 313 is queried in list format.

[0079] In step S803, the cloud print service 321 uses the same protocol to return capability information of the cloud print-compatible printer 104 as a response from the list of capability information sent by Get-printer-Attributes to the OS 313. For example, assume that a media size attribute is specified by Get-printer-Attributes (IPP). If the cloud print service 321 has a media size attribute, it returns a value associated with that attribute (A4, B5, Letter, etc.). If the attribute specified by Get-printer-Attributes does not exist in the queue of the cloud print-compatible printer 104 of the cloud print service 321, the cloud print service 321 does not return the associated value in the response.

[0080] As a result, in step S804, the OS 313 updates the device capability information by using the capability information acquired from the cloud print service 321. In updating the device capability information, the capability information acquired in step S803 of FIG. 8 is added to the device capability generated in step S312 of FIG.

[0081] Next, in step S805, the OS 313 notifies the print setting extension application 312 of an event that allows editing of device capability information. When the print setting extension application 312 receives this event, it can use an API that allows editing of device capability information. When capability information that is not supported by the OS 313 is to be added, it becomes possible to obtain capability information from the cloud print service 321 using the print setting extension application 312 from this event.

[0082] In this way, when the print setting extension application 312 receives the device capability information editing event from the OS 313, in S806, the print setting extension application 312 inquires about capability information of the cloud print-compatible printer 104 via the cloud print service 321. At this time, the print setting extension application 312 inquires about unique capability information that is different from the capability information inquired by the OS 313 and held by the print setting extension application 312. In this case, the unique capability information corresponds to, for example, "stapleless binding" or "saddle fold" that is unique to the vendor. In this inquiry method, "stapleless binding" or "saddle fold" can be specified using Get-printer-Attributes, as in S802 of FIG. 8. Here, the addition of options for the function is illustrated, but it goes without saying that the same applies when a new function is added. Even when a new function is added, if the cloud print-compatible printer 104 supports the function itself and is registered in the cloud print service 321, the function can be acquired from the cloud print service 321 by entering the function name in the list format of Get-printer-Attributes.

[0083] When the cloud print-compatible printer 104 receives an inquiry about unique capability information from the print setting extension application 312, in S807, the cloud print-compatible printer 104 responds with capability information to the print setting extension application 312 via the cloud print service 312. The response method here is the same as S311 in FIG. 3 described above.

[0084] When the print setting extending application 312 acquires the unique capability information from the cloud print-compatible printer 104, in S808, the print setting extending application 312 edits the device capability information via the configuration information object. The configuration information object is a collection of data required to edit the device capability information. Since the print setting extending application 312 cannot directly edit the device capability information held by the OS 313, the print setting extending application 312 uses this configuration information object to make it possible to change the device capability information held by the OS 313. The print setting extending application 312 converts capability information such as "stapleless binding" and "saddle folding" acquired in S807 of FIG. 8 into device capability information and adds it to the configuration information object to edit the device capability information.

[0085] Next, in S809, the print setting extension application 312 passes the edited configuration information object to the OS 313. When the OS 313 receives the configuration information object from the print setting extension application 312, it merges the device capability information held by the OS 313 with the device capability information added to the configuration information object by the print setting extension application 312, and updates it as new device capability information. After generating new device capability information in this way, in S810, the OS 313 enables the print queue and enables a trigger for starting the UI of the print setting extension application 312. Then, in S811, when the print setting extension application 312 is started by the OS 313, it displays a print setting screen such as that shown in FIG.

[0086] FIG. 10 is a diagram illustrating an example of a print setting screen by a print setting extending application according to the embodiment.

[0087] This print setting screen does not depend on the type of document generation application 315 used. It is possible to display print setting information for each selection item. If the print setting extension application 312 is not linked to a cloud print driver, a standard driver print setting screen 900 pre-installed in the OS 313 is displayed as shown in FIG. 9. When "Advanced Settings" is pressed on this standard driver print screen 900, a standard driver print screen (advanced settings) such as those shown in FIGS. 9(b) to (e) is displayed. On the standard driver print screen (advanced settings), print settings that cannot be displayed on the initial UI of the standard driver print setting screen 900 are displayed.

[0088] The print setting extension application 312 receives print setting information generated based on print setting capability information generated by the OS 313 from device capability information, and displays it on the UI as print settings. For example, for the output paper size of setting item 1 in Fig. 10(a), the print setting extension application 312 displays the print setting information generated from psk:PageMediaSize in Fig. 6B. Also, the print setting extension application 312 generates and displays A4, which is an option for output paper size, based on print setting information psk:IOSA4. In this way, the print setting extension application 312 displays each capability information of the device capability information on the UI.

[0089] The print setting extension application 312 provides a function for the user to change the print settings as desired, and when the settings are changed, the setting values ​​are saved. For example, assume that the user changes the media size from A4 to Letter on the UI. In that case, the print setting information held by the print setting extension application 312 changes from A4 to Letter. Then, when the user completes the print setting operation, the print setting extension application 312 acquires the print setting information processed within the control of the print setting screen from the print setting screen section. Then, the print setting extension application 312 passes the acquired print setting information to the OS 313, and completes the processing on the print setting screen of the print setting extension application 312 (S812).

[0090] In S813, the OS 313 executes printing in response to a print instruction from the user via the print setting extension application 312. When printing is executed, the OS 313 generates intermediate data. Then, in S814, the OS 313 passes the generated intermediate data and the print setting information edited on the print setting screen to the print setting extension application 312. Here, intermediate data refers to data generated before conversion into print data such as PDL, and for example, XPS (XML Paper Specification). Note that the print setting information edited in S812 is also included in this intermediate data. In other words, the mirror printing settings are also included in the intermediate data.

[0091] Next, a method of editing XPS data when "mirror printing" (predetermined function) is specified, which is a feature of this embodiment, will be described with reference to the flowchart of FIG. 12 and the FixedPage editing example of FIG.

[0092] Fig. 13 is a diagram showing an example of XPS data edited in the process of Fig. 12. Fig. 13(a) shows the XPS data before editing, and Fig. 13(b) shows the XPS data after editing.

[0093] 12 is a flowchart for explaining editing of XPS data when “mirror printing” is specified, which is performed by the client terminal 101 according to the embodiment by executing the print setting extending application 312. Note that the process shown in this flowchart is achieved by the CPU 212 of the client terminal 101 executing the print setting extending application 312 deployed in the memory 213.

[0094] First, in S1201, the CPU 212 determines whether the "mirror printing" setting is ON from the print setting information. If it is determined that the "mirror printing" setting is ON, the process proceeds to S1202, and if it is determined that the "mirror printing" setting is OFF, the editing process of this XPS data ends. In S1202, the CPU 212 starts editing the FixedPage, the first page, from within the XPS data document. In S1203, the CPU 212 <fixedpage>Immediately after the element <canvas>An element 1301 (FIG. 13) is newly added. <canvas>The elements are: <glyph>or <ppath>Since child elements such as a <x1> element can be grouped, it is possible to set a rotation instruction for all child elements at once.

[0095] Next, the process proceeds to S1204, and the CPU 212<Canvas.RenderTransform> A matrix that is inverted along the y-axis using the affine transformation matrix transformation with elements <matrixtransform matrix="”-1,0,0,1,0,0” / ">Here, the generation of a mirror image by affine transformation will be described with reference to FIG. 14. An image before rotation 1401 in FIG. 14 is an example of a state in which a rotation specification by affine transformation is not included. An image 1402 in FIG. 14 is a result of matrix transformation of affine transformation. <fixedpage>In this example, all elements in are multiplied by -1 in the x-axis direction to generate a mirror image inverted with respect to the y-axis. In this embodiment, when performing inversion processing in the XPS format, the inversion processing is performed for each page.

[0096] Next, the process proceeds to S1205, and the CPU 212< / fixedpage> Just before after reading the element< / matrixtransform> < / ppath> < / glyph> < / canvas> An element 1303 is newly added. FIG. 13A shows an example of data before FixedPage editing, and FIG. 13B shows an example of data after FixedPage editing. The print setting extension application 312 shows a mirror image of steps S1204 to S1205 in FIG. 13A. <canvas>The element is added to the + part in FIG. 13(b). The print setting extension application 312 adds the <path> 、 <glyph>By editing so that the inversion process is reflected in all child elements such as above, XPS data that becomes the mirror image 1402 in FIG. 14 is generated.

[0097] The process then proceeds to S1206, where the CPU 212 determines whether editing of all FixedPages in the Document has been completed, and if it is determined that editing of all FixedPages has not been completed, the process proceeds to S1207, and if it is determined that editing of all FixedPages has been completed, the process ends. In S1207, the CPU 212 starts editing the next FixedPage, and proceeds to S1203.

[0098] When the print setting extending application 312 finishes editing the intermediate data in this way, in S815 the print setting extending application 312 generates print data based on the intermediate data and the print setting information, and generates capability information based on the print setting information. Here, the print data refers to a PDL such as a PDF file, and the capability information specifically refers to IPP attributes. Then, the process proceeds to S816, where the print setting extending application 312 passes the generated print data and capability information to the print queue of the OS 313.

[0099] Here, a system will be described in which the print setting extension application 312 does not perform rendering, but generates print data using the local printer driver 314 or cloud printer driver 311. In S817, the OS 313 generates XPS data, edits the page layout, converts the XPS data into a predetermined format, and generates print data. Then, in S818, the OS 313 transmits the print data and capability information passed from the print setting extension application 312 to the cloud print service 321 via the print queue. Then, the cloud print service 321 transmits the print data and capability information passed from the OS 313 to the cloud print-compatible printer 104.

[0100] As described above, according to the embodiment, when the print setting extension application 312 edits the XPS data of intermediate data, if the user has specified mirror printing, the print setting extension application 312 edits the FixedPage to specify the inversion process for each element information in the XPS data. This makes it possible to use mirror printing, which was not available with the standard driver.

[0101] (Other embodiments) In other embodiments, a method will be described in which the print setting extending application 312 edits the PDF data of the print data instead of editing the XPS data of the intermediate data. Note that the system configuration shown in Fig. 1 is the same as that of the above-mentioned embodiment 1, and the same reference numerals will be used for the same parts as those of embodiment 1, and the description thereof will be omitted. Only the points different from embodiment 1 will be described below.

[0102] In step S815 of FIG. 8, upon receiving the intermediate data and the print setting information from the OS 313, the print setting extending application 312 generates print data based on the intermediate data and generates capability information based on the print setting information.

[0103] Here, the method in which the print setting extension application 312 edits the PDF data if a mirror print setting is specified in the print setting information after converting the XPS data of the intermediate data into PDF data of the print data will be explained using the flowchart in FIG. 15 and the PDF editing example in FIG. 16.

[0104] In S1201 of FIG. 15, if the print setting extension application 312 determines that the setting of "mirror printing" is ON from the print setting information, the process proceeds to S1501. On the other hand, if it is determined that the setting is OFF in S1201, the editing of the PDF data is terminated. In S1501, the print setting extension application 312 searches for a page tree node ( / / Type / Pages) from the beginning of the PDF data. Next, the process proceeds to S1502, where the print setting extension application 312 adds a cm operator of a matrix transformation matrix to the data stream (stream) of the page tree node detected in S1501. Here, the print setting extension application 312 sets the parameter to be set in the matrix transformation matrix of the cm operator to a value of (-1 0 0 1 0 0) so as to invert in the y-axis direction as in the affine transformation of the first embodiment. The print setting extension application 312 reflects the matrix transformation matrix in the objects of all subsequent pages by specifying the matrix transformation matrix in the page tree node. The cm operator indicates a rotation process for an entire file.

[0105] Fig. 16(a) shows an example of PDF data before being edited by the print setting extending application 312. Fig. 16(b) shows how the print setting extending application 312 adds the cm operator of the matrix transformation matrix to the page tree node by executing S1501 and S1502 in Fig. 15.

[0106] The rest of the process is the same as in the first embodiment, and therefore the description thereof will be omitted. In the other embodiments, the method of creating mirror-printed data by editing the PDF data of the print data has been described.

[0107] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0108] This specification and drawings disclose the following print extension program, information processing device and control method thereof, and storage medium.

[0109] [Item 1] A print extension program that extends the functionality of a standard printer driver that is included in an operating system (OS), an acquisition means for acquiring capability information of a target printing device in response to an event from the OS; a means for editing device capability information held by the OS based on the capability information acquired by the acquisition means; a display means for displaying a print setting screen based on the device capability information; a determination means for receiving intermediate data including print settings set via the print setting screen from the OS and determining whether the intermediate data includes a predetermined function not supported by the OS; an editing means for editing the intermediate data so that the predetermined function is realized when the determining means determines that the intermediate data includes the predetermined function; A print expansion program comprising:

[0110] [Item 2] 2. The print expansion program according to item 1, wherein the intermediate data is represented as XPS data (XML Paper Specification).

[0111] [Item 3] 3. The print expansion program according to item 2, wherein the editing means adds a predetermined element to the XPS data and defines the predetermined function with the predetermined element.

[0112] [Item 4] The predetermined element is <canvas>4. The print expansion program according to item 3, characterized in that it is an element.

[0113] [Item 5] 5. The print expansion program according to any one of items 1 to 4, wherein the predetermined function is mirror printing.

[0114] [Item 6] The print expansion program described in item 5, characterized in that the editing means adds the mirror printing function by adding a Render Matrix element to the beginning of each FixedPage element of the XPS data, which is the intermediate data.

[0115] [Item 7] An information processing device having a print expansion program installed in an operating system (OS) that acquires printer capability information from a target printing device, an acquisition means for acquiring additional capability information from the printing device based on an event from the OS; a means for editing device capability information held by the OS based on the capability information acquired by the acquisition means; a display means for displaying a print setting screen based on the device capability information; a determination means for determining whether intermediate data including the print settings set via the print setting screen includes a predetermined function that is not supported by the OS; an editing means for editing the intermediate data so that the predetermined function is realized when the determining means determines that the intermediate data includes the predetermined function; a generating means for generating print data based on the intermediate data edited by the editing means; 13. An information processing device comprising:

[0116] [Item 8] 8. The information processing device according to item 7, wherein the intermediate data is represented as XPS data.

[0117] [Item 9] 9. The information processing device according to item 8, wherein the editing means adds a predetermined element to the XPS data and defines the predetermined function with the predetermined element.

[0118] [Item 10] The predetermined element is <canvas>10. The information processing device according to item 9, which is an element.

[0119] [Item 11] 11. The information processing device according to any one of items 7 to 10, wherein the predetermined function is mirror printing.

[0120] [Item 12] Item 12. The information processing device according to item 11, wherein the editing means adds the mirror printing function by adding a Render Matrix element to the beginning of each FixedPage element of the XPS data, which is the intermediate data.

[0121] [Item 13] A method for controlling an information processing apparatus having a print expansion program installed in an operating system (OS) that acquires printer capability information from a target printing apparatus, comprising: acquiring additional capability information from the printing device based on an event from the OS; editing device capability information held by the OS based on the capability information acquired in the acquiring step; a display step of displaying a print setting screen based on the device capability information; a determination step of determining whether intermediate data including the print settings set via the print setting screen includes a predetermined function that is not supported by the OS; an editing step of editing the intermediate data so that the predetermined function is realized when the determining step determines that the intermediate data includes the predetermined function; a generating step of generating print data based on the intermediate data edited in the editing step; A control method comprising the steps of:

[0122] [Item 14] 7. A computer-readable storage medium storing the print extension program according to any one of items 1 to 6.

[0123] The present invention is not limited to the above-described embodiments, and various modifications and variations can be made without departing from the spirit and scope of the present invention. Therefore, the following claims are appended to apprise the public of the scope of the present invention. [Explanation of symbols]

[0124] 101: client terminal, 104: cloud print compatible printer, 212: CPU (client terminal), 213: memory, 214: storage unit, 311: cloud printer driver, 312: print setting extension application, 313: OS, 315: document generation application, 321: cloud print service< / canvas> < / canvas> < / glyph> < / path> < / canvas> < / canvas> < / fixedpage>

Claims

1. A print expansion program that expands the function of a standard printer driver that is included in an operating system (OS), an acquisition means for acquiring capability information of a target printing device in response to an event from the OS; a means for editing device capability information of the OS based on the capability information acquired by the acquisition means; a display means for displaying a print setting screen based on the device capability information; a determination means for receiving intermediate data including print settings set via the print setting screen from the OS and determining whether the intermediate data includes a predetermined function not supported by the OS; an editing means for editing the intermediate data so that the predetermined function is realized when the determining means determines that the intermediate data includes the predetermined function; A print expansion program comprising:

2. 2. The print expansion program according to claim 1, wherein the intermediate data is represented as XPS data (XML Paper Specification).

3. 3. The print expansion program according to claim 2, wherein the editing means adds a predetermined element to the XPS data, and defines the predetermined function by the predetermined element.

4. 4. The print expansion program according to claim 3, wherein the predetermined element is a <Canvas> element.

5. 5. The printing expansion program according to claim 1, wherein the predetermined function is mirror printing.

6. 6. The print expansion program according to claim 5, wherein the editing means adds the mirror printing function by adding a Render Matrix element to the beginning of each FixedPage element of the XPS data which is the intermediate data.

7. An information processing apparatus having a print expansion program installed in an operating system (OS) that acquires printer capability information from a target printing apparatus, an acquisition means for acquiring additional capability information from the printing device based on an event from the OS; a means for editing device capability information of the OS based on the capability information acquired by the acquisition means; a display means for displaying a print setting screen based on the device capability information; a determination means for determining whether intermediate data including the print settings set via the print setting screen includes a predetermined function that is not supported by the OS; an editing means for editing the intermediate data so that the predetermined function is realized when the determining means determines that the intermediate data includes the predetermined function; a generating means for generating print data based on the intermediate data edited by the editing means; 13. An information processing device comprising:

8. 8. The information processing apparatus according to claim 7, wherein the intermediate data is represented as XPS data.

9. 9. The information processing apparatus according to claim 8, wherein the editing means adds a predetermined element to the XPS data, and defines the predetermined function by the predetermined element.

10. 10. The information processing apparatus according to claim 9, wherein the predetermined element is a <Canvas> element.

11. 11. The information processing apparatus according to claim 7, wherein the predetermined function is mirror printing.

12. 12. The information processing apparatus according to claim 11, wherein the editing means adds the mirror printing function by adding a Render Matrix element to the beginning of each FixedPage element of the XPS data that is the intermediate data.

13. A method for controlling an information processing apparatus having a print expansion program installed in an operating system (OS) that acquires printer capability information from a target printing apparatus, comprising: acquiring additional capability information from the printing device based on an event from the OS; editing device capability information held by the OS based on the capability information acquired in the acquiring step; a display step of displaying a print setting screen based on the device capability information; a determination step of determining whether intermediate data including the print settings set via the print setting screen includes a predetermined function that is not supported by the OS; an editing step of editing the intermediate data so that the predetermined function is realized when the determining step determines that the intermediate data includes the predetermined function; a generating step of generating print data based on the intermediate data edited in the editing step; A control method comprising the steps of:

14. A computer-readable storage medium storing the print extension program according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Support program, information processing apparatus, and printing method

    JP2020087255A

Cited By

  • Application program, information processing device, and control method thereof

    JP2026127309A

  • Application program, information processing device, and control method thereof

    JP7864876B1