A printing method and device for browser display page
A technology for displaying pages and printing devices, applied in the field of printing, can solve problems such as low printing efficiency, achieve the effects of improving efficiency, reducing modification time, and ensuring confidentiality and security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] see figure 1 , Embodiment 1 of the present invention provides a method for printing a page displayed by a browser, including:
[0061] S110. Obtain an initial page according to an instruction triggered by the user to print the page currently displayed by the browser;
[0062] S120. Invoking a pre-configured policy for modifying the initial page, and modifying the initial page according to the policy to obtain a target page;
[0063] S130. Print the target page.
[0064] Wherein, the pre-configured strategy for modifying the initial page includes: the first modification strategy of the browser operating system configuration; wherein, the first modification strategy of the browser operating system configuration can be configured when the browser operating system is installed, and The original policy can be overwritten and updated by receiving the policy distributed by the server.
[0065] For step S120, modify the initial page according to the strategy to obtain the ta...
Embodiment 2
[0086] In order to facilitate the understanding of how to modify the HTML element by modifying the rules of the element type, Embodiment 2 of the present invention provides that the pre-configured strategy only includes the rules for modifying the element type. The specific content is as follows:
[0087]
[0088] see image 3 , step S120 includes:
[0089] S310. Read the rule for modifying the element type in the pre-configured strategy; since there are two rules for modifying the element type in the strategy, the elements in the initial page that meet the conditions are screened sequentially according to the order in which the two rules are read. and modify.
[0090] S320. Since the element types to be screened are not limited in the previous rule, that is, all elements satisfy the filtering conditions, a hide operation is performed on all elements in the initial page obtained in step S110.
[0091] S330. In the latter rule, only image elements and text domain elements ...
Embodiment 3
[0093] In order to facilitate the understanding of how to modify the identification attributes of HTML elements by modifying the rules of element attributes, Embodiment 3 of the present invention provides that the preconfigured strategy only includes the rules for modifying element attributes. The specific content is as follows:
[0094]
[0095] see Figure 4 , step S120 includes:
[0096] S410. Read the rules for modifying element attributes in the pre-configured strategy; since there are two rules for modifying element attributes in the strategy, according to the order in which the two rules are read, the element attributes that meet the conditions in the initial page are sequentially processed. Filter and modify.
[0097] S420. Since the element type to be filtered is not limited in the previous rule, that is, all elements satisfy the filtering condition, a visible operation is performed on all elements in the initial page acquired in step S110.
[0098] S430. In the ...
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