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


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


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