Here is a button
whenever it's clicked. Automatically keybord keys are pressed ctrl+shift+p
.
This is actually window print shortcut key.How can I do that. Because when window.print()
function is used in google chrome. chrome show chrome print dialog box. but I want window print dialog and this is the shortcut key of window print dialog.
Asked
Active
Viewed 561 times
0

Zakaria Acharki
- 66,747
- 15
- 75
- 101

Axeem
- 193
- 1
- 3
- 16
-
try this http://stackoverflow.com/questions/832059/definitive-way-to-trigger-keypress-events-with-jquery – Nov 15 '14 at 13:36
1 Answers
0
You can disable the default behavior of chrome print box. May be you can refer this link for that
http://ryan.mcgeary.org/2012/09/13/disable-chrome-print-dialog-use-osx-instead/
This will serve well for you but If you are looking something to do it globally for all the users then you may have to go through some other option... Will try to find an alternate for that as well.
Hope this be of some help Happy Learning

Vatsal
- 2,068
- 4
- 21
- 24