Article View: comp.sys.mac
Article #25104Printing stuff in Lightspeed C
From: thompson
Date: Sun, 14 Feb 1988 08:22
Date: Sun, 14 Feb 1988 08:22
17 lines
1191 bytes
1191 bytes
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?
Technical Details
Message-ID:
<46700008@uxf.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!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!thompsonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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