Path: ns-mx!uunet!cs.utexas.edu!utgpu!utzoo!utdoe!generic!pnet91!ericmcg From: ericmcg@pnet91.cts.com (Eric Mcgillicuddy) Newsgroups: comp.sys.apple2 Subject: Re: Hyper C print routines? Message-ID: <1239@generic.UUCP> Date: 16 Nov 91 23:00:09 GMT Sender: root@generic.UUCP Organization: People-Net [pnet91], Etobicoke, ON Lines: 17 HyperC redirects output with _prtonly() /* just to the printer*/, _prtvid() /* both printer and video*/, and _vidonly() /* video only*/. Initialize with _prtinit(slot) aand _vidinit(). You can also use prtWrite( TEXT *buffer, INT buflen) /* no it's not ANSI, but this saves some space */ t oship out a buffer full of text, be sure to use _prtinit so HyperC knows where to send the bytes. Oops, DON't use _prtinit, prtWrite always goes to the printer, I think it assumes slot 1. VOID purprt( CHAR ch) does the same thing for a single character (control codes seems like a good use). prtWrite returns the number of characters actually printed, all other calls are VOID. UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com