Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Direct printing for Laravel apps.

License

NotificationsYou must be signed in to change notification settings

rawilk/laravel-printing

Repository files navigation

Latest Version on PackagistTestsTotal DownloadsPHP from PackagistLicense

social image

Printing for Laravel allows your application to directly send PDF documents or raw text directly from a remote serverto a printer on your local network. Receipts can also be printed by first generating the raw text via theRawilk\Printing\Receipts\ReceiptPrinter class, and then sending the text as a raw print job via thePrinting 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

composertest

Changelog

Please seeCHANGELOG for more information on what has changed recently.

Contributing

Please seeCONTRIBUTING for details.

Security

If you discover any security related issues, please emailrandall@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 seeLicense File for more information.


[8]ページ先頭

©2009-2025 Movatter.jp