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

Setting collections attributes? #38

Open
ragequitninja opened this issue Sep 20, 2023 · 1 comment
Open

Setting collections attributes? #38

ragequitninja opened this issue Sep 20, 2023 · 1 comment

Comments

@ragequitninja
Copy link

Thank you for making this library, it has helped so far a lot however I have a question regarding nesting/collections. For example, below is a config file used for testing in IPP tool where in the collection for media-col I would set the paper size dimensions. How is this achieved using this tool?

{
    VERSION 2.0
    OPERATION Print-Job

    GROUP operation-attributes-tag
    ATTR charset attributes-charset utf-8
    ATTR language attributes-natural-language en
    ATTR mimeMediaType document-format application/pdf
    ATTR uri printer-uri $uri
    ATTR enum orientation-requested 4

    GROUP job-attributes-tag
    ATTR keyword print-scaling none
    ATTR collection media-col {
        MEMBER keyword media-source "by-pass-tray"
        MEMBER collection media-size {
            MEMBER integer x-dimension 13510
            MEMBER integer y-dimension 14800
        }
    }

    FILE $filename
}
@phin1x
Copy link
Owner

phin1x commented Oct 6, 2023

Hi,
nested attributes are not supported at the moment. i keep this issue open as kind of feature request.

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