Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 437 Bytes

print-jobs.md

File metadata and controls

17 lines (13 loc) · 437 Bytes
title sort
Print Jobs
3

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.