PDInterpOutput.mesa
Copyright (C) 1984, Xerox Corporation. All rights reserved.
Michael Plass, September 19, 1984 9:12:44 am PDT
DIRECTORY PDFileFormat, PDInterpBitmap, PDQueue;
PDInterpOutput:
DEFINITIONS =
BEGIN
StartImage:
PROC [herald: PDFileFormat.Herald, startImage: PDFileFormat.StartImage, request: PDQueue.Request]
RETURNS [PDInterpBitmap.BitmapDesc];
Called at the start of each pass.
Returns a cleared buffer for the first band on the page.
On some devices (continuous form devices such as a Versatec), the output routine may want to print a separator bar containing the separator string. The Impl should copy the string if it needs to save it past the StartImage call.
EndBand:
PROC
RETURNS [PDInterpBitmap.BitmapDesc];
Called at the end of each band.
Returns a cleared buffer for the next band.
The buffer returned by the call for the last band should not be used.
EndImage:
PROC [request: PDQueue.Request];
Actually starts the printing.
ReprintLastPage:
PROC [copies:
CARDINAL];
Attempts to reprint the most recent page again.
There needs to be some stuff here for error messages and recovery.
END.