Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!zaphod.mps.ohio-state.edu!samsung!crackers!m2c!wpi.WPI.EDU!greyelf From: greyelf@wpi.WPI.EDU (Michael J Pender) Newsgroups: comp.sys.apple2 Subject: Hyper C Prodos Message-ID: <1990Oct19.123757.25718@wpi.WPI.EDU> Date: 19 Oct 90 12:37:57 GMT Sender: greyelf@wpi.WPI.EDU (Michael J Pender) Organization: Worcester Polytechnic Institute Lines: 31 Can anyone tell me why this won't print a file to my printer? It just takes the filename given and executes it like the autoexec file. #include #define slot 1 main(ac, av) int ac; TEXT **av; { char c; int stat; FILE *fp = open(av[1]); _prtinit(1); _prtvid(); while ((c=getc(fp)) != -1) { stat = prtWrite(c,1); } _vidonly(); } -- --- Michael J Pender Jr Box 1942 c/o W.P.I. Part of this D- belongs to greyelf@wpi.bitnet 100 Institute Rd. God...