Skip to content

How to set RangeOfInteger #1

@ChrisKays

Description

@ChrisKays

Hi,

Your Airprint.NET helped me a lot writing my own server App and i understand that this a client App that send a job to a printer. Because i'm writing a server app i need to reply to the client that send request. Among the responses that i need to send is the Copies-Supported Attribute which is defined as RangeOfInteger (https://tools.ietf.org/html/rfc2911).

here's an example of how i set other attributes:

  • this.Group[AttrGroups.PrinterTag].Add(new Attribute(Tag.Keyword, "sides-supported", "one-sided"));
    The above example set the sides-supported.
    I can also use the same structure to set other value such as copie-default with Tag value = Integer
    But i would also like to set copies-supported attributes, How do i set such value which has value attribute = RangeOfInteger.

Thanks for the help in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions