Title: | AMIGA NOTES |
Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
Moderator: | HYDRA::MOORE |
Created: | Sat Apr 26 1986 |
Last Modified: | Wed Feb 05 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5378 |
Total number of notes: | 38326 |
Does anyone know how to output to a printer using Lattice-C i.e screen dumps and data as if being written to a file ? Thanks in adv. Al.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2806.1 | fopen | WJG::GUINEAU | Only obvious to the casual observer | Mon Aug 07 1989 16:03 | 13 |
FILE *prt; prt = fopen("prt:","w"); fprintf(prt,"Damn, another bug!\n"); fclose(prt) Should work... | |||||
2806.2 | or | WJG::GUINEAU | Only obvious to the casual observer | Mon Aug 07 1989 16:05 | 7 |
Or just dump stdout to the printer as you run: 1> myprog >prt: Joh |