-1

friends, i am trying to create print button in my web page and i using chrome to test it, so i don't want to show any dialog, just directly print out the page, but i can do it so if any one know how to do it in chrome please tell me.

i don't want to show this dialog

enter image description here

and this dialog

enter image description here

and i don't want to use "--kiosk-printing"

Community
  • 1
  • 1
  • so you want to bypass a users choice of where to print? (the second dialog)? By the way, if you don't want the second dialog to show, use something other than Windows - then you definitely wont get a windows dialog - but I guess you want to force your printing down other peoples throats, not your own? – Jaromanda X Jan 08 '20 at 03:28
  • I gave a downvote because there was no code or attempt included in the question. Please take a read of https://idownvotedbecau.se/noattempt/ – Spangle Jan 08 '20 at 03:30
  • ok no meter, if it too hard. thank you friend. – Suab Nkauj Hmoob Jan 08 '20 at 03:45

1 Answers1

1

You are unlikely to find a straight forward way to get around this as it could be a security issue if the browsers allow this. However there is some goodness here

ibex
  • 1,038
  • 9
  • 18