Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!bloom-beacon!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!uxf.cso.uiuc.edu!thompson From: thompson@uxf.cso.uiuc.edu Newsgroups: comp.sys.mac Subject: Printing stuff in Lightspeed C Message-ID: <46700008@uxf.cso.uiuc.edu> Date: 14 Feb 88 08:22:00 GMT Lines: 17 Nf-ID: #N:uxf.cso.uiuc.edu:46700008:000:715 Nf-From: uxf.cso.uiuc.edu!thompson Feb 14 02:22:00 1988 OK. Got a fun one. I am porting a C program from the IBM to the Mac. I know it will look and feel strange on the Mac, but the primary objective at this point is to get it *functional*. Unfortunately, the C from which I am porting has a library function, stdprn, which is the standard printer port (accessed like a file). The C to which I am porting (Lightspeed v2.11) does not. In fact, in all the documentation and examples, I am told I must open a grafport and draw my text into it before I can get things to print out. All I want to do is send lines of text to the printer. Without opening grafports or drawing text (this program makes no other use of that stuff, of course). Is there no way to do this?