Home >Web Front-end >JS Tutorial >The solution to the problem that js calls the printer to print web page fonts is always reduced by one size_javascript skills
Today I want to make a small function to print a web page. I call window.print() directly. However, after printing, the font size is always reduced by one size. I can't find the reason. . .
Later I tried to use an IE print control, but it was a bit disgusting to only support IE, so I had to go back and continue to find the reason
It turned out that the page I wanted to print appeared because of the pop-up layer. This phenomenon can be printed normally if you directly target="_blank" later.
In addition,