CN104553381B - 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
CN104553381B
CN104553381B CN201310492793.9A CN201310492793A CN104553381B CN 104553381 B CN104553381 B CN 104553381B CN 201310492793 A CN201310492793 A CN 201310492793A CN 104553381 B CN104553381 B CN 104553381B
Authority
CN
China
Prior art keywords
printing
printing mode
print routine
current
configuration parameter
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.)
Expired - Fee Related
Application number
CN201310492793.9A
Other languages
Chinese (zh)
Other versions
CN104553381A (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

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

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 is and in particular to a kind of online switching device of printing mode and side Method, and digital inkjet printer.
Background technology
Digital ink jet printing is a kind of emerging printing technology, can directly control printing by computer, with traditional printing Compare and eliminate step before the print of series of complex, thus substantially reduce the production cycle.For reduces cost, traditional printing pair Dan Pinyin amount has strict requirements, for example, play print amount typically more than 3000 parts, therefore short printing (refers generally to less than 1000 parts Number to be printed) printing cost high, so that consumer cannot undertake;And Digital ink jet printing is real printing on demand, can be real Now printing, Bian Yinbian change immediately, no play print amount and limit, can also easily realize the different individual character of picture of each printed sheet Change printing demand.Simultaneously as Digital ink jet printing can achieve immediately printing, falling within a kind of zero inventory printing, therefore avoiding The cost that stock causes.In sum, due to having above-mentioned advantage, Digital ink jet printing is increasingly becoming industrial print field Fresh combatants.
The digital control unit of digital inkjet printer is the brain of printer, which determines digital inkjet printer with what Plant printing mode to be printed.In certain Nozzle At The Ingot Mold group connecting method (such as army's nose angle splicing method and level splicing method) Under, different printing mode determines the resolution of different highest print speed printing speeds, maximum print width and printing, and adopts Be printed on one side the still parameter such as printed on both sides.And the different printing demand of user then correspond to different printing mode.For example, have The exigent print speed printing speed of user, but less be concerned about printing quality;Some users are very concerned about printing quality, but to print Brush speed less demanding;Some users need printed on both sides, and some users only need to be printed on one side;Some users need narrow Printing, some users need wide cut printing 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, and therefore, the adjustable digital inkjet printer of printing mode is Become a kind of market trend.But the digital control unit of existing digital inkjet printer typically adopt single print routine with Print logic to control printing mode, if all printing demands of user to be met, described single print routine and printing The complexity of logic will certainly increase, and leads to the requirement to digital control unit very high, and this high request had both been embodied in hardware In design, it is also embodied in software design and reliability, such as the requirement to the fpga in digital control unit can be very high, and And, in the case that the printing demand of user continues to increase, also result in and again type selecting is carried out to fpga.Therefore, how to make number Word ink-jet printer can meet the different printing demand of user, and can reduce the requirement to wherein design of hardware and software, becomes industry Interior problem demanding prompt solution.
Content of the invention
The technical problem to be solved be for prior art in the presence of drawbacks described above, provide one kind can Flexible configuration printing mode is to meet the different printing demand of user, and can reduce the online switching print that design of hardware and software is required The apparatus and method of brush pattern, and digital inkjet printer.
The technical scheme that solution present invention problem is adopted:
The device of described online switching printing mode includes print routine control unit, printing logic control element, scheduling Unit, parameter storage unit and file storage unit;
Described print routine control unit is used for running print routine, and described print routine is used for controlling printing-flow;
Described printing logic control element is used for running printing logic, and described printing logic is used for controlling printed data;
Described parameter storage unit is used for storing current printing mode configuration parameter;
Described file storage unit is used for storing the executable file of multiple print routines and the two of multiple printing logic enter File processed, and each print routine and each printing logic all correspond to a printing mode configuration parameter;
Described scheduling unit is used for reading current printing mode configuration parameter from parameter storage unit, according to it from described literary composition Call the binary file of its corresponding printing logic in part memory element, and be configured to printing logic control element, then adjust With the executable file of its corresponding print routine, to start described corresponding print routine;Described scheduling unit is additionally operable to When in parameter storage unit, the current printing mode configuration parameter of storage occurs change, joined according to the current printing mode after change Put parameter to reschedule.
Preferably, described print routine control unit is additionally operable to when running print routine thereon and exiting, send with Exit the corresponding return value of reason to scheduling unit;
Described scheduling unit is additionally operable to judge whether that needs reschedule according to described return value, such as judges to need again to adjust Degree, then the current printing mode configuration parameter according to storage in be switched printing mode change parameter memory element, described tune Degree unit is additionally operable to the current printing mode configuration parameter after reading change again from parameter storage unit, according to it again from institute State the binary file calling its corresponding printing logic in file storage unit, and be configured to printing logic control element, so Call the executable file of its corresponding print routine afterwards, to start described corresponding print routine.
Preferably, described device also includes printing software controlled unit, is provided with multiple printing mode configuration parameters; When needing to switch printing mode, described printing software controlled unit is used for being provided with and to be switched printing mode pair The printing mode configuration parameter answered sends to print routine control unit;
Described print routine control unit is additionally operable to read current printing mode configuration parameter from parameter storage unit, and The printing mode that the current printing mode configuration parameter reading from parameter storage unit is sent with printing software controlled unit Configuration parameter is contrasted, as identical in comparative result, then described print routine control unit continues to run with current print routine, such as Comparative result is different, then the printing mode configuration parameter printing software controlled unit transmission is sent out by described print routine control unit Deliver to parameter storage unit, and exit current print routine, then send the return value corresponding with exiting reason to dispatching list Unit;
The printing mode configuration parameter that described parameter storage unit is additionally operable to send printing software controlled unit replaces it The current printing mode configuration parameter of memory storage;
Described printing software controlled unit is additionally operable to the presswork data of receiving user's input, and sends it to described Printing logic control element.
Preferably, described printing software controlled unit is arranged on pc machine;Described device also includes pc interface;Described printing Software controlled unit is communicated with print routine control unit and described printing logic control element by pc interface.
Preferably, when in described print routine control unit, operation has print routine, described scheduling unit is in dormancy shape State;
When the print routine running in described print routine control unit exits, described scheduling unit is waken up.
Preferably, the binary file of every kind of described printing mode configuration parameter corresponding printing logic is all by ps pattern It is configured to printing logic control element.
Preferably, described print routine control unit and scheduling unit are integrated in embedded systems;Described printing logic Control unit 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 includes spray-head interface, shower nozzle module and above-mentioned online switching The device of printing mode;Described spray-head interface and the described online printing logic control element phase switching in printing mode device Even, described shower nozzle module is connected with spray-head interface;Described printing logic control element is used for the presswork number of user input Sent to shower nozzle module through described spray-head interface according to after processing according to current printing mode.
Preferably, the device of described online switching printing mode also includes printing software controlled unit, and it is used for receiving uses The presswork data of family input;
Print routine control unit in the device of described online switching printing mode is additionally operable to receiving corresponding print After the executable file of brush program, to described printing software controlled unit transmitter ready signal;
The printing that described printing software controlled unit is additionally operable to, after receiving described standby ready signal, be received is made Industry data is activation is to described printing logic control element;
Described printing logic control element is additionally operable to be processed described presswork data according to current printing mode Send to shower nozzle module by described spray-head interface.
The present invention also provides a kind of method of online switching printing mode, comprises the steps:
1) multiple printing mode configuration parameters are set, and all corresponding one of every kind of printing mode configuration parameter is used for controlling print The printing logical sum of brush data one is used for controlling the print routine of printing-flow, and described printing logical sum print routine all adopts Multiple, select a printing mode configuration parameter as current printing mode configuration parameter;
2) its corresponding printing logic is configured according to current printing mode configuration parameter;
3) its corresponding print routine is started according to current printing mode configuration parameter;
4) judge whether current printing mode configuration parameter changes, such as judge to change, then return to step 2), as judged to change, then continue to run with current print routine, described current print routine is the print starting in step 3) Brush program.
Preferably, also include before described step 4):
Judge whether current print routine has dropped out, such as judge not exit, then continue to run with current print routine, such as judge Have dropped out, then basis exits reason and continues to determine whether to need to switch printing mode, such as judge to need to switch printing mode, then root Change current printing mode configuration parameter according to be switched printing mode, such as judge to be not required to switch printing mode, then do not change current Printing mode configuration parameter.
Preferably, also include before described step 4):
To carry out with current printing mode configuration parameter with to be switched printing mode corresponding printing mode configuration parameter Contrast, as identical in comparative result, then continue to run with current print routine, such as comparative result difference, then by with to be switched printing Pattern corresponding printing mode configuration parameter is changed to current printing mode configuration parameter, is then log out 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 be according to user's Printing demand selects corresponding printing mode (the different printing demand of user all corresponds to different printing mode), and according to printing Pattern arranges corresponding printing mode configuration parameter (every kind of printing mode all corresponds to a printing mode configuration parameter), and every kind of The all corresponding print routine of printing mode configuration parameter and a printing logic, each print routine all can control a kind of printing Flow process, each printing logic all can control a kind of printed data.Therefore, when user needs to switch printing mode, only need to select With to be switched printing mode corresponding printing mode configuration parameter, and call the executable literary composition of its corresponding print routine Part and the binary file of a printing logic, you can its corresponding printing logical sum is configured according to the current printing demand of user Start its corresponding print routine, thus realizing the online switching of printing mode, energy flexible configuration printing mode therefore of the present invention To meet the different printing demand of user;And, the present invention need not require single print routine and printing as prior art Logic need to meet all printing demands of user, therefore, it is possible to reduce the design requirement to software and hardware.
Brief description
Fig. 1 is the structural representation of the device of online switching printing mode 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 of the device of online switching printing mode described in the embodiment of the present invention 2;
Fig. 4 is the workflow schematic diagram of the device of online switching printing mode 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 online method flow diagram switching printing mode described in the embodiment of the present invention 3.
Specific embodiment
For making those skilled in the art more fully understand technical scheme, with reference to the accompanying drawings and examples to this Invent the apparatus and method of described online switching printing mode, 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 controls single Unit, printing logic control element, scheduling unit, parameter storage unit and file storage unit.
Wherein, described print routine control unit is used for running print routine, and described print routine is used for controlling print stream Journey.
Described printing logic control element is used for running printing logic, and described printing logic is used for controlling printed data.
Described parameter storage unit is used for storing current printing mode configuration parameter.Described current printing mode configuration parameter Refer to the parameter according to the current printing demand corresponding printing mode setting of user.
Described file storage unit is used for storing the executable file of multiple print routines and the two of multiple printing logic enter File (rbf) processed, and each print routine and each printing logic all correspond to a printing mode configuration parameter.Described printing die Formula configuration parameter includes print routine configuration parameter and printing logic configuration parameter, therefore the corresponding printing journey of each print routine Sequence configuration parameter, the corresponding printing logic configuration parameter of each printing logic.
In the present embodiment, described printing mode configuration parameter is provided with multiple, every kind of printing demand all corresponding of user Plant printing mode, every kind of printing mode all corresponds to a printing mode configuration parameter, the plurality of printing mode configuration parameter is permissible It is stored in parameter storage unit, but the only one of which printing demand corresponding printing mode configuration parameter current with user just claims Be current printing mode configuration parameter, the plurality of printing mode configuration parameter can also be stored in other storage devices, ginseng Number memory element can extract current printing mode configuration ginseng according to the current printing demand of user from other storage devices described Number.
Described scheduling unit is used for reading current printing mode configuration parameter from parameter storage unit, according to described current Printing mode configuration parameter (currently printing logic configuration parameter) calls its corresponding printing from described file storage unit The binary file of logic, and it is configured to printing logic control element, then according to described current printing mode configuration parameter (i.e. Current print routine configuration parameter) call the executable file of its corresponding print routine from described file storage unit, with Start described corresponding print routine, that is, complete contact preparation work, then digital inkjet printer just can be according to user Instruction starts to print;The current printing mode configuration parameter that described scheduling unit is additionally operable to storage in parameter storage unit is sent out When changing more, rescheduled according to the current printing mode configuration parameter after change, that is, according to the current printing mode after change Configuration parameter calls the binary file of its corresponding printing logic again from described file storage unit, and is configured to printing Logic control element, then calls the executable file of its corresponding print routine, to start described corresponding print routine, that is, Complete the online switching of printing mode, also complete the work of the contact preparation after switching simultaneously.Current print after described change Brush pattern configurations parameter refers to printing mode configuration parameter corresponding with to be switched printing mode.
Preferably, it is used in described scheduling unit that execute traffic control is scheduler program, that is, described scheduling unit is used for Traffic control program, the executable file of described scheduler program both can be stored in scheduling unit, be storable in described file again In memory element.
Preferably, described print routine control unit is additionally operable to when running print routine thereon and exiting, send with Exit the corresponding return value of reason to scheduling unit;
Described scheduling unit is additionally operable to judge whether that needs reschedule according to described return value, such as judges to need again to adjust Degree, then the current printing mode configuration parameter according to storage in be switched printing mode change parameter memory element, that is, will Current printing mode configuration parameter is changed to printing mode configuration parameter corresponding with to be switched printing mode, described scheduling list Unit is additionally operable to the current printing mode configuration parameter after reading change again from parameter storage unit, according to it again from described literary composition Call the binary file of its corresponding printing logic in part memory element, and be configured to printing logic control element, then adjust With the executable file of its corresponding print routine, to start described corresponding print routine.
In the present embodiment, the reason that exits of print routine has multiple, and such as user wishes to terminate presswork and selects straight Connect and exit current print routine, or user wishes to switch to other printing mode online and exits current print routine, in order to Differentiation is which kind of exits reason, is that every kind of reason that exits arranges a return value, and that is, every kind of all corresponding one of reason that exits returns Value.According to return value corresponding with exiting reason, scheduling unit judges whether that needs reschedule, be that user wishes when exiting reason When hoping termination presswork, scheduling unit judges not need to reschedule, and is that user wishes to switch to online it when exiting reason During his printing mode, scheduling unit judges that needs reschedule.
Preferably, described print routine control unit and scheduling unit are integrated in embedded systems;Described printing logic Control unit adopts fpga;Described parameter storage unit adopts eeprom;Described file storage unit adopts flash, its capacity Larger, the binary system of the executable file of described scheduler program, the executable file of multiple print routine and multiple printing logic File can be integrated into a file system, and is stored in flash, facilitates the expansion and upgrading of device, embedded system interior Core may be alternatively stored in flash.
Preferably, when in described print routine control unit, operation has print routine, described scheduling unit is in dormancy shape State;When the print routine running in described print routine control unit exits, described scheduling unit is waken up.
Preferably, the binary file of every kind of described printing mode configuration parameter corresponding printing logic is all by ps pattern It is configured to printing logic control element.Described ps pattern is a kind of mode downloading printing logic so that fpga(prints logic control Unit processed) the passive configuration accepting printing logic, rather than initiative, and need to patrol using which kind of printing in real work Collect (being determined by the printing demand of user) just which kind of printing logic is configured in fpga, compared with prior art, print logic No longer limit in the specialized configuration chip being stored in fpga, therefore can preferably support the switching of multiple printing logics.
It can be seen that, in the device of online switching printing mode described in the present embodiment using scheduling unit realize printing mode Line switches, i.e. scheduling unit determines called which kind of print routine and which kind of printing according to different printing mode configuration parameters Logic, thus its corresponding printing configuration of logic and the startup of print routine are automatically obtained according to printing mode configuration parameter, And switched online by scheduling unit and need not carry out manual firmware renewal during printing mode, and due to not having in prior art Standby scheduling unit, need to carry out firmware renewal manually when printing mode switches.
Described device does not need power-on and power-off again it is not required that manually doing in the online whole transfer period of printing mode In advance, convenience and the reliability of printing mode switching are therefore drastically increased.
And, described device adopts multiple independent print routines and multiple independent printing logic, each print routine For controlling a kind of printing-flow, each printing logic is used for controlling a kind of printed data, when switching printing mode, only needs root Transfer the corresponding printing of this parameter according to be switched printing mode corresponding printing mode configuration parameter from file storage unit The executable file of program and the binary file of printing logic, and the binary file of this printing logic is configured to printing patrols Collect in control unit, be all configured to printing logic control element without by the binary files of all printing logics In (as fpga), therefore, described device does not need as prior art it is desirable to single print routine and printing logic meet use The all of printing in family demand, thus reduce single print routine and printing logic complexity, therefore also reduce for Run the complexity of the hardware of print routine and printing logic, and, the control more large and complete than one of multiple special control programs Program is easier to design, debugging and upgrading, and certainly large and complete than one logic of single special control logic is more saved fpga and patrolled Collect resource, be also more conducive to design, debugging and update;Described device again can flexible configuration printing mode to meet all of print of user Brush demand, thus improve the scope of application of digital inkjet printer.Meanwhile, the corresponding printing of every kind of printing mode configuration parameter Program and printing logic all can stand-alone development so that described device has good autgmentability and compatibility.
As shown in Fig. 2 the present embodiment also provides a kind of inclusion spray-head interface, shower nozzle module and above-mentioned online switching printing die The digital inkjet printer of the device of formula.
Wherein, described spray-head interface is connected with the printing logic control element in described online switching printing mode device, Described shower nozzle module is connected with spray-head interface;Described printing logic control element is used for pressing the presswork data of user input Send to shower nozzle module through described spray-head interface after being processed according to current printing mode.
That is, after completing contact preparation work, user is by presswork data input to printing logic control Unit processed, described printing logic control element is by described presswork data according to the corresponding print routine control of current printing mode The printing-flow of system sends to shower nozzle module, when defining the starting time of presswork queue in described printing-flow and stopping Between.
Embodiment 2:
As shown in figure 3, the present embodiment provides a kind of device of online switching printing mode, it is with embodiment 1 described device Difference be: also include print software controlled unit, be provided with multiple printing mode in described printing software controlled unit and join Put parameter, a kind of printing demand of all corresponding user of every kind of printing mode configuration parameter.
In the present embodiment, when user needs to switch printing mode, described printing software controlled unit is used for wherein setting That puts is sent to print routine control unit with to be switched printing mode corresponding printing mode configuration parameter.
Described print routine control unit is additionally operable to read current printing mode configuration parameter from parameter storage unit, and By from parameter storage unit read current printing mode configuration parameter and printing software controlled unit send with to be switched Printing mode corresponding printing mode configuration parameter contrasted, as identical in comparative result, then described print routine control single Unit continues to run with current print routine, and such as comparative result is different, then described print routine control unit will print software control list What unit sent is sent to parameter storage unit with to be switched printing mode corresponding printing mode configuration parameter, and exits current Print routine, then sends the return value corresponding with exiting reason to scheduling unit.
Described parameter storage unit is additionally operable to printing software controlled unit transmission is corresponding with to be switched printing mode Printing mode configuration parameter replace the current printing mode configuration parameter of its memory storage, described Yu to be switched printing mode pair The printing mode configuration parameter answered is the current printing mode configuration parameter after changing.
Described printing software controlled unit is additionally operable to the presswork data of receiving 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 root Judge that needs reschedule according to the described corresponding return value of reason that exits, and again from parameter storage unit read change after Current printing mode configuration parameter, from described file storage unit, again call two entering of its corresponding printing logic according to it File processed, and it is configured to printing logic control element, then call the executable file of its corresponding print routine, to start State corresponding print routine, thus completing the online switching of printing mode.
It can be seen that although scheduling unit and print routine control unit all can access parameter storage unit, but scheduling unit is only Parameter can be read from parameter storage unit, can not write parameters, and print routine control unit can be from parameter storage unit Read parameter, and can write parameters.This is because, user can only be by printing software controlled unit output and to be switched printing Pattern corresponding printing mode configuration parameter, to realize the switching of printing mode, and in order to ensure stablizing of apparatus function, scheduling Unit does not possess the ability being communicated with printing software controlled unit, therefore, does not allow for scheduling unit change parameter yet and deposits The printing mode configuration parameter of storage in storage unit.
Preferably, described print routine control unit and scheduling unit are integrated in embedded systems;Described printing logic Control unit adopts fpga;Described parameter storage unit adopts eeprom;Described file storage unit adopts flash, its capacity Larger, the binary system of the executable file of described scheduler program, the executable file of multiple print routine and multiple printing logic File can be integrated into a file system, and is stored in flash, facilitates the expansion and upgrading of device, embedded system interior Core may be alternatively stored in flash.Described printing software controlled unit may be provided on pc machine, then described device also includes pc and connects Mouthful, described printing software controlled unit is communicated with print routine control unit by pc interface, and described pc interface includes ordering Make passage data passage, described pc machine is communicated with print routine control unit by command channel, by data channel Communicated with printing logic control element;Or, described printing software controlled unit may alternatively be integrated within embedded system.
Described in the present embodiment, the operation principle of the device of online switching printing mode is:
After electricity in described device, first start scheduling unit, scheduling unit reads current printing die from parameter storage unit Formula configuration parameter, it includes current print routine configuration parameter and current printing logic configuration parameter, and is patrolled according to current printing Collect the binary file that configuration parameter calls its corresponding printing logic from file storage unit, be configured to printing logic control Unit, and the executable of its corresponding print routine is called from file storage unit according to current print routine configuration parameter File, to start described corresponding print routine, then scheduling unit enter resting state, printing software controlled unit respectively with Print routine control unit and printing logic control element set up communication, and contact preparation work completes, and prepares to receive presswork. If necessary to switching printing mode, as long as will be provided with and to be switched printing mode pair by printing software controlled unit The printing mode configuration parameter answered sends to print routine control unit.
The operation principle of the device of online switching printing mode is described in detail in detail described in the present embodiment below by Fig. 4:
S101. system electrification.That is, for electricity on the part of electricity on all need in the device of online switching printing mode.
S102. load and start the operating system of the device of online switching printing mode.Print routine control unit and tune Degree unit is integrated in embedded systems, and the kernel of embedded system is stored in flash(file storage unit) in.
S103. start the scheduler program on scheduling unit.That is, scheduling unit transfers holding of scheduler program from flash Style of writing part, to start scheduler program.
S104. scheduler program is from eeprom(parameter storage unit) read and current print logic configuration parameter.
S105. scheduler program calls its corresponding printing logic according to current printing logic configuration parameter from flash Binary file is simultaneously configured to printing logic control element.Concrete configuration is it may be the case that configure logic a~configuration logic in Fig. 4 Any one in n.
S106. scheduler program reads current print routine configuration parameter from eeprom.
S107. scheduler program calls its corresponding print routine according to current print routine configuration parameter from flash Executable file, to be loaded into and to start described corresponding print routine, and makes scheduler program enter resting state.Print routine Concrete start it may be the case that any one in Fig. 4 Program 1~program n.
S108. be located at pc machine on printing software controlled unit respectively with integrated print routine control in embedded systems Unit processed and the printing logic control element foundation communication using fpga, contact preparation work completes, and prepares to receive presswork.
S109. the printing software controlled unit being located on pc machine is corresponding with to be switched printing mode by being provided with Printing logic configuration parameter and print routine configuration parameter send to print routine control unit.
S110. integrated print routine control unit in embedded systems will be corresponding for described with to be switched printing mode Printing mode configuration parameter and eeprom in the current printing mode configuration parameter of storage contrasted, such as comparative result is not With, then execution step s111, as identical in comparative result, then execution step s113.
S111. print routine control unit by with to be switched printing mode corresponding printing mode configuration parameter send to The printing mode configuration parameter printing software controlled unit transmission is replaced the current printing mode of its memory storage by flash, flash Configuration parameter;
S112. print routine control unit exits current print routine, sends the return value corresponding with exiting reason extremely Scheduler program, with wakeup schedule program, and return to step s104.
S113. it is ready to carry out presswork.
As shown in figure 5, the present embodiment also provides a kind of inclusion spray-head interface, shower nozzle module and above-mentioned online switching printing die The digital inkjet printer of the device of formula.
Wherein, described spray-head interface is connected with the printing logic control element in described online switching printing mode device, Described shower nozzle module is connected with spray-head interface.
Printing software controlled unit in the device of described online switching printing mode is used for the printing of receiving user's input Work data;Print routine control unit in the device of described online switching printing mode is additionally operable to receiving corresponding print After the executable file of brush program, to described printing software controlled unit transmitter ready signal;Described printing software controls Unit is additionally operable to the presswork data is activation after receiving described standby ready signal, being received to described printing logic Control unit;Described printing logic control element is additionally operable to be processed described presswork data according to current printing mode Send to shower nozzle module by described spray-head interface, i.e. by described presswork data according to the corresponding print of current printing mode Brush programme controlled printing-flow to send to shower nozzle module, in described printing-flow, define the starting time of presswork queue And dwell time.
Other structures in the present embodiment and effect are all same as Example 1, repeat no more here.
Embodiment 3:
As shown in fig. 6, the present embodiment provides a kind of method of online switching printing mode, comprise the steps:
S201., multiple printing mode configuration parameters are set, and every kind of printing mode configuration parameter all corresponding is used for controlling The printing logical sum of printed data processed one is used for controlling the print routine of printing-flow, and described printing logical sum print routine is equal Using multiple, select a printing mode configuration parameter as current printing mode configuration parameter.Wherein, every kind of printing of user Demand all corresponds to a kind of printing mode, and every kind of printing mode all corresponds to a printing mode configuration parameter.Described current printing die Formula configuration parameter refers to the parameter according to the current printing demand corresponding printing mode setting of user.
S202. its corresponding printing logic is configured according to current printing mode configuration parameter.
Preferably, by printing logic corresponding described in ps pattern configurations.
S203. its corresponding print routine is started according to current printing mode configuration parameter.
S204. judge whether current printing mode configuration parameter changes, such as judge to change, then return step Rapid s202, such as judges to change, then continues to run with current print routine execution step s205, described current print routine For the print routine starting in step s203.
And be ready to carry out presswork s205..
Preferably, also include before described step s204:
Judge whether current print routine has dropped out, such as judge not exit, then continue to run with current print routine, such as judge Have dropped out, then basis exits reason and continues to determine whether to need to switch printing mode, such as judge to need to switch printing mode, then root Change current printing mode configuration parameter according to be switched printing mode, such as judge to be not required to switch printing mode, then do not change current Printing mode configuration parameter.
It is highly preferred that also including before described step s204:
To carry out with current printing mode configuration parameter with to be switched printing mode corresponding printing mode configuration parameter Contrast, as identical in comparative result, then continue to run with current print routine, such as comparative result difference, then by with to be switched printing Pattern corresponding printing mode configuration parameter is changed to current printing mode configuration parameter, is then log out current print routine.
It is understood that the embodiment of above principle being intended to be merely illustrative of the present and the exemplary enforcement adopting Mode, but the invention is not limited in this.For those skilled in the art, in the essence without departing from the present invention In the case of god and essence, various modifications and improvement can be made, these modifications and improvement are also considered as protection scope of the present invention.

Claims (13)

1. a kind of device of online switching printing mode is it is characterised in that include: print routine control unit, printing logic control Unit processed, scheduling unit, parameter storage unit and file storage unit;
Described print routine control unit is used for running print routine, and described print routine is used for controlling printing-flow;
Described printing logic control element is used for running printing logic, and described printing logic is used for controlling printed data;
Described parameter storage unit is used for storing current printing mode configuration parameter;
Described file storage unit is used for storing the binary system literary composition of the executable file of multiple print routines and multiple printing logic Part, and each print routine and each printing logic all correspond to a printing mode configuration parameter;
Described scheduling unit is used for reading current printing mode configuration parameter from parameter storage unit, deposits from described file according to it Call the binary file of its corresponding printing logic in storage unit, and be configured to printing logic control element, then call it The executable file of corresponding print routine, to start described corresponding print routine;Described scheduling unit is additionally operable in parameter When in memory element, the current printing mode configuration parameter of storage occurs change, according to the current printing mode configuration ginseng after change Number reschedules.
2. device according to claim 1 it is characterised in that
Described print routine control unit is additionally operable to when running print routine thereon and exiting, and sends with to exit reason relative The return value answered is to scheduling unit;
Described scheduling unit is additionally operable to judge whether that needs reschedule according to described return value, such as judges that needs reschedule, The then current printing mode configuration parameter according to storage in be switched printing mode change parameter memory element, described scheduling list Unit is additionally operable to the current printing mode configuration parameter after reading change again from parameter storage unit, according to it again from described literary composition Call the binary file of its corresponding printing logic in part memory element, and be configured to printing logic control element, then adjust With the executable file of its corresponding print routine, to start described corresponding print routine.
3. device according to claim 2 it is characterised in that
Described device also includes printing software controlled unit, is provided with multiple printing mode configuration parameters;Needing to switch During printing mode, described printing software controlled unit is used for be provided with printing die corresponding with to be switched printing mode Formula configuration parameter sends to print routine control unit;
Described print routine control unit is additionally operable to read current printing mode configuration parameter from parameter storage unit, and will be from The printing mode configuration that the current printing mode configuration parameter reading in parameter storage unit is sent with printing software controlled unit Parameter is contrasted, as identical in comparative result, then described print routine control unit continues to run with current print routine, such as compares Result is different, then described print routine control unit by print the printing mode configuration parameter that software controlled unit sends send to Parameter storage unit, and exit current print routine, then send the return value corresponding with exiting reason to scheduling unit;
The printing mode configuration parameter that described parameter storage unit is additionally operable to send printing software controlled unit replaces its internal memory The current printing mode configuration parameter of storage;
Described printing software controlled unit is additionally operable to the presswork data of receiving user's input, and sends it to described printing Logic control element.
4. device according to claim 3 it is characterised in that
Described printing software controlled unit is arranged on pc machine;Described device also includes pc interface;Described printing software controls single Unit is communicated with print routine control unit and described printing logic control element by pc interface.
5. the device according to any one of Claims 1 to 4 it is characterised in that
When in described print routine control unit, operation has print routine, described scheduling unit is in a dormant state;
When the print routine running in described print routine control unit exits, described scheduling unit is waken up.
6. the device according to any one of Claims 1 to 4 it is characterised in that
The binary file of every kind of described printing mode configuration parameter corresponding printing logic is all by ps pattern configurations to printing Logic control element,
Described ps pattern is a kind of mode downloading printing logic so that described printing logic control element passively accepts printing patrols The configuration collected.
7. the device according to any one of Claims 1 to 4 it is characterised in that
Described print routine control unit and scheduling unit are integrated in embedded systems;Described printing logic control element adopts fpga;Described parameter storage unit adopts eeprom;Described file storage unit adopts flash.
8. a kind of digital inkjet printer is it is characterised in that include spray-head interface, shower nozzle module and as appointed in claim 1~7 The device of the online switching printing mode described in;Described spray-head interface and the described online print switching in printing mode device Brush logic control element is connected, and described shower nozzle module is connected with spray-head interface;Described printing logic control element is used for user The presswork data of input sends to shower nozzle module through described spray-head interface after being processed according to current printing mode.
9. digital inkjet printer according to claim 8 it is characterised in that
The device of described online switching printing mode also includes printing software controlled unit, and it is used for the printing of receiving user's input Work data;
Print routine control unit in the device of described online switching printing mode is additionally operable to receiving corresponding printing journey After the executable file of sequence, to described printing software controlled unit transmitter ready signal;
Described printing software controlled unit is additionally operable to the presswork number after receiving described standby ready signal, being received According to transmission to described printing logic control element;
Described printing logic control element be additionally operable to be processed described presswork data according to current printing mode after warp Described spray-head interface sends to shower nozzle module.
10. a kind of method of online switching printing mode is it is characterised in that comprise the steps:
1) multiple printing mode configuration parameters are set, and all corresponding one of every kind of printing mode configuration parameter is used for controlling printing number According to printing logical sum one be used for controlling the print routine of printing-flow, described printing logical sum print routine is all using many Individual, select a printing mode configuration parameter as current printing mode configuration parameter;
2) its corresponding printing logic is configured according to current printing mode configuration parameter;
3) its corresponding print routine is started according to current printing mode configuration parameter;
4) judge whether current printing mode configuration parameter changes, such as judge to change, then return to step 2), such as Judge to change, then continue to run with current print routine, described current print routine is step 3) the middle printing journey starting Sequence.
11. methods according to claim 10 it is characterised in that
Described step 4) also include before:
Judge whether current print routine has dropped out, such as judge not exit, then continue to run with current print routine, such as judge to move back Go out, then basis exits reason and continues to determine whether to need to switch printing mode, such as judge to need to switch printing mode, then basis is treated Switching printing mode changes current printing mode configuration parameter, such as judges to be not required to switch printing mode, does not then change current printing Pattern configurations parameter.
12. methods according to claim 11 it is characterised in that
Described step 4) also include before:
To be contrasted with current printing mode configuration parameter with to be switched printing mode corresponding printing mode configuration parameter, As comparative result is identical, then continue to run with current print routine, such as comparative result is different, then by with to be switched printing mode pair The printing mode configuration parameter answered is changed to current printing mode configuration parameter, is then log out current print routine.
13. methods according to any one of claim 10~12 are it is characterised in that described step 2) in, by ps mould Formula configures described corresponding printing logic,
Described ps pattern is a kind of mode downloading printing logic so that printing logic control element passively accepts to print logic Configuration.
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 CN104553381A (en) 2015-04-29
CN104553381B true 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)

Families Citing this family (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)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6962399B2 (en) * 2002-12-30 2005-11-08 Lexmark International, Inc. Method of warning a user of end of life of a consumable for an ink jet printer
US7699420B2 (en) * 2006-03-29 2010-04-20 Konica Minolta Holdings, Inc. Voltage control device, voltage control method, and liquid injection device
CN103029458B (en) * 2011-09-30 2015-11-25 北大方正集团有限公司 For digital printed control system and method
CN103186513B (en) * 2011-12-31 2016-04-27 北大方正集团有限公司 A kind of method of document format conversion and device
JP6015069B2 (en) * 2012-03-30 2016-10-26 ブラザー工業株式会社 Image forming apparatus

Also Published As

Publication number Publication date
CN104553381A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
EP3091434B1 (en) Chip starting method, multi-core processor chip and storage medium
CN101558366B (en) Direct memory access controller
CN104063279B (en) Method for scheduling task, device and terminal
CN103842968A (en) Migration method, computer and device of stored data
CN101930273B (en) Power supply unit, processing system, and control method
CN106062716B (en) The method, apparatus and single task system of multitask are realized in single task system
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
CN106062648A (en) Controller
CN102253860A (en) Asynchronous operation method and asynchronous operation management device
CN102812440A (en) Multi-core system and start-up method
CN109684244A (en) I2C bus host optimized transmission method and device for more slave systems
CN104553381B (en) Device and method for switching printing mode online and digital ink jet printer
CN103730034A (en) Communication method and system of dot reading machine
CN201583943U (en) IP structure of high-performance low-power consumption DMA of audio SOC chip
JP2012243219A (en) Computing device and activation control method for the same
CN102725749B (en) Method and device for enumerating input/output devices
CN103164355A (en) Switch method and electronic equipment
US9152359B2 (en) Image forming apparatus that selects appropriate power saving mode for each time slot
CN106874129B (en) Method for determining process scheduling sequence of operating system and control method
CN106843890B (en) Sensor network, node and operation method thereof based on intelligent decision
US20150033238A1 (en) System comprising a cluster of shared resources common to a plurality of resource and task managers
CN109768934A (en) A kind of pure phy interface plate method for managing resource of router
CN102053847A (en) Server and updating method thereof
CN106055509B (en) Optical fiber communication system and configuration method of optical fiber communication

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