0

I'm creating a cash register schedule. I would like the pdf file to be printed on the printer set up in the database once the order is placed, without a print preview. so far I have used php and javascript but I can use other languages ​​as well. anyone know how i can do it?

  • check the answers on https://stackoverflow.com/questions/16239513/print-pdf-directly-from-javascript – eGhoul Oct 30 '19 at 10:04

1 Answers1

0

This depends on your browser.

Chrome (at least for windows) has a startup parameter -disable-print-preview. You can right click your Chrome Icon and add it as argument after chrome.exe.

Markus Zeller
  • 8,516
  • 2
  • 29
  • 35