TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Zack Sessions
from: TONY CAPPELLINI 76370,2104
date: 1990-07-07 01:26:47
subject: #I don`t C so well !

#: 4941 S3/Languages
    07-Jul-90  01:26:47
Sb: #I don't C so well !
Fm: TONY CAPPELLINI 76370,2104
To: Zack Sessions

Zack Hi there.

I have a couple of C related questions for you. How can I check to see if my
printer is on line, or even powered on for that matter ?
 I tried the following
 if ( !(status = write(printer, font_code, len) ) ) { print an error message
here ! } but when the printer was off-line, the program stopped until I put it
back on-line.

Also, I was trying to erase just a portion of the text screen by using
putchar(0X04), fflush(stdout), from within a for loop; But the $4 didn't seem
to do anything. These code can be found in the LII manual on page B-3. I also
tried using putchar(0X0B), but that is for a graphics screen. Any clues ?? TC

There are 3 Replies.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.