Printing device

A dual-core controller system in printing devices addresses the increased processing load by distributing tasks, enhancing print processing speed and reducing power consumption.

JP7563075B2Active Publication Date: 2024-10-08BROTHER KOGYO KK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2020158177
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-23
Publication Date
2024-10-08
Estimated Expiration
2040-09-23

AI Technical Summary

Technical Problem

The increasing demand for diverse functions in printing devices leads to an increase in data volume for print jobs, which results in a higher processing load on the controller, potentially affecting the output of print processing.

Method used

A printing device with a dual-core controller system, where one core analyzes job control commands and another core performs RIP processing, distributing the processing load and reducing the adverse effects on print output.

Benefits of technology

The dual-core system effectively manages processing loads by parallel execution of analysis and raster data creation, improving processing speed and reducing power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007563075000001
    Figure 0007563075000001
  • Figure 0007563075000002
    Figure 0007563075000002
  • Figure 0007563075000003
    Figure 0007563075000003
Patent Text Reader

Abstract

To suppress adverse effect on output of printing processing due to an increase in processing load of a controller when the printing processing is executed.SOLUTION: A printing apparatus 10 includes a print engine 17, and a first controller 11 which creates raster data based on a print job and causes the print engine 17 to perform printing processing based on the created raster data. The controller 11 includes: a first core 20 which is a processor core that performs analyzing processing for analyzing a job control command contained in the print job; and a second core 21 which is a processor core that performs RIP processing for creating the raster data based on a PDL command.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for printing an image based on a print job. [Background technology]

[0002] Patent Document 1 describes a printing device that includes a print engine and a controller that causes the print engine to execute a print process. Specifically, the controller analyzes PDL (Page Description Language) commands included in a print job and creates raster data. The controller causes the print engine to print an image on a print medium based on the created raster data.

[0003] In addition to the PDL command, a print job contains a job control command, which is information for controlling the print job. Therefore, when executing the print process, the controller creates raster data from the PDL command according to the analysis result of the job control command. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2015-123712 A Summary of the Invention [Problem to be solved by the invention]

[0005] In recent years, there has been an increase in demands for printing devices. For example, there is a demand for a reduction in the time required from receiving an instruction to execute a print process from a terminal to completing the print process. On the other hand, the functions required of printing devices are becoming more diverse, and the amount of data for print jobs is increasing in order to realize these functions. For this reason, there is a concern that the processing load on the controller will increase during the print process.

[0006] The present invention has been made in view of the above-mentioned problems, and has an object to suppress adverse effects on the output of a printing process that are caused by an increase in the processing load of a controller when a printing process is executed. [Means for solving the problem]

[0007] In order to solve the above problems, a printing device according to the present invention includes a print engine and a controller that creates raster data from a print job and causes the print engine to execute a print process based on the created raster data. The print job is data that includes job control commands that are commands for controlling the print job and PDL commands that are commands for creating the raster data. In the print process, the controller includes a first core that is a processor core that performs an analysis process for analyzing the job control commands included in the print job, and a second core that is a processor core that performs a RIP process for creating raster data from the PDL commands.

[0008] In the above configuration, when the controller executes the print process, the first core performs an analysis process that analyzes the job control commands included in the print job, and the second core performs a RIP process that creates raster data from the PDL commands. As a result, the analysis of the job control commands and the process of creating raster data from the PDL commands in the print process can be executed by different processor cores, so the processing load of one processor core can be distributed compared to when each process is executed by one processor core. As a result, it is possible to suppress the adverse effects of the processing load of the controller on the output of the print process. Effect of the Invention

[0009] According to the present invention, when a print process is executed, it is possible to suppress adverse effects on the output of the print process that are caused by an increase in the processing load of the controller. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a diagram showing the configuration of a printing system. [Diagram 2] FIG. 2 is a diagram illustrating a print job. [Diagram 3] FIG. 4 is a diagram for explaining the procedure of each process executed by the first core. [Figure 4] 4 is a flowchart illustrating the procedure of the process executed in S11 of FIG. 3. [Diagram 5] 10 is a flowchart illustrating a procedure of a process executed by a second core. [Figure 6] 6 is a flowchart illustrating a detailed procedure of the process in S63 of FIG. 5. [Figure 7] 10 is a flowchart illustrating the procedure of processing executed in S11 of FIG. 3 according to the second embodiment. [Figure 8] 8 is a flowchart illustrating the procedure of the process executed in S83 of FIG. 7. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] (First embodiment) The printing system 100 shown in FIG. 1 includes a printing device 10 and a terminal 30. The printing device 10 and the terminal 30 are connected to a network 200 and are capable of communicating with each other through the network 200. The network 200 may be the Internet, a LAN, or a combination of a LAN and the Internet. The network 200 may be wired, wireless, or a combination of wired and wireless. Specifically, the printing device 10 and the terminal 30 are wirelessly connected to a router (not shown) that constitutes part of the network.

[0012] First, we will explain the configuration of the printing device 10. The printing device 10 includes a first controller 11, a second controller 12, a third controller 13, a memory 14, a communication IF 15, a user IF 16, a print engine 17, and a bus 19. IF is an abbreviation for interface.

[0013] The communication IF 15 connects the printing device 10 to the network 200 in accordance with a predetermined communication protocol. The user IF 16 is an interface between the printing device 10 and a user who directly operates the printing device 10, and is, for example, a touch panel or operation keys.

[0014] The print engine 17 executes a print process for printing an image on a recording medium such as a sheet or a disk. In this embodiment, the print engine 17 may employ an inkjet method, an electrophotographic method, or the like as a printing method. The print engine 17 has an image forming mechanism for printing a recording agent on the recording medium, and a transport mechanism for transporting the recording medium to the image forming mechanism. The image forming mechanism has a cartridge for storing a recording agent. The cartridge has an IC chip, and this IC chip can communicate with the third controller 13 for authenticating the cartridge and notify the remaining amount of recording agent. The transport mechanism has a paper feed roller for feeding the recording medium, and a transport roller for transporting the fed recording medium toward the image forming mechanism.

[0015] The first controller 11 creates raster data from the print job JD when causing the print engine 17 to execute print processing. The first controller 11 is a multi-core CPU having a first core 20 and a second core 21 as processor cores. The first core 20 and the second core 21 can communicate with each other using a well-known method such as MCAPI (abbreviation of MultiCore Communications API). In this embodiment, the clock frequency of the second core 21 is higher than the clock frequency of the first core 20, and the second core 21 can execute processing with a higher load than the first core 20.

[0016] The first controller 11 can cause the second core 21 to transition between an operating mode and a sleep mode. Here, the sleep mode is a mode that consumes less power than the operating mode. Specifically, when the second core 21 is not operated, the first controller 11 can reduce the power consumption of the first controller 11 by transitioning the second core from the operating mode to the sleep mode.

[0017] The second and third controllers 12 and 13 each have one processor core, and are configured, for example, by a single-core CPU. The second controller 12 and the third controller 13 execute processes other than the process executed by the first controller 11. Specifically, when the second controller 12 causes the print engine 17 to execute a printing process, the second controller 12 executes a feeding operation by controlling the rotational drive of the rollers of the transport mechanism. In addition, the second controller 12 controls the drive of each part of the image forming mechanism during the printing process. The third controller 13 controls communication with an IC chip of the cartridge and blinking of an LED (not shown).

[0018] The processes executed by the second and third controllers 12 and 13 have a lower processing load than the processes executed by the first controller 11. In other words, the first controller 11 is a controller capable of executing processes with a higher processing load than the second and third controllers 12 and 13.

[0019] The memory 14 is configured by combining RAM, ROM, SSD, HDD, etc. Buffers provided in the first to third controllers 11 to 13 and used when executing various programs may also be considered as part of the memory 14. The memory 14 may be a storage medium readable by the first to third controllers 11 to 13. The storage medium readable by the first to third controllers 11 to 13 is a non-transitory medium. In addition to the above examples, the non-transitory medium also includes recording media such as CD-ROM and DVD-ROM. The non-transitory medium is also a tangible medium. On the other hand, an electrical signal carrying a program downloaded from a server on the network 200 is a computer-readable signal medium, which is a type of computer-readable medium, but is not included in the non-transitory computer-readable storage medium.

[0020] In this embodiment, the processing of the first controller 11 according to the instructions written in the program is mainly shown. That is, the processing of "judging", "extracting", "selecting", "calculating", "deciding", "identifying", "obtaining", "receiving", "controlling" and the like in the following description represent the processing of the first controller 11. Note that "obtaining" is used as a concept that does not require a request. That is, the processing of the first controller 11 receiving data without a request is also included in the concept of "the first controller 11 obtaining data". In addition, "data" in this specification is represented by a bit string that can be read by the controller. Data with the same substantial meaning but different formats are treated as the same data. The same applies to "information" in this specification.

[0021] The memory 14 has a data storage area. The data storage area is an area for storing data necessary for executing a program, etc. When printing is performed, a print job JD transmitted from the terminal 30 is stored in the data storage area of ​​the memory 14. As shown in FIG. 2, the print job JD is composed of, from the top, a header area H, a body area B, and a footer area F. The header area H and the footer area F are areas in which job control commands for controlling the print job JD are recorded. In the print job JD shown in FIG. 2, the job control commands are PJL (abbreviation for Printer Job Language). The body area B is an area in which PDL commands for drawing a page are recorded.

[0022] Next, the configuration of the terminal 30 will be described. The terminal 30 is equipped with a CPU, memory, user IF, display, and network IF, which are not shown. An OS and a printer driver are stored in the memory of the terminal 30. The printer driver creates a print job JD from image data created by an application, not shown, in response to an operational instruction from a user.

[0023] Next, the procedure of the process of the first controller 11 when performing the print process will be described with reference to the drawings. Among Figs. 3, 4, and 5, Figs. 3 and 4 show the process executed by the first core 20, and in Fig. 3, the functions of the first core 20 are shown as an analysis unit 22, a job management unit 23, a parameter construction unit 24, and a print control unit 25. The first controller 11 realizes the functions of each unit 22, 23, 24, and 25 by executing a program (not shown) stored in the memory 14. Fig. 5 shows the process executed by the second core 21.

[0024] 3, the analysis unit 22 determines whether or not it has received a print job JD transmitted from the terminal 30. If it has received a print job JD, the analysis unit 22 proceeds to S11, where it analyzes the PJL commands and PDL commands included in the received print job JD and notifies the second core 21 of the analysis result. Note that if it has not received a print job JD in S10, the analysis unit 22 waits.

[0025] FIG. 4 is a flowchart showing in detail the procedure of the process executed by the analysis unit 22 in S11. In S30, the type of the job control command included in the print job JD is determined. Specifically, the type of the job control command is determined by analyzing the header area H in the print job JD. In the print job JD shown in FIG. 2, since the tag "@PJL" is described at the beginning of the command, the analysis unit 22 determines that the job control command is PJL and proceeds to S32. On the other hand, if the header area H is not included at the beginning of the print job JD transmitted from the terminal 30, the analysis unit 22 cannot determine the type of the job control command, so makes a negative determination in S31 and proceeds to S39. For example, if the print job JD transmitted from the terminal 30 is composed of only PDL commands, the beginning of the print job JD does not include a header area.

[0026] In S31, if the job control command is PJL, the process proceeds to S32, where it is determined whether or not the command at the end of the print job JD has been detected. When S32 is executed for the first time, the analysis has not been performed up to the command at the end of the print job JD, so a negative judgment is made in S32, and the process proceeds to S33.

[0027] In S33, the command specified by the read pointer in the print job JD is analyzed. The read pointer is a variable that specifies the address in memory 14 of the command to be analyzed. In the analysis of the header area H of the print job JD, the PJL command specified by the read pointer is analyzed, and parameters included in the PJL command are temporarily stored in memory 14. The PJL command includes identification information, print setting information, and parameters indicating the emulation type. In this embodiment, the process executed by the first core 20 in S33 is an example of an analysis process.

[0028] The identification information includes a device name, which is information for identifying the printing device 10, and a login user name, which is information for identifying the user of the terminal 30. The print setting information is information specified when the print job JD is created by the printer driver, and includes the name of the print job JD, the creation date and time of the print job JD, whether or not progress printing is performed, the color type (e.g., color, monochrome), the resolution, the brightness, the type of character code of the characters to be printed, and the designation of the output tray. The emulation type is, for example, PostScript, PCL (abbreviation of Printer Control Language), and RTIFF. In the print job JD shown in FIG. 2, the header area H includes a PJL command of "@PJL ENTER LANGUAGE = PCLXL", and the emulation type "PCLXL" can be determined from this command. In this embodiment, the emulation type is an example of the type of the print job.

[0029] In S34, the read pointer is updated in memory 14 from a value specifying the current command to a value specifying the next command. In S35, it is determined whether or not the command "@PJL ENTER LANGUAGE PCLXL" indicating the end of the header area H has been detected by the analysis in S33. If the determination in S35 is negative, the process returns to S32.

[0030] By making a negative judgment in S35 and S32 and sequentially executing the processes of S33 and S34, the command specified by the read pointer reaches the command "@PJL ENTER LANGUAGE PCLXL" at the end of the header area H. Therefore, a positive judgment is made in S35 and the process proceeds to S36. Note that if a positive judgment is made in S35, the read pointer after being updated in S34 has a value indicating the command at the beginning of the body area B.

[0031] In S36, the second core 21 is notified of the RIP parameters analyzed in S33. The RIP parameters are parameters used in the RIP process, among the parameters analyzed from the header area H. Specifically, the analysis unit 22 requests the parameter construction unit 24 to acquire the RIP parameters. As shown in FIG. 3, when the parameter construction unit 24 receives the request to acquire the RIP parameters from the analysis unit 22, it makes a positive determination in S20 and proceeds to S21. Furthermore, when auto-emulation, which will be described later, is executed, a request to acquire the RIP parameters is made from the second core 21 (S60 in FIG. 5, which will be described later). If the parameter construction unit 24 does not receive a request to acquire the RIP parameters in S20, it waits.

[0032] In S21, the parameter construction unit 24 reads out common parameters from the memory 14 among the parameters stored in the memory 14. The common parameters are RIP parameters that are common regardless of the emulation type. In S22, the parameter construction unit 24 reads out specific parameters from the memory 14 among the parameters stored in the memory 14. The specific parameters are RIP parameters that correspond to the emulation type. In S23, the second core 21 is notified of the common parameters and specific parameters read from the memory 14 in S21 and S22.

[0033] 4, in S37, the second core 21 is notified of the current read pointer value, i.e., the value indicating the first PDL command in body area B. In S38, the second core 21 is notified of the emulation type of print job JD depending on the analysis result in S33. The processes of S36, S37, and S38 executed by the first core 20 are an example of a parameter notification process.

[0034] In S41, the second core 21 is notified of the start of RIP processing. In response to the start notification to the second core 21 in S41, the second core 21 starts RIP processing for the body area B beginning with the command specified by the read pointer notified in S37. In this embodiment, the print job JD is duplicated on the memory 14, and the second core 21 performs RIP processing on the duplicated print job JD. The duplicated print job JD is configured with a header area H, a body area B, and a footer area F, similar to the original print job JD, and the arrangement of PJL commands and PDL commands is the same as that of the original print job JD. Therefore, the read pointer is a relative address with the beginning of the print job JD as the origin, and if the value of the read pointer is the same, the command indicated by the read pointer indicates the same command in the original print job JD and the duplicated print job JD. The process executed by the first core 20 in S41 is an example of a start notification process.

[0035] Next, the procedure of the process executed by the second core 21 will be described with reference to FIG. 5. In S50, it is determined whether or not a notification has been received from the first core 20. If no notification has been received from the first core 20 in S50, the second core 21 waits. In this embodiment, the second core 21 transitions to a sleep mode until a notification is received from the first core 20. If an affirmative determination is made in S50, the process proceeds to S51, and if the second core 21 is currently in a sleep mode, it transitions to an operating mode. If the second core 21 has already transitioned to an operating mode, it maintains the operating mode. In this embodiment, in S50, the second core 21 determines whether or not to return from the sleep mode. In addition to this, for example, the first core 20 may determine whether or not the second core 21 needs to return from the sleep mode, and in the case of returning the second core 21, the first core may transition the second core 21 to the operating mode before issuing the notification in S50.

[0036] The process proceeds to S52, where it is determined whether the notification from the first core 20 is a notification of RIP parameters. If the notification of S36 has been made by the first core 20, an affirmative judgment is made in S52, and the process proceeds to S53. In S53, the RIP parameters constructed by the parameter construction unit 24 are set as parameters to be used in the RIP process. When the process of S53 ends, the process returns to S50.

[0037] If a negative decision is made in S52, the process proceeds to S54, where it is determined whether or not the notification from the first core 20 is the value of the read pointer. If the notification of S37 has been made by the first core 20, a positive decision is made in S54, and the process proceeds to S55. In S55, the value of the read pointer notified by the first core 20 is set as a value indicating the first command in the body area B. When the process of S55 ends, the process returns to S50.

[0038] If a negative decision is made in S54, the process proceeds to S56, where it is determined whether or not the notification from the first core 20 is a notification of an emulation type. If the notification in S38 has been made by the first core 20, a positive decision is made in S56, and the process proceeds to S57. In S57, the emulation type notified from the first core 20 is set as the emulation type of the print job JD. When the process of S57 ends, the process returns to S50.

[0039] If a negative decision is made in S56, the process proceeds to S58, where it is determined whether or not the notification from the first core 20 is an auto-emulation start notification. Auto-emulation is a process for causing the second core 21 to determine the emulation type when the first core 20 cannot determine the emulation type. The first core 20 issues an auto-emulation start notification in S40 in FIG. 4, which will be described later. Here, it is assumed that a negative decision is made in S58, and the process proceeds to S62. The process when a positive decision is made in S58 will be described later.

[0040] In S62, it is determined whether the notification from the first core 20 is a RIP processing start notification. If a negative determination is made in S62, the process returns to S50. On the other hand, if a start notification has been made by the first core 20, a positive determination is made in S62, and the process proceeds to S63, where the RIP processing is executed. In this embodiment, by the second core 21 executing the RIP processing, the analysis processing and the RIP processing of the printing processing can be distributed and executed by the two processor cores, thereby reducing the processing load on the processor cores.

[0041] Fig. 6 shows the process in S63 in Fig. 5 in detail. In S70, the PDL command in the duplicated print job JD is interpreted and drawing is performed to create raster data. At this time, the drawing is performed by applying the RIP parameters that have already been set. In this embodiment, the raster data is data having three color values ​​of red (R), green (G), and blue (B) for each pixel. The raster data created by the second core 21 is recorded in the print data storage area of ​​the memory 14. In S71, the read pointer is updated to a value indicating the next PDL command.

[0042] In S72, it is determined whether or not raster data for one page has been created. If raster data for one page has not been created, the process proceeds to S75, where it is determined whether or not raster data for all pages in the print job JD has been created. If the result of the determination in S75 is negative, the process returns to S70.

[0043] After repeatedly executing the processes of S70 and S71, if it is determined in S72 that one page of raster data has been created, the process proceeds to S73. In S73, the job management unit 23 registers the created one page of raster data as raster data to be printed. In S74, a completion notification is sent to the job management unit 23 of the first core 20, indicating that one page of raster data has been completed.

[0044] In S75, it is determined whether raster data corresponding to all pages in the print job JD has been created. If a negative determination is made in S75, the process returns to S70, and raster data corresponding to the remaining pages is created. After repeating the processes of S70 to S74, if it is determined in S75 that raster data has been created for all pages in the print job JD, the process proceeds to S76, and a job completion notification indicating that RIP processing for one print job JD has been completed is sent to the job management unit 23. Then, the process proceeds to S64.

[0045] 5, in S64, the value of the read pointer at the end of the RIP process in S63, i.e., the value indicating the command at the top of the footer area F, is notified to the first core 20. In S65, a completion notification of the RIP process is notified to the job management unit 23 of the first core 20.

[0046] Returning to Fig. 4, in this embodiment, in a period during which the process shown in Fig. 5 is being executed by the second core 21, the analysis unit 22 of the first core 20 analyzes page information from the body area B of the print job JD in S42. The page information is information that specifies the PDL data that corresponds to one page in the body area B. Specifically, the information specifies which bytes from the beginning of the body area B correspond to one page of PDL data and which bytes correspond to two pages of PDL commands.

[0047] In S43, the analysis unit 22 determines whether or not a read pointer has been returned from the second core 21. If the second core 21 has returned the read pointer (i.e., the process of S64), an affirmative judgment is made in S43, and the process proceeds to S44. If a negative judgment is made in S43, the process waits. In S44, the current value of the read pointer is updated to the value of the read pointer returned from the second core 21.

[0048] The process returns to S32 and determines whether or not the command at the end of print job JD has been detected. If the process proceeds to S32 via S44, the read pointer indicates the command at the beginning of footer area F in print job JD. If a negative decision is made in S32, S33, S34, and S35 are repeated, and the command "EC%-12345" at the end of footer area F is detected by the analysis in S33. In this case, a positive decision is made in S32 and the process proceeds to S12 in FIG. 3.

[0049] In S12, the analysis unit 22 notifies the job management unit 23 of the job information among the analysis results in S11. In S13, the analysis unit 22 notifies the job management unit 23 of the start of print processing. When the job management unit 23 receives the start notification from the analysis unit 22 in S14, the process proceeds to S15, where it notifies the print control unit 25 of the job information received from the analysis unit 22. Furthermore, the job management unit 23 can, for example, use the received page information to manage the raster data for each page stored in the memory 14 and create an indicator image that indicates the progress of the print processing. Note that if the job management unit 23 does not receive the start notification, it waits.

[0050] If the job management unit 23 receives a page completion notification (S74 in FIG. 6) from the second core 21 in S16, indicating that one page of raster data has been created, the process proceeds to S17, where the print control unit 25 issues a print start notification to print one page of raster data. When the print control unit 25 receives the print start notification from the job management unit 23, in S24, the print control unit 25 converts one page of raster data stored in the print data storage area into data that can be processed by the print engine 17, and causes the print engine 17 to execute a print process. Specifically, the print control unit 25 performs color conversion processing on the values ​​of R, G, and B colors that each pixel of the raster data has into values ​​corresponding to the recording material. In addition, the print control unit 25 converts the data after the color conversion processing into binary data that can be processed by the print engine 17. The print control unit 25 causes the print engine 17 to print one page using the binary data. It should be noted that the job management unit 23 transmits a print start notification to the print control unit 25 every time the job management unit 23 receives a page completion notification from the second core 21.

[0051] If the job management unit 23 receives a job completion notification from the second core 21 in S18 (S76 in FIG. 6), the job management unit 23 proceeds to S19 and transmits a job end notification to the print control unit 25. As a result, the print control unit 25 ends the process in S24.

[0052] Next, a process will be described for a case where the analysis unit 22 cannot determine the type of the job control command and cannot determine the emulation type in S31 of Fig. 4. If the analysis unit 22 cannot determine the type of the job control command and a negative judgment is made in S31, the process proceeds to S39, in which the second core 21 is notified of the current value of the read pointer. In S40, the second core 21 is notified of the start of auto-emulation. As described above, "auto-emulation" is a process for causing the second core 21 to analyze the emulation type.

[0053] When the second core 21 receives the notification of the start of auto-emulation in S40 from the first core 20, in Fig. 5, it makes negative decisions in S52, S54, and S56 and proceeds to S58. It makes a positive decision in S58 and proceeds to S59 to execute auto-emulation. As a result, the emulation type is determined according to the analysis result of body area B in the duplicated print job JD. For example, in the example of Fig. 2, the second core 21 determines that the emulation type is "PCLXL" from the "PCLXL" command included in body area B.

[0054] In S60, a request to acquire RIP parameters is made to the first core 20 according to the emulation type determined by the auto-emulation in S59. In this case as well, when the parameter constructor 24 receives a request to acquire RIP parameters from the second core 21 in S20 of Fig. 3, the parameter constructor 24 constructs RIP parameters according to the emulation type identified by the auto-emulation and notifies the second core 21 of the constructed RIP parameters (S21-S23).

[0055] The second core 21 obtains the RIP parameters notified by the first core 20, and makes an affirmative decision in S61, and returns to S50. Thereafter, upon receiving a notification of the start of RIP processing from the first core 20 (S41 in FIG. 4), the second core 21 makes a negative decision in S62, and proceeds to S63, where the RIP processing is started.

[0056] The above-described embodiment can provide the following effects. The first controller 11 has a first core 20 that performs an analysis process to analyze job control commands included in a print job JD when executing a print process, and a second core 21 that performs a RIP process to create raster data from the PDL commands. As a result, during the print process, the analysis of the job control commands and the process of creating raster data from the PDL commands can be executed by different processor cores, so that the processing load can be distributed between the two processor cores, and adverse effects on the output of the print process can be suppressed.

[0057] Before notifying the second core 21 of the start of RIP processing, the first core 20 notifies the second core 21 of each parameter according to the analysis result of the print job JD. In the RIP processing, the second core 21 creates raster data from the PDL command according to each parameter. This makes it possible to distribute and execute the analysis processing and the RIP processing by the two cores, even in a configuration in which parameters used in executing the RIP processing are analyzed from the print job JD.

[0058] The first core 20 identifies the emulation type based on the job control command, and notifies the second core of parameters corresponding to the identified emulation type as RIP parameters. The second core 21 creates raster data from the PDL command according to the RIP parameters. This allows the analysis process and the RIP process to be distributed and executed by the two cores, even when analyzing RIP parameters used in the RIP process from the print job JD.

[0059] When the first core 20 does not identify the emulation type of the print job JD based on the job control command, it causes the second core 21 to execute auto-emulation to identify the emulation type. The first core 20 notifies the second core 21 of RIP parameters according to the emulation type identified by the second core 21. This allows the second core 21 to continue RIP processing even when the first core 20 cannot identify the drawing type of the print job JD.

[0060] The first controller 11 stores the print job JD in the memory 14 that can be referenced by the first core 20 and the second core 21. After executing the analysis process, the first core 20 notifies the second core 21 of the PDL command specified by the read pointer. The second core 21 starts the RIP process by referencing the value of the read pointer notified by the first core 20. This allows the first core 20 and the second core 21 to execute the analysis process and the RIP process by referring to the print job JD stored in the memory 14. As a result, memory resources can be used more effectively than when the print job JD is stored in separate memories 14.

[0061] When the print job JD corresponds to multiple pages, the first core 20 sequentially analyzes the multiple pages of the print job JD and stores the analysis results in the memory 14. The first core 20 notifies the second core 21 of each of the stored parameters for the multiple pages. This allows the analysis process by the first core 20 and the RIP process by the second core 21 to be executed in parallel, thereby improving the processing speed in the print process compared to the case where the analysis process and the RIP process are performed alternately.

[0062] The second core 21 is a processor core that executes only the RIP process. As a result, the RIP process, which has a high processing load, is executed by the second core 21, which is a dedicated processor core, and therefore adverse effects on other processes executed by the first core 20 can be suppressed.

[0063] When the second core 21 is not executing RIP processing, the first controller 11 switches the second core from an operating mode to a sleep mode, the operating mode being a mode in which the RIP processing can be executed, and the sleep mode being a mode that consumes less power than the operating mode. As a result, during a period in which the second core 21 is not executing RIP processing, the second core 21 switches from the operating mode to the sleep mode, thereby reducing the power consumption of the first controller 11.

[0064] (Modification of the first embodiment) In the first embodiment, when the first controller 11 cannot identify the emulation type, the second core 21 executes auto-emulation to identify the emulation type (FIG. 4: S40). Alternatively, when the first controller 11 cannot identify the emulation type, the second core 21 may be notified of RIP parameters corresponding to a specific emulation type. In this case, when notifying the RIP parameters in S36 of FIG. 3, if the emulation type is not identified, for example, the RIP parameters corresponding to "Post Script" are notified to the second core 21. Similarly, if the emulation type is not identified, "Post Script" is notified as the emulation type in S38. In this case, the processes of S31, S39, and S40 of FIG. 4 and the processes of S58 to S61 of FIG. 5 may be deleted, and if a negative determination is made in S56, the process may proceed to S62.

[0065] In the embodiment described above, when the first core 20 does not specify the emulation type based on the job control command, it notifies the second core 21 of the RIP parameters corresponding to a predetermined emulation type. This allows the second core 21 to continue the RIP process even when the emulation type cannot be specified by the job control command.

[0066] Second embodiment In the second embodiment, the configuration different from the first embodiment will be mainly described. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof will not be repeated.

[0067] In this embodiment, when the printing device 10 continuously receives a plurality of print jobs JD from the terminal 30, the first core 20 analyzes the PJL commands for the next received print job while the second core 21 is performing RIP processing. Fig. 7 is a flowchart showing the procedure of the process executed by the analysis unit 22 of the first core 20 in S11 in this embodiment.

[0068] In S31, if the type of the job control command is PJL, the process proceeds to S80, where it is determined whether or not the read-ahead process has been executed. The read-ahead process will be described later. Here, it is assumed that the read-ahead process has not been executed, and the process proceeds to S32. In S32, if it is determined that the command at the end of the print job JD has not been detected, the process proceeds to S33. In S81, the first pointer of the read pointer is updated. In this embodiment, two pointers, the first pointer and the second pointer, are used together as the read pointer. The first pointer is a pointer that designates a command to be analyzed by the analysis unit 22. The second pointer is a pointer that designates the beginning of the command analyzed by the read-ahead process. The processes from S35 to S42 are the same as those in the first embodiment. In S83, the read-ahead process is executed. The read-ahead process is a process of analyzing a PJL command for the print job JD received next to the print job JD currently being RIP-processed. By executing the read-ahead process, the second core 21 executes the RIP process and the first core 20 analyzes the PLJ command for the next print job JD received in parallel.

[0069] FIG. 8 is a flowchart showing the procedure of the read-ahead process of S83. In S90, it is determined whether or not a new print job has been received apart from the print job JD that is the target of the current print process. If a negative determination is made in S90, the read-ahead process of S83 is terminated and the process proceeds to S43. On the other hand, if a positive determination is made in S90, a PJL command is analyzed for the newly received print job JD in S91. Hereinafter, the newly received print job is also referred to as the next print job JD. When S91 is executed for the first time, first, the PJL command at the beginning of the header area H in the next print job JD is analyzed. In S92, the value of the second pointer is updated to a value indicating the next command on the header area H.

[0070] In S93, it is determined whether the end of the header area H (i.e., @PJL ENTER LANGUAGE = PCLXL) has been detected in the next print job JD. If a negative decision is made in S93, the process returns to S91, and the PJL command pointed to by the second pointer is analyzed. If the end of the header area H has been detected after repeating the processes of S91 and S92, a positive decision is made in S93, and the process proceeds to S94. In S94, the RIP parameters and emulation type are updated to the print parameters and emulation type in the next print job JD according to the analysis result of S91. Then, the process proceeds to S43 in FIG. 8.

[0071] In S43, it is determined whether or not a read pointer has been returned from the second core 21 following the end of the RIP process. If a negative determination is made in S43, the process waits. On the other hand, if the second core 21 has returned a read pointer, the process proceeds to S84, where the value of the first pointer is updated to the value of the read pointer returned from the second core 21. Then, the process returns to S32. If S32 has not detected the end of the data of the print job JD, i.e., the command "EC%-12345X", then after executing the processes of S33 and S34, a negative determination is made in S35, and the process returns to S32. If a positive determination is made in S32, the process of FIG. 7 ends.

[0072] Next, a procedure will be described for the case where processing in S11 is performed for a newly received print job JD after the read-ahead processing in S83 has already been performed. If a positive judgment is made in S31, the process proceeds to S80, where it is determined whether or not the read-ahead processing has already been performed. If the read-ahead processing has already been performed, a positive judgment is made in S80, and the process proceeds to S85, where the value of the second pointer is notified to the second core 21. As described above, the value of the second pointer indicates the command at the top of the body area B in the print job JD that is the target of the current print processing in the previous read-ahead processing.

[0073] When the process of S85 is completed, the process proceeds to S37, where the RIP parameters are notified. In S38, the emulation type is notified. The parameters notified in S37 and S38 are the parameters updated in S94 in the look-ahead process in the previous process. In S41, the second core 21 is notified of the start of RIP processing. As a result, if the analysis of the PJL command has been completed by the look-ahead process of S83 in the previous print process, the second core 21 is caused to start RIP processing in the current print process without analyzing the header area H for the print job JD that is the target of the print process.

[0074] After S42 is executed, in S83, a read-ahead process is executed for the next print job JD. Then, after S43 and S84, if a command at the end of the print job JD is detected in S32, the process in FIG. 7 is terminated.

[0075] In the embodiment described above, when the first core 20 of the first controller 11 acquires a plurality of print jobs JD from the terminal 30, the first core 20 sequentially analyzes each of the plurality of print jobs JD and stores the analysis results in the memory 14. In the parameter notification process, the first core 20 notifies the second core 21 of each of the parameters in the plurality of print jobs JD. This makes it possible to improve the processing speed of the print process when acquiring a plurality of print jobs JD from the terminal 30, compared to the case where the analysis process and the RIP process are performed alternately.

[0076] (Other embodiments) The technology disclosed in this specification is not limited to the above-described embodiment, and can be modified in various forms without departing from the spirit of the present invention, for example, the following modifications are also possible: The first controller 11 only needs to have a processor core that executes analysis processing and a processor core that executes RIP processing separately, and may have three or more processor cores.

[0077] The memory in which the print job JD is stored may be a memory provided inside the printing device 10, or an external memory that is detachably connectable to the printing device 10. For example, a USB or flash memory may be used as the external memory. In this case, the first core 20 and the second core 21 may refer to the print job JD stored in the external memory.

[0078] The print job JD that the first core 20 refers to in order to analyze the PJL command and the print job JD that the second core 21 refers to in order to analyze the PDL command may be stored in separate memories. In this case, the first controller 11 may be provided with separate memories, the memory that the first core 20 refers to and the memory that the second core 21 refers to.

[0079] Transitioning the second core 21 to a sleep mode during a period when the second core 21 is not performing RIP processing is one example, and the second core 21 may maintain an operating mode without transitioning to a sleep mode even during a period when the second core 21 is not performing RIP processing.

[0080] Printing device 10 may include first controller 11 having first core 20 and second core 21, or may include one controller having the functions of first to third controllers 11-13.

[0081] The printing device may be a multifunction device. In this case, the multifunction device includes a scanner unit and a FAX unit. The scanner unit executes a scan operation to read an image recorded on an original and create image data. The FAX unit executes a FAX operation to send and receive image data in a manner compliant with the FAX protocol. [Explanation of symbols]

[0082] 10: Printing device, 11: First controller, 14: Memory, 20: First core, 21: Second core, JD: Print job, 17: Print engine

Claims

1. A print engine; a controller that creates raster data from a print job and causes the print engine to execute a print process based on the created raster data, the print job being data including a job control command that is a command for controlling the print job and a PDL command that is a command for creating the raster data; The controller: a first core which is a processor core that performs an analysis process for analyzing the job control command included in the print job in the printing process; a second core which is a processor core for performing RIP processing to create the raster data from the PDL command; When the first core acquires the print job, the first core analyzes the job control command included in the print job as the analysis process; Then, when the PDL command included in the print job is detected in the analysis process, a start notification process is performed to notify the second core of the start of the RIP process for the detected PDL command; the second core starts the RIP process when the second core receives the notification from the start notification process; the first core performs a parameter notification process to notify a parameter according to an analysis result of the print job by the analysis process before performing the start notification process, the parameter being a parameter to be used when the second core executes the RIP process; The second core is a printing device that creates the raster data from the PDL command in accordance with the parameters in the RIP process.

2. The parameters include RIP parameters, The first core, in the analysis process, identifies a type of the print job based on the job control command; the parameter notification process executed by the first core includes notifying the second core of the RIP parameters corresponding to the identified type of the print job; 2. The printing apparatus according to claim 1, wherein the second core creates the raster data from the PDL command in accordance with the RIP parameters in the RIP process.

3. When the first core does not identify the type of the print job based on the job control command in the analysis process, the first core causes the second core to identify the type of the print job based on the PDL command; The printing apparatus according to claim 2 , wherein the parameter notification process executed by the first core includes notifying the second core of the RIP parameters corresponding to the type of the print job specified by the second core.

4. A printing device as described in claim 2, wherein when the analysis process does not identify the type of the print job based on the job control command, the first core notifies the second core of the RIP parameters corresponding to a specified type of the print job in the parameter notification process.

5. the controller stores the print job in a memory accessible to the first core and the second core; the parameter notification process executed by the first core includes notifying the second core of a location in the memory of the detected PDL command; A printing device according to any one of claims 1 to 4, wherein the second core creates the raster data in the RIP processing by referring to the PDL command stored in the location on the memory notified by the parameter notification processing.

6. When the print job corresponds to a page image for a plurality of pages, the first core The analysis process sequentially analyzes a plurality of pages of the print job; 6. The printing apparatus according to claim 1, wherein, in the parameter notification process, the parameters for a plurality of pages are each notified to the second core.

7. When the first core has acquired a plurality of the print jobs, In the analysis process, an analysis is sequentially performed for each of the plurality of print jobs; 6. The printing apparatus according to claim 1, wherein in the parameter notification process, each of the parameters in the plurality of print jobs is notified to the second core.

8. The controller includes a first controller and a second controller, the first controller has the first core and the second core; 8. The printing apparatus according to claim 1, wherein the second controller executes a process other than the analysis process and the RIP process.

9. 9. The printing device according to claim 1, wherein the second core is a processor core that executes only the RIP process.

10. A printing device as described in any one of claims 1 to 9, wherein the controller transitions the second core from an operating mode to a sleep mode when the RIP processing is not performed by the second core, the operating mode being a mode in which the RIP processing can be performed, and the sleep mode being a mode that consumes less power than the operating mode.

Citation Information

Patent Citations

  • Image processing apparatus, image processing method, and program

    JP2012245734A

  • Image formation device and image formation program

    JP2015123712A