For Programmers: Free Programming Magazines  


Home > Archive > Fortran > January 2006 > Re: Dusting off Visual/Digital Fortran - how the heck to migrate









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Dusting off Visual/Digital Fortran - how the heck to migrate
Steve Lionel

2006-01-14, 6:58 pm

cgilley@bravesw.com wrote:
> I have a project that is rearing its head again - moving some FORTRAN
> from a VAX to a PC. Printing is posing an opportunity. Much of the
> printing goes to a device that is routed to a serial port on the VAX -
> txa0 for example.


I'm not sure which version of Visual Fortran you're using, but in 6.5
and later versions there is a sample application called FORPRINT which
does exactly what you want. You simply write the data you want printed
to a file open on a Fortran unit, then call the supplied print_unit
routine to queue it to the default printer.

A version of this for Intel Visual Fortran can be found in
http://softwareforums.intel.com/att...1/V9Samples.zip
It's pretty much the same for DVF/CVF - just replace "IFWIN" with "DFWIN".

Steve
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com