# US 2006/0153617 A1 · Computer containing a print control program, the program, and program recording medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0153617 A1
- Document ID: US20060153617A1
- Status: Published application
- Kind: A1
- Application number: 10/546,599
- Filed: 2004-02-25
- Published: 2006-07-13
- Earliest claimed: 2003-02-26
- Assignees: Science Park Corporation
- Inventors: Koichiro Shoji; Takashi Nozaki
- Web page: https://patentgrep.com/patent/US20060153617A1

## CPC

- G06F 3/1247: {by conversion to printer ready format}
- G06F 3/1204: {resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data}
- G06F 3/1254: {Automatic configuration, e.g. by driver}
- G06F 3/1285: {Remote printer device, e.g. being remote from client or server}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer storing a print control program, the program, and a recording medium containing the program according to the present invention control access from the computer to a printer in the kernel mode. When access is made from an application program (4) to a printer (69), a spooler (65) operates. An access request is detected in response to an event occurring when the spooler (65) operates. A common interface driver (7) controls data output to the printer (69) at a filter (41) or the spooler (65) according to a control condition previously registered in a control condition database (36).

## Claims

### Claim 1

A computer storing a print control program, said program including:
detecting means (43) that detects, when print data is output to a printer (69) from the computer operating under an operating system (OS), a print request and output data sent from an application program (4) running on said operating system to said printer (69) to perform printing;
a spooler (65) that processes said output data to generate said print data, temporarily stores said print data generated in a storage medium, and outputs said print data to said printer (69); and
control means (7, 41) that controls said output data sent from said application program (4) to said printer (69) to perform printing;
wherein said control means (7, 41) includes:
a common interface driver (7) that operates in a kernel mode in which all instructions for said operating system (OS) are executable, to perform transmission and reception of data between a plurality of device drivers;
a supervising section (43) that operates in a user mode of said operating system (OS) to supervise events generated by said operating system (OS); and
a filter (41) that operates in the kernel mode, in which all instructions for said operating system (OS) are executable, said filter (41) being inserted upstream of a printer device driver (68), which controls said printer (69), to control said print data sent from said spooler (65) to said printer (69);
said common interface driver (7) including:
an application interface section (17) that is an interface between said common interface driver (7) and said application program;
a printer output supervising driver section (42) that checks a control condition for controlling said print data and transmits an instruction for control to said filter (41); and
a data input/output section (20, 30) that makes access to a storage device to obtain said control condition and passes it to said printer output supervising driver section (42);
wherein said supervising section (43) detects said print request in response to an event occurring when said spooler (65) operates, and passes said print request detected to said printer output supervising driver section (42) through said application interface section (17);
said printer output supervising driver section (42) receives said print request and transmits a control instruction corresponding to said print request to said filter (41); and
said filter (41) controls said print data according to the predetermined control condition in response to said control instruction.

### Claim 2

A computer storing a print control program, said program including:
detecting means (43) that detects, when print data is output to a printer (69) from the computer operating under an operating system (OS), a print request and output data sent from an application program (4) running on said operating system to said printer (69) to perform printing;
a spooler (65) that processes said output data to generate said print data, temporarily stores said print data generated in a storage medium, and outputs said print data to said printer (69); and
control means (7, 41) that controls said output data sent from said application program (4) to said printer (69) to perform printing;
wherein said control means (7, 41) includes:
a common interface driver (7) that operates in a kernel mode in which all instructions for said operating system (OS) are executable, to perform transmission and reception of data between a plurality of device drivers; and
a supervising section (43) that operates in a user mode of said operating system (OS) to supervise events generated by said operating system (OS);
said common interface driver (7) including:
an application interface section (17) that is an interface between said common interface driver (7) and said application program;
a printer output supervising driver section (42) that checks a control condition for controlling said print data and controls said print data; and
a data input/output section (20, 30) that makes access to a storage device to obtain said control condition and passes it to said printer output supervising driver section (42);
wherein said supervising section (43) detects said print request in response to an event occurring when said spooler (65) operates, and passes said print request detected to said printer output supervising driver section (42) through said application interface section (17); and
said printer output supervising driver section (42) receives said print request and controls a spooler temporary file created and stored by said spooler (65) according to said control condition.

### Claim 3

A computer storing a print control program, said program including:
detecting means (43) that detects, when print data is output to a printer (69) from the computer operating under an operating system (OS), a print request and output data sent from an application program (4) running on said operating system to said printer (69) to perform printing;
a spooler (65) that processes said output data to generate said print data, temporarily stores said print data generated in a storage medium, and outputs said print data to said printer (69); and
control means (7, 41) that controls said output data sent from said application program (4) to said printer (69) to perform printing;
wherein said control means (7, 41) includes:
a common interface driver (7) that operates in a kernel mode in which all instructions for said operating system (OS) are executable, to perform transmission and reception of data between a plurality of device drivers; and
a second printer output supervising driver section (48) that operates in a user mode of said operating system (OS), said second printer output supervising driver section (48) being inserted upstream of said spooler (65) to control said output data sent from said application program (4) to said spooler (65);
said common interface driver (7) including:
an application interface section (17) that is an interface between said common interface driver (7) and said application program;
a printer output supervising driver section (42) that checks a control condition for controlling said print data and transmits an instruction for control to said second printer output supervising driver section (48); and
a data input/output section (20, 30) that makes access to a storage device to obtain said control condition and passes it to said printer output supervising driver section (42);
wherein said output data is passed to said spooler (65) through said second printer output supervising driver section (48); and
said second printer output supervising driver section (48) receives said control condition and said control instruction from said printer output supervising driver section (42) and controls said print data.

### Claim 4

A computer storing a print control program, said program including:
detecting means (43) that detects, when print data is output to a printer (69) from the computer operating under an operating system (OS), a print request and output data sent from an application program (4) running on said operating system to said printer (69) to perform printing;
a spooler (65) that processes said output data to generate said print data, temporarily stores said print data generated in a storage medium, and outputs said print data to said printer (69); and
control means (7, 41) that controls said output data sent from said application program (4) to said printer (69) to perform printing;
wherein said control means (7, 41) includes:
a common interface driver (7) that operates in a kernel mode in which all instructions for said operating system (OS) are executable, to perform transmission and reception of data between a plurality of device drivers;
a second printer output supervising driver section (61) that operates in a user mode of said operating system (OS), said second printer output supervising driver section (48) being inserted upstream of said spooler (65) to control said output data sent from said application program (4) to said spooler (65);
a filter (41) that operates in the kernel mode, in which all instructions for said operating system (OS) are executable, said filter (41) being inserted upstream of a printer device driver (68), which controls said printer (69), to control said print data sent from said spooler (65) to said printer (69);
said common interface driver (7) including:
an application interface section (17) that is an interface between said common interface driver (7) and said application program (4);
a printer output supervising driver section (42) that checks a control condition for controlling said print data and transmits an instruction for control to said filter (41); and
a data input/output section (20, 30) that makes access to a storage device to obtain said control condition and passes it to said printer output supervising driver section (42);
wherein said second printer output supervising driver section (48) detects said print request when said output data is passed to said spooler (65) through said second printer output supervising driver section (48), and passes said print request detected to said printer output supervising driver section (42) through said application interface section (17); and
wherein said output data is passed to said spooler (65) through said second printer output supervising driver section (48);
said second printer output supervising driver section (48) detects said print request when said output data is sent to said spooler (65) and passes said print request detected to said printer output supervising driver section (42) through said application interface section (17);
said printer output supervising driver section (42) receives said print request and transmits a control instruction corresponding to said print request to said filter (41); and
said filter (41) controls said print data according to the predetermined control condition in response to said control instruction.

### Claim 5 (depends on 1, 3, 4)

The computer according to any one of claims 1, 3 and 4, wherein said control condition is at least one selected from the group consisting of stopping output of said print data, changing an output speed of said print data, and repeatedly outputting a part of said print data.

### Claim 6 (depends on 2)

The computer according to claim 2, wherein said control condition is at least one selected from the group consisting of changing an attribute of said spooler temporary file, changing contents of said spooler temporary file, and a control whereby contents of said spooler temporary file are deleted to make said file empty.

### Claim 7

A print control program for use in a computer, said program including:
detecting means (43) that detects, when print data is output to a printer (69) from the computer operating under an operating system (OS), a print request and output data sent from an application program (4) running on said operating system to said printer (69) to perform printing;
a spooler (65) that processes said output data to generate said print data, temporarily stores said print data generated in a storage medium, and outputs said print data to said printer (69); and
control means (7, 41) that controls said output data sent from said application program (4) to said printer (69) to perform printing;
wherein said control means (7, 41) includes:
a common interface driver (7) that operates in a kernel mode in which all instructions for said operating system (OS) are executable, to perform transmission and reception of data between a plurality of device drivers;
a supervising section (43) that operates in a user mode of said operating system (OS) to supervise events generated by said operating system (OS); and
a filter (41) that operates in the kernel mode, in which all instructions for said operating system (OS) are executable, said filter (41) being inserted upstream of a printer device driver (68), which controls said printer (69), to control said print data sent from said spooler (65) to said printer (69);
said common interface driver (7) including:
an application interface section (17) that is an interface between said common interface driver (7) and said application program;
a printer output supervising driver section (42) that checks a control condition for controlling said print data and transmits an instruction for control to said filter (41); and
a data input/output section (20, 30) that makes access to a storage device to obtain said control condition and passes it to said printer output supervising driver section (42);
wherein said supervising section (43) includes the steps of detecting said print request in response to an event occurring when said spooler (65) operates, and passing said print request detected to said printer output supervising driver section (42) through said application interface section (17);
said printer output supervising driver section (42) includes the steps of receiving said print request and transmitting a control instruction corresponding to said print request to said filter (41); and
said filter (41) includes the step of controlling said print data according to the predetermined control condition in response to said control instruction.

### Claim 8

A print control program for use in a computer, said program including:
detecting means (43) that detects, when print data is output to a printer (69) from the computer operating under an operating system (OS), a print request and output data sent from an application program (4) running on said operating system to said printer (69) to perform printing;
a spooler (65) that processes said output data to generate said print data, temporarily stores said print data generated in a storage medium, and outputs said print data to said printer (69); and
control means (7, 41) that controls said output data sent from said application program (4) to said printer (69) to perform printing;
wherein said control means (7, 41) includes:
a common interface driver (7) that operates in a kernel mode in which all instructions for said operating system (OS) are executable, to perform transmission and reception of data between a plurality of device drivers; and
a supervising section (43) that operates in a user mode of said operating system (OS) to supervise events generated by said operating system (OS);
said common interface driver (7) including:
an application interface section (17) that is an interface between said common interface driver (7) and said application program;
a printer output supervising driver section (42) that checks a control condition for controlling said print data and controls said print data; and
a data input/output section (20, 30) that makes access to a storage device to obtain said control condition and passes it to said printer output supervising driver section (42);
wherein said supervising section (43) includes the steps of detecting said print request in response to an event occurring when said spooler (65) operates, and passing said print request detected to said printer output supervising driver section (42) through said application interface section (17); and
said printer output supervising driver section (42) includes the steps of receiving said print request and controlling a spooler temporary file created and stored by said spooler (65) according to said control condition.

### Claim 9

A print control program for use in a computer, said program including:
detecting means (43) that detects, when print data is output to a printer (69) from the computer operating under an operating system (OS), a print request and output data sent from an application program (4) running on said operating system to said printer (69) to perform printing;
a spooler (65) that processes said output data to generate said print data, temporarily stores said print data generated in a storage medium, and outputs said print data to said printer (69); and
control means (7, 41) that controls said output data sent from said application program (4) to said printer (69) to perform printing;
wherein said control means (7, 41) includes:
a common interface driver (7) that operates in a kernel mode in which all instructions for said operating system (OS) are executable, to perform transmission and reception of data between a plurality of device drivers; and
a second printer output supervising driver section (48) that operates in a user mode of said operating system (OS), said second printer output supervising driver section (48) being inserted upstream of said spooler (65) to control said output data sent from said application program (4) to said spooler (65);
said common interface driver (7) including:
an application interface section (17) that is an interface between said common interface driver (7) and said application program;
a printer output supervising driver section (42) that checks a control condition for controlling said print data and transmits an instruction for control to said second printer output supervising driver section (48); and
a data input/output section (20, 30) that makes access to a storage device to obtain said control condition and passes it to said printer output supervising driver section (42);
wherein said output data is passed to said spooler (65) through said second printer output supervising driver section (48); and
said second printer output supervising driver section (48) includes the steps of receiving said control condition and said control instruction from said printer output supervising driver section (42) and controlling said print data.

### Claim 10

A print control program for use in a computer, said program including:
detecting means (43) that detects, when print data is output to a printer (69) from the computer operating under an operating system (OS), a print request and output data sent from an application program (4) running on said operating system to said printer (69) to perform printing;
a spooler (65) that processes said output data to generate said print data, temporarily stores said print data generated in a storage medium, and outputs said print data to said printer (69); and
control means (7, 41) that controls said output data sent from said application program (4) to said printer (69) to perform printing;
wherein said control means (7, 41) includes:
a common interface driver (7) that operates in a kernel mode in which all instructions for said operating system (OS) are executable, to perform transmission and reception of data between a plurality of device drivers;
a second printer output supervising driver section (61) that operates in a user mode of said operating system (OS), said second printer output supervising driver section (48) being inserted upstream of said spooler (65) to control said output data sent from said application program (4) to said spooler (65);
a filter (41) that operates in the kernel mode, in which all instructions for said operating system (OS) are executable, said filter (41) being inserted upstream of a printer device driver (68), which controls said printer (69), to control said print data sent from said spooler (65) to said printer (69);
said common interface driver (7) including:
an application interface section (17) that is an interface between said common interface driver (7) and said application program (4);
a printer output supervising driver section (42) that checks a control condition for controlling said print data and transmits an instruction for control to said filter (41); and
a data input/output section (20, 30) that makes access to a storage device to obtain said control condition and passes it to said printer output supervising driver section (42);
wherein said second printer output supervising driver section (48) has the steps of detecting said print request when said output data is passed to said spooler (65) through said second printer output supervising driver section (48), and passing said print request detected to said printer output supervising driver section (42) through said application interface section (17); and
said printer output supervising driver section (42) includes the steps of receiving said print request and transmitting a control instruction corresponding to said print request to said filter (41); and
said filter (41) includes the step of controlling said print data according to the predetermined control condition in response to said control instruction.

### Claim 11 (depends on 7, 9, 10)

The print control program according to any one of claims 7, 9 and 10, wherein said control condition is at least one selected from the group consisting of stopping output of said print data, changing an output speed of said print data, and repeatedly outputting a part of said print data.

### Claim 12 (depends on 8)

The print control program according to claim 8, wherein said control condition is at least one selected from the group consisting of changing an attribute of said spooler temporary file, changing contents of said spooler temporary file, and a control whereby contents of said spooler temporary file are deleted to make said file empty.

### Claim 13 (depends on 7, 8, 9, 10)

The print control program according to any one of claims 7 to 10, wherein said control condition is at least one selected from the group consisting of a file of print data to be subjected to said print control, a printable time period indicating a period of time during which said print control can be performed, an application program that cannot print said file, and a user.

### Claim 14 (depends on 7, 8, 9, 10)

The print control program according to any one of claims 7 to 10, wherein said detecting means comprises the step of activating a hook program in response to said event when it occurs, said hook program having the transmitting step of informing the control means of occurrence of said event.

### Claim 15 (depends on 7, 8, 9, 10)

The print control program according to any one of claims 7 to 10 wherein said control means has a function of obtaining a log of execution of said print control and storing it in a log database, said log database comprising at least one selected from the group consisting of a user column showing a user who performed printing, a printed filename column showing a file that was printed, an application program column showing an application program that executed printing, a printer column showing a printer that printed, a print condition column showing a condition setting with which printing was performed, a date column showing a date at which printing was performed, and a print control column showing a type of print control performed.

### Claim 16 (depends on 7, 8, 9, 10, 12)

A recording medium containing the print control program according to any one of claims 7 to 10 and 12.
