laravel-printing

Introduction

Laravel Printing 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

Supported Drivers

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

Credits

Inspiration for the PrintNode API wrapper comes from:

Next Topic →

Requirements

Caught a mistake? Suggest an edit on Github