jasonday / printThis

jQuery printing plugin; print specific elements on a page

Home Page:https://jasonday.github.io/printThis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set Print Scale

Gmtas opened this issue · comments

commented

Is it possible to set print options programmatically? Can I set print scale option when init printThis

As far as I am aware, there is not a method to interact with the scale option programatically.

You may be able to hack it with CSS using transform or zoom:

@media print {
    body {transform: scale(.7);}
}
commented

its worked, thank you. I used CSS zoom :

$(".print-content").css("zoom", "80%");                            

$(".print-content").printThis({    
    ...
});