CN104553381A - Device and method for switching printing mode online and digital ink jet printer - Google Patents

Device and method for switching printing mode online and digital ink jet printer Download PDF

Info

Publication number
CN104553381A
CN104553381A CN201310492793.9A CN201310492793A CN104553381A CN 104553381 A CN104553381 A CN 104553381A CN 201310492793 A CN201310492793 A CN 201310492793A CN 104553381 A CN104553381 A CN 104553381A
Authority
CN
China
Prior art keywords
printing
printing mode
print routine
configuration parameter
current
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.)
Granted
Application number
CN201310492793.9A
Other languages
Chinese (zh)
Other versions
CN104553381B (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.)
Founder Information Industry Holdings Co Ltd
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Founder Information Industry Holdings Co Ltd
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Founder Information Industry Holdings Co Ltd, Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Founder Information Industry Holdings Co Ltd
Priority to CN201310492793.9A priority Critical patent/CN104553381B/en
Publication of CN104553381A publication Critical patent/CN104553381A/en
Application granted granted Critical
Publication of CN104553381B publication Critical patent/CN104553381B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a device for switching a printing mode online. The device comprises a printing program control unit, a printing logic control unit, a dispatching unit, a parameter storing unit and a file storing unit, wherein the dispatching unit is used for reading current printing mode configuring parameters from the parameter storing unit, invoking a binary file of a corresponding printing logic from the file storing unit according to the current printing mode configuring parameters, configuring the binary file into the printing logic control unit, and invoking an executable file of a corresponding printing program so as to start the corresponding printing program; the dispatching unit is further used for rescheduling according to the changed current printing mode configuring parameters when the current printing mode configuring parameters stored in the parameter storing unit change. Correspondingly, the invention further provides a digital ink jet printer and a method for switching the printing mode online. According to the technical scheme, the printing mode can be flexibly configured so as to meet different printing needs, and design requirements on software and hardware can be reduced.

Description

The apparatus and method of online switching printing mode and digital inkjet printer
Technical field
The invention belongs to Digital ink jet printing technical field, be specifically related to a kind of apparatus and method of online switching printing mode, and digital inkjet printer.
Background technology
Digital ink jet printing is a kind of emerging printing technology, can directly control printing, eliminate step before the print of series of complex, thus substantially reduce the production cycle compared with traditional printing by computer.In order to reduce costs, traditional printing has strict requirement to single product print amount, such as, play print amount generally more than 3000 parts, therefore the printing cost of short printing (referring generally to the number to be printed of less than 1000 parts) is high, so that consumer cannot bear; And Digital ink jet printing is real printing on demand, instant printing can be realized, Bian Yinbian changes, without playing the restriction of print amount, the different personal printing demand of picture of each printed sheet can also be realized like a cork.Meanwhile, because Digital ink jet printing can realize instant printing, also belong to a kind of zero inventory printing, therefore avoid the cost that stock causes.In sum, owing to having above-mentioned advantage, Digital ink jet printing becomes the fresh combatants of industrial print field just gradually.
The digital control unit of digital inkjet printer is the brain of printing machine, which determines digital inkjet printer and with which kind of printing mode prints.Under certain Nozzle At The Ingot Mold group connecting method (such as army's nose angle splicing method and level splicing method), different printing mode determines the resolution of the highest different print speed printing speed, maximum print width and printing, and adopts and be printed on one side or the parameter such as printed on both sides.The printing demand that user is different then correspond to different printing mode.Such as, the exigent print speed printing speed of some users, but be not too concerned about printing quality; Some users are very concerned about printing quality, but less demanding to print speed printing speed; Some users need printed on both sides, and some users only need to be printed on one side; Some users need narrow printing, and some users need wide cut to print etc.If the printing mode of digital inkjet printer can not adjust, just cannot meet the various printing demands of user, will certainly lack the market competitiveness, therefore, the digital inkjet printer that printing mode is adjustable has become a kind of market trend.But the digital control unit of existing digital inkjet printer generally adopts single print routine and printing logic to control printing mode, if meet all printing demands of user, described single print routine will certainly increase with the complexity of printing logic, and cause the requirement of digital control unit very high, this high request had both been embodied in hardware design, be also embodied in Software for Design and reliability, such as can be very high to the requirement of the FPGA in digital control unit, and, when the printing demand of user continues to increase, also can cause again carrying out type selecting to FPGA.Therefore, how to make digital inkjet printer can meet the different printing demand of user, the requirement to wherein design of hardware and software can be reduced again, become problem demanding prompt solution in the industry.
Summary of the invention
Technical matters to be solved by this invention is for above-mentioned defect existing in prior art, there is provided a kind of can flexible configuration printing mode to meet the different printing demand of user, the apparatus and method to the online switching printing mode that design of hardware and software requires can be reduced again, and digital inkjet printer.
Solve the technical scheme that the technology of the present invention problem adopts:
The device of described online switching printing mode comprises print routine control module, printing logic control element, scheduling unit, parameter storage unit and file storage unit;
Described print routine control module is for running print routine, and described print routine is for controlling printing-flow;
Described printing logic control element is for running printing logic, and described printing logic is for controlling printed data;
Described parameter storage unit is for storing current printing mode configuration parameter;
Described file storage unit is for the binary file of the executable file and multiple printing logic that store multiple print routine, and all corresponding printing mode configuration parameter of each print routine and each printing logic;
Described scheduling unit is used for from parameter storage unit, read current printing mode configuration parameter, from described file storage unit, the binary file of the printing logic of its correspondence is called according to it, and be configured to printing logic control element, then the executable file of the print routine of its correspondence is called, to start the print routine of described correspondence; When the current printing mode configuration parameter of described scheduling unit also for storing in parameter storage unit occurs to change, reschedule according to the current printing mode configuration parameter after changing.
Preferably, described print routine control module also for when running print routine thereon and exiting, sends the rreturn value corresponding with exiting reason to scheduling unit;
According to described rreturn value, described scheduling unit is also for judging whether that needs reschedule, as judged, needs reschedule, then according to the current printing mode configuration parameter stored in be switched printing mode change parameter storage unit, described scheduling unit also for again reading the current printing mode configuration parameter after changing from parameter storage unit, again from described file storage unit, the binary file of the printing logic of its correspondence is called according to it, and be configured to printing logic control element, then the executable file of the print routine of its correspondence is called, to start the print routine of described correspondence.
Preferably, described device also comprises printing software controlled unit, is wherein provided with multiple printing mode configuration parameter; When needs switch printing mode, described printing software controlled unit is used for the printing mode configuration parameter corresponding with to be switched printing mode wherein arranged to be sent to print routine control module;
Described print routine control module also for reading current printing mode configuration parameter from parameter storage unit, and the printing mode configuration parameter that the current printing mode configuration parameter read from parameter storage unit and printing software controlled unit send is contrasted, as comparative result is identical, then described print routine control module continues to run current print routine, as comparative result is different, then the printing mode configuration parameter that printing software controlled unit sends is sent to parameter storage unit by described print routine control module, and exit current print routine, then the rreturn value corresponding with exiting reason is sent to scheduling unit,
The printing mode configuration parameter of described parameter storage unit also for being sent by printing software controlled unit replaces the current printing mode configuration parameter stored in it;
Described printing software controlled unit also for receiving the presswork data of user's input, and sends it to described printing logic control element.
Preferably, described printing software controlled unit is arranged on PC; Described device also comprises PC interface; Described printing software controlled unit carries out communication by PC interface and print routine control module and described printing logic control element.
Preferably, described print routine control module runs when having a print routine, described scheduling unit is in dormant state;
When the print routine that described print routine control module runs exits, described scheduling unit is waken up.
Preferably, the binary file of the printing logic that often kind of described printing mode configuration parameter is corresponding all by PS pattern configurations to printing logic control element.
Preferably, described print routine control module and scheduling unit in embedded systems integrated; Described printing logic control element adopts FPGA; Described parameter storage unit adopts EEPROM; Described file storage unit adopts FLASH.
The present invention also provides a kind of digital inkjet printer, and it comprises the device of spray-head interface, shower nozzle module and above-mentioned online switching printing mode; Described spray-head interface is connected with the printing logic control element in described online switching printing mode device, and described shower nozzle module is connected with spray-head interface; Described printing logic control element is sent to shower nozzle module through described spray-head interface after processing according to current printing mode for presswork data user inputted.
Preferably, the device of described online switching printing mode also comprises printing software controlled unit, and it is for receiving the presswork data of user's input;
Print routine control module in the device of described online switching printing mode also for after the executable file receiving corresponding print routine, to described printing software controlled unit transmitter ready signal;
Described printing software controlled unit is also for after receiving described standby ready signal, and the presswork data received are sent to described printing logic control element;
Described printing logic control element is also sent to shower nozzle module through described spray-head interface after described presswork data being processed according to current printing mode.
The present invention also provides a kind of method of online switching printing mode, comprises the steps:
1) multiple printing mode configuration parameter is set, and often kind of printing mode configuration parameter all corresponding one for controlling the printing logic of printed data and one for controlling the print routine of printing-flow, described printing logic and print routine all adopt multiple, select a printing mode configuration parameter as current printing mode configuration parameter;
2) the printing logic of its correspondence is configured according to current printing mode configuration parameter;
3) print routine of its correspondence is started according to current printing mode configuration parameter;
4) judging whether current printing mode configuration parameter changes, as judged to change, then returning step 2), as judged to change, then continue to run current print routine, described current print routine is the print routine started in step 3).
Preferably, also comprise before described step 4):
Judge whether current print routine exits, as judged not exit, then continue to run current print routine, as judged to exit, then continuing to judge whether to need to switch printing mode according to exiting reason, needing to switch printing mode as judged, then changing current printing mode configuration parameter according to be switched printing mode, do not need to switch printing mode as judged, then do not change current printing mode configuration parameter.
Preferably, also comprise before described step 4):
The printing mode configuration parameter corresponding with to be switched printing mode and current printing mode configuration parameter are contrasted, as comparative result is identical, then continue to run current print routine, as comparative result is different, then the printing mode configuration parameter corresponding with to be switched printing mode is changed to current printing mode configuration parameter, then exit current print routine.
Preferably, described step 2) in, by printing logic corresponding described in PS pattern configurations.
Beneficial effect:
The apparatus and method of online switching printing mode of the present invention, and digital inkjet printer can select corresponding printing mode (the different printing demand printing mode that all correspondence is different of user) according to the printing demand of user, and corresponding printing mode configuration parameter (often kind of all corresponding printing mode configuration parameter of printing mode) is set according to printing mode, and often kind of all corresponding print routine of printing mode configuration parameter and a printing logic, each print routine all can control a kind of printing-flow, and each printing logic all can control a kind of printed data.Therefore, when user needs to switch printing mode, only need select the printing mode configuration parameter corresponding with to be switched printing mode, and call the executable file of a print routine of its correspondence and the binary file of a printing logic, can the printing logic of its correspondence be configured according to the current printing demand of user and start the print routine of its correspondence, thus realize the online switching of printing mode, therefore energy flexible configuration printing mode of the present invention is to meet the different printing demand of user; And the present invention is without the need to requiring that as prior art single print routine and printing logic need meet all printing demands of user, therefore, it is possible to reduce the designing requirement to software and hardware.
Accompanying drawing explanation
Fig. 1 is the structural representation switching the device of printing mode online described in the embodiment of the present invention 1;
Fig. 2 is the structural representation of digital inkjet printer described in the embodiment of the present invention 1;
Fig. 3 is the structural representation switching the device of printing mode online described in the embodiment of the present invention 2;
Fig. 4 is the workflow schematic diagram switching the device of printing mode online described in the embodiment of the present invention 2;
Fig. 5 is the structural representation of digital inkjet printer described in the embodiment of the present invention 2;
Fig. 6 is the method flow diagram switching printing mode online described in the embodiment of the present invention 3.
Embodiment
For making those skilled in the art understand technical scheme of the present invention better, below in conjunction with the apparatus and method of drawings and Examples to online switching printing mode of the present invention, and digital inkjet printer is described in further detail.
Embodiment 1:
As shown in Figure 1, the present embodiment provides a kind of device of online switching printing mode, comprising: print routine control module, printing logic control element, scheduling unit, parameter storage unit and file storage unit.
Wherein, described print routine control module is for running print routine, and described print routine is for controlling printing-flow.
Described printing logic control element is for running printing logic, and described printing logic is for controlling printed data.
Described parameter storage unit is for storing current printing mode configuration parameter.Described current printing mode configuration parameter refers to the parameter that the printing mode corresponding according to the printing demand that user is current is arranged.
Described file storage unit is for the binary file (rbf) of the executable file and multiple printing logic that store multiple print routine, and all corresponding printing mode configuration parameter of each print routine and each printing logic.Described printing mode configuration parameter comprises print routine configuration parameter and printing logic configuration parameter, thus the corresponding print routine configuration parameter of each print routine, the corresponding printing logic configuration parameter of each printing logic.
In the present embodiment, described printing mode configuration parameter is provided with multiple, often kind of equal corresponding a kind of printing mode of printing demand of user, often kind of all corresponding printing mode configuration parameter of printing mode, the plurality of printing mode configuration parameter can be stored in parameter storage unit, but the printing mode configuration parameter only having printing demand current with user corresponding is just referred to as current printing mode configuration parameter, the plurality of printing mode configuration parameter also can be stored in other memory devices, parameter storage unit the printing demand current according to user can extract current printing mode configuration parameter from other memory devices described.
Described scheduling unit is used for from parameter storage unit, read current printing mode configuration parameter, from described file storage unit, the binary file of the printing logic of its correspondence is called according to described current printing mode configuration parameter (i.e. current printing logic configuration parameter), and be configured to printing logic control element, then from described file storage unit, the executable file of the print routine of its correspondence is called according to described current printing mode configuration parameter (i.e. current print routine configuration parameter), to start the print routine of described correspondence, namely printing preliminary work is completed, then digital inkjet printer just can start to have printed according to user's instruction, when the current printing mode configuration parameter of described scheduling unit also for storing in parameter storage unit occurs to change, reschedule according to the current printing mode configuration parameter after changing, namely from described file storage unit, the binary file of the printing logic of its correspondence is again called according to the current printing mode configuration parameter after change, and be configured to printing logic control element, then the executable file of the print routine of its correspondence is called, to start the print routine of described correspondence, namely the online switching of printing mode is completed, also complete the printing preliminary work after switching simultaneously.Current printing mode configuration parameter after described change refers to the printing mode configuration parameter corresponding with to be switched printing mode.
Preferably, for operation dispatching work in described scheduling unit is scheduler program, and namely described scheduling unit is used for traffic control program, and the executable file of described scheduler program both can be stored in scheduling unit, can be stored in again in described file storage unit.
Preferably, described print routine control module also for when running print routine thereon and exiting, sends the rreturn value corresponding with exiting reason to scheduling unit;
According to described rreturn value, described scheduling unit is also for judging whether that needs reschedule, as judged, needs reschedule, then according to the current printing mode configuration parameter stored in be switched printing mode change parameter storage unit, also be, current printing mode configuration parameter is changed to the printing mode configuration parameter corresponding with to be switched printing mode, described scheduling unit also for again reading the current printing mode configuration parameter after changing from parameter storage unit, again from described file storage unit, the binary file of the printing logic of its correspondence is called according to it, and be configured to printing logic control element, then the executable file of the print routine of its correspondence is called, to start the print routine of described correspondence.
In the present embodiment, the reason that exits of print routine has multiple, such as user wishes stop presswork and select directly to exit current print routine, or user wishes switch to other printing mode online and exit current print routine, which kind of exits reason to distinguish, for often kind is exited reason and arranges a rreturn value, namely often kind is exited all corresponding rreturn value of reason.According to the rreturn value corresponding with exiting reason, scheduling unit judges whether that needs reschedule, when exit reason be user wish stop presswork time, scheduling unit judges not need to reschedule, when exit reason be user wish to switch to other printing mode online time, scheduling unit judges that needs reschedule.
Preferably, described print routine control module and scheduling unit in embedded systems integrated; Described printing logic control element adopts FPGA; Described parameter storage unit adopts EEPROM; Described file storage unit adopts FLASH, its capacity is larger, the binary file of the executable file of described scheduler program, the executable file of multiple print routine and multiple printing logic can be integrated into a file system, and be stored in FLASH, facilitate the expansion and upgrading of device, the kernel of embedded system also can be stored in FLASH.
Preferably, described print routine control module runs when having a print routine, described scheduling unit is in dormant state; When the print routine that described print routine control module runs exits, described scheduling unit is waken up.
Preferably, the binary file of the printing logic that often kind of described printing mode configuration parameter is corresponding all by PS pattern configurations to printing logic control element.Described PS pattern is a kind of mode downloading printing logic, FPGA(is made to print logic control element) configuration of passive acceptance printing logic, but not initiative, and need to adopt which kind of printing logic (being determined by the printing demand of user) just which kind of printing logic to be configured in FPGA by real work, compared with prior art, printing logic no longer limits and is stored in the specialized configuration chip of FPGA, therefore can support the switching of multiple printing logic better.
Visible, described in the present embodiment, online switching in the device of printing mode adopts scheduling unit to realize the online switching of printing mode, namely, scheduling unit decides to call which kind of print routine and which kind of printing logic according to different printing mode configuration parameters, thus the configuration of printing logic and the startup of print routine of its correspondence is automatically realized according to printing mode configuration parameter, and without the need to carrying out manual firmware renewal when switching printing mode online by scheduling unit, and owing to not possessing scheduling unit in prior art, manually firmware renewal need be carried out when printing mode switches.
Described device does not need power-on and power-off again in the online whole transfer period of printing mode, does not need manual intervention yet, therefore drastically increases convenience and the reliability of printing mode switching.
And, described device adopts multiple independently print routine and multiplely independently prints logic, each print routine is for controlling a kind of printing-flow, each printing logic is for controlling a kind of printed data, when switching printing mode, printing mode configuration parameter that only need be corresponding according to be switched printing mode transfers the executable file of print routine corresponding to this parameter and the binary file of printing logic from file storage unit, and the binary file of this printing logic is configured in printing logic control element, and do not need the binary file of all printing logics to be all configured in printing logic control element (as FPGA), therefore, described device does not need as prior art, require that single print routine and printing logic meet all printing demands of user, thus reduce the complexity of single print routine and printing logic, therefore the complexity of the hardware for running print routine and printing logic is also reduced, and, multiple special control program control program more large and complete than is easier to design, debugging and upgrading, the single special steering logic certainly logic more large and complete than more saves fpga logic resource, also design is more conducive to, debugging and renewal, described device again can flexible configuration printing mode to meet all printing demands of user, thus improve the scope of application of digital inkjet printer.Meanwhile, the print routine that often kind of printing mode configuration parameter is corresponding and printing logic all can stand-alone developments, make described device have good extendability and compatibility.
As shown in Figure 2, the present embodiment also provides a kind of digital inkjet printer comprising the device of spray-head interface, shower nozzle module and above-mentioned online switching printing mode.
Wherein, described spray-head interface is connected with the printing logic control element in described online switching printing mode device, and described shower nozzle module is connected with spray-head interface; Described printing logic control element is sent to shower nozzle module through described spray-head interface after processing according to current printing mode for presswork data user inputted.
That is, after completing printing preliminary work, presswork data are inputed to printing logic control element by user, the printing-flow that described presswork data control according to the print routine that current printing mode is corresponding is sent to shower nozzle module by described printing logic control element, defines start-up time and the stand-by time of presswork queue in described printing-flow.
Embodiment 2:
As shown in Figure 3, the present embodiment provides a kind of device of online switching printing mode, the difference of device described in itself and embodiment 1 is: also comprise printing software controlled unit, multiple printing mode configuration parameter is provided with, the one printing demand of often kind of equal respective user of printing mode configuration parameter in described printing software controlled unit.
In the present embodiment, when user needs to switch printing mode, described printing software controlled unit is used for the printing mode configuration parameter corresponding with to be switched printing mode wherein arranged to be sent to print routine control module.
Described print routine control module also for reading current printing mode configuration parameter from parameter storage unit, and the printing mode configuration parameter corresponding with to be switched printing mode that the current printing mode configuration parameter read from parameter storage unit and printing software controlled unit send is contrasted, as comparative result is identical, then described print routine control module continues to run current print routine, as comparative result is different, then the printing mode configuration parameter corresponding with to be switched printing mode that printing software controlled unit sends is sent to parameter storage unit by described print routine control module, and exit current print routine, then the rreturn value corresponding with exiting reason is sent to scheduling unit.
With the to be switched printing mode corresponding printing mode configuration parameter of described parameter storage unit also for being sent by printing software controlled unit replaces the current printing mode configuration parameter stored in it, and printing mode configuration parameter corresponding to described with to be switched printing mode is the current printing mode configuration parameter after change.
Described printing software controlled unit also for receiving the presswork data of user's input, and sends it to described printing logic control element.
In the present embodiment, the described reason that exits is that user wishes to switch to other printing mode online, then scheduling unit according to described in exit the corresponding rreturn value of reason and judge that needs reschedule, and again from parameter storage unit, read the current printing mode configuration parameter after changing, again from described file storage unit, the binary file of the printing logic of its correspondence is called according to it, and be configured to printing logic control element, then the executable file of the print routine of its correspondence is called, to start the print routine of described correspondence, thus complete the online switching of printing mode.
Visible, although scheduling unit and print routine control module all can access parameter storage unit, scheduling unit can only read parameter from parameter storage unit, can not write parameters, and print routine control module can read parameter from parameter storage unit, again can write parameters.This is because, user can only export the printing mode configuration parameter corresponding with to be switched printing mode by printing software controlled unit, to realize the switching of printing mode, and stablizing in order to assurance device function, scheduling unit does not possess the ability of carrying out communication with printing software controlled unit, therefore, scheduling unit is not just allowed to change the printing mode configuration parameter stored in parameter storage unit yet.
Preferably, described print routine control module and scheduling unit in embedded systems integrated; Described printing logic control element adopts FPGA; Described parameter storage unit adopts EEPROM; Described file storage unit adopts FLASH, its capacity is larger, the binary file of the executable file of described scheduler program, the executable file of multiple print routine and multiple printing logic can be integrated into a file system, and be stored in FLASH, facilitate the expansion and upgrading of device, the kernel of embedded system also can be stored in FLASH.Described printing software controlled unit can be arranged on PC, then described device also comprises PC interface, described printing software controlled unit carries out communication by PC interface and print routine control module, described PC interface comprises command channel and data channel, described PC carries out communication by command channel and print routine control module, carries out communication by data channel and printing logic control element; Or also accessible site is in embedded systems for described printing software controlled unit.
Described in the present embodiment, the online principle of work switching the device of printing mode is:
After described device powers on, first start scheduling unit, scheduling unit reads current printing mode configuration parameter from parameter storage unit, it comprises current print routine configuration parameter and current printing logic configuration parameter, and from file storage unit, the binary file of the printing logic of its correspondence is called according to current printing logic configuration parameter, be configured to printing logic control element, and from file storage unit, the executable file of the print routine of its correspondence is called according to current print routine configuration parameter, to start the print routine of described correspondence, then scheduling unit enters dormant state, printing software controlled unit is respectively with print routine control module with print logic control element and set up communication, printing preliminary work completes, prepare to receive presswork.If need to switch printing mode, as long as the printing mode configuration parameter corresponding with to be switched printing mode wherein arranged is sent to print routine control module by printing software controlled unit.
Below by Fig. 4 in detail the online principle of work switching the device of printing mode described in the present embodiment is described in detail:
S101. system electrification.That is, for switch printing mode online device in the parts that power on of all need power on.
S102. load and start the online operating system switching the device of printing mode.Print routine control module and scheduling unit in embedded systems integrated, and the kernel of embedded system is stored in FLASH(file storage unit) in.
S103. the scheduler program on scheduling unit is started.That is, scheduling unit transfers the executable file of scheduler program from FLASH, to start scheduler program.
S104. scheduler program is from EEPROM(parameter storage unit) read current printing logic configuration parameter.
S105. scheduler program calls the binary file of the printing logic of its correspondence according to current printing logic configuration parameter and is configured to printing logic control element from FLASH.Concrete configuration situation may be any one in configuration logic A in Fig. 4 ~ configuration logic N.
S106. scheduler program reads current print routine configuration parameter from EEPROM.
S107. scheduler program calls the executable file of the print routine of its correspondence from FLASH according to current print routine configuration parameter, to be loaded into and to start the print routine of described correspondence, and makes scheduler program enter dormant state.The concrete startup situation of print routine may be any one in Fig. 4 Program 1 ~ program n.
S108. be positioned at printing software controlled unit on PC respectively with integrated print routine control module in embedded systems with adopts the printing logic control element of FPGA to set up communication, printing preliminary work completes, and prepares reception presswork.
The printing logic configuration parameter corresponding with to be switched printing mode wherein arranged and print routine configuration parameter are sent to print routine control module by the printing software controlled unit be s109. positioned on PC.
S110. the current printing mode configuration parameter stored in printing mode configuration parameter corresponding for described with to be switched printing mode and EEPROM contrasts by integrated print routine control module in embedded systems, as comparative result is different, then perform step s111, as comparative result is identical, then perform step s113.
S111. the printing mode configuration parameter corresponding with to be switched printing mode is sent to FLASH by print routine control module, and the printing mode configuration parameter that printing software controlled unit sends is replaced the current printing mode configuration parameter stored in it by FLASH;
S112. print routine control module exits current print routine, sending the rreturn value corresponding with exiting reason to scheduler program, with wakeup schedule program, and returning step s104.
S113. prepare to perform presswork.
As shown in Figure 5, the present embodiment also provides a kind of digital inkjet printer comprising the device of spray-head interface, shower nozzle module and above-mentioned online switching printing mode.
Wherein, described spray-head interface is connected with the printing logic control element in described online switching printing mode device, and described shower nozzle module is connected with spray-head interface.
Printing software controlled unit in the device of described online switching printing mode is for receiving the presswork data of user's input; Print routine control module in the device of described online switching printing mode also for after the executable file receiving corresponding print routine, to described printing software controlled unit transmitter ready signal; Described printing software controlled unit is also for after receiving described standby ready signal, and the presswork data received are sent to described printing logic control element; Described printing logic control element is also sent to shower nozzle module through described spray-head interface after described presswork data being processed according to current printing mode, namely, the printing-flow that described presswork data control according to the print routine that current printing mode is corresponding is sent to shower nozzle module, in described printing-flow, defines start-up time and the stand-by time of presswork queue.
Other structures in the present embodiment and effect all identical with embodiment 1, repeat no more here.
Embodiment 3:
As shown in Figure 6, the present embodiment provides a kind of method of online switching printing mode, comprises the steps:
S201., multiple printing mode configuration parameter is set, and often kind of printing mode configuration parameter all corresponding one for controlling the printing logic of printed data and one for controlling the print routine of printing-flow, described printing logic and print routine all adopt multiple, select a printing mode configuration parameter as current printing mode configuration parameter.Wherein, often kind of equal corresponding a kind of printing mode of printing demand of user, often kind of all corresponding printing mode configuration parameter of printing mode.Described current printing mode configuration parameter refers to the parameter that the printing mode corresponding according to the printing demand that user is current is arranged.
S202. the printing logic of its correspondence is configured according to current printing mode configuration parameter.
Preferably, by printing logic corresponding described in PS pattern configurations.
S203. the print routine of its correspondence is started according to current printing mode configuration parameter.
S204. judge whether current printing mode configuration parameter changes, as judged to change, then return step s202, as judged to change, then continue run current print routine and perform step s205, described current print routine is the print routine started in step s203.
S205. also prepare to perform presswork.
Preferably, also comprise before described step s204:
Judge whether current print routine exits, as judged not exit, then continue to run current print routine, as judged to exit, then continuing to judge whether to need to switch printing mode according to exiting reason, needing to switch printing mode as judged, then changing current printing mode configuration parameter according to be switched printing mode, do not need to switch printing mode as judged, then do not change current printing mode configuration parameter.
More preferably, also comprise before described step s204:
The printing mode configuration parameter corresponding with to be switched printing mode and current printing mode configuration parameter are contrasted, as comparative result is identical, then continue to run current print routine, as comparative result is different, then the printing mode configuration parameter corresponding with to be switched printing mode is changed to current printing mode configuration parameter, then exit current print routine.
Be understandable that, the illustrative embodiments that above embodiment is only used to principle of the present invention is described and adopts, but the present invention is not limited thereto.For those skilled in the art, without departing from the spirit and substance in the present invention, can make various modification and improvement, these modification and improvement are also considered as protection scope of the present invention.

Claims (13)

1. the online device switching printing mode, is characterized in that, comprising: print routine control module, printing logic control element, scheduling unit, parameter storage unit and file storage unit;
Described print routine control module is for running print routine, and described print routine is for controlling printing-flow;
Described printing logic control element is for running printing logic, and described printing logic is for controlling printed data;
Described parameter storage unit is for storing current printing mode configuration parameter;
Described file storage unit is for the binary file of the executable file and multiple printing logic that store multiple print routine, and all corresponding printing mode configuration parameter of each print routine and each printing logic;
Described scheduling unit is used for from parameter storage unit, read current printing mode configuration parameter, from described file storage unit, the binary file of the printing logic of its correspondence is called according to it, and be configured to printing logic control element, then the executable file of the print routine of its correspondence is called, to start the print routine of described correspondence; When the current printing mode configuration parameter of described scheduling unit also for storing in parameter storage unit occurs to change, reschedule according to the current printing mode configuration parameter after changing.
2. device according to claim 1, is characterized in that,
Described print routine control module also for when running print routine thereon and exiting, sends the rreturn value corresponding with exiting reason to scheduling unit;
According to described rreturn value, described scheduling unit is also for judging whether that needs reschedule, as judged, needs reschedule, then according to the current printing mode configuration parameter stored in be switched printing mode change parameter storage unit, described scheduling unit also for again reading the current printing mode configuration parameter after changing from parameter storage unit, again from described file storage unit, the binary file of the printing logic of its correspondence is called according to it, and be configured to printing logic control element, then the executable file of the print routine of its correspondence is called, to start the print routine of described correspondence.
3. device according to claim 2, is characterized in that,
Described device also comprises printing software controlled unit, is wherein provided with multiple printing mode configuration parameter; When needs switch printing mode, described printing software controlled unit is used for the printing mode configuration parameter corresponding with to be switched printing mode wherein arranged to be sent to print routine control module;
Described print routine control module also for reading current printing mode configuration parameter from parameter storage unit, and the printing mode configuration parameter that the current printing mode configuration parameter read from parameter storage unit and printing software controlled unit send is contrasted, as comparative result is identical, then described print routine control module continues to run current print routine, as comparative result is different, then the printing mode configuration parameter that printing software controlled unit sends is sent to parameter storage unit by described print routine control module, and exit current print routine, then the rreturn value corresponding with exiting reason is sent to scheduling unit,
The printing mode configuration parameter of described parameter storage unit also for being sent by printing software controlled unit replaces the current printing mode configuration parameter stored in it;
Described printing software controlled unit also for receiving the presswork data of user's input, and sends it to described printing logic control element.
4. device according to claim 3, is characterized in that,
Described printing software controlled unit is arranged on PC; Described device also comprises PC interface; Described printing software controlled unit carries out communication by PC interface and print routine control module and described printing logic control element.
5. the device according to any one of Claims 1 to 4, is characterized in that,
Described print routine control module runs when having a print routine, described scheduling unit is in dormant state;
When the print routine that described print routine control module runs exits, described scheduling unit is waken up.
6. the device according to any one of Claims 1 to 4, is characterized in that,
The binary file of the printing logic that often kind of described printing mode configuration parameter is corresponding all by PS pattern configurations to printing logic control element.
7. the device according to any one of Claims 1 to 4, is characterized in that,
Described print routine control module and scheduling unit in embedded systems integrated; Described printing logic control element adopts FPGA; Described parameter storage unit adopts EEPROM; Described file storage unit adopts FLASH.
8. a digital inkjet printer, is characterized in that, comprises the device of spray-head interface, shower nozzle module and the online switching printing mode according to any one of claim 1 ~ 7; Described spray-head interface is connected with the printing logic control element in described online switching printing mode device, and described shower nozzle module is connected with spray-head interface; Described printing logic control element is sent to shower nozzle module through described spray-head interface after processing according to current printing mode for presswork data user inputted.
9. digital inkjet printer according to claim 8, is characterized in that,
The device of described online switching printing mode also comprises printing software controlled unit, and it is for receiving the presswork data of user's input;
Print routine control module in the device of described online switching printing mode also for after the executable file receiving corresponding print routine, to described printing software controlled unit transmitter ready signal;
Described printing software controlled unit is also for after receiving described standby ready signal, and the presswork data received are sent to described printing logic control element;
Described printing logic control element is also sent to shower nozzle module through described spray-head interface after described presswork data being processed according to current printing mode.
10. the online method switching printing mode, is characterized in that, comprise the steps:
1) multiple printing mode configuration parameter is set, and often kind of printing mode configuration parameter all corresponding one for controlling the printing logic of printed data and one for controlling the print routine of printing-flow, described printing logic and print routine all adopt multiple, select a printing mode configuration parameter as current printing mode configuration parameter;
2) the printing logic of its correspondence is configured according to current printing mode configuration parameter;
3) print routine of its correspondence is started according to current printing mode configuration parameter;
4) judging whether current printing mode configuration parameter changes, as judged to change, then returning step 2), as judged to change, then continue to run current print routine, described current print routine is the print routine started in step 3).
11. methods according to claim 10, is characterized in that,
Also comprise before described step 4):
Judge whether current print routine exits, as judged not exit, then continue to run current print routine, as judged to exit, then continuing to judge whether to need to switch printing mode according to exiting reason, needing to switch printing mode as judged, then changing current printing mode configuration parameter according to be switched printing mode, do not need to switch printing mode as judged, then do not change current printing mode configuration parameter.
12. methods according to claim 11, is characterized in that,
Also comprise before described step 4):
The printing mode configuration parameter corresponding with to be switched printing mode and current printing mode configuration parameter are contrasted, as comparative result is identical, then continue to run current print routine, as comparative result is different, then the printing mode configuration parameter corresponding with to be switched printing mode is changed to current printing mode configuration parameter, then exit current print routine.
13. methods according to any one of claim 10 ~ 12, is characterized in that,
Described step 2) in, by printing logic corresponding described in PS pattern configurations.
CN201310492793.9A 2013-10-18 2013-10-18 Device and method for switching printing mode online and digital ink jet printer Expired - Fee Related CN104553381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310492793.9A CN104553381B (en) 2013-10-18 2013-10-18 Device and method for switching printing mode online and digital ink jet printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310492793.9A CN104553381B (en) 2013-10-18 2013-10-18 Device and method for switching printing mode online and digital ink jet printer

Publications (2)

Publication Number Publication Date
CN104553381A true CN104553381A (en) 2015-04-29
CN104553381B CN104553381B (en) 2017-02-01

Family

ID=53070886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310492793.9A Expired - Fee Related CN104553381B (en) 2013-10-18 2013-10-18 Device and method for switching printing mode online and digital ink jet printer

Country Status (1)

Country Link
CN (1) CN104553381B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109507940A (en) * 2017-08-22 2019-03-22 西门子(中国)有限公司 Programmable logic controller (PLC)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195237A1 (en) * 2002-12-30 2005-09-08 Laxmark International, Inc. Method of informing a user of end of life of a consumable for an ink jet printer
US20070229560A1 (en) * 2006-03-29 2007-10-04 Konica Minolta Holdings, Inc. Voltage control device, voltage control method, and liquid injection device
CN103029458A (en) * 2011-09-30 2013-04-10 北大方正集团有限公司 Control system and method for digital printing
CN103186513A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Method and device for converting file formats
US20130257972A1 (en) * 2012-03-30 2013-10-03 Brother Kogyo Kabushiki Kaisha Image forming apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195237A1 (en) * 2002-12-30 2005-09-08 Laxmark International, Inc. Method of informing a user of end of life of a consumable for an ink jet printer
US20070229560A1 (en) * 2006-03-29 2007-10-04 Konica Minolta Holdings, Inc. Voltage control device, voltage control method, and liquid injection device
CN103029458A (en) * 2011-09-30 2013-04-10 北大方正集团有限公司 Control system and method for digital printing
CN103186513A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Method and device for converting file formats
US20130257972A1 (en) * 2012-03-30 2013-10-03 Brother Kogyo Kabushiki Kaisha Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109507940A (en) * 2017-08-22 2019-03-22 西门子(中国)有限公司 Programmable logic controller (PLC)

Also Published As

Publication number Publication date
CN104553381B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
EP3091434B1 (en) Chip starting method, multi-core processor chip and storage medium
CN102200916B (en) Electronic equipment, configurable member and method for storing configuration information of configurable member
US8160645B2 (en) Apparatus and method for supporting SIM card in mobile communication terminal having multiple modems
US9513853B2 (en) Data processing apparatus capable of controlling power supply, control method therefor, and storage medium
EP2757839A1 (en) Power management method and apparatus for network access module
US20160216752A1 (en) System on chip, method of managing power thereof, and electronic device
CN103842968A (en) Migration method, computer and device of stored data
US8976380B2 (en) Image forming apparatus that shifts to different power state, method of controlling the same, and storage medium
CN103827834A (en) Migration method of in-memory data, computer and device
CN101539897B (en) Multi-computer switching device and operation method thereof
CN103458145A (en) Information processing apparatus and control method
CN103167209B (en) Image forming apparatus with power-saving mode and image forming method
CN103164355B (en) A kind of changing method and electronic equipment
CN105320244B (en) Input-output device management using dynamic clock frequencies
CN104553381A (en) Device and method for switching printing mode online and digital ink jet printer
US9152359B2 (en) Image forming apparatus that selects appropriate power saving mode for each time slot
JP2016042283A (en) Information processing device, power control method of information processing device, and program
CN105446912A (en) Method and device of CPU (Central Processing Unit) for connecting WIFI module through HSIC (High Speed Inter-chip) bus interface
CN101908025A (en) Serial use-right control device and method
JP5487889B2 (en) Portable information terminal, control method thereof, and program
CN102031663A (en) Method for realizing compatibility of computer board of washing machine with multiple programs
CN102135792A (en) Method for managing power supply of display and display
JP2016221947A (en) Image forming apparatus, control method of the same, and program
CN112532543A (en) Switch control method, device, equipment and computer readable storage medium
CN104077156A (en) Restarting system for programmable central processing unit and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170201

Termination date: 20191018