CN110936739B - Insert printing control method, device, equipment and storage medium - Google Patents

Insert printing control method, device, equipment and storage medium Download PDF

Info

Publication number
CN110936739B
CN110936739B CN201911018906.5A CN201911018906A CN110936739B CN 110936739 B CN110936739 B CN 110936739B CN 201911018906 A CN201911018906 A CN 201911018906A CN 110936739 B CN110936739 B CN 110936739B
Authority
CN
China
Prior art keywords
printing
data
task
normal
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911018906.5A
Other languages
Chinese (zh)
Other versions
CN110936739A (en
Inventor
曾利群
梅�明
黄中琨
陈艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Senda Shenzhen Technology Co Ltd
Original Assignee
Senda Shenzhen Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Senda Shenzhen Technology Co Ltd filed Critical Senda Shenzhen Technology Co Ltd
Priority to CN201911018906.5A priority Critical patent/CN110936739B/en
Publication of CN110936739A publication Critical patent/CN110936739A/en
Application granted granted Critical
Publication of CN110936739B publication Critical patent/CN110936739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet

Abstract

The invention discloses an insert printing control method, device, equipment and storage medium, and relates to the technical field of multi-pass inkjet printing. The insertion printing control method of the present invention includes: determining the length of the printing data; successively reading and transmitting print data; receiving an insert printing instruction; and inserting the printing task for printing. The insertion printing control device of the present invention includes: a print data length determination module; a normal print job printing module; a receiving module; and inserting a printing task printing module. An insertion print control method apparatus of the present invention includes a processor, a memory, and computer program instructions stored in the memory. The storage medium of the present invention has computer program instructions stored thereon. The invention discloses an insert printing control method, device, equipment and storage medium, which are used for solving the technical problem that the printing control method in the prior art cannot perform insert printing without interrupting the current printing task and the current scanning action of a printer.

Description

Insert printing control method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of multi-pass inkjet printing, in particular to an insert printing control method, device, equipment and storage medium.
Background
At present, the ink-jet printing mainly comprises two printing modes, namely multi-pass printing and Oneepass printing. The multi-pass printing refers to finishing a printing task through multiple times of scanning and printing, and the Oneepass printing refers to finishing the printing task through one time of scanning. The multi-pass printing is characterized in that the length direction of a nozzle of a spray head is parallel to the moving direction Y of a printing medium, the spray head moves back and forth in the X direction, the movement of the printing medium is stepping movement, the spray head completes one-time scanning printing in the process of moving for one stroke in the X direction, namely, the printing of one pass is completed, the printing medium steps for the distance of one pass in the intermittent period of reversing and accelerating of the spray head, the next-time scanning printing is completed after the spray head reverses, namely, the printing of the next pass is completed, and all the printing operations are repeatedly completed. In multi-pass printing, the upper computer reads printing data from the memory and sends the printing data to the car spraying control board, and the car spraying control board carries out scanning printing in sequence according to the sequence of the received data.
In the process of a normal printing task, a printer often needs to print some inserted printing tasks with higher priority first. In the prior art, multi-pass printing can be performed on other tasks only after the current normal printing task is finished, or the current printing task is interrupted or the scanning action of the printer is interrupted. Users often desire to complete some other print job or print test without interrupting the current print job and without interrupting the printer scan action.
Disclosure of Invention
The invention provides an insert printing control method, device, equipment and storage medium, which are used for solving the technical problem that the printing control method in the prior art cannot perform insert printing without interrupting the current printing task and the current scanning action of a printer.
In a first aspect, the present invention provides an insertion print control method, the method comprising:
determining the length of the print data of the normal print task read and sent each time according to the length of the print data of the normal print task scanned and printed at one time, wherein the length of the print data of the normal print task read and sent each time is an integral multiple of the length of the print data of the normal print task scanned and printed at one time;
according to the length of the print data read and sent each time, successively reading and sending the print data of the normal print task to the vehicle spraying control board for printing;
receiving an insert printing instruction;
and inserting the insert printing task into the two scanning printings of the normal printing task according to the insert printing instruction to print.
Preferably, the inserting the insert print job into the print job for printing between two times of scanning printing according to the insert print instruction further includes:
acquiring an original inserting position of an inserting printing task according to an inserting printing instruction;
determining an actual insertion position according to the current scanning times and the original insertion position;
determining the reading sequence of the residual printing data according to the actual inserting position, wherein the residual printing data comprises the printing data which is not read by the normal printing task and the printing data inserted into the printing task;
and sequentially reading the residual printing data according to the reading sequence of the residual printing data and sending the residual printing data to the vehicle spraying control board for printing.
Preferably, the determining the actual insertion position according to the current scanning number and the original insertion position includes:
acquiring the current scanning times;
judging whether the current scanning position is behind the insertion position according to the original insertion position and the current scanning times;
if so, taking the position of the next scanning of the current scanning position as an actual insertion position;
if not, the original insertion position is taken as the actual insertion position.
Preferably, the determining the reading order of the remaining print data according to the actual insertion position further includes:
acquiring the length of printing data of a normal printing task which is sent to a vehicle spraying control board;
judging whether the data printed after the actual insertion position is sent to the car spraying control plate or not according to the length of the printing data of the normal printing task sent to the car spraying control plate and the actual insertion position;
if yes, performing data withdrawal processing to determine the reading sequence of the rest printing data;
if not, no data pullback process is performed to determine the remaining print data reading order.
Preferably, the leaving print data not subjected to the pull-back processing to determine the remaining print data reading order includes:
determining the scanning times a of the previous normal printing task and the scanning times b of the next normal printing task at the insertion position according to the scanning sequence of the normal printing tasks and the insertion position of the inserted printing task;
and determining the reading sequence of the residual printing data according to the scanning and printing times of the previous normal printing task and the scanning and printing times of the next normal printing task, so that the reading sequence of the printing data inserted into the printing task is positioned between the reading of the printing data printed by the previous scanning and the reading of the printing data printed by the next scanning.
Preferably, the sequentially reading and sending the remaining print data to the inkjet control board for printing according to the reading sequence of the remaining print data further includes:
firstly, sequentially reading and sending the a-th scanning printing of the normal printing task and the previous printing data which is not read to a vehicle spraying control board according to the scanning sequence of the normal printing task;
sequentially reading and sending the printing data of the inserted printing tasks to the vehicle spraying control board according to the scanning sequence of the inserted printing tasks;
and finally, sequentially reading and sending the b-th scanning printing and the subsequent printing data of the normal printing task to the vehicle spraying control board according to the scanning sequence of the normal printing task.
Preferably, the determining the length of the print data of the normal print job read and sent each time according to the length of the print data printed by one scanning of the normal print job further includes;
determining the printing time of one-time scanning printing of the normal printing task according to the length of the printing data of one-time scanning printing of the normal printing task;
acquiring response time of inserting a printing task;
and determining the length of the print data of the normal print job which is read and transmitted each time according to the print time of one-time scanning printing of the normal print job and the response time of inserting the print job.
In a second aspect, the present invention provides an insertion print control apparatus, the apparatus comprising:
the printing data length determining module is used for determining the printing data length of the normal printing task read and sent each time according to the printing data length of the normal printing task printed by scanning once, and the printing data length of the normal printing task read and sent each time is integral multiple of the printing data length of the normal printing task printed by scanning once;
the normal printing task printing module is used for successively reading and sending the printing data of the normal printing task to the vehicle spraying control board for printing according to the length of the printing data read and sent each time;
a receiving module for receiving an insert print instruction;
and the inserting printing task printing module is used for inserting the inserting printing task into the space between two scanning printings of the normal printing task to print according to the inserting printing instruction.
In a third aspect, an embodiment of the present invention provides an insertion print control apparatus including: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of plunge print control of the first aspect.
In a fourth aspect, embodiments of the present invention provide a storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of the first aspect.
In summary, the insertion print control method, apparatus, device and storage medium provided by the present invention are inserted into the print data of the normal print job each time, and read according to the integral multiple of the length of the print data printed by one scan of the normal print job, and after receiving the insertion print instruction, a new insertion print job requiring preferential printing can be directly inserted between the scan and print of any two normal print jobs without waiting for the end of the current print job. When the printer prints the inserted print job, the next scanning operation can be performed without interrupting the original scanning operation under the condition of continuing the scanning and printing operation of the previous normal print job. After the scanning action of the inserted printing task is finished, the next scanning action can be continued, the rest normal printing tasks are printed according to the original printing sequence of the normal printing tasks, and the original printing sequence of the normal printing tasks is not influenced. The scanning action of the whole printing process after the printing task is inserted is not interrupted due to the insertion of the printing task, the printing task can be printed according to the previous rhythm, the printing trolley does not need to change the position relative to the printing medium in a large range, the seamless connection between the normal printing task and the inserted printing task is realized, and the fluency before the printing task is not inserted is kept after the printing task is inserted.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an insertion print control method of embodiment 1 of the present invention.
Fig. 2 is a flowchart of a method of printing between two scanning prints in embodiment 1 of the present invention.
Fig. 3 is a schematic view of the scanning position of a normal print job in embodiment 1 of the present invention.
Fig. 4 is a schematic view of a scanning position after a print job is inserted in embodiment 1 of the present invention.
Fig. 5 is a flowchart of a method of reading and transmitting remaining print data in embodiment 1 of the present invention.
Fig. 6 is a flowchart of a method of determining the length of print data of each reading of a normal print job according to embodiment 2 of the present invention.
Fig. 7 is a schematic configuration diagram of an insertion print control apparatus according to embodiment 3 of the present invention.
Fig. 8 is a schematic configuration diagram of an insertion print control apparatus of embodiment 4 of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Example 1
Referring to fig. 1, an embodiment of the present invention provides an insertion print control method, which reads print data of a normal print job according to an integral multiple of a length of the print data printed by one scan of the normal print job each time the print data of the normal print job is read, and can directly insert a new insertion print job requiring preferential printing between scan printing of any two normal print jobs after receiving an insertion print instruction without waiting for the end of a current print job. When the printer prints the inserted print job, the next scanning operation can be performed without interrupting the original scanning operation under the condition of continuing the scanning and printing operation of the previous normal print job. After the scanning action of the inserted printing tasks is finished, the next scanning action can be continued, and the rest normal printing tasks are printed according to the printing sequence of the original normal printing tasks. The scanning action of the whole printing process after the printing task is inserted is not interrupted due to the insertion of the printing task, the printing task can be printed according to the previous rhythm, the printing trolley does not need to change the position relative to the printing medium in a large range, the seamless connection between the normal printing task and the inserted printing task is realized, and the fluency before the printing task is not inserted is kept after the printing task is inserted.
As shown in fig. 1, the method specifically includes the following steps:
s1, determining the length of the print data of the normal print task read and sent each time according to the length of the print data of the normal print task printed by one scanning, wherein the length of the print data of the normal print task read and sent each time is integral multiple of the length of the print data of the normal print task printed by one scanning;
after the printer establishes a print job, the data length of each scanning and printing, namely the data length of each pass, is already determined when the printer executes the print job, and the data length of each scanning and printing for the same print job is a fixed value.
S2, according to the length of the print data read and sent each time, successively reading and sending the print data of the normal print task to the vehicle-spraying control board for printing;
when reading and sending data, the printer reads the printing data from the corresponding cache space according to the scanning and printing sequence and sends the printing data to the car spraying control board of the printer, and the car spraying control board controls the printer to print according to the data receiving sequence. During printing, the printer reads the print data in batches. When a normal print job is printed, the length of the print data read each time is an integral multiple of the print data of each pass of the print job, for example, when the printer reads the print data with the length of 2D for the first time, D is1=2D, reading the printing data with the length of 3D when reading the printing data for the second time, and then D1When the print data is read for the third time, the print data of 2D length is read, D32 d. Wherein the length of the data read each time can be the same or different.
S3, receiving an inserting printing instruction;
when a normal printing task is executed, if a user needs to insert a printing task, an inserting printing instruction can be sent to the printer through the interaction device, and the printer establishes a corresponding inserting printing task according to the inserting printing instruction.
And S4, inserting the insert printing task into the two scanning printings of the normal printing task according to the insert printing instruction to print.
As shown in fig. 2, the specific insertion printing step includes:
s41, acquiring an original insertion position of the insertion printing task according to the insertion printing instruction;
after receiving the inserting printing instruction, the printer acquires the task parameters of the inserting printing task corresponding to the printing instruction according to the printing instruction, wherein the parameters comprise the length of printing data, the storage position of the printing data, the priority of the printing task, the execution time of the inserting printing task, the position of the inserting printing task appointed by the user to be inserted into the normal printing task, and the like. Then, acquiring the insertion position of the inserted printing task according to the inserted printing task parameter;
s42, determining an actual insertion position according to the current scanning times and the original insertion position;
wherein the original insertion position refers to a position where the user wishes to insert the inserted print job into the normal print job. Since the present embodiment is for realizing the execution of the insertion print job between the adjacent two scanning prints, the position of insertion can be determined by the number of scanning times of the normal print job. For example, a normal print job requires 15 scans to print and complete the print job, which are respectively the 1 st scan print, the 2 nd scan print, the 3 rd scan print … …, the 14 th scan print and the 15 th scan print according to the scanning order. An insertion print job is required to be inserted into the normal print job for printing, and the insertion position is between the 3 rd scan print and the 4 th scan print.
The specific steps of determining the actual insertion position according to the current scanning times and the original insertion position are as follows:
s421, obtaining the current scanning times,
s422, judging whether the current scanning position is behind the insertion position according to the original insertion position and the current scanning times;
s423, if so, taking the position of the next scanning of the current scanning position as an actual insertion position;
and S424, if not, taking the original insertion position as the actual insertion position.
Since the printing apparatus may have completed scanning of the user-designated insertion position when the normal print job has been partially performed by receiving the insert print command, the print job cannot be inserted in accordance with the user-designated position, and for quick response to the insert print job, the print job may be inserted at a position closest to the current scanning position,
s43, determining the reading sequence of the residual printing data according to the actual inserting position, wherein the residual printing data comprises the printing data which are not read by the normal printing task and the printing data which are inserted into the printing task;
since the printer has already performed a part of the normal print job at the time of inserting the print job, the part of the print data has already been read and sent to the ejection vehicle control board. Thus, the unprinted data includes data that has not been read in the normal print job and data inserted into the print job. When the insertion position of the inserted print job is determined, the scanning order of the remaining print jobs composed of the unprinted portion of the normal print job and the inserted print job is also determined. Therefore, the reading sequence of the rest printing data can be determined according to the inserting positions, so that the ejection vehicle control board performs scanning printing according to the reading sequence.
Wherein the reading order of the remaining print data is determined based on the actual insertion position, including
Acquiring the length of printing data of a normal printing task which is sent to a vehicle spraying control board;
judging whether the data printed after the actual insertion position is sent to the car spraying control plate or not according to the length of the printing data of the normal printing task sent to the car spraying control plate and the actual insertion position;
if yes, performing data withdrawal processing to determine the reading sequence of the rest printing data;
if not, the data withdrawal processing is not carried out to determine the reading sequence of the rest printing data;
because the data length of the normal print job sent each time is an integral multiple of the length of the print data of one scanning, when an inserting print command is received, data which should be printed after an actual inserting position may already be sent to the carriage ejection control board, at this time, in order to ensure that the inserting print job can be printed at the actual inserting position, data withdrawing processing should be performed to determine the reading sequence of the residual print data, the specific steps are as follows:
acquiring a printing data storage address which is stored on the car spraying control plate and is printed after the actual insertion position according to the length of the printing data of the normal printing task which is sent to the car spraying control plate and the actual insertion position;
deleting the printing data which is stored on the vehicle spraying control board and is printed after the actual inserting position according to the printing data storage address printed after the actual inserting position;
determining the scanning times c of the next normal printing task at the insertion position according to the scanning sequence of the normal printing task and the insertion position of the inserted printing task, wherein c is an integer;
the reading order of the remaining print data is determined so that the reading order of the print data inserted into the print job precedes the reading of the print data printed by the next scan.
Correspondingly, the steps of sequentially reading and sending the residual printing data to the vehicle spraying control board for printing according to the reading sequence of the residual printing data are as follows:
the printing data inserted into the printing task is read and sent to the vehicle spraying control board for printing, and then the printing data after the c-th scanning (including the c-th scanning) of the normal printing task is read and sent to the vehicle spraying control board for printing.
If the data printed after the actual inserting position is not sent to the vehicle spraying control plate, data withdrawing processing is not carried out so as to determine the reading sequence of the residual printing data; the step of specifically determining the reading order of the remaining print data includes:
s431, determining the scanning times a of the previous normal printing task and the scanning times b of the next normal printing task at the insertion position according to the scanning sequence of the normal printing tasks and the insertion position of the inserted printing task;
referring to fig. 3 and 4, for example, a normal print job requires 10 scans to print and complete the print job, which includes the 1 st scan, the 2 nd scan, the 3 rd scan … …, the 14 th scan and the 15 th scan according to the scanning order. An insertion print job is required to be inserted into the normal print job for printing, and the insertion position is between the 5 th scan print and the 6 th scan print. The number of scans a of the previous normal print job at the insertion position is 5 and the number of scans b of the subsequent normal print job is 6. Fig. 3 shows the scanning position of a normal print job, each line of white rectangular boxes in fig. 3 shows one scanning print of the normal print job, the number to the right of each line of white rectangular boxes in fig. 3 shows the number of scans represented by the line, the x-direction in fig. 3 shows the printer scanning direction, the y-direction shows the stepping direction, and the arrow between the number 5 and the number 6 shows the position where an inserted print job is inserted into the normal print job. Fig. 4 is a view showing a scanning position after an insertion print job is inserted into a normal print job, each line of white rectangular boxes in fig. 4 represents one scanning print of the normal print job, each line of shaded rectangular boxes represents one scanning print of the insertion print job, the x direction represents the printer scanning direction, the y direction represents the stepping direction, the number on the right of each line of rectangular boxes in fig. 4 represents the number of scanning times represented by the line after a new print job is inserted, and the data on the left represents the number of scanning times of the original normal print job.
S432, determining the reading sequence of the residual printing data according to the scanning times of the previous normal printing task and the scanning times of the next normal printing task, so that the reading sequence of the printing data inserted into the printing task is positioned between the reading of the printing data printed by the previous scanning and the reading of the printing data printed by the next scanning.
After the data reading sequence is determined, the next data reading operation can be performed, and the specific operation is as follows:
and S44, sequentially reading the residual printing data according to the reading sequence of the residual printing data and sending the residual printing data to the vehicle spraying control board for printing.
As shown in fig. 5, the data reading process is performed according to the following specific sequence of steps:
s441, sequentially reading and sending the a-th scanning printing of the normal printing task and the previous printing data which are not read to the vehicle spraying control board according to the scanning sequence of the normal printing task;
the print data read in this step includes data of the a-th scan printing and print data of all normal print jobs which have not been read yet and which are scan printed before the a-th scan printing.
S442, sequentially reading the printing data of the inserted printing tasks according to the scanning sequence of the inserted printing tasks and sending the printing data of the inserted printing tasks to the vehicle spraying control board;
and S443, finally, sequentially reading and sending the b-th scanning printing of the normal printing task and the printing data after the b-th scanning printing of the normal printing task to the vehicle spraying control board according to the scanning sequence of the normal printing task.
The print data read in this step includes data for the b-th scan printing and data for all normal print jobs that print after the b-th scan printing.
And reading the rest printing data according to the sequence and sending the rest printing data to the car spraying control board, and printing the received printing data by the car spraying control board according to the sequence of the received data.
As a preferable example, the length of the print data of the inserted print job read and transmitted each time is an integral multiple of the data length of the one-time scan printing of the inserted print job, so that the normal print job can be performed following the previous scan printing operation of the inserted print job after the end of the inserted print job.
As a preferable example, when reading the remaining print data, the storage area for each reading of the remaining print data may be first determined according to the reading order of the remaining print data, the storage area for the remaining print data including a first storage area for storing only the normal print job data and a second storage area for storing only the insertion print job data;
and sequentially reading the residual printing data from the corresponding storage areas according to the reading sequence of the residual printing data and the storage area for reading the residual printing data each time, and sending the residual printing data to the vehicle spraying control board for printing.
The present example opens up two data buffer areas for buffering print data of a normal print job and print data of an insert print job. The data is read from the memory area storing the normal print job data when the normal job is printed, and the data is read from the memory area storing the insert print job data when the insert print job is printed. Therefore, the storage and reading of the normal printing task and the inserted printing task data can not be influenced mutually, and the convenience of data access is improved.
Example 2
Referring to fig. 6, the method for controlling print insertion of this embodiment is a further improvement on embodiment 1, wherein the length D of the print data of the normal print job read and sent each time is determined according to the length D of the print data printed by one scan of the normal print jobkAnd also includes; mainly comprises the following steps:
s11, determining the printing time of one-time scanning printing of the normal printing task according to the length of the printing data of one-time scanning printing of the normal printing task;
s12, acquiring the response time of the inserted printing task;
s13, determining the length D of the print data of the normal print task read and transmitted each time according to the print time of one-time scanning printing of the normal print task and the response time of the insertion print taskk
Due to the sub-scanningThe printing time of printing is positively correlated with the data length of one-time scanning printing, and the printing time of one-time scanning printing of the normal printing task can be obtained according to the data length of one-time scanning printing of the normal printing task. In the insertion printing method of the embodiment, the scanning printing is performed between two adjacent scanning printings of the normal print job, so the insertion print job needs to be performed after all the data transmitted last time is printed, and therefore, the shorter the length of the data transmitted last time is, the shorter the waiting time is, and the shorter the response time of the printer to the insertion print job is. The present embodiment can therefore transmit the print data length D of the normal print job by reading it every timekTo adjust the response time of the inserted print job, and to reduce the length D of the print data of the normal print job read and transmitted each time when the response time required by the user is shortkTo improve response time to reduce user latency. When the response time required by the user is long, the length D of the print data of the normal print job read and transmitted each time can be appropriately increasedkTo reduce the number of times print data is read to solve system resources.
Example 3
Referring to fig. 7, an embodiment of the present invention provides an insertion print control apparatus, including:
a print data length determining module, which is used for determining the print data length D of the normal print task read and sent each time according to the print data length D of the normal print task scanned and printed at one timek,Wherein D iskN is a positive integer, that is, the length of the print data of the normal print job read and sent each time is an integral multiple of the length of the print data of the normal print job scanned and printed at one time;
the normal printing task printing module is used for successively reading and sending the printing data of the normal printing task to the vehicle spraying control board for printing according to the length of the printing data read and sent each time;
a receiving module for receiving an insert print instruction;
the inserting printing task printing module is used for inserting the inserting printing task into the space between two times of scanning printing of a normal printing task to print according to an inserting printing instruction;
example 4
In addition, the insertion print control method described in the foregoing embodiment of the present invention described in conjunction with fig. 8 may be implemented by an insertion print control apparatus. Fig. 8 is a schematic diagram showing a hardware configuration of an ink amount detection apparatus for a printer according to an embodiment of the present invention.
The plug-in print control device may include a processor 401 and a memory 402 storing computer program instructions.
Specifically, the processor 401 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. The memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid-state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The processor 401 implements any of the above-described embodiments of the insertion print control method by reading and executing computer program instructions stored in the memory 402.
In one example, the plug-in print control device can also include a communication interface 403 and a bus 410. As shown in fig. 8, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 to complete communication therebetween.
The communication interface 403 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.
The bus 410 includes hardware, software, or both to couple components inserted into the print control apparatus to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 410 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
Example 5
In addition, in combination with the insertion print control method in the above embodiments, embodiments of the present invention may be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the above-described embodiments of the method of plug-in printing control. Please refer to the description of the previous embodiments, which will not be described herein.
The above is a detailed description of the method, apparatus, device and storage medium for insert printing control according to the embodiments of the present invention.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (9)

1. An insertion print control method, characterized by comprising:
determining the length of the print data of the normal print task read and sent each time according to the length of the print data of the normal print task scanned and printed at one time, wherein the length of the print data of the normal print task read and sent each time is an integral multiple of the length of the print data of the normal print task scanned and printed at one time;
according to the length of the print data read and sent each time, successively reading and sending the print data of the normal print task to the vehicle spraying control board for printing;
receiving an insert printing instruction;
inserting the inserting printing task into the space between two times of scanning printing of the normal printing task for printing according to the inserting printing instruction;
the printing process of inserting the insertion printing task into the two times of scanning printing of the normal printing task according to the insertion printing instruction comprises the following steps:
acquiring an original inserting position of an inserting printing task according to an inserting printing instruction;
determining an actual insertion position according to the current scanning times and the original insertion position;
determining the reading sequence of the residual printing data according to the actual inserting position, wherein the residual printing data comprises the printing data which is not read by the normal printing task and the printing data inserted into the printing task;
and sequentially reading the residual printing data according to the reading sequence of the residual printing data and sending the residual printing data to the vehicle spraying control board for printing.
2. The insert printing control method according to claim 1, wherein the determining of the actual insert position from the current scanning number and the original insert position includes:
acquiring the current scanning times;
judging whether the current scanning position is behind the insertion position according to the original insertion position and the current scanning times;
if so, taking the position of the next scanning of the current scanning position as an actual insertion position;
if not, the original insertion position is taken as the actual insertion position.
3. The insertion print control method according to claim 2, wherein said determining the reading order of the remaining print data according to the actual insertion position includes:
acquiring the length of printing data of a normal printing task which is sent to a vehicle spraying control board;
judging whether the data printed after the actual insertion position is sent to the car spraying control plate or not according to the length of the printing data of the normal printing task sent to the car spraying control plate and the actual insertion position;
if yes, performing data withdrawal processing to determine the reading sequence of the rest printing data;
if not, no data pullback process is performed to determine the remaining print data reading order.
4. The interleave print control method according to claim 3, wherein said not performing data pullback processing to determine a remaining print data reading order comprises:
determining the scanning times a of the previous normal printing task and the scanning times b of the next normal printing task at the insertion position according to the scanning sequence of the normal printing tasks and the insertion position of the inserted printing task, wherein the a and the b are integers;
and determining the reading sequence of the residual printing data according to the scanning times a of the previous normal printing task and the scanning times b of the next normal printing task, so that the reading sequence of the printing data inserted into the printing task is positioned between the reading of the printing data printed by the previous scanning and the reading of the printing data printed by the next scanning.
5. The insert printing control method according to claim 4, characterized in that: the sequentially reading and sending the residual printing data to the vehicle spraying control board for printing according to the reading sequence of the residual printing data comprises the following steps:
firstly, sequentially reading and sending the a-th scanning printing of the normal printing task and the previous printing data which is not read to a vehicle spraying control board according to the scanning sequence of the normal printing task;
sequentially reading and sending the printing data of the inserted printing tasks to the vehicle spraying control board according to the scanning sequence of the inserted printing tasks;
and finally, sequentially reading and sending the b-th scanning printing and the subsequent printing data of the normal printing task to the vehicle spraying control board according to the scanning sequence of the normal printing task.
6. The interprinting control method according to any one of claims 1 to 5, wherein the determining of the print data length of the normal print job read and transmitted each time according to the print data length printed by one scan of the normal print job, the print data length of the normal print job read and transmitted each time being an integral multiple of the print data length printed by one scan of the normal print job comprises:
determining the printing time of one-time scanning printing of the normal printing task according to the length of the printing data of one-time scanning printing of the normal printing task;
acquiring response time of inserting a printing task;
and determining the length of the print data of the normal print job which is read and transmitted each time according to the print time of one-time scanning printing of the normal print job and the response time of inserting the print job.
7. An insertion printing control apparatus, characterized in that the apparatus comprises:
the printing data length determining module is used for determining the printing data length of the normal printing task read and sent each time according to the printing data length of the normal printing task printed by scanning once, and the printing data length of the normal printing task read and sent each time is integral multiple of the printing data length of the normal printing task printed by scanning once;
the normal printing task printing module is used for successively reading and sending the printing data of the normal printing task to the vehicle spraying control board for printing according to the length of the printing data read and sent each time;
a receiving module for receiving an insert print instruction;
the inserting printing task printing module is used for inserting the inserting printing task into the space between two times of scanning printing of a normal printing task to print according to an inserting printing instruction;
the printing process of inserting the insertion printing task into the two times of scanning printing of the normal printing task according to the insertion printing instruction comprises the following steps:
acquiring an original inserting position of an inserting printing task according to an inserting printing instruction;
determining an actual insertion position according to the current scanning times and the original insertion position;
determining the reading sequence of the residual printing data according to the actual inserting position, wherein the residual printing data comprises the printing data which is not read by the normal printing task and the printing data inserted into the printing task;
and sequentially reading the residual printing data according to the reading sequence of the residual printing data and sending the residual printing data to the vehicle spraying control board for printing.
8. An insertion printing control apparatus characterized by comprising: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of claims 1-6.
9. A storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1-6.
CN201911018906.5A 2019-10-24 2019-10-24 Insert printing control method, device, equipment and storage medium Active CN110936739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911018906.5A CN110936739B (en) 2019-10-24 2019-10-24 Insert printing control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911018906.5A CN110936739B (en) 2019-10-24 2019-10-24 Insert printing control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110936739A CN110936739A (en) 2020-03-31
CN110936739B true CN110936739B (en) 2021-09-17

Family

ID=69906884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911018906.5A Active CN110936739B (en) 2019-10-24 2019-10-24 Insert printing control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110936739B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005153426A (en) * 2003-11-28 2005-06-16 Canon Inc Printing controlling apparatus, printing controlling method, and storing medium and program storing computer-readable program
JP2005186559A (en) * 2003-12-26 2005-07-14 Canon Sales Co Inc Printing device, server device and job processing method, and storage medium storing computer-readable program, and program
CN1983074A (en) * 2005-12-16 2007-06-20 夏普株式会社 Image processing apparatus and interrupt control method
CN101017360A (en) * 2006-02-08 2007-08-15 京瓷美达株式会社 Image forming apparatus
EP1983379A2 (en) * 2007-04-18 2008-10-22 Xerox Corporation Intermediate job termination response
CN101446888A (en) * 2007-11-26 2009-06-03 北大方正集团有限公司 Method for processing print jobs and system thereof
CN101593088A (en) * 2008-05-28 2009-12-02 鸿富锦精密工业(深圳)有限公司 Concentrating type print system and method
US20130334010A1 (en) * 2012-06-18 2013-12-19 Vistaprint Technologies Limited Ergonomic manufacturing tray and processing method
CN104572596A (en) * 2013-10-25 2015-04-29 北大方正集团有限公司 Rasterization processing method, processing device and processing system
CN107544761A (en) * 2016-06-27 2018-01-05 京瓷办公信息系统株式会社 Image processing system and information processing method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5164842A (en) * 1990-06-29 1992-11-17 Xerox Corporation Job/page proofing for electronic printers
JP3144197B2 (en) * 1993-12-28 2001-03-12 富士ゼロックス株式会社 Printing equipment
JP2007083522A (en) * 2005-09-21 2007-04-05 Fuji Xerox Co Ltd Printer and method for controlling interruption of print job in the printer
JP2007094880A (en) * 2005-09-29 2007-04-12 Oki Data Corp Image formation device
JP6839528B2 (en) * 2016-11-30 2021-03-10 株式会社ミマキエンジニアリング Print control program, print control device and print control method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005153426A (en) * 2003-11-28 2005-06-16 Canon Inc Printing controlling apparatus, printing controlling method, and storing medium and program storing computer-readable program
JP2005186559A (en) * 2003-12-26 2005-07-14 Canon Sales Co Inc Printing device, server device and job processing method, and storage medium storing computer-readable program, and program
CN1983074A (en) * 2005-12-16 2007-06-20 夏普株式会社 Image processing apparatus and interrupt control method
CN101017360A (en) * 2006-02-08 2007-08-15 京瓷美达株式会社 Image forming apparatus
EP1983379A2 (en) * 2007-04-18 2008-10-22 Xerox Corporation Intermediate job termination response
US20080262656A1 (en) * 2007-04-18 2008-10-23 Xerox Corporation Intermediate job termination response
CN101446888A (en) * 2007-11-26 2009-06-03 北大方正集团有限公司 Method for processing print jobs and system thereof
CN101593088A (en) * 2008-05-28 2009-12-02 鸿富锦精密工业(深圳)有限公司 Concentrating type print system and method
US20130334010A1 (en) * 2012-06-18 2013-12-19 Vistaprint Technologies Limited Ergonomic manufacturing tray and processing method
CN104572596A (en) * 2013-10-25 2015-04-29 北大方正集团有限公司 Rasterization processing method, processing device and processing system
CN107544761A (en) * 2016-06-27 2018-01-05 京瓷办公信息系统株式会社 Image processing system and information processing method

Also Published As

Publication number Publication date
CN110936739A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN110421984B (en) Reciprocating scanning printing control method, device, equipment and storage medium
CN110039901B (en) Oneepass inkjet printing control method, device, equipment and medium
CN109263279B (en) Oneepass ink-jet printing method, device, equipment and storage medium
CN110733253B (en) Spray head moisturizing printing control method, device, equipment and storage medium
CN109002267B (en) Multi-nozzle printing data synchronous transmission method, device, equipment and storage medium
CN110936739B (en) Insert printing control method, device, equipment and storage medium
US20090086262A1 (en) Job executing apparatus for executing a job in response to a received command and method of executing a job in response to a received command
CN110202936A (en) Based on state diagram detection nozzle whether Yi Chang method, apparatus, equipment and medium
US8576421B2 (en) Printer and method of controlling the same
CN107306318B (en) Mobile terminal, information processing system, and control method
CN108984136A (en) print data transmission method, device, equipment and storage medium
CN110901229B (en) Image data processing method, device, equipment and storage medium
US9013734B2 (en) Method and apparatus for controlling pauses in printing
CN113515241B (en) Printing method, device, equipment and storage medium for printing multiple images
CN113442581B (en) Printing method, device, equipment and storage medium
CN114590048A (en) Reciprocating scanning printing method, device, equipment and medium
CN112060786B (en) Control method, device, equipment and storage medium for seamless continuous printing of repeated images
US7014288B2 (en) Recording apparatus and control method therefor
US10643114B2 (en) Image forming apparatus and recording medium suitable for image forming processing based on PDL (page description language) which generates a display list using a speculative process before data analysis of an object of PDL is completed
JP2005085022A (en) Image output device
CN110789240A (en) Method, device, system and medium for processing abnormity of page start signal of printing medium
CN110275686B (en) Method, device and equipment for controlling typesetting interval of multiple printing images and storage medium
CN110837350A (en) Continuous-printing method, lower computer, upper computer and system
CN115447279B (en) Abnormal nozzle compensation printing method, device and equipment for image and storage medium
JP4496989B2 (en) Serial printer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant