Skip to content

Commit

Permalink
user
Browse files Browse the repository at this point in the history
  • Loading branch information
vatsake committed May 6, 2024
1 parent 1cfb190 commit 468731a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Drivers/Cups/PrintTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ public function copies(int $copies): self
return $this;
}

public function user(string $name): self
{
$this->option('requesting-user-name', new NameWithoutLanguage($name));
return $this;
}

public function range($start, $end = null): self
{
if (!array_key_exists('page-ranges', $this->options)) {
Expand Down

0 comments on commit 468731a

Please sign in to comment.