PROXY  WHOIS  RQUOTE  TEXTS  SOFT  FOREX  BBOARD
 Music  Philosophy  Code  Literature  Russian

= ROOT|Technical|RFC|rfc2565.txt =

page 15 of 21





 
RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 0x0006                                        name-length
 copies          copies                        name
 0x0004                                        value-length
 0x00000014      20                            value
 0x44            keyword type                  value-tag
 0x0005                                        name-length
 sides           sides                         name
 0x0013                                        value-length
 two-sided-      two-sided-long-edge           value
 long-edge
 0x03            end-of-attributes             end-of-attributes-tag
 %!PS...                           data

9.2 Print-Job Response (successful)

   Here is an example of a successful Print-Job response to the previous
   Print-Job request.  The printer supported the "copies" and "sides"
   attributes and their supplied values.  The status code returned is '
   successful-ok'.

 Octets            Symbolic Value              Protocol field

 0x0100            1.0                         version-number
 0x0000            successful-ok               status-code
 0x00000001        1                           request-id
 0x01              start operation-attributes  operation-attributes-tag
 0x47              charset type                value-tag
 0x0012                                        name-length
 attributes-       attributes-charset          name
 charset
 0x0008                                        value-length
 us-ascii          US-ASCII                    value
 0x48              natural-language type       value-tag
 0x001B                                        name-length
 attributes-       attributes-natural-         name
 natural-language  language
 0x0005                                        value-length
 en-us             en-US                       value
 0x41              textWithoutLanguage type    value-tag
 0x000E                                        name-length
 status-message    status-message              name
 0x000D                                        value-length
 successful-ok     successful-ok               value
 0x02              start job-attributes        job-attributes-tag
 0x21              integer                     value-tag
 0x0006                                        name-length






 
RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 Octets            Symbolic Value              Protocol field

 job-id            job-id                      name
 0x0004                                        value-length
 147               147                         value
 0x45              uri type                    value-tag
 0x0007                                        name-length
 job-uri           job-uri                     name
 0x001E                                        value-length
 http://forest:63  job 123 on pinetree         value
 1/pinetree/123
 0x42              nameWithoutLanguage type    value-tag
 0x0009                                        name-length
 job-state         job-state                   name
 0x0004                                        value-length
 0x0003            pending                     value
 0x03              end-of-attributes           end-of-attributes-tag

9.3 Print-Job Response (failure)

   Here is an example of an unsuccessful Print-Job response to the
   previous Print-Job request. It fails because, in this case, the
   printer does not support the "sides" attribute and because the value
   '20' for the "copies" attribute is not supported. Therefore, no job
   is created, and neither a "job-id" nor a "job-uri" operation
   attribute is returned. The error code returned is 'client-error-
   attributes-or-values-not-supported' (0x040B).

 Octets        Symbolic Value                Protocol field

 0x0100        1.0                           version-number
 0x040B        client-error-attributes-or-   status-code
               values-not-supported
 0x00000001    1                             request-id
 0x01          start operation-attributes    operation-attribute tag
 0x47          charset type                  value-tag
 0x0012                                      name-length
 attributes-   attributes-charset            name
=15=

1.9|10|11|12|13|14| < PREV = PAGE 15 = NEXT > |16|17|18|19|20|21

UP TO ROOT | UP TO DIR | TO FIRST PAGE

Google
 


E-mail Facebook Google Digg del.icio.us BlinkList Fark Furl Ma.gnolia Netscape NewsVine Reddit Slashdot Spurl StumbleUpon Technorati YahooMyWeb LiveJournal Blogmarks TwitThis Live News2.ru BobrDobr.ru Memori.ru MoeMesto.ru

0.0145609 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)