Changeset 793432f for server/lib/gutenbach/ipp/attributes/printer.py
- Timestamp:
- Dec 23, 2011, 9:37:39 PM (12 years ago)
- Branches:
- no-cups
- Children:
- 1037115
- Parents:
- b828a96
- git-author:
- Jessica B. Hamrick <jhamrick@…> (12/23/11 21:37:39)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (12/23/11 21:37:39)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
server/lib/gutenbach/ipp/attributes/printer.py
rb828a96 r793432f 39 39 ] 40 40 41 from .. attributeimport Attribute42 from .. valueimport Value43 from .. exceptions import ClientErrorAttributes44 from .. constants import *41 from .. import Attribute 42 from .. import Value 43 from .. import errors 44 from .. import IntegerTags, CharacterStringTags 45 45 46 46 def PrinterUriSupported(*vals): … … 140 140 """ 141 141 142 raise ClientErrorAttributes, "printer-location"142 raise errors.ClientErrorAttributes, "printer-location" 143 143 144 144 def PrinterInfo(val): … … 147 147 """ 148 148 149 raise ClientErrorAttributes, "printer-info"149 raise errors.ClientErrorAttributes, "printer-info" 150 150 151 151 def PrinterMoreInfo(val): … … 154 154 """ 155 155 156 raise ClientErrorAttributes, "printer-more-info"156 raise errors.ClientErrorAttributes, "printer-more-info" 157 157 158 158 def PrinterDriverInstaller(val): … … 161 161 """ 162 162 163 raise ClientErrorAttributes, "printer-driver-installer"163 raise errors.ClientErrorAttributes, "printer-driver-installer" 164 164 165 165 def PrinterMakeAndModel(val): … … 168 168 """ 169 169 170 raise ClientErrorAttributes, "printer-make-and-model"170 raise errors.ClientErrorAttributes, "printer-make-and-model" 171 171 172 172 def PrinterMoreInfoManufacturer(val): … … 175 175 """ 176 176 177 raise ClientErrorAttributes, "printer-more-info-manufacturer"177 raise errors.ClientErrorAttributes, "printer-more-info-manufacturer" 178 178 179 179 def PrinterState(val): … … 219 219 """ 220 220 221 raise ClientErrorAttributes, "printer-state-message"221 raise errors.ClientErrorAttributes, "printer-state-message" 222 222 223 223 def IppVersionsSupported(*vals): … … 462 462 """ 463 463 464 raise ClientErrorAttributes, "printer-message-from-operator"464 raise errors.ClientErrorAttributes, "printer-message-from-operator" 465 465 466 466 def ColorSupported(val): … … 469 469 """ 470 470 471 raise ClientErrorAttributes, "color-supported"471 raise errors.ClientErrorAttributes, "color-supported" 472 472 473 473 def ReferenceUriSchemeSupported(val): … … 476 476 """ 477 477 478 raise ClientErrorAttributes, "reference-uri-scheme-supported"478 raise errors.ClientErrorAttributes, "reference-uri-scheme-supported" 479 479 480 480 def PdlOverrideSupported(val): … … 547 547 """ 548 548 549 raise ClientErrorAttributes, "printer-current-time"549 raise errors.ClientErrorAttributes, "printer-current-time" 550 550 551 551 def MultipleOperationTimeOut(val): … … 601 601 """ 602 602 603 raise ClientErrorAttributes, "job-k-octets-supported"603 raise errors.ClientErrorAttributes, "job-k-octets-supported" 604 604 605 605 def JobImpressionsSupported(val): … … 608 608 """ 609 609 610 raise ClientErrorAttributes, "job-impressions-supported"610 raise errors.ClientErrorAttributes, "job-impressions-supported" 611 611 612 612 def JobMediaSheetsSupported(val): … … 615 615 """ 616 616 617 raise ClientErrorAttributes, "job-media-sheets-supported"617 raise errors.ClientErrorAttributes, "job-media-sheets-supported" 618 618 619 619 def PagesPerMinute(val): … … 622 622 """ 623 623 624 raise ClientErrorAttributes, "pages-per-minute"624 raise errors.ClientErrorAttributes, "pages-per-minute" 625 625 626 626 def PagesPerMinuteColor(val): … … 629 629 """ 630 630 631 raise ClientErrorAttributes, "pages-per-minute-color"632 631 raise errors.ClientErrorAttributes, "pages-per-minute-color" 632
Note: See TracChangeset
for help on using the changeset viewer.