Search

CN-121989569-A - Pause continuous printing method, pause continuous printing device, printing equipment, storage medium and program product

CN121989569ACN 121989569 ACN121989569 ACN 121989569ACN-121989569-A

Abstract

The embodiment of the application provides a pause continuous printing method, a pause continuous printing device, printing equipment, a storage medium and a program product, and relates to the technical field of pause continuous printing. The method includes determining a pause type in response to a pause instruction, performing a pause operation based on the pause type to stop the printing medium at a predetermined pause position, and determining a follow-up strategy based on the pause type and/or the predetermined pause position when a follow-up instruction of the printing medium is received, wherein the follow-up strategy includes a follow-up position, driving the printing medium and a printing head to start printing from the follow-up position so that the follow-up content is continuous with a physical position of the printed content before the pause and a pixel deviation of the physical position in a paper output direction of the printing medium is smaller than a preset pixel number threshold. The embodiment of the application realizes the accurate positioning of the continuous printing position, ensures the continuity of continuous printing content and original content by controlling the continuous control of the physical position and the pixel deviation, and obviously improves the printing effect of suspending continuous printing.

Inventors

  • LUO LIMING

Assignees

  • 武汉精臣智慧标识科技有限公司

Dates

Publication Date
20260508
Application Date
20251229

Claims (17)

  1. 1. A method of pausing a continuous beat comprising: determining a pause type in response to the pause instruction; Performing a pause operation to stop the printing medium at a predetermined pause position based on the pause type; when receiving a follow-up instruction of the printing medium, determining a follow-up strategy based on the pause type and/or the preset pause position, wherein the follow-up strategy comprises a follow-up position; And driving the printing medium and the printing head to start printing from the continuous printing position so that continuous printing content is continuous with the physical position of the printed content before pause, and the pixel deviation of the physical position in the paper output direction of the printing medium is smaller than a preset pixel quantity threshold value.
  2. 2. The method of claim 1, wherein the determining a pause type in response to a pause instruction comprises: The triggering mode comprises at least one of receiving an out-of-paper signal of a medium allowance detection module, receiving a planned suspension instruction sent by a user through an operation interface, receiving a scram signal sent by the user when triggering a scram key or receiving a fault error signal generated by printing equipment; And determining the pause type based on the triggering mode.
  3. 3. The method of claim 2, wherein the pause type comprises a first type and a second type; The method further comprises the steps of: if the triggering mode is the paper-out signal of the received medium allowance detection module and/or the received planned pause instruction sent by the user through the operation interface, the pause type is a first type; And if the triggering mode is the emergency stop signal sent when the user triggers the emergency stop button and/or the fault error signal generated by the printing equipment is received, the pause type is the second type.
  4. 4. The method of claim 1, wherein the pause type comprises a first type; The executing a pause operation based on the pause type includes: Controlling the printing equipment to complete printing of the current label based on the first type; driving a paper feed assembly to move the print medium so that a preset structural position on the print medium is aligned with a preset reference position of the printing device; And after the printing medium is moved, controlling the printing medium to stop at the preset pause position.
  5. 5. The method of claim 4, wherein the print medium comprises a plurality of labels, the preset structure locations comprising gap locations between the labels or preset mark locations on a back side of the print medium; The preset reference position includes a cut position of the printing apparatus or a position of a detection point of an optical sensor.
  6. 6. The method of claim 1, wherein the predetermined pause location comprises a physical location at a stop, and the pause type comprises a second type; The executing a pause operation based on the pause type includes: and after receiving the pause instruction, controlling the printing medium to stop at the current physical position based on the second type.
  7. 7. The method of claim 6, wherein the controlling the print medium to stop at the current physical location based on the second type after receiving the pause instruction comprises: upon receiving the pause instruction, based on the second type, interrupting energy to the print head and braking the paper feed assembly to control the print medium to stop at a current physical position.
  8. 8. The method of claim 1, wherein the pause type comprises a second type; Said determining a follow-up strategy based on said pause type and/or said predetermined pause position when a follow-up instruction of said print medium is received, comprising: When receiving a continuous printing instruction of the printing medium, executing position calibration operation based on the pause type and/or the preset pause position to obtain a continuous printing position; the position calibration operation includes: And after the printing medium is controlled to move a first preset distance in a first direction, the printing medium is moved in a second direction, so that the positions of detection points of the optical sensors are aligned with the label characteristic structures in the printing medium, wherein the first direction is the opposite direction of the paper outlet direction of the printing medium, and the second direction is the paper outlet direction of the printing medium.
  9. 9. The method of claim 8, wherein the method further comprises: comparing the continuous beating position with a preset continuous beating position, and calculating the position offset of the continuous beating position and the preset continuous beating position; And dynamically compensating the continuous beating position of the continuous beating content based on the position offset to obtain a compensated continuous beating position.
  10. 10. The method of claim 1, wherein the performing a pause operation to stop the print medium at a predetermined pause position based on the pause type further comprises: Generating a pause state snapshot based on the pause type, the identification information of the last label printed at the time of pause, and the predetermined pause position, wherein the predetermined pause position comprises a logical position and/or a physical position when the printing medium is stopped; Storing the pause state snapshot to a non-volatile memory.
  11. 11. The method of claim 10, wherein the pause type comprises a first type and a second type; Said determining a follow-up strategy based on said pause type and/or said predetermined pause position when a follow-up instruction of said print medium is received, comprising: When receiving a follow-up instruction of the printing medium, reading the pause state snapshot in the nonvolatile memory; If the pause type in the pause state snapshot is the first type, determining the starting position of the unprinted label based on the pause state snapshot to obtain the continuous printing position; And if the pause type in the pause state snapshot is the second type, triggering a position calibration operation to obtain a continuous playing position after calibration.
  12. 12. The method of claim 1, wherein the driving the print medium and printhead prior to printing from the follow-up position further comprises: Displaying the printing medium on a user operation interface, and marking the continuous printing position on the printing medium; And receiving the adjustment operation of the user on the follow-up beating position to obtain the adjusted follow-up beating position.
  13. 13. The method of claim 1, wherein the driving the print medium and printhead prior to printing from the follow-up position further comprises: detecting the breakage condition of the unprinted label closest to the continuous printing position in the printing medium through a sensor; And if the nearest unprinted label is damaged, controlling the printing medium to go out of the paper until the sensor identifies the unprinted label which is not damaged.
  14. 14. A pause continuous beating apparatus, comprising: The response module is used for responding to the pause instruction and determining the pause type; a pause module for performing a pause operation based on the pause type to stop the printing medium at a predetermined pause position; The strategy determining module is used for determining a follow-up strategy based on the pause type and/or the preset pause position when receiving a follow-up instruction of the printing medium, wherein the follow-up strategy comprises a follow-up position; And the continuous printing module is used for driving the printing medium and the printing head to start printing from the continuous printing position so that continuous printing content is continuous with the physical position of the printed content before suspension, and the pixel deviation of the physical position in the paper outlet direction of the printing medium is smaller than a preset pixel quantity threshold value.
  15. 15. A printing apparatus comprising a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to implement the steps of the pause continuation method of any one of claims 1-13.
  16. 16. A computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the pause continuous play method of any of claims 1-13.
  17. 17. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the pause continuous play method of any of claims 1-13.

Description

Pause continuous printing method, pause continuous printing device, printing equipment, storage medium and program product Technical Field The application relates to the technical field of continuous printing, in particular to a method, a device, printing equipment, a computer readable storage medium and a computer program product for suspending continuous printing. Background Along with popularization of informatization office and diversification of graphic and text output requirements, printers become necessary equipment for each scene, and from traditional needle printing to upgrading iteration of inkjet and laser printing technologies, faster output speed, higher resolution and more convenient operation experience are continuously pursued, and various printing equipment is developed along with the development so as to adapt to requirements of high-precision printing and the like under different scenes. In the prior art, when the subsequent printing is paused, the deviation of the subsequent printing position or the fluctuation of parameters can occur, so that the paper waste or the fuzzy printing content is caused, and the printing effect is poor. Disclosure of Invention The embodiment of the application provides a pause continuous printing method, a pause continuous printing device, printing equipment, a computer readable storage medium and a computer program product, which aim to solve the technical problem that printing effect is poor due to pause continuous printing position deviation. In a first aspect, a method for suspending continuous playing is provided, the method comprising: determining a pause type in response to the pause instruction; Performing a pause operation based on the pause type to stop the printing medium at a predetermined pause position; when receiving a continuous printing instruction of the printing medium, determining a continuous printing strategy based on a pause type and/or a preset pause position, wherein the continuous printing strategy comprises a continuous printing position; The printing medium and the printing head are driven to start printing from the continuous printing position, so that the continuous printing content is continuous with the physical position of the printed content before suspension, and the pixel deviation of the physical position in the paper output direction of the printing medium is smaller than a preset pixel quantity threshold value. Optionally, in response to the pause instruction, determining the pause type includes: The triggering mode comprises at least one of receiving a paper-lack signal of a medium allowance detection module, receiving a planned suspension instruction sent by a user through an operation interface, receiving a scram signal sent when the user triggers a scram key or receiving a fault error signal generated by printing equipment; The pause type is determined based on the trigger pattern. Optionally, the pause type includes a first type and a second type; The method further comprises the steps of: if the triggering mode is that an out-of-paper signal of the medium allowance detection module is received and/or a planned pause instruction sent by a user through an operation interface is received, the pause type is a first type; If the triggering mode is that a sudden stop signal sent when a user triggers a sudden stop button is received and/or a fault error signal generated by printing equipment is received, the pause type is the second type. Optionally, the pause type includes a first type; Based on the pause type, performing a pause operation, including: Controlling the printing equipment to complete printing of the current label based on the first type; driving the paper feeding assembly to move the printing medium so as to align a preset structure position on the printing medium with a preset reference position of the printing device; After the printing medium is moved, the printing medium is controlled to stop at a preset pause position. Optionally, the printing medium comprises a plurality of labels, and the preset structure position comprises a gap position between the labels or a preset mark position on the back of the printing medium; the preset reference position includes a notch position of the printing apparatus or a position of a detection point of the optical sensor. Optionally, the predetermined pause location comprises a physical location at the time of stopping, and the pause type comprises a second type; Based on the pause type, performing a pause operation, including: after receiving the pause instruction, the print medium is controlled to stop at the current physical position based on the second type. Optionally, after receiving the pause instruction, controlling the print medium to be stopped at the current physical position based on the second type includes: Upon receiving the pause instruction, based on the second type, the energy to the print head is interrupted and the paper feed assembly is braked to