Ignore:
Timestamp:
Dec 27, 2011, 11:33:55 PM (12 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
no-cups
Children:
ce2abc5
Parents:
7c143c9
git-author:
Jessica B. Hamrick <jhamrick@…> (12/27/11 23:33:55)
git-committer:
Jessica B. Hamrick <jhamrick@…> (12/27/11 23:33:55)
Message:

Implement send-document operation and add threading so that the gutenbach server can play jobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/lib/gutenbach/ipp/attributes/operation.py

    ree8e6d0 re58af05  
    22    'PrinterUri',
    33    'RequestingUserName',
     4    'IppAttributeFidelity',
     5    'LastDocument'
    46]
    57
     
    79from .. import Value
    810from .. import errors
    9 from .. import CharacterStringTags
     11from .. import CharacterStringTags, IntegerTags
    1012
    1113def PrinterUri(val):
     
    2123def IppAttributeFidelity(val):
    2224    raise errors.ClientErrorAttributes, 'ipp-attribute-fidelity'
     25
     26def LastDocument(val):
     27    return Attribute(
     28        'last-document',
     29        [Value(IntegerTags.BOOLEAN, val)])
Note: See TracChangeset for help on using the changeset viewer.