Method, device, equipment, storage medium and program product for setting printing parameters
By setting a handwriting or scanning configuration mode on the printer to generate and scan information pages, the problem of needing auxiliary equipment for printer parameter settings is solved, enabling fast and accurate parameter settings.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHUHAI PANTUM ELECTRONICS CO LTD
- Filing Date
- 2024-12-17
- Publication Date
- 2026-06-02
AI Technical Summary
In existing technologies, printer parameter settings require auxiliary equipment, making setup difficult, especially for users who do not have other electronic devices or are not proficient in using electronic devices.
By setting a handwriting configuration mode or a scan configuration mode on the printer, an information page can be generated and scanned, and parameter setting instructions can be output, simplifying the process of setting printing parameters.
It enables quick and accurate setting of printing parameters without the need for other electronic devices, reducing the difficulty of setting up parameters and improving the convenience and accuracy of parameter setting.
Smart Images

Figure CN119806440B_ABST
Abstract
Description
Technical Field
[0001] This application relates to network configuration technology, and more particularly to a method, apparatus, device, storage medium, and program product for setting printing parameters. Background Technology
[0002] Currently, many printers have built-in wireless communication chips, facilitating connection to local area networks (LANs) in offices or homes. Connecting a device to a LAN typically requires entering a string such as an SSID or password, but not all printers allow for convenient string input. For example, some printers only have physical buttons on their control panels (up, down, left, right, and confirm), making direct character input difficult; others, while having touchscreens, have small screens that hinder virtual keyboard input.
[0003] In existing technology, users can install an APP provided by the printer manufacturer. Users can enter the SSID or password on their mobile phones or PCs, and then the APP transmits network configuration information to the printer via Bluetooth or AP hotspot. The printer then uses this information to connect to the router to access the local area network.
[0004] However, in existing technologies, users need to prepare their own mobile phones or PCs and install the corresponding apps. If users do not have other electronic devices with them, they cannot complete the network configuration. There may be issues where users do not have a mobile phone or PC that meets the requirements in advance when they need to configure the network, resulting in the inability to complete the configuration. Alternatively, considering that some users are not good at using electronic devices, such as elderly users, they may not be able to download the app and find the network configuration interface, making it impossible to complete the network configuration and other parameter settings. This may lead to the need for auxiliary equipment to set the printer's printing parameters, making the settings more difficult. Summary of the Invention
[0005] This application provides a method, apparatus, device, storage medium, and program product for setting printing parameters, which aims to reduce the difficulty of setting printing parameters for printers.
[0006] In a first aspect, embodiments of this application provide a method for setting printing parameters, including:
[0007] In response to a selection operation, a configuration mode for the image forming apparatus is determined; wherein the configuration mode is used to configure the printing parameters of the image forming apparatus;
[0008] Execute the target operation according to the configuration mode;
[0009] According to the target operation, the printing parameters of the image forming device are set.
[0010] In one possible implementation, performing the target operation according to the configuration mode includes:
[0011] If the configuration mode is handwriting configuration mode, then a handwriting print request is generated;
[0012] Based on the handwritten print request, print processing is performed, and a first information page is output; wherein, the first information page contains multiple names of parameters to be configured and a corresponding field to be filled in for each name of parameter to be configured; the name of parameter to be configured is a preset name, or a custom-selected name;
[0013] In response to the filling operation on the first information page, the first information page after filling is scanned to obtain the parameter value corresponding to each of the parameter names to be configured.
[0014] In one possible implementation, the step of performing printing processing and outputting a preset first information page according to the handwritten printing request includes:
[0015] Based on the handwritten printing request, determine the coordinate values of each position to be filled in the preset first information page;
[0016] Generate a QR code based on the coordinates of each location to be filled in;
[0017] The first information page and the QR code on the first information page are printed to output the first information page.
[0018] In one possible implementation, the step of scanning the filled-in first information page in response to the filling operation on the first information page to obtain the parameter value corresponding to each of the parameter names to be configured includes:
[0019] In response to the filling operation on the first information page, scan and recognize the QR code on the first information page after filling;
[0020] If it is determined that the QR code does not exist in the first information page, then the entire first information page after filling in the information is scanned to obtain the parameter value corresponding to each of the parameter names to be configured.
[0021] In one possible implementation, the step of scanning the filled-in first information page in response to the filling operation on the first information page to obtain the parameter value corresponding to each of the parameter names to be configured includes:
[0022] In response to the filling operation on the first information page, scan and recognize the QR code on the first information page after filling;
[0023] If it is determined that the QR code exists in the first information page, then the QR code is parsed to obtain the coordinate values of each position to be filled in;
[0024] Based on the coordinates of each location to be filled, read the parameter value corresponding to each of the parameter names to be configured.
[0025] In one possible implementation, performing the target operation according to the configuration mode includes:
[0026] If the configuration mode is a scan configuration mode, then scan the second information page output by other image forming devices to obtain the parameter value corresponding to each configured parameter name; wherein, the second information page contains multiple configured parameter names and the parameter value corresponding to each configured parameter name; the configured parameter name is a preset name, or a custom-selected name.
[0027] In one possible implementation, before setting the printing parameters of the image forming apparatus according to the target operation, the method further includes:
[0028] In response to a trigger operation on the Wi-Fi physical key of the image forming device, the network configuration status of the image forming device is detected;
[0029] If the network configuration status indicates that the image forming device is in an unconfigured state, then a third information page is printed and output; wherein, the third information page contains multiple names of parameters to be configured and a corresponding field to be filled in for each name of parameter to be configured; the name of the parameter to be configured is a preset name, or a custom-selected name;
[0030] In response to the filling operation of the third information page, the filled third information page is scanned to obtain the parameter value corresponding to each of the parameter names to be configured.
[0031] In one possible implementation, the process of setting the printing parameters of the image forming apparatus according to the target operation includes:
[0032] The parameter value corresponding to the parameter name to be configured obtained from the target operation scan, or the parameter value corresponding to the already configured parameter name, is subjected to regular expression matching to obtain the setting instruction corresponding to the parameter value;
[0033] The printing parameters of the image forming device are set according to the setting instructions.
[0034] In one possible implementation, before setting the printing parameters of the image forming apparatus according to the target operation, the method further includes:
[0035] If abnormal information is obtained during the scanning of the first or second information page, the abnormality reminder information will be displayed on the operation panel of the image forming device.
[0036] In response to the viewing operation of the abnormality alert information and the modification operation of the abnormality information, the modified parameter value is obtained.
[0037] Secondly, embodiments of this application provide a device for setting printing parameters, including:
[0038] An acquisition module is used to determine the configuration mode of the image forming device in response to a selection operation; wherein the configuration mode is used to configure the printing parameters of the image forming device;
[0039] An execution module is used to perform the target operation according to the configuration mode;
[0040] The setting module is used to set the printing parameters of the image forming device according to the target operation.
[0041] In one possible implementation, the execution module includes:
[0042] The generation unit is used to generate a handwritten printing request if the configuration mode is a handwritten configuration mode.
[0043] The output unit is configured to perform printing processing according to the handwritten printing request and output a first information page; wherein the first information page contains multiple configurable parameter names and a corresponding field to be filled in for each configurable parameter name; the configurable parameter name is a preset name or a custom-selected name;
[0044] The scanning unit is used to scan the filled-in first information page in response to the filling operation of the first information page, and obtain the parameter value corresponding to each of the parameter names to be configured.
[0045] In one possible implementation, the output unit is specifically used for:
[0046] Based on the handwritten printing request, determine the coordinate values of each position to be filled in the preset first information page;
[0047] Generate a QR code based on the coordinates of each location to be filled in;
[0048] The first information page and the QR code on the first information page are printed to output the first information page.
[0049] In one possible implementation, the scanning unit is specifically used for:
[0050] In response to the filling operation on the first information page, scan and recognize the QR code on the first information page after filling;
[0051] If it is determined that the QR code does not exist in the first information page, then the entire first information page after filling in the information is scanned to obtain the parameter value corresponding to each of the parameter names to be configured.
[0052] In one possible implementation, the scanning unit is specifically used for:
[0053] In response to the filling operation on the first information page, scan and recognize the QR code on the first information page after filling;
[0054] If it is determined that the QR code exists in the first information page, then the QR code is parsed to obtain the coordinate values of each position to be filled in;
[0055] Based on the coordinates of each location to be filled, read the parameter value corresponding to each of the parameter names to be configured.
[0056] In one possible implementation, the execution module is specifically used for:
[0057] If the configuration mode is a scan configuration mode, then scan the second information page output by other image forming devices to obtain the parameter value corresponding to each configured parameter name; wherein, the second information page contains multiple configured parameter names and the parameter value corresponding to each configured parameter name; the configured parameter name is a preset name, or a custom-selected name.
[0058] In one possible implementation, the device is further specifically used for:
[0059] Before setting the printing parameters of the image forming device according to the target operation, the network configuration status of the image forming device is detected in response to a trigger operation on the Wi-Fi physical key of the image forming device;
[0060] If the network configuration status indicates that the image forming device is in an unconfigured state, then a third information page is printed and output; wherein, the third information page contains multiple names of parameters to be configured and a corresponding field to be filled in for each name of parameter to be configured; the name of the parameter to be configured is a preset name, or a custom-selected name;
[0061] In response to the filling operation of the third information page, the filled third information page is scanned to obtain the parameter value corresponding to each of the parameter names to be configured.
[0062] In one possible implementation, the setting module is specifically used for:
[0063] The parameter value corresponding to the parameter name to be configured obtained from the target operation scan, or the parameter value corresponding to the already configured parameter name, is subjected to regular expression matching to obtain the setting instruction corresponding to the parameter value;
[0064] The printing parameters of the image forming device are set according to the setting instructions.
[0065] In one possible implementation, the device is further specifically used for:
[0066] Before setting the printing parameters of the image forming device according to the target operation, if abnormal information is obtained during the scanning of the first information page or the second information page, the abnormality reminder information is displayed on the operation panel of the image forming device.
[0067] In response to the viewing operation of the abnormality alert information and the modification operation of the abnormality information, the modified parameter value is obtained.
[0068] Thirdly, embodiments of this application provide an image forming apparatus, including: a memory and a processor;
[0069] The memory stores computer-executed instructions;
[0070] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0071] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0072] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0073] The printing parameter setting method, apparatus, device, storage medium, and program product provided in this application embodiment, in response to a selection operation, determine a configuration mode for an image forming apparatus; wherein, the configuration mode is used to configure the printing parameters of the image forming apparatus. A target operation is executed according to the configuration mode. The printing parameters of the image forming apparatus are set according to the target operation. In this solution, the corresponding target operation is executed through the configuration mode selected by the user, and the printing parameters of the image forming apparatus are set according to the target operation, thereby completing the parameter setting of the image forming apparatus. Therefore, compared to existing technologies where all printing parameters must be manually set one by one through the UI, this application performs simple printing and scanning operations through a configuration mode. It allows users to handwrite configuration information and scan it into the printer, or copy settings from one printer to another. It can also be used for users to batch set printer parameters, back up printer parameters, configure Wi-Fi networks, or perform other complex parameter settings. The transmission medium is simple and readily available, allowing for quick printer setup with high accuracy, effectively avoiding errors or omissions. Furthermore, it uses printed documents for transmission, making it intuitive, simple, and easy to access. No external electronic devices are required, and even those unfamiliar with printer functions can easily configure parameters, thus reducing the difficulty of setting printer parameters. Attached Figure Description
[0074] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0075] Figure 1 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 1 ;
[0076] Figure 2 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 2 ;
[0077] Figure 3 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 3 ;
[0078] Figure 4 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 4 ;
[0079] Figure 5 A scenario illustration of a method for setting printing parameters provided in this application. Figure 1 ;
[0080] Figure 6A flowchart illustrating a method for setting printing parameters provided in this application. Figure 5 ;
[0081] Figure 7 A scenario illustration of a method for setting printing parameters provided in this application. Figure 2 ;
[0082] Figure 8 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 6 ;
[0083] Figure 9 A scenario illustration of a method for setting printing parameters provided in this application. Figure 3 ;
[0084] Figure 10 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 7 ;
[0085] Figure 11 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 8 ;
[0086] Figure 12 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 9 ;
[0087] Figure 13 A schematic diagram of a printing parameter setting device provided in this application;
[0088] Figure 14 A schematic diagram of another printing parameter setting device provided in this application;
[0089] Figure 15 This is a schematic diagram of the structure of an image forming apparatus provided in an embodiment of this application.
[0090] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0091] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application.
[0092] Currently, many printers have built-in wireless communication chips, facilitating connection to local area networks (LANs) in offices or homes. Connecting a device to a LAN typically requires entering a string such as an SSID or password, but not all printers allow for convenient string input. For example, some printers only have physical buttons on their control panels (up, down, left, right, and confirm), making direct character input difficult; others, while having touchscreens, have small screens that hinder virtual keyboard input.
[0093] In one example, a user can install an app provided by the printer manufacturer. The user enters the SSID or password on their phone or PC, and the app transmits network configuration information to the printer via Bluetooth or an access point (AP) hotspot. The printer then uses this information to connect to the router and access the local area network (LAN). However, in existing technologies, users need to prepare their own phones or PCs and install the corresponding app. If the user doesn't have other electronic devices available, network configuration cannot be completed. This could lead to problems such as users not having a suitable phone or PC prepared beforehand, making network configuration impossible. Alternatively, considering that some users are not proficient in using electronic devices, such as elderly users, they may not be able to download the app and find the network configuration interface, making it difficult to complete network configuration and other parameter settings. This could result in printer parameter settings requiring assistance, making setup more difficult. In one implementation, printing parameters can be printer-related parameters, such as printer communication parameters, engine control parameters, or operation panel display parameters.
[0094] In one example, printer A can generate a QR code containing its network parameters and print it out. Printer B can then scan this QR code to read the network parameters and configure the network. However, printer A needs to pre-store the accurate SSID and password. If printer A does not store this information, it cannot generate a QR code for printer B to read. For example, printer A should output its own Wi-Fi hotspot information or the Wi-Fi information of the router it is connected to to ensure the accuracy of the output information. Alternatively, if the user is not proficient in using QR code-related functions, parameter settings cannot be achieved.
[0095] Based on the above scenarios, it can be seen that in the existing technology, there is a technical problem that setting the printer's printing parameters requires the use of auxiliary equipment, which makes the setting process relatively difficult.
[0096] The method for setting printing parameters provided in this application solves the technical problem of the high difficulty in setting printing parameters for printers.
[0097] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0098] Figure 1 A flowchart illustrating the method for setting the printing parameters provided in this application. Figure 1 ,like Figure 1 As shown, the method includes:
[0099] S101. In response to the selection operation, determine the configuration mode of the image forming device; wherein the configuration mode is used to configure the printing parameters of the image forming device.
[0100] For example, the execution subject of this embodiment can be an image forming apparatus. First, the image forming apparatus is provided with an operation panel, on which there are multiple operation buttons. The operation panel can also display a user interface (UI) for human-computer interaction. The user can perform a selection operation on the operation panel. In response to the user's selection operation, the configuration mode of the image forming apparatus is determined. The configuration mode is used to determine the parameter values of the image forming apparatus and configure the printing parameters of the image forming apparatus according to the parameter values.
[0101] For example, if the user selects "Print Handwritten Parameter Form," the image forming device will be configured in handwritten configuration mode. Alternatively, if the user selects "Print Parameter Settings Page," the image forming device will be configured in scan configuration mode.
[0102] S102. Execute the target operation according to the configuration mode.
[0103] For example, if the configuration mode is handwritten configuration mode, a handwritten print request is generated. Based on the handwritten print request, printing processing is performed, and a first information page is output. This first information page contains multiple names of parameters to be configured and corresponding fields to be filled in for each parameter name. Users can fill in the fields on the first information page and place the filled-in first information page at the scanning position. In response to the user's input, the filled-in first information page is scanned, and the parameter value corresponding to each parameter name to be configured is identified.
[0104] Alternatively, if the configuration mode is scan configuration mode, it is necessary to obtain the second information page output by other image forming devices. These other image forming devices are devices with pre-set printing parameters. The second information page contains multiple configured parameter names and the parameter values corresponding to each configured parameter name. Then, the second information page output by the other image forming devices is scanned to obtain the parameter values corresponding to each configured parameter name.
[0105] It should be noted that when scanning the information page, you can use the scanning function of the flatbed scanner (FlatBed, FB) or automatic document feeder (ADF) built into the image forming device. Scanning the information page will copy the settings parameters on that page and quickly apply them to this printer. The information page can be a second information page selected for printing by another image forming device with pre-configured printing parameters; or it can be a first information page selected for printing by the current image forming device itself, after which the user manually fills in the parameter values from the first information page to obtain a page with the filled-in parameter information.
[0106] S103. Based on the target operation, the printing parameters of the image forming device are set and processed.
[0107] For example, the parameter values obtained by the target operation scan are subjected to regular expression matching to obtain the setting instructions corresponding to the parameter values, and the printing parameters of the image forming device are set according to the setting instructions to complete the parameter setting.
[0108] The printing parameter setting method provided in this application embodiment determines the configuration mode of the image forming apparatus in response to a selection operation; wherein, the configuration mode is used to configure the printing parameters of the image forming apparatus. A target operation is executed according to the configuration mode. The printing parameters of the image forming apparatus are then set according to the target operation. In this solution, the corresponding target operation is executed through the configuration mode selected by the user, and the printing parameters of the image forming apparatus are set according to the target operation, thereby completing the parameter setting of the image forming apparatus. Therefore, compared to existing technologies where all printing parameters must be manually set one by one through the UI, this application performs simple printing and scanning operations through a configuration mode. It allows users to handwrite configuration information and scan it into the printer, or copy settings from one printer to another. It can also be used for users to batch set printer parameters, back up printer parameters, configure Wi-Fi networks, or perform other complex parameter settings. The transmission medium is simple and readily available, allowing for quick printer setup with high accuracy, effectively avoiding errors or omissions. Furthermore, it uses printed documents for transmission, making it intuitive, simple, and easy to access. No external electronic devices are required, and even those unfamiliar with printer functions can easily configure parameters, thus reducing the difficulty of setting printer parameters.
[0109] Figure 2 A flowchart illustrating the method for setting the printing parameters provided in this application. Figure 2 ,like Figure 2 As shown, in this embodiment... Figure 1 Based on the examples, the method for setting printing parameters is described in detail, including:
[0110] S201. In response to the selection operation, determine the configuration mode of the image forming apparatus; wherein the configuration mode is used to configure the printing parameters of the image forming apparatus.
[0111] For example, this step can be referred to Figure 1 Step 101 in the text will not be repeated here.
[0112] S202. Execute the target operation according to the configuration mode.
[0113] In one example, step 202 includes several methods:
[0114] The first implementation of step 202: If the configuration mode is handwritten configuration mode, a handwritten print request is generated; according to the handwritten print request, the print processing is performed, and the first information page is output; wherein, the first information page contains multiple names of parameters to be configured and the position to be filled in corresponding to each name of parameter to be configured; the name of parameter to be configured is a preset name, or a custom-selected name; in response to the filling operation of the first information page, the first information page after filling is scanned to obtain the parameter value corresponding to each name of parameter to be configured.
[0115] "Based on the handwritten print request, perform print processing and output a preset first information page", including: determining the coordinate values of each position to be filled in on the preset first information page according to the handwritten print request; generating a QR code based on the coordinate values of each position to be filled in; performing print processing on the first information page and the QR code on the first information page, and outputting the first information page.
[0116] "In response to the filling operation on the first information page, scan the first information page after filling to obtain the parameter value corresponding to each parameter name to be configured", including: in response to the filling operation on the first information page, scan and recognize the QR code in the first information page after filling; if it is determined that there is no QR code in the first information page, then perform a full page scan on the first information page after filling to obtain the parameter value corresponding to each parameter name to be configured.
[0117] "In response to the filling operation on the first information page, scan the filled first information page to obtain the parameter value corresponding to each parameter name to be configured," including: in response to the filling operation on the first information page, scan and recognize the QR code in the filled first information page; if it is determined that there is a QR code in the first information page, parse the QR code to obtain the coordinate values of each position to be filled; and read the parameter value corresponding to each parameter name to be configured based on the coordinate values of each position to be filled.
[0118] The second implementation of step 202: If the configuration mode is the scan configuration mode, then scan the second information page output by other image forming devices to obtain the parameter value corresponding to each configured parameter name; wherein, the second information page contains multiple configured parameter names and the parameter value corresponding to each configured parameter name; the configured parameter name is a preset name, or a custom selected name.
[0119] For steps 201 and 202, the method further includes a third implementation: in response to a trigger operation on the Wi-Fi physical key of the image forming device, the network configuration status of the image forming device is detected; if the network configuration status indicates that the image forming device is in an unconfigured state, a third information page is printed and output; wherein, the third information page contains multiple names of parameters to be configured and a corresponding field to be filled in for each name of parameter to be configured; the name of the parameter to be configured is a preset name or a custom-selected name; in response to a field filling operation on the third information page, the filled third information page is scanned to obtain the parameter value corresponding to each name of parameter to be configured.
[0120] For example, this application includes two configuration modes, which can be used to perform corresponding target operations according to the configuration mode selected by the user. Figure 3 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 3 ,like Figure 3 As shown, there are two configuration modes: handwriting configuration mode and scanning configuration mode. The handwriting and scanning configuration modes are determined by the user's selection on the operation panel UI. When the user selects "Print Hand-Filled Parameter Form," the configuration mode is handwriting configuration mode; conversely, when the user selects "Print Parameter Settings Page," the configuration mode is scanning configuration mode. Specifically, the "Print Parameter Settings Page" branch includes: selecting the setting parameter item to print via the UI, and printing the parameter settings information page (the second information page); the "Print Hand-Filled Parameter Form" branch includes: selecting the setting parameter item to be manually filled in via the UI, and printing the hand-filled parameter form (the first information page), where the user manually fills in the parameter information.
[0121] In the first implementation, Figure 4 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 4 ,like Figure 4 As shown, if the configuration mode is handwritten configuration mode, the parameter items to be set can be selected through the UI to obtain the parameter filling form; alternatively, the parameter items to be set can be determined based on preset parameter names, and the parameter filling form is not limited in this regard. The first information page contains multiple parameter names to be configured and corresponding fields to be filled in for each parameter name. Based on the parameter filling form, a handwritten print request is generated, and the parameter filling form is printed, outputting the first information page. Finally, the user manually fills in the parameter information, obtaining a page with the settings information, i.e., the first information page after filling. In response to this filling operation, the first information page after filling is scanned to obtain the parameter value corresponding to each parameter name to be configured.
[0122] Furthermore, to accurately obtain the coordinates of the positions to be filled, the coordinate values of each position to be filled in the preset first information page can be determined based on the handwritten printing request; a QR code is generated based on the coordinate values of each position to be filled in; the first information page and the QR code in the first information page are printed to output the first information page. The coordinate values can be represented using page description language. For example, the coordinate values can be pre-recorded as: LB(300, 6140)RT(650, 6180)F(SimSun)“Settings1=____”, which means that the text
Settings1=____
[0123] Furthermore, to avoid efficiency degradation caused by OCR scanning the entire document and to prevent confusion about which setting corresponds to which user-entered parameter, the QR code on the first information page after data entry can be scanned and recognized first. If the first information page does not include a QR code, the entire page is scanned directly to obtain the parameter value corresponding to each configurable parameter name. Alternatively, if the first information page includes a QR code, it is parsed first to obtain the coordinates of each field to be filled in, and the parameter value corresponding to each configurable parameter name is read selectively based on the coordinates of each field, thus speeding up the scanning of the first information page.
[0124] For example, Figure 5 A scenario illustration of a method for setting printing parameters provided in this application. Figure 1 ,like Figure 5 As shown, the settings information page (i.e., the first information page) consists of a fixed format, including: names of multiple settings items 1-5…, and the position to be filled in for each setting item. Each setting item is the name of the parameter to be configured, and there are n pages in total. Furthermore, the second information page also includes a QR code. The page contains the page's mark information, presented as a QR code. This mark information includes the device model, firmware version number, page attributes, and coordinates of the position to be filled in. The mark information can also be used by the device to distinguish it from ordinary pages and the first information page. Further, the settings information on the first information page consists of the name of the setting item and its parameters. For numeric parameters, the data range is indicated after the position to be filled in. For enumerated settings, all settings are printed on the page for the user to choose from. If the user's option is not among the printed enumerations, the user can select "Other" and then fill in the parameters. For example, for the Wi-Fi SSID, if the desired SSID is not printed, the user can enter it in the "Other" field.
[0125] In the second implementation, Figure 6A flowchart illustrating a method for setting printing parameters provided in this application. Figure 5 ,like Figure 6 As shown, if the configuration mode is scan configuration mode, the printing parameters of other image forming devices are first set. This setting can be done through the control panel UI, the handwriting configuration mode described in this application, or a mobile phone, etc., without limitation. Then, the printing parameters to be printed or the printing parameters to be copied to other machines are selected on the UI, and the parameter setting information page is printed, resulting in a page with setting information, i.e., the second information page; or, the parameter setting information page is printed directly according to preset parameter names, resulting in a page with setting information, i.e., the second information page. The second information page contains multiple configured parameter names and the parameter values corresponding to each configured parameter name. Furthermore, the second information page may also contain a QR code, which represents the coordinate values of the parameter values corresponding to each configured parameter name. Finally, the second information page output by other image forming devices is scanned to obtain the parameter values corresponding to each configured parameter name.
[0126] Furthermore, during the scanning of the second information page, the QR code on the second information page can be scanned and recognized first. If the second information page does not contain a QR code, the entire second information page is scanned directly to obtain the parameter value corresponding to each configured parameter name. Alternatively, if the second information page includes a QR code, the QR code is parsed first to obtain the coordinate values of each parameter value, and the parameter value corresponding to each configured parameter name is read selectively based on the coordinate values of each parameter value.
[0127] For example, Figure 7 A scenario illustration of a method for setting printing parameters provided in this application. Figure 2 ,like Figure 7 As shown, the settings information page (i.e., the second information page) consists of a fixed format, including: names of multiple settings items 1-n, and parameter values for each setting item. Each setting item is a name of a configured parameter, totaling n pages. Furthermore, the second information page also includes a QR code. The second information page contains a mark information, presented as a QR code. This mark information includes the device model, firmware version number, and page attributes used to print the information page. The mark information can also be used by the device to distinguish between ordinary pages and the second information page. Further, the settings information on the second information page consists of the names of the settings items and their parameter values. Normal settings parameters are printed directly in plaintext on the second information page. Sensitive parameter values are encrypted using an encryption algorithm, and then replaced with ciphertext before being printed on the second information page. For example, user Wi-Fi configuration information, account information, and passwords must be encrypted before printing.
[0128] For steps 201 and 202, the method also includes a third implementation. In this third implementation, selection is not required on the operation panel; instead, the target operation can be executed based on the trigger operation of the Wi-Fi physical key on the image forming device. Specifically, when the user presses the Wi-Fi physical key on the printer body, in response to this trigger operation, the image forming device detects its own network configuration status. If the network configuration status indicates that the image forming device is in an unconfigured state, i.e., no network configuration has been performed, then a third information page is printed and output without the user manually selecting a mode on the operation panel. The third information page contains multiple names of parameters to be configured and corresponding fields to be filled in for each parameter name. The names of the parameters to be configured can be preset names or custom-selected names, without limitation. In response to the filling operation on the third information page, the filled third information page is scanned and recognized, thereby obtaining the parameter value corresponding to each parameter name to be configured.
[0129] It should be noted that, for the three implementation methods described above, before outputting the first, second, or third information page, users can specifically select which parameters to configure on the operation panel. For example, in addition to the SSID and password, users can select other network configuration-related parameters, such as Wi-Fi channel selection; or parameters unrelated to network configuration, such as sleep time configuration. The printer can print the parameters selected by the user, and does not necessarily print fixed content information pages; that is, the content of the information pages is variable.
[0130] S203. If abnormal information is obtained during the scanning of the first or second information page, an abnormality reminder message will be displayed on the operation panel of the image forming device.
[0131] For example, Figure 8 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 6 ,like Figure 8 As shown, recognition anomalies may occur during the information recognition process. When scanning the first or second information page, if there is any unrecognizable abnormal information on the information page after the information on the first or second information page has been recognized, an anomaly reminder will be displayed on the UI of the operation panel. The anomaly reminder is used to prompt the user to confirm the information. Then the user can directly complete the confirmation process on the UI of the operation panel.
[0132] S204. In response to the viewing operation of the abnormal alert information and the modification operation of the abnormal information, obtain the modified parameter value.
[0133] For example, Figure 9 A scenario illustration of a method for setting printing parameters provided in this application. Figure 3 ,like Figure 9As shown, the top of the UI displays the scanned "original information image," which is the original string information image. Below the original string information image, the characters for "recognized information" are displayed, with each character shown in a separate box. For characters that failed to be recognized, only one box is displayed. When the user sees an error message, they can view the recognized characters and directly input the correct characters by clicking on the corresponding box. Furthermore, for characters that have already been recognized, if modifications are needed, they can also be made by clicking on the corresponding box. After modification, clicking "Confirm" completes the information confirmation and provides the modified parameter values.
[0134] S205. Perform regular expression matching on the parameter values corresponding to the names of the parameters to be configured obtained from the target operation scan, or the parameter values corresponding to the names of the already configured parameters, to obtain the setting instructions corresponding to the parameter values.
[0135] For example, if the configuration mode is handwritten configuration mode, then the parameter values corresponding to the names of the parameters to be configured obtained from the target operation scan are subjected to regular expression matching to obtain the setting instructions that correspond to multiple parameter values together, or the setting instructions corresponding to each parameter value individually, without limitation. If the configuration mode is scan configuration mode, then the parameter values corresponding to the names of the configured parameters obtained from the target operation scan are subjected to regular expression matching to obtain the setting instructions that correspond to multiple parameter values together, or the setting instructions corresponding to each parameter value individually, without limitation.
[0136] S206. According to the setting instructions, the printing parameters of the image forming device are set.
[0137] For example, the printing parameters of the image forming device are set according to the common corresponding setting instructions, or the individual corresponding setting instructions, to obtain the set printing parameters, thereby completing the parameter setting.
[0138] The printing parameter setting method provided in this application embodiment determines the configuration mode of the image forming device in response to a selection operation; wherein, the configuration mode is used to configure the printing parameters of the image forming device. According to the configuration mode, a target operation is performed. If abnormal information is obtained during the scanning of the first or second information page, an abnormality alert is displayed on the operation panel of the image forming device. In response to the viewing operation of the abnormality alert or the modification operation of the abnormality information, the modified parameter value is obtained. Regular expression matching is performed on the parameter value corresponding to the parameter name to be configured obtained from the target operation scanning, or the parameter value corresponding to the parameter name already configured, to obtain the setting instruction corresponding to the parameter value. The printing parameters of the image forming device are set according to the setting instruction. Therefore, compared to existing technologies where all printing parameters must be manually set one by one through the UI, this application performs simple printing and scanning operations through a configuration mode. It allows users to handwrite configuration information and scan it into the printer, or copy settings from one printer to another. It can also be used for users to batch set printer parameters, back up printer parameters, configure Wi-Fi networks, or perform other complex parameter settings. The transmission medium is simple and readily available, allowing for quick printer setup with high accuracy, effectively avoiding errors or omissions. Furthermore, it uses printed documents for transmission, making it intuitive, simple, and easy to access. No external electronic devices are required, and even those unfamiliar with printer functions can easily configure parameters, thus reducing the difficulty of setting printer parameters.
[0139] In one example Figure 10 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 7 ,like Figure 10 As shown, the scanning operation in the above three implementation methods, taking a printer as an example, includes: printing the printer; placing the information settings page on the scanner, which can be the first information page, the second information page, or the third information page; selecting to import configuration from scan via the UI; the printer obtains the settings information through scanning, which is the parameter value obtained from the scan; using the settings information and automatically completing the settings, that is, performing regular expression matching on the settings information to obtain the settings instructions, and completing the parameter settings according to the settings instructions.
[0140] In one example Figure 11 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 8 ,like Figure 11 As shown, it includes: an image acquisition unit; image information; processor information recognition; setting parameters; and a storage unit.
[0141] Specifically, the image acquisition unit consists of CIS or CCD devices. After the image acquisition unit acquires the image, it is transmitted to the processor for processing. Figure 12 A flowchart illustrating a method for setting printing parameters provided in this application. Figure 9 ,like Figure 12 As shown, after the processor receives the entire image page, it performs information recognition. First, it detects the mark information in the image to determine if the image is a settings information page. If the image is identified as a settings information page, the processor uses OCR technology to convert the image into text information. It then checks for encrypted information; if present, it uses the AES algorithm to convert the encrypted information into plaintext and performs regular expression matching on the text information. If not present, it performs regular expression matching on the text information. The matched information is then converted into setting instructions, and parameters are further set according to these instructions. If the image is not identified as a settings information page, the UI displays an information page error message. This completes the process from recognition to setting. After changing the printing parameters according to the setting instructions, the processor simultaneously writes these modified printing parameters into the storage unit so that the printing parameters can be directly read from the storage unit for continued use after the device restarts.
[0142] Figure 13 A schematic diagram of the structure of the printing parameter setting device provided in this application is shown below. Figure 13 As shown, the printing parameter setting device 30 provided in this embodiment includes:
[0143] The acquisition module 31 is used to determine the configuration mode of the image forming device in response to the selection operation; wherein the configuration mode is used to configure the printing parameters of the image forming device.
[0144] Execution module 32 is used to execute the target operation according to the configuration mode.
[0145] Setting module 33 is used to set the printing parameters of the image forming device according to the target operation.
[0146] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0147] Figure 14 This is a schematic diagram of another printing parameter setting device provided in an embodiment of this application. Figure 13 Based on the illustrated embodiments, as Figure 14 As shown, execution module 32 includes:
[0148] The generation unit 321 is used to generate a handwritten printing request if the configuration mode is handwritten configuration mode.
[0149] The output unit 322 is used to perform printing processing according to the handwritten printing request and output the first information page; wherein, the first information page contains multiple names of parameters to be configured and a corresponding field to be filled in for each name of parameter to be configured; the name of parameter to be configured is a preset name or a custom-selected name.
[0150] The scanning unit 323 is used to scan the filled-in first information page in response to the filling operation of the first information page, and obtain the parameter value corresponding to each parameter name to be configured.
[0151] In one possible implementation, the output unit 322 is specifically used for:
[0152] Based on the handwritten printing request, determine the coordinate values of each position to be filled in on the preset first information page;
[0153] Generate a QR code based on the coordinates of each location to be filled in;
[0154] Perform printing processing on the first information page and the QR code in the first information page, and output the first information page.
[0155] In one possible implementation, the scanning unit 323 is specifically used for:
[0156] In response to the filling operation on the first information page, scan and recognize the QR code on the first information page after filling;
[0157] If it is determined that there is no QR code in the first information page, then the entire first information page after filling in the information is scanned to obtain the parameter value corresponding to each parameter name to be configured.
[0158] In one possible implementation, the scanning unit 323 is specifically used for:
[0159] In response to the filling operation on the first information page, scan and recognize the QR code on the first information page after filling;
[0160] If it is determined that a QR code exists in the first information page, then the QR code is parsed to obtain the coordinate values of each location to be filled in;
[0161] Based on the coordinates of each location to be filled in, read the parameter value corresponding to each parameter name to be configured.
[0162] In one possible implementation, execution module 32 is specifically used for:
[0163] If the configuration mode is scan configuration mode, then scan the second information page output by other image forming devices to obtain the parameter value corresponding to each configured parameter name; wherein, the second information page contains multiple configured parameter names and the parameter value corresponding to each configured parameter name; the configured parameter name is a preset name, or a custom selected name.
[0164] In one possible implementation, the device is also specifically used for:
[0165] Before setting the printing parameters of the image forming device according to the target operation, the network configuration status of the image forming device is detected in response to the trigger operation of the Wi-Fi physical key of the image forming device;
[0166] If the network status indicates that the image forming device is in an unconfigured state, then the third information page will be printed and output. The third information page contains multiple names of parameters to be configured and the corresponding fields to be filled in for each name. The names of the parameters to be configured can be preset names or custom-selected names.
[0167] In response to the input operation on the third information page, the third information page after input is scanned to obtain the parameter value corresponding to each parameter name to be configured.
[0168] In one possible implementation, module 33 is configured specifically for:
[0169] Regular expression matching is performed on the parameter values corresponding to the names of the parameters to be configured obtained from the target operation scan, or the parameter values corresponding to the names of the already configured parameters, to obtain the setting instructions corresponding to the parameter values;
[0170] The printing parameters of the image forming device are set according to the setting instructions.
[0171] In one possible implementation, the device is also specifically used for:
[0172] Before setting the printing parameters of the image forming device according to the target operation, if abnormal information is obtained during the scanning of the first or second information page, an abnormality reminder message will be displayed on the operation panel of the image forming device.
[0173] In response to viewing or modifying error alerts, the modified parameter values are obtained.
[0174] The apparatus provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0175] Figure 15 A schematic diagram of the image forming apparatus provided in this application. Figure 15 As shown, the image forming apparatus 40 provided in this embodiment includes at least one processor 401 and a memory 402. Optionally, the apparatus 40 further includes a communication component 403. The processor 401, memory 402, and communication component 403 are connected via a bus 404.
[0176] In a specific implementation, at least one processor 401 executes computer execution instructions stored in memory 402, causing at least one processor 401 to perform the above-described method.
[0177] The specific implementation process of processor 401 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0178] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0179] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0180] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0181] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0182] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0183] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0184] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0185] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0186] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0187] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0188] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0189] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0190] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for setting printing parameters, characterized in that, include: In response to a selection operation, a configuration mode for the image forming apparatus is determined; wherein the configuration mode is used to configure the printing parameters of the image forming apparatus; Execute the target operation according to the configuration mode; According to the target operation, the printing parameters of the image forming device are set and processed; Before setting the printing parameters of the image forming apparatus according to the target operation, the method further includes: In response to a trigger operation on the Wi-Fi physical key of the image forming device, the network configuration status of the image forming device is detected; If the network configuration status indicates that the image forming device is in an unconfigured state, then a third information page is printed and output; wherein, the third information page contains multiple names of parameters to be configured and a corresponding field to be filled in for each name of parameter to be configured; the name of the parameter to be configured is a preset name, or a custom-selected name; In response to the filling operation of the third information page, the filled third information page is scanned to obtain the parameter value corresponding to each of the parameter names to be configured.
2. The method according to claim 1, characterized in that, The step of performing the target operation according to the configuration mode includes: If the configuration mode is handwriting configuration mode, then a handwriting print request is generated; Based on the handwritten print request, print processing is performed, and a first information page is output; wherein, the first information page contains multiple names of parameters to be configured and a corresponding field to be filled in for each name of parameter to be configured; the name of parameter to be configured is a preset name, or a custom-selected name; In response to the filling operation on the first information page, the first information page after filling is scanned to obtain the parameter value corresponding to each of the parameter names to be configured.
3. The method according to claim 2, characterized in that, The step of performing printing processing according to the handwritten printing request and outputting a preset first information page includes: Based on the handwritten printing request, determine the coordinate values of each position to be filled in the preset first information page; Generate a QR code based on the coordinates of each location to be filled in; The first information page and the QR code on the first information page are printed to output the first information page.
4. The method according to claim 3, characterized in that, In response to the filling operation on the first information page, the first information page after filling is scanned to obtain the parameter value corresponding to each of the parameter names to be configured, including: In response to the filling operation on the first information page, scan and recognize the QR code on the first information page after filling; If it is determined that the QR code does not exist in the first information page, then the entire first information page after filling in the information is scanned to obtain the parameter value corresponding to each of the parameter names to be configured.
5. The method according to claim 3, characterized in that, In response to the filling operation on the first information page, the first information page after filling is scanned to obtain the parameter value corresponding to each of the parameter names to be configured, including: In response to the filling operation on the first information page, scan and recognize the QR code on the first information page after filling; If it is determined that the QR code exists in the first information page, then the QR code is parsed to obtain the coordinate values of each position to be filled in; Based on the coordinates of each location to be filled, read the parameter value corresponding to each of the parameter names to be configured.
6. The method according to claim 1, characterized in that, The step of performing the target operation according to the configuration mode includes: If the configuration mode is a scan configuration mode, then scan the second information page output by other image forming devices to obtain the parameter value corresponding to each configured parameter name; wherein, the second information page contains multiple configured parameter names and the parameter value corresponding to each configured parameter name; the configured parameter name is a preset name, or a custom-selected name.
7. The method according to any one of claims 1-6, characterized in that, The step of setting the printing parameters of the image forming device according to the target operation includes: The parameter values corresponding to the names of the parameters to be configured obtained from the target operation scan, or the parameter values corresponding to the names of the already configured parameters, are subjected to regular expression matching to obtain the setting instructions corresponding to the parameter values; The printing parameters of the image forming device are set according to the setting instructions.
8. The method according to any one of claims 1-6, characterized in that, Before setting the printing parameters of the image forming apparatus according to the target operation, the method further includes: If abnormal information is obtained during the scanning of the first or second information page, an abnormality reminder message will be displayed on the operation panel of the image forming device. In response to the viewing operation of the abnormality alert information and the modification operation of the abnormality information, the modified parameter value is obtained.
9. A device for setting printing parameters, characterized in that, include: An acquisition module is used to determine the configuration mode of the image forming device in response to a selection operation; wherein the configuration mode is used to configure the printing parameters of the image forming device; An execution module is used to perform the target operation according to the configuration mode; The setting module is used to set the printing parameters of the image forming device according to the target operation; The processing module is used to detect the network configuration status of the image forming device in response to a trigger operation on the Wi-Fi physical key of the image forming device; If the network configuration status indicates that the image forming device is in an unconfigured state, then a third information page is printed and output; wherein, the third information page contains multiple names of parameters to be configured and a corresponding field to be filled in for each name of parameter to be configured; the name of the parameter to be configured is a preset name, or a custom-selected name; In response to the filling operation of the third information page, the filled third information page is scanned to obtain the parameter value corresponding to each of the parameter names to be configured.
10. An image forming apparatus, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-8.
12. A computer program product comprising a computer program that, when executed by a processor, implements the method of any one of claims 1-8.