Custumize Print
Custumize Print
Hi
I'm customizing the print I would like to insert the page number in the bottom right corner
extend: 'print',
className: 'btn btn-primary btn-icon-split',
titleAttr: 'Stampa Tabella',
customize: function (doc) {
var logo ='data:image/png;base64,iVBORw.......';
var now = new Date();
var jsDate = now.getDate()+'-'+(now.getMonth()+1)+'-'+now.getFullYear();
$(doc.document.body)
.css( 'font-size', '10pt' )
.prepend('<img style="position:absolute; top:10; left:0;width:40" src="'+logo+'">')
.prepend('
')
.prepend('
')
.prepend('
')
},
Thank's
Replies
This thread should help, it's asking the same thing.
Cheers,
Colin
Here
sorry I can't understand .... you can help me thanks.