https://github.com/k186/multiple-print
print-html with multiple selector
https://github.com/k186/multiple-print
html-print jqprint multiple print
Last synced: over 1 year ago
JSON representation
print-html with multiple selector
- Host: GitHub
- URL: https://github.com/k186/multiple-print
- Owner: k186
- License: mit
- Created: 2017-03-07T04:49:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-07T05:13:39.000Z (over 9 years ago)
- Last Synced: 2025-01-16T22:26:00.531Z (over 1 year ago)
- Topics: html-print, jqprint, multiple, print
- Language: CSS
- Homepage: http://k186studio.com/demos/printMutil/
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
###multiple-print
this plugins depend on jqprint , i made some change for it ,and can print
with mutiple dom selector
##[demo](http://k186studio.com/demos/printMutil)
###how to use it
add print style with media='print'
```html
```
and your html
```html
head
head
head
someText
someText
someText
head
head
head
someText
someText
someText
```
print some dom with
```javascript
$('#print1').jqprint()
//multiple-print
$('#print1,#print2').jqprint()
```
force page break css
```css
.breakpage {
page-break-after: always;
}
.breakpage:last-child {
page-break-after:avoid;
}
```