cups-ipp icon indicating copy to clipboard operation
cups-ipp copied to clipboard

Select printer tray

Open kasperdeboerdev opened this issue 6 years ago • 1 comments

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".

kasperdeboerdev avatar Jun 07 '18 09:06 kasperdeboerdev

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]

c-scholz-acribit avatar Aug 15 '18 14:08 c-scholz-acribit