How do you print directly under windows 7 platform using Visual Studio 2010 COBOL and USB PRINTER?

[Migrated content. Thread originally posted on 28 March 2012]

I need to be able to print directly to a printer so that a test page can be sent out and redone until the print is aligned. This works under Micro Focus COBOL (Unix) by the file-id being '/dev/lp1' or /dev/lp0/ where these were parallel printers but now we are moving to Windows 7 and all of the new printers are USB. There is also a restart in the program so that all of the pages printed correctly do not have to be reprinted.