{note} You're browsing the documentation for an old version of laravel-printing. Consider upgrading your project to v2.

Print Jobs

If you need the details of a print job after it was created on your print server, can have access that from the return of send() on PrintTask.

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

echo $printJob->id();

More info on the PrintJob can be found in the api reference.

← Previous Topic

Raw Content Printing

Next Topic →

Custom Drivers

Caught a mistake? Suggest an edit on Github