Information processing apparatus, installation method, and recording medium

By introducing an acquisition unit and a processing unit into the information processing device, the problem of mismatch between the printer driver and the printer queue is solved, and accurate installation of the printer driver and data storage are achieved.

CN115934009BActive Publication Date: 2026-01-06SEIKO EPSON CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211200407.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-10-04
Filing Date
2022-09-29
Publication Date
2026-01-06
Estimated Expiration
2042-09-29

AI Technical Summary

Technical Problem

When multiple printer drivers exist in an information processing device, it is difficult to ensure that the installed printer driver corresponds to the actual connected printer, resulting in an incorrect printer queue.

Method used

The information processing device includes an acquisition unit, a first processing unit, and a second processing unit. It generates a printer queue by detecting a USB connection and changes the queue to the queue corresponding to the installed printer driver if a mismatch is detected.

Benefits of technology

This ensures that the printer driver corresponds to the printer, enabling correct print data storage and output, and improves the accuracy of printer driver installation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115934009B_ABST
    Figure CN115934009B_ABST
Patent Text Reader

Abstract

The present invention provides an information processing apparatus, an installation method, and a recording medium. The information processing apparatus (1) of the present invention changes a printer queue generated at the time of USB connection with a printer (100) to a printer queue corresponding to a prescribed printer driver, in the case where it is detected that the generated printer queue is not a printer queue corresponding to the prescribed printer driver.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to an information processing device, installation method, and program. Background Technology

[0002] Previously, there was a known method for performing plug-and-play to install printer drivers and generate printer queues when connected via USB (Universal Serial Bus).

[0003] For example, in the information processing apparatus disclosed in Patent Document 1, there is an information processing apparatus that includes a unit for installing a printer driver and a unit for registering custom setting information as default setting information when the installed printer driver is a custom printer driver.

[0004] However, even when there are multiple drivers for printers connected to information processing devices, it is desirable to match the appropriate driver among them, but different drivers may be assigned to them.

[0005] Patent Document 1: Japanese Patent Application Publication No. 2019-8673 Summary of the Invention

[0006] One solution to the above-mentioned problem is an information processing apparatus comprising: an acquisition unit that acquires a printer driver for controlling a printer; a first processing unit that installs the printer driver acquired by the acquisition unit into the information processing apparatus; and a second processing unit that, when a USB (Universal Serial Bus) connection to the printer is detected, generates a printer queue for storing print data processed by the printer, wherein the first processing unit, upon detecting that the printer queue generated by the second processing unit is not a printer queue corresponding to the installed printer driver, changes the generated printer queue to a printer queue corresponding to the installed printer driver.

[0007] One solution to the above-mentioned problem is an installation method for installing a printer driver in an information processing device, comprising the following steps: obtaining a printer driver for controlling a printer; installing the obtained printer driver in the information processing device; generating a printer queue for storing print data processed by the printer when a USB connection with the printer is detected; and changing the generated printer queue to correspond to the installed printer driver if it is detected that the generated printer queue is not the same as the printer queue corresponding to the installed printer driver.

[0008] One way to solve the above problem is a program that causes a computer mounted in an information processing device to perform the following operations: acquiring a printer driver for controlling a printer; installing the acquired printer driver in the information processing device; generating a printer queue for storing print data processed by the printer when a USB connection to the printer is detected; and changing the generated printer queue to correspond to the installed printer driver if it is detected that the generated printer queue is not the same as the printer queue corresponding to the installed printer driver.

[0009] One way to solve the above problem is a program that, when a USB connection with a terminal is detected, causes a terminal driver that controls the terminal to establish a correspondence with the terminal to perform the following operation: determining whether there is a more suitable terminal driver than the terminal driver corresponding to the terminal among a plurality of installed terminal drivers; and, if the determination is that there is a suitable terminal driver, then matching the suitable terminal driver with the terminal. Attached Figure Description

[0010] Figure 1 A block diagram illustrating the structure of an information processing device and a printer.

[0011] Figure 2 A flowchart illustrating the operation of an existing information processing device.

[0012] Figure 3 A flowchart illustrating the operation of an information processing device. Detailed Implementation

[0013] Figure 1 This is a block diagram showing the structure of the information processing device 1 and the printer 100.

[0014] The information processing device 1 includes: a network interface 10, an output interface 21, a display unit 23, a USB interface 31, a keyboard 33, a mouse 35, an auxiliary storage device 40, and a control unit 50. Hereinafter, the interface will be abbreviated as I / F.

[0015] The network I / F10, output I / F21, USB I / F31, auxiliary storage device 40, and control unit 50 are connected to the system bus 5.

[0016] Network I / F10 is a network communication interface used to communicate with external devices via networks such as LAN (Local Area Network).

[0017] A display unit 23 is connected to the output I / F 21. The output I / F 21 has a connection terminal and inputs drawing data received from the control unit 50 to the display unit 23. The connection terminal corresponds to standards such as DVI (Digital Visual Interface), HDMI (High-Definition Multimedia Interface), and DisplayPort. HDMI is a registered trademark.

[0018] The display unit 23 includes a display panel 25. For the display panel 25, a liquid crystal panel or an organic EL (Electro Luminescence) panel may be used, for example. The display unit 23 displays an image based on drawing data input from the control unit 50 via the output I / F 21 on the display panel 25.

[0019] A keyboard 33 and a mouse 35 are connected to the USBI / F31. Furthermore, a printer 100 or a reading device (not shown) can be connected to the USBI / F31. The reading device reads data recorded on a removable recording medium and outputs the read data to the control unit 50. The recording medium includes optical discs, magneto-optical discs, semiconductor memory, etc.

[0020] The USBI / F31 has a connection terminal corresponding to the USB standard, thereby enabling data communication with a keyboard 33, mouse 35, or printer 100 connected to the connection terminal.

[0021] The keyboard 33 and mouse 35 are input devices that accept user operations.

[0022] The printer 100 includes a controller 110 and an image forming unit 120, and is connected to the information processing device 1 via USB.

[0023] The controller 110 is a control device for controlling the printer 100.

[0024] The image forming unit 120 is controlled by the controller 110, thereby printing an image based on the print data input from the controller 110 onto the recording paper.

[0025] The auxiliary storage device 40 is a non-volatile storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive).

[0026] Auxiliary storage device 40 stores operating system 41 or application program 43. Operating system 41 or application program 43 is a control program executed by processor 70. Operating system 41 will be referred to as OS41 below.

[0027] The control unit 50 includes a main storage device 60 and a processor 70. The control unit 50 executes the control program stored in the main storage device 60 or the auxiliary storage device 40 through the processor 70, thereby performing comprehensive control over the various parts of the information processing device 1.

[0028] The main storage device 60 includes ROM (Read Only Memory) 61 and RAM (Random Access Memory) 63.

[0029] ROM61 stores the control program for starting the information processing device 1, such as the BIOS (Basic Input Output System).

[0030] RAM63 stores the data and programs used by the processor 70 in its operations.

[0031] The processor 70 is an arithmetic processing device composed of a CPU (Central Processing Unit) and an MPU (Microprocessor). The processor 70 can be composed of a single processor or multiple processors. Furthermore, the processor 70 can also be composed of a SoC (System-on-a-chip) integrated with part or all of the main memory device 60, or other circuitry. Additionally, the processor 70 can be composed of a CPU that executes programs and a DSP (Digital Signal Processor) that performs specified arithmetic processing. Furthermore, it can be constructed using a structure that integrates all the functions of the processor 70 into the hardware, or it can be constructed using a programmable device.

[0032] The control unit 50 includes an acquisition unit 71, a first processing unit 73, and a second processing unit 75 as function blocks. Each function block represents a function implemented by executing a control program through the processor 70, indicated by a box.

[0033] The acquisition unit 71 acquires the printer driver that controls the printer. For example, the acquisition unit 71 acquires the installation package recorded on the CD-ROM by having a reading device connected to the USB1 / F31 read information recorded on the CD-ROM.

[0034] In addition, the acquisition unit 71 connects to the printer supplier's server device via network I / F10 and downloads the installation package from the connected server device.

[0035] The installation package includes an installer and a printer driver. Hereinafter, the installer will be referred to as the installation tool. The installation package is a program package provided by the printer supplier that provides printer 100. Printer 100 is a printer used by the user of information processing device 1 to connect to information processing device 1.

[0036] The first processing unit 73 performs the function of executing the installation tool via the processor 70. The installation tool is a computer program configured to install the printer driver in the information processing device 1 and enable the printer driver to be started. The installation tool is provided as an executable file and, when executed, copies the printer driver file or configuration file, etc., to the auxiliary storage device 40 of the information processing device 1.

[0037] The printer driver is a program that implements control by receiving image data from application 43, converting it into print data in a form that printer 100 can interpret, and outputting the converted print data to printer 100. When converting the image data received from application 43 into print data, the printer driver performs, for example, resolution conversion processing, color conversion processing, halftone processing, rasterization processing, and instruction appending processing.

[0038] The second processing unit 75 performs the functions implemented by executing OS 41 through the processor 70. When the second processing unit 75 detects that the printer 100 is connected to the USB I / F 31, it generates a printer queue in the auxiliary storage device 40 through plug-and-play.

[0039] The second processing unit 75 generates a printer queue as a folder and registers the generated printer queue in the registry of the auxiliary storage device 40. The second processing unit 75 stores the printer model name, port ID, printing settings, etc., of the printer 100 in the printer queue registered in the registry. The registry is a database that stores information related to settings used in the OS 41.

[0040] Furthermore, the second processing unit 75 determines the printer drivers associated with the generated printer queue according to the priority order of printer drivers preset in OS41. In OS41, driver levels are set as identifiers indicating the priority order of printer drivers. The driver level is information indicating the priority order of printer drivers associated with the printer queue. Among the printer drivers included in the driver level are printer drivers with the same Hard Ware ID (model ID), printer drivers with the same Compatible ID (compatibility ID), and IPP class drivers (IPP class drivers: platform software library class drivers). Hereinafter, Hard Ware ID will be abbreviated as HID, and Compatible ID will be abbreviated as CID.

[0041] HID is identification information defined by the printer supplier and is set for each of the 100 printer models.

[0042] CID is also an identification information defined by the printer vendor and is commonly set across compatible printer models. CID is also known as a compatibility ID. A generic printer driver is used as an example in printer drivers with consistent CIDs. That is, by installing the corresponding driver with the appropriate CID on a compatible printer model, the printer can be made to function.

[0043] IPP class drivers are the drivers provided by OS41.

[0044] Previously, the driver priority was set to printer drivers with the same HID as the highest. The following order sets the priority to printer drivers with the same CID as the highest, followed by IPP class drivers.

[0045] Assume that the driver level setting has changed according to the OS41 specification, thereby changing the priority of IPP class drivers to higher priority than printer drivers of printers with consistent CID. Furthermore, assume that the driver acquired by the acquisition unit 71 is a printer driver with consistent CID, and that CID-consistent printer driver is installed in the information processing device 1. In this case, the second processing unit 75 executing OS41 will associate the generated printer queue with the higher-priority IPP class driver. That is, although a copy of the CID-consistent printer driver is generated in the auxiliary storage device 40, the second processing unit 75 still associates the generated printer queue with the IPP class driver.

[0046] Furthermore, it is assumed that the driver level setting has changed according to the OS41 specification, thereby changing the priority of IPP class drivers to higher priority than the printer drivers of HID-compatible printers. Furthermore, it is assumed that the driver acquired by the acquisition unit 71 is an HID-compatible printer driver, and that HID-compatible printer driver is installed in the information processing device 1. In this case, the second processing unit 75 executing OS41 will associate the generated printer queue with the higher-priority IPP class driver.

[0047] The first processing unit 73 detects the printer queue generated by the OS 41 when generating a copy of the printer driver in the auxiliary storage device 40. The first processing unit 73 performs printer queue detection after generating the copy of the printer driver in the auxiliary storage device 40 and before the USB connection of the printer 100 is detected. Printer queue detection is performed using an API (Application Programming Interface) provided by the OS 41. For example, if the OS 41 is Windows, it is implemented using the Windows API's EnumPrinters. Windows is a registered trademark. The first processing unit 73 obtains a list of printer queues from the OS 41. This list of printer queues is referred to as the list before queue generation.

[0048] Furthermore, when the second processing unit 75 performs plug-and-play and generates a printer queue in the auxiliary storage device 40, the first processing unit 73 re-detects the printer queue generated by the OS 41. The first processing unit 73 performs this re-detection of the printer queue after the USB connection of the printer 100 is detected and the second processing unit 75 performs plug-and-play. This printer queue detection is also performed using the API provided by the OS 41. The first processing unit 73 obtains a list of the printer queues from the OS 41. Here, the obtained list of printer queues is referred to as the list after queue generation.

[0049] When the first processing unit 73 obtains the list before queue generation and the list after queue generation, it compares the obtained list before queue generation and the list after queue generation to detect the printer queue generated by plug and play.

[0050] When the first processing unit 73 detects a printer queue generated via Plug and Play, it obtains information about the printer driver associated with the detected printer queue. For example, the first processing unit 73 obtains the printer driver information associated with the printer queue based on the model name of the printer 100 stored in the printer queue. For example, the first processing unit 73 uses an API provided by OS41 to obtain the information about the printer driver associated with the printer queue. For example, if OS41 is Windows, the first processing unit 73 uses the Windows API's GetPrinter to obtain the information about the printer driver associated with the printer queue.

[0051] The first processing unit 73 determines whether the printer queue generated by the OS 41 is associated with a printer driver that has been copied in the auxiliary storage device 40, based on the obtained information about printer drivers associated with the printer queue. When it is determined that the printer queue generated by the OS 41 is not associated with a printer driver, the first processing unit 73 associates the generated printer queue with the printer driver installed by the first processing unit 73.

[0052] Figure 2 This is a flowchart illustrating the previous operations of the information processing device 1.

[0053] In reference Figure 2 While showing the flowchart, the previous operation of the information processing device 1 will first be explained.

[0054] The control unit 50 determines whether a user operation has been received via the keyboard 33 or the mouse 35 (step S1). If no user operation has been received via the keyboard 33 or the mouse 35 (step S1 / No), the control unit 50 remains in standby mode until an operation is received.

[0055] When the control unit 50 receives an operation from the user via the keyboard 33 or the mouse 35 (step S1 / Yes), it determines whether the received operation is an instruction to execute the installation tool included in the installation package (step S2).

[0056] If the received operation is not an instruction to perform the installation of the tool (step S2 / No), the control unit 50 performs the processing corresponding to the operation received in step S1 (step S3) and terminates the processing flow.

[0057] Furthermore, if the received operation is an instruction to execute the installation tool (step S2 / Yes), the control unit 50 executes the installation tool. This causes a copy of the printer driver included in the installation package to be generated in the auxiliary storage device 40 of the information processing device 1, thereby installing the printer driver into the information processing device 1 (step S4).

[0058] Next, the control unit 50 causes the display unit 23 to display a prompt such as "Please connect the printer 100 via USB (step S5)".

[0059] Next, the control unit 50 determines whether the USB connection of the printer 100 has been detected through plug-and-play (step S5). If the control unit 50 does not detect the USB connection of the printer 100 (step S6 / No), it enters standby mode until the connection of the printer 100 is detected.

[0060] When the USB connection of the printer 100 is detected (step S6 / Yes), the control unit 50 performs plug-and-play, generates a printer queue in the registry of the auxiliary storage device 40 (step S7), and ends the processing flow.

[0061] Figure 3 This is a flowchart illustrating the operation of the information processing device 1 in this embodiment.

[0062] In reference Figure 3 While showing the flowchart, the operation of the information processing device 1 in this embodiment will first be explained.

[0063] In addition, due to Figure 3 The operation of the information processing device 1 up to steps S11 to S14 shown is as follows: Figure 2 The operation of the conventional information processing device 1 shown is the same, so the description is omitted.

[0064] When the printer driver is installed into the information processing device 1 (step S14), the control unit 50 detects the list of printer queues already generated in the information processing device 1. The control unit 50 uses the API provided by OS41 to generate a list of printer queues already generated in the information processing device 1 as a list before queue generation (step S15).

[0065] Next, the control unit 50 causes the display unit 23 to display a prompt to connect the printer 100 via USB (step S16).

[0066] Next, the control unit 50 determines whether the USB connection of the printer 100 has been detected through plug-and-play (step 17). If the control unit 50 does not detect the USB connection of the printer 100 (step S17 / No), it enters standby mode until the connection of the printer 100 is detected.

[0067] When the USB connection of the printer 100 is detected (step S17 / Yes), the control unit 50 performs plug-and-play and generates a printer queue in the registry of the auxiliary storage device 40 (step S18).

[0068] Next, the control unit 50 checks the list of printer queues already generated in the information processing device 1. Here, the control unit 50 also uses the API provided by OS41 to generate a list of printer queues already generated in the information processing device 1 as a list after queue generation (step S19).

[0069] Next, the control unit 50 compares the queue before generation list and the queue after generation list to detect the printer queue generated after the Plug and Play execution (step S20).

[0070] Next, the control unit 50 determines which printer drivers are associated with the detected printer queue (step S21). The control unit 50 then determines whether the determined printer drivers associated with the printer queue are printer drivers installed using the installation tool executed in step S3 (step S22).

[0071] If the printer driver associated with the printer queue is not the printer driver installed in step S3 (step S22 / No), the control unit 50 performs the following processing. The control unit 50 associates the printer queue detected in step S20 with the printer driver installed in step S3 (step S23) and ends the processing flow.

[0072] Furthermore, if the printer driver associated with the printer queue is the printer driver installed in step S3 (step S22 / Yes), the control unit 50 terminates the process flow.

[0073] As described above, the information processing apparatus 1 of this embodiment includes an acquisition unit 71, a first processing unit 73, and a second processing unit 75.

[0074] The acquisition unit 71 acquires the printer driver that controls the printer 100.

[0075] The first processing unit 73 installs the printer driver obtained by the acquisition unit 71 into the information processing device 1.

[0076] When the printer driver is installed into the information processing device 1, the second processing unit 75 generates a printer queue for storing the print data processed by the printer 100. If the first processing unit 73 detects that the printer queue generated by the second processing unit 75 during a USB connection with the printer 100 is not the printer queue corresponding to the installed printer driver, it changes the generated printer queue to the printer queue corresponding to the installed printer driver.

[0077] Therefore, even if the printer queue generated by the second processing unit 75 does not correspond to the installed printer driver, the printer queue generated by the first processing unit 73 will be changed to a printer queue corresponding to the installed printer driver.

[0078] Therefore, the installed printer driver can be used to output print data to the corresponding printer 100, thereby performing printing.

[0079] The printer queue generated by the second processing unit 75 is a printer queue driven by the IPP class generated by the first processing unit 73 executing OS41.

[0080] The printer driver acquired by the acquisition unit 71 is a general printer driver, and it is a printer driver whose HID is inconsistent with the printer but whose CID is consistent with the printer.

[0081] When a printer driver that is a generic printer driver and whose CID matches the printer is installed in the information processing device 1, a printer queue corresponding to an IPP class driver may sometimes be generated. This occurs when the priority of the IPP class driver is higher than that of the generic printer driver or the printer driver whose CID matches the printer, based on the priority order of the printer drivers. Even when a printer queue corresponding to an IPP class driver is generated, it is possible to change the generated printer queue to a printer queue corresponding to the printer driver whose CID matches the printer, and to enable the printer to perform printing using the printer driver whose CID matches the printer.

[0082] The second processing unit 75 determines the corresponding printer driver to be established with the generated printer queue based on the priority order of printer drivers in OS41.

[0083] Therefore, the printer driver corresponding to the printer queue is determined according to the priority order of the printer drivers in OS41.

[0084] In OS41, printer drivers with a specified priority order include HID-consistent printer drivers, IPP class drivers, and CID-consistent printer drivers.

[0085] Therefore, regardless of whether a printer driver with HID consistency, an IPP class driver, or a printer driver with CID consistency is installed in the information processing device 1, a printer queue corresponding to the installed printer driver can be generated.

[0086] When the installation of the printer driver into the information processing device 1 is completed, the first processing unit 73 causes the OS 41 to perform multiple checks on the information of the printer queue generated in the information processing device 1, and to perform checks on the printer queue generated by the second processing unit 75 based on the information of the printer queues detected multiple times.

[0087] Therefore, the printer queue generated by the second processing unit 75 can be detected with good accuracy.

[0088] The first processing unit 73 repeatedly checks the information of the printer queue generated in the information processing device 1 by executing OS41, which lists the Application Programming Interfaces of the printers that can be used.

[0089] Therefore, information about the printer queue can be detected through Application Programming Interfaces.

[0090] Before and after the printer 100 is connected to the USB, the first processing unit 73 causes the OS41 to repeatedly detect the information of the printer queue generated in the information processing device 1, thereby detecting the printer queue generated by the second processing unit 75.

[0091] Therefore, the printer queue generated by the second processing unit 75 can be detected with good accuracy.

[0092] The above implementation method represents one approach that can be arbitrarily modified and applied.

[0093] For example, Figure 1The parts shown are examples and are not particularly limited. It is not necessary to install separate hardware corresponding to each part; obviously, a structure in which a single processor executes the program to implement the functions of each part can also be adopted. A portion of the functionality implemented in software can be implemented in hardware, or a portion of the functionality implemented in hardware can be implemented in software. Furthermore, the specific detailed structure of other parts of the various devices of the information processing apparatus 1 can be arbitrarily changed. For example, the first processing unit 73 of the above embodiment can be divided into a processing unit for installing a printer driver into the information processing apparatus 1, and a processing unit for changing the generated printer queue to a printer queue corresponding to the installed printer driver when it is detected that the printer queue generated by the second processing unit is not the printer queue corresponding to the installed printer driver; or it can be divided into multiple parts that are one in the embodiment. Furthermore, the processes described in the embodiment as a series of processes can be divided into multiple processes and started separately. For example, the processes of S14, S17 and S18, and S22 and S23 can be set as separate programs and executed separately.

[0094] When using a computer mounted on information processing device 1 to implement the installation method or program, the program can also be configured to be executed by the computer in the form of a recording medium. The recording medium can be a magnetic recording medium, an optical recording medium, or a semiconductor memory device. Examples include removable or fixed recording media such as floppy disks, HDDs (Hard Disk Drives), CD-ROMs, DVDs, Blu-ray Discs, magneto-optical discs, flash memory, and card-type recording media. The aforementioned recording media can also be non-volatile storage devices such as RAM, ROM, and HDDs, which are internal storage devices of server devices. Blu-ray is a registered trademark.

[0095] Figure 2 as well as Figure 3 The action steps shown in the flowchart are divided according to the main processing content to make the actions of each device in the information processing apparatus 1 easier to understand, and are not limited by the method or name of the division of processing units. It is also possible to divide into more step units according to the processing content. It is also possible to divide into a single step unit that includes more processing steps. The order of the steps can also be appropriately changed.

[0096] Furthermore, this invention can also be applied when various terminals other than printers, such as scanners or projectors, are connected via USB. Without using a queue, it can also be done by determining whether there is a more suitable terminal driver among the installed terminal drivers than the one corresponding to the terminal, and then, based on the determination that a suitable terminal driver exists, changing the correspondence to match the appropriate terminal driver with the terminal.

[0097] Symbol Explanation

[0098] 1…Information processing device, 5…System bus, 10…Network I / F, 13…First communication I / F, 21…Output I / F, 23…Display unit, 25…Display panel, 31…USB I / F, 33…Keyboard, 35…Mouse, 40…Auxiliary storage device, 41…Operating system, 43…Application program, 50…Control unit, 60…Main storage device, 61…ROM, 63…RAM, 70…Processor, 71…Acquisition unit, 73…First processing unit, 75…Second processing unit, 100…Printer, 110…Controller, 120…Image forming unit, 200…Network.

Claims

1. An information processing apparatus comprising: an acquisition section that acquires a printer driver that controls a printer; a first processing section that installs the printer driver acquired by the acquisition section in the information processing apparatus; a second processing section that generates a printer queue that stores print data processed by the printer when universal serial bus connection with the printer is detected; a third processing section that changes the printer queue generated by the second processing section to a printer queue corresponding to the installed printer driver when it is detected that the printer queue generated by the second processing section is not a printer queue corresponding to the installed printer driver, the third processing section causing an operating system to detect information of a printer queue generated in the information processing apparatus a plurality of times when the printer driver is installed in the information processing apparatus, and detecting the printer queue generated by the second processing section based on the information of the printer queue detected a plurality of times.

2. The information processing apparatus according to claim 1, wherein the second processing section executes the operating system to generate a printer queue of an IPP class driver.

3. The information processing apparatus according to claim 1 or 2, wherein the printer driver acquired by the acquisition section is a universal printer driver.

4. The information processing apparatus according to claim 1, wherein the printer driver acquired by the acquisition section is a printer driver whose compatibility ID coincides with a compatibility ID set in the printer.

5. The information processing apparatus according to claim 1, wherein the second processing section decides a printer driver that corresponds to the generated printer queue based on a priority order of printer drivers set in an operating system.

6. The information processing apparatus according to claim 5, wherein among the printer drivers for which the priority order is defined in the operating system, there are included a printer driver whose hardware ID coincides, an IPP class driver, and a printer driver whose compatibility ID coincides.

7. The information processing apparatus according to claim 1, wherein the third processing section detects information of a printer queue generated in the information processing apparatus a plurality of times by executing an operating system that enumerates application programming interfaces of printers that can be used.

8. The information processing apparatus according to claim 1, wherein the third processing section causes the operating system to detect information of a printer queue generated in the information processing apparatus before the printer is connected by a universal serial bus, and after the printer is connected by a universal serial bus, and detects the printer queue generated by the second processing section based on the printer queue detected before the printer is connected by a universal serial bus, and the printer queue detected after the printer is connected by a universal serial bus.

9. The information processing apparatus according to claim 1, wherein The third processing section changes the printer queue corresponding to the printer driver in accordance with the compatibility ID when it is detected that the printer queue generated by the second processing section is an IPP class driver printer queue.

10. A recording medium having recorded thereon a program for causing an information processing apparatus to execute operations of: acquiring a printer driver that controls a printer; installing the acquired printer driver in the information processing apparatus; generating a printer queue that stores print data processed by the printer when a universal serial bus connection with the printer is detected; changing the generated printer queue to a printer queue corresponding to the installed printer driver when it is detected that the generated printer queue is not a printer queue corresponding to the installed printer driver; detecting a generated printer queue when the printer driver is installed in the information processing apparatus, and detecting the generated printer queue based on information of the printer queue detected a plurality of times by an operating system.

Citation Information

Patent Citations

  • Information processing apparatus and driver installing method

    JP2019008673A

  • Print control apparatus, print control method, and storage medium

    US20120026551A1

  • Information-processing device acquiring wireless identification information via wired communication for setting up command program

    US20210096794A1

  • Information processing apparatus, printing apparatus, and method for controlling information processing apparatus, and storage medium

    US20210240412A1