javascript - Is there a way to print a string directly to printer without using the "Print Dialog Box" and possibly without other extensions? -


// using php or javascript

$string = "this string" $print_to_printer($string);  function $print_to_printer($string){ // method print directly printer; } 

php server side language, , therefore can affect actions @ server. printing client-side action , php can't out. javascript you're talking window.print() , far know, that's programmatic way print browser.

so, there no existing solution allows trigger print event without user input (via prompting print dialog).


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -