WEB batch-printing method based on fully-domestic CPU and OS and commonly used for multiple browsers

A multi-browser, nationwide technology, applied in the field of web printing, can solve problems such as error-prone and inconvenient use, achieve good versatility, improve response speed, and reduce server load.

Inactive Publication Date: 2014-09-03
INSPUR SOFTWARE CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to security considerations, web browsers generally only provide the windows.print page printing method for the front page, requiring users to manually select parameters such as printer, paper type, horizontal and vertical, and number of copies, which is very inconvenient to use and prone to errors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • WEB batch-printing method based on fully-domestic CPU and OS and commonly used for multiple browsers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0046] The multi-browser universal WEB printing method based on the national CPU and OS of the present invention adopts the NPAPI (Netscape plug-in application program interface) browser plug-in technology to realize the interaction between the front JS and the background processing program, and the front JS obtains the Web printing template html string, in order to correctly pass the Chinese characters in the html element into the background plug-in, it is necessary to convert the html string of the web printing template acquired by the foreground into a base64 encoded string, and the background plug-in decodes it into the correct html string through the decoding algorithm.

[0047] After the background program obtains the decoded html string, save it as a local html template file, use the QtWebkit module to parse the local html template file, and the QtPrinter module converts the local html template file into a printable pdf format electronic document, and finally uses CUPS (U...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a WEB batch-printing method based on a fully-domestic CPU and an OS and commonly used for multiple browsers and belongs to the field of WEB printing. According to the method, interaction between a foreground and a background of a Web client is achieved through an NPAPI technology; a Web template obtained by the foreground is converted into a printable pdf electronic file through html analysis of Qt and a printing technology; the pdf electronic file is printed with a CUPSAPI technology. Compared with the prior art, the WEB batch-printing method based on the fully-domestic CPU and the OS and commonly used for multiple browsers is mainly used for solving the problem existing in Web batch printing in a fully-domestic software and hardware environment, the printing function of a Web batch printing template is achieved through a browser plug-in, the responding speed of the client can be obviously increased, usage experience of a user is improved, and the method has very good application and popularization value.

Description

[0001] technical field [0002] The invention relates to a Web printing method, in particular to a multi-browser general WEB printing method based on a nationally produced CPU and OS. Background technique [0003] With the strong support of the state, the nationally produced software and hardware with independent intellectual property rights have developed rapidly. Especially in recent years, my country has developed many software and hardware products with independent intellectual property rights. High-end general-purpose chips with independent intellectual property rights, such as Loongson CPU, Phytium CPU, and Beidazhi CPU, are booming and are gradually approaching the technical level of similar products in the world; at the same time, the development of domestic basic software products is also thriving. , Dongfangtong Middleware, Kingdee Middleware, Winning Bidding Operating System, Winning Bidding Office Office Software, Wps Office Office Software and other domestic ba...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/12G06F9/44
Inventor 朱宪孙桂刚
Owner INSPUR SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products