通常浏览器是通过打印命令来确定需要打印的内容,但它可以在 jQuery 插件打印页面插件的帮助下打印一个特定区域的内容。。因此,您可以使用这些 jQuery 插件和打印页面给用户在你的网站上所需的接口。
1. PrintArea
PrintArea is a jQuery plugin to print specified area of a page.
You can specify 2 modes of printing:
• IFRAME-mode
• Popup-mode
Other options were added as the need arose, such as adding css to the page printed document, retaining attributes of the source element, adding elements to the head of the document printed and specifying several predefined document standards (the default is html5), even the popup was not part of the original plan.
2. Offreg
Offreg is a jQuery plugin that uses canvas to create a ‘screen print’ offset effect on an image, by altering the pixel data. Nb. Renders poorly in Chrome. But all good in other modern browsers.
3. PrintMe
PrintMe is a jQuery plugin for print any page element. PrintMe is a lightweight Plugin to print any html element.
4. Print Preview
Print-Preview is a jQuery plugin that allows a “Print Preview” button to open a new browser window displaying specific print area of your webpage.
5. Printer
Printer is an open source AJAX style page loading jQuery plugin that retrieves the URL from each hyperlink in the sidebar on the fly upon being clicked. It can also function as a rudimentry slideshow (but keep in mind this plugin does not cache any resources, i.e. Printer will make a new AJAX request on each new slide).
6. jQuery Print Plugin
jQuery.print is a plugin for printing specific parts of a page, it comes with few good features like you can set if the popup will take place in the current widow (via an iFrame), set the time to wait before the print display renders and place content before / after the popup.
7. jQuery Print Preview Plugin
The jQuery Print Preview plugin is designed to provide visitors with a preview of the print version of a web site. Unlike traditional print previews this plugin brings in all content and print styles within a modal window.
8. jQuery printPage plugin
编译来源:梦想天空 ◆ 关注前端开发技术 ◆ 分享网页设计资源
作者:山边小溪
出处:jizhula.com 记住啦:)
欢迎任何形式的转载,但请务必注明出处。