source: server/lib/gutenbach/ipp/attributes/operation.py @ 793432f

no-cups
Last change on this file since 793432f was 793432f, checked in by Jessica B. Hamrick <jhamrick@…>, 12 years ago

Reorganization

  • Property mode set to 100644
File size: 425 bytes
Line 
1__all__ = [
2    'PrinterUri',
3    'RequestingUserName',
4]
5
6from .. import Attribute
7from .. import Value
8from .. import errors
9from .. import CharacterStringTags
10
11def PrinterUri(val):
12    return Attribute(
13        'printer-uri',
14        [Value(CharacterStringTags.URI, val)])
15
16def RequestingUserName(val):
17    return Attribute(
18        'requesting-user-name',
19        [Value(CharacterStringTags.NAME_WITHOUT_LANGUAGE, val)])
Note: See TracBrowser for help on using the repository browser.