PRINTER DRIVER, METHOD FOR CONTROLLING INFORMATION PROCESSING APPARATUS, AND INFORMATION PROCESSING APPARATUS

JP2023045855A5Active Publication Date: 2024-10-01CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021154459
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-09-22
Publication Date
2024-10-01
Estimated Expiration
2041-09-22

AI Technical Summary

Technical Problem

Existing printer driver installations allow users without administrator privileges to create printer queues for non-target printers, enabling printing from unauthorized devices and risking confidential document leaks.

Method used

A printer driver mechanism that registers printer identification information in a secure storage area accessible only to administrators, allowing printing only to authorized devices and preventing printing to unauthorized devices by setting a cancel flag based on the registration status.

Benefits of technology

Prevents unauthorized printing from company PCs to non-company printers, thereby safeguarding against confidential information leaks.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

To permit printing by a printer designated as a target printer when a printer driver is installed, but not to permit printing by a non-target printer, so as to prevent printing from a PC taken out of a company, thereby, preventing confidential information from leaking.SOLUTION: When a printer driver is installed (FIG. 6), identification information of a printer set as print data output destination of the printer driver is registered in a print permission list 315 in an administrator access area 315 (S610). The installed printer driver 308 outputs, when the identification information of the printer to which the printer driver 308 outputs print data is registered in the print permission list 315, data for the printer (S1007 in FIG. 9, S1102 to S1103 in FIG. 10), and does not output, when not registered, data for the printer (S1006 in FIG. 9, S1102 in FIG. 10).SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a printer driver, an installation program, an information processing apparatus, and a control method for an information processing apparatus. [Background technology]

[0002] In recent years, there has been an increase in cases where users take their company personal computers (PCs) home or to a shared office to work. In such a situation, if users can print from the PC they took home to a printer at home or in a shared office, there is a risk that confidential documents may be leaked to the outside world. For this reason, administrators want to restrict printing from company PCs to printers within the company office only.

[0003] In such cases, from a security perspective, administrators use administrator privileges to restrict driver installation so that users cannot install application software or printer drivers on PCs and print without permission. In some cases, administrators do not grant general users administrator privileges for the operating system (OS).

[0004] In this type of operation where users are not granted administrator privileges, the administrator installs the corresponding printer driver on the PC in advance so that printing can be performed from the PC within the company. Then, by restricting the functions of the OS through administrator operations, general users are restricted from using the printer driver installer or installing drivers using OS functions.

[0005] For example, the following are examples of functional restrictions imposed on general users by the OS administrator: preventing the automatic installation of drivers from servers on the Internet, preventing the installation of tools that allow printing by sending documents directly to the printer, and blocking the UI for registering new printers in the OS.

[0006] On the other hand, examples of printing devices that control the printing device so that it does not perform printing include the following: Patent Document 1 proposes a printing device that requires the user to input usage permission information for using the printing device on the printing device side, and then prohibits printing operations based on that information. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] Japanese Patent Application Laid-Open No. 2004-90517 Summary of the Invention [Problem to be solved by the invention]

[0008] However, even with a printing device that prohibits printing operations as in Patent Document 1, if a user purchases and uses the printing device themselves, the user can set the usage permission information on the printing device, allowing the user to print from a PC they take home at home, etc. Also, in a shared office, a user can connect a PC they take home from work to a printing device for which they have permission to use and print.

[0009] In addition, even if a user does not have administrator privileges, they may use a printer driver that has been installed on a PC for use in the office to create a printer queue using the installed driver by using the OS functions. This type of printer queue can be created, for example, using the USB Plug & Play function.

[0010] Here, a specific example will be given of a case where a printer queue is created as described above using the USB Plug & Play function. If a printer driver that supports only one model of printer is pre-installed on a PC, and a user without administrator privileges prepares a printer of the same model as the supported model and connects it via USB, a printer queue will be created. In addition, if a printer driver that supports multiple printer models is pre-installed on a PC and a user without administrator privileges prepares one of the supported printer models and connects it via USB, a printer queue will be created. The printer queue thus created makes it possible to print on a printer at home, in a shared office, or the like, and it is not possible to prevent confidential documents from being leaked to the outside.

[0011] To prevent this from happening, we want to allow printing to the printer that was specified when the printer driver was installed, but not to allow printing to printers that were not specified using the installed printer driver.We also want to prevent printing outside the company from a PC that has been taken outside the company, thereby preventing the leakage of confidential information.

[0012] The present invention has been made to solve the above-mentioned problems, and aims to provide a mechanism that allows printing to a target printer when a printer driver is installed, but prevents printing to a non-target printer using the installed printer driver. [Means for solving the problem]

[0013] The present invention is a printer driver that causes an information processing device to function as a control means that outputs print data for a printing device to which print data is to be output if information about that printing device is registered in a specified storage area, and does not output print data for that printing device if information about that printing device is not registered in the specified storage area, and is characterized in that information about the printing device that was set as the output destination of print data when the printer driver was installed on the information processing device is registered in the specified storage area. [Effects of the Invention]

[0014] According to the present invention, it is possible to allow printing to the target printer when the printer driver is installed, but to prevent printing to a non-target printer using the installed printer driver. As a result, it is possible to prevent confidential information from being leaked when printing is performed outside the company from a PC taken outside the company. [Brief explanation of the drawings]

[0015] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a system to which the present embodiment can be applied. [Figure 2] FIG. 2 is a hardware configuration diagram of a host computer according to the present embodiment. [Figure 3A] 3A and 3B are diagrams illustrating information stored in an auxiliary storage device of a host computer according to the embodiment. [Figure 3B] 3A and 3B are diagrams illustrating information stored in an auxiliary storage device of a host computer according to the embodiment. [Figure 3C] 3A and 3B are diagrams illustrating information stored in an auxiliary storage device of a host computer according to the embodiment. [Figure 4] FIG. 2 is a diagram showing the configuration of an installer according to the present embodiment. [Figure 5] FIG. 1 is a diagram illustrating the hardware configuration of a multifunction peripheral as an example of a printing device. [Figure 6] 5 is a flowchart illustrating the operation of an installer according to the first embodiment. [Figure 7] 5A and 5B are diagrams showing device identification information stored in a printing device and a print permission list stored in a host computer. [Figure 8] A sequence diagram showing the interactions between an application, GDI, and printer driver. [Figure 9] 6 is a flowchart showing a printing device driver information acquisition process performed by the printer driver of the present embodiment. [Figure 10] 6 is a flowchart showing the process of processing a printer driver print-related command in the printer driver of the present embodiment. [Figure 11] 10 is a flowchart showing processing of a function for printer driver operation by a printer driver according to a second embodiment. [Figure 12] 10 is a flowchart illustrating the operation of an installer according to the third embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0016] Hereinafter, embodiments of the present invention will be described with reference to the drawings. [First embodiment] FIG. 1 is a diagram showing an example of the configuration of a system to which an embodiment of the present invention can be applied. 1(a) shows an example of a network environment assumed to be within a company, in which a host computer 101 and a printing device 1 (102) are communicably connected via a network 100a. It is assumed that a user will print from the host computer 101 using the printing device 1 (102) via the network 100a.

[0017] 2 is a diagram showing an example of the hardware configuration of the host computer 101. The host computer 101 can be configured as a general information processing device such as a personal computer (PC).

[0018] In the host computer 101 , a control unit 201 is a control unit that controls the operation of the host computer 101 . In the control unit 201, the CPU 202 controls the entire device in accordance with programs stored in the ROM 203, RAM 204, or auxiliary storage device 205. The RAM 204 is also used as a work area when the CPU 202 performs various processes. Note that all of the processing of each component in this embodiment is performed by the CPU 202 executing a program loaded into the RAM 204 from the auxiliary storage device 205 or the like. The input / output unit 210 controls input / output with the network 100 via a communication line 211 .

[0019] A keyboard controller 206 controls key input from a keyboard 207 or a pointing device (not shown). The display controller 208 controls the display on the display 209 . The memory controller 212 controls access to the secondary storage device 205 . The auxiliary storage device 205 is configured, for example, by a hard disk drive (HDD), a solid state drive (SSD), etc. Information stored in the auxiliary storage device 205 will be described below.

[0020] 3A to 3C are diagrams illustrating information stored in auxiliary storage device 205. FIG. The auxiliary storage device 205 stores application programs 301, . . . , 302, a printer driver installation program 307, an operating system (hereinafter referred to as "OS") 303, and the like. The OS 303 in the auxiliary storage device 205 has an OS driver storage section 304, which stores drivers 305, . . . , 306, and the like for various installed devices. One of these drivers, a printer driver, can issue print instructions to a device with a printing function via the input / output section 210. Figure 3A shows the state of the auxiliary storage device 205 when no printer driver has yet been installed.

[0021] The OS 303 also includes a printer queue storage unit 309. The printer queue storage unit 309 can store a printer queue. The printer queue stores driver setting information such as the print status and the number of pages to be printed, and also temporarily stores print jobs and manages information about documents waiting to be printed. Fig. 3A shows a state in which a printer queue has not yet been registered.

[0022] Here, we will explain the printer driver installation program 307. Hereinafter, the printer driver installation program 307 will be referred to as the "installer 307." 4 is a diagram showing an example of the configuration of the installer 307. The installer 307 operates by being read from the auxiliary storage device 205 to the RAM 204 and executed by the CPU 202.

[0023] A UI display unit 501 displays a user interface (UI) for installing a printer driver. A driver installation unit 502 appropriately allocates the driver and registers the settings in the OS. A printer driver information 503 has all information about the driver to be installed. A network printer search unit 504 searches for printers on the network. A printer driver selection unit 505 selects the printer driver to be installed. A port selection unit 506 selects the port to be used by the printer driver to be installed.

[0024] FIG. 5 is a diagram illustrating the hardware configuration of a multifunction peripheral (MFP) as an example of the printing device 1 (102). The control unit 402 communicates with each device connected to the network 100a via a communication line 401 that is connected to the network 100a. The control unit 402 has an input / output unit 403, an input / output buffer 404, a CPU 405, a program ROM 406, a RAM 407, an NVRAM 408, and a bitmap image development unit (not shown). The control unit 402 also has a panel I / F unit 414, a memory I / F unit 416, an engine I / F unit 409, a scanner I / F unit 412, and a system bus 417 that connects each unit.

[0025] The input / output unit 403 controls input / output with the network 100 a via the communication line 401 . The input / output buffer 404 is used to send and receive various data including control codes and print jobs for printing input from the network 100a, as well as various data within the device. The CPU 405 controls the overall operation of the control unit 402 .

[0026] The program ROM 406 stores data and programs that describe the operation of the CPU 405. The program ROM 406 also stores device identification information 418 that is uniquely held by each printing device and is used to identify the printing device. The RAM 407 is used as a work memory for control codes by the CPU 405, calculations required for interpreting and printing jobs, reading images, etc., and processing input and output image data. Non-volatile RAM (NVRAM) 408 stores data that must be retained even when the device is powered off.

[0027] A bitmap image development unit (not shown) develops the print job received from the host computer into a bitmap image. The engine I / F unit 409 connects the control unit 402 and the printer device 410. Bitmap data developed by a bitmap image development unit (not shown) is sent to the printer device 410 via the engine I / F unit 409 and printed.

[0028] The scanner I / F unit 412 connects the control unit 402 and the reader device 411. When scanning image data, a bitmap image or the like read by the reader device 411 is read through the scanner I / F unit 412.

[0029] A panel I / F unit 414 connects the control unit 402 to an operation panel 413. The operation panel 413 is used to operate the entire device and to display errors, operation guides, and the like. A memory I / F unit 416 connects the control unit 402 to an external memory 415 used for storing print jobs, image data input from the outside, various information about the printing device, and the like.

[0030] Next, the operation of the installer 307 that installs the printer driver in this embodiment will be described. FIG. 6 is a flowchart illustrating the operation of the installer 307 of the first embodiment. The processing of this flowchart is realized when the installer 307 recorded in the auxiliary storage device 205 is loaded into the RAM 204 and executed by the CPU 202. Below, the processing of the installer 307 executed by the CPU 202 will be explained, focusing mainly on the installer 307. The installer 307 is capable of network discovery installation and custom installation. In network discovery installation, the installer searches the network to find a supported printing device and installs the printer driver. In custom installation, the user manually configures the printing device and the port to be used and then performs installation. Here, the network discovery installation will be explained as an example.

[0031] When installation of the printer driver begins, the installer 307 starts the processing of this flowchart. In S601, the installer 307 sends a multicast inquiry to the network 100a to search for printing devices that are compatible with the universal printer driver 308. For example, Bonjour or WSD (Web Services for Devices) can be used for the search.

[0032] Subsequently, in S602, the installer 307 displays a printer list for selecting a printer to be added based on the response to the search in S601. Next, in S603, the installer 307 accepts a user operation to select a target printer from the printer list displayed in S602. For the sake of explanation, it is assumed here that printing device 1 (102) has been selected. Hereinafter, the installer 307 performs installation processing of the printer driver corresponding to printing device 1 (102) selected as the installation target.

[0033] In step S604 , the installer 307 stores the printer driver stored in the installer 307 in the driver storage unit 304 of the OS 303 .

[0034] Next, in S605, the installer 307 checks whether there are any unprocessed printer elements remaining in the list of installation targets. If there are any unprocessed printer elements remaining in the list of installation targets (YES in S605), the process proceeds to S606.

[0035] In S606, the installer 307 extracts one unprocessed printer element from the list of installation targets and sets it as the installation target. Next, in S607, the installer 307 creates a port in accordance with the port obtained by the search in S601 above that corresponds to the printer that was the installation target in S606 above.

[0036] Next, in S608, the installer 307 requests the OS 303 to create a printer driver queue and link the created queue to the port created in S607. In response to this request, the OS 303 creates a printer queue linked to the driver and port, and registers the new printer queue in the printer queue storage unit 309. As a result, as shown in FIG. 3B, the printer driver 308 corresponding to printing device 1 (102) is registered in the OS 303, and the printer queue 1 (310) linked to printing device 1 (102) is registered in the printer queue storage unit 309.

[0037] Next, in S609, the installer 307 communicates with the printer (printing device 1 (102) in the above example) targeted for installation in S606 above, and acquires the printer's unique identification information from the printer. The printer's unique identification information can be, for example, a device's unique serial number, a MAC address, or other information that can identify an individual printing device, but other information (e.g., an IP address) can also be used as long as it can identify an individual device. The serial number is stored in printing device 1 (102), as shown in the device identification information 418 in FIG. 7(a). Here, for example, "MFPXYZ012345" (701) is stored as the device identification information for printing device 1 (102). In S609 above, this device identification information is acquired via the network using a predefined command.

[0038] Then, in S610, the installer 307 registers the identification information acquired in S609 in a list (printing permission list 315) for granting printing permission to the driver in the administrator access area 314. In the example of FIG. 7(b), the device identification information "MFPXYZ012345" of printing device 1 (102) is registered in the printing permission list 315 together with the printer name, as shown in 702. Note that the administrator access area 314 is an area managed by OS 303 that can be edited (written) only by users with administrator privileges for OS 303, as described above. Note that the printing permission list may also be stored and managed in the auxiliary storage administrator access area 316, which is a predetermined storage area of ​​the auxiliary storage device 205 that is access-restricted and can only be edited by users with administrator privileges.

[0039] When the installation of one element is completed in S610, the installer 307 returns the process to S605. Then, in S605, if there are no unprocessed printer elements remaining in the list of installation targets (NO in S605), the installer 307 ends the printer driver installation process.

[0040] In the case of custom installation, instead of steps S601 to S603, the installer 307 performs a step of accepting user input of the printing device and the port to be used, and performs the processes of steps S606 to S610 based on the user input.

[0041] 6 shows an example in which identification information such as a serial number is acquired from the printer in S609. Note that the administrator who is installing the software may input the identification information such as a serial number attached to the printer itself via a keyboard or the like.

[0042] In this way, an administrator can use the installer within the company to register printing device 1 (102) within the company in the printing permission list 315. For example, as shown in 702 in FIG. 7(b), the device identification information "MFPXYZ012345" of printing device 1 (102) is registered together with the printer name in the printing permission list 315 in the administrator access area 314 in the auxiliary storage device 205 of the host computer 101. Note that the information registered in the printing permission list 315 may be information based on the identification information of the printing device, and may be information that combines identification information such as a serial number with information such as the printer name or model name, or may be processed information (for example, a hash value).

[0043] Consider the case where, as shown in FIG. 1B, a user in a shared office or the like connects host computer 101 to network 100b, which is separate from the company's internal network, and connects to printing device 2 (103) on network 100b. In this case, OS 303 searches driver storage unit 304 for a printer driver that can be used for the connected printer. If a usable printer driver is found, OS 303 creates a port, as performed by the installer in FIG. 6, associates the printer driver with the port, creates a printer queue, and creates a new printer queue in printer queue storage unit 309. For example, as shown in FIG. 3C, printer queue W313 associated with printer driver 308 is registered in printer queue storage unit 309. However, in this case, because installer 307 is not used, the identification information of the printer connected to new printer queue W313 is not registered in print permission list 315.

[0044] Note that, like the printing device 1 (102), the printing device 2 (103) has the same device identification information 428 as 418, and the serial number "MFPABC012345" (703) is stored as shown in FIG. 7C.

[0045] Next, the printing process of the printer driver 308 will be described. 8 is a sequence diagram showing interactions between an application 901, a set of print-related commands (GDI (Graphics Device Interface) 902) that the application instructs the OS in response to a document to be printed, and the printer driver 308. The application 901 is assumed to be, for example, application 1 (301).

[0046] The GDI 902 is an interface that executes drawing-related processes and is provided as part of the OS 303. The GDI 902 manages a device context, which is a virtualized drawing area, and generates display or print data associated with drawing from an application to this device context.

[0047] When printing starts, the application 901 instructs the GDI 902 to generate a device context (910), which then calls the printer driver 308 for driver initialization processing (912), and the printer driver 308 returns a list of corresponding functions (913).

[0048] The GDI 902 instructs the printer driver 308 to acquire information about the printing device and driver (914), and the printer driver 308 returns information about the functions of the printing device and driver to the GDI 902 (915).

[0049] The GDI 902 returns the created device context (916) to the application 901. The application 901 uses this device context to issue commands to the GDI 902, such as a document start command, a GDI drawing command (which collectively refers to various drawing commands), and a document end command.

[0050] The application 901 issues a document start command to the GDI 902 (917). In response to this command, the GDI 902 issues a printer driver document start command to the printer driver 308 (920). The application 901 issues a GDI drawing command (which collectively refers to various drawing commands) to the GDI 902 (918). In response to this command, the GDI 902 issues a printer driver drawing command (which collectively refers to drawing commands to each printer driver in response to drawing commands specified to the GDI by various applications) to the printer driver 308 (921). The application 901 issues a document end command to the GDI 902 (919). In response to this command, the GDI 902 issues a printer driver document end command to the printer driver 308 (922).

[0051] Then, the application 901 ends printing and instructs the GDI 902 to delete the device context (923). In response to this instruction, the GDI 902 instructs the printer driver to perform driver post-processing (924), and printing ends.

[0052] Here, the processing performed by the printer driver 308 will be described. 9 is a flowchart showing an example of printing device driver information acquisition processing by the printer driver 308 of this embodiment. The processing of this flowchart is realized when the printer driver 308 recorded in the auxiliary storage device 205 is loaded into the RAM 204 and executed by the CPU 202. Below, the processing of the printer driver 308 executed by the CPU 202 will be explained focusing mainly on the printer driver 308. When a request to acquire printing device and driver information is made by the GDI 902 (914 in FIG. 8), the printer driver 308 starts acquiring printing device driver information as shown in FIG. 9.

[0053] First, in step S1001, the printer driver 308 communicates with the printer to be used for printing, and acquires printer information from the printer. Thereafter, the printer driver 308 acquires the unique identification information (herein described as a serial number) of the printer to be used for printing (S1002).

[0054] In step S1003, the printer driver 308 also references the print permission list 315 in the administrator access area 314 (e.g., registry) (S1003). The print permission list 315 is a list for granting print permission to drivers in the administrator access area 314, which is an area managed by the OS 303 and can be edited only by users with administrator privileges registered by the installer 307 in step S610 of FIG. 6.

[0055] Next, in S1004, the printer driver 308 checks whether the serial number acquired in S1002 is included in the print permission list 315. If the serial number is not included in the print permission list 315 (NO in S1004), the printer driver 308 proceeds to S1006. Note that the printer driver 308 also proceeds to S1006 if it was unable to acquire identification information in S1002. In S1006, the printer driver 308 sets the cancel flag to "TRUE" to skip printing in order to prohibit printing on a printer that is not permitted to print, and the process proceeds to S1008.

[0056] On the other hand, if the serial number is included in the print permission list 315 (YES in S1004), the printer driver 308 advances the process to S1007. In S1007, the printer driver 308 sets the cancel flag for skipping printing to "FALSE" to permit printing to a printer that is permitted to print, and the process proceeds to S1008.

[0057] In step S1008, when the printer driver 308 passes the information about the printing device and driver functions to the GDI 902 in step 915 of Fig. 8, it defines and sets the cancel flag in an information structure that returns the information about the printing device and driver functions to the GDI 902, and returns the information to the OS 303. Note that, for example, in Windows (registered trademark), a DEVMODE structure can be used as this information structure. After the process of S1008, the printer driver 308 ends the process of this flowchart.

[0058] When printing to printer 1 (102) on in-house network 100a, for example, serial number "MFPXYZ012345" can be obtained as device identification information, and as shown in FIG. 7(b), this number exists in print permission list 315. Therefore, in this case, the cancel flag is set to "FALSE" in the processing of FIG. 9. On the other hand, when printing to printer 2 (103) on shared office network 100b, serial number "MFPABC012345" can be obtained as device identification information, and as shown in FIG. 7(b), this number does not exist in print permission list 315. Therefore, in this case, the cancel flag is set to "FALSE" in the processing of FIG. 9.

[0059] Next, a configuration will be described in which the printer driver 308 performs the processing shown in FIG. 10 among the print-related commands from 920 onward in FIG. 8 that are instructed from the GDI 902 to the printer driver 308, and controls printing. FIG. 10 is a flowchart showing an example of the process of processing printer driver print-related commands by the printer driver 308 of this embodiment.

[0060] When the GDI 902 starts issuing each printer driver print-related command, the printer driver 308 starts the processing of this flowchart. First, in step S1101, the printer driver 308 refers to the information structure of the GDI 902 and refers to the cancel flag set in step S1006 or S1007 of FIG.

[0061] Next, in S1102, the printer driver 308 checks whether the cancel flag is set to "TRUE." If the cancel flag is set to "TRUE" (YES in S1102), the printer driver 308 determines that printing is prohibited, does not perform the print processing within the function that received the print command, and ends the printer driver print-related commands.

[0062] On the other hand, if the cancel flag is not set to "TRUE" (YES in S1102), the printer driver 308 determines that printing is possible, continues the print processing within the function that received the print command (S1103), and terminates the printer driver print-related command.

[0063] In this example, when printing to printer 1 (102) on the in-house network 100a, the cancel flag is set to "FALSE," so the print process is executed. On the other hand, when printing to printer 2 (103) on the shared office network 100b, the cancel flag is set to "TRUE," so the print process within each function is not executed, and printing does not occur.

[0064] As described above, the printer driver of this embodiment calls the print-related commands of each printer driver, and at the time of installation, it determines whether the printer being used to print is registered in the list for granting registered print permission (print permission list 315). This makes it possible to permit printing only to printers used within the company, and to prevent printing to printers at home or in a shared office. As a result, it is possible to prevent the leakage of confidential information caused by printing outside the company from a PC taken outside the company.

[0065] Second Embodiment In the first embodiment, the process when the printer driver is installed by an installer and the operation of the printer driver during printing were described. In this embodiment, the operation of the printer driver when a printer driver corresponding to a printing device is installed by an OS function will be described.

[0066] In this embodiment, the printer driver 308 is installed using the functions of the OS 303, and the process up to the point where the printing device is registered in the print permission list 315 is different from that in the first embodiment, but the process at the time of printing operates in the same way as in the first embodiment.

[0067] A function of the OS 303 can install a printer driver 308 corresponding to the printing device 1 (102). In this case, upon completion of installation of the printer driver 308 in the OS 303, the OS 303 calls a function that is called when the driver is operated as an initialization setting when the printer driver is registered. For example, in the case of the Windows (registered trademark) OS, when the printer driver is installed in the OS, the OS calls the DrvPrinterEvent function with PRINTER_EVENT_INITIALIZE set as a command argument. The printer driver registration process by the OS as described above can be restricted so that it cannot be used by general users (users without administrator privileges) by using OS restriction functions (for example, restrictions using group policies). Under such restrictions, the process shown in FIG. 11 is executed with administrator privileges.

[0068] 11 is a flowchart showing an example of the processing of a printer driver operation function by printer driver 308 of this embodiment. The processing of this flowchart is realized when printer driver 308, recorded in auxiliary storage device 205, is loaded into RAM 204 and executed by CPU 202. Below, the processing of printer driver 308 executed by CPU 202 will be explained, focusing mainly on printer driver 308. First, when a printer driver operation function is called from OS 303, printer driver 308 starts the processing of this flowchart.

[0069] First, in S1201, the printer driver 308 checks whether the call is in accordance with the initialization settings at the time of driver registration. If the call is not in accordance with the initialization settings (NO in S1201), the printer driver 308 ends the processing of the printer driver operation function.

[0070] On the other hand, if the call is made with the initialization settings (YES in S1201), the printer driver 308 advances the process to S1202. In S1202, the printer driver 308 checks whether the program is running with administrator privileges. If the program is not running with administrator privileges (NO in S1202), the printer driver 308 determines that the printer driver operation function is being called with general user privileges, does not register the printer identification information, and ends the processing of the printer driver operation function.

[0071] On the other hand, if the printer driver 308 is operating with administrator privileges (YES in S1202), the printer driver 308 advances the process to S1203. In step S1203, the printer driver 308 acquires the printer name from the OS 303. Next, in step S1204, the printer driver 308 acquires a printer handle using the printer name acquired in step S1203. Furthermore, the printer driver 308 acquires printer queue information from the acquired handle.

[0072] Next, in step S1205, the printer driver 308 acquires the communication port from the printer information structure (for example, the PRINTER_INFO_2 structure in the case of the Windows (registered trademark) OS). Next, in step S1206, the printer driver 308 acquires the printer's unique identification information from the printing device 1 (102).

[0073] In S1207, the printer driver 308 registers the identification information acquired in S1206 in a list (print permission list 315) for granting print permission to the driver in the administrator access area 314, and ends the processing of the printer driver operation function. Note that, as described above, the administrator access area 314 is an area managed by the OS 303 that can be edited only by users with administrator authority for the OS 303. Note that the print permission list may be stored and managed in the auxiliary storage administrator access area 316, which is an access-restricted area managed by the auxiliary storage device 205 that can be accessed only by users with administrator authority.

[0074] In this way, in the same way as in the first embodiment, where the installer 307 is used to register the in-house printing device 1 (102) in the printing permission list 315, the in-house printing device 1 (102) can be registered in the printing permission list 315. The operation of the printing process of the printer driver 308 after registration is the same as in the first embodiment.

[0075] As mentioned above, even if a printer driver compatible with a printing device is installed using OS functions, the printer's identification information is registered in the print permission list in the administrator access area when the OS calls the printer driver operation function for initialization settings when registering the driver. This makes it possible to determine whether the printer being attempted to print is registered, and to permit printing only to printers used within the company, while disallowing printing to printers at home or in shared offices. This prevents the leakage of confidential information caused by printing outside the company from a PC taken outside the company.

[0076] Third Embodiment In the first and second embodiments, we have described the processing when a printer driver is installed using an installer or when a printer driver is installed using an OS function, and the operation of the printer driver when printing under those circumstances. In operation, if a printer malfunctions in an office and a new printer is installed, it becomes necessary to delete the malfunctioning printer from the print permission list and register the newly installed printer. Therefore, in this embodiment, we will describe the processing when, when the identification information of a printer already registered in the print permission list is replaced with the identification information of another printer or when new printer identification information is added.

[0077] 12 is a flowchart illustrating the operation of the installer 307 according to the third embodiment. The processing of this flowchart is realized when the installer 307 recorded in the auxiliary storage device 205 is loaded into the RAM 204 and executed by the CPU 202. Below, the processing of the printer driver 308 executed by the CPU 202 will be described, focusing mainly on the printer driver 308. As with FIG. 6, the following description will be given taking the network search installation as an example.

[0078] When printer driver installation is initiated, the installer 307 begins the processing of this flowchart. First, in S1301, the installer 307 checks whether the printer is to be replaced. For example, the installer 307 displays a UI (not shown) and accepts a user selection from the UI of printer replacement or normal installation, and determines that the printer is to be replaced if printer replacement is selected. Also, if at least one identification number is registered in the print permission list 315, the installer 307 may determine that the printer is to be replaced, and if no identification number is registered in the print permission list 315, the installer 307 may determine that the printer is not to be replaced.

[0079] If it is not a printer replacement (NO in S1301), the installer 307 determines it to be a normal installation and executes the processes of S1302 to S1309. Note that the processes of S1302 to S1309 are the same as the processes of S601 to S605 and S608 to S610 in Fig. 6, and therefore description thereof will be omitted.

[0080] On the other hand, if the printer is to be replaced (YES in S1301), the installer 307 advances the process to S1310. In S1310, the installer 307 searches for a printing device that can be installed.

[0081] Next, in S1311, the installer 307 presents to the user a list of printers that are not registered in the print permission list 315 based on information about the found printing device (for example, the device model name). For example, the installer 307 compares the model name of the found printing device with the printer name registered together with identification information in the print permission list 315, as shown in 702 in Figure 7(b), and presents a list of unregistered printers. Then, in S1312, the installer 307 accepts the user's selection of the printer to be installed (replaced) from the printer list presented in S1311 above.

[0082] Next, in step S1313, the installer 307 presents the list of printers registered in the print permission list 315 to the user. Then, in S1314, the installer 307 accepts the user's selection of a printer to be deleted from the print permission list 315 from the printer list presented in S1313 above.

[0083] Furthermore, in S1315, if the printer driver associated with the printer selected as the printer to be deleted in S1314 becomes unnecessary, the installer 307 uninstalls the unnecessary printer driver.

[0084] Then, in S1316, the installer 307 deletes the identification information of the printer selected in S1314 above from the print permission list 315. Then, the installer 307 executes the processes of S1305 to S1309 for the replacement printer selected in S1312 above, and ends the update installation.

[0085] For example, consider the case where printing device 1 (102) registered in the process of Fig. 6 of the first embodiment or the process of Fig. 11 of the second embodiment fails in network 100a as shown in Fig. 1(a). In this case, as shown in Fig. 1(c), printing device 3 (104) and printing device 4 (105) are connected to network 100a, and the failed printing device 1 (102) is replaced with printing device 3 (104).

[0086] Note that, like printing device 1 (102), printing device 3 (104) has device identification information 438 similar to 418, and the serial number "MFPPQR012345" (704) is stored as shown in FIG. 7D. Assume that printer replacement is selected by user instruction from a UI (not shown) when the installer 307 is launched. In this case, the search in S1310 in FIG. 12 finds printing device 1 (102), printing device 3 (104), and printing device 4 (105) as printing devices that can be installed. Furthermore, in S1311, because printing device 1 (102) is already registered in the permitted printing list, unregistered printing devices 3 (104) and 4 (105) are displayed on the UI.

[0087] Then, suppose that the user selects printing device 3 (104) as the printer to be replaced in S1312. In this case, printing device 1 (102), a printer whose identification information is registered in the printing permission list, is displayed in S1313. Furthermore, suppose that the user selects printing device 1 (102), the broken printer, as the printer to be deleted from the printing permission list in S1314. In this case, in S1315, because the printer driver corresponding to printing device 1 (102) is not used anywhere else, it becomes unnecessary and the driver is uninstalled.

[0088] Furthermore, in S1314, printing device 1 (102) was selected as the printer to be deleted from the printing permission list. Therefore, in S1316, the serial number "MFPXYZ012345" (702) of printing device 1 (102), which is registered as shown in FIG. 7B, is deleted from the printing permission list 315.

[0089] Then, in S1305 to S1307, a driver compatible with printing device 3 (104) is installed. Furthermore, in S1308, the serial number "MFPPQR012345" (704) as shown in FIG. 7(d) is acquired as identification information for printing device 3 (104). Furthermore, in S1309, the identification information acquired in S1308 above is registered in the printing permission list 315 as the serial number "MFPPQR012345" (705) as shown in FIG. 7(e), and the update installation is completed.

[0090] By replacing the printer as described above, if a printer malfunctions during operation, the malfunctioning printer can be removed from the permitted printing list and a newly installed printer can be registered in its place. This makes it possible to efficiently operate printers within the company even in the event of a printer malfunction, while preventing printing to printers at home or in shared offices. As a result, even after the printer has been replaced, it is possible to prevent confidential information from being leaked by continuing to print outside the company from PCs taken outside the company.

[0091] In each of the above-described embodiments, when a printer driver is installed on a PC, information (identification information) about the destination printing device is registered in a print permission list (whitelist) in a storage area that can be written only by a user with OS administrator privileges. If information about the printing device to which print data is to be output is registered in the print permission list, the installed printer driver outputs print data intended for that printing device. On the other hand, if the printing device is not registered in the print permission list, the printer driver does not output (cancel) print data intended for that printing device. This configuration allows printing to the printer targeted for installation of the printer driver, but prevents printing to printers other than the targeted printer. As a result, a company PC can be permitted to print only to printers used within the company, and cannot print to external printers at home, in a shared office, or elsewhere. For example, even if a printer at home or in a shared office is connected via USB and a printer queue is created using the USB Plug & Play function, the present invention can prevent printing. Furthermore, the present invention can prevent printing even if a user attempts to use a USB-connected printer at home or in a shared office using a printer driver installed via Point & Print.

[0092] As described above, according to the present invention, printing to a target printer when a printer driver is installed is permitted, but printing to a non-target printer using the installed printer driver is prohibited. This prevents printing outside the company from a PC taken outside the company, and prevents the leakage of confidential information through printing.

[0093] In addition to the present invention, in the case of a Windows (registered trademark) OS, for example, restricting the "Add Printer" function in group policy can also prohibit the installation of IPPClass drivers, etc. This can prevent printing using IPPClass drivers, etc. Furthermore, by not granting administrator privileges to general users, general users will not be able to add LPR functions, and direct printing using LPR commands can also be prevented. Furthermore, restricting the function for installing drivers, etc., through OS updates in group policy can prevent the installation of Inbox drivers through the OS update function. This can also prevent printing using Inbox drivers, etc.

[0094] When the printer driver 308 of this embodiment is uninstalled, information based on the identification information of the printing device associated as the connection destination of the printer driver 308 to be uninstalled is deleted from the print permission list 315. This process is performed, for example, by an uninstaller (printer driver uninstall program) (not shown) of the printer driver 308.

[0095] It goes without saying that the configurations and contents of the various data described above are not limited to those described above, and that the data may be configured in various configurations and contents depending on the application and purpose. Although one embodiment has been described above, the present invention can be embodied as, for example, a system, an apparatus, a method, a program, a storage medium, etc. Specifically, the present invention may be applied to a system made up of multiple devices, or may be applied to an apparatus made up of a single device. Furthermore, the present invention also includes any combination of the above embodiments.

[0096] (Other embodiments) The present invention can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the 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 realizes one or more functions. Furthermore, the present invention may be applied to a system made up of multiple devices, or to an apparatus made up of a single device. The present invention is not limited to the above-described embodiments, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these modifications are not excluded from the scope of the present invention. In other words, all configurations that combine the above-described embodiments and their modifications are included in the present invention. [Explanation of symbols]

[0097] 100a network (in-house) 100b Network (external) 101 host computer 102 Printing device 1 103 Printing device 2 104 Printing device 3

Claims

1. A printer driver, comprising: an installation program is installed on the information processing device by an installation program that does not register identification information of the printing device in an authorization list when a printer driver of the selected printing device is installed on the information processing device without administrator authority, and registers identification information of the printing device in an authorization list when a printer driver of the selected printing device is installed on the information processing device with the administrator authority; a determination step of determining whether or not the identification information of the target printing device is registered in the permission list; A printer driver characterized by having the information processing device execute a transmission process in which, if it is determined in the determination process that the identification information of the target printing device is not registered in the permission list, the printing data generated by the printer driver is not sent to the target printing device, and, if it is determined in the determination process that the identification information of the printing device to be used for printing is registered in the permission list, the printing data generated by the printer driver is sent to the target printing device.

2. 2. The printer driver of claim 1, wherein the permission list is accessible only by users with administrative privileges.

3. 2. The printer driver of claim 1, wherein the permission list is editable only by a user having administrator privileges.

4. 4. The printer driver according to claim 1, wherein the identification information is a serial number of the printing device.

5. 4. The printer driver according to claim 1, wherein the identification information is a MAC address of the printing device.

6. A printer driver as described in any one of claims 1 to 3, characterized in that the identification information is an IP address of the printing device.

7. A method for controlling an information processing device, comprising: the information processing device has a storage means for storing an installation program for not registering identification information of the selected printing device in an authorization list when a printer driver of the selected printing device is installed in the information processing device without administrator authority, and for registering identification information of the selected printing device in the authorization list when a printer driver of the selected printing device is installed in the information processing device with the administrator authority; The control method includes: a determination step of determining whether or not the identification information of the target printing device is registered in the permission list; a transmission step of not sending the print data generated by the printer driver to the target printing device when it is determined in the determination step that the identification information of the target printing device is not registered in the permission list, and of sending the print data generated by the printer driver to the target printing device when it is determined in the determination step that the identification information of the target printing device is registered in the permission list.

8. An information processing device, a storage means for storing an installation program for not registering identification information of a selected printing device in an authorization list when a printer driver of the selected printing device is installed in an information processing device without administrator authority, and for registering identification information of the selected printing device in the authorization list when a printer driver of the selected printing device is installed in the information processing device with the administrator authority; a determination means for determining whether or not the identification information of the target printing device is registered in the permission list; an information processing device comprising: a transmitting means for not transmitting print data generated by the printer driver to the target printing device when the determining means determines that the identification information of the target printing device is not registered in the permission list; and a transmitting means for transmitting the print data generated by the printer driver to the target printing device when the determining means determines that the identification information of the target printing device is registered in the permission list.