Introduction

Installation & Setup

laravel-printing can be installed via composer:

composer require rawilk/laravel-printing

You may publish the config file like this:

php artisan vendor:publish --provider="Rawilk\Printing\PrintingServiceProvider" --tag="config"

The contents of the default configuration file can be found here: https://github.com/rawilk/laravel-printing/blob/main/config/printing.php

To print with laravel printing, you must set up a supported print driver.

  • Review the requirements for the CUPS driver
  • If using a remote server, enter your remote server credentials in the .env file (see config)
  • In the terminal, run: composer require smalot/cups-ipp

If you're having an issue sending the name of the job to CUPS, try changing JobPrivateValues default to JobPrivateValues none in /etc/cups/cupsd.conf.

Previous
Upgrade Guide
Caught a mistake? Suggest an edit on GitHub