cups-ipp
cups-ipp copied to clipboard
Select printer tray
Sorry for a second issue within 24 hours but Im curious if its possible to select a printer tray with your package. I found out that I have to set $job->addAttribute('media-source','tray-2'); but the response i get is : Property not found: "media-source".
in case anyone's wondering:
check your printer's supported attributes with:
$printer->getAttributes();
if attribute you need exists:
edit job.yml
and add entry you need
e.g. for color-mode selection add
print-color-mode: tag: 'keyword'
to find out which tag-type you need to add refer to RFC8011 [IPP1.1]