jlrdw5 years agoLevel 75ReplyReport SpamYou could search for some JavaScript functions that handles that I've seen a few but haven't saved the links. Like Reply
Nakov5 years agoLevel 73ReplyReport Spam@ashir_ali_butt Unless your browser is in kiosk mode, you cannot do this for security reasons. No one will trust your application if it directly starts their printer.. You might want to save the file to a PDF instead of printing as well. Like Reply
ashir_ali_butt OP 5 years agoLevel 4ReplyReport Spam@nakov means there is no method to sent print directly to the printer? Like Reply
Nakov5 years agoLevel 73ReplyReport Spam@ashir_ali_butt, yup, I don't think there is one. Again because of security reasons. Like Reply
ashir_ali_butt OP 5 years agoLevel 4ReplyReport Spam@jlrdw ooh brother can you help to find that links for me Like Reply
ashir_ali_butt OP 5 years agoLevel 4ReplyReport Spam@nakov but @jlrdw said some javascript functions to handle? Like Reply
jlrdw5 years agoLevel 75ReplyReport SpamI think this is only going to print the current window. https://www.w3schools.com/jsref/met_win_print.asp Like Reply
Sinnbeck5 years agoLevel 102ReplyReport SpamYou can actually print from php I believe https://php.uz/manual/en/function.printer-open.php Or https://github.com/slim-it-nl/php-print-ipp But I would say good luck :) Like Reply
Snapey5 years agoLevel 122ReplyReport SpamThere are some libraries that allow printing to networked printers or locally attached label printers for POS, warehousing etc. PHP: https://stackoverflow.com/questions/25973046/printing-to-pos-printer-from-php https://github.com/mike42/escpos-php Client site Javascript: https://printjs.crabbly.com/ services https://www.printnode.com/en Like Reply 2 likes
awaiskarni5 years agoLevel 2ReplyReport SpamThere article at laravel-news about this --> https://laravel-news.com/direct-printing-for-laravel-apps Like Reply