Skip to content
Advertisement

window.print() does not show more settings when I have the destination as Save as PDF

Expected

Expecting more setting option. But its not displaying.

Advertisement

Answer

Sorry for the very late answer. The problem was with bootstrap. The more settings are not displayed because in bootstrap (v4) a specific CSS is applied.

@page {
  size: A4;
}

Due to this the more settings are not displayed.

Solution:-

@page {
  size: auto;
}

Write it in your CSS file to override it. Then it worked!!!

Advertisement