CN112965672A - Online printing method of printer - Google Patents

Online printing method of printer Download PDF

Info

Publication number
CN112965672A
CN112965672A CN202110255813.5A CN202110255813A CN112965672A CN 112965672 A CN112965672 A CN 112965672A CN 202110255813 A CN202110255813 A CN 202110255813A CN 112965672 A CN112965672 A CN 112965672A
Authority
CN
China
Prior art keywords
bar code
printed
printer
bar
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110255813.5A
Other languages
Chinese (zh)
Other versions
CN112965672B (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.)
Suzhou Dongjian Intelligent Technology Co ltd
Original Assignee
Suzhou Dongjian Intelligent 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 Suzhou Dongjian Intelligent Technology Co ltd filed Critical Suzhou Dongjian Intelligent Technology Co ltd
Priority to CN202110255813.5A priority Critical patent/CN112965672B/en
Publication of CN112965672A publication Critical patent/CN112965672A/en
Application granted granted Critical
Publication of CN112965672B publication Critical patent/CN112965672B/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
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
    • 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
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • 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
    • G06F3/1273Print job history, e.g. logging, accounting, tracking

Abstract

The invention relates to an online printing method of a printer, which comprises the functions of initializing a printer system, storing bar code data and scanning at a high speed. The online printing method of the printer can automatically initialize the system before printing, clear the data left after the last abnormal printing, store and compare different bar codes, prevent the repeated printing condition when restarting, scan the printed bar codes by a high-speed scanner, and re-print the missed bar codes.

Description

Online printing method of printer
Technical Field
The invention relates to the technical field of printers, in particular to an online printing method of a printer.
Background
In order to facilitate tracing management, a meter address bar code number is attached to the water meter and the heat meter in the production process as an identity, the bar code number must have absolute uniqueness, and otherwise, the late shipment management and the system management are greatly influenced.
The printing quantity of bar codes is large, the phenomenon that the bar codes are missed to be printed or are printed again easily occurs in the printing process, whether the bar codes are missed to be printed or the bar codes are printed again is not realistic through manual detection, labor cost is greatly wasted, and the accuracy of manual checking cannot be guaranteed.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the problem of missing printing or reprinting of the bar code caused by abnormal printing in the prior art, and the missing printing or the reprinting of the bar code can be avoided.
In order to solve the technical problem, the invention provides an online printing method of a printer, which comprises the following steps:
step 1: an operator logs in the printer online printing system;
step 2: initializing a printer system;
and step 3: generating a bar code to be printed by utilizing an online printing system of a printer;
and 4, step 4: verifying a bar code to be printed; if the bar code to be printed does not meet the requirements, returning to the step 3;
if the bar code to be printed meets the requirements, executing the step 5;
and 5: comparing the database saved bar code with the local saved bar code, if the bar codes are consistent, executing the step 6, if the bar codes are inconsistent, performing a correction operation: replacing the database saved bar code with a local saved bar code according to the local saved bar code, and executing the step 6 after correction, wherein the database saved bar code is the last bar code saved in the last printing, and the local saved bar code is the last bar code saved in the last printing
The bar code is automatically stored when the last printing is finished;
step 6: setting a serial number of a bar code to be printed and the number of copies corresponding to the serial number, printing for the first time, and scanning the printed bar code by a high-speed scanner to form a high-speed scanning bar code;
and 7: identifying the high-speed scanning bar code to identify a blank label and a repeated bar code, storing the missing code corresponding to the blank label into a missing code database, and storing the repeated bar code into a repeated code database;
and 8: and printing the missing codes in the missing code database.
In an embodiment of the present invention, the printer online printing system further generates an operation log after the operator logs in step 1.
In an embodiment of the present invention, initializing the printer system in step 2 includes clearing the memory and detecting the number of barcode papers.
In an embodiment of the present invention, the barcode to be printed generated in step 3 includes a table type, a valve control type, an aperture parameter, and a channel parameter.
In an embodiment of the present invention, the verification of the barcode to be printed in step 4 includes verification of a length of the barcode to be printed and verification of parameters of the barcode to be printed.
In one embodiment of the present invention, the barcode parameters to be printed include the table type, the valve control type, the aperture parameter and the channel parameter.
In an embodiment of the present invention, the number of barcodes of the last barcode to be printed in step 6 is equal to the number of barcodes of the first barcode to be printed plus the serial number.
In an embodiment of the present invention, before performing the first printing, the step 6 determines whether the number of the barcodes to be printed is not greater than the number of the barcode papers, if so, the barcodes are printed, and if not, the barcode papers are added, so that the number of the barcodes to be printed is not greater than the number of the barcode papers.
In an embodiment of the present invention, the scanning the barcode at high speed in step 6 refers to printing the barcode while storing the barcode.
In one embodiment of the present invention, after the step 8 of printing is completed, the printed missing code data is automatically deleted from the missing code database.
Compared with the prior art, the technical scheme of the invention has the following advantages:
the online printing method of the printer can automatically initialize the system before printing, clear the data left after the last abnormal printing, store and compare different bar codes, prevent the repeated printing condition when restarting, scan the printed bar codes by a high-speed scanner, and re-print the missed bar codes.
Drawings
In order that the present disclosure may be more readily and clearly understood, reference is now made to the following detailed description of the embodiments of the present disclosure taken in conjunction with the accompanying drawings, in which
FIG. 1 is a flowchart of an embodiment of an online printing method of a printer according to the present invention.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
Referring to fig. 1, an online printing method for a printer includes the following steps:
step 1: an operator logs in the printer online printing system;
step 2: initializing a printer system;
and step 3: generating a bar code to be printed by utilizing an online printing system of a printer;
and 4, step 4: verifying a bar code to be printed; if the bar code to be printed does not meet the requirements, returning to the step 3;
if the bar code to be printed meets the requirements, executing the step 5;
and 5: comparing the bar codes stored in the database with the local stored bar codes, if the bar codes are consistent, executing the step 6, and if the bar codes are inconsistent, performing correction operation: replacing the database saved bar code with a local saved bar code by taking the local saved bar code as a standard, and executing a step 6 after correction, wherein the database saved bar code is the last bar code saved during the last printing, the local saved bar code is the bar code automatically saved after the last printing is finished, and the comparison of the bar codes can be used for avoiding the influence of the bar code saving error caused by the last printing due to network break or paper jam and the like on the current printing;
step 6: setting a serial number of a bar code to be printed and the number of copies corresponding to the serial number, printing for the first time, and scanning the printed bar code by a high-speed scanner to form a high-speed scanning bar code;
and 7: identifying the high-speed scanning bar code to identify a blank label and a repeated bar code, storing the missing code corresponding to the blank label into a missing code database, and storing the repeated bar code into a repeated code database;
and 8: and printing the missing codes in the missing code database.
Referring to fig. 1, in one embodiment, a login window of an online printing method of a printer communicates with a database to realize functions of registering, modifying a password, logging in and the like, and simultaneously, the name of a login person is displayed on the printing window according to information of the database. The operators are divided into two types of personnel, namely managers and ordinary operators, and the managers have the authority of correcting the current printed bar codes and checking the operation logs after logging in; after logging in, a common operator has the authority of generating and printing the bar code. Through the setting of the authority, printing errors or printing failures caused by improper operation of ordinary operators can be avoided, and the personnel with printing failures can be tracked according to the operation log.
In one embodiment, initializing the printer system includes clearing the memory and detecting the number of bar code sheets. If the initialization is not successful, the initialization can be manually performed, the situation that the printing is repeated due to the fact that the paper is printed successfully such as paper jam in the last time can be avoided by clearing the memory, and waste of paper is reduced. The number of the detected bar code paper is used for limiting the serial number, and if the number of the bar code paper is smaller than the number of the bar codes to be printed, the phenomenon that the number of the bar code paper is insufficient in the printing process and the printing cannot be normally finished occurs.
In one embodiment, the bar code to be printed is generated before printing, and the bar code to be printed is generated by four parameters, such as 68750400000001, wherein the bar code has a length of 14, a type of 75 meters and an aperture code number of 04. The relevant parameters of the table can be identified through the data of the bar code.
In one embodiment, before printing, the barcode to be printed is verified, including verification of the length of the barcode to be printed and verification of parameters of the barcode to be printed, and there may be a situation that a barcode is generated incorrectly in a process of generating the barcode to be printed, for example, a length of the barcode to be printed is increased or decreased compared with a length of a standard barcode to be printed. The condition that the length of the bar code to be printed generates errors can be prevented by verifying the length of the bar code to be printed. Different meter parameter types are different, the situation that the types of the heat meter and the water meter are wrong can occur, and when the bar code of the heat meter is printed, whether the bar code has the water meter type parameter or not needs to be detected; when the bar code of the water meter is printed, whether the bar code has a hot meter type parameter needs to be detected so as to prevent the meter type from being wrong. Parameters in parameter verification of the bar code to be printed comprise a table type, a valve control type, an aperture parameter and a channel parameter.
In one embodiment, comparing the barcode stored in the database with the locally stored barcode, if the barcode comparison is consistent, it indicates that the previous printing is normal printing, then step 6 is executed, and if the barcode comparison is inconsistent, it indicates that the previous printing may be abnormal printing due to problems such as network breaking or paper jam, then a correction operation is performed: and 6, replacing the database saved bar code with a local saved bar code according to the local saved bar code, and executing the step 6 after correction, wherein the database saved bar code is the last bar code saved during the last printing, and the local saved bar code is the bar code automatically saved when the last printing is finished. The bar code can be prevented from being missed due to the problems of network breaking or paper jamming and the like through the comparison of the bar codes.
In one embodiment, the serial number and the number of copies corresponding to the serial number are set, and the first printing is performed while the high-speed scanner scans the printed bar code to form a high-speed scanned bar code. The serial numbers are used for determining printed barcodes, each barcode to be printed corresponds to one serial number, and each serial number corresponds to one serial number. For example, bar code 68750400000001, serial number 3, number of copies 1. Then the printing results are 68750400000001, 68750400000002, 68750400000003, 68750400000004. If the number of copies is 2, the printing results are 68750400000001, 68750400000001, 68750400000002, 68750400000002, 68750400000003, 68750400000003, 68750400000004, 68750400000004. The number of the last bar code to be printed is equal to the number of the first bar code to be printed plus the serial number.
In one embodiment, the high-speed scanning bar code refers to a bar code which is stored while being printed, blank labels and bar codes which are repeatedly printed can be identified by scanning the bar code at a high speed, and if the blank labels exist, the unprinted bar codes can be stored in a missing code database; if the bar code has a duplication code, the duplication code is stored in a duplication code database.
In one embodiment, after the first printing is finished and the high-speed scanning is performed, the continuous printing can print the bar codes in the missing code database, and the printed missing codes can be deleted at the same time. When coincident codes appear, 1 is added on the basis of the last bar code printing for printing again, so that the number of the bar codes needing to be printed is ensured, and the condition of code missing is prevented from appearing again.
The printer online printing method can automatically initialize the system before printing, clear the data left after the last abnormal printing, store and compare different bar codes, prevent the repeated printing condition when restarting, scan the printed bar codes by a high-speed scanner, and re-print the missed bar codes.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the invention may be made without departing from the spirit or scope of the invention.

Claims (10)

1. An online printing method of a printer is characterized in that: the method comprises the following steps:
step 1: an operator logs in the printer online printing system;
step 2: initializing a printer system;
and step 3: generating a bar code to be printed by utilizing an online printing system of a printer;
and 4, step 4: verifying a bar code to be printed; if the bar code to be printed does not meet the requirements, returning to the step 3; if the bar code to be printed meets the requirements, executing the step 5;
and 5: comparing the bar codes stored in the database with the local stored bar codes, if the bar codes are consistent, executing the step 6, and if the bar codes are inconsistent, performing correction operation: replacing the database saved bar code with a local saved bar code according to the local saved bar code, and executing a step 6 after correction, wherein the database saved bar code is the last bar code saved during the last printing, and the local saved bar code is the bar code automatically saved when the last printing is finished;
step 6: setting the serial number of the bar code to be printed and the number of copies corresponding to the serial number, printing for the first time,
meanwhile, the high-speed scanner scans the printed bar code to form a high-speed scanning bar code;
and 7: identifying the high-speed scanning bar code to identify a blank label and a repeated bar code, storing the missing code corresponding to the blank label into a missing code database, and storing the repeated bar code into a repeated code database;
and 8: and printing the missing codes in the missing code database.
2. The printer online printing method according to claim 1, characterized in that: and (3) after the operator logs in the step (1), the printer online printing system also generates an operation log.
3. The printer online printing method according to claim 1, characterized in that: and initializing the printer system in the step 2 comprises emptying the memory and detecting the number of the bar code paper.
4. The printer online printing method according to claim 1, characterized in that: the bar code to be printed generated in the step 3 comprises a table type, a valve control type, an aperture parameter and a channel parameter.
5. The printer online printing method according to claim 1, characterized in that: and the verification of the bar code to be printed in the step 4 comprises the verification of the length of the bar code to be printed and the verification of the parameter of the bar code to be printed.
6. The printer online printing method of claim 5, wherein: the bar code parameters to be printed comprise the table type, the valve control type, the caliber parameter and the channel parameter.
7. The printer online printing method according to claim 1, characterized in that: and 6, the number of the last bar codes to be printed in the step 6 is equal to the number of the first bar codes to be printed plus the serial number.
8. The printer online printing method according to claim 1, characterized in that: and 6, before the first printing, judging whether the number of the bar codes to be printed is not more than the number of the bar code paper, if so, printing, and if not, adding the bar code paper to ensure that the number of the bar codes to be printed is not more than the number of the bar code paper.
9. The printer online printing method according to claim 1, characterized in that: the high-speed bar code scanning in the step 6 refers to a bar code which is printed and stored at the same time.
10. The printer online printing method according to claim 1, characterized in that: and after the step 8 is finished, the printed missing code data is automatically deleted from the missing code database.
CN202110255813.5A 2021-03-09 2021-03-09 Online printing method of printer Active CN112965672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110255813.5A CN112965672B (en) 2021-03-09 2021-03-09 Online printing method of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110255813.5A CN112965672B (en) 2021-03-09 2021-03-09 Online printing method of printer

Publications (2)

Publication Number Publication Date
CN112965672A true CN112965672A (en) 2021-06-15
CN112965672B CN112965672B (en) 2023-09-05

Family

ID=76276997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110255813.5A Active CN112965672B (en) 2021-03-09 2021-03-09 Online printing method of printer

Country Status (1)

Country Link
CN (1) CN112965672B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1450487A (en) * 2003-01-08 2003-10-22 中国人民解放军陆军航空兵学院科研装备部 Army air material coding and two-dimensional bar code forming method and system thereof
CN201562282U (en) * 2009-12-18 2010-08-25 东莞市易创实业有限公司 Anti-replay and anti-leakage bar code verifier
CN103963483A (en) * 2014-05-09 2014-08-06 苏州市百科德条码科技有限责任公司 Unique code printing screening industrial fool-proofing device and printing method thereof
JP2017039264A (en) * 2015-08-20 2017-02-23 Necエンベデッドプロダクツ株式会社 Printer, printing system, print requesting device, printing method, print requesting method and program
CN206505427U (en) * 2017-02-06 2017-09-19 东莞邦越条码科技有限公司 A kind of bar code examines mark machine
KR20190079822A (en) * 2017-12-28 2019-07-08 캐논코리아비즈니스솔루션 주식회사 Image forming apparatus having an automatic storing function and printing method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1450487A (en) * 2003-01-08 2003-10-22 中国人民解放军陆军航空兵学院科研装备部 Army air material coding and two-dimensional bar code forming method and system thereof
CN201562282U (en) * 2009-12-18 2010-08-25 东莞市易创实业有限公司 Anti-replay and anti-leakage bar code verifier
CN103963483A (en) * 2014-05-09 2014-08-06 苏州市百科德条码科技有限责任公司 Unique code printing screening industrial fool-proofing device and printing method thereof
JP2017039264A (en) * 2015-08-20 2017-02-23 Necエンベデッドプロダクツ株式会社 Printer, printing system, print requesting device, printing method, print requesting method and program
CN206505427U (en) * 2017-02-06 2017-09-19 东莞邦越条码科技有限公司 A kind of bar code examines mark machine
KR20190079822A (en) * 2017-12-28 2019-07-08 캐논코리아비즈니스솔루션 주식회사 Image forming apparatus having an automatic storing function and printing method thereof

Also Published As

Publication number Publication date
CN112965672B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
JP4162279B2 (en) Bar code scanner and bar code scanning method
TW401567B (en) Certifiable optical character recognition
CN101765514B (en) Non-volatile memory data integrity validation
US20090202134A1 (en) Print inspecting apparatus
EP3399468B1 (en) Method for quantitative defacing of a qr code
JP6438184B2 (en) System having function of verifying consistency with expected print output, and method of verification
JP2008089379A (en) Printing inspection device
CN108122014B (en) Bar code printing real-time detection and error prevention method, storage medium and printing terminal
US20160124690A1 (en) Image processing system, management system, image processing apparatus and method of proofreading document
US11715018B2 (en) Image processing apparatus and non-transitory computer readable medium
JP4470500B2 (en) Printed matter inspection apparatus, printed matter inspection method, and image forming apparatus
CN114091846A (en) Intelligent printing quality management method, system, device and storage medium
CN112965672A (en) Online printing method of printer
JP2009157858A (en) Print inspection device
JP2006079571A (en) Printer print verification inspection device
US9038909B2 (en) Printer side verification mechanism
CN111045978B (en) Marking system and marking method
CN109299628B (en) Bar code decoding method and device
JP2009530137A (en) Image processing system for printing press
US20060139670A1 (en) Method and system for correcting output of printer devices
EP3346376B1 (en) Printer script autocorrect
CN112766701A (en) Bill paper and photocopy management method, device, equipment and medium
JP2002356031A (en) Printer
US20130141767A1 (en) Print Verification Database Mechanism
CN109532255A (en) The print control platform of printer

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