<> <> <> <> <<<< This interface defines operations on the Target Print Service; used when the PS is set up as a Front End Print Service. >>>> DIRECTORY BasicTime USING [GMT, nullGMT], FS USING [OpenFile], NSString USING [nullString, String], PaperTypes USING [Paper], PrintQueue USING [Priority], System USING [UniversalID], TargetPSStatus USING [Communication, Current, Properties, Request], XNS USING [Address]; TargetPS: CEDAR DEFINITIONS = BEGIN <> Error: ERROR [why: TargetPSStatus.Communication]; <<<< 'why' is determined as follows:>> <<>> <> <> <> <> <> <> <> <> <> <<>> <> <> <<>> <> <<= NSPrint.Error[connectionError[noResponse]] or>> <> <<>> <> <> <> <<= NSPrint.Error[connectionError[transmissionHardware]],>> <> <> <> <<>> <> <> <> <<>> <> <> <<(other than * = aborted above) or>> <> <<(other than * = aborted above)>> <<>> <> <<(other than specified above).>> <> <<>> <> <> <<>> >> <<======================================================================>> <> GetPrinterProperties: PROCEDURE [target: XNS.Address] RETURNS [properties: TargetPSStatus.Properties]; GetPrinterStatus: PROCEDURE [target: XNS.Address] RETURNS [status: TargetPSStatus.Current]; GetPrintRequestStatus: PROCEDURE [printRequestID: System.UniversalID, target: XNS.Address] RETURNS [status: TargetPSStatus.Request]; ForwardDocument: PROCEDURE [ target: XNS.Address, master: FS.OpenFile, docName: NSString.String _ NSString.nullString, sender: NSString.String _ NSString.nullString, recipient: NSString.String _ NSString.nullString, message: NSString.String _ NSString.nullString, paper: PaperTypes.Paper _ [], copies: CARDINAL _ 1, staple: BOOLEAN _ FALSE, twoSided: BOOLEAN _ FALSE, docCreateDate: BasicTime.GMT _ BasicTime.nullGMT, priority: PrintQueue.Priority _ normal, releaseKey: CARDINAL _ LAST[CARDINAL] ] RETURNS [printRequestID: System.UniversalID]; END. LOG when/who/what 26-Oct-84 10:51:04 - Jacks - Created. 31-Oct-84 13:27:47 - Jacks - Added type defs. 14-Nov-84 11:40:54 - Jacks - Got rid of ErrorType, using StatusTypes.Remote instead; got rid of Status, usint State.TargetPrintService instead; changed paperSize in Properties to paperSize1 and paperSize2. 12-Dec-84 14:27:48 - Jacks - Added Status type, GetPrinterStatus now returns Status instead of StatusTypes.TargetPrintService. 14-Jun-85 10:53:03 - Jacks - Added copyright notice; removed type defs in favor of using TargetPSStatus interface.