rawilk/laravel-printing

Direct printing for Laravel apps
300,777 564
Install
composer require rawilk/laravel-printing
Latest Version:v4.3.0
PHP:^8.2
License:MIT
Last Updated:Aug 3, 2026
Links: GitHub  ·  Packagist
Maintainer: rawilk

Printing for Laravel

Latest Version on Packagist Tests Total Downloads PHP from Packagist License

social image

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 server

Supported Print Drivers:

Documentation:

For documentation, please visit: https://randallwilk.dev/docs/laravel-printing

Installation

You can install the package via composer:

composer require rawilk/laravel-printing

You 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

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email randall@randallwilk.dev instead of using the issue tracker.

Credits

Inspiration for the PrintNode API wrapper comes from:

Inspiration for certain aspects of the API implementations comes from:

Disclaimer

This package is not affiliated with, maintained, authorized, endorsed or sponsored by Laravel or any of its affiliates.

License

The MIT License (MIT). Please see License File for more information.

Related Packages

rawilk/laravel-settings

Store Laravel application settings in the database.

224,238 298
rawilk/filament-quill

Quill rich text editor for Filament.

57,569 34
rawilk/filament-password-input

Enhanced password input component for filament.

275,179 52
rawilk/profile-filament-plugin

Profile & MFA starter kit for filament.

15,319 39
erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0