Forum

Direct print to printer without popup box.

How to create print function for direct print to printer without popup box? Using Laravel 5.3. Please Help me.

gipsycloud
gipsycloud
  • 5 days ago

Not possible with Laravel.

If you have control of the browser, you could launch it with a flag to disable the dialog:

C:\Program Files (x86)\Google\Chrome\Application\chrome.exe  --disable-print-preview

Or if this is some kind of POS:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --kiosk --kiosk-printing

Thanks.