CN118215226A - Printing method, device, equipment and storage medium for PCB characters and labels - Google Patents

Printing method, device, equipment and storage medium for PCB characters and labels Download PDF

Info

Publication number
CN118215226A
CN118215226A CN202211586386.XA CN202211586386A CN118215226A CN 118215226 A CN118215226 A CN 118215226A CN 202211586386 A CN202211586386 A CN 202211586386A CN 118215226 A CN118215226 A CN 118215226A
Authority
CN
China
Prior art keywords
printing
label
printed
file
information
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.)
Pending
Application number
CN202211586386.XA
Other languages
Chinese (zh)
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 Hansen Software Co ltd
Original Assignee
Shenzhen Hansen Software 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 Hansen Software Co ltd filed Critical Shenzhen Hansen Software Co ltd
Priority to CN202211586386.XA priority Critical patent/CN118215226A/en
Publication of CN118215226A publication Critical patent/CN118215226A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

The invention discloses a printing method, a printing device, printing equipment and printing storage medium for PCB characters and labels, and relates to the technical field of ink-jet printing. The method comprises the steps of determining label printing information according to character printing information, integrating the label printing information into a Gerber file to be printed, dynamically generating label content information by printing equipment according to the Gerber file integrated with the character printing information and the label printing information and combining with a current task, and printing characters and labels on a printed circuit board. Compared with the existing method for attaching labels printed in advance on each PCB finished product by using a labeling machine, the printing method for the PCB characters and the labels solves the problem that the labels cover PCB circuits or characters, saves cost and improves the printing effect and efficiency of the PBC labels.

Description

Printing method, device, equipment and storage medium for PCB characters and labels
Technical Field
The present invention relates to the field of inkjet printing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for printing PCB characters and labels.
Background
The traditional manufacturing industry is continuously transformed and upgraded under the active guidance of national macro regulation, most of the existing Printed Circuit Board (PCB) products are printed with lines, characters, color blocks and the like by adopting an ink-jet technology, and the traditional processes of chemical cleaning, coating, exposure, development, etching, film stripping and the like with large pollution and low efficiency are replaced for production, so that the production efficiency of the PCB is greatly improved, and the PCB is more environment-friendly and safer. However, due to the large improvement of the yield, the problems of defect discovery, defect repair, defect statistics, problem entry, hidden danger analysis, overhaul and the like of products cannot meet the requirement of rapid production by adopting a traditional method, and the existing solution is to paste labels or identification codes printed in advance on each PCB finished product by adopting a labeling machine.
Disclosure of Invention
In view of this, the embodiments of the present invention provide a method, an apparatus, a device and a storage medium for printing PCB characters and labels, which are used to solve the problems of the prior art that the printing cost of PCB labels is expensive and the PCB characters are easy to be covered.
In a first aspect, an embodiment of the present invention provides a method for printing PCB characters and labels, the method including:
acquiring a first file to be printed in a Gerber format;
Determining label printing information according to the character printing information in the first file to be printed;
Integrating the label printing information into the first file to be printed to obtain a second file to be printed;
Converting the second file to be printed into a third file to be printed which can be identified by printing equipment;
And dynamically generating tag content information according to the third file to be printed and combining with the current task, and printing the characters and the tags on a printed circuit board.
Preferably, the character printing information includes any one, two or more of a character and its size and a printing area, a color block and its size and a printing area, a line and its size and a printing area.
Preferably, the label printing information includes a label printing area, a label placement direction, and a label size.
Preferably, the label printing information further comprises a label type, wherein the label type comprises any one, two or more of two-dimensional codes, bar codes, sequence codes, periodic codes or custom characters and graphic patterns.
Preferably, the determining label printing information according to the character printing information in the first file to be printed includes:
Acquiring printing areas of all characters, color blocks and lines on the printed circuit board according to the character printing information, and marking the printing areas as character printing areas;
acquiring a preset printing area meeting preset conditions in the printed circuit board according to the character printing area;
Determining at least a label printing area in the label printing information according to the preset printing area;
and determining the label placement direction and the label size according to the label printing area.
Preferably, the integrating the label printing information into the first file to be printed to obtain the second file to be printed includes:
Acquiring the label printing information;
setting an OUT_FLAG attribute corresponding to the label in the CAM engineering file according to the label printing information;
Converting the OUT_FLAG attribute into a D code in a Gerber file and corresponding content thereof;
And setting at least a printing area and a placement direction of the label in the first file to be printed according to the D code and the corresponding content of the D code to obtain a second file to be printed containing the label printing information.
Preferably, the dynamically generating tag content information according to the third file to be printed and in combination with the current task, and printing the characters and the tags on the printed circuit board includes:
acquiring the character printing information and the label printing information according to the third file to be printed;
Acquiring the information of a printed circuit board to be printed currently;
generating corresponding tag content information according to the printed circuit board information;
And printing the characters and the labels on the printed circuit board to be printed currently according to the character printing information, the label printing information and the label content information.
In a second aspect, an embodiment of the present invention provides a PCB character and label printing apparatus, the apparatus including:
the first file to be printed acquisition module is used for acquiring a first file to be printed in a Gerber format;
The label printing information determining module is used for determining label printing information according to the character printing information in the first file to be printed;
The information integration module is used for integrating the label printing information into the first file to be printed to obtain a second file to be printed;
The format conversion module is used for converting the second file to be printed into a third file to be printed which can be identified by the printing equipment;
And the printing module is used for dynamically generating tag content information according to the third file to be printed and combining with the current task, and printing the characters and the tags on the printed circuit board.
In a third aspect, an embodiment of the present invention provides a PCB character and label printing apparatus, including: at least one processor, at least one memory and computer program instructions stored in the memory, which when executed by the processor, implement the method as in the first aspect of the embodiments described above.
In a fourth aspect, embodiments of the present invention provide a storage medium having stored thereon computer program instructions which, when executed by a processor, implement a method as in the first aspect of the embodiments described above.
In summary, the beneficial effects of the invention are as follows:
according to the PCB character and label printing method, device, equipment and storage medium, label printing information is determined according to the character printing information, the label printing information is integrated into a Gerber file to be printed, and the printing equipment dynamically generates label content information according to the Gerber file integrated with the character printing information and the label printing information and combines with a current task to print the character and the label on a printed circuit board. Compared with the existing method for attaching labels printed in advance on each PCB finished product by using a labeling machine, the printing method for the PCB characters and the labels solves the problem that the labels cover PCB circuits or characters, saves cost and improves the printing effect and efficiency of the PBC labels.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described, and it is within the scope of the present invention to obtain other drawings according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of PCB character printing according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method for printing PCB characters and labels according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a D code and its corresponding content according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a D code and its corresponding content according to an embodiment of the present invention.
FIG. 5 is a schematic view of a panel formed from a plurality of panels according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of printing a plurality of labels on one unit board according to an embodiment of the present invention.
Fig. 7 is a schematic structural view of a PCB character and label printing apparatus according to an embodiment of the present invention.
Fig. 8 is a schematic structural view of a PCB character and label printing apparatus according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Example 1
The embodiment of the invention provides a printing method of PCB characters and labels, which is suitable for an application scene of printing characters on a PCB by using an ink-jet printing technology. As shown in fig. 1, the printing of PCB characters is to print characters, lines, color blocks, etc. (collectively referred to as character printing) on a PCB, and when printing, the printing process is completed by first analyzing and converting the data or file into print data by auxiliary software according to the Gerber format data or file made by Computer Aided Manufacturing (CAM) software before the printed circuit board is manufactured, positioning the precise pattern by CCD, and jet printing specific ink on the printed circuit board by inkjet technology.
Referring to fig. 2, the printing method of the PCB character and the label includes the following steps:
S1, acquiring a first file to be printed in a Gerber format;
s2, determining label printing information according to character printing information in the first file to be printed;
s3, integrating the label printing information into the first file to be printed to obtain a second file to be printed;
S4, converting the second file to be printed into a third file to be printed which can be identified by the printing equipment;
and S5, dynamically generating tag content information according to the third file to be printed and combining with the current task, and printing the characters and the tags on a printed circuit board.
Specifically, a first file to be printed in Gerber format is derived from an engineering file by Computer Aided Manufacturing (CAM) software before manufacturing a printed circuit board, such as Genesis2000, etc., and the first file to be printed is character printing related data including elements such as characters, color blocks or lines, etc., and character printing information such as character printing area, character size, color block printing area, color block size, line printing area, line size, etc., to be printed on the Printed Circuit Board (PCB). In order to avoid that the printed label covers the character, the color block or the line, the information of the printing area and the size of the elements such as the character, the color block, the line and the like on the PCB needs to be known according to the character printing information, and the label printing information including the label type, the label printing area, the placement direction, the size and the like is determined.
The determining label printing information according to the character printing information in the first file to be printed comprises the following steps:
Acquiring printing areas of all characters, color blocks and lines on the printed circuit board according to the character printing information, and marking the printing areas as character printing areas;
acquiring a preset printing area meeting preset conditions in the printed circuit board according to the character printing area;
Determining at least a label printing area in the label printing information according to the preset printing area;
And determining the label placement direction and the label size according to the label printing area.
Specifically, after the character printing information is obtained, the printing areas of the elements such as characters, lines, color blocks and the like on the PCB can be obtained according to the character printing information, so that blank areas of enough printed labels are determined and recorded as preset printing areas. The preset conditions may be determined according to practical situations, for example, the length and width of the preset printing area must be equal to or greater than the length and width of the label in the size.
In one embodiment, the user determines the printing area, the placement direction, the size and other label printing information of the labels on the PCB according to the character printing information, and in addition, the label types in the label printing information, such as two-dimensional codes, bar codes, characters, periodic codes or custom patterns and the like, can also be determined by the user, and the most suitable label types can also be selected according to the size and the like of the preset printing area on the PCB, for example, the finally determined label printing area is a smaller rectangular area on the PCB, the rectangular area is suitable for placing bar labels such as bar codes or serial numbers and is not suitable for placing square labels such as two-dimensional codes and the like, and the label types can be bar codes or serial numbers. In another embodiment, a preset printing area meeting preset conditions or most suitable for the preset printing area on the PCB can be automatically calculated according to character printing information obtained from the first file to be printed to serve as a label printing area, and then label placement direction, label size, label type and other label printing information are determined according to the label printing area, so that manual operation is avoided, and production efficiency is improved.
After the label printing information is determined, integrating the label printing information into a first file to be printed, namely integrating or presetting information such as label types, label printing areas, label placement directions, label sizes and the like in a Gerber file to be printed. Preferably, the integrating the label printing information into the first file to be printed to obtain the second file to be printed includes:
Acquiring the label printing information;
setting an OUT_FLAG attribute corresponding to the label in the CAM engineering file according to the label printing information;
Converting the OUT_FLAG attribute into a D code in a Gerber file and corresponding content thereof;
And setting at least a printing area and a placement direction of the label in the first file to be printed according to the D code and the corresponding content of the D code to obtain a second file to be printed containing the label printing information.
In one embodiment, integrating label printing information in a first file to be printed is achieved by using a script software tool, specifically, firstly, out_flag attributes corresponding to labels are set in CAM software such as a Genesis engineering file according to the acquired label printing information, and then the out_flag attributes are converted into D code instructions in a Gerber file by using the script software tool. For example, the dots and boxes for locating labels are defined in the out_flag attribute of the Genesis project file, and converted to corresponding dots and boxes in the D code using the scripting tool, wherein the dots in the D code are drawn using the r0 aperture. Notably, different tags should be distinguished using different Gerber instructions. Illustratively, in fig. 3, the serial number tags are defined using circles and boxes, and different contents are corresponding with different D codes. In fig. 3, when the D codes are 220, 221,222, 223, serial codes of which the tag placement positions (angles) are 0 °,90 °,180 °,270 ° are defined, respectively. When the serial number printing area or the printing area is drawn according to the definition, dots are drawn firstly, then frames are drawn, and the size of the frames is the size of the serial number label. In addition, it is noted that the dot coordinates have to coincide completely with one of the corners of the frame at the time of drawing, and the frame has to be a completely closed rectangular frame. In another example, as shown in fig. 4, two-dimensional code labels are defined using circle points and boxes, and again, both the dots and boxes use the out_flag attribute as the r0 aperture for the corresponding D code. Different D codes correspond to different content. In fig. 4, when the D-codes are 350, 351,352, 353, two-dimensional codes having a label placement position (angle) of 0 °,90 °,180 °,270 ° are defined, respectively.
The addition of serial codes, two-dimensional codes and the like on software can be achieved by setting D codes and corresponding label positions or directions (angles) in engineering data such as ref files, specific additional information is specified by special D codes in the ref files so as to assist in presetting a printing area of labels in Gerber files, and the definition of the D codes is shown in the following table:
D code Corresponding content
233 Locating point
210,211,212,213 Period code (0 degree, 90 degree, 180 degree, 270 degree)
220,221,222,223 Sequence code (0, 90, 180, 270)
310,311,312,313 Bar code (0, 90, 180, 270)
350,351,352,353 QR two-dimensional code (0, 90, 180, 270.)
360,361,362,363 Digital two-dimensional code (0 degree, 90 degree, 180 degree, 270 degree)
In other embodiments, the D code and the placement position (angle) may be set according to the actual situation, for example, the placement angle of the stamp (two-dimensional code) is set to 60 ° when D is set to 354, and so on. The D codes and their definitions listed in the above table and the above examples are only for illustration and are not intended to limit the scope of the present invention.
After setting the D code in the ref file, the CAM software imports the drawing information of the label from the ref file and integrates the label printing information such as the label position, the label placement direction, the label size and the like into the first file to be printed in the Gerber format to be printed, wherein the first file to be printed is the file in the Gerber format, only the character printing information is contained before the first file to be printed, the character printing information and the label printing information are integrated after importing the label printing information, and the file in the Gerber format is called a second file to be printed.
Typically, a printed circuit board (PNL) includes a plurality of tiles (SET), and one tile (SET) includes a plurality of unit boards (PCS). In one embodiment, as shown in fig. 5, a layout is schematically shown that includes a plurality of cell plates. At this time, the label printing information can be set for one unit board, and then the set label printing information is copied to other unit boards in the same jigsaw, or the unit boards of the same type jigsaw, so that the quick integration of the label printing information of a plurality of unit boards is realized.
When characters and labels are printed on the PCB, the second file to be printed in the Gerber format needs to be converted into a file format which can be identified by the printing equipment and recorded as a third file to be printed, the third file to be printed records character printing information and label printing information which can be identified by the printing equipment and is printed on the PCB, and the printing equipment prints the PCB characters and labels according to the character printing information and the label printing information in the third file to be printed.
Preferably, the dynamically generating tag content information according to the third file to be printed and in combination with the current task, and printing the characters and the tags on the printed circuit board includes:
acquiring the character printing information and the label printing information according to the third file to be printed;
Acquiring the information of a printed circuit board to be printed currently;
generating corresponding tag content information according to the printed circuit board information;
And printing the characters and the labels on the printed circuit board to be printed currently according to the character printing information, the label printing information and the label content information.
In one embodiment, the second to-be-printed file only has information such as a label printing area, a label placement direction and a label size, and the like, and the third to-be-printed file which can be converted into the information such as the label printing area, the label placement direction and the label size, and the like, which can be identified by the printing device, is also only information such as the label printing area, the label placement direction and the label size, and the label content information is dynamically generated according to the current printing task, for example, the specific content of the label can be set by the printing system according to the information of the printed circuit board to be printed currently or external input settings, and the like. The method includes setting printed circuit board (PNL) information including PNL identification, SET identification, PCS identification and the like for PCB production board (PNL) information with a plurality of unit boards (PCS) or panels (SET), if different label content is to be printed for each unit board, such as different two-dimensional code information is printed for each unit board, at this time, the printing area, placement direction and size of the two-dimensional code are the same in each unit board, but the content of the two-dimensional code is dynamically produced when printing, such as printing a first two-dimensional code on a first unit board, printing a second two-dimensional code … … on a second unit board, and characterizing different information of the first two-dimensional code and the second two-dimensional code, at this time, the printing system knows which PCB production board, which panel and which unit board are currently printed according to the PNL identification, SET identification, PCS identification and the like, and generates corresponding two-dimensional codes, and prints the two-dimensional codes onto the corresponding unit boards according to the label printing area, placement direction and the like in the label printing information. In another example, the same label content may be printed by multiple unit boards in one board, but the label content of each of the multiple boards is different, at this time, the printing system knows which PCB production board is currently printed, which board is currently printed, and generates corresponding label content according to the printed circuit board information such as PNL identifier, SET identifier, PCS identifier, etc., generates different label content information for each board, prints the same first label content for each unit board in the first board, prints the same second label content for each unit board in the second board, etc.
In another embodiment, the second file to be printed may further have fixed tag content information (i.e. content of fixed two-dimensional code, bar code, text, periodic code) built therein, and the third file to be printed which can be identified by the printing device is converted into fixed tag content information, and the printing device prints corresponding characters and tags on each cell board according to the character printing information and the tag printing information in the third file to be printed. In addition, the number of the printed labels on the PCB can be determined according to the actual situation, if a plurality of labels are required to be printed, the printed information of the labels is integrated into the file to be printed in the Gerber format, and the file to be printed is converted into the file format recognizable by the printing equipment for printing. As shown in fig. 6, a schematic diagram of printing a plurality of labels on one unit board is shown.
In summary, according to the method for printing the PCB characters and the labels provided by the embodiments of the present invention, the label printing information is determined according to the character printing information, and the label printing information is integrated into the Gerber file to be printed, and the printing device dynamically generates the label content information according to the Gerber file integrated with the character printing information and the label printing information and combines with the current task, and prints the characters and the labels onto the printed circuit board. Compared with the existing method for attaching labels printed in advance on each PCB finished product by using a labeling machine, the printing method for the PCB characters and the labels solves the problem that the labels cover PCB circuits or characters, saves cost and improves the printing effect and efficiency of the PBC labels.
Example two
Referring to fig. 7, an embodiment of the present invention provides a PCB character and label printing apparatus 200, which includes:
a first to-be-printed file obtaining module 201, configured to obtain a first to-be-printed file in a Gerber format;
A label printing information determining module 202 for determining label printing information according to the character printing information in the first file to be printed;
An information integration module 203, configured to integrate the label printing information into the first file to be printed to obtain a second file to be printed;
A format conversion module 204, configured to convert the second file to be printed into a third file to be printed that can be identified by the printing device;
And the printing module 205 is configured to dynamically generate tag content information according to the third file to be printed and in combination with the current task, and print the characters and the tags onto the printed circuit board.
Preferably, the label printing information determining module 202 includes:
A character printing area obtaining unit, configured to obtain printing areas of all characters, color blocks and lines on the printed circuit board according to the character printing information, and record the printing areas as character printing areas;
A preset printing area acquisition unit for acquiring a preset printing area meeting preset conditions in the printed circuit board according to the character printing area;
a label printing area obtaining unit, configured to determine at least a label printing area in the label printing information according to the preset printing area;
and the placement direction determining unit is used for determining the label placement direction and the label size according to the label printing area.
Preferably, the information integration module 203
A label printing information acquisition unit configured to acquire the label printing information;
The attribute setting unit is used for setting an OUT_FLAG attribute corresponding to the label in the CAM engineering file according to the label printing information;
The D code setting unit is used for converting the OUT_FLAG attribute into a D code in the Gerber file and corresponding content thereof;
And the integration unit is used for setting at least the printing area and the placement direction of the label in the first file to be printed according to the D code and the corresponding content thereof to obtain a second file to be printed containing the label printing information.
Preferably, the printing module 205 includes:
The printing information acquisition unit is used for acquiring the character printing information and the label printing information according to the third file to be printed;
The method comprises the steps that a printed circuit board information acquisition unit acquires printed circuit board information to be printed currently;
The label content generating unit is used for generating corresponding label content information according to the printed circuit board information;
And the printing unit is used for printing the characters and the labels on the printed circuit board to be printed currently according to the character printing information, the label printing information and the label content information.
In summary, according to the PCB character and label printing apparatus provided by the embodiment of the present invention, the label printing information is determined according to the character printing information, and the label printing information is integrated into the Gerber file to be printed, and the printing device dynamically generates the label content information according to the Gerber file integrated with the character printing information and the label printing information and combines with the current task, and prints the character and the label onto the printed circuit board. Compared with the existing method for attaching labels printed in advance on each PCB finished product by using a labeling machine, the printing method for the PCB characters and the labels solves the problem that the labels cover PCB circuits or characters, saves cost and improves the printing effect and efficiency of the PBC labels.
Example III
In addition, the printing method of the PCB characters and the labels can be realized by the printing equipment of the PCB characters and the labels. Fig. 8 shows a schematic hardware structure of a PCB character and label printing apparatus according to an embodiment of the present invention.
The PCB character and label printing apparatus may include a processor 301 and a memory 302 storing computer program instructions.
In particular, the processor 301 may include a Central Processing Unit (CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present invention.
Memory 302 may include mass storage for data or instructions. By way of example, and not limitation, memory 302 may comprise a hard disk drive (HARD DISK DRIVE, HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) drive, or a combination of two or more of the foregoing. Memory 302 may include removable or non-removable (or fixed) media, where appropriate. Memory 302 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 302 is a non-volatile solid-state memory. In particular embodiments, memory 302 includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor 301 implements any of the PCB character and label printing methods of the above embodiments by reading and executing computer program instructions stored in the memory 302.
In one example, the PCB character and label printing apparatus may further include a communication interface 303 and a bus 310. As shown in fig. 8, the processor 301, the memory 302, and the communication interface 303 are connected to each other by a bus 310 and perform communication with each other.
The communication interface 303 is mainly used to implement communication between each module, device, unit and/or apparatus in the embodiment of the present invention.
Bus 310 includes hardware, software, or both, coupling the PCB character and the components of the label printing apparatus to each other. By way of example, and not limitation, bus 310 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 310 may include one or more buses, where appropriate. Although embodiments of the invention have been described and illustrated with respect to a particular bus, the invention contemplates any suitable bus or interconnect.
Example IV
In addition, in combination with the PCB character and label printing method in the above embodiment, the embodiment of the invention may be implemented by providing a computer readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by the processor 301, implement any of the PCB character and label printing methods of the above embodiments.
In summary, according to the method, the device, the equipment and the storage medium for printing the PCB characters and the labels provided by the embodiment of the invention, the label printing information is determined according to the character printing information and integrated into the Gerber file to be printed, and the printing equipment dynamically generates the label content information according to the Gerber file integrated with the character printing information and the label printing information and combines the current task to print the characters and the labels on the printed circuit board. Compared with the existing method for attaching labels printed in advance on each PCB finished product by using a labeling machine, the printing method for the PCB characters and the labels solves the problem that the labels cover PCB circuits or characters, saves cost and improves the printing effect and efficiency of the PBC labels.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. The method processes of the present invention are not limited to the specific steps described and shown, but various changes, modifications and additions, or the order between steps may be made by those skilled in the art after appreciating the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. The present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
In the foregoing, only the specific embodiments of the present invention are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present invention is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and they should be included in the scope of the present invention.

Claims (10)

1. A method for printing PCB characters and labels, the method comprising:
acquiring a first file to be printed in a Gerber format;
Determining label printing information according to the character printing information in the first file to be printed;
Integrating the label printing information into the first file to be printed to obtain a second file to be printed;
Converting the second file to be printed into a third file to be printed which can be identified by printing equipment;
And dynamically generating tag content information according to the third file to be printed and combining with the current task, and printing the characters and the tags on a printed circuit board.
2. The PCB character and label printing method according to claim 1, wherein the character printing information includes any one, two or more of a character and its size and printing area, a color block and its size and printing area, a line and its size and printing area.
3. The PCB character and label printing method according to claim 2, wherein the label printing information includes a label printing area, a label placement direction, a label size.
4. The method of printing PCB characters and labels according to claim 3, wherein the label printing information further comprises a label type, wherein the label type comprises any one, two or more of two-dimensional code, bar code, serial code, periodic code or custom text, graphic pattern.
5. The PCB character and label printing method according to claim 3 or 4, wherein the determining label printing information according to character printing information in the first file to be printed includes:
Acquiring printing areas of all characters, color blocks and lines on the printed circuit board according to the character printing information, and marking the printing areas as character printing areas;
acquiring a preset printing area meeting preset conditions in the printed circuit board according to the character printing area;
Determining at least a label printing area in the label printing information according to the preset printing area;
and determining the label placement direction and the label size according to the label printing area.
6. The PCB character and label printing method according to claim 3 or 4, wherein the integrating the label printing information into the first file to be printed to obtain a second file to be printed includes:
Acquiring the label printing information;
setting an OUT_FLAG attribute corresponding to the label in the CAM engineering file according to the label printing information;
Converting the OUT_FLAG attribute into a D code in a Gerber file and corresponding content thereof;
And setting at least a printing area and a placement direction of the label in the first file to be printed according to the D code and the corresponding content of the D code to obtain a second file to be printed containing the label printing information.
7. The method for printing characters and labels on a PCB according to claim 1, wherein dynamically generating label content information according to the third file to be printed and in combination with a current task, printing characters and labels on a PCB comprises:
acquiring the character printing information and the label printing information according to the third file to be printed;
Acquiring the information of a printed circuit board to be printed currently;
generating corresponding tag content information according to the printed circuit board information;
And printing the characters and the labels on the printed circuit board to be printed currently according to the character printing information, the label printing information and the label content information.
8. A PCB character and label printing apparatus, the apparatus comprising:
the first file to be printed acquisition module is used for acquiring a first file to be printed in a Gerber format;
The label printing information determining module is used for determining label printing information according to the character printing information in the first file to be printed;
The information integration module is used for integrating the label printing information into the first file to be printed to obtain a second file to be printed;
The format conversion module is used for converting the second file to be printed into a third file to be printed which can be identified by the printing equipment;
And the printing module is used for dynamically generating tag content information according to the third file to be printed and combining with the current task, and printing the characters and the tags on the printed circuit board.
9. A PCB character and label printing apparatus, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of any one of claims 1-7.
10. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-7.
CN202211586386.XA 2022-12-09 2022-12-09 Printing method, device, equipment and storage medium for PCB characters and labels Pending CN118215226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211586386.XA CN118215226A (en) 2022-12-09 2022-12-09 Printing method, device, equipment and storage medium for PCB characters and labels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211586386.XA CN118215226A (en) 2022-12-09 2022-12-09 Printing method, device, equipment and storage medium for PCB characters and labels

Publications (1)

Publication Number Publication Date
CN118215226A true CN118215226A (en) 2024-06-18

Family

ID=91452961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211586386.XA Pending CN118215226A (en) 2022-12-09 2022-12-09 Printing method, device, equipment and storage medium for PCB characters and labels

Country Status (1)

Country Link
CN (1) CN118215226A (en)

Similar Documents

Publication Publication Date Title
CN109977935A (en) A kind of text recognition method and device
CN109760431B (en) Print data processing method, device, equipment and storage medium
DE212019000246U1 (en) System for producing a flexo plate, flexo plate computer-readable medium, flexo plate processing machine and reading device for use in a method for producing a flexo plate
CN102271464B (en) Method for tracing quality of circuit board
CN109759713B (en) Rapid marking method and rapid marking system based on CCD image recognition
CN104573137A (en) PCB process monitoring method
CN101621893B (en) Process and equipment thereof for manufacturing imprint dividing board of defective subboard of circuit board
CN112069764A (en) Circuit board marking method and circuit board processing drilling machine
CN114089604B (en) Array graph drawing method and system
CN110928503B (en) Data addressing method, device, equipment and storage medium for regional random printing
CN110458264A (en) Direct-injection barcode scanning composing system
CN104661437A (en) Rigid-flex board facilitating manufacturing of laser engraved quick response code and manufacturing method
CN118215226A (en) Printing method, device, equipment and storage medium for PCB characters and labels
CN112291929B (en) Drilling method and system of PCB tracing code and storage medium
CN206961175U (en) A kind of equipment of wiring board welding resistance process whole process bar indicator retrospection
CN103862892A (en) Method and system for automatic aligning of PCB (printed circuit board) character ink printer
CN110349887A (en) The system of the single IC condition of production of retrospect based on two dimensional code
CN113139394A (en) Code reading method, electronic device and storage medium
CN108274910A (en) A kind of silk screen printing process that the realization of PCB one-time positionings is printed more than twice
CN114454636A (en) Method, device and equipment for printing images by color register offset positioning and storage medium
CN111324269B (en) Marking method, system, storage medium and terminal equipment based on visualization
CN113766724B (en) Circuit board, manufacturing method thereof and tracing method
CN113435908A (en) Method for generating tracing information of PCBA (printed circuit board assembly)
CN111017357B (en) Label pasting control method and device and computer readable storage medium
CN112506453A (en) Method, device, processor and non-volatile storage medium for printing nameplate

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination