output to printer

Alexandre Oliva aoliva@redhat.com
Wed Apr 4 10:55:00 GMT 2001


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



More information about the Gcc mailing list