Changeset c1dc25f
- Timestamp:
- Jan 21, 2012, 3:43:44 PM (12 years ago)
- Branches:
- no-cups
- Children:
- 56fd535
- Parents:
- 9da7428
- git-author:
- Jessica B. Hamrick <jhamrick@…> (01/21/12 15:43:44)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (01/21/12 15:43:44)
- Location:
- server/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
server/lib/TODO
r9da7428 rc1dc25f 19 19 [ ] resume printer 20 20 [\] set printer attributes 21 [ 21 [\] send uri 22 22 [\] set job attributes 23 23 [X] restart job -
server/lib/gutenbach/server/printer.py
r9da7428 rc1dc25f 452 452 job.spool(document) 453 453 454 def send_uri(self): 455 pass 454 def send_uri(self, job_id, document_uri, document_name=None, 455 document_format=None, document_natural_language=None, 456 requesting_user_name=None, compression=None, 457 last_document=None): 458 job = self.get_job(job_id) 459 # XXX: need to validate URI 460 # XXX: need to deal with the URI stream? 461 #job.spool_uri(document_uri) 456 462 457 463 def get_job_attributes(self, job_id, requested_attributes=None): -
server/lib/gutenbach/server/requests.py
r72c3fcb rc1dc25f 930 930 REQUIRED 'job-id' (integer(1:MAX)) and 'printer-uri' (uri) 931 931 REQUIRED 'document-uri' (uri) 932 -or-'job-uri' (uri)932 OPTIONAL 'job-uri' (uri) 933 933 OPTIONAL 'requesting-user-name' (name(MAX)) 934 934 OPTIONAL 'document-name' (name(MAX)) … … 936 936 OPTIONAL 'document-format' (mimeMediaType) 937 937 OPTIONAL 'document-natural-language' (naturalLanguage) 938 Group 2: Document Content939 938 940 939 Response … … 1014 1013 self.printer.send_uri( 1015 1014 job_id, 1016 document_uri =document_uri,1015 document_uri, 1017 1016 document_name=document_name, 1018 1017 document_format=document_format,
Note: See TracChangeset
for help on using the changeset viewer.