CN107766900B - Method, system and computing device for printing bar code - Google Patents

Method, system and computing device for printing bar code Download PDF

Info

Publication number
CN107766900B
CN107766900B CN201710812264.0A CN201710812264A CN107766900B CN 107766900 B CN107766900 B CN 107766900B CN 201710812264 A CN201710812264 A CN 201710812264A CN 107766900 B CN107766900 B CN 107766900B
Authority
CN
China
Prior art keywords
printing
bar code
user
data
order number
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
CN201710812264.0A
Other languages
Chinese (zh)
Other versions
CN107766900A (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.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics 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 Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201710812264.0A priority Critical patent/CN107766900B/en
Publication of CN107766900A publication Critical patent/CN107766900A/en
Application granted granted Critical
Publication of CN107766900B publication Critical patent/CN107766900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers

Abstract

The invention is suitable for the technical field of bar code printing, and provides a method, a system and an automation tool for printing a bar code, wherein the method comprises the following steps: the method comprises the steps of obtaining an order number input by a user, obtaining all material numbers under a catalog corresponding to the order number and a printing template, a preset bar code format and material data corresponding to the material numbers from a server according to the order number, adding the material data into the printing template according to the preset bar code format to obtain bar code data, and calling bar code printing software to print a bar code according to the bar code data. According to the invention, before the bar code is printed, the printing templates corresponding to all the material numbers in the list corresponding to the order number are checked, and the material data is added into the printing templates according to the preset bar code format to generate the bar code data, so that the situation that a user needs to reset the configuration information in a plurality of printing templates when the configuration information contained in a plurality of bar codes is changed is effectively avoided, the waste of time and resources is effectively reduced, and the printing cost is reduced.

Description

Method, system and computing device for printing bar code
Technical Field
The invention belongs to the technical field of bar code printing, and particularly relates to a method, a system and an automation tool for printing a bar code.
Background
With the progress of social technology, bar codes are widely applied to various fields in life, the bar code technology is not only simple symbolic technology and automatic identification technology, and the bar codes have wide application prospects in industries such as warehouse management, production line automation, books, commerce and the like.
In the prior art, when barcodes are printed in batches, various barcodes may need to be printed, and when product information contained in various barcodes is changed, a user needs to reset the product information in a plurality of printing templates, so that time and resources are wasted, and the printing cost is high.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, and an automation tool for printing barcodes, so as to solve the problems in the prior art that when product information included in multiple barcodes is changed, a user needs to reset the product information in multiple printing templates, which causes waste of time and resources, and the printing cost is high.
A first aspect of an embodiment of the present invention provides a method for printing a barcode, including:
and acquiring the order number input by the user.
And acquiring all material numbers under the catalog corresponding to the order number, printing templates corresponding to the material numbers, a preset bar code format and material data from a server according to the order number.
And adding the material data into the printing template according to the preset bar code format to obtain bar code data.
And calling bar code printing software to print the bar code according to the bar code data.
A second aspect of an embodiment of the present invention provides a system for printing a barcode, including:
and the order number acquisition module is used for acquiring the order number input by the user.
And the data acquisition module is used for acquiring all material numbers in the catalog corresponding to the order number, printing templates corresponding to the material numbers, a preset bar code format and material data from the server according to the order number.
And the bar code data generation module is used for adding the material data into the printing template according to the preset bar code format to obtain bar code data.
And the printing module is used for calling bar code printing software to print the bar code according to the bar code data.
A third aspect of embodiments of the present invention provides an automation tool comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method as described above when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: in the embodiment, the order number input by the user is acquired, all the material numbers in the catalog corresponding to the order number, the printing templates corresponding to the material numbers, the preset bar code format and the material data are acquired from the server according to the order number, the material data are added into the printing templates according to the preset bar code format to obtain the bar code data, and bar codes are printed according to the bar code data by calling bar code printing software. According to the embodiment of the invention, before the bar code is printed, the printing templates corresponding to all the material numbers in the catalog corresponding to the order number are checked, and the material data are added into the printing templates according to the preset bar code format to generate the bar code data, so that the situation that a user needs to reset the configuration information in a plurality of printing templates when the configuration information contained in a plurality of bar codes is changed is effectively avoided, the waste of time and resources is effectively reduced, and the printing cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flow chart of an implementation of a method for printing barcodes according to an embodiment of the invention;
FIG. 2 is a flowchart illustrating an implementation of a method for printing barcodes according to an embodiment of the invention;
FIG. 3 is a flowchart of an implementation of a method for printing barcodes according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a system for printing barcodes, according to an embodiment of the invention;
FIG. 5 is a block diagram of an order number obtaining module shown in FIG. 4 according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an automation tool provided in accordance with an embodiment of the invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example 1:
fig. 1 shows a flow of implementing a method for printing a barcode according to an embodiment of the present invention, and the process thereof is detailed as follows:
in step S101, an order number input by the user is acquired.
In this embodiment, the execution main body of the method may be an automation tool, before the barcode is printed, the user inputs an order number corresponding to the barcode to be printed, and the automation tool receives the order number input by the user.
In step S102, according to the order number, all the material numbers in the catalog corresponding to the order number, the printing templates corresponding to the material numbers, the preset barcode format, and the material data are obtained from the server.
In one embodiment, the material data is data obtained by scanning product barcode data, wherein the product barcode data includes a hardware address, a product serial number, and a bin number.
In this embodiment, the hardware address includes a MAC (Media Access Control) address, and the product Serial Number includes an SN (Serial Number) code and an IMEI (International Mobile Equipment Identity).
In this embodiment, the product barcode data may be obtained from the server and local data.
In this embodiment, the automation tool may obtain the material data by scanning the product barcode data, obtain the order number and the material number corresponding to the product barcode data input by the user, and upload the material data and the order number and the material number corresponding to the material data to the server.
Taking a specific application scenario as an example, the automation tool scans the MAC address and the SN code stored in the local data to obtain the material data, and the automation tool obtains the order number and the material number corresponding to the MAC address and the SN code input by the user, and then uploads the material data and the order number and the material number corresponding to the material data to the server.
In one embodiment, the preset barcode format includes a character length and a print item of the barcode.
In the present embodiment, the length of the character includes 5 bits, 9 bits, 11 bits, and 13 bits.
In one embodiment, the printed items of the barcode include the product name, the date of manufacture, the gross weight of the product, the net weight of the product, the manufacturer, and the country of manufacture.
In one embodiment, the terminal communicates with the automation tool in a wired communication mode or a wireless communication mode, the preset bar code format and the order number and the material number corresponding to the preset bar code format are sent to the automation tool in advance, the automation tool receives the preset bar code format and the order number and the material number corresponding to the preset bar code format and transmits the preset bar code format and the order number and the material number corresponding to the preset bar code format to the server, the wired communication comprises USB interface communication and serial port communication, and the wireless communication comprises 3G communication, 4G communication, WIFI communication, radio frequency communication and Bluetooth communication.
Taking a specific application scenario as an example, the computer communicates with the automation tool in a WIFI communication mode, sends the preset barcode format and the order number and the material number corresponding to the preset barcode format to the automation tool, and the automation tool receives the preset barcode format and the order number and the material number corresponding to the preset barcode format and forwards the preset barcode format and the order number and the material number corresponding to the preset barcode format to the server.
In one embodiment, at least one folder named by the material number can be stored under the directory corresponding to the order number.
In this embodiment, the server stores the print template, the preset bar code format, and the material data into the folder named by the material number according to the order number and the material number.
Taking a specific application scenario as an example, the automation tool sends the order number to the server, the server inquires whether a folder with the folder name as the order number exists according to the order number, if the folder with the folder name as the order number exists, the folder with the folder name as the order number is sent to the automation tool, and the automation tool receives the folder with the folder name as the order number.
In step S103, the material data is added to the print template according to the preset barcode format to obtain barcode data.
In this embodiment, the automation tool adds the specific product configuration information included in the material data to the corresponding configuration information item in the printing template according to the preset barcode format, and if there is already data in the configuration information item corresponding to the printing template, the specific product configuration information included in the material data covers the already existing data in the configuration information item.
Taking a specific application scenario as an example, the preset barcode format includes a production date, the automation tool adds a specific date of birth in the material data to the production date item included in the printing template, for example, add 2017, 8, month and 3 to the production date item included in the printing template, and if the production date item in the printing template already has data, for example, 2016, 11, month and 4, overwrite 2017, 8, month and 3 to 2016, 11, month and 4 in the printing template.
In step S104, barcode printing software is invoked to print barcodes according to the barcode data.
In this embodiment, the barcode printing software may be barender barcode printing software and LabelOne barcode printing software.
In this embodiment, the automation utility invokes the barcode printing software, which prints the barcode by invoking the barcode data.
In this embodiment, when the automation tool calls the barcode printing software to print barcode data, the font included in the barcode data is detected, if the font included in the barcode data does not exist in the automation tool, the user is prompted to indicate that the font included in the printing template does not exist, whether to update the font library is performed, whether to update the font library is input on the automation tool by the user, and when the automation tool obtains an instruction for selecting the updated font library by the user, the font library included in the local data is automatically updated by the automation tool, thereby avoiding the occurrence of a situation that the user needs to manually update the automation library.
In this embodiment, when the automation tool calls the bar code printing software to print the bar code data, the automation tool can also test and print the bar code, so that a user can preview the printing effect of the bar code, the automation tool acquires a test printing bar code instruction input by the user, test printing operation is performed, the user can see the printing effect of the bar code, when the user is unsatisfied with the printing effect of the bar code, the configuration information of the bar code can be reset, after the bar code is printed, the error of the information contained in the printed bar code is avoided, the user is unsatisfied with the bar code, the situation that the bar code needs to be printed again occurs, the waste of resources is reduced, and the user experience is high.
Taking a specific application scenario as an example, when the automation tool calls the barcode printing software to print barcode data, the automation tool obtains a test printing barcode instruction input by a user, performs a test barcode printing operation, enables the user to see the printing effect of the barcode, and when the user sees that the barcode data contains a configuration information item which does not need to be printed, such as the gross weight of a product, the configuration information of the product can be reset, the configuration information item which does not need to be printed is removed, and a printing template is regenerated.
In this embodiment, the automation tool may further obtain a retrieval condition input by the user, upload the retrieval condition to the server, return the barcode queried by the user to the automation tool by the server according to the retrieval condition, and display the barcode queried by the user by the automation tool, where the retrieval condition includes order number retrieval, material number retrieval, and product name retrieval.
In this embodiment, the automation tool may further obtain a barcode patching instruction input by the user, and perform patching on the wrong barcode according to the barcode patching instruction, where the wrong barcode includes a barcode printed incorrectly at present and a barcode printed incorrectly before, and according to different user permissions, the user may make a different type of the wrong barcode through the automation tool, for example, when it is determined that the user permission corresponding to the user is the operator permission, the automation tool may only perform patching on the barcode printed incorrectly at present, and when it is determined that the user permission corresponding to the user is the engineering permission, the automation tool may make a patching on the barcode printed incorrectly at present and the barcode printed incorrectly before.
In this embodiment, after the automation tool obtains the bar code printing supplementing instruction input by the user, the wrong bar code can be printed, so that the utilization rate of the bar code is improved, and the waste of resources is reduced.
In the embodiment, the automation tool adds the material data into the printing templates according to the preset bar code format to obtain the bar code data, so that the configuration information in the printing templates is automatically modified, the condition that the configuration information in a plurality of printing templates is modified by a user is avoided, the printing efficiency is improved, the waste of time and resources is reduced, the bar code printing cost is low, and the user experience is high.
As shown in fig. 2, in an embodiment of the present invention, the method for printing a barcode in the embodiment corresponding to fig. 2 further includes:
in step S201, configuration information input by the user is acquired, and a print template is generated according to the configuration information.
In this embodiment, the user may input configuration information of a barcode of a product in an automation tool, and the automation tool obtains the configuration information, for example, obtains a date of production of the product input by the user as 2017, 8, month and 3, and generates a print template according to the configuration information.
In this embodiment, the automation tool may further obtain a configuration information modification instruction input by the user, so that the user modifies the configuration information included in the printing template, after the user finishes modifying the configuration information, the automation tool will automatically detect the configuration information in the printing template, and when it is detected that there is an uninput item in the configuration information, the user is prompted to input, and the user is prompted in a manner including popping up a prompt box for prompting and prompting by voice, so that occurrence of missing configuration information is effectively avoided, and user experience is high.
In this embodiment, the automation tool may further obtain a remote control instruction sent by a designated user, and perform an operation according to the remote control instruction. The user sets the automation tool as a shared automation tool and designates a user capable of remote control in the shared automation tool, wherein the remote control command comprises a print bar code command and a test print command.
In step S202, the print template and the order number and the material number corresponding to the print template are uploaded to the server.
In this embodiment, the automation tool obtains the order number and the material number input by the user, stores the printing template into the folder named by the material number, stores the folder corresponding to the material number into the folder named by the order number, and uploads the folder named by the order number to the server.
In this embodiment, the automation tool generates a printing template according to configuration information input by a user, uploads the printing template and the corresponding order number and material number to the server, and the server stores the printing template and the corresponding order number and material number, so that the safety of data storage is improved, the workload of the automation tool is reduced, and the efficiency of printing bar codes is improved.
As shown in fig. 3, in an embodiment of the present invention, the method for printing a barcode in the embodiment corresponding to fig. 3 further includes:
in step S301, login information input by a user is acquired, the login information is sent to a server, and a user right returned by the server according to the login information is received.
In the present embodiment, the user authority includes an engineering authority, a quality authority and an operator authority,
when the user authority is the engineering authority, the automation tool limits the operation which can be performed by the user and comprises the steps of logging in a server, setting and maintaining the server, printing a bar code additionally and testing the printed bar code;
when the user authority is the quality authority, the automation tool limits the operation which can be performed by the user and comprises a bar code viewing function and a template printing function;
when the user authority is the operator authority, the automation tool restricts the operations that the user can perform including printing a barcode, testing the printed barcode, and reprinting the barcode.
In this embodiment, a user inputs login information in an automation tool, the automation tool obtains the login information input by the user and sends the login information to a server, the server receives the login information, queries user permissions corresponding to the login information, and sends the user permissions corresponding to the login information to the automation tool, and the automation tool determines operations that the user can perform according to the user permissions, wherein the login information includes an account and a password.
Taking a specific application scene as an example, the automatic tool acquires login information input by a user, sends the login information to the server, the server inquires user authority corresponding to the login information after receiving the login information, sends the user authority corresponding to the login information as quality authority to the automatic tool after determining that the user authority corresponding to the login information is the quality authority, and determines that the user can check a bar code and a printing template after receiving the user authority corresponding to the login information as the quality authority to check whether the bar code and the printing template are correct or not.
In step S302, when the user authority meets a first preset condition, the user is allowed to print the barcode.
In this embodiment, the first preset condition is that the user right is an operator right or an engineering right.
In this embodiment, when the automation tool determines that the user right corresponding to the user is an operator right or an engineering right, the user is allowed to perform an operation of printing the barcode.
In this embodiment, the automation tool limits the operations that the user can perform after determining the user authority corresponding to the user, so that the workload of the automation tool and the server is reduced, and the safety of the automation tool and the server is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example 2:
as shown in fig. 4, a system 100 for printing barcodes according to an embodiment of the present invention is used to perform the method steps in the embodiment corresponding to fig. 1, and includes:
an order number obtaining module 110, configured to obtain an order number input by a user;
the data acquisition module 120 is configured to acquire, from the server, all material numbers in a catalog corresponding to the order number, and a printing template, a preset barcode format, and material data corresponding to the material numbers according to the order number;
the barcode data generating module 130 is configured to add the material data into the printing template according to a preset barcode format to obtain barcode data;
and the printing module 140 is used for calling bar code printing software to print the bar code according to the bar code data.
As shown in fig. 5, in an embodiment of the present invention, the order number obtaining module 110 in the embodiment corresponding to fig. 4 further includes:
a print template generating unit 111 configured to acquire configuration information input by a user and generate a print template according to the configuration information;
the uploading unit 112 is used for uploading the printing template and the order number and the material number corresponding to the printing template to the server;
a login unit 113, configured to obtain login information input by a user, send the login information to a server, and receive a user right returned by the server according to the login information;
and the judging unit 114 is used for allowing the user to print the bar code when the user authority meets the first preset condition.
In one embodiment, the material data is data obtained by scanning product barcode data, wherein the product barcode data includes a hardware address, a product serial number, and a bin number.
In one embodiment, the preset barcode format includes a character length and a print item of the barcode.
In one embodiment, the system 100 for printing barcodes further comprises other functional modules/units for implementing the method steps in the embodiments of embodiment 1.
Example 3:
FIG. 6 is a schematic diagram of an automated tool provided in accordance with an embodiment of the present invention. As shown in fig. 6, the automation tool 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps of the embodiments as described in embodiment 1, such as steps S101 to S104 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the system embodiments as described in embodiment 2, such as the functions of the modules 110 to 140 shown in fig. 4.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the automation tool 6. For example, the computer program 62 may be divided into an order number acquisition module, a data acquisition module, a barcode data generation module, and a printing module. The specific functions of each module are as follows:
the order number acquisition module is used for acquiring the order number input by the user;
the data acquisition module is used for acquiring all material numbers in a catalog corresponding to the order number, printing templates corresponding to the material numbers, a preset bar code format and material data from a server according to the order number;
the bar code data generation module is used for adding the material data into the printing template according to the preset bar code format to obtain bar code data;
and the printing module is used for calling bar code printing software to print the bar code according to the bar code data.
The automation tool 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing device. The automation tool 6 may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of an automation tool 6, and does not constitute a limitation of the automation tool 6, and may include more or fewer components than shown, or some components in combination, or different components, e.g., the automation tool may also include input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal memory unit of the automation tool 6, for example a hard disk or a memory of the automation tool 6. The memory 61 may also be an external storage device of the automation tool 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like provided on the automation tool 6. Further, the memory 61 may also comprise both an internal memory unit and an external memory device of the automation tool 6. The memory 61 is used for storing the computer program and other programs and data required by the automation tool. The memory 61 may also be used to temporarily store data that has been output or is to be output.
Example 4:
an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the embodiments described in embodiment 1, for example, step S101 to step S104 shown in fig. 1. Alternatively, the computer program, when executed by a processor, implements the functions of the respective modules/units in the respective system embodiments as described in embodiment 2, for example, the functions of the modules 110 to 140 shown in fig. 4.
The computer program may be stored in a computer readable storage medium, which when executed by a processor, may implement the steps of the various method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules or units in the system of the embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (8)

1. A method of printing a barcode, comprising:
acquiring configuration information input by a user, and generating a printing template according to the configuration information;
acquiring a configuration information modification instruction input by a user, and detecting whether the configuration information in the printing template has an uninputed item or not after the user finishes modifying the configuration information;
if the configuration information in the printing template has an uninput item, outputting a prompt;
if the configuration information in the printing template does not have an uninputed item, uploading the printing template and the order number and the material number corresponding to the printing template to a server;
acquiring an order number input by a user;
sending an order number to a server, and acquiring all material numbers in a catalog corresponding to the order number, printing templates corresponding to the material numbers, a preset bar code format and material data from the server according to the order number, wherein the preset bar code format comprises printing items;
adding data corresponding to the printing items in the material data into a printing template corresponding to the material number to obtain bar code data;
and calling bar code printing software to print the bar code according to the bar code data.
2. The method of printing a barcode of claim 1, wherein prior to obtaining the user-entered order number, further comprising:
acquiring login information input by a user, sending the login information to the server, and receiving user permission returned by the server according to the login information;
and when the user authority meets a first preset condition, allowing the user to print the bar code.
3. The method of printing a barcode of claim 1, wherein the material data is data obtained by scanning product barcode data, wherein the product barcode data includes a hardware address, a product serial number, and a box number.
4. The method of printing barcodes of claim 1 wherein the predetermined barcode format comprises a character length of a barcode.
5. A system for printing a barcode, comprising:
the printing module generating unit is used for acquiring configuration information input by a user and generating a printing template according to the configuration information;
the detection unit is used for acquiring a configuration information modification instruction input by a user and detecting whether the configuration information in the printing template has an uninput item or not after the user finishes modifying the configuration information;
the prompt unit is used for outputting a prompt if the configuration information in the printing template has an uninput item;
the uploading unit is used for uploading the printing template and the order number and the material number corresponding to the printing template to a server if the configuration information in the printing template has no uninputed item;
the order number acquisition module is used for acquiring the order number input by the user;
the data acquisition module is used for sending the order number to the server, and acquiring all material numbers under a catalog corresponding to the order number, printing templates corresponding to the material numbers, a preset bar code format and material data from the server according to the order number, wherein the preset bar code format comprises printing items;
the bar code data generation module is used for adding data corresponding to the printing items in the material data into a printing template corresponding to the material number to obtain bar code data;
and the printing module is used for calling bar code printing software to print the bar code according to the bar code data.
6. The system for printing barcodes of claim 5 wherein the order number acquisition module further comprises:
the login unit is used for acquiring login information input by a user, sending the login information to the server and receiving user authority returned by the server according to the login information;
and the judging unit is used for allowing the user to print the bar code when the user authority meets a first preset condition.
7. A computing device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201710812264.0A 2017-09-11 2017-09-11 Method, system and computing device for printing bar code Active CN107766900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710812264.0A CN107766900B (en) 2017-09-11 2017-09-11 Method, system and computing device for printing bar code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710812264.0A CN107766900B (en) 2017-09-11 2017-09-11 Method, system and computing device for printing bar code

Publications (2)

Publication Number Publication Date
CN107766900A CN107766900A (en) 2018-03-06
CN107766900B true CN107766900B (en) 2021-05-28

Family

ID=61265809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710812264.0A Active CN107766900B (en) 2017-09-11 2017-09-11 Method, system and computing device for printing bar code

Country Status (1)

Country Link
CN (1) CN107766900B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563408A (en) * 2018-04-13 2018-09-21 上海宝尊电子商务有限公司 Flexible print service based on the configuration of custom condition & template & physical machines
CN108608740A (en) * 2018-05-07 2018-10-02 太仓市同维电子有限公司 Bar code printer system and its method for supplier's delivery bar code printing
CN109508761A (en) * 2018-06-22 2019-03-22 深圳市赢领智尚科技有限公司 A kind of manufacturing method and manufacture system customizing bar code
CN109522334B (en) * 2018-11-27 2021-07-27 Oppo(重庆)智能科技有限公司 Lack material inquiring party, lack material inquiring system and electronic equipment
CN109582258B (en) * 2019-01-07 2022-09-06 厦门攸信信息技术有限公司 Printing control method and device and printer
CN109978565B (en) * 2019-02-19 2022-05-31 摩比科技(深圳)有限公司 Product packaging data management method and device, terminal equipment and readable storage medium
CN109919259A (en) * 2019-02-21 2019-06-21 苏州宏软信息技术有限公司 A kind of universal bar code printer system and method for industrial products retrospect
CN110362281B (en) * 2019-05-29 2023-11-24 浙江坤盈科技有限公司 Printing control method, device, computer equipment and storage medium
CN110471633A (en) * 2019-08-23 2019-11-19 宁波奥克斯电气股份有限公司 A kind of method and system for transmitting automatic printing labeling part by parameter
CN112149764A (en) * 2020-08-28 2020-12-29 青岛海尔空调器有限总公司 Printing method of label printing system and label printing system
CN112496553A (en) * 2020-11-20 2021-03-16 航天信息股份有限公司 Method and system for printing card based on printing template
CN114132091B (en) * 2021-10-27 2023-03-31 青岛海尔科技有限公司 Bar code printing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106940628A (en) * 2016-01-04 2017-07-11 平安科技(深圳)有限公司 Document Method of printing and device
CN107122145A (en) * 2017-03-22 2017-09-01 深圳点点科技有限公司 A kind of local printing method and system of network order

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5383234B2 (en) * 2009-02-03 2014-01-08 キヤノン株式会社 Information processing apparatus and print control method
CN102789372B (en) * 2011-05-16 2016-02-17 腾讯科技(深圳)有限公司 A kind of Method of printing and device
CN104802527B (en) * 2015-03-27 2017-07-11 深圳极智联合科技股份有限公司 The online print system of Product labelling and method
CN105607880A (en) * 2015-12-29 2016-05-25 南威软件股份有限公司 Printing method and device for examined and approved documents
CN106598510B (en) * 2016-11-18 2019-09-20 福建星网视易信息系统有限公司 The method and device of compatible two kinds of printing types
CN106406783B (en) * 2016-11-29 2019-06-07 北京慧眼智行科技有限公司 Label printing method and label print plug-in unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106940628A (en) * 2016-01-04 2017-07-11 平安科技(深圳)有限公司 Document Method of printing and device
CN107122145A (en) * 2017-03-22 2017-09-01 深圳点点科技有限公司 A kind of local printing method and system of network order

Also Published As

Publication number Publication date
CN107766900A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN107766900B (en) Method, system and computing device for printing bar code
CN111078140B (en) Nuclear power station file uploading management method and device, terminal equipment and medium
CN107463348B (en) Method and system for realizing Web end custom format printing based on B/S architecture
CN107908680A (en) Management method, electronic device and the computer-readable recording medium of wechat public platform
CN110955715B (en) Data conversion method and device for ERP system and target platform and electronic device
CN110727678B (en) Method and device for binding user information and mobile terminal and storage medium
US11099889B2 (en) Method-call-chain tracking method, electronic device, and computer readable storage medium
CN110597714B (en) Test method and device of kafka message, computer equipment and storage medium
CN111132267A (en) Network distribution method and device and terminal equipment
CN111342992B (en) Method and system for processing equipment information change record
CN104182779A (en) Method and equipment for programming product information
CN111070662B (en) 3D printing method, device and storage medium
CN104850971A (en) Correlation method between order information and logistics information, and device thereof
CN111130828B (en) Intelligent network distribution method and device and terminal equipment
CN109086476B (en) Data processing method for drawing design, PLM plug-in and computing equipment
CN107967412B (en) Method for controlling limited access of PDF file
CN112015540B (en) Program management method, device, system and readable storage medium
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN116560697B (en) DBC database synchronization method, device, electronic equipment and readable storage medium
CN111932178A (en) Method, device, server and system for processing product logistics information
CN106507268B (en) Method and device for dynamic verification in mobile phone carriers
CN111444451B (en) Document acquisition method and device, electronic equipment and readable storage medium
CN107786540B (en) Equipment information acquisition method and terminal equipment
CN112417012A (en) Data processing method and system
CN105207980A (en) Information processing method and electronic equipment

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