Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Sunitha's avatar

silent printing without print preview in Laravel

How to do silent printing without print preview in Laravel ? I tried many ways, but I can't control the chrome preview setting while printing from the program .Here I want to take dynamic printer name from the network and set the page size as A5 from programming side. Is it possible to do that? Please Reply

0 likes
8 replies
tisuchi's avatar

@sunitha Based on my understanding, it's nor possible with Laravel. I think you need to depend on JS.

martinbean's avatar

@sunitha You can’t. For good reason. And it’s shady behavior to want to be able to print something automatically from a web page. That could easily be abused by every website on the Internet.

1 like

Please or to participate in this conversation.