tektronix 4697 drivers

Michael Shapiro shapiro at zorro.cecer.army.mil
Mon Mar 9 20:33:28 EST 1992


The problem with the tek4697 is hardware and the problem is  that
the  close()  of the io port results in data loss to the printer.
The software workaround was to  sleep for a while before  closing
the  port allowing the data to "flush". This fix is to change the
file finish.c for the tek4697 driver:

-----------------------------------------------------------------
src/paint/Drivers/tek4697/finish.c
-----------------------------------------------------------------

#include "P.h"

Pfinish()
{
    Palpha() ;	/* flush any remaining graphics */
    formfeed();
    Pflush();
    sleep(30);  /* to allow timing problem with parallel ports to resolve */
}




More information about the grass-dev mailing list