Information processing apparatus, control method for information processing apparatus, and application
The information processing apparatus allows users to easily switch between converting PDF files to XPS and printing without conversion, addressing quality issues and enhancing processing capabilities in general-purpose printer drivers.
Patent Information
- Application Number
- JP2023024844
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2024-09-02
- Estimated Expiration
- 2043-02-21
AI Technical Summary
In printing using general-purpose printer drivers, the conversion of PDF files to XPS files for processing can lead to deteriorated drawing quality, and existing methods do not allow easy switching between conversion and direct printing without conversion.
An information processing apparatus that includes means to convert files between formats, generate print data, and transmit data based on user instructions, allowing easy switching between converting a PDF file to XPS and printing without conversion.
Enables easy switching between converting a PDF file to XPS and printing without conversion, maintaining drawing quality and facilitating advanced processing options.
Smart Images

Figure 2024118526000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, a control method for the information processing device, and an application. [Background technology]
[0002] In recent years, generic printer drivers (local printer drivers) that communicate with printers using industry standard protocols such as IPP (Internet Printing Protocol) have been considered. Generic printer drivers (cloud printer drivers) that communicate with cloud print services have also been considered.
[0003] A generic printer driver can communicate with printers from multiple printer vendors, and a user can send print data to a printer or cloud print service and execute printing without installing a vendor-specific printer driver.
[0004] The above-mentioned generic printer drivers (local printer drivers and cloud printer drivers) handle print jobs printed by printers from various vendors, so there are limitations on the items and functions that can be set as print settings. In response to this, as in Patent Document 1, a method has been considered in which the printer queue linked to the printer driver is expanded using identification information of the printer linked to the printer driver. In addition, it has also been considered to expand setting items that cannot be set with the generic printer driver by using printer capability information acquired from a cloud print service. This makes it possible to realize a vendor-specific print setting screen and print job editing function that cannot be set only with the generic printer driver. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2021-124791 A Summary of the Invention [Problem to be solved by the invention]
[0006] In printing using the above-mentioned generic printer driver, the OS of the information processing device generates an XML Paper Specification (hereinafter referred to as an XPS file) based on the drawing information output by the application. The print setting extension application can print by converting the XPS file generated by the OS into a PDF file or a specified raster data and sending it to the printer.
[0007] When opening a PDF file and printing using a generic printer driver, converting the PDF file to an XPS file and then generating the PDF file again may result in a degradation of rendering quality during data conversion. On the other hand, converting a PDF file to an XPS file once makes it possible to change the layout, add watermark images, and perform other operations that would be difficult to perform with a PDF file as is.
[0008] The purpose of this application is to make it possible, when opening a PDF file in an application and printing using a generic printer driver, to easily switch between converting the file to an XPS file first and then printing, or printing without converting the file. [Means for solving the problem]
[0009] The information processing device of the present invention comprises a conversion means for converting a file of a first format output by an application into a file of a second format, a generation means for generating print data based on the converted file, and a transmission means for transmitting the print data generated by the generation means, wherein the transmission means comprises a transmission means for transmitting the file output by the application without conversion in accordance with a user's instruction to send the file output by the application without conversion. Effect of the Invention
[0010] When opening a PDF file in an application and printing using a generic printer driver, the information processing device of the present invention can easily switch between converting the file to an XPS file and then printing, or printing without converting the file. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 illustrates an example of a printing system according to an embodiment of the present invention. [Diagram 2] FIG. 1 illustrates an example of a hardware configuration of an information processing apparatus and an image forming apparatus according to an embodiment of the present invention. [Diagram 3] 11 is a sequence diagram showing a process of installing a print setting extension application in the present embodiment. FIG. [Figure 4] 1 is a diagram showing an example of a printer management screen displayed on a client terminal 101 in this embodiment. [Diagram 5] 11 is a diagram showing an example of capability information stored in a cloud print-compatible printer 104 in this embodiment. FIG. [Figure 6A] 3 is a diagram showing an example of device configuration information included with the OS 313 in this embodiment. [Figure 6B] 13 is a diagram illustrating an example of device configuration information after being extended with information acquired from a cloud print service 321 in this embodiment. FIG. [Figure 7] FIG. 11 is a diagram showing an example of an extended setup information file acquired from an online support service in the present embodiment. [Figure 8] FIG. 11 is a sequence diagram showing a process from print setting in a print setting extension application to sending print data in the present embodiment. [Figure 9] 11 is a diagram illustrating an example of a print setting screen displayed when a print setting extension application in the embodiment is not installed. [Figure 10] 11 is a diagram illustrating an example of a print setting screen that is displayed when a print setting extending application is installed in the present embodiment. [Figure 11] FIG. 11 is a diagram illustrating an example of a print setting initial screen displayed by a document generation application in the present embodiment. [Figure 12] FIG. 11 is a diagram illustrating an example of a print setting screen displayed by a print setting extending application in the first embodiment. [Figure 13] 4 is a flowchart showing a process executed by the client terminal 101 in the first embodiment. [Figure 14] FIG. 11 is a diagram illustrating an example of a print setting screen displayed by a print setting extension application when a PDF pass-through function cannot be used in the first embodiment. [Figure 15] FIG. 11 is a diagram illustrating an example of a print setting screen displayed by a print setting extending application in the second embodiment. [Figure 16] 11 is a flowchart showing a process executed by the client terminal 101 in the second embodiment. [Figure 17] 11 is a diagram showing an example of information on PDL types that can be processed by a cloud print-compatible printer 104, which is written to a PDC in this embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Example 1 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0013] 1 shows a configuration diagram of a printing system for cloud print in this embodiment. 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.
[0014] Although FIG. 1 illustrates one client terminal 101 and one cloud print-compatible printer 104, there may be a plurality of client terminals 101 and a plurality of cloud print-compatible printers 104.
[0015] Furthermore, the cloud print server 102, the application management server 103, and the online support server 105 may 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, it is possible to distribute the load to a plurality of information processing devices.
[0016] Furthermore, the cloud print server 102, the application management server 103, and the online support server 105 may be virtually configured within one physical information processing apparatus.
[0017] The network 107 is assumed to be a WAN such as the Internet for connecting to cloud services, but 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, a tablet, or a smartphone, and is a terminal that is directly operated by a user. On the client terminal 101, any application software can be executed.
[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 it.
[0020] 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 .
[0021] The cloud print-compatible printer 104 receives print data generated by a cloud printer driver 311 of the client terminal 101 via the cloud print server 102. In addition, the cloud print-compatible printer 104 receives print data generated by a local printer driver 314 of the client terminal 101 without going through the cloud print server 102.
[0022] 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 cloud print-compatible printer 104 specified by the print data. In this embodiment, the print data includes image data and print settings.
[0023] 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.
[0024] 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 an extended setup information file in which information for extending the functions of the client terminal 101 is described.
[0025] Next, the hardware configuration of the system of this embodiment will be described with reference to FIG.
[0026] FIG. 2A is a block diagram showing the hardware configuration of the client terminal 101. As shown in FIG.
[0027] 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 .
[0028] The storage unit 214 refers to a non-volatile storage device such as a hard disk or SSD, and is capable of storing and rewriting digital data.
[0029] The control unit 211 is composed of a CPU 212 and a memory 213, and controls the overall operation of the client terminal 101. The CPU 212 loads programs stored in the storage unit 214 into the memory 213 and executes them. 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.
[0030] The network communication unit 215 is a device for communicating with the external network 107, and inputs and outputs digital data to and from external servers, client terminals, and the like via the network 107.
[0031] The display unit 216 is a device for displaying visual information to the user, such as a liquid crystal display. The operation unit 217 is a device for receiving input from the user via a keyboard, mouse, etc. A device having the functions of both the display unit 216 and the operation unit 217, such as a touch panel, may be used.
[0032] 2B is a block diagram showing a hardware configuration of the cloud print server 102. The cloud print server 102 includes a storage unit 224, a control unit 221, and a network communication unit 225.
[0033] The description of the storage unit 224, the control unit 221, and the network communication unit 225 is omitted because they are the same as those of the client terminal 101.
[0034] Although the cloud print server 102 is described as being configured from one information processing apparatus having the hardware configuration shown in FIG. 2B, the cloud print server 102 may be a server system configured from a plurality of information processing apparatuses.
[0035] 2C is a block diagram showing the hardware configuration of the application management server 103. 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.
[0036] The display unit 236, operation unit 237, storage unit 234, control unit 231, and network communication unit 235 are the same as those in the client terminal 101, and therefore will not be described here.
[0037] Although 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), the application management server 103 may be configured from a plurality of information processing devices.
[0038] 2D is a block diagram showing the hardware configuration of the cloud print-compatible printer 104. 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.
[0039] The display unit 246 is a device for displaying information to the user, such as a touch panel or LED provided on the cloud print-compatible printer 104.
[0040] The operation unit 247 is a device for receiving input from a user, and may include hard keys such as a numeric keypad in addition to a touch panel. The storage unit 244 and the control unit 241 are the same as those in the client terminal 101, and therefore a description thereof will be omitted.
[0041] The network communication unit 245 is a device that communicates with the external network 107, and is mainly responsible for 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.
[0042] The printing unit 248 is a device that performs printing processing by carrying out a series of operations such as paper feeding, printing, and paper ejection on paper prepared in a cassette or tray. The printing method is not particularly limited to electrophotographic or inkjet printing. Finishing devices such as a duplex unit, stapler, and puncher used when ejecting paper are also included in the printing unit 248.
[0043] In this embodiment, a single-function printer that performs only a printing function is 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.
[0044] FIG. 2(e) is a hardware block diagram showing the details of the online support server 105. In this embodiment, the online support server 105 is described as being configured from one information processing device, but may be configured from multiple information processing devices. The online support server 105 is configured from a display unit 256, an operation unit 257, a storage unit 254, a control unit 251, and a network communication unit 255. The display unit 256 and the operation unit 257 are similar to the display unit 216 and the operation unit 217 of the client terminal 101, and therefore will not be described. 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 in which information for extending the functions provided by the client terminal 101 is described.
[0045] The control unit 251 is composed of 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. The online support server 105 receives a request to acquire a file stored in the memory unit 254 via the network communication unit 255, and transmits the corresponding file to the client terminal 101.
[0046] Next, an example of a user's procedure for installing the print setting extension application 312 and a sequence between each piece of software and the print service in this embodiment will be described with reference to FIG.
[0047] First, the cloud print-compatible printer 104 accepts a printer registration operation from a user to register the cloud print-compatible printer 104 in the cloud print service 321. Next, the cloud print-compatible printer 104 transmits printer device identification information and a printer registration request to the cloud print service 321 (S3001). 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.
[0048] When the cloud print service 321 receives the registration request, it transmits the URL of the cloud print service 321 for printer registration to the cloud print-compatible printer 104. When the user accesses the URL from the cloud print-compatible printer 104 or an information processing device, a screen consisting of an input form for a user ID and password is displayed on the display unit of the terminal that accessed the URL. The user 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, the cloud print service 321 transmits a request to the cloud print-compatible printer 104 to obtain information required for printer registration. The cloud print-compatible printer 104 transmits printer information to the cloud print service 321 in response to the request.
[0049] Next, the cloud print service 321 that has received the printer registration request 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 it to the generated print queue. The capability information is information that indicates the functions that the printer has, and refers to information necessary for the user to set as print settings when printing, such as double-sided printing capability information, color printing capability information, stapling capability information, and the format of image data that the printer can process.
[0050] In this embodiment, IPP is used as a communication protocol for transmitting capability information, and the cloud print service 321 acquires item names, attribute values, and default values as shown in an example in FIG. 5 from the cloud print-compatible printer 104. The item names correspond to the setting items of the print settings, and the attribute values correspond to the setting values, options, and value ranges of each setting item. In addition, the item names and attribute values stored in the cloud print-compatible printer 104 include information defined as industry standard specifications by IPP and information uniquely defined by the printer vendor. For example, among the item names shown in FIG. 5, "Job name shortening" and "Stapleless binding" and the attribute values associated therewith are item names and attribute values uniquely defined by the printer vendor. Note that the printer vendor may define its own attribute values as attribute values corresponding to the item names defined as industry standard specifications. Furthermore, the capability information is not related to whether each item and attribute value is defined by IPP or not.
[0051] 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.
[0052] The OS 313 of the client terminal 101 accepts a printer addition operation, which is a setup operation of the cloud print-compatible printer 104 by the user (S3002). The setup operation of the cloud print-compatible printer 104 is, for example, the following operation. Fig. 4 shows a management screen for printers registered in the client terminal 101, displayed by the OS 313 of the client terminal 101. When the user selects an object 401, an instruction to add a printer is input to the OS 313.
[0053] The OS 313, which has received an instruction to add a printer, determines whether or not it holds a token for the cloud print service 321. If the OS 313 does not hold a token, the OS 313 displays a screen for inputting user information (login name, password). The OS 313 transmits the user information input via the screen to the cloud print service 321, and requests user authentication and an access token (S3003).
[0054] The cloud print service 321 performs authentication processing (S3004) using the user information received from the client terminal 101. After completing the authentication processing, the cloud print service 321 notifies the client terminal 101 of the result of the authentication processing.
[0055] If the user authentication is successful, the OS 313 of the client terminal 101 acquires an access token from the cloud print service 321 (S3005).
[0056] If the user authentication fails in S3004, the cloud print service 321 notifies the OS 313 of an authentication error (S3006). The OS 313 stops the process based on the received authentication error information (S3007). If the OS 313 cannot obtain an access token, it ends the process described in FIG.
[0057] If the OS 313 already holds an access token or if the OS 313 acquires a token in S3005, the OS 313 advances the process to S3008. The OS 313 searches for printers registered in the cloud print service 321 and printers connected to the network 107.
[0058] The OS 313 transmits a request to obtain printer information registered in the cloud print service 321 and searches for a printer (S3008). At this time, the OS 313 transmits the request to obtain printer information to the cloud print service 321 with an access token attached.
[0059] The cloud print service 321 transmits to the client terminal 101 the printer name and HWID of the printer that the user, identified by the access token attached to the acquisition request, is permitted to use (S3009).
[0060] 4 based on the printer information acquired from the cloud print service 321 and the printer information detected by searching the network 107. Note that the area 402 may display only the information of the printers registered in the cloud print service 321.
[0061] When the user selects printer information from the list in area 402, the OS 313 queries the cloud print service 321 for capability information of the printer corresponding to the selected printer information (S3010). The specifications of the OS 313 stipulate which setting item the OS 313 queries for capability information. The OS 313 uses Get-Printer-Attribute defined in IPP to send a capability information acquisition request to the cloud print service 321 with an item name defined in IPP as an argument.
[0062] The cloud print service 321 responds to the OS 313 with the capability information of the cloud print-compatible printer 104 (S3011). Note that the capability information responded from the cloud print-compatible printer 104 may not only be the capability information at the time of registration with the cloud print service 321 in S3001, but may also be capability information registered with the cloud print service 321 at other times. For example, it may be capability information at the time when the capability information of the cloud print-compatible printer 104 is changed or when the OS 313 detects the launch of a detailed print setting screen.
[0063] In S3011, the cloud print service 321 responds with attribute values and default values corresponding to the setting items specified by the client terminal 101. Here, all attribute values registered in the cloud print service 321 are responded to. Note that if the cloud print service 321 does not store a response to the attribute inquired by the OS 313, the cloud print service 321 does not respond to the OS 313.
[0064] Next, the OS 313 starts the installation of the cloud printer driver 311 based on the device identification information and printer name of the printer selected by the user.
[0065] Then, the OS 313 generates a print queue for the cloud printer driver 311 having basic device capability information included in the OS 313 (S3012). The device capability information refers to definition information required to generate print setting capability information of the printer driver, for example, information described in XML such as PrintDeviceCapabilites. FIG. 6A is a diagram showing an example of initial device capability information included in the OS 313. For example, in the case of "PageMediaSize" 601 indicating paper size described in the setting item "Feature", the option "Option" has only two paper sizes, "A4" and "LETTER", as the initial value of the device capability information. This information is stored in association with the print queue and managed by the OS 313. The initial device capability information is fixed device capability information regardless of the information of the connected printer.
[0066] After that, the OS 313 updates the device capability information constituting the cloud printer driver 311 using the capability information acquired from the cloud print service 321. FIG. 6B is a diagram showing an example of device capability information updated using the capability information acquired from the cloud print service 321. For example, "Option" other than "A4" and "LETTER" is added to "PageMediaSize" 602 indicating the paper size as a paper size that the cloud print-compatible printer 104 can print. In this way, the client terminal 101 first registers the device capability information included in the cloud printer driver 311 and the OS 313 in association with each other in the print queue. Then, the device capability information linked to the print queue is updated with the capability information acquired from the cloud print service 321. At this time, the OS 313 extends the setting value by updating the device capability information using only attribute values defined in the industry standard specifications among the capability information acquired from the cloud print service 321. Also, even if a vendor-specific attribute value is acquired in acquiring the capability information, the vendor-specific attribute value is not added to the device capability information. With the above, the installation of the cloud printer driver 311 is completed. The format of image data that the cloud print-compatible printer 104 can print based on is defined as shown in Fig. 17 and written in the device capability information. "XPStoPDF" 1801 in Fig. 17 is capability information indicating that the cloud print-compatible printer 104 can receive and print PDF files. Similarly, if the cloud print-compatible printer 104 can receive and print files in PWG-Raster format, capability information indicating this is written in the device capability information.
[0067] Next, the OS 313 starts the process of installing an application that is linked to the printer and that extends the cloud print driver.
[0068] First, the OS 313 performs an identification additional information adding process on the device identification information. This process is necessary when acquiring the extended setup information file 700 from the online support server 105, and it is sufficient that the character string is different from the normal device identification information. In the case of this embodiment, in order to distinguish from applications of other devices, the OS 313 adds identification additional information ("PrinterApp_") indicating that the application is compatible with the printer to the device identification information. Note that "PrinterApp_" is just an example, and other character strings, numbers, or symbols may also be used. 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 identification additional information adding process becomes PrinterApp_device001.
[0069] The OS 313 transmits a search request for the extended setup information file 700 including the target device identification information with additional identification information to the online support service 351 (S3013). At this time, the online support service 351 is notified of “PrinterApp_device001” to which the additional identification information has been added as described above.
[0070] FIG. 7 shows an example of an extended setup information file 700, and the extended setup information file of FIG. 7 is stored in the online support service 351 that is the search destination.
[0071] The extended setup information file 700 describes an application identifier for identifying a print setting extension application used to set print data sent to the cloud print-compatible printer 104. In the extended setup information file written in Fig. 7, an item "PackageFamilyName" 701 is identification information of the print setting extension application, which corresponds to PrinterApp_aaaaaaaaaaa8a!App in Fig. 7. On the other hand, "PrinterHardwareID" describes a character string in which additional identification information has been added to the identification information of the cloud print-compatible printer 104, which corresponds to PrinterApp_device001 in Fig. 7.
[0072] The online support service 351 also stores extended setup information in which printer driver identification information is described. In an extended setup information file in which a printer driver identifier is described, the printer driver identifier is described in "PackageFamilyName". Furthermore, device identification information without additional identification information is described in "PrinterHardwareId" in the extended setup information file. Therefore, in order for the OS 313 to obtain the necessary extended setup information file from the online support service 351, the additional identification information is added to the device identification information.
[0073] If the search result shows that the online support service 351 has an extended setup information file 700 including the target device identification information, the online support service 351 returns the extended setup information file 700 to the OS 313 (S3014). The contents of the returned extended setup information file are written to the registry of the OS 313.
[0074] Next, the OS 313 links the extended setup information written in the extended setup information file acquired from the online support service 351 with the print queue generated in S3012 and installs it (S3015).
[0075] Next, the OS 313 extracts the application ID described in "PackageFamilyName" from the installed extended setup information (S3016).
[0076] If the online support service 351 cannot find the extended setup information file 700 including the target device identification information as a result of the search, the OS 313 stops the application installation process (S3017). In addition, the OS 313 executes the process of S3017 when it cannot receive the extended setup file within a predetermined time after the search request or when it receives an error notification from the online support service 351.
[0077] The following describes the process after the search is successful.
[0078] The OS 313 requests the application management service 331 to search for an application that matches the extracted application ID (S3018).
[0079] When the application management service 331 that has received the search request holds a print setting extension application that matches the requested application ID, the application management service 331 returns the print setting extension application 312 that matches the application ID to the client terminal 101 (S3019).
[0080] The OS 313 installs the acquired print setting extension application 312 in association with the print queue on the client side (S3020). At this time, the OS 313 saves the application ID in the registry as print queue information. The print setting extension application 312 also sets the OS 313 so that the print queue associated with the application notifies the OS 313 of an event at the timing set on the print setting screen. After the OS 313 starts up, the installed print setting extension application 312 starts up and operates as a background task.
[0081] If the search result shows that the application management service 331 does not have a print setting extension application that matches the requested application ID, the OS 313 stops the application installation process (S3021). At this time, the generated print queue and the cloud printer driver 311 are linked and installed, but the print setting extension application 312 is not linked to the print queue and the process ends.
[0082] In addition, the search for the above-mentioned extended setup file may be performed without adding a predetermined character string if the file for installing the printer driver can be distinguished.
[0083] 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.
[0084] The document generation application 315 displays a print setting screen (FIG. 11) for selecting a print queue as an initial print setting screen. The document generation application 315 refers to applications such as an application for creating document data, an application for creating presentation materials, and an application for displaying photos and image data.
[0085] In this embodiment, the document generation application 315 displays the print settings initial screen, but a similar screen may be displayed by the OS 313. The print settings initial screen displays an object 1101 for selecting a print queue, an object 1102 for print settings, and a print preview 1103. The OS 313 detects that a printer to be used has been selected by the user via the object 1101, and selects a printer queue (S801). The following description is based on the assumption that the print queue of the default printer has been selected when the display of the print settings initial screen starts.
[0086] Next, the OS 313 transmits a printer capability information acquisition request to the cloud print service 321 (S802). The OS 313 specifies the printer name selected in the object 1101 on the print setting initial screen, and transmits the capability information acquisition request to the cloud print service 321. Since the specification of the OS 313 is followed as to which setting item the capability information is inquired about, the capability information acquired at this timing is the same as that acquired in S3001 of FIG. 3. The inquiry is made to the cloud print-compatible printer 104 using a standard protocol defined by IPP, such as Get-print-Attributes. When Get-printer-Attributes is used, the capability information determined by the OS 313 is inquired in list format.
[0087] The cloud print service 321 returns capability information of the cloud print-compatible printer 104 from the capability information list sent by Get-printer-Attributes to the OS 313 (S803). 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.).
[0088] 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 respond with the associated value.
[0089] The OS 313 updates the device capability information using the capability information acquired from the cloud print service 321. The OS 313 adds the capability information acquired in S803 of Fig. 8 to the device capability information generated in S3012 of Fig. 3 (S804). When there is an update to the device capability information, the device capability information managed by the client terminal 101 can be updated by performing S803.
[0090] Next, the OS 313 notifies the print setting extension application 312 of the API used to edit the event and device capability information (S805).
[0091] When the print setting extension application 312 receives this event, it transmits a capability information acquisition request to the cloud print service 321. The capability information acquired here is for writing setting items and attribute values that are uniquely defined by the printer vendor into the device capability information.
[0092] When the print setting extension application 312 receives an edit event for device capability information from the OS 313, it inquires about capability information of the cloud print-compatible printer 104 via the cloud print service 321 (S806). At this time, the print setting extension application 312 inquires of the cloud print service 321 about capability information consisting of setting items including printer vendor-specific setting items and attribute values such as "stapleless binding" and "saddle fold". The inquiry is made using Get-printer-Attributes, as in S802 of FIG. 8, and capability information is acquired by specifying the item name of the setting item to inquire about. Note that the capability information acquired in S806 may be not only setting items and attribute values defined uniquely by the printer vendor, but also setting items already acquired by the OS 313 when acquiring capability information.
[0093] When the cloud print-compatible printer 104 receives an inquiry about unique capability information from the print setting extending application 312, the cloud print-compatible printer 104 responds to the print setting extending application 312 via the cloud print service 321 (S807). The response method here is the same as S3011 in FIG. 3 described above. In this embodiment, the capability information responded in S807 is the capability information of the cloud print-compatible printer 104 stored in the cloud print service 321. Also, the cloud print service 321 may respond with capability information reacquired from the cloud print-compatible printer 104 at the timing of receiving the request in S806.
[0094] When the print setting extension application 312 acquires capability information from the cloud print-compatible printer 104, it edits the device capability information via a configuration information object, which is a data group required for editing the device capability information. The print setting extension application 312 converts capability information acquired in S807 of Fig. 8, such as "stapleless binding," "saddle folding," and "PDL types that can be sent to the printer," into device capability information and adds it to the configuration information object, thereby editing the device capability information (S808). As a result of the editing, in addition to capability information related to standard setting items acquired in response to an inquiry from the OS 313, printer vendor-specific setting items and attribute values are stored in the device capability information.
[0095] Next, the print setting extending application 312 passes the edited device capability information to the OS 313 (S809). The OS 313 associates the device capability information acquired from the print setting extending application 312 with the print queue and stores it.
[0096] When the OS 313 updates the device capability information, an object that triggers displaying the UI of the print setting extension application 312, such as object 1104 in Fig. 11, becomes valid (S810). Until the processing of S810 is completed, object 1104 remains grayed out.
[0097] When the user selects the object 1104, the print setting extension application 312 is started by the OS 313, and a print setting screen such as that shown in Fig. 10 is displayed (S811). This print setting screen does not depend on the type of document generation application 315 to be used.
[0098] If the print queue and the print setting extension application 312 are not associated, a standard print setting screen preinstalled in the OS 313 is displayed as shown in FIG. 9A. On the standard print screen, pressing a detailed setting button 901 displays a detailed print screen as shown in FIG. 9B, which displays a detailed print screen having setting items that cannot be displayed in FIG. 9A. The detailed print screen shown in FIG. 9B corresponds to a scroll bar, and it is possible to set a plurality of setting items supported by the OS 313 by transitioning between screens as shown in FIG. 9C and FIG. 9D. When an OK button 902 is selected, the set print settings are saved and the screen shown in FIG. 9A is displayed. An apply button 903 is a button for saving the print settings, and a cancel button 904 is a button for returning to the screen of FIG. 11 without saving the print settings. Similarly, an OK button 905 saves the print settings and returns to the screen of FIG. 11.
[0099] Returning to the print setting extension application 312, 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 the extended print setting screen shown in Fig. 10(a). The screens in Fig. 10(a) to (e) are displayed by scrolling the screen.
[0100] For example, the output paper size of the setting item 1001 in Fig. 10(a) is a display of print setting information generated from psk:PageMediaSize in Fig. 6(b). Also, A4, which is an option for output paper size, is generated and displayed by the print setting extension application 312 based on the print setting information psk:IOSA4. In this way, the print setting extension application 312 displays the device capability information as a setting value on the extended print setting screen.
[0101] The print setting extension application 312 provides a function for the user to change print settings as desired, and saves the setting values when the settings are changed. When the user selects an OK button 1002 displayed on the print setting extension screen in Fig. 10, the print settings are finalized. 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.
[0102] A list box 1003 in FIG. 10D is a list box for setting whether the PDF pass-through function is disabled or enabled. When the PDF pass-through is disabled, the PDF created by the document generation application 315 is converted to XPS once by the OS 313, and then converted to PDF again by the print setting extension application and sent to the cloud print compatible printer 104. On the other hand, when the PDF pass-through is enabled, the PDF created by the document generation application 315 is sent to the cloud print compatible printer 104 as is without being converted to XPS. Note that a list box for switching between enabling and disabling the PDF pass-through is not displayed on the standard print setting screen displayed by the OS 313. When the OK button 1002 is selected by the user, the print setting extension application 312 obtains print setting information processed within the control of the print setting screen from the print setting screen, passes the print setting information to the OS 313, and closes the extended print setting screen shown in FIG. 10 (S812). When the process of S812 is completed, the print setting initial screen of FIG. 11 reflecting the setting values set by the print setting extension application 312 is displayed.
[0103] 11, when the user selects the "Print" button 1105, a print instruction is input to the OS 313. The OS 313 executes processing relating to printing based on the input instruction (S813).
[0104] When the OS 313 is instructed to execute printing, it generates intermediate data and passes the generated intermediate data and the print setting information edited on the print setting screen section to the print setting extension application 312 (S814). The intermediate data is data that is generated before being converted into print data such as PDL, and for example, XPS data. The print setting information is also included in this intermediate data.
[0105] There are three possible patterns for processing when the user selects "Print" 1105 on the print settings initial screen shown in Fig. 11. The first is when the print settings extending application 312 linked to the selected print queue is installed in the client terminal 101 and the PDF pass-through function is disabled. The second is when the print settings extending application 312 linked to the selected print queue is not installed. And the third is when the print settings extending application 312 linked to the selected print queue is installed and the PDF pass-through function is enabled. Each of these is explained below.
[0106] In the first case, the print setting extending application 312 corresponding to the print queue is installed in the client terminal 101, and the PDF pass-through function is disabled. The OS 313 converts the file output from the document generation application 315 into intermediate data, and transmits the converted intermediate data and print settings to the print setting extending application 312. The print setting extending application 312 receives the intermediate data and print setting information from the OS 313, and generates print data and print capability information (S815). Note that the intermediate data is, for example, data in XPS format, the print data is, for example, a PDL such as a PDF file, and the print capability information is specifically an attribute value of the print setting information defined by IPP.
[0107] After generating the print data, the print setting extension application 312 passes the generated print data and printing capability information to the print queue of the OS 313 (S816). The above is the process executed in the first case.
[0108] In the second case described above, the OS 313 of the client terminal 101 executes the process described below in step S816. The OS 313 converts the data output by the document generation application 315 into intermediate data, and generates print data and printing capability information from the intermediate data and the print settings (step S817).
[0109] Next, the process of the third case described above will be described. In the third case, the print setting extending application 312 corresponding to the selected print queue is installed in the client terminal 101, and the PDF pass-through setting is enabled. Note that the PDF pass-through can be enabled when the document generation application 315 can output a PDF file. The OS 313 receives the PDF file and the print settings from the document generation application 315. The OS 313 transmits the received PDF file and the print settings to the print setting extending application 312 (S820). The print setting extending application 312 generates print capability information based on the received print settings, while leaving the received PDF file as is. The print setting extending application 312 transmits the PDF file and the generated print capability information to the OS 313 (S821).
[0110] The OS 313 transmits the print data and printing capability information passed from the print setting extension application 312 or the print data and printing capability information generated by the OS 313 to the cloud print service 321 via the print queue (S818).
[0111] The cloud print service 321 transmits the print data and printing capability information received from the client terminal 101 to the cloud print-compatible printer 104 (S819).
[0112] The cloud print-compatible printer 104 may periodically inquire of the cloud print service 321 and acquire unprinted print data stored on the cloud print service 321 and printing capability information corresponding to the print data. In addition, in the process of S801 in Fig. 8, capability information is acquired at the timing when the printer name is selected in the document generation application 315, and the subsequent process up to the display of the print setting screen is performed, but the above process may be started at another timing. For example, the above process may be started at the timing when the object 1104 displayed on the document generation application 315 is pressed.
[0113] In the above explanation, when a print queue and the print setting extension application 312 are linked, the flow from displaying the extended print setting screen (FIG. 10) of the print setting extension application 312 when the print queue is selected to printing has been described.
[0114] Up to this point, the entire explanation has been given regarding the print setting extension application 312 and printing using the print setting extension application 312. From here on, a more detailed explanation regarding PDF pass-through will be given.
[0115] FIG. 12 shows an expanded print setting screen that is displayed when the PDF pass-through function is enabled on the print setting screen shown in FIG.
[0116] The list box 1003 is an object for a user to set whether the PDF pass-through function is enabled or disabled. When the PDF pass-through is set to "enabled", the print setting extension application 312 receives the PDF file and print settings output by the document generation application 315. The print setting extension application 312 converts the print settings into attribute values defined by IPP without converting the file format of the PDF file, generates print capability information, and transmits the information to the OS 313. Note that attribute values not defined by IPP are not converted, and are transmitted to the OS 313 as is. When the PDF pass-through is set to "disabled", the OS 313 converts the PDF file output by the document generation application 315 into an XPS file once. The print setting extension application 312 receives the XPS file and print settings obtained by the conversion. The print setting extension application 312 converts the XPS file into a PDF file, generates print capability information indicated by attribute values defined by IPP from the print settings, and transmits the information to the OS 313.
[0117] "Background pattern setting" 1202 is a function for adding a predetermined character string image or a character string image set by the user to image data output by the document generation application 315. When "Background pattern setting" 1202 is selected, a background pattern setting screen (not shown) is displayed. On the background pattern setting screen, it is possible to enable or disable the background pattern function, and to set the font size, character string, font type, color, dot pattern, and character string arrangement of the characters to be added to image data output by the document generation application 315.
[0118] When the OK button 1002 is selected, the display of the extended print setting screen shown in FIG. 12 ends, and the initial print setting screen shown in FIG. 11 is displayed.
[0119] In this embodiment, when PDF pass-through is enabled in the list box 1003, the "watermark setting" 1202 is displayed in gray and cannot be set. The "watermark setting" is a function for editing a file generated by the document generation application 315 and converted into XPS format by the OS 313, and adding image data. Therefore, when the print setting extension application 312 receives data in PDF format, the image cannot be edited. Therefore, in this embodiment, when PDF pass-through is enabled, the print setting extension application 312 executes control so that the "watermark setting" cannot be set. Note that in FIG. 12, when the PDF pass-through function is enabled, the "watermark setting" 1202 is displayed in gray. The display mode is not limited to graying out. For example, when PDF pass-through is enabled, the "watermark setting" 1202 may be hidden. Also, the "watermark setting" 1202 may be displayed regardless of whether the PDF pass-through is enabled or disabled, and an error notification may be displayed when the PDF pass-through function is enabled when the user selects the "watermark setting" 1202. The error notification mentioned above is a notification that the watermark function cannot be used when PDF pass-through is enabled. In addition, both the PDF pass-through function and the watermark setting can be set on the print setting screen, and when both the PDF pass-through and the watermark setting are enabled, one of the functions may be disabled before the print process is executed.
[0120] Next, a method of displaying a pass-through enable / disable switch button when the data to be printed is PDF in this embodiment will be described with reference to FIG.
[0121] This process is realized by loading a program for executing the process into memory 213 in FIG. 2 and causing CPU 212 to execute the program.
[0122] The client terminal 101 is started, and the process starts from the point where the print setting screen (FIG. 11) of the document generation application is displayed in step S1300. Here, the description will be given assuming that the printer name of the print queue associated with the print setting extension application 312 is selected in the object 1101 in FIG.
[0123] The CPU 212 acquires the printer capability information stored in association with the print queue of the selected printer name (S1301). The CPU 212 executes the process of S1301 by executing the print setting extension application 312. Here, the intention is to perform a process of reading out the printer capability information stored in the client terminal 101, but at this timing, the cloud print service may be accessed and a process of acquiring the capability information may be performed.
[0124] Next, it is determined whether or not "Other settings" 1104 on the print setting screen shown in Fig. 11 has been selected (S1302). This determination is made by the document generation application 315 that displays Fig. 11. The CPU 212 repeats the process described in S1302 until "Other settings" 1104 is selected. When "Other settings" 1104 is selected, a notification is sent from the document generation application 315 to the OS 313. Upon receiving the notification, the OS 313 selects the print setting extended application 312 linked to the print queue of the selected printer name, and instructs the print setting extended application 312 to display an extended print setting screen.
[0125] Based on the capability information acquired in S1301, the CPU 212 determines whether the printer with the selected printer name can execute printing based on a PDF file (S1303). S1303 is realized by the CPU 212 executing the program of the print setting extension application 312. The determination of whether there is capability to process PDF is made based on whether the character string PDF is present in the description of data conversion shown in FIG. 18. If the capability information does not include PDF printing, that is, if the printer corresponding to the selected print queue does not support PDF printing, the CPU 212 proceeds to S1305. If the capability information includes PDF printing, the CPU 212 proceeds to S1304.
[0126] The CPU 212 determines whether the file output by the document generation application is a PDF file (S1304). The determination in S1304 is based on, for example, whether the character string "%PDF" is present at the beginning of the file to be printed. The process described in S1304 is realized by the CPU 212 executing the print setting extending application 312. The process described in S1304 may be as follows. The CPU 212 acquires an identifier of an application that has instructed the display of the print setting screen according to a program of the print setting extending application 312. If the acquired application identifier is an identifier of a specific application, the CPU 212 may determine that the document generation application outputs a PDF file, and proceed to S1306. The identifier of the application that has instructed the print setting extending application 312 to display the print setting screen is acquired by using an API (Application Programming Interface) provided by the OS 313.
[0127] The CPU 212 displays a print setting screen in which a list box for setting whether PDF pass-through is enabled or disabled is grayed out in accordance with the print setting extension application 312 (S1305). By executing S1305, a print setting screen such as that shown in FIG. 14 is displayed. The list box 1003 is grayed out, and the setting value cannot be changed from disabled to enabled. In addition, the "watermark setting" 1202 is displayed as operable, and when the "watermark setting" 1202 is selected, a watermark setting screen (not shown) is displayed. In this embodiment, the list box 1003 is displayed in gray out to prevent the setting of PDF pass-through from being changed. In S1305, the list box 1003 may not be displayed so that PDF pass-through is not set to enabled.
[0128] The CPU 212 acquires information on whether the PDF pass-through setting is enabled or disabled (S1306) according to the program of the print setting extension application 312. The CPU 212 acquires information indicating the current print setting from the OS 313. The CPU 212 refers to the acquired current print setting and determines whether the PDF pass-through is enabled or disabled.
[0129] If PDF pass-through is set to disabled, the CPU 212 displays a print setting screen in which PDF pass-through is disabled and predetermined functions can be set (S1308) in accordance with the program of the print setting extension application 312. In S1308, the print setting screen shown in FIG. 10D is displayed.
[0130] If PDF pass-through is enabled, the CPU 212 displays a print setting screen in which the PDF pass-through function is enabled and certain functions are grayed out (S1309) in accordance with the program of the print setting extension application 312. In S1309, the print setting screen shown in FIG. 12 is displayed.
[0131] The CPU 212 determines whether or not the OK button 1002 has been selected according to the program of the print setting extension application 312 (S1310). If the OK button 1002 has not been selected, the CPU 212 returns the process to S1307. In the subsequent processes of S1307 to S1309, if the settings of the PDF pass-through function have not been changed, no change is made to the display related to PDF pass-through. If the user has changed the settings of PDF pass-through, the process of S1308 or S1309 is executed according to the change.
[0132] When the OK button 1002 is selected, the CPU 212 sends the current print settings to the OS 313 in accordance with the program of the print setting extending application 312, and ends the display of the print setting screen. This causes the screen shown in Fig. 11 to be displayed. Note that here, an initial print setting screen reflecting the print settings set via the print setting screen provided by the print setting extending application 312 is displayed.
[0133] The CPU 212 determines whether or not the "Print" button 1105 has been selected according to the program of the document generation application 315 (S1311). If the "Print" button 1105 has not been selected, the CPU 212 performs the process described in S1311. If the print settings have been changed via the print settings initial screen during this time, the CPU 212 performs the process of changing the print settings. Also, if an instruction to display the extended print settings screen is given again during this time, the CPU 212 performs the processes described in S1303 to S1310.
[0134] When the "Print" button 1105 is selected, the CPU 212 notifies the OS 313 that a print instruction has been issued. The CPU 313 executes a program of the OS 313, acquires print settings, and determines whether the PDF pass-through function is enabled (S1312). If the PDF pass-through function is enabled, the CPU 212 advances the process to S1313. On the other hand, if the PDF pass-through function is disabled, the CPU 212 advances the process to S1315.
[0135] The CPU 212 obtains the PDF file and print settings from the document generation application 315 in accordance with the program of the OS 313 (S1313). Then, the CPU 212 passes the obtained PDF file and print settings to the print setting extending application 312 (S1314). At this time, the CPU 212 transmits the contents of the PDF file received from the document generation application 315 to the print setting extending application 312 as is without changing them.
[0136] Next, the operation when PDF pass-through is set to disabled will be described.
[0137] The CPU 212 obtains data from the document generation application 315 in accordance with the program of the OS 313, and converts the data format into XPS (S1315). At this time, the CPU 212 also receives print settings from the document generation application 315 in accordance with the program of the OS 313.
[0138] The CPU 212 transmits the converted XPS data and the print settings to the print setting extension application 312 in accordance with the program of the OS 313 (S1316).
[0139] The CPU 212, in accordance with the program of the print setting extending application 312, refers to the background pattern setting of the received print setting and determines whether the background pattern setting is enabled (S1317). If the background pattern setting is enabled, the CPU 212, in accordance with the program of the print setting extending application 312, adds background pattern image data to the XPS data received from the OS 313 (S1318). The CPU 212 edits the XPS data based on the character string to be printed as the background pattern, the character size, the font, the character color, etc., that are set as the background pattern setting. Note that if the background pattern setting is disabled, the CPU 212 advances the process to S1319 after S1317.
[0140] The CPU 212, in accordance with the program of the print setting extending application 312, refers to the capability information corresponding to the selected print queue and determines whether or not the capability information includes PDF printing (S1319). If the capability information includes PDF printing, the CPU 212, in accordance with the program of the print setting extending application 312, generates a PDF file based on the XPS file (S1320). In accordance with the program of the print setting extending application 312, the CPU 212 uses an API provided by the OS 313 to convert the XPS file into a PDF file. The CPU 212 also converts the print settings into attribute values defined by IPP. Note that if the print settings include an attribute not defined by IPP, no conversion is performed for that attribute.
[0141] If it is determined in S1319 that the capability information does not include PDF printing, the CPU 212 generates a PWG-Raster in accordance with the program of the print setting extension application 312 (S1321). The CPU 212 converts the XPS file into a PWG-Raster using the API of the OS 313 in accordance with the program of the print setting extension application 312. Note that in S1321, as in S1320, the CPU 212 converts the print settings into attribute values defined by IPP.
[0142] Finally, the CPU 212 registers the generated image data and print settings in a print queue (S1322) in accordance with the program of the print setting extension application 312. The CPU 212 transmits the registered image data and print settings to a cloud print service in accordance with the IPP in accordance with the program of the OS 313.
[0143] This ends the process shown in Fig. 13. This allows the PDF pass-through function to be set on the print setting screen provided by the print setting extending application 312. Furthermore, the print setting extending application 312 can prevent the user from setting a function that cannot be used when PDF pass-through is enabled.
[0144] Example 2 In the first embodiment, a method for displaying a pass-through enable / disable switch button when the file output by the document generation application 315 is a PDF file has been described. A user can set any character string as a password for a PDF file. If a password is set, the PDF file can be opened by entering the set password. When printing a PDF file for which a password is set, it may be necessary to enter the password.
[0145] In the second embodiment, a processing method for displaying a box for inputting a password when a password is required to print a PDF file will be described.
[0146] Here, a processing method for displaying a box for inputting a password when a password is required to print a PDF file in this embodiment will be described with reference to FIG.
[0147] FIG. 15 is a print setting screen displayed by the print setting extension application 312, and corresponds to FIG. 12 of the first embodiment. The difference from the first embodiment is that a password input area 1601 for a PDF file is provided. When the PDF pass-through function is set to be disabled, the password input area 1601 is grayed out and does not accept input. When the PDF pass-through function is enabled, characters can be input in the password input area 1601. In FIG. 15, the input characters are converted to asterisks and displayed. Note that the characters input in the password input area 1601 may be displayed as they are. Also, multiple password input areas may be displayed.
[0148] When the OK button 1002 in Fig. 15 is selected, the screen in Fig. 11 is displayed. When the user selects the "Print" button 1105 on the screen shown in Fig. 11, processing is executed.
[0149] The process in the second embodiment will be described with reference to Fig. 16. Fig. 16 is realized by the CPU 212 of the client terminal 101 executing the OS 313 or the program of the print setting extension application 312. Note that the same reference numerals as in Fig. 13 are given to the processes common to Fig. 13, and the description thereof will be omitted.
[0150] The client terminal 101 is started up, and the process starts from step 1700 where the print setting screen (FIG. 11) of the document generation application is displayed.
[0151] When PDF pass-through is enabled, the CPU 212 disables the configurable items as shown in 1202 in accordance with the program of the print setting expansion application 312 (S1309).
[0152] The CPU 212 determines, in accordance with the program of the print setting extension application 312, whether a password is required to print the PDF and whether the password has been received from the application (S1701).
[0153] If the result of the determination in S1701 is YES, the CPU 212 executes the process of S1702. The CPU 212 displays a text box for inputting a password according to the program of the print setting extension application 312, and stores the character information input in the text box as print settings (S1702). Fig. 15 shows an example of the print setting screen displayed in S1702.
[0154] If the determination in S1701 is NO, the CPU 212 advances the process to S1310.
[0155] The processes in S1310 to S1321 are the same as those in FIG. 13, and therefore the description thereof will be omitted.
[0156] After S1314, the CPU 212 determines whether or not a password is required to print the received PDF file in accordance with the program of the print setting expansion application 312 (S1731).
[0157] If the determination in S1731 is NO, the CPU 212 sends the process to S1322. If the determination in S1731 is YES, the CPU 212 proceeds to S1732. The CPU 212 generates printing capability information including a password set via a print setting screen provided by the print setting extension application 312, and sends the PDF file and the printing capability information to a print queue (S1732). Then, the CPU 212 sends the PDF file and the printing capability information to a cloud print service in accordance with the program of the OS 313 (S1322).
[0158] The printer determines whether a password is required to open the received PDF file. If it determines that a password is required, the printer determines whether the received printing capability information contains a password. If a password is not included, the printer cannot open the PDF file, so cannot print, and notifies the display of an error. The error may be notified by turning on the printer's LED or by sound. If a password is required to open the received PDF file and the PDF file cannot be opened with the password described in the printing capability information, the printer also cannot print. In this case, the printer also displays an error on the display as above. The error displayed at this time may be the same as when no password is described in the printing capability information, or a different message may be displayed.
[0159] If a password is required to open the received PDF file and if the PDF file can be opened with the password described in the received print setting capability information, the printer executes image formation according to the opened PDF file and the print capability information.
[0160] If no password is required to open the received PDF file, the printer opens the PDF file, performs layout processing and the like in accordance with the printing capability information, and then executes image formation processing.
[0161] The above is the process executed in the embodiment 2. In the above description, the client computer transmits the print setting capability information including the PDF file and the password to the cloud print service, and the PDF file and the print setting capability information are transmitted from the cloud print service to the printer. The print setting extension application 312 may open the PDF file received from the OS 313 using the password described in the print setting, and transmit the opened PDF file and the print capability information to the printer via the cloud print service.
[0162] By following the steps above, you can print even encrypted PDF files using the PDF pass-through function.
[0163] <Other Examples> In the first and second embodiments, the PDF file and printing capability information transmitted by the client terminal are transmitted to the printer via a cloud print service. The present invention may be applied to a case where the client terminal and the printer are directly connected without passing through the cloud print service.
[0164] In the first and second embodiments, the print setting extension application 312 sets whether or not to enable PDF pass-through on the print setting screen displayed by the print setting extension application 312 by selecting "other settings" 1104 from the print setting initial screen shown in FIG. 11. When the user selects "print" 1105 on the screen shown in FIG. 11, the print setting extension application 312 may display an object for setting whether or not to enable PDF pass-through. In this case, the print setting extension application 312 may display an object of a setting item related to the PDF pass-through function together with an object for setting whether or not to enable PDF pass-through. The setting item related to the PDF pass-through function is an object of a setting item (watermark setting) that may be prohibited from PDF pass-through, a password for opening a PDF file, and the like.
[0165] The present invention can also be realized by executing the following process. That is, software (programs) that realize the functions of the above-mentioned embodiments are supplied to a system or device via a network or various storage media, and the computer (or CPU, MPU, etc.) of the system or device reads and executes the program code. In this case, the computer program and the storage medium storing the computer program constitute the present invention. Also, in the above-mentioned embodiment, communication of capability information and print data via the cloud print service 321 has been described, but direct communication with the cloud print-compatible printer 104 may also be possible.
Claims
1. A conversion means for converting a file of a first format output by an application into a file of a second format; A generating means for generating print data based on the converted file; a transmission unit that transmits the print data generated by the generation unit, The information processing apparatus according to claim 1, wherein the transmitting means comprises: a transmitting means for transmitting a file output by the application without converting the file in accordance with a user's instruction to transmit the file output by the application without converting the file.
2. 2. The information processing apparatus according to claim 1, further comprising a control unit for causing a display unit to display an object for accepting an instruction from the user.
3. 3. The information processing apparatus according to claim 2, wherein the control means, in response to receiving an instruction from the user, controls not to accept settings of functions that cannot be executed on the file of the first format output by the application.
4. The file providing application further includes a determination unit for determining whether the application is an application for outputting a file in a predetermined format, 3. The information processing apparatus according to claim 2, wherein the control means causes the display unit to display the object when the determination means determines that the application is an application that outputs a file in the first format.
5. 2. The information processing apparatus according to claim 1, wherein the first format is PDF.
6. 6. The information processing apparatus according to claim 5, wherein the second format is XPS.
7. 2. The information processing apparatus according to claim 1, wherein said generating means generates said first format file based on said second format file.
8. a conversion step of converting a file of a first format output by the application into a file of a second format; A generating step of generating print data based on the converted file; A method for controlling an information processing device, comprising: a first transmission step of transmitting the print data generated in the generation step; and a second transmission step of transmitting the file output by the application without converting it in accordance with a user's instruction to transmit the file output by the application without converting it.
9. An application stored in an information processing device, By executing the application, a conversion step of converting a file of a first format output by another application into a file of a second format; A generating step of generating print data based on the converted file; An application characterized by causing the information processing device to execute a first transmission step of transmitting the print data generated in the generation step, and a second transmission step of transmitting the file output by the other application without converting it in accordance with a user's instruction to transmit the file output by the other application without converting it.
Citation Information
Patent Citations
Printing control device and control method thereof
JP2010165261A
Image formation device, image formation method and program
JP2021017024A
Information processing device, control method for printing device and information processing device, and program
JP2021124791A
Cited By
Information processing apparatus, method for controlling information processing apparatus, and storage medium
JP2026050140A
Information processing device, control method for information processing device, and program
JP7881665B2
