A prepress preview method and related apparatus
By directly rendering EMF files for previewing on the driver side, the problems of inaccurate preview effects and storage burden in existing technologies are solved, achieving high-fidelity and efficient prepress preview while reducing system resource consumption.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- DALIAN RUITU INTELLIGENT PRINTING TECH CO LTD
- Filing Date
- 2026-01-30
- Publication Date
- 2026-05-29
AI Technical Summary
Existing printing systems cannot accurately simulate the processing logic of the print driver during prepress preview, resulting in discrepancies between the preview and the final printed product. Furthermore, the need to generate intermediate files leads to storage burden and reduced system efficiency.
The driver obtains the job attribute information and EMF file of the print job, and performs rendering processing directly through the preview module to avoid generating intermediate files and achieve a preview effect consistent with the final print output.
It improves the fidelity and efficiency of previews, reduces computer memory usage, avoids resource waste and storage overhead, and enhances the user experience.
Smart Images

Figure CN122111352A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of print preview technology, and more particularly to a pre-press preview method and related equipment. Background Technology
[0002] Current printing systems typically suffer from the following problems when performing pre-press previews: First, the preview function is often embedded in the print driver settings interface, only displaying static thumbnails of the original document or images processed based on simplified rules. It cannot accurately simulate the print driver's full processing logic for the job (such as complex layout and image transformations), resulting in a significant discrepancy between the preview and the final printed product. Users often only discover the unsatisfactory result after printing, leading to a waste of paper, consumables, and time. Second, to achieve previewing, print job data often needs to be converted into complete bitmap format files (such as BMP files, image file formats) for storage and loading, creating an additional storage burden and reducing system efficiency. Therefore, there is an urgent need for a pre-press preview method that provides high fidelity, high efficiency, and eliminates the need for complex intermediate files. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a prepress preview method and related equipment, which can improve the fidelity and efficiency of preview while reducing the computer memory usage of previewing.
[0004] In a first aspect, embodiments of the present invention provide a pre-press preview method, applied to a driver, comprising: Obtain the job attribute information and EMF file of the target print job; Send the job attribute information and the EMF file to the preview module; The preview module renders the EMF file based on the job attribute information and then displays a preview.
[0005] In one possible implementation, sending the job attribute information and the EMF file to the preview module includes: Obtain the user login information associated with the target print job; The preview module is activated based on the user login information; The job attribute information and the EMF file are sent to the activated preview module.
[0006] In one possible implementation, before sending the job attribute information and the EMF file to the preview module, the method further includes: Determine whether the size of the EMF file is less than a preset threshold; If so, the job attribute information and the EMF file are sent to the preview module.
[0007] In one possible implementation, after the preview module renders the EMF file based on the job attribute information and then displays a preview, the method further includes: Receive user operation instructions for the target print job; the user operation instructions include print instructions or cancel instructions. If the user operation instruction is the print instruction, then the target print job continues to be executed; If the user operation instruction is the cancel instruction, then the target print job is terminated.
[0008] In one possible implementation, the preview module renders the EMF file based on the job attribute information and then displays a preview, including: Based on the job attribute information, the EMF file is rendered and then transformed. Preview the EMF file after image transformation processing.
[0009] In one possible implementation, the image transformation processing includes geometric transformation processing and / or pixel color transformation processing; The geometric transformation process includes one or more combinations of scaling, rotation, and mirroring; The pixel color transformation processing includes one or more combinations of color mode conversion, negative effect application, and density adjustment.
[0010] In one possible implementation, the job attribute information includes page layout information. When the page layout information includes any of the following: multi-page layout, poster layout, or brochure layout, the EMF file is rendered and then transformed according to the job attribute information, including: Preview the rendered one-page or multi-page EMF file by stitching, cropping, or rearranging the pages.
[0011] In one possible implementation, the job attribute information includes binding edge position information, and the method further includes: Based on the binding edge position information, a reserved binding area is generated at the corresponding position displayed in the preview module.
[0012] In a second aspect, embodiments of the present invention provide an electronic device, comprising: At least one processor; and At least one memory communicatively connected to the processor, wherein: The memory stores program instructions that can be executed by the processor, and the processor can execute the method described in the first aspect by calling the program instructions.
[0013] Thirdly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions that cause the computer to perform the method described in the first aspect.
[0014] In this embodiment of the invention, by sending the original EMF data and job attributes to the preview module from the driver end, and directly rendering the EMF data for preview display, a preview effect completely consistent with the final printed output is achieved. Simultaneously, the storage overhead and processing delays caused by generating additional intermediate files are avoided, thereby improving preview speed and system efficiency while ensuring preview fidelity. Attached Figure Description
[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a flowchart of a prepress preview method provided in an embodiment of the present invention; Figure 2 A schematic diagram of a printer driver interface provided in an embodiment of the present invention; Figure 3 A preview effect diagram provided for an embodiment of the present invention; Figure 4 This is another preview effect diagram provided for an embodiment of the present invention; Figure 5 This is another preview effect diagram provided for an embodiment of the present invention; Figure 6 This is another preview effect diagram provided for an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0017] To better understand the technical solution of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0018] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0019] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0020] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0021] It should be understood that although terms such as first, second, third, etc., may be used to describe numbers in embodiments of the present invention, these numbers should not be limited to these terms. These terms are only used to distinguish numbers from each other. For example, without departing from the scope of embodiments of the present invention, a first number may also be referred to as a second number, and similarly, a second number may also be referred to as a first number.
[0022] To address the issues of resource waste caused by the inability of existing print drivers to accurately preview print results, and data loss and performance overhead resulting from the generation of intermediate files in existing preview methods, this invention provides a pre-press preview method applied to the driver side. This method enables realistic and efficient previewing of print jobs without the need to generate intermediate transfer files, allowing users to confirm the final result before printing and avoiding waste of paper and consumables.
[0023] Figure 1 This is a flowchart illustrating a prepress preview method provided in an embodiment of the present invention, which is executed by the print driver. Figure 1 As shown, the method includes: Step 101: Obtain the job attribute information and EMF file of the target print job.
[0024] When a user initiates a print operation in a computer application (such as a document editor or image viewer), the operating system's printing subsystem generates a corresponding print job. The print driver (the aforementioned driver component), as a software component communicating with the image forming device (such as a printer or multifunction printer), intercepts and processes this job. The print driver first obtains the job attribute information set by the user for the print job. The job attribute information is a set of instructions issued by the user through the print driver's settings interface. Job attribute information may include: number of copies to print, reverse printing, print one copy at a time, print quality type (e.g., draft, normal, fine), whether to skip blank pages, print resolution (quality), color bit depth, color mode (e.g., color, grayscale, black and white), page orientation (portrait, landscape), rotation angle, mirror printing, negative effect, whether to print without margins, paper size (e.g., A4, Letter), multi-page information (e.g., number of pages per sheet), whether to add borders, page sorting method, poster printing information, ink-saving mode, toner concentration, scaling ratio, binding edge settings, binding margin value, paper width, paper height, page margin width, and margin height. This attribute information is used to determine the final processing logic and output style of the print job.
[0025] The print driver acquires the print data package of the target print job. Taking Windows as an example, the print data package is a spool file (SPL) generated by the Windows print spooler. An SPL file is an offline file, and its internal data format can be of various types. In this embodiment, the SPL file data format is an Enhanced Metafile (EMF) format. An EMF file consists of a series of Graphics Device Interface (GDI) function call instructions. The EMF file records all GDI commands issued by the application during printing or drawing, such as drawing text, drawing lines, filling rectangles, and rendering bitmaps. It is a device-independent vector or vector-raster hybrid format.
[0026] The print driver retrieves the EMF file from the SPL format print data packet for subsequent rendering or previewing. By parsing the SPL file structure, it locates and reads the encapsulated EMF data stream to obtain the EMF file, which is then stored in a designated location on the computer for later processing.
[0027] Step 102: Send the job attribute information and EMF file to the preview module.
[0028] The print driver includes a preview module (or preview application). This preview module, in the form of a plugin or application, is used to preview and display the printing effect of the target print job. The print driver sends the job attribute information obtained in step 101 and the extracted EMF file to the preview module through an internal interface or inter-process communication.
[0029] In some embodiments, before sending data to the printer, the print driver first responds to a preview request triggered by the user in the print driver interface. Upon receiving the preview request, the print driver pauses the execution of the target print job. The target print job is suspended to allow for previewing.
[0030] In some embodiments, when sending job attribute information and the EMF file to the preview module, the print driver needs to first obtain the user login information associated with the current print job. This user login information includes the username and process ID (PID). Based on this user login information, the print driver activates the preview module process within the print driver with the permissions corresponding to that user's identity. Then, the print driver sends the job attribute information and EMF file data to the activated preview module.
[0031] Step 103: The preview module renders the EMF file based on the job attribute information and then displays the preview.
[0032] The preview module, upon receiving the job attribute information and the EMF file, begins rendering. Specifically, the preview module processes the EMF file in its cache based on the job attribute information sent by the print driver, and finally displays the preview result in its own user interface window. This ensures that the final preview result is identical to the actual print result. This rendering process avoids generating additional intermediate files. If intermediate files were generated, they would be found in a specified location on the computer (e.g., a BMP image). Since this invention does not find intermediate files (e.g., BMP images) in a specified location on the computer, it proves that no intermediate files (BMP images) were generated; instead, the entire preview display process is completed directly in the cache.
[0033] Specifically, the rendering process includes two main steps: image rendering and image transformation. The preview module performs image rendering on the EMF file based on the job attribute information, followed by image transformation. The transformed EMF file is then previewed and displayed.
[0034] First, the preview module reads the primitive instructions for the corresponding page from the EMF file based on the job attribute information. Then, the preview module calls a playback function (such as PlayEnhMetaFile) to draw the original page into the PC cache. It should be noted that the original page drawn into the PC cache here is cached data, and not the intermediate file generated in existing preview methods (such as a BMP file).
[0035] After completing the image rendering described above, the preview module performs image transformation processing on the original page rendered to the PC cache. Specifically, based on the received job attribute information, the preview module performs a series of corresponding image transformation operations on the EMF data rendered to the PC cache to simulate the processing effect of the print driver on the EMF file. This image transformation processing mainly includes geometric transformation processing and pixel color transformation processing.
[0036] Geometric transformation processing involves changing the spatial properties of an image, including scaling (e.g., adapting to paper or for use in multi-page displays), rotation, and mirroring. Pixel color transformation processing involves changing the color and pixel values of an image, including color mode conversion (e.g., color to grayscale, black and white binarization), applying negative effects, and adjusting density.
[0037] For example, if the page layout parameter in the job attribute information indicates "multi-in-one" mode (e.g., printing 2 pages per sheet), the image transformation process of the preview module is as follows: First, calculate the index and position of the original document's logical page in the final output physical page. Then, based on the index of the physical page currently being previewed by the user, draw the EMF data of the two logical pages corresponding to that physical page onto specific areas of the cache canvas, and scale and position them to achieve the correct arrangement of the two pages' content in the same preview screen.
[0038] If the page layout parameters are set to poster mode, the image transformation process is as follows: the original single-page content is divided and enlarged across multiple pages according to the settings. Then, the preview module calculates the original page portion corresponding to the current preview block, crops and scales it, and finally displays the enlarged effect of that portion in the preview interface.
[0039] If the page layout parameters refer to the booklet mode, the image transformation process is similar to that of the multi-page layout, but the correct page assembly order needs to be calculated in advance. Usually, the two logical pages are scaled and drawn side by side in a horizontal two-in-one manner to achieve the effect of a booklet.
[0040] In some embodiments, if the job attribute information includes binding edge position information (e.g., long side binding (left), long side binding (right), short side binding (top), short side binding (bottom)), the image transformation process further includes: displaying the generated reserved binding area at the corresponding position (e.g., left, right, top, or bottom) displayed in the preview module according to the binding edge position information. The binding edge is displayed in the page margins of the page itself and will not be covered by the image as the image moves. The page margins are user-set or default values, and this area remains the background color (e.g., white) during preview display, thus realistically reflecting the binding effect in the preview. Figure 2 This is a schematic diagram of a printer driver interface provided in an embodiment of the present invention. Figure 2 As shown, users can set the binding edge position in the driver interface. If the user selects long-side binding (left), the final preview effect will look like this. Figure 3 As shown in the image. If the user selects long-side binding (right), the final preview will look like this. Figure 4 As shown in the image. If the user selects short-side binding (top) as the binding edge position, the final preview effect will be as shown. Figure 5 As shown in the image. If the user selects short-side binding (below), the final preview will look like this. Figure 6 As shown in the image. The print driver interface can preview one image at a time, or multiple images at once.
[0041] After all image transformation processing is completed, the resulting print effect data is completely consistent with the final print output. Then, the preview module calls image format adjustment functions (such as GDI functions like StretchBlt) to adapt and scale the cached print effect data to the preview window size and display it, thus completing the preview display of the target print job. Notably, this print effect data is not an intermediate file that consumes computer memory as in existing preview methods, but rather print effect data that does not consume computer memory.
[0042] In some embodiments, to further conserve system cache space, the preview module can reduce the resolution when rendering the EMF file to the PC cache. For example, if the original resolution of a print job is 1200 DPI, the preview module can set its resolution to 300 DPI to enable faster previewing and conserve system cache space. This significantly reduces the amount of data rendered for previewing, thereby reducing preview time and lowering the PC cache usage during the preview process.
[0043] In some embodiments, after the preview module displays a preview of the target print job, the user can provide corresponding user actions based on whether the preview effect meets expectations, such as confirming printing or canceling printing. The preview module converts the user actions into corresponding user operation instructions and sends them to the print driver. Specifically, the print driver receives the user operation instructions. If the received user operation instruction is a print instruction, the print driver continues to execute the previously paused target print job and sends the final print data to the image forming device to complete the print output. If the received user operation instruction is a cancel instruction, the print driver terminates the target print job, releases related resources, and ends the current print task.
[0044] Through the above, this invention achieves high-fidelity and high-efficiency pre-press preview within the driver program, allowing users to accurately evaluate the final product without actually printing. By previewing without generating intermediate files, it reduces PC cache usage, lowers preview time, and improves preview efficiency and user experience.
[0045] In some embodiments, to achieve a balance between system performance and resource consumption, the present invention employs different preview strategies based on the EMF file size. Specifically, before sending the job attribute information and the EMF file to the preview module, the print driver first determines whether the size of the EMF file is less than a preset threshold. This threshold can be set based on the computer's available memory capacity or empirical values. If the EMF file size is less than the preset threshold, indicating that the EMF file is small, the print driver executes the preview steps 102 and 103 described above, directly sending the original EMF file data to the preview module for rendering processing.
[0046] If the size of the EMF file is greater than or equal to a preset threshold, it indicates that the EMF file is large (e.g., a complex document containing many high-resolution images). Directly using the preview method provided in this embodiment may consume too much memory or cause slow response. In this scenario, the print driver adopts an alternative preview method: first, it converts the EMF file into an intermediate file (e.g., a complete BMP file). Then, the print driver sends this intermediate image file along with job attribute information to the preview module. Based on this intermediate file and the job attribute information, the preview module performs corresponding image transformation processing (such as scaling, adding binding margins, etc.) to finally generate and display a preview image. Although this method involves the generation and reading of intermediate files, which increases storage overhead and performance loss, it ensures stable operation of the preview function for large print jobs.
[0047] The prepress preview method provided in this invention renders the EMF file using the same rendering processing method as the print driver through the preview module in the print driver, generating a preview image consistent with the final print output. This preview method eliminates the need for generating a separate intermediate file, a step required in traditional preview methods. It reduces disk space usage and I / O latency, improves preview response speed, and avoids discrepancies between the preview and the actual printed result.
[0048] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, such as... Figure 7 As shown, the aforementioned electronic device may include at least one processor and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor can execute this specification by calling the program instructions. Figure 1-6 The illustrated embodiment provides a prepress preview method.
[0049] like Figure 7 As shown, the electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: one or more processors 710, communication interface 720 and memory 730, and a communication bus 740 connecting different system components (including memory 730, communication interface 720 and processor 710).
[0050] The communication bus 740 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) buses, Micro Channel Architecture (MAC) buses, Enhanced ISA buses, Video Electronics Standards Association (VESA) local buses, and Peripheral Component Interconnect (PCI) buses.
[0051] Electronic devices typically include a variety of computer-readable media. These media can be any available media that can be accessed by the electronic device, including volatile and non-volatile media, and removable and non-removable media.
[0052] Memory 730 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Memory 730 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments described herein.
[0053] A program / utility having a set (at least one) of program modules can be stored in memory 730. Such program modules include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. The program modules typically perform the functions and / or methods described in the embodiments of this specification.
[0054] Processor 710 executes various functional applications and data processing by running programs stored in memory 730, such as implementing the functions described in this specification. Figure 1-6 The illustrated embodiment provides a prepress preview method.
[0055] This specification provides a computer program product, which includes a computer program that, when executed by a processor, performs the functions described in this specification. Figure 1-6 The illustrated embodiment provides a prepress preview method.
[0056] This specification provides a computer-readable storage medium storing computer instructions that cause a computer to execute this specification. Figure 1-6 The illustrated embodiment provides a prepress preview method.
[0057] The aforementioned computer-readable storage medium may be any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in connection with an instruction execution system, apparatus, or device.
[0058] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0059] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this specification. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0060] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this specification, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0061] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this specification includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which the embodiments of this specification pertain.
[0062] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0063] It should be noted that the devices involved in the embodiments of this specification may include, but are not limited to, personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 displays, MP4 displays, etc.
[0064] In the several embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms. Furthermore, the functional units in the various embodiments of this specification can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.
[0065] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, a connector, or a network device, etc.) or a processor to execute some steps of the methods described in the various embodiments of this specification. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0066] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.
[0067] The same or similar parts between the various embodiments in this specification can be referred to mutually. In particular, the device embodiments and terminal embodiments are basically similar to the method embodiments, so the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.
Claims
1. A prepress preview method, characterized in that, Applied to the driver side, including: Obtain the job attribute information and EMF file of the target print job; Send the job attribute information and the EMF file to the preview module; The preview module renders the EMF file based on the job attribute information and then displays a preview.
2. The method according to claim 1, characterized in that, Sending the job attribute information and the EMF file to the preview module includes: Obtain the user login information associated with the target print job; The preview module is activated based on the user login information; The job attribute information and the EMF file are sent to the activated preview module.
3. The method according to claim 1, characterized in that, Before sending the job attribute information and the EMF file to the preview module, the method further includes: Determine whether the size of the EMF file is less than a preset threshold; If so, the job attribute information and the EMF file are sent to the preview module.
4. The method according to claim 1, characterized in that, After the preview module renders the EMF file based on the job attribute information and displays the preview, the method further includes: Receive user operation instructions for the target print job; the user operation instructions include print instructions or cancel instructions. If the user operation instruction is the print instruction, then the target print job continues to be executed; If the user operation instruction is the cancel instruction, then the target print job is terminated.
5. The method according to claim 1, characterized in that, The preview module renders the EMF file based on the job attribute information and then displays a preview, including: Based on the job attribute information, the EMF file is rendered and then transformed. Preview the EMF file after image transformation processing.
6. The method according to claim 5, characterized in that, The image transformation processing includes geometric transformation processing and / or pixel color transformation processing; The geometric transformation process includes one or more combinations of scaling, rotation, and mirroring; The pixel color transformation processing includes one or more combinations of color mode conversion, negative effect application, and density adjustment.
7. The method according to claim 6, characterized in that, The job attribute information includes page layout information. When the page layout information includes any of the following: multi-page layout, poster layout, or brochure layout, the EMF file is rendered and then transformed according to the job attribute information, including: Preview the rendered one-page or multi-page EMF file by stitching, cropping, or rearranging the pages.
8. The method according to claim 1, characterized in that, The job attribute information includes binding edge position information, and the method further includes: Based on the binding edge position information, a reserved binding area is generated at the corresponding position displayed in the preview module.
9. An electronic device, characterized in that, include: At least one processor; as well as At least one memory communicatively connected to the processor, wherein: The memory stores program instructions that can be executed by the processor, and the processor can execute the method according to any one of claims 1 to 8 by calling the program instructions.
10. A computer-readable storage medium storing computer instructions that cause the computer to perform the method according to any one of claims 1 to 8.