This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: output to printer
- To: Alfredo Cortés Ponce de León <acortesp at imp dot mx>
- Subject: Re: output to printer
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 04 Apr 2001 22:11:33 +0200
- CC: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
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)