Organization: Royal Institute of Technology, Stockholm, Sweden
References: <joel.712326550@vincent1.iastate.edu>
Date: Tue, 28 Jul 1992 20:17:08 GMT
Lines: 28
> joel@iastate.edu (Joel A Rybolt) writes:
The problem is I learned how to program in C on a UNIX machine and have no idea
how to simply open the file I want to read from. This file will be in the same
folder as the program and always called the same thing. i would like to open
the file and read blocks of data from it, not all at once !
You could either "FSOpen" "FSRead" "FSClose" or you could try
using fopen for a real Q&D !
My other problem involves printing. I wold like to bypass messing with the print manager and instead get a "direct connectin". I want to send it some ESC
codes (15cpi, 8lines per inch, ect..). Then just dump my charecter to it
instead of the screen.
You can't. Really. Instead, ask for 72 dpi resolution, and calculate
your MoveTos and DrawTexts to place stuff where you want it.
Any help is appreciated. Sorry for any readabilty problems as my terminal has
a hard time working with this system.
You could also try HyperCard, which can read files and generate reports.
--
Jon W{tte, Svartmangatan 18, S-111 29 Stockholm, Sweden