Re: Documents, Cars, Hills, and Valleys

On Tue, Apr 09, 2002 at 10:36:07PM -0700, Joshua Allen wrote:
> You definitely aren't manipulating the printer.  You can't PUT a
> printer, nor can you GET a printer.

Sure you can (GET).  HP has been doing this for years.  A GET on
a URI that identifies the printer returns a representation of the
state of the printer, showing you the queued jobs, any alert, etc..

PUT for the printer itself probably doesn't make any sense.  But
POSTing a document to it would be a simple way to get it to print
that document.

You might use PUT if you wanted to replace a document in the queue
with another one.  Or you could just DELETE the old one, and POST a
new one, but then you lose your priority in the queue.

MB
-- 
Mark Baker, Chief Science Officer, Planetfred, Inc.
Ottawa, Ontario, CANADA.      mbaker@planetfred.com
http://www.markbaker.ca   http://www.planetfred.com

Received on Wednesday, 10 April 2002 04:35:39 UTC