laravel-printing
Api
PrintJob
On this page
{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`
Rawilk\Printing\Contracts\PrintJob
date
/**
 * Returns the date the job was created.
 *
 * @return \DateTime|mixed
 */
public function date();
id
/**
 * Returns the id of the job.
 *
 * @return int|string
 */
public function id();
name
/**
 * Returns the id of name job.
 *
 * @return string|null
 */
public function name(): ?string;
printerId
/**
 * Returns the id the printer the job was sent to, if available.
 *
 * @return int|string|mixed
 */
public function printerId();
printerName
/**
 * Returns the name of the printer the job was sent to, if available.
 *
 * @return string|null
 */
public function printerName(): ?string;
state
/**
 * Returns the status of the job.
 *
 * @return string|null
 */
public function state(): ?string;