Printer function setting method, device, printing equipment and storage medium
By using different colors and flashing frequency of indicator lights on the printer to represent different sub-functions, and determining the setting information by the number of response signals, the existing printer function setting problems are solved, and a simple, correct and beautiful functional setting is achieved.
Patent Information
- Application Number
- CN202211535295.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2042-11-30
AI Technical Summary
The existing printer function setting methods have problems with high manufacturing costs and low aesthetics.
By obtaining the currently executed sub-process in the function setting process, determining the display method of the indicator lights corresponding to the sub-function, and receiving the target setting information in the display method, executing multiple sub-processes in turn to obtain the target setting information of multiple sub-functions, and completing the setting of the printer function.
It realizes simple and correct settings for multiple sub-functions through a single button, reducing printer manufacturing costs and beautifying the appearance of the printer.
Smart Images

Figure CN116118378B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of printers, and in particular to a method and apparatus for setting printer functions, a printing device, and a storage medium. Background Art
[0002] Portable printers are popular among students and office workers due to their low price and compact size, and have gradually become a must-have item. Since printers generally have multiple functions, users need to make relevant settings according to different needs before printing. Generally, multiple functions may be set by integrating multiple function buttons on the printer body to complete the setting of the corresponding function according to the operation of each function button. The existing method of setting the function of the printer has the problem of high manufacturing cost and affects the appearance of the printer. Summary of the invention
[0003] The embodiments of the present invention provide a method, an apparatus, a printing device and a storage medium for setting printer functions, which can improve the existing scheme for setting printers.
[0004] In a first aspect, an embodiment of the present invention provides a method for setting printer functions, comprising:
[0005] Obtaining a sub-process currently being executed in a function setting process, wherein the function setting process includes multiple sub-processes, and each sub-process corresponds to implementing one sub-function;
[0006] Determine a display mode of the indicator light corresponding to the sub-function, and receive target setting information for the sub-function in the display mode;
[0007] After executing the plurality of sub-processes in sequence, a plurality of target setting information corresponding to the plurality of sub-functions is obtained, and the setting of the printer function is completed according to the plurality of target setting information.
[0008] Optionally, the display method includes light color and flashing frequency;
[0009] The determining the display mode of the indicator light corresponding to the sub-function includes:
[0010] Obtaining identification information of the sub-function;
[0011] The light color and flashing frequency corresponding to the sub-function are determined from a setting function mapping table according to the identification information.
[0012] Optionally, in the setting function mapping table, one light color corresponds to at least one sub-function and at least one flashing frequency respectively;
[0013] The determining the light color and flashing frequency corresponding to the sub-function from the setting function mapping table according to the identification information includes:
[0014] The target light color corresponding to the sub-function is determined from the setting function mapping table according to the identification information, and the target flashing frequency of the sub-function under the target light color is determined.
[0015] Optionally, the receiving target setting information for the sub-function in the presentation mode includes:
[0016] Acquire the number of responses of the response signal received within a preset time period under the target light color and the target flashing frequency;
[0017] The target setting information of the sub-function is determined according to the response times based on the setting function mapping table, the response signal is generated by the user responding to the first preset button, and in the setting function mapping table, one sub-function corresponds to at least one setting information.
[0018] Optionally, the light color includes a first color; the sub-function includes a first function and a second function;
[0019] The determining the light color and flashing frequency corresponding to the sub-function from the setting function mapping table according to the identification information includes:
[0020] When it is determined according to the identification information that the sub-function is the first function, controlling the indicator light to flash at a first preset frequency in the first color;
[0021] When it is determined according to the identification information that the sub-function is the second function, the indicator light is controlled to flash at a second preset frequency in the first color.
[0022] Optionally, before obtaining the sub-process currently being executed in the function setting process, the process further includes:
[0023] After determining that a start signal is received, an operation of acquiring a sub-process currently being executed in the function setting process is performed, wherein the start signal is generated by a user responding to a second preset button.
[0024] Optionally, after obtaining the function setting process, the method further includes:
[0025] Determine a function setting index according to the function setting process;
[0026] The function setting index is controlled to be outputted, so that the user can output a corresponding signal to the printer according to the function setting index.
[0027] In a second aspect, an embodiment of the present invention provides a device for setting printer functions, the device comprising:
[0028] An acquisition module, used to acquire a sub-process currently being executed in a function setting process, wherein the function setting process includes a plurality of sub-processes, and each sub-process corresponds to implementing a sub-function;
[0029] a determination module, used to determine a display mode of the indicator light corresponding to the sub-function, and receive target setting information for the sub-function under the display mode;
[0030] The setting module is used to obtain multiple target setting information corresponding to multiple sub-functions after executing multiple sub-processes in sequence, and complete the setting of the printer function according to the multiple target setting information.
[0031] In a third aspect, an embodiment of the present invention further provides a printing device, the printing device comprising:
[0032] at least one processor; and
[0033] a memory communicatively connected to the at least one processor; wherein,
[0034] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for setting the printer function described in any embodiment of the present invention.
[0035] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for setting the printer function described in any embodiment of the present invention when executed.
[0036] The printer function setting scheme of the embodiment of the present invention first obtains the sub-process currently executed in the function setting process, and the function setting process includes multiple sub-processes, and one sub-process corresponds to the implementation of one sub-function; then determines the display mode of the indicator light corresponding to the sub-function, and receives the target setting information of the sub-function in the display mode; after executing multiple sub-processes in sequence, finally obtains multiple target setting information corresponding to the multiple sub-functions, and completes the setting of the printer function according to the multiple target setting information. The scheme provided in this embodiment, when setting multiple functions of the printer, corresponds one indicator light display mode to one sub-function, so as to complete the setting of the current sub-function in the current indicator light display mode, so as to achieve simple and correct setting of multiple sub-functions through a single button, and achieves the beneficial effect of reducing the manufacturing cost of the printer and beautifying the appearance of the printer.
[0037] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the embodiments of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 is a flow chart of a method for setting printer functions provided by an embodiment of the present invention;
[0040] Figure 2 is another flowchart of a method for setting printer functions provided by an embodiment of the present invention;
[0041] Figure 3 is a structural schematic diagram of a device for setting printer functions provided by an embodiment of the present invention;
[0042] Figure 4 It is a structural schematic diagram of a printing device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0044] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0045] Figure 1 This is a flow chart of a method for setting printer functions provided by an embodiment of the present invention. This embodiment is applicable to the case of setting multiple functions of a printer. The method can be executed by a device for setting printer functions. The device can be implemented in the form of hardware and / or software. The device can be configured in a computer device such as a server. Figure 1 , the method may specifically include the following steps:
[0046] S110: Obtain the sub-process currently being executed in the function setting process.
[0047] The function setting process refers to a process for setting multiple sub-functions of the printer after starting the printer. The function setting process includes multiple sub-processes, and one sub-process corresponds to implementing one sub-function.
[0048] Exemplarily, the above sub-functions may include: concentration setting function, speed setting function, paper learning function, terminal connection function, paper type setting function and volume setting function, etc. The specific sub-function types implemented by the function setting process are not limited here.
[0049] Among them, in the above example, the concentration setting function is used to indicate the display concentration of the font color when the printer is printing. The higher the concentration, the darker the font color; the speed setting function is used to indicate the printing speed of the printer; the paper learning function is used to learn the length and width of the label to be printed when printing the label page; the terminal connection function is used to indicate the connection method between the printer and the user terminal; the paper type setting function is used to indicate the paper type required when performing the printing task; the volume setting function is used to indicate the prompt volume output by the printer to the user.
[0050] When setting multiple sub-functions of a printer, the existing solution is to set a function button for each sub-function on the printer body. This setting method is costly and affects the appearance of the printer. In view of this, the setting solution of the printer function provided in the embodiment of the present invention can realize orderly and correct setting of multiple sub-functions through one button, and the specific setting method can be shown in step S120.
[0051] S120: Determine a display mode of the indicator light corresponding to the sub-function, and receive target setting information for the sub-function in the display mode.
[0052] The printer is provided with an indicator light, and the current indicator light includes a plurality of display modes, and each sub-function corresponds to a display mode, so that a corresponding setting operation is performed on the current sub-function in each display mode corresponding to the sub-function.
[0053] Among them, the display method of the indicator light can be realized by displaying multiple colors, that is, one indicator light color corresponds to one sub-function; multiple flashing frequencies can also be displayed under the same color, that is, one flashing frequency corresponds to one sub-function; it can also be achieved by setting two indicator light colors (for example, red light and yellow light), and setting three flashing frequencies under each indicator light color (for example, always on, fast flashing and slow flashing) to obtain six display methods corresponding to six sub-functions, etc. The specific display method of the indicator light is not limited here.
[0054] The above-mentioned target setting information is the setting information obtained according to the current needs of the user. The method for obtaining the target setting information may be to obtain the number of responses of the response signal received within the preset time period, so as to determine the target setting information of the current sub-function according to the number of times the response signal is generated. Exemplarily, when the function setting process is executed to the concentration setting function, the indicator light is displayed in red. For example, three concentration gears are pre-set in the concentration setting function, which may be: concentration 1, concentration 2 and concentration 3. When the indicator light is displayed in red, it indicates that the current function setting process is executed to the concentration setting function. When the indicator light is displayed in red, the user can respond to the preset button. If the preset button is pressed once within the preset time, it indicates that the concentration 1 is set; if the preset button is pressed twice within the preset time, it indicates that the concentration 2 is set, etc. The setting of the current sub-function is completed by the number of responses to the preset button, so as to obtain the setting information of the concentration setting function.
[0055] The above-mentioned preset button can be a power button of the printer or an "ok" button. The type of specific preset button is not limited here; the above-mentioned preset time can be 3 seconds or 5 seconds, etc., and the selection of the specific value of the preset time is not limited here.
[0056] S130. After executing the multiple sub-processes in sequence, obtain multiple target setting information corresponding to the multiple sub-functions, and complete the setting of the printer function according to the multiple target setting information.
[0057] After the current sub-function is set in the current indicator light display mode, the next sub-process is obtained according to the function setting process, so as to determine the indicator light display mode corresponding to the next sub-process, so as to complete the setting of the next sub-function in the current display mode. After executing multiple sub-processes of the function setting process in sequence, the printer can be set according to the target setting information of the sub-function corresponding to each sub-process.
[0058] Exemplarily, when executing the concentration setting function, the indicator light is displayed in red, and two response signals are received when the red indicator light is displayed, indicating that the target setting information of the concentration setting function is concentration 2; when the next sub-process corresponds to the speed setting function, the indicator light of the speed setting function is green, and one response signal is received when the green indicator light is displayed, indicating that the target setting information of the speed setting function is speed 1, and so on. The settings of multiple sub-processes are completed in sequence, and the target setting information of the sub-functions corresponding to the multiple sub-processes is obtained.
[0059] In one embodiment, when a printer integrates many sub-functions, there is confusion about the display mode of the indicator light corresponding to each sub-function. Therefore, after calling the function setting process, it also includes: determining the function setting index according to the function setting process; controlling the output of the function setting index so that the user can output a corresponding signal to the printer according to the function setting index.
[0060] The above function setting index can be understood as a function setting flow chart of the printer, that is, after receiving the printer start signal, the printer is controlled to input the corresponding setting index according to the function setting process, so that the user can output the corresponding signal to the printer according to the function setting index.
[0061] Among them, the above-mentioned method of outputting the function setting index can be to print out the function setting index to the user so that the user can perform selection and setting operations of the corresponding sub-functions according to the function setting index; it can also be to display the function setting index to the user on the display screen of the user's mobile terminal or printer, etc. The specific method of outputting the function setting index is not limited here.
[0062] The above-mentioned function setting index may include: the specific sub-functions corresponding to each indicator light display mode, so that the user can clearly know which sub-function to set under the current display mode. It may also include the corresponding setting method under each sub-function, that is, when the user presses a preset button once, it can clearly set the first gear or the highest gear of the corresponding sub-function, etc. The content contained in the specific function setting index is not limited here.
[0063] Optionally, when outputting the function setting index, the last use record of the printer can be displayed in the output function setting index, that is, the user can clearly know the setting of each sub-function when using the printer last time. The purpose of this is that during the current setting process, if the setting of some sub-functions is the same as the setting of the previous sub-function, when executing the current sub-function, the user does not need to repeat the setting, and can click the "jump" button of the printer to indicate the execution of the setting sub-process of the next sub-function, etc., so as to save the setting time of the printer.
[0064] Among them, the above-mentioned method of displaying the last usage record of the printer in the function setting index after output can be to use a method of marking the last target setting information to display the last usage record of the printer. Exemplarily, the marking method can be bold display, marked eye-catching color display or display using a font different from other text, etc. The specific method of displaying the last usage record of the printer is not shown here.
[0065] The method for setting printer functions provided by the embodiment of the present invention first obtains the sub-process currently executed in the function setting process, and the function setting process includes multiple sub-processes, and one sub-process corresponds to the implementation of one sub-function; then determines the display mode of the indicator light corresponding to the sub-function, and receives the target setting information of the sub-function in the display mode; after executing multiple sub-processes in sequence, finally obtains multiple target setting information corresponding to the multiple sub-functions, and completes the setting of the printer function according to the multiple target setting information. The scheme provided by this embodiment, when setting multiple functions of the printer, corresponds one indicator light display mode to one sub-function, so as to complete the setting of the current sub-function in the current indicator light display mode, so as to achieve simple and correct setting of multiple sub-functions through a single button, and achieves the beneficial effect of reducing the manufacturing cost of the printer and beautifying the appearance of the printer.
[0066] Figure 2 It is another flowchart of the method for setting the printer function provided by an embodiment of the present invention. The relationship between this embodiment and the above embodiment is a further refinement of the corresponding features of the above embodiment.
[0067] like Figure 2 As shown, the method may include the following steps:
[0068] S210: Receive a start signal.
[0069] The start signal is used to instruct the printer to enter the printing state. Before entering the printing state, it is necessary to perform relevant setting operations on multiple sub-functions of the printer so that the printer prints according to the setting information of the multiple printers.
[0070] The start signal is generated by the user responding to the second preset button. For example, the current preset button can be a power button on the printer, or a related start button on the mobile terminal if the printer is connected to the user's mobile terminal. The specific type of the second preset button is not limited here.
[0071] S220: Obtain the sub-process currently being executed in the function setting process.
[0072] The function setting process includes multiple sub-processes, and one sub-process corresponds to the implementation of one sub-function.
[0073] S230: Obtain identification information of the sub-function.
[0074] The identification information of the sub-function may be determined by the implementation order of each sub-function in the function setting process, or may be determined according to the function name of each sub-function. The specific method for determining the identification information is not limited herein.
[0075] S231. Determine the light color and flashing frequency corresponding to the sub-function from the setting function mapping table according to the identification information.
[0076] In the setting function mapping table, the identification information of a sub-function corresponds to a light color and a light display frequency. For example, when the identification information corresponding to the concentration setting function is obtained, the corresponding light color and flashing frequency are determined from the setting function mapping table according to the current identification information. The indicator light is controlled to flash according to the light color and flashing frequency, for example, red, flashing frequency once per second, etc.
[0077] In an optional manner, in the setting function mapping table, a light color corresponds to at least one sub-function and at least one flickering frequency. It can be understood that the setting function mapping table may include multiple light colors, each light color includes multiple flickering frequencies, and each flickering frequency corresponds to a sub-function. Accordingly, the specific implementation of the above step S231 is to determine the target light color corresponding to the sub-function from the setting function mapping table according to the identification information, and determine the target flickering frequency of the sub-function under the target light color.
[0078] For example, taking the setting function mapping table as including the definition of the indicator light colors as red and yellow, the flashing frequency may include a first frequency, a second frequency and a third frequency; the above-mentioned target color is the color corresponding to the current sub-function in the setting function mapping table, and the target flashing frequency is the flashing frequency corresponding to the current sub-function.
[0079] When determining the light color and flashing frequency corresponding to the sub-function from the setting function mapping table according to the identification information, it is first necessary to determine the target light color corresponding to the sub-function from the setting function mapping table according to the identification information, that is, whether it is red or yellow, and further determine the target flashing frequency of the sub-function under the target light color from the setting function mapping table based on the determined identification information.
[0080] S240: Obtain the number of responses of response signals received within a preset time period under the target light color and the target flashing frequency.
[0081] When the control indicator light displays the target light color and flashes at the target flashing frequency, it indicates that the setting state of the current sub-function has been entered, and the user's target setting information for the current sub-function needs to be obtained.
[0082] In the setting function mapping table, one sub-function corresponds to at least one setting information. For example, the density setting function may include: density 1, density 2 and density 3; the speed setting function may include speed 1, speed 2 and speed 3; the paper setting function may include: seam mark paper, black mark paper and continuous paper, etc. In order to achieve accurate setting of each sub-function, the target setting information of the current sub-function may be determined by obtaining the number of responses of the response signal received within a preset time period under the target light color and the target flashing frequency.
[0083] Among them, the above response signal is generated by the user responding to the first preset button. The current first preset button can be the same button as the second preset button in step S210, or a different button. The specific type of the first preset button is not limited here.
[0084] When the indicator light of the printer flashes with the target light color and the target flashing frequency, the user can indicate the required setting gear for the current sub-function by responding to the first preset button for a certain number of times. For example, in the paper setting function, if the required paper type is continuous paper, the first preset button can be pressed three times.
[0085] After the user presses the first preset button, a corresponding response signal may be generated, and the user's requirement setting information for the current sub-function may be determined by the number of responses to the response signal received within a preset time.
[0086] Among them, the above preset time can be 3 seconds, 5 seconds or 10 seconds, etc., and the specific length of the preset time is not limited here.
[0087] S241. Determine target setting information of a sub-function according to the number of responses based on a setting function mapping table.
[0088] Taking the target setting information of the concentration setting function as an example, when the indicator light displays the target light color at the target flashing frequency corresponding to the concentration setting identifier, two response signals are received within the preset time. Then, based on the two response signals, it can be determined that the target setting information of the concentration setting function is concentration 2.
[0089] In one embodiment, the light color includes a first color; the sub-function includes a first function and a second function; the light color and flashing frequency corresponding to the sub-function are determined from a setting function mapping table according to identification information, including: when the sub-function is determined to be the first function according to the identification information, the control indicator light flashes at a first preset frequency in the first color; when the sub-function is determined to be the second function according to the identification information, the control indicator light flashes at a second preset frequency in the first color.
[0090] Optionally, the light color includes a first color and a second color; under the first color, the sub-function includes a first function, a second function and a third function; under the second color, the sub-function includes a fourth function, a third function and a sixth function. According to the identification information, the light color and flashing frequency corresponding to the sub-function are determined from the setting function mapping table, including: when the sub-function is determined to be the first function according to the identification information, the control indicator light flashes at a first preset frequency in the first color; when the sub-function is determined to be the second function according to the identification information, the control indicator light flashes at a second preset frequency in the first color; when the sub-function is determined to be the third function according to the identification information, the control indicator light flashes at a third preset frequency in the first color; when the sub-function is determined to be the fourth function according to the identification information, the control indicator light flashes at a first preset frequency in the second color; when the sub-function is determined to be the fifth function according to the identification information, the control indicator light flashes at a second preset frequency in the second color; when the sub-function is determined to be the sixth function according to the identification information, the control indicator light flashes at a third preset frequency in the second color. The advantage of such a setting is that the setting of six sub-functions can be completed by displaying two indicator light colors and three indicator light flashing frequencies through one indicator light.
[0091] A complete implementation example includes indicator light colors including red and yellow, and indicator light flashing frequencies including no flashing (always on), slow flashing, and fast flashing. The function setting process includes sub-processes corresponding to the sub-functions implemented including: function setting index, concentration setting function, paper type setting function, speed setting function, paper learning function, terminal connection function, and volume setting function, etc.
[0092] The method for setting the above sub-functions using the printer function setting method provided by the present embodiment can be as follows: after receiving the start button, control the indicator light to work; when the indicator light is always red, control the output function setting index, and after the output is completed, the user can refer to the function setting index to perform relevant setting operations on the remaining sub-functions; next, control the indicator light to flash red slowly to enter the concentration setting function, the concentration setting function includes: concentration 1, concentration 2 and concentration 3, and the target setting information of the concentration setting function can be obtained by the number of times the start button is pressed within the preset time; after the concentration setting function is set, control the indicator light to flash red quickly to enter the paper type setting function, the paper type setting function includes: seam label, black label paper and continuous paper, and the target setting information of the paper type setting function can be obtained by the number of times the start button is pressed within the preset time; after the paper type setting function is set, control The control indicator light is always yellow. In this state, the printer automatically enters the paper learning function. After learning is completed, the automatic control indicator light flashes yellow slowly, and the printer enters the speed setting function. The speed setting function includes: speed 1, speed 2 and speed 3. The target setting information of the speed setting function can be obtained by the number of times the start button is pressed within the preset time. After the speed setting function is set, the control indicator light flashes yellow quickly, thereby entering the terminal connection function. The terminal connection function includes: wireless fidelity (WI-FI) connection and Bluetooth communication connection. The target setting information of the terminal connection function can be obtained by the number of times the start button is pressed within the preset time. After the terminal connection function is set, the control indicator light flashes red and yellow alternately, and the printer enters the volume setting function. The target setting information of the volume setting function can be obtained by increasing the volume each time the start button is pressed once within 1 second and decreasing it each time the start button is pressed twice.
[0093] Optionally, after obtaining the target setting information of each sub-function, before entering the sub-process of the next sub-function, the indicator light can be controlled to flash three times in green, indicating that the target setting information of the current sub-function is set successfully; if the setting fails, the indicator light can be controlled to flash three times in blue, so that the user can clearly know that the setting has failed and needs to be reset, etc. The specific indicator light display color and corresponding flashing frequency corresponding to each sub-function are not limited to the above examples.
[0094] S250 . After executing the multiple sub-processes in sequence, obtain multiple target setting information corresponding to the multiple sub-functions, and complete the setting of the printer function according to the multiple target setting information.
[0095] The printer function setting method provided in the embodiment of the present invention, when setting multiple functions of the printer, corresponds to one indicator light display mode through one sub-function, so as to complete the setting of the current sub-function under the current indicator light display mode, so as to realize simple and correct setting of multiple sub-functions through a single button, thereby achieving the beneficial effect of reducing the manufacturing cost of the printer and beautifying the appearance of the printer.
[0096] Figure 3 FIG. 1 is a schematic diagram of a structure of a device for setting printer functions provided by an embodiment of the present invention. The device is suitable for executing a method for setting printer functions provided by an embodiment of the present invention. Figure 3 As shown, the device may specifically include: an acquisition module 310, a determination module 320 and a setting module 330, wherein:
[0097] The acquisition module 310 is used to acquire the sub-process currently executed in the function setting process, wherein the function setting process includes multiple sub-processes, and each sub-process corresponds to implementing one sub-function;
[0098] A determination module 320, configured to determine a display mode of the indicator light corresponding to the sub-function, and receive target setting information for the sub-function in the display mode;
[0099] The setting module 330 is used to obtain multiple target setting information corresponding to multiple sub-functions after executing multiple sub-processes in sequence, and complete the setting of the printer function according to the multiple target setting information.
[0100] The device for setting printer functions provided by the embodiment of the present invention first obtains the sub-process currently executed in the function setting process, wherein the function setting process includes multiple sub-processes, and one sub-process corresponds to one sub-function; then determines the display mode of the indicator light corresponding to the sub-function, and receives the target setting information of the sub-function in the display mode; after executing multiple sub-processes in sequence, finally obtains multiple target setting information corresponding to the multiple sub-functions, and completes the setting of the printer function according to the multiple target setting information. The scheme provided by this embodiment, when setting multiple functions of the printer, one sub-function corresponds to one indicator light display mode, so as to complete the setting of the current sub-function in the current indicator light display mode, so as to achieve simple and correct setting of multiple sub-functions through a single button, thereby achieving the beneficial effect of reducing the manufacturing cost of the printer and beautifying the appearance of the printer.
[0101] In one embodiment, the display method includes light color and flashing frequency;
[0102] The determination module 320 is specifically used to obtain the identification information of the sub-function; and determine the light color and flashing frequency corresponding to the sub-function from the setting function mapping table according to the identification information.
[0103] In one embodiment, in the setting function mapping table, a light color corresponds to at least one sub-function and at least one flashing frequency;
[0104] The determination module 320 is further specifically configured to determine the target light color corresponding to the sub-function from the setting function mapping table according to the identification information, and determine the target flashing frequency of the sub-function under the target light color.
[0105] In one embodiment, the determination module 320 is further specifically used to obtain the number of responses of the response signal received within a preset time period under the target light color and the target flashing frequency; determine the target setting information of the sub-function according to the number of responses based on the setting function mapping table, the response signal is generated by the user responding to the first preset button, and in the setting function mapping table, one sub-function corresponds to at least one setting information.
[0106] In one embodiment, the light color includes a first color; the sub-function includes a first function and a second function;
[0107] The determination module 320 is further specifically used to control the indicator light to flash at a first preset frequency in the first color when it is determined that the sub-function is the first function according to the identification information; and to control the indicator light to flash at a second preset frequency in the first color when it is determined that the sub-function is the second function according to the identification information.
[0108] In one embodiment, the determination module 320 is further configured to execute an operation of obtaining a sub-process currently being executed in the function setting process after determining that a start signal is received, wherein the start signal is generated by a user responding to a second preset button.
[0109] In one embodiment, the determination module 320 is further configured to determine a function setting index according to the function setting process; and control output of the function setting index so that the user can output a corresponding signal to the printer according to the function setting index.
[0110] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0111] An embodiment of the present invention also provides a printing device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for setting the printer function described in any embodiment of the present invention.
[0112] An embodiment of the present invention further provides a computer-readable medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for setting the printer function described in any embodiment of the present invention when executed.
[0113] Reference below Figure 4 , which shows a schematic diagram of the structure of a computer system 500 suitable for implementing a printing device according to an embodiment of the present invention. Figure 4 The printing device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0114] like Figure 4 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0115] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0116] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.
[0117] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0118] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0119] The modules and / or units involved in the embodiments of the present invention may be implemented in software or hardware. The modules and / or units described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module, a determination module, and a setting module. The names of these modules do not, in some cases, constitute limitations on the modules themselves.
[0120] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining the sub-process currently executed in the function setting process, the function setting process includes multiple sub-processes, one sub-process corresponds to a sub-function, determines the display mode of the indicator light corresponding to the sub-function, and receives the target setting information of the sub-function under the display mode; after executing multiple sub-processes in sequence, obtains multiple target setting information corresponding to multiple sub-functions, and completes the setting of the printer function according to the multiple target setting information.
[0121] According to the technical solution of an embodiment of the present invention, when setting multiple functions of the printer, one sub-function corresponds to one indicator light display mode, so that the setting of the current sub-function can be completed under the current indicator light display mode, so that multiple sub-functions can be simply and correctly set with a single button, thereby achieving the beneficial effects of reducing the manufacturing cost of the printer and beautifying the appearance of the printer.
[0122] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for setting printer functions, characterized in that: The method comprises: After determining that the start signal is received, obtaining the sub-process currently executed in the function setting process, wherein the function setting process includes multiple sub-processes, and each sub-process corresponds to implementing one sub-function; the start signal is generated by the user responding to the second preset button; Determine the display mode of the indicator light corresponding to the sub-function according to the currently executed sub-process, and receive the target setting information of the sub-function under the display mode; after completing the setting of the current sub-function under the display mode of the current indicator light, continue to obtain the next sub-process according to the function setting process, so as to determine the display mode of the indicator light corresponding to the next sub-process; The method of determining the target setting information of the sub-function is as follows: obtaining the number of responses of the response signal received within a preset time period, so as to determine the target setting information of the current sub-function according to the number of response signals generated, wherein the response signal is generated by the user responding to the first preset button; after executing the plurality of sub-processes in sequence, obtaining a plurality of target setting information corresponding to the plurality of sub-functions, and completing the setting of the printer function according to the plurality of target setting information; the first preset button and the second preset button are the same button; After obtaining the function setting process, the method further includes: A function setting index is determined according to the function setting process; and the function setting index is controlled to be output, so that a user can output a corresponding signal to the printer according to the function setting index.
2. The method according to claim 1, characterized in that The display method includes light color and flashing frequency; The determining the display mode of the indicator light corresponding to the sub-function includes: Obtaining identification information of the sub-function; The light color and the flashing frequency corresponding to the sub-function are determined from a setting-function mapping table according to the identification information.
3. The method according to claim 2, characterized in that In the setting-function mapping table, a light color corresponds to at least one sub-function and at least one flashing frequency; The determining the light color and the flashing frequency corresponding to the sub-function from the setting-function mapping table according to the identification information includes: The target light color corresponding to the sub-function is determined from the setting-function mapping table according to the identification information, and the target flashing frequency of the sub-function under the target light color is determined.
4. The method according to claim 3, characterized in that The receiving target setting information for the sub-function in the display mode includes: Acquire the number of responses of the response signal received within a preset time period under the target light color and the target flashing frequency; The target setting information of the sub-function is determined according to the number of responses based on the setting-function mapping table, in which one sub-function corresponds to at least one setting information.
5. The method according to claim 2, characterized in that: The light color includes a first color; the sub-function includes a first function and a second function; The determining the light color and the flashing frequency corresponding to the sub-function from a setting-function mapping table according to the identification information includes: When it is determined according to the identification information that the sub-function is the first function, controlling the indicator light to flash at a first preset frequency in the first color; When it is determined according to the identification information that the sub-function is the second function, the indicator light is controlled to flash at a second preset frequency in the first color.
6. A device for setting printer functions, characterized in that: include: An acquisition module, configured to acquire a sub-process currently being executed in a function setting process after determining that a start signal has been received, wherein the function setting process includes a plurality of sub-processes, and each sub-process corresponds to implementing a sub-function; the start signal is generated by a user responding to a second preset button; A determination module, used to determine the display mode of the indicator light corresponding to the sub-function according to the currently executed sub-process, and receive the target setting information of the sub-function under the display mode, and after completing the setting of the current sub-function under the display mode of the current indicator light, continue to obtain the next sub-process according to the function setting process, so as to determine the display mode of the indicator light corresponding to the next sub-process; The method of determining the target setting information of the sub-function is: obtaining the number of responses of the response signal received within a preset time period, so as to determine the target setting information of the current sub-function according to the number of response signals generated, wherein the response signal is generated by the user responding to the first preset button; A setting module is used to obtain a plurality of target setting information corresponding to the plurality of sub-functions after executing the plurality of sub-processes in sequence, and complete the setting of the printer function according to the plurality of target setting information; the first preset button and the second preset button are the same button; The determining module is further configured to determine a function setting index according to the function setting process; and control the output of the function setting index so that the user can output a corresponding signal to the printer according to the function setting index.
7. A printing device, characterized in that: The printing device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for setting the printer function according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for setting the printer function as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Hand ring control method, device, and control terminal
CN109040458A
Function setting method and device of printing equipment and printing equipment
CN113741833A