1. Field of the Invention
The present invention relates to a printing control apparatus and a control method therefor for controlling a plurality of print modes of color print and monochromatic print.
2. Description of the Related Art
For print data including color print and monochromatic print, print data in one print mode is printed and during the period, a print document in the other print mode is stored in a storage means. And, a printing control apparatus for printing print data in the same job, then switching the print mode to the other print mode, next, printing print data in the other print mode, thereby reducing the switching count of the print mode is disclosed in Japanese Patent Application 2001-88355.
During printing, a printer driver for controlling a printing control apparatus connected to a computer receives data including color print mode setting from an application, prepares a print job, transfers the job to an operating system of the computer, and finishes the operation thereof.
When performing one driver operation or preparing one job, only either of color setting and monochromatic setting is used for printing. Namely, a user, when performing both color print and monochromatic print for an article to be printed, needs to perform print two times.
Therefore, an easily operable printing control apparatus is desired.
According to embodiments of the present invention, an object of the present invention is to provide a printing control apparatus and a control method therefor for setting color print and monochromatic print by one operation and obtaining respectively the number of copies designated by a user.
The present invention may provide a printing control apparatus, comprising:
The present invention may provide a print control method, comprising:
Further objects and advantages of the invention can be more fully understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
An embodiment of the present invention will be explained below with reference to the accompanying drawings.
In
In the program ROM 3b of the ROM 3 or the external memory 11, an operating system program (hereinafter called OS) which is a control program of the CPU 1 is stored. In a font ROM 3a of the ROM 3 or the external memory 11, font data used for the document process is stored. In a data ROM 3c of the ROM 3 or the external memory 11, various data used when performing the document process is stored.
The RAM 2 functions as a main memory and a work area of the CPU 1. The KBC 5 is a keyboard controller and controls key input from the keyboard 9 and a pointing device (not drawn). The CRTC 6 is a CRT controller and controls display of the CRT 10. Further, the CRT 10 may be of course a liquid crystal monitor. The DKC 7 is a disk controller and controls access to the external memory 11 storing a boot program, various applications, font data, a user file, an edit file, and a printer control command preparation program (hereinafter, referred to as a printer driver). The external memory 11 is composed of, for example, a hard disk (HD).
The PRTC 8 is a printer controller, which is connected to a printer 200 via a predetermined two-way interface 21 and executes a communication control process with the printer 200.
Further, the CPU 1 executes, for example, an outline font development process (rasterizing) to a display information RAM preset on the RAM 2 and enables WYSIWYG on the CRT 10. Further, the CPU 1, on the basis of a command instructed by a mouse cursor on the CRT 10, opens various registered windows and executes various data processes. A user, when executing printing, opens the window concerning print setting and sets the printer and the print process for the printer driver including selection of the print mode.
The printer 200 is composed of, for example, a printer CPU 12, a ROM 13, a system bus 15, a printing part interface 16, a printing part (printer engine) 17, an input part 18, a RAM 19, and a memory controller (MC) 20.
The printer CPU 12, on the basis of a control program stored in a program ROM 13b of the ROM 13 or a control program stored in an external memory 14, realizes various control of the printer 200. For example, the CPU 12, to the printing part (printer engine) 17 connected to the system bus 15, outputs an image signal as output information via the printing part interface 16. In the program ROM 13b of the ROM 13, a control program of the CPU 12 is stored. In a font ROM 13a of the ROM 13, font data used to generate output information is stored. A data ROM 13c of the ROM 13, when it is a printer having no external memory 14 such as a hard disk, stores information used by the host computer.
The CPU 12 can communicate with the host computer 100 via the input part 18 and is structured so as to inform information in the printer 100 to the host computer 100. The RAM 19 functions as a main memory and a work area of the CPU 12.
The MC 20 controls access of the external memory 14 such as a hard disk (HD) or an IC card. The external memory 14 is optionally connected and can store font data, an emulation program, and form data. Further, an operation part 2 installed in the printer 200, switches for various operations, and an LED indicator are arranged.
To release the application 101 from the print process in a short time, when sending a print command from the graphics engine 102 to the printer driver 104, the printing control apparatus may be structured so as to generate once a spool file 109 composed of an intermediate code. At the point of time when a spooler 6 finishes to output all print commands from the graphics engine 102 to the spool file 109, the application is released. Further, in the system shown in
Generally, to process print data, setting is performed from the window (user interface) provided by the printer driver 104 and the printer driver 104 stores the set contents in the RAM 2 or the external memory 11.
Hereinafter, the print data generation method will be explained by referring to
The spooler 106 converts the received print command to an intermediate code and outputs it to the spool file 109. Further, the spooler 106 obtains the processing setting concerning the print data set in the printer driver 104 from the printer driver 104 and preserves it in the spool file 109. Further, in
The spooler 106 loads a spool file manager 107 stored in the external memory 11 in the RAM 2 and informs the generation state of the spool file 109 to the spool file manager 107
The spool file manager 107 judges whether printing can be performed according to the processing setting contents concerning the print data stored in the spool file 109 or not, that is, whether data enough to perform printing is spooled or not. For example, when the processing setting is 2 up, for the output of one physical page, print data of 2 pages is required, so that the spool file manager 107 judges whether data of 2 pages is spooled or not. When the spool file manager 107 judges that printing can be performed using the graphics engine 102, it loads a De spooler 108 stored in the external memory 11 in the RAM 2 and instructs the De spooler 108 to perform the intermediate code printing described in the spool file 109.
The De spooler 108 processes the intermediate code included in the spool file 109 according to the processing setting contents included in the spool file 109 and outputs it again via the graphics engine 102. When the print command received by the dispatcher 103 from the graphics engine 102 is a print command issued from the De spooler OB to the graphics engine 102, the dispatcher 103 sends the print command to the printer driver 104 instead of the spooler 106. The printer driver 104 generates a printer control command and outputs it to the printer 200 via the system spooler 105.
The processing of the printing control apparatus of this embodiment having the aforementioned constitution will be explained below. In this embodiment, by one print, instruction, a plurality of output states of monochromatic print and color print can be executed. Furthermore, designation of respective numbers of copies and layout setting of Nin1 print for contracting and printing data of several pages in one page can be performed.
When a user performs monochromatic print in addition to color print, the monochromatic check box is checked and the number of print copies is set. In the setting example shown in
In this embodiment, a GDI which can not only set the number of color and monochromatic print copies but also perform detailed print setting such as layout for each print job can be structured. In the GDI shown in
When execution of print is instructed after the aforementioned designation, the print command issued from the application 101 is transferred to the spooler 106 via the graphics engine 102 and the dispatcher 103. The spooler 106 converts the received print command to an intermediate code and outputs it to the spool file 109, simultaneously obtains the processing setting (here, the color print is standard layout and the number of copies is 1, and the monochromatic print is 4in1 and double-side print, and the number of copies is 3) concerning the print data set in the printer driver 104 from the printer driver 104, and preserves it in the spool file 109.
The spool file manager 107 loads the De spooler 108 stored in the external memory 11 into the RAM 2 and instructs the De spooler 108 to perform the intermediate code print process at the processing setting described in the spool file 109.
Further, the print setting operation via the user interface does not need to be executed for each print and when the setting operation is not to be performed, the print process to be continued without changing the default set value or the print setting which is set previously is executed. The print setting data set by a user is stored in a memory called a Devmode structure.
The process in this embodiment is started by operating the keyboard 9 shown in
When the user presses the print button on the application, a print job start command is issued to the printer driver via the GDI (graphics device interface) and the driver prepares print data. At this time, the printer driver prepares print data by referring to the print setting in which the color setting and monochromatic setting including the number of print copies are stored respectively in different Devmode structures. When the process is finished, job end is called from the printer driver and the GDI opens the driver and transfers the prepared print data to the OS.
Hereinafter, the operation of the spool file manager 107 in this embodiment, that is, the process of the printer driver in the wide sense will be explained by referring to the flow chart shown in
Firstly, at Step S1, the spool file manager 107, at the start time of print, judges whether color print is set or not. When color print is set, the manager goes to Step 2 and when color print is not set, the manager goes to Step S3.
At Step S2, the color print process is performed and color print data is generated by the driver. The print setting and number of copies setting preserved in the color setting area of the Devmode structure are used.
When the color print process is finished, the manager goes to Step S3.
At Step S2, the spool file manager 107 judges whether monochromatic print is set or not. When monochromatic print is set, the manager goes to Step 4 and when monochromatic print is not set, the manager goes to Step S5.
At Step S4, on the basis of the color print data and the print setting and number of copies setting preserved in the monochromatic setting area of the Devmode structure, the monochromatic print process is performed and monochromatic print data is generated.
When the color print data and monochromatic print data are generated, the driver process is finished (Step S5) In the embodiment of the present invention, both color print and monochromatic print can be set on the GDI and for both, the number of copies can be designated. When the number of color print copies or the number of monochromatic print copies is 1 or more, the color print setting button or the monochromatic print setting button can be used and print setting such as layout can be performed. The respective settings are preserved in the color area and monochromatic area of the Devmode structure and are used for printing.
Further, a print mode switching mechanism installed in the printer can be realized, for example, by using a switching mechanism of color print and monochromatic print disclosed in Japanese Patent Application 2001-88355.
As mentioned above in detail, according to the embodiment of the present invention, by one operation, for each of color print and monochromatic print, the number of copies designated by a user can be obtained.
When the operation of the printer driver finished by one job is performed for a plurality of jobs, print results of both color print and monochromatic print can be obtained, so that the convenience is improved.
It goes without saying that various obvious modifications and simple variants come within the scope of the present invention beyond the above-described embodiment.