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 at pwg.org [mailto:owner-ipp at pwg.org]On Behalf Of Venkatesh
Sent: 06 September 1999 08:54
To: ipp at 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