Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DOS to Windows COBOL conversion

Status
Not open for further replies.

SteveMillman

Programmer
Jun 3, 2001
36
US
Hi,

I am a long time COBOL programmer, primarily on the IBM mainframe. Years ago I got into Microsoft COBOL (which towards the end was manufactured by Micro Focus) and developed many programs on the PC using it.

My programs created print files which I printed using
DOS' print command...

Now I want to make these programs function on Windows and I know little of the Windows API or what to do.

I have two major hurdles to overcome...

1. How do I make use of the Windows Print Manager so that
reports can print "normally" on windows.
a. How can I accomodate the fact the some reports are
"compressed" 255 character lines..
b. How can I print on an ink jet or laser printer
instead of a dot matrix (which I preset
either manually or with control strings in the
program.).
2. How do I replace the DOS batch files I used prior as a
menu.. so that my system had function keys that were
pressed to navigate? Would that have to be a
program.. my system has 100 programs.. some of which
I run in a particular order.

I would appreciate any help from someone who is familiar with the WINdows API and Windows environment and knows what
an old DOS/Mainframer like me is going through..

Thank you,

Steve Millman
 
You really ought to try the Win32 API forums, this is supposed to be a forum for questions about creating Help for VB programs.

The odds of finding the help you want are higher over someplace like Forum711.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top