Api

PrintJob

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

composer show rawilk/laravel-printing

Rawilk\Printing\Contracts\PrintJob

/**
 * Returns the date the job was created.
 *
 * @return \DateTime|mixed
 */
public function date();
/**
 * Returns the id of the job.
 *
 * @return int|string
 */
public function id();
/**
 * Returns the id of name job.
 *
 * @return string|null
 */
public function name(): ?string;
/**
 * Returns the id the printer the job was sent to, if available.
 *
 * @return int|string|mixed
 */
public function printerId();
/**
 * Returns the name of the printer the job was sent to, if available.
 *
 * @return string|null
 */
public function printerName(): ?string;
/**
 * Returns the status of the job.
 *
 * @return string|null
 */
public function state(): ?string;
Previous
PrintTask
Caught a mistake? Suggest an edit on GitHub