CN115284760A - Printer fault overhauling method and device, printer and storage medium - Google Patents

Printer fault overhauling method and device, printer and storage medium Download PDF

Info

Publication number
CN115284760A
CN115284760A CN202211024719.XA CN202211024719A CN115284760A CN 115284760 A CN115284760 A CN 115284760A CN 202211024719 A CN202211024719 A CN 202211024719A CN 115284760 A CN115284760 A CN 115284760A
Authority
CN
China
Prior art keywords
printer
sliding cutter
paper
initial position
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211024719.XA
Other languages
Chinese (zh)
Other versions
CN115284760B (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Hanyin Co ltd
Original Assignee
Xiamen Hanyin Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Hanyin Electronic Technology Co Ltd filed Critical Xiamen Hanyin Electronic Technology Co Ltd
Priority to CN202211024719.XA priority Critical patent/CN115284760B/en
Publication of CN115284760A publication Critical patent/CN115284760A/en
Application granted granted Critical
Publication of CN115284760B publication Critical patent/CN115284760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/66Applications of cutting devices
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/66Applications of cutting devices
    • B41J11/663Controlling cutting, cutting resulting in special shapes of the cutting line, e.g. controlling cutting positions, e.g. for cutting in the immediate vicinity of a printed image

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The application discloses a method and a device for overhauling a printer fault, a printer and a storage medium, and relates to the technical field of image printing. Wherein, the method comprises the following steps: when the fact that a sliding cutter of the printer is clamped is detected, a first motor of the printer is controlled to rotate reversely, so that the sliding cutter returns to an initial position from a current position; controlling a second motor of the printer to rotate forward for a preset time so as to move the paper to be cut for a preset distance along a preset direction; controlling a first motor to rotate forwards so that the sliding cutter executes a paper cutting task on paper to be cut; and detecting whether the sliding cutter runs from the initial position to the target position or not in the process of executing the paper cutting task, and if the sliding cutter can run from the initial position to the target position, determining that the printer is successful in troubleshooting. The technical scheme that this application provided can make the printer overhaul automatically and relieve the trouble, need not artificial intervention, and the printing that can promote the user experiences the impression poor.

Description

Printer fault overhauling method and device, printer and storage medium
Technical Field
The application relates to the technical field of image printing, in particular to a method and a device for overhauling a printer fault, a printer and a storage medium.
Background
The printer uses a direct current motor to control a cutter assembly, a gear is assembled on the direct current motor, the cutter assembly is connected with the direct current motor through a belt, and paper cutting operation is executed by driving the cutter assembly to move. Among the prior art, when the printer trouble that leads to because of the card sword phenomenon (if the printer goes out the paper unusual, the paper that is gone out is folded etc.) appears in the printer, the unable automatic completion of printer overhauls, needs the manual work to remove for the user prints and experiences the impression poor. Therefore, when a printer fails, how to automatically repair and remove the printer becomes an urgent problem to be solved.
Disclosure of Invention
The application provides a printer fault overhauling method, a printer fault overhauling device, a printer and a storage medium, the printer can be automatically overhauled to remove the fault, manual intervention is not needed, and printing experience feeling of a user can be improved.
In a first aspect, the present application provides a method for repairing a printer failure, the method comprising:
when the sliding cutter of the printer is detected to be blocked, controlling a first motor of the printer to rotate reversely so as to enable the sliding cutter to return to an initial position from a current position;
controlling a second motor of the printer to rotate forward for a preset time so as to move the paper to be cut for a preset distance along a preset direction;
controlling the first motor to rotate forwards so that the sliding cutter executes a paper cutting task on the paper to be cut;
and in the process of executing a paper cutting task, detecting whether the sliding cutter runs from the initial position to a target position, and if the sliding cutter can run from the initial position to the target position, determining that the printer is successful in fault maintenance.
The embodiment of the application provides a method for overhauling a printer fault, which comprises the following steps: when the fact that a sliding cutter of the printer is clamped is detected, a first motor of the printer is controlled to rotate reversely, so that the sliding cutter returns to an initial position from a current position; controlling a second motor of the printer to rotate forward for a preset time so as to move the paper to be cut for a preset distance along a preset direction; controlling a first motor to rotate forwards so that the sliding cutter executes a paper cutting task on paper to be cut; in the process of executing the paper cutting task, whether the sliding cutter runs from the initial position to the target position or not is detected, and if the sliding cutter can run from the initial position to the target position, the printer is determined to be in trouble shooting success. When the printer breaks down, the sliding cutter is made to return to the initial position first, and then the paper to be cut is made to move for a certain distance along the direction of the paper outlet, so that the printer is automatically overhauled to remove the fault. Then, the paper cutting task is executed again, and it is detected whether the printer is successfully troubleshooting. According to the method and the device, the printer can be automatically overhauled to remove faults, manual intervention is not needed, and the printing experience feeling of a user can be improved.
Further, a first sensor and a second sensor are provided in the printer, the first sensor being provided at an initial position, the second sensor being provided at a target position; detect slip cutter of printer and take place card sword includes: when the sliding cutter executes a paper cutting task, the moment when the signal of the first sensor is received is used as the starting moment; determining whether a signal of the second sensor is received within a preset running time after the starting time; and if the sliding cutter is not received, determining that the sliding cutter is blocked.
Further, the preset running time is the time taken for the sliding cutter to run from the initial position to the target position.
Further, the method further comprises: if the printer cannot drive from the initial position to the target position, determining that the printer fails to perform troubleshooting; and generating manual maintenance prompt information, wherein the manual maintenance prompt information is used for prompting to manually process the printer fault.
Further, the method further comprises: controlling the first motor to rotate reversely so as to return the sliding cutter of the printer from the target position to the initial position; and generating reprint prompting information, wherein the reprint prompting information is used for prompting whether to re-execute the printing task before the fault occurs.
Furthermore, the preset distance is determined by the preset time, and the preset distance is greater than the distance between the cutter assembly of the printer and the paper outlet of the printer.
Further, the first motor is used for controlling the movement of the sliding cutter; the second motor is used for controlling the movement of the paper to be cut.
In a second aspect, the present application provides a device for repairing a printer failure, the device comprising:
the control device comprises a first control module, a second control module and a control module, wherein the first control module is used for controlling a first motor of the printer to rotate reversely when detecting that a sliding cutter of the printer is clamped, so that the sliding cutter returns to an initial position from a current position;
the second control module is used for controlling a second motor of the printer to rotate positively for a preset time so as to move the paper to be cut in a preset direction for a preset distance;
the third control module is used for controlling the first motor to rotate positively so that the sliding cutter executes a paper cutting task on the paper to be cut;
and the fault rechecking module is used for detecting whether the sliding cutter runs from the initial position to the target position or not in the process of executing the paper cutting task, and if the sliding cutter can run from the initial position to the target position, the printer is determined to be successfully subjected to fault maintenance.
In a third aspect, the present application provides a printer comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of troubleshooting a printer failure as described in any embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium storing computer instructions for causing a processor to implement a method for repairing a printer failure according to any embodiment of the present application when the computer instructions are executed.
It should be noted that all or part of the computer instructions may be stored on the computer readable storage medium. The computer-readable storage medium may be packaged with a processor of the troubleshooting device for printer failure, or may be packaged separately from a processor of the troubleshooting device for printer failure, which is not limited in this application.
For the descriptions of the second aspect, the third aspect and the fourth aspect in the present application, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects described in the second aspect, the third aspect and the fourth aspect, reference may be made to the beneficial effect analysis of the first aspect, and details are not described here again.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become apparent from the following description.
It can be understood that, before the technical solutions disclosed in the embodiments of the present application are used, the type, the use range, the use scenario, and the like of the personal information related to the present application should be informed to the user and authorized by the user in a proper manner according to the relevant laws and regulations.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first flowchart of a method for repairing a printer fault according to an embodiment of the present disclosure;
fig. 2 is a second flow chart of a method for repairing a printer fault according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a device for repairing a printer failure according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a printer used to implement a method for repairing a printer failure according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," "target," and "original" and the like in the description and claims of the present invention and the above-described drawings are used for distinguishing similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a first flowchart of a method for repairing a printer fault according to an embodiment of the present disclosure, where the embodiment is applicable to a printer that automatically completes self-checking to remove a fault when a printer fault is detected. The method for repairing a printer fault provided by this embodiment may be performed by the device for repairing a printer fault provided by this embodiment, where the device may be implemented in a software and/or hardware manner and integrated in an electronic device that performs the method. Preferably, the electronic device in the embodiment of the present application may be a printer.
Referring to fig. 1, the method of the present embodiment includes, but is not limited to, the following steps:
s110, when the sliding cutter of the printer is detected to be jammed, controlling a first motor of the printer to rotate reversely so as to enable the sliding cutter to return to an initial position from a current position.
Wherein, the first motor is used for controlling the removal of sliding cutter. A cutter assembly in a printer includes a sliding cutter and a fixed cutter. The initial position refers to the beginning (e.g., left end) of the fixed cutter, and the target position refers to the end (e.g., right end) of the fixed cutter.
When the printer executes the paper cutting operation, the running process of the sliding cutter is as follows: and controlling the first motor to rotate forwards to drive the sliding cutter to move rightwards from the initial position to the target position to complete the paper cutting action, and controlling the first motor to rotate backwards to drive the sliding cutter to move leftwards again from the target position to the initial position after the target position completes the steering operation (such as steering leftwards).
In this step, in the printer execution cut paper task in-process, if detect that the slip cutter can't carry out the cut paper task, confirm that the slip cutter card sword phenomenon appears, the printer breaks down promptly, then needs the printer independently to accomplish the maintenance. The first step is as follows: and controlling a first motor of the printer to rotate reversely so as to return the sliding cutter of the printer to the initial position from the current position. The current position is the position of the sliding cutter where the cutter clamping phenomenon occurs. The process of detecting the occurrence of a printer failure will be explained in detail in the following embodiments.
And S120, controlling a second motor of the printer to rotate positively for a preset time so as to move the paper to be cut in a preset direction for a preset distance.
Wherein, the second motor is used for controlling the removal of waiting to cut the paper. The preset direction is the direction of the paper outlet.
This step is the second step that the printer independently accomplished the maintenance. And controlling the forward rotation of the printer to drive the paper to be cut to move along the direction of the paper outlet. The reason for this setting lies in that, the sliding cutter generally has the cutter jamming phenomenon because the paper outlet of the paper to be cut is smaller than the minimum paper cutting length designed by the cutter, or the paper to be cut in the paper to be cut is folded at the position to be cut, so that the sliding cutter needs to cut thick paper, the paper to be cut can be moved to be larger than the minimum paper cutting length through the step, or the folded paper is moved out of the position to be cut, thereby solving the problem of cutter jamming.
In this application embodiment, the preset distance is determined by the preset time, and the preset distance is greater than the distance between the cutter assembly of the printer and the paper outlet of the printer. The preset distance is equal to the preset time multiplied by the moving speed of the paper to be cut.
And S130, controlling the first motor to rotate forwards so that the sliding cutter executes a paper cutting task on the paper to be cut.
This step is the third step of the printer completing the maintenance autonomously. And controlling the first motor to rotate positively to drive the sliding cutter to execute the paper cutting task again. Wherein, the running process of the sliding cutter is not changed in the paper cutting process. Only the position to be cut in the sheet to be cut is changed to the new position to be cut.
S140, in the process of executing the paper cutting task, whether the sliding cutter runs from the initial position to the target position or not is detected, and if the sliding cutter can run from the initial position to the target position, the printer is determined to be in fault maintenance successfully.
In the embodiment of the present application, after the printer autonomously completes the maintenance through the above steps, it is further required to check whether the maintenance is successful. Specifically, in the process that the sliding cutter executes the paper cutting task again, whether the sliding cutter runs from the initial position to the target position or not is detected, and if the sliding cutter can run from the initial position to the target position, it is determined that the printer is successfully overhauled, and the cutter clamping phenomenon is eliminated.
Further, controlling the first motor to rotate reversely to enable the sliding cutter of the printer to return to the initial position from the target position; since the occurrence of the jam causes the printed paper to be out of the expectations of the user, reprint prompting information is generated for prompting whether to re-execute the print job before the occurrence of the trouble. Alternatively, the reprint prompt message may be a message indicating that "the knife jam has been automatically cleared from the previous print job" on a user terminal (e.g., an application) associated with the printer or on a human-computer interaction interface.
Further, if the sliding cutter cannot travel from the initial position to the target position, it is determined that the printer failed in the troubleshooting, which indicates that the cutter jam is not the cause of step S120, and may be caused by the blockage of the paper outlet. At this time, manual overhaul prompt information is generated and used for prompting to manually process the printer fault. Optionally, the manual overhaul prompting message may be a message indicating that "manual intervention is required because the current bayonet system cannot eliminate the fault" on a user terminal (such as an application) associated with the printer or on a human-computer interaction interface.
According to the technical scheme provided by the embodiment, when the sliding cutter of the printer is detected to be blocked, the first motor of the printer is controlled to rotate reversely, so that the sliding cutter returns to the initial position from the current position; controlling a second motor of the printer to rotate forward for a preset time so as to move the paper to be cut for a preset distance along a preset direction; controlling the first motor to rotate forwards so that the sliding cutter executes a paper cutting task on paper to be cut; and detecting whether the sliding cutter runs from the initial position to the target position or not in the process of executing the paper cutting task, and if the sliding cutter can run from the initial position to the target position, determining that the printer is successful in troubleshooting. When the printer breaks down, the sliding cutter is made to return to the initial position first, and then the paper to be cut is made to move for a certain distance along the direction of the paper outlet, so that the printer is automatically overhauled to remove the fault. Then, the sheet cutting task is executed again, and it is detected whether the printer is successfully troubleshooting. The printer can be automatically overhauled to remove faults, manual intervention is not needed, and printing experience of a user can be improved.
The method for repairing a printer fault according to an embodiment of the present invention is further described below, and fig. 2 is a second flowchart of the method for repairing a printer fault according to an embodiment of the present invention. The embodiment of the application is optimized on the basis of the embodiment, and specifically optimized as follows: the present embodiment explains in detail the process of detecting the occurrence of a sticking of the sliding cutter (i.e., step S110 in the above-described embodiment).
Referring to fig. 2, the method of the present embodiment includes, but is not limited to, the following steps:
and S210, when the sliding cutter executes a paper cutting task, taking the moment when the signal of the first sensor is received as the starting moment.
Wherein the printer is provided with a first sensor and a second sensor, the first sensor is arranged at an initial position, and the second sensor is arranged at a target position;
in the embodiment of the application, when the first sensor detects that the sliding cutter runs to the initial position, a signal (such as an arrival signal) is sent to a processor of the printer, and the processor of the printer receives the signal of the first sensor and takes a time stamp of the signal as the starting time.
And S220, determining whether the signal of the second sensor is received within a preset running time after the starting time.
In the embodiment of the present application, the preset running time period is a time period taken for the sliding cutter to run from the initial position to the target position. The sliding cutter is driven to the target position within a preset driving time period after the starting time, and the second sensor sends a signal (such as an arrival signal) to a processor of the printer. Therefore, whether the sliding cutter reaches the target position can be judged by determining whether the signal of the second sensor is received.
And S230, if the sliding cutter is not received, determining that the sliding cutter is blocked.
In the embodiment of the application, when the processor of the printer does not receive the signal of the second sensor, which indicates that the sliding cutter does not reach the target position, and the paper cutting task is not completed, it is determined that the sliding cutter is jammed, that is, the printer is in a fault.
According to the technical scheme provided by the embodiment, when the sliding cutter executes a paper cutting task, the time when the signal of the first sensor is received is taken as the starting time; determining whether a signal of a second sensor is received within a preset running time after the starting time; and if not, determining that the sliding cutter is blocked. This application is through setting up the sensor respectively at initial position and target location, can accurately detect the printer and whether break down, can make printer automatic maintenance trouble, need not artificial intervention, can promote user's printing experience impression.
Fig. 3 is a schematic structural diagram of a device for repairing a printer failure according to an embodiment of the present disclosure, and as shown in fig. 3, the device 300 may include:
the first control module 310 is configured to control a first motor of the printer to rotate reversely when a sliding cutter of the printer is detected to be jammed, so that the sliding cutter returns to an initial position from a current position;
the second control module 320 is configured to control a second motor of the printer to rotate forward for a preset time, so as to move the paper to be cut by a preset distance in a preset direction;
the third control module 330 is configured to control the first motor to rotate forward, so that the sliding cutter performs a paper cutting task on the paper to be cut;
and the failure rechecking module 340 is used for detecting whether the sliding cutter runs from the initial position to a target position or not in the process of executing a paper cutting task, and if the sliding cutter can run from the initial position to the target position, determining that the printer is successfully repaired.
Optionally, a first sensor and a second sensor are arranged in the printer, the first sensor is arranged at an initial position, and the second sensor is arranged at a target position;
further, the first control module 310 may specifically be configured to: when the sliding cutter executes a paper cutting task, the moment when the signal of the first sensor is received is used as the starting moment; determining whether a signal of the second sensor is received within a preset running time period after the starting time; and if the sliding cutter is not received, determining that the sliding cutter is blocked.
Optionally, the preset running time is a time taken for the sliding cutter to run from the initial position to the target position.
Further, the device for repairing a printer failure may further include: a first prompt module;
the first prompting module is used for determining that the printer fails to be repaired or repaired if the printer cannot drive from the initial position to the target position; and generating manual maintenance prompt information, wherein the manual maintenance prompt information is used for prompting to manually process the printer fault.
Further, the device for repairing a printer failure may further include: a second prompting module;
the second prompting module is used for controlling the first motor to rotate reversely so as to enable the sliding cutter of the printer to return to the initial position from the target position; and generating reprint prompting information, wherein the reprint prompting information is used for prompting whether to re-execute the printing task before the fault occurs.
Optionally, the preset distance is determined by the preset time, and the preset distance is greater than the distance from the cutter assembly of the printer to the paper outlet of the printer.
Optionally, the first motor is used for controlling the movement of the sliding cutter; the second motor is used for controlling the movement of the paper to be cut.
The printer fault overhauling device provided by the embodiment can be suitable for the printer fault overhauling method provided by any embodiment, and has corresponding functions and beneficial effects.
Fig. 4 is a block diagram of a printer for implementing a method for repairing a printer failure according to an embodiment of the present application. The printer 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Printers may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 4, the printer 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the printer 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the printer 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the printer 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as a method of troubleshooting a printer failure.
In some embodiments, the method of troubleshooting a printer failure may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the printer 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the above-described method of troubleshooting a printer failure may be performed. Alternatively, in other embodiments, the processor 11 may be configured by any other suitable means (e.g., by means of firmware) to perform a method of troubleshooting a printer failure.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this application, a computer readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described herein may be implemented on a printer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the printer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions of the present application can be achieved.
The above-described embodiments are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of troubleshooting a printer failure, the method comprising:
when the fact that a sliding cutter of a printer is clamped is detected, a first motor of the printer is controlled to rotate reversely, so that the sliding cutter returns to an initial position from a current position;
controlling a second motor of the printer to rotate forward for a preset time so as to move the paper to be cut for a preset distance along a preset direction;
controlling the first motor to rotate forwards so that the sliding cutter executes a paper cutting task on the paper to be cut;
and in the process of executing a paper cutting task, detecting whether the sliding cutter runs from the initial position to a target position, and if the sliding cutter can run from the initial position to the target position, determining that the printer is successfully repaired.
2. The printer trouble servicing method according to claim 1, characterized in that a first sensor and a second sensor are arranged in said printer, said first sensor being arranged at an initial position, said second sensor being arranged at a target position; detect slip cutter of printer and take place card sword includes:
when the sliding cutter executes a paper cutting task, the time when the signal of the first sensor is received is used as the starting time;
determining whether a signal of the second sensor is received within a preset running time after the starting time;
and if the sliding cutter is not received, determining that the sliding cutter is blocked.
3. The method of repairing a malfunction of a printer according to claim 2, wherein the preset running time period is a time period taken for the sliding cutter to run from the initial position to the target position.
4. The method of troubleshooting a printer fault of claim 1 further comprising:
if the printer cannot drive from the initial position to the target position, determining that the printer fails to perform troubleshooting;
and generating manual overhaul prompt information, wherein the manual overhaul prompt information is used for prompting to manually process the printer fault.
5. The method of troubleshooting a printer fault of claim 1 further comprising:
controlling the first motor to rotate reversely so as to return the sliding cutter of the printer from the target position to the initial position;
and generating reprint prompt information, wherein the reprint prompt information is used for prompting whether to re-execute the printing task before the fault occurs.
6. The method of repairing a malfunction of a printer according to claim 1, wherein the preset distance is determined by the preset time, and the preset distance is greater than a distance between a cutter assembly of the printer and a paper outlet of the printer.
7. The printer trouble shooting method according to claim 1, characterized in that the first motor is used for controlling the movement of the sliding cutter; the second motor is used for controlling the movement of the paper to be cut.
8. A printer malfunction servicing apparatus, said apparatus comprising:
the printer comprises a first control module, a second control module and a control module, wherein the first control module is used for controlling a first motor of the printer to rotate reversely when detecting that a sliding cutter of the printer is clamped, so that the sliding cutter returns to an initial position from a current position;
the second control module is used for controlling a second motor of the printer to rotate forward for a preset time so as to move the paper to be cut by a preset distance along a preset direction;
the third control module is used for controlling the first motor to rotate positively so that the sliding cutter executes a paper cutting task on the paper to be cut;
and the fault rechecking module is used for detecting whether the sliding cutter runs from the initial position to the target position or not in the process of executing the paper cutting task, and if the sliding cutter can run from the initial position to the target position, the printer is determined to be successfully subjected to fault overhauling.
9. A printer, characterized in that the printer comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of troubleshooting the printer failure as recited in any one of claims 1 to 7.
10. A computer-readable storage medium, storing computer instructions for causing a processor to perform the method of repairing a printer failure of any one of claims 1 to 7 when executed.
CN202211024719.XA 2022-08-25 2022-08-25 Printer fault overhauling method and device, printer and storage medium Active CN115284760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211024719.XA CN115284760B (en) 2022-08-25 2022-08-25 Printer fault overhauling method and device, printer and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211024719.XA CN115284760B (en) 2022-08-25 2022-08-25 Printer fault overhauling method and device, printer and storage medium

Publications (2)

Publication Number Publication Date
CN115284760A true CN115284760A (en) 2022-11-04
CN115284760B CN115284760B (en) 2023-09-22

Family

ID=83832518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211024719.XA Active CN115284760B (en) 2022-08-25 2022-08-25 Printer fault overhauling method and device, printer and storage medium

Country Status (1)

Country Link
CN (1) CN115284760B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117519615A (en) * 2023-11-06 2024-02-06 深圳市成大器科技有限公司 Consumable processing method, 3D printing equipment and computer equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1186023A (en) * 1996-12-25 1998-07-01 星精密株式会社 Paper discharging apparatus
US20020076249A1 (en) * 2000-01-04 2002-06-20 Harris Richard Hunter Cutter blade position detection mechanism and method of reporting cutter malfunction
CN101134402A (en) * 2003-03-04 2008-03-05 交易技术公司 Method for stacking tickets in a printer
CN102198762A (en) * 2010-03-26 2011-09-28 山东新北洋信息技术股份有限公司 Printer facilitating maintenance of paper cutting device
CN102991147A (en) * 2011-09-19 2013-03-27 深圳市证通电子股份有限公司 Printer and tool retracting mechanism thereof
CN107053874A (en) * 2015-11-09 2017-08-18 精工爱普生株式会社 The control method and printer of printer
CN206796875U (en) * 2017-04-13 2017-12-26 厦门汉印电子技术有限公司 A kind of printer of the automatic repair function of tape jam
JP2020100013A (en) * 2018-12-20 2020-07-02 三栄電機株式会社 Cutter device and printer using the same
CN112848703A (en) * 2020-12-31 2021-05-28 厦门汉印电子技术有限公司 Printing equipment, cutter control method and device thereof, and storage medium
CN113858831A (en) * 2021-09-23 2021-12-31 厦门汉印电子技术有限公司 Printer paper fault elimination method and printer

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1186023A (en) * 1996-12-25 1998-07-01 星精密株式会社 Paper discharging apparatus
US20020076249A1 (en) * 2000-01-04 2002-06-20 Harris Richard Hunter Cutter blade position detection mechanism and method of reporting cutter malfunction
CN101134402A (en) * 2003-03-04 2008-03-05 交易技术公司 Method for stacking tickets in a printer
CN102198762A (en) * 2010-03-26 2011-09-28 山东新北洋信息技术股份有限公司 Printer facilitating maintenance of paper cutting device
CN102991147A (en) * 2011-09-19 2013-03-27 深圳市证通电子股份有限公司 Printer and tool retracting mechanism thereof
CN107053874A (en) * 2015-11-09 2017-08-18 精工爱普生株式会社 The control method and printer of printer
CN206796875U (en) * 2017-04-13 2017-12-26 厦门汉印电子技术有限公司 A kind of printer of the automatic repair function of tape jam
JP2020100013A (en) * 2018-12-20 2020-07-02 三栄電機株式会社 Cutter device and printer using the same
CN112848703A (en) * 2020-12-31 2021-05-28 厦门汉印电子技术有限公司 Printing equipment, cutter control method and device thereof, and storage medium
CN113858831A (en) * 2021-09-23 2021-12-31 厦门汉印电子技术有限公司 Printer paper fault elimination method and printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117519615A (en) * 2023-11-06 2024-02-06 深圳市成大器科技有限公司 Consumable processing method, 3D printing equipment and computer equipment
CN117519615B (en) * 2023-11-06 2024-08-06 深圳市成大器科技有限公司 Consumable processing method, 3D printing equipment and computer equipment

Also Published As

Publication number Publication date
CN115284760B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
JP3127716B2 (en) Printer
CN115284760A (en) Printer fault overhauling method and device, printer and storage medium
US10606534B2 (en) Server system, terminal device, operating information collection system, program, server system operating method, and terminal device operating method
CN114228791A (en) Method and device for upgrading remote RM after remote restart of full-automatic operation train
CN111027724A (en) Fault processing method and device, electronic equipment and storage medium
US9906680B2 (en) Information processing system, information processing apparatus and information processing method
US10635363B2 (en) Roll-fed printing apparatus, software medium, and method for controlling a roll-fed printing apparatus
CN108032878B (en) Electronic maintenance system and maintenance method for train
CN113942486B (en) Brake fault processing method and signal system
CN102012843A (en) Task migration system
US9829874B2 (en) Numerical control device
CN114567536A (en) Abnormal data processing method and device, electronic equipment and storage medium
JP6418114B2 (en) Production line work instruction terminal
US4871272A (en) Method and device for restarting typewriters and printers with stepping motor
CN107729170B (en) Method and device for generating dump file by HBA card
JP2014094574A (en) Image forming apparatus
JP2007172343A (en) Print control unit and its method
CN115139360B (en) Control method and device of printer cutter, electronic equipment and storage medium
CN116062030B (en) Rear wheel steering control system, method, electronic equipment and storage medium
JP2014106827A (en) Print management device, image forming system, and program
JP2006134060A (en) Design support program and design support method
JP6476905B2 (en) Printing apparatus control method, printing apparatus, print management server, printing system, printing control program, recording medium
CN116215581A (en) Vehicle driving state switching method, device, equipment and storage medium
JP5448794B2 (en) Image forming apparatus
JP6309334B2 (en) Program, information processing apparatus and printing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 305a, angye building, Pioneer Park, torch hi tech Zone, Xiamen, Fujian, 361000

Patentee after: Xiamen Hanyin Co.,Ltd.

Country or region after: China

Address before: Room 305a, angye building, Pioneer Park, torch hi tech Zone, Xiamen, Fujian, 361000

Patentee before: XIAMEN HANIN ELECTRONIC TECHNOLOGY Co.,Ltd.

Country or region before: China