[net.micro.amiga] Aborting RastPort dump

french@caip.RUTGERS.EDU (04/19/86)

From: "french robert%e.mfenet"@LLL-MFE.ARPA

Well, here I am TRYING to get Mandelbrot 3.00 out the "door," but without
much success at the moment.  I have added a "print screen" command that
uses the printer driver's internal RPort dump routine.  The code I'm using
looks like:

(...)

req->io_Message.mn_ReplyPort = pport;
req->io_Command = PRD_DUMPRPORT;
req->io_RastPort = rp;
req->io_ColorMap = screen->ViewPort.ColorMap;
req->io_Modes = screen->ViewPort.Modes;
req->io_SrcX = req->io_SrcY = 0;
req->io_DestCols = req->io_SrcWidth = max_x;
req->io_DestRows = req->io_SrcHeight = max_y;
req->io_Special = 0x8C;
BeginIO(req);
   (do some funky looping and waiting)
      CheckIO(req) is used to determine if it's done.

If the user selects the abort menu item while the printout is being made,
an AbortIO(req) is executed.  This works fine, and the printing stops,
but I am unable to restart it with a new dump and within 45 seconds
a system requestor appears telling me that I have printer problems.
Apparently the AbortIO aborted the printing, but not the dump routine.
Can anybody offer any suggestions?
       Thanks...

English: Robert S. French
 USnail: 2740 Frankfort Avenue
         Louisville, KY  40206
  Phone: (502) 897-5096
   ARPA: French#Robert%d@LLL-MFE
   UUCP: ihnp4!ptsfa!well!french