This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: output to printer


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]