IPP Mail Archive: IPP> regarding the usage of limit in getjobs request

IPP> regarding the usage of limit in getjobs request

Nagarajan (dnaga@hclt.com)
Tue, 16 Mar 1999 10:05:00 -0800

This is a multi-part message in MIME format.

------=_NextPart_000_0034_01BE6F94.745011C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi ,
Can anybody explain the actual usage of the limit attribute =
which is optional in get-jobs request ? In what way will it be useful to =
the IPP client ?
the lines from IPP Model semantics reads as follows

"limit" (integer(1:MAX)):=20

The client OPTIONALLY supplies this attribute. The Printer object MUST =
support this=20

attribute. It is an integer value that indicates a limit to the number =
of Job objects returned. The=20

limit is a "stateless limit" in that if the value supplied by the client =
is =92N=92, then only the first =92N=92=20

jobs are returned in the Get-Jobs Response. There is no mechanism to =
allow for the next =92M=92 jobs=20

after the first =92N=92 jobs. If the client does not supply this =
attribute, the Printer object responds with=20

all applicable jobs.=20

D.Nagarajan.

HCL Technologies India (Pvt) Ltd

------=_NextPart_000_0034_01BE6F94.745011C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">

Hi ,
        Can=20 anybody explain the actual usage of the  limit attribute which is = optional=20 in get-jobs request ? In what way will it be useful to the IPP client=20 ?

the lines from IPP Model semantics reads as follows

"limit" (integer(1:MAX)):

The client OPTIONALLY supplies this = attribute.=20 The Printer object MUST support this

attribute. It is an integer value that indicates a limit to the = number of Job=20 objects returned. The

limit is a "stateless limit" in that if the value supplied = by the=20 client is ’N’, then only the first ’N’ =

jobs are returned in the Get-Jobs Response. There is no mechanism to = allow=20 for the next ’M’ jobs

after the first ’N’ jobs. If the client does not supply = this=20 attribute, the Printer object responds with

all applicable jobs.

 

D.Nagarajan.

HCL Technologies India (Pvt) Ltd

 

 

 

------=_NextPart_000_0034_01BE6F94.745011C0--