I am using JQPrint to print the contents of a of an html report I generate. Unfortunately I must have checkboxes on the screen for each row, but I would like to be able to print without the checkboxes. Is there any way to do with this JQPrint?
Asked
Active
Viewed 1,938 times
1 Answers
2
You can provide a print CSS and write a rule that hide checkboxes. jqPrint respects print CSS.
<link rel="stylesheet" type="text/css" href="http://www.yourcsspath/print.css" media="print">
Or you can provide extra CSS.
importCSS - Css links in original page will be imported into iframe. First it searchs for media='print', if there isn't, will be imported the normal css files.
Example
$('#toPrint').jqprint({
importCSS: 'http://www.yourcsspath/print.css'
});

Emre Erkan
- 8,433
- 3
- 48
- 53