+ 1

How to customize window.print()

Can anyone explain how to customize window.print() using javascript. Anyway?đŸ€”

1st Jan 2022, 11:02 AM
Mohammed Nihal
Mohammed Nihal - avatar
5 Answers
+ 2
It's not possible. The browser will use the last setting which the user had used. And window.print() doesn't accept any parameters
1st Jan 2022, 11:27 AM
Ayan Poddar
Ayan Poddar - avatar
+ 2
May be you should give them a pdf file
1st Jan 2022, 11:27 AM
Ayan Poddar
Ayan Poddar - avatar
+ 1
what kind of customisation do you want to do
1st Jan 2022, 11:17 AM
Ayan Poddar
Ayan Poddar - avatar
+ 1
Ayan Poddar changing size of page , orientation, etc...
1st Jan 2022, 11:25 AM
Mohammed Nihal
Mohammed Nihal - avatar
+ 1
Ayan Poddar oh, thanks.
1st Jan 2022, 11:28 AM
Mohammed Nihal
Mohammed Nihal - avatar