PrintManip.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
BJackson, October 29, 1986 7:26:52 pm PST
Bloomenthal, October 29, 1986 10:04:01 pm PST
DIRECTORY IO, PrintingP4V3, Rope;
PrintManip: CEDAR DEFINITIONS ~ BEGIN
ROPE:     TYPE ~ Rope.ROPE;
STREAM:    TYPE ~ IO.STREAM;
PrintAttributes:  TYPE ~ PrintingP4V3.PrintAttributes;
PrintOptions:   TYPE ~ PrintingP4V3.PrintOptions;
RequestID:    TYPE ~ PrintingP4V3.RequestID;
Type Declarations
PrintRequestList: TYPE ~ LIST OF PrintRequest;
PrintRequest: TYPE ~ REF PrintRequestObject;
PrintRequestObject: TYPE ~ RECORD [
attributes: PrintAttributes,
fileName: ROPE,
ipMasterStream: STREAM,
options: PrintOptions,
requestID: RequestID,
service: ROPE
];
Public Conditions
ListChanged: CONDITION;
Public Procs
RegisterRequestID: PROC [requestID: RequestID];
Add requestID to the data base of pending requests for possible use by other applications.
UnRegisterRequestID: PROC [requestID: RequestID];
Remove requestID from the data base of pending requests.
GetPrintRequestList: PROC RETURNS [PrintRequestList];
Atomically return the data base of pending requests.
END.