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

mohamedhassan1's avatar

print invoice in php and laravel

I want to print an invoice to multi printers in restaurant. When click print every piece in invoice will go to the special printer in every department Any help for printing to special printer ?

0 likes
3 replies
aurawindsurfing's avatar

You can easily print a pdf from laravel using dompdf or to simplify even more with this package: https://github.com/ConsoleTVs/Invoices

However, you are limited by what your browser can do. While printing you still need to select a printer.

The easiest solution I can think of is to send the file to zapier, iftt or something similar and trigger google cloud print from there.

I would also love to see a more direct solution if someone has has one!

Hope it helps!

Please or to participate in this conversation.