AFM file processing method, electronic equipment and storage medium
A technology for file processing and electronic equipment, which is applied in digital data processing, special data processing applications, natural language data processing, etc. It can solve the problems of inconvenient maintenance and energy consumption, and achieve the advantages of convenient daily maintenance and saving disk storage space Effect
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2020-05-08
Smart Images

Figure 1 
Figure 2
Abstract
Description
technical field
[0001] The invention relates to electronic data archiving technology, in particular to an AFM file processing method, electronic equipment and a storage medium. Background technique
[0002] With the rapid development of various application systems, various files that need to be printed have been generated. The layout styles, pictures, font types, font sizes, font colors, text information, etc. in these files are different. The document format of the file can be AFP, IPDS, PS, I JPDS, LPR, doc, docx, etc. At the same time, different customers purchase a variety of printers. Therefore, printing work is particularly important for various application systems that require document printing.
[0003] In order to meet the specific requirements of each customer site, when the application system is put into production, it is often necessary to modify the application program to meet the pending printing requirements, resulting in inconsistent versions of the applica...
Examples
Embodiment Construction
[0031] Below, in conjunction with accompanying drawing and specific embodiment, the present invention is described further:
[0032] The present invention provides a method for processing AFM files, which is based on XML markup language and according to AFM document format rules, saves elements such as layout styles, pictures, font types, font sizes, font colors, and text information of various files in a unified format into the AFM documentation file. In the present invention, the actual picture data is not saved in the AFM document file, only the index information of the picture resource is recorded, such as the relative path of the picture " / 03 / Separator.jpg", and the AFM document file needs to be zipped before being written into the storage medium Compression, which greatly saves disk storage space. Use the data conversion module to parse the AFM document file according to the AFM document format rules, read the layout style, picture, font type, font size, font color, tex...