Direct printing for Laravel apps.
Printing for Laravel allows your application to directly send PDF documents or raw text directly from a remote server
to a printer on your local network. Receipts can also be printed by first generating the raw text via the Rawilk\Printing\Receipts\ReceiptPrinter class, and then sending the text as a raw print job via the Printing facade.
$printJob = Printing::newPrintTask()
->printer($printerId)
->file('path_to_file.pdf')
->send();
$printJob->id(); // the id number returned from the print serverSupported Print Drivers:
For documentation, please visit: https://randallwilk.dev/docs/laravel-printing
You can install the package via composer:
composer require rawilk/laravel-printingYou can publish the config file with:
php artisan vendor:publish --tag="printing-config"The contents of the default configuration file can be found here: https://github.com/rawilk/laravel-printing/blob/main/config/printing.php
composer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Inspiration for the PrintNode API wrapper comes from:
Inspiration for certain aspects of the API implementations comes from:
This package is not affiliated with, maintained, authorized, endorsed or sponsored by Laravel or any of its affiliates.
The MIT License (MIT). Please see License File for more information.
No open issues yet, or sync has not completed.