laravel-printing

Introduction

Installation & Setup

{note} You're browsing the documentation for an old version of laravel-printing. Consider upgrading your project to v4. Check your version with the following command:

`composer show rawilk/laravel-printing`

laravel-printing can be installed via composer:

composer require rawilk/laravel-printing

You may publish the config file like this:

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/v3/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