Method of data communication between application program and printer driver, and program therefor
First Claim
1. An information processing apparatus that executesan application that runs with a first bit number, anda printer driver that runs with a second bit number,wherein the application comprises:
- an allocation unit configured to allocate a named shared memory that can be accessed by both the application and the printer driver; and
a notification unit configured to notify the printer driver of a name of the named shared memory;
wherein the printer driver comprises;
a storing unit configured to store information about a print setting in the named shared memory based on the name of the named shared memory;
wherein the application further comprises;
an acquisition unit configured to acquire the information from the named shared memory, andwherein the name of the named shared memory is decided by utilizing a process ID and thread ID.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing apparatus and method. The apparatus comprises a generation unit configured to generate a named shared memory that can be accessed by both an application which runs with a first bit number and a printer driver which runs with a second bit number different from the first bit number. A storing unit is configured to store information in the named shared memory generated by the generation unit, and an acquisition unit is configured to acquire the information stored by the storing unit from the named shared memory generated by the generation unit. The storing unit is executed by the printer driver, and the acquisition unit is executed by the application.
9 Citations
25 Claims
-
1. An information processing apparatus that executes
an application that runs with a first bit number, and a printer driver that runs with a second bit number, wherein the application comprises: -
an allocation unit configured to allocate a named shared memory that can be accessed by both the application and the printer driver; and a notification unit configured to notify the printer driver of a name of the named shared memory; wherein the printer driver comprises; a storing unit configured to store information about a print setting in the named shared memory based on the name of the named shared memory; wherein the application further comprises; an acquisition unit configured to acquire the information from the named shared memory, and wherein the name of the named shared memory is decided by utilizing a process ID and thread ID. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An information processing apparatus that executes
an application that runs with a first bit number, wherein the application comprises: -
an allocation unit configured to allocate a named shared memory that can be accessed by both the application and a printer driver that runs with a second bit number; a notification unit configured to notify the printer driver of a name of the named shared memory; and an acquisition unit configured to acquire information about a print setting stored by the printer driver from the named shared memory, wherein the name of the named shared memory is decided by utilizing a process ID and thread ID.
-
-
8. An information processing apparatus that executes
a printer driver that runs with a second bit number, wherein the printer driver comprises: -
a receiving unit configured to receive, from an application that runs with a first bit number, a name of a named shared memory that can be accessed by both the application and the printer driver, and is allocated by the application; and a storing unit configured to store, in a named shared memory, information about a print setting that is acquired by the application based on the name of the named shared memory, wherein the name of the named shared memory is decided by utilizing a process ID and thread ID.
-
-
9. An information processing method comprising:
-
executing an application that runs with a first bit number, and a printer driver that runs with a second bit number; allocating a named shared memory that can be accessed by both the application and the printer driver; notifying the printer driver of a name of the named shared memory; storing information about a print setting in the named shared memory based on the name of the named shared memory; and acquiring the information from the named shared memory, wherein the storing is executed by the printer driver, and wherein the allocating, notifying, and acquiring are executed by the application, and wherein the name of the named shared memory is decided by utilizing a process ID and thread ID. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. An information processing method comprising:
-
executing an application that runs with a first bit number; allocating a named shared memory that can be accessed by both the application and a printer driver that runs with a second bit number; notifying the printer driver of a name of the named shared memory; and acquiring information about a print setting stored by the printer driver from the named shared memory, wherein the allocating, notifying, and acquiring are executed by the application, and wherein the name of the named shared memory is decided by utilizing a process ID and thread ID.
-
-
17. An information processing method comprising:
-
executing a printer driver that runs with a second bit number, receiving, from an application that runs with a first bit number, a name of a named shared memory that can be accessed by both the application and the printer driver, and is allocated by the application; and storing, in a named shared memory, information about a print setting that is acquired by the application based on the name of the named shared memory, wherein the receiving and storing are executed by the printer driver, and wherein the name of the named shared memory is decided by utilizing a process ID and thread ID.
-
-
18. A non-transitory computer-readable medium storing instructions which, when executed by a computer, perform an information processing method comprising:
-
executing an application that runs with a first bit number, and a printer driver that runs with a second bit number; allocating a named shared memory that can be accessed by both the application and the printer driver; notifying the printer driver of a name of the named shared memory; storing information about a print setting in the named shared memory based on the name of the named shared memory; and acquiring the information stored in the storing from the named shared memory, wherein the storing is executed by the printer driver, and wherein the allocating, notifying, and acquiring are executed by the application, and wherein the name of the named shared memory is decided by utilizing a process ID and thread ID. - View Dependent Claims (19, 20, 21, 22, 23)
-
-
24. A non-transitory computer-readable medium storing instructions which, when executed by a computer, perform an information processing method comprising:
-
executing an application that runs with a first bit number; allocating a named shared memory that can be accessed by both the application and a printer driver that runs with a second bit number; notifying the printer driver of a name of the named shared memory; and acquiring information about a print setting stored by the printer driver from the named shared memory, wherein the allocating, notifying, and acquiring is executed by the application, and wherein the name of the named shared memory is decided by utilizing a process ID and thread ID.
-
-
25. A non-transitory computer-readable medium storing instructions which, when executed by a computer, perform an information processing method comprising:
-
executing a printer driver that runs with a second bit number, receiving, from an application that runs with a first bit number, a name of a named shared memory that can be accessed by both the application and the printer driver, and is allocated by the application; and storing, in a named shared memory, information about a print setting that is acquired by the application based on the name of the named shared memory wherein the receiving and storing is executed by the printer driver, and wherein the name of the named shared memory is decided by utilizing a process ID and thread ID.
-
Specification