Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select printer tray #6

Open
kasperdeboerdev opened this issue Jun 7, 2018 · 1 comment
Open

Select printer tray #6

kasperdeboerdev opened this issue Jun 7, 2018 · 1 comment

Comments

@kasperdeboerdev
Copy link

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

@c-scholz-acribit
Copy link

c-scholz-acribit commented Aug 15, 2018

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants