I think the answer to this is almost certainly "no", because I've done a little testing and searching around, but is there any trick to detect whether window.print()
even might work from inside a page (i.e., from JavaScript)? I know that even on a desktop/laptop it's never going to be possible to know whether there's a printer configured on the system, for example, but at least the browser will put up a print dialog.
My Android phone has a window.print()
function but it (unsurprisingly) doesn't do anything.
Again I'm asking mostly so there's a good question on the topic at SO :-)