MarkerInit.mesa
Copyright (C) Xerox Corporation 1983, 1984, 1985, 1986. All rights reserved.
Last Edited 23-Sep-85 15:08:52 by Jacks
Tim Diebert: October 1, 1986 10:20:29 am PDT
DIRECTORY
MarkerControl USING [ClientProcsHandle, EngineFailureProc, FinishedMarkingProc, ReadyToMarkProc],
PrincOps USING [PageCount],
PrintingTypes USING [Option],
Process USING [Priority, priorityForeground],
PSAsyncMsg USING [Proc];
MarkerInit: CEDAR DEFINITIONS = BEGIN
MarkerInitParams: TYPE = RECORD [
bufferSize: PrincOps.PageCount ← 0,
engineFailure: MarkerControl.EngineFailureProc ← NIL,
finishedMarking: MarkerControl.FinishedMarkingProc ← NIL,
readyToMark: MarkerControl.ReadyToMarkProc ← NIL,
waitBetweenJobs: BOOLEANFALSE,
betweenJobWaitTime: CARDINAL ← 0, --seconds
device: SELECT type: PrintingTypes.Option FROM
bansheeDl, raven => [
enableUnlimitedPrinting: BOOLEANTRUE
],
fax295, fax495, unknown => [],
ENDCASE
];
Init: PROCEDURE [priority: Process.Priority ← Process.priorityForeground,
putAsyncMsgFromKey: PSAsyncMsg.Proc, deviceParams: MarkerInitParams]
RETURNS
[MarkerControl.ClientProcsHandle];
called only once
Cleanup: PROCEDURE[];
Called when the print service is being permanently removed from a server. Proc should release any storage allocated.
END. -- of MarkerInit
LOG when - who - what
23-Nov-83 15:39:17 - Beeley - Created.
15-Dec-83 15:15:51 - Jacks - Removed CancelProc from MarkerInitParms; added putAsyncMsgFromKey; moved bufferSize out of variant rec part.
20-Dec-83 10:10:15 - Jacks - Added unknown variant.
26-Jan-84 22:44:44 - Jacks - Added Cleanup.
22-Mar-84 11:22:47 - Jacks - Added fineResolutionSupported to MarkerInitParams.
4-Sep-84 14:42:45 - Jacks - Added bansheeDl and fax295 variants to MarkerInitParams; removed fineResolutionSupported parm for fax495.
8-Nov-84 11:29:25 - Jacks - Minor edit.
14-Jun-85 11:01:00 - Jacks - Added copyright notice; updated to PS Euclid interfaces.
26-Jun-85 14:48:52 - Jacks - Added d1 to MarkerInitParms.
16-Jul-85 8:15:51 - Jacks - PSAsyncMsg interface change.
31-Jul-85 15:41:41 - Jacks - Removed reenteringRepairMode parm for raven.
23-Sep-85 15:08:49 - Jacks - Added waitBetweenJobs and betweenJobWaitTime; added enableUnlimitedPrinting for raven and banshee.