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: Alexandre Oliva <aoliva at redhat dot com>
- Date: 04 Apr 2001 14:55:05 -0300
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <01C0BCF8.B6B4AFE0@PLANWKST07>
On Apr 3, 2001, Alfredo Cortés Ponce de León <acortesp@imp.mx> wrote:
> 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.
You'd probably open /dev/lp[012] and write whatever you want to print
there. But you probably wouldn't have permission to do that, and
should open a pipe to the print spooler instead. See `man lpr'.
I'm afraid I've no idea of how to open a pipe in fortran.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me