CN115320254B - Printer capable of printing bound paper book and printing method - Google Patents

Printer capable of printing bound paper book and printing method Download PDF

Info

Publication number
CN115320254B
CN115320254B CN202210808428.3A CN202210808428A CN115320254B CN 115320254 B CN115320254 B CN 115320254B CN 202210808428 A CN202210808428 A CN 202210808428A CN 115320254 B CN115320254 B CN 115320254B
Authority
CN
China
Prior art keywords
printing
module
guide rail
ink outlet
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.)
Active
Application number
CN202210808428.3A
Other languages
Chinese (zh)
Other versions
CN115320254A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202210808428.3A priority Critical patent/CN115320254B/en
Publication of CN115320254A publication Critical patent/CN115320254A/en
Application granted granted Critical
Publication of CN115320254B publication Critical patent/CN115320254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • 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
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/28Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for printing downwardly on flat surfaces, e.g. of books, drawings, boxes, envelopes, e.g. flat-bed ink-jet printers
    • B41J3/283Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for printing downwardly on flat surfaces, e.g. of books, drawings, boxes, envelopes, e.g. flat-bed ink-jet printers on bank books or the like
    • 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
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/44Typewriters or selective printing mechanisms having dual functions or combined with, or coupled to, apparatus performing other functions
    • B41J3/445Printers integrated in other types of apparatus, e.g. printers integrated in cameras

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a printer capable of printing bound paper books and a printing method thereof, comprising a camera, an upright post, a base, a frame, a motor, a vertical guide rail, a central control module, a motion control module, an ink outlet control module, an image processing module and a text editing module, wherein the upright post is arranged on the base, the vertical guide rail is fixed on the upright post, the frame comprises a frame, a longitudinal guide rail and a printing module, two longitudinal guide rails are parallelly fixed on two sides of the frame, the printing module comprises a motor, a grating ruler sensor, a transverse guide rail, a flattening device, an ink outlet device and a printing module shell, the ink outlet device comprises a carriage and an ink box, the frame is connected with the vertical guide rail, the printing module is connected with the longitudinal guide rail on the frame, the flattened bound paper books are shot by the camera, a printing area is determined after image processing, the printing module moves along the longitudinal guide rail after editing by the text editing module, and the ink outlet device moves along the transverse guide rail, and prints in the printing area.

Description

Printer capable of printing bound paper book and printing method
Technical Field
The invention relates to the field of printing, in particular to a printer capable of printing bound paper and a printing method.
Background
The common printers on the market are mostly used for single-page manuscript printing and are not suitable for bound paper books. Printing of bound paper books also has certain use demands in the market, and in the education industry, teachers record records, and students often use the notebook. Traditional printers have strict requirements on paper size, placement and paper surface flatness, and are difficult to adapt to based on market and personal aesthetic requirements and different notebook styles, thicknesses and sizes.
Disclosure of Invention
The invention aims to overcome the defect that the conventional printer cannot print bound paper books, and provides a printer capable of printing bound paper books with different sizes, thicknesses and paper grid line patterns.
In order to achieve the above object, the present invention provides the following solutions:
a printer capable of printing bound paper books comprises a camera, a stand column, a base, a rack, a motor, a vertical guide rail, a central control module, a motion control module, an ink outlet control module, an image processing module and a text editing module;
the upright post is arranged on the base, and the vertical guide rail is fixed on the upright post;
the upper surface of the base is provided with an anti-slip layer;
the machine frame comprises a frame, longitudinal guide rails and a printing module, wherein two longitudinal guide rails are fixed on two sides of the frame in parallel, the printing module comprises a motor, a grating ruler sensor, a transverse guide rail, a flattening device, an ink discharging device and a printing module shell, the ink discharging device comprises a carriage and an ink box, the ink discharging device is driven by the motor to move along the transverse guide rail through a synchronous belt, the machine frame is connected with the vertical guide rail, the motor controls the machine frame to move up and down along the vertical guide rail through the synchronous belt, the printing module is connected with the longitudinal guide rail on the frame, and the motor controls the printing module to move along the longitudinal guide rail through the synchronous belt;
the central control module receives the picture of the surface of the binding paper shot by the camera and sends the picture to the image processing module for processing;
after the image processing module finishes processing, the central control module receives the image information sent by the image processing module, and sends the image information and the graphic information to be printed to the text editing module for editing processing;
the text editing module processes and completes the generation of the printing task information, and the central control module receives the printing task information and sends a motion control command in the printing task information to the motion control module;
the motion control module controls the motor to move;
the central control module sends dot matrix information in the printing task information to the ink giving control module;
the ink outlet control module controls the ink outlet device to perform ink outlet printing.
Wherein the base antiskid layer is made of a granular rubber pad and a rough rubber pad.
Wherein the camera is connected with the frame through the cantilever and the vertical beam.
Preferably, the camera is connected to the print module via a cantilever and a vertical beam.
The flattening device is parallel to the transverse guide rail, the height of the lower end of the flattening device is lower than that of the lower end of the ink outlet device, and the height difference between the lower end of the flattening device and the nozzle of the ink outlet device is the printing height of the ink outlet device.
Preferably, the lower end of the ink outlet device is lower than the bottom surface of the nozzle, the bottom surface is provided with a rolling device, and the height difference between the lower end of the rolling device and the nozzle is the printing height of the ink outlet device.
The text editing module generates a printing area according to the position information of the ruled lines of the binding paper, the endpoints of the ruled lines determine the range of the printing area, the spacing of the ruled lines determine the row, the existing image-text of the binding paper and the position information thereof are identified and determined, and the area of the existing image-text in the printing area is limited and edited.
Wherein the motor controlling the movement of the frame along the vertical guide rail is selected from a servo motor, a stepper motor or a torque motor.
A printing method comprising the steps of:
s01, unfolding a binding paper book to be printed and placing the binding paper book on a base plane;
s02, leveling one side of the bound paper with less unfolded pages to be level with the other side by using a backing plate;
s03, shooting the unfolded bound paper book by using a camera;
s04, the image processing module processes the photo and obtains a longitudinal movement interval of the printing module in the longitudinal guide rail;
s05, the printing module moves to the initial position of the longitudinal movement section, and presses down the printing module until the surface of the bound paper is flattened;
s06, the printing module moves to the end position of the longitudinal movement section along the longitudinal guide rail;
s07, the camera shoots the movement process of the longitudinal guide rail after the printing module is pressed down;
s08, the image processing module performs splicing processing on the shot image information to determine the position information of the binding paper book grid lines;
s09, the text editing module generates a printing area according to the position information of the grid lines;
s10, editing texts in the printing area and sending the printing task information to the central control module;
s11, the central control module sends a control command to the motion control module to control the printing module assembly to accurately move along the longitudinal guide rail, controls the inking device to accurately move along the transverse guide rail, and sends printed dot matrix information to the inking control module to control the inking device to jet ink to finish printing operation;
and S12, after finishing the printing operation, the printing module is lifted.
And the picture shot by the camera in the moving process of the printing module and the position of the printing module in the longitudinal guide rail direction are mapped, recorded and stored.
The camera shoots the movement process of the longitudinal guide rail after the printing module is pressed down, when the image processing module processes the flattened picture of the binding paper, the image information of the outer fixed area of the printing module in the image is cut, the image information of the flattened printing surface of the binding paper is spliced, the position information of the grid lines of the binding paper is determined, the existing picture and text of the binding paper is identified, and the position information of the picture and text is determined.
Through the technical scheme, the invention has the following advantages:
(1) According to the invention, the flattening device arranged in the printing module flattens the unfolded binding paper book, so that the problem that the surface of the unfolded binding paper book is fluctuated and the height of an ink outlet of the printer is inconsistent with that of a printing surface is solved.
(2) The printing module can move up and down along the guide rail, and does not move downwards after being pressed down to the surface of the binding paper, so that the problem that the binding paper has different thickness and cannot be printed is solved.
(3) According to the invention, the flattened and unfolded bound paper is shot by the camera with the relative height with the printing module, and the edge outline and the position information of the grid lines of the bound paper are identified, so that the printing area is determined, the problem of different sizes of the bound paper is solved, and meanwhile, the bound paper does not need to be strictly arranged horizontally and vertically.
(4) According to the invention, the whole page image of the bound paper is obtained by cutting out the image information of the external fixed area of the printing module and performing image stitching, so that the page images of the stitched bound paper are all positioned at the periphery of the flattening position of the flattening device, and the phenomenon that the page of the bound paper with uneven relief is cut and stitched away from the flattening device is avoided, thereby influencing the accurate determination of the position information of the grid lines.
(5) According to the invention, under the condition that the unfolded bound paper is primarily flattened through the flattening device, the lower pressing surface of the ink outlet device is arranged, so that the paper surface below the ink outlet can be flattened more finely, the printing height is controlled more accurately, and the printing quality is ensured.
(6) The invention generates the printing area through the generated grid line position information, realizes the printing of the printer between the binding paper book grid lines, and particularly, can realize the identification and the position determination of the existing image-text information of the binding paper book page and can realize the continuous follow-up printing task of the printed content at the blank position.
Drawings
FIG. 1 is an overall schematic of example 1 (without motor)
FIG. 2 is an overall schematic of example 1 (without motor, with print module housing removed)
FIG. 3 shows a print module housing
FIG. 4 is an overall schematic of example 2 (without motor)
FIG. 5 is an overall schematic of example 2 (without motor, with print module housing removed)
FIG. 6 is a schematic view of an ink discharging apparatus in example 3
FIG. 7 is a schematic view (partial view) of a flattening apparatus in example 3
FIG. 8 is a schematic diagram of a printer (without a power module)
Reference numerals illustrate:
1-camera, 2-light filling lamp, 3-cantilever, 4-vertical beam, 5-frame, 6-vertical guide rail, 7-stand, 8-longitudinal guide rail, 9-printing module shell, 10-base, 11-transverse guide rail, 12-ink outlet device, 13-flattening device, 1201-ink outlet device bottom surface, 1202-ink outlet device spout.
Detailed Description
The following describes the embodiments of the present invention further with reference to the drawings and examples.
The upright post 7 is mounted on the base 10, and the vertical guide rail 6 is fixed on the upright post 7.
The frame comprises a frame 5, a longitudinal guide rail 8 and a printing module, wherein the frame 5 is connected with the vertical guide rail 6, and is controlled by a motor to move up and down along the vertical guide rail 6.
Wherein two longitudinal guide rails 8 are fixed in parallel on two sides of the frame 5, the printing module comprises a motor, a grating ruler sensor, a transverse guide rail 11, an ink outlet device 12, a flattening device 13, the ink outlet device 12 and a printing module shell 9, the printing module is connected with the longitudinal guide rails 8 on the frame 5, and the printing module is controlled by the motor to move along the longitudinal guide rails 8.
The ink discharging device 12 includes a carriage and an ink cartridge, and the ink discharging device 12 is driven by a motor to move left and right along the lateral guide rail 11, and performs ink printing while moving.
The flattening device 13 is parallel to the transverse guide rail 11, and the height of the lower end of the flattening device 13 is lower than the height of the lower ends of the nozzles of the printing module shell 9 and the ink outlet device 12.
The camera 1 is connected with a frame through the cantilever 3 and the vertical beam 4, the frame comprises a frame 5, a longitudinal guide rail 8 and a printing module, and the camera 1 can synchronously move up and down when the frame moves up and down along the vertical guide rail 6 under the drive of a motor.
Preferably, the camera 1 is connected with the printing module through the cantilever 3 and the vertical beam 4, and can move up and down along the vertical guide rail 6 along with the driving of the frame 5 and also can move longitudinally along with the printing module.
The light supplementing lamp 2 is used for supplementing light during shooting, compensating the illumination brightness of the environment and eliminating the shadow cast by the camera 1 and the cantilever 3 on the surface of the binding paper.
The central control module adopts a control chip or a development board with a storage function, and has the functions that: and receiving and caching a print job file, wherein the print job file comprises a control command and image dot matrix data, timely feeding back the current state information of the printer, sending the control command obtained after analysis to a motion controller by a central control module, receiving and judging response state information of the motion controller and position coordinate information of each motor at any time, receiving pictures shot by a camera, sending the pictures to an image processing module, and transmitting dot matrix data required by printing to an ink control module.
The motion control module adopts programmable devices such as FPGA or DSP, receives control commands, controls the motion of various motors, and sends the running state and the position coordinate information of each motor to the central controller.
The ink outlet control module adopts programmable devices such as FPGA or CPLD, receives printed dot matrix data and controls the ink outlet device 12 to perform ink outlet printing.
The image processing module is composed of hardware with a storage function and software or hardware with an image processing capability, and is used for receiving pictures shot by a camera, performing splicing processing on the shot pictures, calculating position coordinates of the binding paper book lines, identifying text information in the pictures and acquiring coordinate areas of the text.
The text editing module is composed of hardware with a storage function and software or hardware with graphic typesetting capability, generates a printing area according to position coordinates of the binding paper book lines and a coordinate area of the calculated characters, and receives and performs graphic typesetting.
The storage functions of the image processing module and the text editing module can also be realized in a cloud storage mode.
Embodiment one:
the camera is connected with the frame through the cantilever and the vertical beam, a motor for controlling the frame to move along the vertical guide rail is a moment motor, a motor for controlling the printing module to move along the longitudinal guide rail is a stepping motor, a motor for controlling the ink outlet device to move along the transverse guide rail is a brushless direct current motor, and the flattening device adopts a rolling roller.
The method comprises the following steps:
s01, unfolding a binding paper book to be printed and placing the binding paper book on a base plane;
specifically, the upper layer of the base plane is a particle surface rubber pad, and the binding paper book is not easy to move in the printing process.
S02, leveling one side of the bound paper with less unfolded pages to be level with the other side by using a backing plate;
specifically, the base plates with different thicknesses are freely combined, one side with less unfolded pages of the bound paper book is padded to be parallel to the other side, and the base plates can be made of the same material as the upper layer of the plane of the base.
S03, shooting the unfolded bound paper book by using a camera;
s04, the image processing module processes the photo and obtains a longitudinal movement interval of the printing module in the longitudinal guide rail;
specifically, the image of the bound paper book shot by the camera uses a Canny operator to extract and detect the edge of the bound paper book, obtain the pixel coordinates of the edge of the bound paper book, obtain the position coordinates of the edge of the bound paper book in the direction of the transverse guide rail and the direction of the longitudinal guide rail according to the internal and external parameters of the camera, determine the longitudinal moving interval of the printing module in the bound paper book along the longitudinal guide rail, namely the moving interval of the printing module is positioned between the upper edge and the lower edge of the bound paper book, take the overlapping position of the highest point of the upper edge of the printing module and the upper edge of the bound paper book as a starting point position, and take the overlapping position of the lowest point of the lower edge of the printing module and the lower edge of the bound paper book as an end point position.
S05, the printing module moves to the initial position of the longitudinal movement section, and presses down the printing module until the surface of the bound paper is flattened;
s06, the printing module moves to the end position of the longitudinal movement section along the longitudinal guide rail;
specifically, when the printing module moves to the initial position of the longitudinal movement section, the torque motor drives the printing module to move downwards to the surface of the bound paper along the vertical guide rail, the set torque output is kept after the set torque is reached, the flattening device of the printing module flattens the surface of the bound paper, and then the printing module moves to the final position of the first section along the longitudinal guide rail under the drive of the stepping motor.
S07, the camera shoots the movement process of the longitudinal guide rail after the printing module is pressed down;
s08, the image processing module performs splicing processing on the shot image information to determine the position information of the binding paper book grid lines;
wherein, the shell of cladding flattening device and printing module draws along the lower extension of transverse guide direction has the equidistance to distribute the black mark dot parallel with transverse guide direction, marks the dot and is parallel with transverse guide direction, and the height of lower extension is higher than flattening device lowest.
Specifically, the camera establishes a mapping relation between each photo shot by the movement of the printing module and the position information of the printing module when shooting along the longitudinal guide rail axis direction, and sends the mapping relation to the image processing module for recording and storing, and the image processing module carries out graying and binarization processing on the photo;
the spot detection algorithm is used to extract the identification dots on the printing module, calculate the pixel coordinates of their centers in the image,
the circle centers of the marked dots are connected into a straight line L1, a pixel points are upwards taken as parallel lines L2, b pixel points are upwards taken as parallel lines L3, c pixel points are downwards taken as parallel lines L4, d pixel points are downwards taken as parallel lines L5,
a=m/(single pixel longitudinal rail direction length)
b=m+p/(single pixel longitudinal rail direction length)
c=n/(single pixel longitudinal rail direction length)
d=n+p/(single pixel longitudinal rail direction length)
m is the length of the mark round point center from the upper edge of the printing module, n is the length of the mark round point center from the lower edge of the printing module, p is a fixed length, and the number of pixels is calculated to be an integer which is not full;
when the camera shoots each time, the distance of each movement of the printing module is smaller than p,
and acquiring pixel information of L2 to L3 and L4 to L5 according to pixel rows, recording the row number information of each row of pixels in the original image and storing the row number information, wherein the pixel information of the same pixel row is stored only in one group, pixel points are arranged according to the row sequence of the pixel points to form a pixel matrix, and a new image of the whole flattened binding paper is generated.
The essence of the above steps is to acquire the image information of the fixed areas at the upper and lower edges of the printing module, wherein the paper book of the fixed areas is an area with small bending of the paper after being flattened by the flattening device, and the image information of a plurality of fixed areas can be spliced to obtain the image information of the whole flattened bound paper book with little image distortion through the movement of the printing module, so that the difference of the actual lengths represented by the different positions of the single pixels in the picture is considered, the upper and lower edges of the printing module can be recognized through the image processing module, the pixel points of the b rows above the upper edge of the printing module and the pixel points of the d rows below the printing module are extracted, the line number information of each row of pixels in the original picture is recorded and stored, the pixel information of the same pixel row is only stored as a group, the pixel points are arranged according to the line sequence of the pixel points first, a pixel matrix is formed, and a new picture of the whole flattened bound paper book is generated.
And (3) extracting and detecting edges of the grid lines by using a Canny operator, and obtaining the position coordinates of the grid lines in the directions of the transverse guide rail and the longitudinal guide rail according to the internal and external parameters of the camera due to the fixed positions of the camera relative to the frame and the printing surface after obtaining the pixel coordinates of the grid lines.
S09, the text editing module generates a printing area according to the position information of the grid lines;
specifically, the text editing module obtains the endpoint coordinates of the grid lines, the closed area of the endpoint coordinate connecting line is a printing area, and as the closed area is unfolded for binding paper, two printing areas are generated, the spacing of the grid lines can be obtained according to the endpoint coordinates of the adjacent grid lines, and the row spacing in the printing areas is set according to the spacing of the grid lines.
In particular, the pages of the same binding paper book are generally the same, and the grid line information of the pages can be set as a template, so that the subsequent calling is convenient.
In particular, even if the unfolded binding paper is flattened, a vertical groove is formed between two unfolded pages, in order to ensure printing quality, when a printing area is generated, the distance between the edge of one side of the printing area adjacent to the groove and the position of the groove is adjusted to be a proper distance, generally 1-2cm, and the groove can be identified, extracted and determined by image processing.
S10, editing texts in the printing area and sending the printing task information to the central control module;
specifically, the text editing and typesetting of the print job can be performed in the print area, including but not limited to fonts, word weights, word sizes and word distances, wherein the editing and typesetting is manual typesetting or automatic typesetting according to set parameters.
Further, when the image information exists between the grid lines, the image processing module obtains pixel coordinates of the image text, obtains position coordinates of the image text in the directions of the transverse guide rail and the longitudinal guide rail through the camera internal and external parameters, and sends the position coordinates to the text editing module, the text editing module sets a printing area with the text to be a limited editing area, other printing areas can still edit the text normally, and in addition, the image processing module recognizes (Optical Character Recognition) the text content existing in the binding paper through ORC, and stores the text content for later printing tasks.
The text editing interface in the text editing module can be operated on a display screen (not shown in the drawing) arranged on the printer, or can be operated by a PC (personal computer) in a mobile device for editing, and is wirelessly connected with the printer in a Bluetooth mode, a wifi mode and the like.
S11, the central control module sends a control command to the motion control module to control the printing module assembly to accurately move along the longitudinal guide rail, controls the inking device to accurately move along the transverse guide rail, and sends printed dot matrix information to the inking control module to control the inking device to jet ink to finish printing operation;
specifically, the central control module sends a control command to the motion control module, the motion control module sends a pulse signal to the brushless direct current motor for controlling the ink outlet device to move along the transverse guide rail to control and drive the ink outlet device to move, the ink outlet control module controls the ink outlet device to perform ink outlet printing, the grating ruler sensor senses accurate position information of the ink outlet device on the transverse guide rail and transmits the position information to the motion control module, when one row of printing task is finished, the motion control module sends a pulse signal to the stepping motor for controlling the printing module to move along the longitudinal guide rail to control and drive the printing module to move one printing width along the longitudinal guide rail, then the motion control module enables the ink outlet device to reversely rotate along the motion direction of the transverse guide rail, the motion direction of the ink outlet device is opposite to the previous direction, the next row of printing is performed, and then the process is repeated until the printing task is finished.
And S12, after finishing the printing operation, the printing module is lifted.
The moment motor drives the rack to move upwards along the vertical guide rail, and the printing module is stopped after the moment motor reaches the limit, and is in a lifting state in the initial printing stage.
When the bound paper is not moved, after page turning is performed (when the page turning is performed, the backing plate is adjusted to enable the heights of the two sides of the unfolded bound paper to be approximately level), the page template and the grid line position information recorded in the last printing operation can be directly called, S10 operation is directly performed, and operation time is saved.
Example two
The camera is connected with the printing module shell through the cantilever and the vertical beam, the control frame moves along the vertical guide rail, the printing module moves along the longitudinal guide rail, the motors controlling the ink outlet device to move along the transverse guide rail are servo motors or stepping motors, and the flattening device adopts rolling rollers.
The method comprises the following steps:
s01, unfolding a binding paper book to be printed and placing the binding paper book on a base plane;
specifically, the upper layer of the base plane is a rough rubber pad, and the binding paper book is not easy to move in the printing process.
S02, leveling one side of the bound paper with less unfolded pages to be level with the other side by using a backing plate;
specifically, the base plates with different thicknesses are freely combined, one side with less unfolded pages of the bound paper book is padded to be parallel to the other side, and the base plates can be made of the same material as the upper layer of the plane of the base.
S03, shooting the unfolded bound paper book by using a camera;
specifically, the servo motor drives the printing module to move along the longitudinal guide rail through the synchronous belt, after moving to a proper position, the camera shoots, and records the position information of the printing module on the longitudinal guide rail during shooting, and the proper position of the position is preferably the middle position of the longitudinal guide rail, so that the camera can be ensured to shoot the binding paper book completely.
S04, the image processing module processes the photo and obtains a longitudinal movement interval of the printing module in the longitudinal guide rail;
specifically, the image of the bound paper book shot by the camera uses a Canny operator to extract and detect the edge of the bound paper book, the pixel coordinates of the edge of the bound paper book are obtained, the position coordinates of the edge of the bound paper book in the direction of the transverse guide rail and the direction of the longitudinal guide rail are obtained according to the position information of the camera inner parameter, the camera outer parameter and the printing module in the longitudinal guide rail, the longitudinal movement interval of the printing module in the bound paper book along the longitudinal guide rail is determined, namely the movement interval of the printing module is positioned between the upper edge and the lower edge of the bound paper book, the overlapping position of the upper edge of the printing module and the highest point of the upper edge of the bound paper book is taken as a starting point position, and the overlapping position of the lower edge of the printing module and the lowest point of the lower edge of the bound paper book is taken as an end point position.
S05, the printing module moves to the initial position of the longitudinal movement section, and presses down the printing module until the surface of the bound paper is flattened;
s06, the printing module moves to the end position of the longitudinal movement section along the longitudinal guide rail;
specifically, when the printing module moves to the initial position of the longitudinal movement section, the servo motor drives the printing module to move downwards along the vertical guide rail to the surface of the bound paper, the movement is stopped by a cleaning pulse command after exceeding a set moment under the control of the current ring, the flattening device of the printing module flattens the surface of the bound paper, and then the printing module moves to the end position of the first section along the longitudinal guide rail under the drive of the stepping motor.
S07, the camera shoots the movement process of the longitudinal guide rail after the printing module is pressed down;
s08, the image processing module performs splicing processing on the shot image information to determine the position information of the binding paper book grid lines;
the camera establishes a mapping relation between each photo shot by the movement of the printing module and the position information of the printing module and sends the mapping relation to the image processing module for recording and storing, and the image processing module carries out graying and binarization processing on the photo;
when the camera photographs each time, compared with the situation that the moving distance of the printing module is delta d when photographing last time, the width of the longitudinal guide rail direction of the printing module is c, and the position which is 2c before the end position of the first moving area (namely, the position of the lower edge of the printing module which is 2c from the end position of the first area) is called an X position.
Because the camera moves according to the printing module, the relative position of the camera and the printing module is unchanged, so that the position of the printing module in the visual field of the camera is kept unchanged, when the flattening device presses down the surface of the bound paper, the surface of the bound paper in the area near the flattening device is smoother, compared with the surface of the bound paper in the area near the flattening device, the surface of the bound paper far away from the flattening device has undulation, so that the image processing module cuts out the image information of a fixed area, namely a relatively smooth area, outside the printing module in the picture,
specifically, in the motion process from the initial position of the first motion area to the X position, a pixel matrix of m pixel rows above a fixed pixel row p (the pixel row at the upper edge of the printing module) is intercepted after single shooting, the position coordinates of the pixels of each row in the longitudinal guide rail direction are recorded,
m=Δd/(single-pixel longitudinal rail direction length),
because the relative positions of the camera and the printing module are unchanged, the positions of the upper edge and the lower edge of the printing module in the picture shot by the camera cannot be changed due to the movement of the printing module, the area near the printing module is the middle area of the picture, the actual length difference represented by single pixels is smaller,
in the moving process from the X position to the end position of the first moving area, intercepting a pixel matrix of m pixel rows below a fixed pixel row q (a pixel row at the lower edge of a printing module) after single photographing, recording the position coordinates of the pixels of each row in the longitudinal guide rail direction,
splicing the pixel matrixes intercepted after photographing for a plurality of times according to the position coordinates in the longitudinal guide rail direction to form a new pixel matrix, generating a new image of the whole flattened bound paper,
and (3) extracting and detecting edges of the grid lines by using a Canny operator, and obtaining the position coordinates of the grid lines in the directions of the transverse guide rail and the longitudinal guide rail according to the internal and external parameters of the camera after obtaining the pixel coordinates of the grid lines.
S09, the text editing module generates a printing area according to the position information of the grid lines;
specifically, the text editing module obtains the endpoint coordinates of the grid lines, the closed area of the endpoint coordinate connecting line is a printing area, and as the closed area is unfolded for binding paper, two printing areas are generated, the spacing of the grid lines can be obtained according to the endpoint coordinates of the adjacent grid lines, and the row spacing in the printing areas is set according to the spacing of the grid lines.
In particular, the pages of the same binding paper book are generally the same, and the grid line information of the pages can be set as a template, so that the subsequent calling is convenient.
In particular, even if the unfolded binding paper is flattened, a vertical groove is formed between two unfolded pages, in order to ensure printing quality, when a printing area is generated, the distance between the edge of one side of the printing area adjacent to the groove and the position of the groove is adjusted to be a proper distance, generally 1-2cm, and the groove can be identified, extracted and determined by image processing.
S10, editing texts in the printing area and sending the printing task information to the central control module;
specifically, the text editing and typesetting of the print job can be performed in the print area, including but not limited to fonts, word weights, word sizes and word distances, wherein the editing and typesetting is manual typesetting or automatic typesetting according to set parameters.
Further, when the image information exists between the grid lines, the image processing module obtains pixel coordinates of the image text, obtains position coordinates of the image text in the directions of the transverse guide rail and the longitudinal guide rail through the camera internal and external parameters, and sends the position coordinates to the text editing module, the text editing module sets a printing area with the text to be a limited editing area, other printing areas can still edit the text normally, and in addition, the image processing module recognizes (Optical Character Recognition) the text content existing in the binding paper through ORC, and stores the text content for later printing tasks.
The text editing module can be integrated in the printer, the corresponding text editing interface can be displayed and operated on a display screen (not shown in the drawing) arranged on the printer, and related software, an app PC (personal computer) and mobile equipment can be installed, the corresponding text editing interface can be displayed and operated on the display screen of the PC, and wireless connection communication can be carried out with the printer in a Bluetooth mode, a wifi mode and the like.
And S11, the central control module sends a control command to the motion control module to control the printing module assembly to accurately move along the longitudinal guide rail, controls the inking device to accurately move along the transverse guide rail, and sends printed dot matrix information to the inking control module to control the inking device to jet ink to finish printing operation.
Specifically, the central control module sends a control command to the motion control module, the motion control module sends a pulse signal to the motor for controlling the ink outlet device to move along the transverse guide rail to control and drive the ink outlet device to move, the ink outlet control module controls the ink outlet device to perform ink outlet printing, the grating ruler sensor senses accurate position information of the ink outlet device on the transverse guide rail and transmits the position information to the motion control module, when one row of printing tasks are finished, the motion control module sends a pulse signal to the motor for controlling the printing module to move along the longitudinal guide rail to control and drive the ink outlet module to move along the longitudinal guide rail by one printing width, then the motion control module enables the ink outlet device to reversely move along the motion direction of the transverse guide rail, the motion direction of the ink outlet device is opposite to the previous direction, the next row of printing is performed, and then the process is repeated until the printing tasks are finished.
S12, after finishing the printing operation, the printing module is lifted;
the servo motor or the stepping motor drives the rack to move upwards along the vertical guide rail, and the printing module is stopped after the rack is limited, and is in a lifting state in the initial printing stage.
When the bound paper is not moved, after page turning is performed (when the page turning is performed, the backing plate is adjusted to enable the heights of the two sides of the unfolded bound paper to be approximately level), the page template and the grid line position information recorded in the last printing operation can be directly called, S10 operation is directly performed, and operation time is saved.
Example III
On the basis of the second embodiment, the form of the ink outlet device is further defined, as shown in fig. 6, the lower end of one side of the ink outlet device (the side of the printing module along the moving direction of the longitudinal guide rail during printing operation) is lower than the bottom surface of the nozzle of the ink outlet device, a plurality of universal balls are mounted on the bottom surface, and the height difference between the lower end of the universal balls and the nozzle is the printing height of the ink outlet device.
As shown in FIG. 7, a flattening block is selected and used, and a plurality of universal balls are arranged on the bottom surface of the flattening block, wherein the height difference between the lower ends of the universal balls and the nozzles is the printing height of the ink outlet device.
In the second embodiment, in the step S04, the position where the lower edge of the printing module coincides with the lowest point of the lower edge of the binding paper is taken as the end position, and since the bottom surface of the ink outlet device is lower than the nozzle of the ink outlet device and a plurality of universal balls are installed on the bottom surface, the ink outlet device is equivalent to having an independent flattening device, and at this time, the end position can be further extended by a distance at the position where the lower edge of the printing module coincides with the lowest point of the lower edge of the binding paper, and the extended distance is determined by the distance between the flattening device and the ink outlet device.
The bottom surface is installed a plurality of universal balls and is satisfied the multidirectional motion of play black device in addition, and rolling friction's frictional force is less than sliding friction's frictional force far away, and a plurality of universal balls flatten the intensity of pressure that reduces flattening together, reduces the damage to printing medium.
The lower end of one side of the printing module along the moving direction of the longitudinal guide rail is provided with a bottom surface lower than the nozzle of the ink outlet device, so that when the printing module moves downwards along the longitudinal guide rail during printing operation, the universal ball on the bottom surface can not press the printed characters, and the ink is not dried and smeared.
The ink outlet device is used for flattening the unfolded bound pages through the bottom surface of the ink outlet device and the universal ball, so that the printing medium can be flattened finely during printing operation on the basis that the flattening device flattens the unfolded bound pages once, and after the flattening device exceeds the lower edge of the bound pages by a certain distance, the ink outlet device can flatten the bound pages to finish printing, so that the printing area is larger, and the situation that the lowest lines of the bound pages cannot be printed due to too close distance to the lower edge is avoided.
As shown in fig. 6 and 7, the edge corners of the contact surfaces of the flattening device and the ink outlet device with the printing medium are rounded, so that the possibility of scraping the edges of the paper is reduced.
In addition, a heat radiation source can be additionally arranged in the ink outlet device or the printing module, so that the quick drying of the ink on the paper is facilitated.
The above embodiments of the present invention omit the power module, and are not intended to limit the present invention, and any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and scope of the present invention, such as changing the transmission and reception information of each module to each other through the central control module to the transmission and reception information of each module independently, are included in the protection scope of the present invention.

Claims (6)

1. A printer for printing bound paper books comprises a camera, a stand column, a base, a frame, a motor, a vertical guide rail, a central control module, a motion control module, an ink outlet control module, an image processing module and a text editing module;
the upright post is arranged on the base, and the vertical guide rail is fixed on the upright post;
the upper surface of the base is provided with an anti-slip layer;
the motor comprises a first motor for driving the frame to move along the vertical guide rail, a second motor for driving the printing module to move along the longitudinal guide rail and a third motor for driving the ink outlet device to move along the transverse guide rail;
the printing module comprises a third motor, a grating ruler sensor, a transverse guide rail, a flattening device, an ink outlet device and a printing module shell, wherein the ink outlet device comprises a carriage and an ink box, the ink outlet device is driven by the third motor to move along the transverse guide rail, the frame is connected with the vertical guide rail, the frame is controlled by the first motor to move up and down along the vertical guide rail, the printing module is connected with the longitudinal guide rail on the frame, and the printing module is controlled by the second motor to move along the longitudinal guide rail; the camera is connected with the frame through the cantilever and the vertical beam; the camera is connected with the printing module through the cantilever and the vertical beam;
the flattening device is parallel to the transverse guide rail, and the height of the bottommost end of the flattening device is lower than the height of the nozzle of the ink outlet device;
the image processing module is used for processing the surface pictures of the binding paper shot by the camera;
the image information processed by the image processing module and the image-text information to be printed are transmitted to the text editing module for editing;
the text editing module processes and completes generating printing task information, and the central control module receives the printing task information and sends a motion control command in the printing task information to the motion control module;
the motion control module controls the motion of the first motor, the second motor and the third motor;
the central control module sends dot matrix information in the printing task information to the ink outlet control module;
the ink outlet control module controls the ink outlet device to perform ink outlet printing;
when the image processing module processes the flattened picture of the binding paper, the image information of an external fixed area of the printing module in the image is cut, the image information of the flattened printing surface of the binding paper is spliced to obtain, the position information of the grid line of the binding paper is determined, the existing picture and text of the binding paper is identified, and the position information of the picture and text is determined.
2. The printer for printing on bound books according to claim 1, wherein the non-slip layer is selected from the group consisting of a particulate rubber pad and a matte rubber pad.
3. The printer for printing on bound paper according to claim 1, wherein the lower end of the ink outlet device is provided with a bottom surface lower than the nozzle of the ink outlet device, a plurality of universal balls are arranged on the bottom surface, and the height difference between the lower end of the universal balls and the nozzle is the printing height of the ink outlet device.
4. The printer according to claim 1, wherein the text editing module generates a printing area according to position information of ruled lines of the bound book, ends of the ruled lines determine a printing area range, pitches of the ruled lines determine a line height, recognizes and determines existing images and texts of the bound book and position information thereof, and edits the area restriction of the existing images and texts in the printing area.
5. A printing method comprising the steps of:
s01, unfolding a binding paper book to be printed and placing the binding paper book on a base plane;
s02, leveling one side of the bound paper with less unfolded pages to be level with the other side by using a backing plate;
s03, shooting the unfolded bound paper book by using a camera;
s04, the image processing module processes the photo and obtains a longitudinal movement interval of the printing module in the longitudinal guide rail;
s05, the printing module moves to the initial position of the longitudinal movement section, and presses down the printing module until the surface of the bound paper is flattened;
s06, the printing module moves to the end position of the longitudinal movement section along the longitudinal guide rail;
s07, the camera shoots the movement process of the longitudinal guide rail after the printing module is pressed down;
s08, the image processing module performs splicing processing on the shot image information to determine the position information of the binding paper book grid lines;
s09, the text editing module generates a printing area according to the position information of the grid lines;
s10, editing texts in the printing area and sending the printing task information to the central control module;
s11, the central control module sends a control command to the motion control module to control the printing module to accurately move along the longitudinal guide rail, controls the inking device to accurately move along the transverse guide rail, and sends printed dot matrix information to the inking control module to control the inking device to jet ink to finish printing operation;
s12, after finishing the printing operation, the printing module is lifted;
when the image processing module processes the flattened picture of the binding paper, the image information of an external fixed area of the printing module in the image is cut, the image information of the flattened printing surface of the binding paper is spliced to obtain, the position information of the grid line of the binding paper is determined, the existing picture and text of the binding paper is identified, and the position information of the picture and text is determined.
6. The printing method of claim 5, wherein the pictures shot by the camera during the movement of the printing module are mapped with the position of the printing module in the longitudinal guide direction and recorded and stored.
CN202210808428.3A 2022-06-30 2022-06-30 Printer capable of printing bound paper book and printing method Active CN115320254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210808428.3A CN115320254B (en) 2022-06-30 2022-06-30 Printer capable of printing bound paper book and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210808428.3A CN115320254B (en) 2022-06-30 2022-06-30 Printer capable of printing bound paper book and printing method

Publications (2)

Publication Number Publication Date
CN115320254A CN115320254A (en) 2022-11-11
CN115320254B true CN115320254B (en) 2023-10-24

Family

ID=83917220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210808428.3A Active CN115320254B (en) 2022-06-30 2022-06-30 Printer capable of printing bound paper book and printing method

Country Status (1)

Country Link
CN (1) CN115320254B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT526431B1 (en) * 2023-01-31 2024-03-15 Elke Steiner Printer arrangement and a method for printing a pre-bound book in such a printer arrangement

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06171183A (en) * 1992-12-04 1994-06-21 Ricoh Co Ltd Image formation apparatus
CN1165090A (en) * 1996-04-25 1997-11-19 株式会社Imes Printer
CN1165743A (en) * 1996-05-17 1997-11-26 株式会社Imes Pin type array printer
JPH11191051A (en) * 1997-12-26 1999-07-13 Sharp Corp Image forming device
CN105538731A (en) * 2016-03-09 2016-05-04 浙江韩益机电有限公司 3D printer
EP3015270A1 (en) * 2014-10-31 2016-05-04 Trigenion GmbH Automatic desktop printer for security booklet documents
CN111469551A (en) * 2020-04-20 2020-07-31 江苏信息职业技术学院 Book printer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004027678A1 (en) * 2004-06-07 2005-12-22 Secure Print Systems Gmbh Method and device for printing in a document

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06171183A (en) * 1992-12-04 1994-06-21 Ricoh Co Ltd Image formation apparatus
CN1165090A (en) * 1996-04-25 1997-11-19 株式会社Imes Printer
CN1165743A (en) * 1996-05-17 1997-11-26 株式会社Imes Pin type array printer
JPH11191051A (en) * 1997-12-26 1999-07-13 Sharp Corp Image forming device
EP3015270A1 (en) * 2014-10-31 2016-05-04 Trigenion GmbH Automatic desktop printer for security booklet documents
CN105538731A (en) * 2016-03-09 2016-05-04 浙江韩益机电有限公司 3D printer
CN111469551A (en) * 2020-04-20 2020-07-31 江苏信息职业技术学院 Book printer

Also Published As

Publication number Publication date
CN115320254A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
JP7163993B2 (en) Handy printer, control method and program
US9126404B2 (en) Ink jet recording apparatus and method for detecting faulty discharge in ink jet recording apparatus
EP0803795A1 (en) Versatile print preview of drawings
US20080213018A1 (en) Hand-propelled scrapbooking printer
CN115320254B (en) Printer capable of printing bound paper book and printing method
JPH1158844A (en) Handy printer system
JP6765858B2 (en) Image processing methods, programs, and image processing equipment
CN103481644A (en) Screen printer with automatic chromatography alignment function
JP2009056789A (en) Printer
JP6833349B2 (en) Tray, adapter tray, recording device, information processing device, recording method, information processing method, and storage medium
CN205439548U (en) Half tone automatic alignment's coil stock screen printing system
JP2004318430A (en) Number-of-sheets counting device and counting auxiliary tool
JP2020042418A (en) Data generation system, communication terminal, image formation device and program
US20080008384A1 (en) Method For Rotational Media Printing
CN203496423U (en) Screen printing machine having registering self-aligning function
US10069992B2 (en) Method for establishing a position of a media object on a flatbed surface of a printer
CN214188960U (en) Mobile printing device and auxiliary positioning device thereof
JP7129303B2 (en) Print media handling system and print media handling method
US20240221206A1 (en) Processing system and display method
JP4407317B2 (en) Printing apparatus, printing method on media, and printing system
JP3037499B2 (en) Printing method and apparatus
CN112782169B (en) Multifunctional detection integrated intelligent device for universal keyboard
CN103217427B (en) Detection method after FPC Laser Processing
CN112406323A (en) Mobile printing device and auxiliary positioning device thereof
JP2019130734A (en) Printing system, terminal device, printer, printing method and program

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