output to printer
Toon Moene
toon@moene.indiv.nluug.nl
Wed Apr 4 13:18:00 GMT 2001
Alfredo Cortés Ponce de León wrote:
> I am using g77 Fortran and I am deeply impressed.
> I need some help regarding the way to send a fortran output (like in the
> write statement) to my printer installed in my paralell port. I am using
> Linux RedHat 7.0 in an Intel machine.
You cannot do that directly on Linux - you have to do something like:
./a.out | lpr
if a.out is the executable with the write statement.
Hope this helps,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
More information about the Gcc
mailing list