Information processing device, control method thereof, and program
The information processing device addresses paper shortage notifications in printer drivers by comparing required and remaining paper amounts and outputting warnings, preventing printing stops and resource wastage.
Patent Information
- Application Number
- JP2023076314
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-02
- Publication Date
- 2024-11-15
AI Technical Summary
Conventional printer drivers fail to adequately notify users of paper shortages, leading to unnecessary printing stops and resource wastage.
An information processing device that includes an extended application capable of acquiring medium information, comparing required and remaining paper amounts, and outputting a warning screen when the remaining amount is insufficient, thereby preventing printing stops.
Effectively notifies users of paper shortages, reducing the number of printing stops and minimizing resource wastage by allowing users to adjust settings or cancel printing as needed.
Smart Images

Figure 2024160852000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, a control method thereof, and a program. [Background technology]
[0002] A known configuration uses a printer driver installed on a host computer as software for controlling the printing device to issue print instructions to a printing device connected to the host computer. An operating system (OS), which is basic software, is installed on the host computer. The printer driver is configured according to specifications defined by the OS and runs when called by the OS. By providing a printer driver that conforms to the OS specifications, a vendor that provides a printing device can provide a function that allows the user to check the status of the printing device and a function that instructs the printing device to print. The printer driver provides the above functions by obtaining information regarding the status of the printing device via the OS (hereinafter also referred to as "status information") and displaying an operation screen on the host computer screen according to the obtained information.
[0003] In recent years, Windows (registered trademark) has been provided with standard class drivers (hereinafter also referred to as "standard drivers") that can be commonly used by printing devices provided by multiple vendors. Such standard drivers are included in the OS package and can be easily used by connecting any printing device to the host computer. This makes it unnecessary to separately install a specific printer driver suitable for the printing device, which is highly convenient. In addition, the standard driver is configured to be able to specify printing functions according to PrintDeviceCapabilities (hereinafter abbreviated as "PDC") generated based on information obtained from the connected printing device. This allows a user who uses the standard driver to specify printing functions according to the capabilities of the connected printing device, even though the user is using one standard driver.
[0004] A standard driver can be associated with an application for function extension (hereinafter also referred to as an "extension application"). The extension application can be provided by a vendor that supplies a printing device. The extension application can provide a function (extension function) that cannot be realized by the standard driver alone by editing the PDC generated by the standard driver. Patent Document 1 proposes a technology for extending functions such as a stamp function by using an extension application. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2019-74906 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, the above-mentioned conventional technology has the following problems. For example, an extension application can realize an extended function by referring to and editing a spool file. However, in order for an extension application that extends the function of a standard driver to provide better functions, further ingenuity is required. For example, if the paper runs out during printing, the printing process stops midway, and the user must realize the situation and either refill the paper and resume printing or cancel printing.
[0007] The present invention has been made in consideration of at least one of the above problems, and provides a mechanism for appropriately notifying information related to a paper shortage and reducing the number of times a printing process is stopped due to a paper shortage. [Means for solving the problem]
[0008] The present invention is, for example, an information processing device capable of submitting a print job to a plurality of printing devices of different specifications via a standard driver provided by an operating system, and is characterized by comprising an acquisition means for acquiring information regarding a recording medium from the printing device to which the accepted print job is to be submitted, a comparison means for comparing the amount of recording medium required obtained from the information about the print job with the remaining amount of the recording medium to be printed obtained from the information about the recording medium, and an output means for outputting a warning screen when the remaining amount of the recording medium to be printed is less than the amount of recording medium required to execute the print job. Effect of the Invention
[0009] According to the present invention, information regarding a paper shortage can be appropriately notified, and the number of times that a printing process is stopped due to a paper shortage can be reduced. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a block diagram showing the hardware configuration of a printing system according to an embodiment. [Diagram 2] FIG. 1 is a diagram showing the configuration of a printing system according to an embodiment. [Diagram 3] FIG. 4 is a diagram showing an example of a print setting screen displayed by a screen expansion unit 205 according to an embodiment. [Figure 4] 6 is a flowchart showing print data generation by the editing unit 208 according to an embodiment. [Diagram 5] 11 is a flowchart showing a process of determining whether a vendor protocol can be used by the editing unit 208 according to an embodiment. [Figure 6] FIG. 13 is a diagram showing an example of a warning screen displayed by the editing unit 208 according to an embodiment. [Figure 7] 6 is a flowchart showing print data generation by the editing unit 208 according to an embodiment. [Figure 8] FIG. 13 is a diagram showing an example of a warning screen displayed by the editing unit 208 according to an embodiment. [Figure 9] 13 is a diagram showing an example of a roll paper setting method guide screen displayed by the editing unit 208 according to an embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, the embodiments 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.
[0012] <First embodiment> <System hardware configuration> First, the hardware configuration of a printing system according to this embodiment will be described with reference to Fig. 1. In this embodiment, a host computer 101 is an example of an information processing apparatus.
[0013] The host computer 101 has an input interface 110, a CPU 111, a ROM 112, a RAM 113, an external storage device 114, an output interface 115, and an input / output interface 116. Input devices such as a keyboard 118 and a pointing device 117 are connected to the input interface 110. A display device such as a display unit 119 is connected to the output interface 115. The NETIF 120 is a network interface, and performs control for transferring data between external devices via a network.
[0014] An initialization program is stored in the ROM 112. An application program group, an operating system (OS), print data generation software, and various other data are stored in the external storage device 114. The RAM 113 is used as a work memory or the like when various programs stored in the external storage device 114 are executed, and the various programs are operable within the host computer 101. In this embodiment, the CPU 111 executes processing according to the procedures of the programs stored in the ROM 112, thereby executing functions of the host computer 101 described below and processing related to flowcharts described below.
[0015] The printing device 102, which is a device, is connected to the host computer 101 via an input / output interface 116. Here, the host computer 101 and the printing device 102 are configured separately. However, this is not intended to limit the present invention, and they may be integrated into one information processing device. Note that, although the printing device will be described as an inkjet printer that prints by ejecting ink onto paper, printing may be performed by other methods (for example, electrophotographic methods). The host computer 101 may be realized by an information processing device such as a desktop personal computer, a smartphone, or a notebook computer.
[0016] <Software-related printing system configuration> Next, an example of the software configuration of the printing system will be described with reference to Fig. 2. Here, the description is based on the premise that the printing system uses a host computer 101 equipped with Microsoft (registered trademark) Windows (registered trademark) 11 as the OS. Fig. 2(a) is a diagram showing the configuration when an extension application 204 is not associated with print data generation software 202 and the printing device 102.
[0017] The drawing application 201 is software that creates content (drawing data) to be printed. For example, a word processing application or a spreadsheet application corresponds to the drawing application 201. When the drawing application 201 accepts a print request from a user, it issues a print instruction to the OS. The print instruction includes print setting information for instructing the operation of the print data generation software 202 and the printing device 102. The print setting information is also referred to as a PrintTicket (hereinafter abbreviated as "PT").
[0018] In order to output print setting information, the drawing application 201 can display a print setting screen provided by any one of the print data generation software 202, the OS, and the drawing application 201. The print setting screen includes setting items (hereinafter also referred to as "control objects") indicating configurable print functions and control objects indicating their setting values according to capability information (information that can be set as print settings) acquired from the print data generation software 202. The capability information is also referred to as PrintCapabilities (hereinafter "PC").
[0019] The print data generation software 202 determines the capability information (PC) based on the print function information 203. The print function information 203 is data indicating all print functions that can be set, their setting values, and the exclusive relationship between the setting values. The print function information 203 is also called PDC (Print Device Capabilities). The print function information 203 is included in a configuration file of the print data generation software 202 and is arranged in the external storage device 114 as an unchangeable file. Alternatively, the print data generation software 202 may dynamically generate the print function information 203. Specifically, the print data generation software 202 or the OS can be configured to acquire attribute data of the printing device from the printing device 102 and generate the print function information 203 according to the attribute information in the acquired attribute data. When the print function information 203 is dynamically generated, the generated print function information 203 is editable. The printing device attribute data acquired from the printing device 102 is a response acquired by issuing a Get-Printer-Attributes operation of the Internet Print Protocol (IPP) to the printing device. The response includes attribute information indicating functions that can be specified by the printing device 102 (printing device capabilities) and setting values related to that attribute information. This response is stored in the RAM 113.
[0020] By configuring in this way, the print data generation software 202 can be configured so that the user can specify the print functions available in each printing device 102 according to the connected printing device 102. That is, even when printing devices having different functions or printing devices developed by different vendors with different specifications are connected, the print data generation software 202 can be configured so that the user can specify the print functions available in accordance with the connected printing device. In this way, the print data generation software 202 can submit print jobs to a plurality of printing devices with different specifications. Note that here, an example of a configuration using an IPP Class Driver installed in Windows (registered trademark) 10 will be described as the print data generation software 202. The IPP Class Driver is a printer driver that executes print processing according to the specifications of a standard printing protocol called IPP (Internet Print Protocol), and is included in the OS package. The IPP Class Driver is not a specific printer driver according to the model of the printing device 102, but a standard class driver that can be commonly used by a plurality of printing devices. That is, the print data generation software 202 is a standard printer driver (standard driver) provided by the OS. In addition, the IPP Class Driver acquires capability information of the connected printing device 102 so that the user can specify the printing functions supported by the connected printing device 102, and generates printing function information 203 based on that information.
[0021] The OS generates intermediate data (also referred to as input data) based on the print instruction output from the drawing application 201, and passes it to the print data generation software 202. The data output by the drawing application 201 for printing is data in Graphic Device Interface format (GDI format data) or data in XML Paper Specification format (XPS format data). Here, a case where an IPP Class Driver is used as the print data generation software 202 will be described. When the data output by the drawing application 201 is data in GDI format, the OS converts the data in GDI format output from the drawing application 201 into data in XPS format. Then, the OS passes the converted data in XPS format to the print data generation software 202 as intermediate data. When the data output by the drawing application 201 is data in XPS format, the OS passes the data in XPS format to the print data generation software 202 as intermediate data. The intermediate data includes drawing data, which is information on a picture including characters to be formed on paper, and print setting information set by a user.
[0022] The print data generation software 202 converts the acquired intermediate data into print data that can be interpreted by the printing device 102, and transmits it to the printing device 102. The print data includes drawing data, which is information about a picture to be formed on paper, and print setting attribute information (attribute information that specifies print settings) generated based on print setting information set by the user. The print setting attribute information includes attribute information that indicates functions that can be specified by the printing device 102 (capabilities of the printing device) and setting values related to that attribute information.
[0023] The printing device 102 prints on paper based on the print data sent from the print data generation software 202. At this time, the printing device 102 forms the drawing data included in the print data on paper in accordance with the print setting attribute information included in the print data. The print setting attribute information includes information on the print quality (priority on image quality, priority on speed, etc.), the size of the drawing data, and the drawing position (margin). In this embodiment, the printing target is described as paper, but this is not intended to limit the present invention, and any recording medium such as paper, cardboard, sheet, and OHP sheet can be applied. In this embodiment, a cut recording medium is described, but the present invention can also be applied to an uncut recording medium such as roll paper. The configuration and control corresponding to an uncut recording medium will be described in the second embodiment.
[0024] Next, referring to Fig. 2(b), a description will be given of a configuration in which the extension application 204 is associated with the print data generation software 202 and the printing device 102. Note that the same reference numerals are used for configurations equivalent to those in Fig. 2(a), and descriptions thereof will be omitted.
[0025] The extension application 204 is software for extending the functions of the print data generation software 202, and is not included (bundled) in advance in the OS. Therefore, the user needs to operate the host computer 101 to download and install the extension application 204 from a server via the Internet. Alternatively, the extension application 204 may be automatically installed when the printing device 102 is connected to the host computer 101. Specifically, when the printing device 102 is connected to the host computer 101, the OS acquires device identification information from the printing device 102. The OS may download and install the extension application 204 corresponding to the acquired device identification information from a server via the Internet. In other words, the print data generation software 202 and the extension application 204 are held in the host computer 101 as separate files.
[0026] Note that the print data generation software 202 and the extension application 204 may be updated and upgraded, but these update processes are also performed at different times. That is, the timing at which the host computer 101 acquires the print data generation software 202 is different from the timing at which the extension application 204 is acquired. In addition, the trigger at which the host computer 101 acquires the print data generation software 202 is different from the trigger at which the extension application 204 is acquired. Note that when the extension application 204 is installed, the OS associates the extension application 204 with the print data generation software 202 and the printing device 102.
[0027] The extended application 204 according to this embodiment includes a screen extension unit 205, a skip control unit 206, a function extension unit 207, an editing unit 208, and a notification unit 209. The extended application 204 also includes shared information 210 that can be commonly accessed by each unit. The shared information 210 is a file saved in the external storage device 114, or information stored in the RAM 113. The extended application 204 writes and reads information to and from the shared information 210 by using an API (Application Program Interface) provided by the OS.
[0028] The extension application 204 may terminate operation each time the processing of each unit is completed. In that case, the OS will launch the extension application 204 each time a request to use each unit is received. Another form is also possible; for example, the OS may terminate the operation of the extension application 204 when the processing of the screen extension unit 205 is completed, but the OS may keep the extension application 204 running even when the processing of the skip control unit 206 is completed. Furthermore, the extension application 204 may cancel processing during the processing of each unit. If canceled, the print job being processed in the print queue is deleted by the OS.
[0029] When the drawing application 201 receives a print request from a user, it issues a print instruction to the OS. In this embodiment, as in the configuration of FIG. 2(a), the drawing application 201 can display a print setting screen. In this embodiment, the print setting screen provided by the extension application 204 is displayed. Specifically, the print setting screen provided by the screen extension unit 205 included in the extension application 204 is displayed. Note that whether or not the print setting screen provided by the screen extension unit 205 is displayed may depend on the user's operation.
[0030] Also, when the drawing application 201 accepts a print request from a user and issues a print instruction to the OS, the OS starts the skip control unit 206. The skip control unit 206 controls whether or not to skip the processing of the print data generation software 202. After the skip control processing of the skip control unit 206, the OS generates intermediate data based on the print instruction output from the drawing application 201, and the intermediate data is passed to the print data generation software 202. Here, if the skip control is not performed by the skip control unit 206, the intermediate data is processed by the print data generation software 202 into print data that can be interpreted by the printing device 102, and passed to the editing unit 208. On the other hand, if the print data generation software 202 is skipped, the intermediate data is passed to the editing unit 208 without being processed by the print data generation software 202. This makes it possible to process the intermediate data (hereinafter also referred to as print data) in the editing unit 208.
[0031] The editing unit 208 edits the intermediate data passed from the print data generation software 202 or the print data processed by the print data generation software 202. Taking layout printing as an example of the editing content, the editing unit 208 changes the layout of the intermediate data or the print data based on the print setting information of layout printing received from the OS. The editing unit 208 can display a UI screen on the display unit 119 and can display the layout result of the intermediate data or the print data as a preview screen. In the editing unit 208, the print data is not sent to the printing device 102 while the screen is open, and the print data transmission process is performed by closing the screen. After the editing unit 208 edits the print data, the print data is passed to the printing device 102. The printing device 102 prints on paper based on the accepted print data. In addition, if the skip control unit 206 skips the processing of the print data generation software 202, the editing unit 208 may convert the received intermediate data into print data that can be interpreted by the printing device 102. Furthermore, in order to convert the intermediate data into print data, a function provided by the OS may be used.
[0032] The extension application 204 has a function extension unit 207. The function extension unit 207 can edit the print function information 203 (PDC) generated by the print data generation software 202 or the OS. This allows the function extension unit 207 to add functions provided by the extension application 204, add functions supported by the printing device 102 but not supported by the print data generation software 202, add exclusive relationships between setting values of print functions, and the like. The OS starts the function extension unit 207 when the extension application 204 is first associated with the printing device 102 and the print data generation software 202. Furthermore, the OS may start the function extension unit 207 at other times, such as when the OS is started. In this way, in a case where an optional device (e.g., a finisher, etc.) is added to the printing device 102 later and functions related to printing are expanded, the function extension unit 207 can detect the expanded function and add it to the print function information 203.
[0033] The extension application 204 also has a notification unit 209. The notification unit 209 can display a notification to the user in response to an error occurring in the printing device 102. For example, when an out-of-paper error occurs in the printing device 102, the print data generation software 202 detects it, and the OS uses a notification function called a toast notification, which is a function of the OS, to display a message on the display unit 119. When the user presses a part of the display of the toast notification, the notification unit 209 of the extension application 204 is called by the OS, and the UI screen of the notification unit 209 is displayed. On the UI screen of the notification unit 209, for example, a detailed message of the out-of-paper error and a paper refilling method can be displayed. Note that once the extension application 204 has sent print data to the printing device 102, it cannot display a screen such as a guide linked to the print data during the processing of each unit.
[0034] Further, the configuration of the extension application 204 for realizing this embodiment is not limited to having all the above-mentioned functions (units), and may have only some of the functions, or may have other functions instead or in addition. The extension application 204 may also be simply called printing software. In this way, the extension application 204 may have at least one of the functions realized by the screen extension unit 205, the skip control unit 206, the editing unit 208, the function extension unit 207, and the notification unit 209.
[0035] <Example of screen displayed by the screen extension unit> Next, a print setting screen displayed by the screen expansion unit 205 according to this embodiment will be described with reference to Fig. 3. Capability information (PC) is generated based on the print function information 203 edited by the function expansion unit 207. A print setting screen 301 in Fig. 3(a) is an example of a screen displayed by the screen expansion unit 205 based on the generated capability information.
[0036] The screen extension unit 205 is called by the OS when the user instructs the drawing application 201 to display the print setting screen 301. Based on capability information obtainable from the OS, the screen extension unit 205 displays a screen including a plurality of control objects that allow the user to specify setting values (parameters related to print settings) of print functions that can be specified by the print data generation software 202. The control objects operated by the user include controls and buttons, which will be described below.
[0037] Control 302 is a control object that can set the type of paper to be used for printing, for example, the type of recording medium such as plain paper or photo paper. Control 303 is a control object that can set the size of paper to be used for printing, for example, the size of the recording medium such as A4 or letter. List 320 shown in Fig. 3(b) shows the display state when control 303 is expanded, and the user can select a paper size from the expanded list.
[0038] Control 304 is a control object that can set the paper feed port (cassette, etc.) for printing paper in the printing device 102, and can set items such as a main tray or a rear tray. Control 305 is a control object that can set the number of copies to be printed, and any numerical value can be input. Control 306 is a control object that can set the print orientation, and can set either portrait or landscape. Control 307 is a control object that can switch between enabling and disabling double-sided printing. Control 308 is a control object that can set the binding direction when printing on both sides, and can set items such as long edge binding and short edge binding. Control 309 is an OK button that reflects the settings and closes the screen. Control 310 is a cancel button that closes the screen without reflecting the settings.
[0039] <Warning screen display processing by editing unit> Next, the display processing of a warning screen by the editing unit 208 according to this embodiment will be described with reference to Fig. 4. Inkjet printers and laser beam printers have a mechanism that allows multiple sheets of printing paper to be fed in advance before receiving a print request from a user and executing printing. There are also a wide variety of models of inkjet printers and laser beam printers, and the paper feed ports that support the above-mentioned mechanism and the number of sheets that can be loaded vary widely depending on the model. If there is not enough roll paper remaining while printing is being performed on roll paper, printing will stop, resulting in a waste of ink and paper, and reducing the convenience of printing for the user.
[0040] However, at the stage where the user executes a print request and the drawing application 201 issues a print instruction to the OS, the total amount of paper required for printing is unknown to the drawing application 201. In addition, since the print data generation software 202 is a standard driver that can be used with multiple models, it is difficult to have individual control processing for solving the above-mentioned problem. In this embodiment, the editing unit 208 of the extension application 204 acquires the paper feed status of the printing device 102 and displays a warning screen regarding the remaining amount of paper on the display unit 119 before sending print data to the printing device 102, thereby preventing printing from being stopped.
[0041] 4 shows a process flow in which the editing unit 208 in this embodiment receives intermediate data and generates print data. The process described below is realized by, for example, the CPU 111 reading a program stored in the ROM 112 or the external storage device 114 into the RAM 113 and executing it. When the user instructs the drawing application 201 to print to a print queue linked to the extension application 204, the print data generation software 202 sends intermediate data to the editing unit 208. In addition, when a skip process is performed by the skip control unit 206, the skip control unit 206 may directly pass the intermediate data to the editing unit 208 without passing through the print data generation software 202. The editing unit 208 can edit the print data and display a UI screen on the display unit 119. If the screen is left open, the print data is not sent to the printing device 102, and if the screen is closed, the print data transmission process is performed.
[0042] First, in S401, the editing unit 208 determines the communication form with the printing device 102. More specifically, the editing unit 208 determines whether or not a communication protocol uniquely defined by a vendor (hereinafter also referred to as a "vendor protocol") can be used in communication between the printing device 102 and the host computer 101. A printer driver provided by a normal vendor can communicate using the vendor protocol, but the print data generation software 202 that can be used regardless of the device uses a standard communication protocol. Therefore, the print data generation software 202 cannot acquire some information about functions specific to the vendor or the model. On the other hand, it is known that the extension application 204 that extends the functions of the print data generation software 202 can use the vendor protocol in some cases and cannot use it in other cases depending on the connection form and the communication interface. A method of determining whether or not the vendor protocol can be used will be described in detail later with reference to FIG. 5. Also, instead of using the method of FIG. 5, the determination may be made based on the presence or absence of a response after transmitting an information acquisition request using the vendor protocol. If it is determined that the vendor protocol cannot be used, the process skips to S409 since model-specific information cannot be acquired.
[0043] On the other hand, if it is determined that communication via the vendor protocol is possible, the process proceeds to S402, where the editing unit 208 uses the vendor protocol (predetermined communication protocol) to acquire the remaining amount of paper currently being fed from the printing device 102. At this time, the remaining amount may be acquired for all of the multiple paper types being fed, or only the remaining amount of the corresponding paper may be acquired by referencing the paper type, paper size, and paper feed port settings from the information related to the print settings included in the received intermediate data.
[0044] Next, in S403, the editing unit 208 analyzes the received intermediate data, and obtains the total amount of paper required to complete the user's printing request from the settings related to the output of the number of printed pages and the number of copies to the paper. Subsequently, in S404, the editing unit 208 compares the required amount of paper obtained from the intermediate data with the remaining amount of paper obtained from the printing device 102, and checks whether the required amount of paper exceeds the remaining amount of paper. If it is less, the process proceeds to S409. On the other hand, if it exceeds, the process proceeds to S405, and the editing unit 208 displays a warning screen on the display unit 119 to inform that the paper is insufficient (the required amount exceeds the remaining amount). Instead of the display unit 119, it may be displayed on the display unit of the printing device 102 or other external devices. The details of the warning screen will be described later with reference to FIG. 6.
[0045] In S406, the editing unit 208 receives the user operation on the warning screen, and continues the printing process by changing the printing settings or the like, or cancels the printing process. If the cancellation of the printing process is selected by the user operation, in S407, the editing unit 208 cancels the printing process and ends the processing of this flowchart. Also, if the selection to continue the printing process as it is is received, in S409, the editing unit 208 reflects the printing settings changed by the user in the intermediate data, converts it into print data interpretable by the printing device 102, and ends the processing of this flowchart. Also, if the selection to change the printing settings and continue the printing process is received, in S408, the editing unit 208 reflects the changed printing settings in the intermediate data. Then, in S409, the editing unit 208 converts the intermediate data into print data and ends the processing of this flowchart.
[0046] <Details of the determination process in S401> Next, a detailed determination flow of the vendor protocol usability determination process (S401) of the editing unit 208 in this embodiment will be described with reference to Fig. 5. The process described below is realized, for example, by the CPU 111 reading a program stored in the ROM 112 or the external storage device 114 into the RAM 113 and executing it. Whether the vendor protocol (predetermined communication protocol) is usable is determined based on the type of print data generation software 202 and the communication interface.
[0047] First, in S501, the editing unit 208 determines whether the print data generation software 202 (hereinafter referred to as the standard driver) that received the print request is a UP Class Driver. The standard driver whose functions can be extended by the extension application 204 is either an IPP Class Driver or a UP Class Driver. The UP Class Driver is a general-purpose printer driver used to send print instructions to a printing device using the cloud. If it is determined that the print data generation software 202 is a UP Class Driver, in S502 the editing unit 208 determines that "vendor protocol cannot be used" regardless of the type of communication interface, and ends the processing of this flowchart.
[0048] On the other hand, if it is determined that the print data generation software 202 is not a UP Class Driver, the editing unit 208 determines in S503 whether the communication interface is USB or not. If it is not USB but a network connection such as WSD or TCP / IP, the editing unit 208 determines in S505 that "the vendor protocol is usable" and ends the processing of this flowchart.
[0049] On the other hand, if the communication interface is USB, in S504 the editing unit 208 checks whether identification information required for USB connection, which is model-specific information of the printing device 102, has been registered in the extension application 204. If registration has been performed, in S506 the editing unit 208 determines that "the vendor protocol is usable" and ends the processing of this flowchart. On the other hand, if registration has not been performed, in S507 the editing unit 208 determines that "the vendor protocol is not usable" and ends the processing of this flowchart.
[0050] <Warning screen> Next, a warning screen notifying a user that the remaining amount of paper is insufficient in this embodiment will be described with reference to Fig. 6. The warning screen 601 is displayed on the display unit 119 of the host computer 101, but may alternatively or additionally be displayed on the display unit of another device. In this case, the host computer 101 provides screen information regarding the warning screen to the external device via the network.
[0051] The warning screen 601 includes a paper shortage message 602, setting change buttons 603 and 604, a print start button 605, and a print cancel button 606. The print cancel button 606 is a button for canceling a print request.
[0052] The setting change buttons 603 and 604 are buttons for continuing the print request after changing the print settings at the time of the print request. More specifically, the setting change button 603 is a simplified print setting change button that continues printing by changing only specific settings such as the number of copies, and by pressing it, the specific settings included in the intermediate data are rewritten and then converted into print data that can be interpreted by the printing device 102. For example, in the example shown in FIG. 6, the character string "Print X copies only" is displayed in the display object of the setting change button 603. "X copies" indicates the number of copies that can be printed if the print job is accepted with the current amount of paper remaining.
[0053] The setting change button 604 is a print setting change button that displays a print setting screen that can change each print setting item as displayed by the screen extension unit 205. Pressing the setting change button 604 displays the print setting screen, and the specific settings included in the intermediate data are rewritten, and then the intermediate data is converted into print data that can be interpreted by the printing device 102.
[0054] A print start button 605 is a button for continuing the print request without changing the print settings. Also, if there is a shortage of paper such as cut paper and the subsequent pages can be printed without any problems if the print request is not canceled and paper is fed, it is also possible to continue the print request without changing the print settings by pressing the print start button 605.
[0055] As described above, the information processing apparatus according to the present embodiment is realized as an apparatus capable of inputting a print job to a plurality of printing apparatuses with different specifications via a standard driver provided by an operating system. The information processing apparatus acquires information about a recording medium from a printing apparatus to which the accepted print job is input, and compares the required amount of recording medium obtained from the information about the print job with the remaining amount of the recording medium to be printed obtained from the information about the recording medium. The information processing apparatus also outputs a warning screen when the remaining amount of the recording medium to be printed is less than the amount of recording medium required to execute the print job. Thus, according to the present embodiment, when the remaining amount of paper already fed to the printing apparatus is less than the amount of paper required for printing by the extended application, a warning screen is displayed to the user, thereby making it possible to prevent waste of ink and consumables. As a result, according to the present embodiment, information about a paper shortage can be appropriately notified, and the stop of printing processing due to a paper shortage can be reduced.
[0056] <Second embodiment> The second embodiment of the present invention will be described below. In the first embodiment, an example was described in which settings such as output paper size, number of print pages, number of copies, and margin settings were analyzed from intermediate data for cut paper. However, the concept of "cut" exists for roll paper and the like, and it is necessary to consider unique print settings such as banner printing, which outputs a single printed matter without cutting between pages like a scroll. Therefore, in this embodiment, the same effect as the first embodiment is realized by considering cut settings specific to roll paper for uncut recording media, such as roll paper. Specifically, according to this embodiment, when the remaining amount of paper already fed to the printing device is less than the amount of paper required for printing, a warning screen is displayed to the user, making it possible to prevent waste of ink and consumables. In the following, the same reference symbols are used for configurations and processes similar to those of the first embodiment, and descriptions are omitted.
[0057] First, a process flow in which the editing unit 208 according to this embodiment receives intermediate data and generates print data will be described with reference to Fig. 7. The process described below is realized, for example, by the CPU 111 reading a program stored in the ROM 112 or the external storage device 114 into the RAM 113 and executing it. Note that S701, S705 to S708, S710, and S711 correspond to S401, S404 to S409, respectively, and detailed description thereof will be omitted.
[0058] In S702, the editing unit 208 determines from the received intermediate data that the output paper is roll paper, and analyzes items such as the cutting settings, banner printing settings, and layout settings to determine whether the print settings are to cut the roll paper between each page. If it is determined that the print settings are not to cut the roll paper, in S703, as in S402, it obtains the remaining amount of roll paper being fed from the printing device 102 using the vendor protocol. If it is determined that the print settings are to cut the roll paper, the process proceeds to S711, where the editing unit 208 converts the intermediate data to print data and ends the processing of this flowchart.
[0059] In S707, the editing unit 208 displays a warning screen informing the user that the roll paper is running low (the required amount exceeds the remaining amount). A specific example of the warning screen is shown in Fig. 8. If the user selects the option to replace the roll paper on the warning screen, the editing unit 208 displays instructions on how to set the roll paper in S709 and proceeds to S711.
[0060] <Warning screen> Next, a warning screen notifying the user that the remaining paper is insufficient in this embodiment will be described with reference to Fig. 8. The warning screen 801 includes an insufficient paper message 802, setting change buttons 803 and 804, a print start button 805, and a print cancel button 806. The setting change buttons 803 and 804 are buttons for continuing the print request after changing the print settings made at the time of the print request. The print start button 805 is a button for continuing the print request without changing the print settings. The print cancel button 806 is a button for canceling the print request.
[0061] If the paper runs short when using roll paper and the print settings do not "cut," not only will printing fail and the print request have to be canceled and the print request made again after the roll paper has been fed, but ink and paper will also be wasted. Therefore, if the print request is to be continued without changing the print settings, by pressing the print start button 805, the editing unit 208 will guide the user how to set the roll paper, prompting the user to feed paper, and then converting the data into print data that can be interpreted by the printing device 102.
[0062] <Guidance screen> Next, the guide screen that guides users through the roll paper setting method in this embodiment will be described with reference to Fig. 9. The guide screen 901 includes a message 902 that explains the specific roll paper setting operations, a start print button 903 for continuing printing after the roll paper is set, and a stop print button 904 for canceling the print request.
[0063] The print start button 903 is a button for starting printing, but may be displayed as unselectable until a new roll of paper is loaded. Once a new roll of paper is loaded, the print start button 903 is displayed as selectable.
[0064] As described above, the information processing apparatus according to this embodiment is characterized in that, in the case of an uncut recording medium, the required amount of recording medium and the remaining amount of recording medium are handled by their respective lengths. Thus, according to this embodiment, when the remaining amount of roll paper already fed to the printing device by the extended application is less than the amount of paper required for printing, a warning screen is displayed to the user, making it possible to prevent waste of ink and consumables. As a result, according to this embodiment, even for a print job for a printing device that handles uncut recording media, such as roll paper, information regarding a paper shortage can be appropriately notified, and the number of times that printing processing is stopped due to a paper shortage can be reduced.
[0065] <Other embodiments> 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.
[0066] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention.
[0067] The disclosure of this specification includes the following information processing device, control method thereof, and program. (Item 1) An information processing apparatus capable of inputting print jobs to a plurality of printing apparatuses having different specifications via a standard driver provided by an operating system, an acquisition unit that acquires information about a recording medium from a printing device to which the accepted print job is to be submitted; a comparison means for comparing a required amount of recording medium obtained from the information on the print job with a remaining amount of the recording medium to be printed obtained from information on the recording medium; an output means for outputting a warning screen when the remaining amount of the recording medium to be printed is less than the amount of the recording medium required to execute the print job; An information processing device comprising: (Item 2) 2. The information processing device according to item 1, wherein the necessary recording medium is a recording medium that has been cut to a predetermined size, or is an uncut recording medium. (Item 3) 3. The information processing device according to item 2, characterized in that in the case of the recording medium cut to a predetermined size, the required amount of recording medium and the remaining amount of recording medium are handled in terms of the number of sheets, respectively. (Item 4) 3. The information processing device according to item 2, characterized in that in the case of the uncut recording medium, the required amount of recording medium and the remaining amount of the recording medium are treated in terms of their respective lengths. (Item 5) The information processing device described in any one of items 1 to 4, characterized in that the warning screen displays at least one selectable control object, including a control object that changes print settings to execute a print job, a control object that executes a print job without changing print settings, and a control object that cancels execution of the print job. (Item 6) The information processing device described in item 5, characterized in that the control object that changes the print settings and executes the print job includes at least one of a control object that executes the print job by limiting the number of copies that can be printed by the printing device, and a control object for displaying a setting screen on which parameters related to the print settings can be set. (Item 7) The information processing device described in item 6, characterized in that the parameters related to the printing settings include at least one parameter of the type of recording medium, the size of the recording medium, the paper feed inlet for supplying the recording medium, the printing orientation, double-sided printing settings, and binding direction settings. (Item 8) a determination unit for determining a communication mode between the printing device and the information processing device, The information processing device described in any one of items 1 to 7, characterized in that when the judgment means judges that a specified communication protocol defined by a vendor can be used in the communication form between the printing device and the information processing device, the acquisition means acquires information about the recording medium from the printing device using the specified communication protocol. (Item 9) The information processing device described in item 8, characterized in that the judgment means judges that the specified communication protocol cannot be used in communication between the information processing device and the printing device if the standard driver is a UP Class Driver or an IPP Class Driver and the communication interface is USB and there is no model-specific identification information of the printing device, and judges that the specified communication protocol can be used if the standard driver is the IPP Class Driver and the communication interface indicates a network connection. (Item 10) 10. The information processing device according to any one of items 1 to 9, wherein the acquisition means acquires the type of the recording medium and its remaining capacity from the printing device as the information related to the recording medium. (Item 11) 11. The information processing apparatus according to any one of items 1 to 10, wherein the amount of recording media required for the print job is obtained from intermediate data of the print job. (Item 12) 12. The information processing apparatus according to item 11, further comprising a generating unit that generates print data by reflecting the changed contents in the intermediate data when the print settings are changed via the warning screen. (Item 13) A method for controlling an information processing apparatus capable of inputting print jobs to a plurality of printing apparatuses having different specifications via a standard driver provided by an operating system, comprising: an acquisition step in which an acquisition unit acquires information about a recording medium from a printing device to which the accepted print job is to be input; a comparison step in which a comparison means compares a required amount of recording medium obtained from information on the print job with a remaining amount of the recording medium to be printed obtained from information on the recording medium; an output step of outputting a warning screen when the remaining amount of the recording medium to be printed is less than the amount of the recording medium required to execute the print job by an output means; 23. A method for controlling an information processing apparatus comprising: (Item 14) An information processing apparatus capable of inputting print jobs to a plurality of printing apparatuses having different specifications via a standard driver provided by an operating system, an acquisition unit that acquires information about a recording medium from a printing device to which the accepted print job is to be submitted; a comparison means for comparing a required amount of recording medium obtained from the information on the print job with a remaining amount of the recording medium to be printed obtained from information on the recording medium; an output means for outputting a warning screen when the remaining amount of the recording medium to be printed is less than the amount of the recording medium required to execute the print job; A program that makes it work. (Item 15) Item 15. The program according to item 14, wherein the program is installed in the information processing device as an extension application for extending the function of the standard driver.
[0068] <Other embodiments> 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.
[0069] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0070] 101: host computer, 102: printing device, 110: input interface, 111: CPU, 112: ROM, 113: RAM, 114: external storage device, 115: output interface, 116: input / output interface, 117: pointing device, 118: keyboard, 119: display unit, 201: drawing application, 202: print data generation software, 203: print function information, 204: extension application, 205: screen extension unit, 206: skip control unit, 207: function extension unit, 208: editing unit, 209: notification unit, 210: shared information
Claims
1. An information processing apparatus capable of inputting print jobs to a plurality of printing apparatuses having different specifications via a standard driver provided by an operating system, an acquisition unit that acquires information about a recording medium from a printing device to which the accepted print job is to be submitted; a comparison means for comparing a required amount of recording medium obtained from the information on the print job with a remaining amount of the recording medium to be printed obtained from information on the recording medium; an output means for outputting a warning screen when the remaining amount of the recording medium to be printed is less than the amount of the recording medium required to execute the print job; An information processing device comprising:
2. 2. The information processing apparatus according to claim 1, wherein the necessary recording medium is a recording medium that has been cut to a predetermined size, or is an uncut recording medium.
3. 3. The information processing apparatus according to claim 2, wherein, in the case where the recording medium is cut to the predetermined size, the required amount of recording medium and the remaining amount of the recording medium are handled in terms of the number of sheets, respectively.
4. 3. The information processing apparatus according to claim 2, wherein, in the case of the recording medium that has not been cut, the required amount of recording medium and the remaining amount of the recording medium are handled in terms of their respective lengths.
5. The information processing device according to claim 2, characterized in that the warning screen displays at least one selectable control object, including a control object that changes print settings and executes a print job, a control object that executes a print job without changing print settings, and a control object that cancels execution of the print job.
6. The information processing device according to claim 5, characterized in that the control object for changing the print settings and executing the print job includes at least one of a control object for executing the print job by limiting the number of copies that can be printed by the printing device, and a control object for displaying a setting screen on which parameters related to the print settings can be set.
7. 7. The information processing apparatus according to claim 6, wherein the parameters relating to the print settings include at least one parameter of the type of recording medium, the size of the recording medium, the paper feed inlet for feeding the recording medium, the print orientation, double-sided printing settings, and binding direction settings.
8. a determination unit for determining a communication mode between the printing device and the information processing device, The information processing device according to any one of claims 1 to 7, characterized in that when the judgment means judges that a specified communication protocol defined by a vendor can be used in the communication form between the printing device and the information processing device, the acquisition means acquires information about the recording medium from the printing device using the specified communication protocol.
9. 9. The information processing device according to claim 8, wherein the determination means determines that the specified communication protocol cannot be used in communication between the information processing device and the printing device if the standard driver is a UP Class Driver or an IPP Class Driver and the communication interface is a USB and there is no model-specific identification information for the printing device, and determines that the specified communication protocol can be used if the standard driver is the IPP Class Driver and the communication interface indicates a network connection.
10. 9. The information processing apparatus according to claim 8, wherein said acquiring means acquires, as the information about the recording medium, the type of the recording medium and the remaining capacity of the recording medium from said printing device.
11. 9. The information processing apparatus according to claim 8, wherein the amount of recording media required for the print job is obtained from intermediate data of the print job.
12. 12. The information processing apparatus according to claim 11, further comprising a generating unit that generates print data by reflecting the changed print settings in the intermediate data when the print settings are changed via the warning screen.
13. A method for controlling an information processing apparatus capable of inputting print jobs to a plurality of printing apparatuses having different specifications via a standard driver provided by an operating system, comprising: an acquisition step in which an acquisition unit acquires information about a recording medium from a printing device to which the accepted print job is to be input; a comparison step in which a comparison means compares a required amount of recording medium obtained from information on the print job with a remaining amount of the recording medium to be printed obtained from information on the recording medium; an output step of outputting a warning screen when the remaining amount of the recording medium to be printed is less than the amount of the recording medium required to execute the print job by an output means; 23. A method for controlling an information processing apparatus comprising:
14. An information processing apparatus capable of inputting print jobs to a plurality of printing apparatuses having different specifications via a standard driver provided by an operating system, an acquisition unit that acquires information about a recording medium from a printing device to which the accepted print job is to be submitted; a comparison means for comparing a required amount of recording medium obtained from the information on the print job with a remaining amount of the recording medium to be printed obtained from information on the recording medium; an output means for outputting a warning screen when the remaining amount of the recording medium to be printed is less than the amount of the recording medium required to execute the print job; A program that makes it work.
15. 15. The program according to claim 14, wherein the program is installed in the information processing apparatus as an extension application for extending a function of the standard driver.
Citation Information
Patent Citations
program
JP2019074906A
