laravel-printing

Direct printing for Laravel apps

PrintJob.php
composer.json

Introduction

Introduction

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.

Here's a simple example of what you can do with this package:

$printJob = Printing::newPrintTask()
    ->printer($printerId)
    ->file('path_to_file.pdf')
    ->send();

$printJob->id(); // the id number returned from the print server

Laravel Printing currently only supports one two drivers currently. More drivers may be added in the future.

Inspiration for the PrintNode API wrapper comes from:

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

Caught a mistake? Suggest an edit on GitHub