PrintJob

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;
← Previous Topic

PrintTask

Next Topic →

ReceiptPrinter

Caught a mistake? Suggest an edit on Github