IPP> Encoding

IPP> Encoding

IPP> Encoding

Robert Herriot Robert.Herriot at Eng.Sun.COM
Fri Jun 20 16:12:04 EDT 1997


Sets of n values are represented by a sequence of parameters whose
parameter name is omitted for parameters 2 through n.


In the example in the minutes:


 "0100Print-Job" CRLF
 "job-name 3 foocopies 1 2document-format 22 application/postscript"
 "finishings 5 staple 5 punch" CRLF
 "%!PS


finishings is a set consisting of "staple" and "punch".


I hope this example helps.


Bob Herriot
 
> From brian at apple.com Fri Jun 20 12:58:19 1997
> I am more concerned that the proposed protocol (whether binary or text 
> encoded) does not seem to allow representing a set of attributes, or a 
> hierarchy of attributes -- without a parser having knowledge of all 
> attributes.  While encoding the type in the protocol has been raised as a 
> solution to this, I think types do not model sets very well and this 
> should be treated as a separate issue.  This could be handled in the 
> protocol and, minimally, there should an accommodation for future 
> extensions that may allow this without breaking parsers of IPP 1.0.
> 
> If I am wrong about this, can someone tell me how to do it with the 
> proposed protocol or where in the various documents this is described?
> 



More information about the Ipp mailing list