Form document paging printing method and device based on webpage and application of form document paging printing method and device
A form and document technology, applied in the field of computer program products, can solve problems such as lack of content, increased user operation complexity, and browser compatibility limitations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] This embodiment provides a method for page-by-page printing of form documents based on web pages. The method is implemented inside the browser and is decoupled from hardware terminals such as printers and multi-function transactions without considering external factors such as various printer models and environments. In this embodiment, the method divides the whole document into fine-grained modules for assembly, and performs free combination control according to the printing content when paging, so as to realize flexible printing of documents and avoid the problem of text being truncated during pagination.
[0037] refer to figure 1 , the method includes the following steps S1-S5:
[0038] Step S1: Obtain the form documents to be printed on the webpage, create at least one preview area according to the form documents to be printed, split the form documents to be printed into multiple form modules in turn, and render them in each preview area;
[0039] Step S2: When pr...
Embodiment 2
[0066] Based on the same idea, this embodiment also provides a page-by-page printing device for form documents based on web pages, which is used to realize the method for page-by-page printing of form documents based on web pages described in Embodiment 1. For details, refer to Figure 6 , the device consists of the following modules:
[0067] The rendering module is configured to acquire the form documents to be printed on the webpage, create at least one preview area according to the form documents to be printed, split the form documents to be printed into multiple form modules in turn and render them on each preview area;
[0068] An acquisition module, configured to acquire the current preview area, the first pixel height of the current preview area, and all modules in the current preview area when printing each preview area sequentially, wherein the current preview area is the currently to-be-printed said preview area;
[0069] The positioning module is used to obtain t...
Embodiment 3
[0073] This embodiment also provides an electronic device, refer to Figure 7 , including a memory 404 and a processor 402, the memory 404 stores a computer program, and the processor 402 is configured to run the computer program to execute the steps of any method for page-by-page printing of a webpage-based form document in the above embodiments.
[0074] Specifically, the processor 402 may include a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC for short), or may be configured to implement one or more integrated circuits in the embodiments of the present application.
[0075]Wherein, the memory 404 may include a mass memory 404 for data or instructions. By way of example and not limitation, the memory 404 may include a hard disk drive (Hard Disk Drive, referred to as HDD), a floppy disk drive, a solid state drive (Solid State Drive, referred to as SSD), flash memory, optical disk, magneto-optical disk, magnetic tape or general serial A b...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com