IPP Mail Archive: RE: IPP> Document-format attribute.. [ipp-

RE: IPP> Document-format attribute.. [ipp-mod] clarification

From: McDonald, Ira (imcdonald@sharplabs.com)
Date: Tue Mar 28 2000 - 13:48:56 EST

  • Next message: Manros, Carl-Uno B: "RE: IPP> Document-format attribute.. [ipp-mod] clarification"

    Hi folks,

    I agree with Harry that we should further revise this paragraph
    to indicate that a client MUST specify a particular document
    format when known and MUST NOT use 'application/octet-stream'
    instead.

    I believe this belongs in IPP Model and not merely in IPP
    Implementors Guide. This is about mandatory implementation
    behavior.

    Cheers,
    - Ira McDonald

    -----Original Message-----
    From: harryl@us.ibm.com [mailto:harryl@us.ibm.com]
    Sent: Tuesday, March 28, 2000 9:35 AM
    To: Hastings, Tom N
    Cc: anthony.porter@computer.org; ipp@pwg.org; venky@teil.soft.net
    Subject: RE: IPP> Document-format attribute.. [ipp-mod] clarification

    I'm OK with the clarification. You are basically just adding the fact that
    the sniffing method is implementation dependent... right?

    More important, to me, is to encourage that no client ever use
    application/octet-string when they are aware of and capable of indicating
    the correct document format in mimeMediaType!

    Harry Lewis
    IBM Printing Systems

    "Hastings, Tom N" <hastings@cp10.es.xerox.com>
    Sent by: owner-ipp@pwg.org
    03/28/00 09:27 AM

            To: anthony.porter@computer.org, "'Venkatesh'"
    <venky@teil.soft.net>,
    ipp@pwg.org
            cc:
            Subject: RE: IPP> Document-format attribute.. [ipp-mod]
    clarification

    I searched both the Model and the Implementer's Guide and there isn't
    anything that explains what "auto-sensing" is.

    So, ok to add the following clarification to the [ipp-mod] document in
    section 4.1.9.1:

     using an implementation-dependent method that examines some number of
    octets of the document data

    so that it reads:

    4.1.9.1 Application/octet-stream -- Auto-Sensing the document format

    One special type is 'application/octet-stream'. If the Printer object
    supports this value, the Printer object MUST be capable of auto-sensing
    the
    format of the document data using an implementation-dependent method that
    examines some number of octets of the document data, either as part of the
    create operation and/or at document processing time.

    Or should we put something similar in the Implementer's Guide, instead?

    Tom

    -----Original Message-----
    From: Anthony Porter [mailto:anthony.porter@computer.org]
    Sent: Monday, September 06, 1999 03:08
    To: 'Venkatesh'; ipp@pwg.org
    Subject: RE: IPP> Document-format attribute..

    It can usually tell from the first few bytes of the file. For example,
    PostScript files start with %!PS and PDF files start with %PDF. Gif files
    start with GIF89 and so on.

    -----Original Message-----
    From: owner-ipp@pwg.org [mailto:owner-ipp@pwg.org]On Behalf Of Venkatesh
    Sent: 06 September 1999 08:54
    To: ipp@pwg.org
    Subject: IPP> Document-format attribute..

    Hello Everybody..
     I have a doubt in the "document-format" attribute that the client
    optionally specifies in the request..(according to IPP/1.1 draft)
    The draft says that if theclient supplies this attribute and its value
    is
    'application/octet-stream' then the server needs to aut-sense the
    document..
    Can anyone explain me how does this autosensing happens.......
    How actually will the Printer Object perform this task...

    Thank You



    This archive was generated by hypermail 2b29 : Tue Mar 28 2000 - 13:56:02 EST