CN111061439B - Print data processing method and device and printer - Google Patents

Print data processing method and device and printer Download PDF

Info

Publication number
CN111061439B
CN111061439B CN201911135922.2A CN201911135922A CN111061439B CN 111061439 B CN111061439 B CN 111061439B CN 201911135922 A CN201911135922 A CN 201911135922A CN 111061439 B CN111061439 B CN 111061439B
Authority
CN
China
Prior art keywords
logistics information
printing
historical
single number
scanning
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
CN201911135922.2A
Other languages
Chinese (zh)
Other versions
CN111061439A (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 Electronic Technology 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 CN201911135922.2A priority Critical patent/CN111061439B/en
Publication of CN111061439A publication Critical patent/CN111061439A/en
Application granted granted Critical
Publication of CN111061439B publication Critical patent/CN111061439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention provides a printing data processing method and a printer, wherein the method comprises the following steps: requesting a printing task to a resource management end to acquire printing information sent by the resource management end; printing according to the printing information to generate a printing list; the printing surface sheet comprises an identification mark generated according to a logistics information sheet number in the printing information; acquiring a logistics information single number obtained by scanning the printing surface single by a scanning mechanism, and comparing the logistics information single number obtained by scanning with a historical logistics information single number cached in a preset historical single number storage buffer area to judge whether a historical logistics information single number which is repeated with the logistics information single number exists; and when judging that the historical logistics information sheet number which is repeated with the logistics information sheet number exists, recording the repeated logistics information sheet number. The invention can effectively solve the problems of repeated printing and missing printing in the printing process.

Description

Print data processing method and device and printer
Technical Field
The invention relates to the technical field of printing equipment, in particular to a printing data processing method and device and a printer.
Background
With the rapid development of the logistics industry, bar codes, two-dimensional codes and the like are widely applied to product identification sheets, transportation sheets, storage sheets and the like of various goods. Printed documents are often uploaded to a memory after being manually scanned, so that the documents are convenient to inquire and store. However, the bill processing personnel needs to process hundreds of bills every day, so that the phenomena of missing printing or repeated printing are easy to occur on one occasion, and the bills are scanned one by one on the other occasion, which consumes a great deal of manpower and time, and has low efficiency.
Disclosure of Invention
The invention provides a printing data processing method, a printing data processing device and a printer, and aims to solve the problem that printing is easy to miss or repeat.
The invention is realized in the following way:
a print data processing method, comprising:
requesting a printing task to a resource management end to acquire printing information sent by the resource management end; the printing information comprises a logistics information sheet number acquired from a logistics service end and logistics information acquired from an e-commerce platform;
printing according to the printing information to generate a printing list; the printing surface sheet comprises an identification mark generated according to a logistics information sheet number in the printing information;
acquiring a logistics information single number obtained by scanning the printing surface single by a scanning mechanism, and comparing the logistics information single number obtained by scanning with a historical logistics information single number cached in a preset historical single number storage buffer area to judge whether a historical logistics information single number which is repeated with the logistics information single number exists; and
and when judging that the historical logistics information sheet number which is repeated with the logistics information sheet number exists, recording the repeated logistics information sheet number.
Preferably, the method further comprises the following steps:
and when judging that no repeated historical logistics information single number exists, caching the logistics information single number into the historical single number storage buffer area.
Preferably, the method further comprises the following steps:
emptying the historical single number storage buffer area every preset time; or alternatively
When the number of the historical logistics information single numbers in the historical single number storage buffer area exceeds a preset threshold value, emptying the historical single number storage buffer area; or alternatively
And when the number of the historical logistics information single numbers in the historical single number storage buffer area exceeds a preset threshold value, using the current logistics information single number to carry out covering storage on the historical logistics information single number cached firstly.
Preferably, the method further comprises the following steps:
sending the historical logistics information single number cached in the historical single number storage buffer area to a resource management end at preset time intervals so as to trigger the resource management end to compare the historical logistics information single number with a logistics information single number obtained from the logistics service end, judge whether a missed logistics information single number exists or not, and return a judgment result; and
and when detecting that the missed logistics information sheet number exists according to the judgment result, recording the missed logistics information sheet number.
An embodiment of the present invention further provides a print data processing apparatus, including:
the request unit is used for requesting a printing task to a resource management end so as to acquire printing information sent by the resource management end; the printing information comprises a logistics information sheet number acquired from a logistics service end and logistics information acquired from an e-commerce platform;
the printing unit is used for printing according to the printing information to generate a printing bill; the printing surface sheet comprises an identification mark generated according to a logistics information sheet number in the printing information;
the comparison unit is used for acquiring the logistics information single number obtained by scanning the printing surface single by the scanning mechanism, and comparing the logistics information single number obtained by scanning with the historical logistics information single number cached in a preset historical single number storage buffer area so as to judge whether the historical logistics information single number which is repeated with the logistics information single number exists or not; and
and the recording unit is used for recording the repeated logistics information sheet number when judging that the historical logistics information sheet number which is repeated with the logistics information sheet number exists.
The embodiment of the invention also provides a printer, which comprises a printer body, a printing mechanism and a scanning mechanism, wherein the printing mechanism and the scanning mechanism are arranged on the printer body, the printer body is provided with a paper outlet, the printing mechanism comprises a printing head component and a control component, the scanning mechanism is arranged at a position close to the paper outlet, the control component comprises at least one controller, and the controller is electrically connected with the printing head component and the scanning mechanism; wherein the controller comprises a memory and a processor, the memory stores executable codes, and the executable codes can be executed by the processor to realize the printing data processing method.
Preferably, a paper feeding channel is formed in the printing mechanism, and a scanning channel is formed in the scanning mechanism;
the paper feeding end of the paper feeding channel is communicated with the paper storage bin of the printing mechanism, and the paper discharging end of the paper feeding channel is communicated with the paper feeding end of the scanning channel; the paper outlet end of the scanning channel is communicated with the paper outlet.
Preferably, the body includes a first housing and a second housing connected to each other to constitute the body casing, the printing mechanism is disposed in the first housing, and the scanning mechanism is disposed in the second housing.
Preferably, the scanning mechanism has a scanning head, and the scanning head is fixed with the second housing through a fixing frame; the fixing frame is provided with a guide plate extending towards the paper feeding end direction of the paper feeding channel, the guide plate is obliquely arranged, and the distance between the guide plate and the scanning channel is gradually reduced along the paper feeding direction.
Preferably, the fixing frame is a U-shaped member with a downward opening, the scanning head is disposed in the U-shaped opening of the fixing frame, and two opposite sides of the U-shaped opening are both disposed with outwardly extending side wings, and the side wings are connected to the second housing through a connecting assembly.
In the embodiment of the invention, the identification mark of the printing receipt is scanned to obtain the logistics information receipt, and then the logistics information receipt is matched with the historical logistics information receipt cached in the historical receipt storage buffer area to judge whether the logistics information receipt with repeated printing exists, so that the repeated printing behavior can be found in time, and the problems of order disorder and the like caused by repeated printing are avoided. The whole printing data processing flow of the embodiment does not need or only needs little manual interference, so that the cost of manpower and material resources is saved, and the printing accuracy is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart illustrating a print data processing method according to a first embodiment of the present invention;
fig. 2 is an application scenario diagram of a print data processing method according to a first embodiment of the present invention;
FIG. 3 is a schematic structural view of a printer according to a third embodiment of the present invention;
FIG. 4 is a schematic cross-sectional view of the printer of FIG. 3 with a scanning function;
fig. 5 is a schematic view showing a structure in which an upper cover of the printer having the scanning function of fig. 3 is opened;
FIG. 6 is an exploded schematic view of the second housing structure of FIG. 3;
FIG. 7 is a schematic view of the structure of FIG. 6 from another perspective;
fig. 8 is a schematic sectional view of the second housing structure.
Icon: 100-printer with scanning function; 101-a storage space; 102-a separator; 103-chamfered part; 110-a machine body; 111-a first housing; 112-a second housing; 113-an upper cover; 114-left receiving area; 115-right accommodation area; 116-panel area; 117-paper out zone; 120-a printing mechanism; 121-a printhead assembly; 122 — a cartridge assembly; 123-a mounting bracket; 130-a scanning mechanism; 131-a fixed mount; 132-a scanning head; 133-flank; 134-a guide plate; 135-side plate; 140-a paper clip; 141-a paper cutting part; a-a trough portion; b, a paper outlet end; c-a paper outlet; s1, a paper feeding channel; s2-scanning the channel.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings of the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention. Thus, the following detailed description of the embodiments of the present invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be obtained by a person skilled in the art without inventive efforts based on the embodiments of the present invention, are within the scope of protection of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the equipment or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Referring to fig. 1, a first embodiment of the present invention provides a method for processing print data, which can be executed by a printer and at least includes the following steps:
s101, requesting a printing task to a resource management end to acquire printing information sent by the resource management end; the printing information comprises a logistics information sheet number acquired from a logistics service end and logistics information acquired from an e-commerce platform.
In this embodiment, after the user makes a purchase order on the e-commerce platform, the e-commerce platform may generate a corresponding logistics information, for example, the logistics information may include a name of a commodity, names, addresses, contact addresses, and the like of a recipient and a sender. And the E-commerce platform generates logistics information and then sends the logistics information to the resource management terminal. The e-commerce platform can be Taobao, tianmao, jingdong, shuduo and the like, and the invention is not particularly limited.
In this embodiment, the logistics server configures a logistics information single number for the logistics information to uniquely represent the logistics information, and similarly, the logistics server generates the logistics information single number and then sends the logistics information single number to the resource management terminal. The logistics service end may be a platform of an express company, or may be a platform of an express company and a platform of a logistics service company, which is not specifically limited in the present invention.
In this embodiment, the resource management terminal may be a platform or a server installed with predetermined resource management software (such as ERP software), and the resource management terminal may obtain logistics information from an e-commerce platform and obtain a logistics information sheet number from the logistics service terminal, and correspondingly combine the logistics information sheet number and the logistics information sheet number to generate the printing information.
In this embodiment, the printer may initiate a print request to the resource management end, and the resource management end sends unprocessed print information to the printer after receiving the print request.
S102, printing according to the printing information to generate a printing surface list; the printing list comprises an identification mark generated according to the logistics information list number in the printing information.
In this embodiment, the printer may print according to the received print information to generate a print receipt.
The printing surface sheet comprises an identification mark generated according to the logistics information sheet number, and the identification mark can be presented in the form of a two-dimensional code, a bar code or other patterns and characters. The identification means (e.g., various scanning devices) can obtain the logistics information sheet number by identifying the identification mark.
S103, acquiring a logistics information single number obtained by scanning the printing surface single by the scanning mechanism, and comparing the logistics information single number obtained by scanning with a history logistics information single number cached in a preset history single number storage buffer area to judge whether a history logistics information single number which is repeated with the logistics information single number exists.
In this embodiment, a scanning mechanism is arranged near the paper outlet of the printer, and the scanning mechanism is connected with a controller of the printer, wherein, after the printed receipt is printed, the scanning mechanism can scan the identification mark on the printed receipt to obtain the logistics information single number corresponding to the identification mark, and send the logistics information single number to the controller of the printer, and after the controller obtains the logistics information single number, the controller compares the logistics information single number with the historical logistics information single number cached in the preset historical single number storage buffer area to judge whether the historical logistics information single number repeated with the current logistics information single number exists.
In this embodiment, the scanning mechanism typically includes a scanning head, which may be a Contact Image Sensor (CIS) or a charge-coupled device image sensor (CCD). Furthermore, the scanning head is preferably CIS, the CIS is low in manufacturing cost, a lens group is not needed, the size is small, the cost is low, and the structure of the product is more compact.
In addition, further, the scanning mechanism and the printer may be separately provided, or may be combined into a whole, and the present invention is not particularly limited.
And S104, when judging that the repeated historical logistics information sheet numbers exist, recording the repeated logistics information sheet numbers.
In this embodiment, if the controller finds the historical logistics information single number which is duplicated with the current logistics information single number in the historical single number storage buffer area, it indicates that the repeated printing occurs, at this time, the controller may control to send a corresponding audible and visual prompt, such as sending an alarm sound or controlling an indicator light to be turned on, to remind the user that the repeated printing occurs, and meanwhile, the controller may also record the logistics information single number which is repeatedly printed, so as to be used for subsequent processing by the user.
In this embodiment, if it is determined that there is no repeated historical logistics information sheet, the controller controls to cache the logistics information sheet into the historical sheet storage buffer.
In this embodiment, a predetermined number of historical logistics information sheet numbers, for example, 1000 historical logistics information sheet numbers, may be stored in the historical sheet number storage buffer. The historical single number storage buffer area may be set to be emptied at predetermined intervals, or the historical single number storage buffer area may be emptied when the number of the historical logistics information single numbers in the historical single number storage buffer area exceeds a preset threshold, or the latest cached historical logistics information single number is stored in a covering manner by using the logistics information single number currently required to be cached when the number of the historical logistics information single numbers in the historical single number storage buffer area exceeds the preset threshold, which are within the protection scope of the present invention and are not described herein.
In summary, in this embodiment, the identification identifier of the print order is scanned to obtain the logistics information order number, and then the logistics information order number is matched with the historical logistics information order number cached in the historical order number storage buffer to determine whether there is a repeatedly printed logistics information order number, so that a repeatedly printed behavior can be found in time, and the problems of order disorder and the like caused by repeated printing are avoided. The whole printing data processing flow of the embodiment does not need or only needs little manual interference, so that the cost of manpower and material resources is saved, and the printing accuracy is improved.
On the basis of the above-described embodiments, in a preferred embodiment of the invention,
further comprising:
sending the historical logistics information single number cached in the historical single number storage buffer area to a resource management end at intervals of preset time so as to trigger the resource management end to compare the historical logistics information single number with a logistics information single number acquired from a logistics service end, judge whether a missed logistics information single number exists or not, and return a judgment result; and
and when detecting that the missed logistics information sheet number exists according to the judgment result, recording the missed logistics information sheet number.
In this embodiment, the printer can send the printed historical logistics information sheet number cached in the historical sheet number storage buffer to the resource management terminal at regular time through the driver of the printer, and the resource management terminal matches the historical logistics information sheet number sent by the printer and the pre-stored logistics information sheet number acquired from the logistics service terminal to determine whether the printer has the condition of missing printing of the sheet number.
If the condition that the single number is missed is detected, the resource management end returns the logistics information single number missed to the printer, so that the printer can perform single number printing. Meanwhile, the resource management terminal or the printer can also send out relevant prompts or abnormal records of missed printing, so that a user can learn the missed printing behavior, and abnormal investigation and the like are carried out.
In this embodiment, the printed historical logistics information sheet number is matched with the logistics information sheet number cached by the resource management end to determine whether the logistics information sheet number which is missed to be printed exists, so that the problem that the sheet number is missed to be printed due to missing printing is avoided. The whole printing data processing flow of the embodiment does not need or only needs little manual interference, so that the cost of manpower and material resources is saved, and the printing accuracy is improved.
Referring to fig. 3, a second embodiment of the present invention further provides a print data processing apparatus, including:
the request unit requests a printing task from a resource management end to acquire printing information sent by the resource management end; the printing information comprises a logistics information sheet number acquired from a logistics service end and logistics information acquired from an e-commerce platform;
the printing unit is used for printing according to the printing information to generate a printing surface list; the printing list comprises an identification mark generated according to a logistics information list number in the printing information;
the comparison unit is used for acquiring the logistics information single number obtained by scanning the printing surface single by the scanning mechanism, and comparing the logistics information single number obtained by scanning with the historical logistics information single number cached in a preset historical single number storage buffer area so as to judge whether the historical logistics information single number which is repeated with the logistics information single number exists or not; and
and the recording unit is used for recording the repeated logistics information list number when judging that the historical logistics information list number repeated with the logistics information list number exists.
Preferably, the method further comprises the following steps:
and the caching unit is used for caching the logistics information single number into the historical single number storage buffer area when judging that no repeated historical logistics information single number exists.
Preferably, the method further comprises the following steps:
a buffer flush unit to:
emptying the historical single number storage buffer area every preset time; or alternatively
When the number of the historical logistics information single numbers in the historical single number storage buffer area exceeds a preset threshold value, emptying the historical single number storage buffer area; or alternatively
And when the number of the historical logistics information single numbers in the historical single number storage buffer area exceeds a preset threshold value, the current logistics information single number is used for carrying out covering storage on the historical logistics information single number cached firstly.
Preferably, the logistics service end further sends the generated logistics information sheet number to the resource management end through the e-commerce platform; then the method further comprises the following steps:
the historical logistics information single number sending unit is used for sending the historical logistics information single number cached in the historical single number storage buffer area to the resource management end at intervals of preset time so as to trigger the resource management end to compare the historical logistics information single number with the logistics information single number obtained from the e-commerce platform, judge whether the missed logistics information single number exists or not and return a judgment result; and
and the missed printing recording unit is used for recording the missed printing logistics information sheet number when the missed printing logistics information sheet number is detected according to the judgment result.
Preferably, the method further comprises the following steps:
the historical logistics information single number sending unit is used for sending the historical logistics information single number cached in the historical single number storage buffer area to the resource management end at intervals of preset time so as to trigger the resource management end to compare the historical logistics information single number with the logistics information single number obtained from the logistics service end, judge whether the missed logistics information single number exists or not and return a judgment result; and
and the missed printing recording unit is used for recording the missed printing logistics information sheet number when the missed printing logistics information sheet number is detected according to the judgment result.
Referring to fig. 3 and 4, the printer 100 includes a body 110, a printing mechanism 120 and a scanning mechanism 130, where the printing mechanism 120 is disposed in the body 110, and after the paper is printed by the printing mechanism 120, the paper is directly scanned by the scanning mechanism 130.
Referring to fig. 3, the body 110 includes a first housing 111 and a second housing 112 connected to each other to form an outer shell of the body 110, the printing mechanism 120 is disposed in the first housing 111, and the scanning mechanism 130 is disposed in the second housing 112.
In one embodiment, the body 110 further includes an upper cover 113. The first housing 111 is a semi-enclosed structure having a top opening and side openings. The second housing 112 closes the side opening, and the top cover 113 covers the top of the first housing 111 and the second housing 112.
Preferably, a cylindrical plug-in post is disposed on the first casing 111, a plug hole matched with the plug-in post is disposed on the second casing 112, and the first casing 111 and the second casing 112 are fixed by the plug-in post and the plug hole.
Preferably, the upper cover 113 and the first housing 111 are fixed by a snap structure, so as to facilitate the opening of the upper cover 113. The top contour of the second shell 112 is matched with the upper cover 113, and the two have no fixing point, the upper cover 113 only abuts against the top of the second shell 112, so that the disassembly is more convenient.
Preferably, the first housing 111 includes a left receiving area 114 and a right receiving area 115. The left receiving area 114 is used for arranging battery components and control components. The right receiving area 115 is used to configure the printing mechanism 120. The sidewall of the left receiving area 114 is configured with heat dissipation mechanisms, such as heat dissipation holes. The battery components are separated, so that heat dissipation is facilitated, and overhigh heat is avoided.
In this embodiment, print mechanism 120 includes a printhead assembly 121 and a cartridge assembly 122, and printhead assembly 121 and cartridge assembly 122 cooperate to perform a printing function. It should be noted that the printing mechanism 120 in this embodiment may be, for example, a thermal printing mechanism, the printhead assembly 121 includes a TPH printing assembly, the deck assembly 122 includes at least one conveying roller for conveying a printing medium (e.g., printing paper), the printing medium passes under the TPH printing assembly under the conveying of the conveying roller, and the heating element is selectively driven by the TPH printing assembly to mark the printing content on the printing medium, so as to realize the printing process. It is understood that the printing mechanism may be an ink jet printer, a thermal transfer printer, or other types of printers. The specific structure of the printhead assembly 121 and the core assembly 122 for implementing the printing function is the prior art, and further description thereof is omitted.
Referring to fig. 2, the printing mechanism has a paper feed path S1. The scanning mechanism 130 is located outside the paper output end B of the paper path S1. The scanning mechanism 130 is formed with a scanning channel S2, a paper feeding end of the scanning channel S2 is connected to a paper discharging end B of the paper feeding channel S1 to receive the printing medium output by the paper discharging end B, and a paper discharging end of the scanning channel S2 is connected to the paper discharging port C.
In one embodiment, paper path S1 is located between printhead assembly 121 and deck assembly 122. Preferably, the paper path S1 is inclined toward the paper exit end B. Specifically, the mounting bracket 123 of the printhead assembly 121 is disposed obliquely, and the paper inlet end of the printhead assembly 121 is high and the paper outlet end is low, which is beneficial for the paper to smoothly enter the scanning mechanism 130 from top to bottom.
Referring to fig. 4-6, the second housing 112 is disposed at the paper output end of the printing mechanism 120, and a receiving space 101 is disposed at a side of the second housing 112 close to the first housing 111. The scanning head 132 of the scanning mechanism 130 is disposed in the housing space 101 of the second housing 112. Preferably, in the present embodiment, the scanning path S2 is disposed below the scanning head 132 of the scanning mechanism 130. That is, the housing space 101 is provided at a position above the discharge port C.
Preferably, the scanning head 132 of the scanning mechanism 130 is fixed to the second housing 112 by a fixing frame 131.
Preferably, the scan head 132 is a Contact Image Sensor (CIS) or a charge coupled device image sensor (CCD). Further, the scanning head 132 is preferably a CIS, which is inexpensive to manufacture, needs no lens set, and has a small volume, low cost, and a more compact product structure.
Specifically, in the present embodiment, the fixing frame 131 is a U-shaped member with a downward opening, the scanning head 132 is disposed in the U-shaped opening of the fixing frame 131, and two opposite sides of the U-shaped opening are disposed with the wings 133 extending outward. When the paper feeding direction is the front-rear direction, both ends of the fixing frame 131 extend in the left-right direction. The side plates on both sides of the U-shaped member are fixed to the scanning head 132 by means of screws or the like.
In this embodiment, the side wing 133 is substantially flush with the end surface of the scan head 132 close to the printing mechanism 120, so as to further ensure the compactness of the product. The side wings 133 are connected to the second housing 112 by a connecting assembly. The specific structure of the connecting assembly can be, for example: the wing 133 is provided with one or more openings, the second housing 112 is provided with a slot adapted to the openings, and the screw assembly passes through the opening on the wing of the opening and enters the slot on the second housing 112, thereby fixing the fixing frame 131 and the second housing 112.
Further, a partition plate 102 is provided below the scanning path S2, and the partition plate 102 extends to the paper discharge port C. The bottom surfaces of the diaphragm 102 and the scan head 132 define a scan path S2. Both sides of the partition board 102 along the paper feeding direction are provided with chamfered parts 103, and the arrangement of the chamfered parts 103 is more beneficial to discharging paper after the paper smoothly passes through the scanning channel S2.
Preferably, the fixing frame 131 is provided with a guide plate 134 extending toward the paper output end B, and the distance between the guide plate 134 and the scanning path S2 gradually decreases along the paper feeding direction. Specifically, the side of the fixing frame 131 close to the printing mechanism 120 has a side plate 135, and the bottom edge of the side plate 135 is bent upward by a predetermined angle to form a guide plate 134. Preferably, the guide plate 134 and the side plate 135 are formed at an angle of 50 to 80 °. The sheet exiting from the paper exit end of the head unit 121 can be guided to the scanning path S2 by the guide plate 134.
Preferably, a paper cutter 140 is further mounted on the end surface of the second housing 112 near the scanning mechanism 130, and a cut paper portion 141 of the paper cutter 140 extends to pass through the paper outlet C. The paper cutting portion 141 extends obliquely downward to smoothly guide out the paper. The paper cutter 140 is provided between the second housing 112 and the scanning mechanism 130. In one embodiment, the paper cutter 140 is fixed to the second housing 112 by a screw assembly.
Further, the portion of the paper cutting portion 141 that penetrates out of the paper outlet C is in a sawtooth-shaped structure, and the paper cutting portion 141 penetrates out along the top edge of the paper outlet C.
Preferably, the second casing 112 has a groove a recessed from the outer surface to the inner portion, and the second paper outlet C is disposed in the groove a.
Preferably, in the present embodiment, the second housing 112 and the upper cover 113 are both made of plastic.
Preferably, in this embodiment, the second housing 112 includes a panel area 116 and a paper output area 117, the panel area 116 corresponds to the left accommodation area 114, and the paper output area 117 corresponds to the right accommodation area 115. A display panel is disposed above the panel area 116 to display printer states including a standby state, a paper out state, a print error state, and a power state. A key panel is provided below the panel area 116 to control printing modes such as paper feed, pause, cancel, and the like.
The following details the operation of the printer 100 with scanning function of the present embodiment:
in this embodiment, when a controller (not shown) of the printer 100 receives a print request, it controls the print medium in the paper storage to travel along the paper feeding path S1 through the relevant conveying roller of the core assembly 122, and when the print medium travels to a position below the print head assembly 121, the controller selectively drives the corresponding heating element on the print head assembly 121 according to the current print content, so as to realize the reproduction of the print content on the print medium. Generally, the printer 100 of the present embodiment is applied to printing an express receipt, and therefore, a print medium generally includes a printed barcode, a two-dimensional code, a character string, or other identification patterns.
In this embodiment, the printing medium with the recorded printing content is transported out from the paper output end B of the paper feeding channel S1 and enters the scanning channel S2 through the paper input end of the scanning channel S2, the scanning head 132 located in the scanning channel S2 scans and identifies the identification pattern on the printing medium to obtain corresponding information (e.g., the logistics information single number), and transmits the logistics information single number to the controller for storage and recording, so as to subsequently determine whether the logistics information single number has problems of wrong printing, missing printing, or repeated printing.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A print data processing method, characterized by comprising:
requesting a printing task to a resource management end to acquire printing information sent by the resource management end; the printing information comprises a logistics information sheet number acquired from a logistics service end and logistics information acquired from an e-commerce platform;
printing according to the printing information to generate a printing list; the printing surface sheet comprises an identification mark generated according to a logistics information sheet number in the printing information;
acquiring a logistics information single number obtained by scanning the printing surface single by a scanning mechanism, and comparing the logistics information single number obtained by scanning with a historical logistics information single number cached in a preset historical single number storage buffer area to judge whether a historical logistics information single number which is repeated with the logistics information single number exists; and
when judging that the historical logistics information sheet number which is repeated with the logistics information sheet number exists, recording the repeated logistics information sheet number;
sending the historical logistics information single number cached in the historical single number storage buffer area to a resource management end at preset time intervals so as to trigger the resource management end to compare the historical logistics information single number with a logistics information single number obtained from the logistics service end, judge whether a missed logistics information single number exists or not, and return a judgment result; and
and when detecting that the missed logistics information sheet number exists according to the judgment result, recording the missed logistics information sheet number.
2. The print data processing method according to claim 1, further comprising:
and when judging that no repeated historical logistics information single number exists, caching the logistics information single number into the historical single number storage buffer area.
3. The print data processing method according to claim 2, further comprising:
emptying the historical single number storage buffer area every preset time; or alternatively
When the number of the historical logistics information single numbers in the historical single number storage buffer area exceeds a preset threshold value, emptying the historical single number storage buffer area; or alternatively
And when the number of the historical logistics information single numbers in the historical single number storage buffer area exceeds a preset threshold value, using the current logistics information single number to carry out covering storage on the historical logistics information single number cached firstly.
4. A print data processing apparatus, characterized by comprising:
the request unit is used for requesting a printing task to a resource management end so as to acquire printing information sent by a logistics server of the resource management end; the printing information comprises a logistics information sheet number acquired from a logistics service end and logistics information acquired from an e-commerce platform;
the printing unit is used for printing according to the printing information to generate a printing surface list; the printing list comprises an identification mark generated according to a logistics information list number in the printing information;
the comparison unit is used for acquiring the logistics information single number obtained by scanning the printing surface single by the scanning mechanism, and comparing the logistics information single number obtained by scanning with the historical logistics information single number cached in the preset historical single number storage buffer area so as to judge whether the historical logistics information single number which is repeated with the logistics information single number exists or not; and
the recording unit is used for recording the repeated logistics information sheet number when judging that the historical logistics information sheet number which is repeated with the logistics information sheet number exists;
the historical logistics information single number sending unit is used for sending the historical logistics information single number cached in the historical single number storage buffer area to the resource management end at intervals of preset time so as to trigger the resource management end to compare the historical logistics information single number with the logistics information single number obtained from the e-commerce platform, judge whether the missed logistics information single number exists or not and return a judgment result; and
and the missed printing recording unit is used for recording the missed printing logistics information sheet number when the missed printing logistics information sheet number is detected according to the judgment result.
5. A printer is characterized by comprising a printer body, a printing mechanism and a scanning mechanism, wherein the printing mechanism and the scanning mechanism are arranged on the printer body, a paper outlet is formed in the printer body, the printing mechanism comprises a printing head component and a control component, the scanning mechanism is arranged at a position close to the paper outlet, the control component comprises at least one controller, and the controller is electrically connected with the printing head component and the scanning mechanism; wherein the controller comprises a memory and a processor, the memory having stored therein executable code executable by the processor to implement the print data processing method of any one of claims 1 to 3.
6. The printer according to claim 5, wherein a paper feeding path is formed in said printing mechanism, and a scanning path is formed in said scanning mechanism;
the paper feeding end of the paper feeding channel is communicated with the paper storage bin of the printing mechanism, and the paper discharging end of the paper feeding channel is communicated with the paper feeding end of the scanning channel; the paper outlet end of the scanning channel is communicated with the paper outlet.
7. The printer of claim 6, wherein the body includes a first housing and a second housing interconnected to form the body enclosure, the printing mechanism being disposed in the first housing and the scanning mechanism being disposed in the second housing.
8. The printer of claim 7, wherein the scanning mechanism has a scanning head, the scanning head being secured to the second housing by a mount; the fixing frame is provided with a guide plate extending towards the paper feeding end direction of the paper feeding channel, the guide plate is obliquely arranged, and the distance between the guide plate and the scanning channel is gradually reduced along the paper feeding direction.
9. The printer according to claim 8, wherein the fixing frame is a U-shaped member with an opening facing downward, the scanning head is disposed in the U-shaped opening of the fixing frame, and two opposite sides of the U-shaped opening are disposed with outwardly extending side wings, and the side wings are connected to the second housing through a connecting member.
CN201911135922.2A 2019-11-19 2019-11-19 Print data processing method and device and printer Active CN111061439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911135922.2A CN111061439B (en) 2019-11-19 2019-11-19 Print data processing method and device and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911135922.2A CN111061439B (en) 2019-11-19 2019-11-19 Print data processing method and device and printer

Publications (2)

Publication Number Publication Date
CN111061439A CN111061439A (en) 2020-04-24
CN111061439B true CN111061439B (en) 2022-10-21

Family

ID=70298545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911135922.2A Active CN111061439B (en) 2019-11-19 2019-11-19 Print data processing method and device and printer

Country Status (1)

Country Link
CN (1) CN111061439B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111596871A (en) * 2020-04-30 2020-08-28 厦门汉印电子技术有限公司 Leakage-proof single-side single-cloud printing method, device and system and cloud printer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103963483A (en) * 2014-05-09 2014-08-06 苏州市百科德条码科技有限责任公司 Unique code printing screening industrial fool-proofing device and printing method thereof
CN106557929A (en) * 2015-09-23 2017-04-05 阿里巴巴集团控股有限公司 Logistics information processing method and processing device
CN207115433U (en) * 2017-09-21 2018-03-16 新疆华世丹药业股份有限公司 Automatic bar code scanning detects warning device
JP2019067079A (en) * 2017-09-29 2019-04-25 キヤノンマーケティングジャパン株式会社 Print management server, print management system, print management method and program
CN110147213A (en) * 2019-06-20 2019-08-20 迅镭智能(广州)科技有限公司 Printing detection method, device, equipment and medium based on scanner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103963483A (en) * 2014-05-09 2014-08-06 苏州市百科德条码科技有限责任公司 Unique code printing screening industrial fool-proofing device and printing method thereof
CN106557929A (en) * 2015-09-23 2017-04-05 阿里巴巴集团控股有限公司 Logistics information processing method and processing device
CN207115433U (en) * 2017-09-21 2018-03-16 新疆华世丹药业股份有限公司 Automatic bar code scanning detects warning device
JP2019067079A (en) * 2017-09-29 2019-04-25 キヤノンマーケティングジャパン株式会社 Print management server, print management system, print management method and program
CN110147213A (en) * 2019-06-20 2019-08-20 迅镭智能(广州)科技有限公司 Printing detection method, device, equipment and medium based on scanner

Also Published As

Publication number Publication date
CN111061439A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
KR100568387B1 (en) Image scanner, image scanning method, printer and data storage medium
CN111061439B (en) Print data processing method and device and printer
JP4396662B2 (en) Printer, print control method, and program
JP2021121482A (en) Recording device, ordering system, control method, and program
US7059788B2 (en) Printer media comprising a bar code
US7168799B2 (en) Release mechanism for facilitating supply cartridge installation and removal
JP2002284439A (en) Residual paper quantity control device, and printing device
CN211808511U (en) Printer with scanning function
JP4981365B2 (en) Printing paper, printer, and printing system
CN114072287B (en) Image recording apparatus
US20200314282A1 (en) Image reading apparatus and image forming apparatus
US7255415B2 (en) Printing apparatus and printing apparatus control method
JP2011116044A (en) Posture correction implement of printer, and printer using the same
US20070097457A1 (en) Image reader and image forming device
JPH0844255A (en) Output device and method therefor
JP2010194952A (en) Job canceling device in processor, processor, and job canceling method
JP2002283651A (en) Imaging device and function expanding device
JP5571506B2 (en) Image processing apparatus and original image processing method
CN221315552U (en) Code scanning printer and code scanning printer system
JPH09254496A (en) Printing apparatus with a plurality of printing means
JP5636802B2 (en) Image forming system and image forming apparatus
JP4264985B2 (en) Printing paper weighing device and ink replenishment time warning device
JP2001274930A (en) Small portable terminal
KR20200106668A (en) Portable Printer
CN114763034A (en) Printing system, detection method, and recording medium storing computer 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